id
stringlengths
16
19
request
stringlengths
21
206
program
stringlengths
6
211
input_text
stringlengths
40
477
expected_output
stringlengths
2
276
validation_input
stringlengths
39
469
validation_output
stringlengths
0
298
family
stringclasses
39 values
difficulty
int64
1
3
split
stringclasses
1 value
source
stringclasses
3 values
license
stringclasses
1 value
paraphrase_of
stringlengths
16
16
⌀
paraphrase_model
stringclasses
1 value
awkweave-0040331-p1
Output all fields from lines where the first field starts with 'WARN'.
$1 ~ /^WARN/
DEBUG harbor 55 INFO fable 66 ERROR amber 3 DEBUG birch 19 DEBUG birch 15 DEBUG fable 29 ERROR amber 67 WARN grove 114
WARN grove 114
ERROR cobalt 108 INFO juniper 83 DEBUG harbor 19 INFO birch 56 DEBUG juniper 112 INFO delta 102 DEBUG fable 49
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040331
qwen/qwen3.7-plus
awkweave-0040332
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
amber 86 active delta 71 failed indigo 60 paused indigo 56 paused amber 10 paused grove 5 pending cobalt 53 ready indigo 101 paused juniper 90 pending juniper 999 active
amber 86 active delta 71 failed indigo 60 paused indigo 56 paused amber 10 paused grove 5 pending cobalt 53 ready indigo 101 paused
amber 114 paused fable 46 closed harbor 56 ready harbor 70 failed fable 60 paused amber 83 active cobalt 18 failed juniper 92 paused ember 55 ready juniper 3 active juniper 999 active
amber 114 paused fable 46 closed harbor 56 ready harbor 70 failed fable 60 paused amber 83 active cobalt 18 failed ember 55 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040332-p1
Print every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
amber 86 active delta 71 failed indigo 60 paused indigo 56 paused amber 10 paused grove 5 pending cobalt 53 ready indigo 101 paused juniper 90 pending juniper 999 active
amber 86 active delta 71 failed indigo 60 paused indigo 56 paused amber 10 paused grove 5 pending cobalt 53 ready indigo 101 paused
amber 114 paused fable 46 closed harbor 56 ready harbor 70 failed fable 60 paused amber 83 active cobalt 18 failed juniper 92 paused ember 55 ready juniper 3 active juniper 999 active
amber 114 paused fable 46 closed harbor 56 ready harbor 70 failed fable 60 paused amber 83 active cobalt 18 failed ember 55 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040332
qwen/qwen3.7-plus
awkweave-0040333
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
ivan ember 100 chen fable 105 lina indigo 51 farah cobalt 90 farah fable 111 dina fable 34 eli ember 9 kim birch 14 ivan fable 23 jules cobalt 86
lina indigo 51 farah cobalt 90
kim juniper 109 lina birch 110 eli fable 49 ivan birch 59 farah birch 96 kim birch 91 lina juniper 6 dina grove 102 alice indigo 57 chen amber 57
eli fable 49 ivan birch 59
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040333-p1
Output lines 3 to 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
ivan ember 100 chen fable 105 lina indigo 51 farah cobalt 90 farah fable 111 dina fable 34 eli ember 9 kim birch 14 ivan fable 23 jules cobalt 86
lina indigo 51 farah cobalt 90
kim juniper 109 lina birch 110 eli fable 49 ivan birch 59 farah birch 96 kim birch 91 lina juniper 6 dina grove 102 alice indigo 57 chen amber 57
eli fable 49 ivan birch 59
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040333
qwen/qwen3.7-plus
awkweave-0040334
Output only the first 2 records.
NR <= 2
dina 28 amber eli 8 grove chen 20 delta eli 116 ember alice 8 grove lina 45 birch dina 108 delta
dina 28 amber eli 8 grove
lina 71 juniper gus 51 indigo hana 62 fable eli 20 delta alice 34 cobalt kim 40 cobalt hana 106 ember lina 78 amber kim 103 cobalt
lina 71 juniper gus 51 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040334-p1
Display only the first 2 records.
NR <= 2
dina 28 amber eli 8 grove chen 20 delta eli 116 ember alice 8 grove lina 45 birch dina 108 delta
dina 28 amber eli 8 grove
lina 71 juniper gus 51 indigo hana 62 fable eli 20 delta alice 34 cobalt kim 40 cobalt hana 106 ember lina 78 amber kim 103 cobalt
lina 71 juniper gus 51 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040334
qwen/qwen3.7-plus
awkweave-0040335
Skip the first line and print every remaining line unchanged.
NR > 1
hana 57 cobalt jules 34 juniper chen 111 harbor eli 86 juniper bruno 46 cobalt chen 33 fable dina 112 fable chen 109 indigo gus 8 grove eli 66 fable
jules 34 juniper chen 111 harbor eli 86 juniper bruno 46 cobalt chen 33 fable dina 112 fable chen 109 indigo gus 8 grove eli 66 fable
eli 118 birch hana 62 cobalt hana 119 grove farah 18 ember chen 88 juniper ivan 92 indigo chen 29 amber farah 50 harbor bruno 57 harbor
hana 62 cobalt hana 119 grove farah 18 ember chen 88 juniper ivan 92 indigo chen 29 amber farah 50 harbor bruno 57 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040335-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
hana 57 cobalt jules 34 juniper chen 111 harbor eli 86 juniper bruno 46 cobalt chen 33 fable dina 112 fable chen 109 indigo gus 8 grove eli 66 fable
jules 34 juniper chen 111 harbor eli 86 juniper bruno 46 cobalt chen 33 fable dina 112 fable chen 109 indigo gus 8 grove eli 66 fable
eli 118 birch hana 62 cobalt hana 119 grove farah 18 ember chen 88 juniper ivan 92 indigo chen 29 amber farah 50 harbor bruno 57 harbor
hana 62 cobalt hana 119 grove farah 18 ember chen 88 juniper ivan 92 indigo chen 29 amber farah 50 harbor bruno 57 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040335
qwen/qwen3.7-plus
awkweave-0040336
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
alice pending 95 bruno active 60 hana closed 78 alice pending 107 chen closed 53 alice failed 60 hana closed 44 hana active 112 eli paused 112 eli pending 99
0
lina failed 3 kim paused 2 eli active 17 hana active 67 gus failed 36 chen failed 98
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040336-p1
Count the number of records with 'ready' in column 2, outputting 0 if none are found.
$2 == "ready"{n++}END{print n+0}
alice pending 95 bruno active 60 hana closed 78 alice pending 107 chen closed 53 alice failed 60 hana closed 44 hana active 112 eli paused 112 eli pending 99
0
lina failed 3 kim paused 2 eli active 17 hana active 67 gus failed 36 chen failed 98
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040336
qwen/qwen3.7-plus
awkweave-0040337
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
lina 18 cobalt eli 15 grove kim 2 juniper hana 13 juniper chen 3 delta hana 13 cobalt dina 3 fable chen 18 amber jules 11 fable lina 8 amber
104
jules 7 birch jules 19 harbor alice 20 grove farah 8 delta chen 27 harbor kim 2 amber farah 18 grove gus 17 grove kim 16 harbor eli 17 cobalt
151
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040337-p1
Compute and display the sum of integer values in column 2.
{s+=$2}END{print s+0}
lina 18 cobalt eli 15 grove kim 2 juniper hana 13 juniper chen 3 delta hana 13 cobalt dina 3 fable chen 18 amber jules 11 fable lina 8 amber
104
jules 7 birch jules 19 harbor alice 20 grove farah 8 delta chen 27 harbor kim 2 amber farah 18 grove gus 17 grove kim 16 harbor eli 17 cobalt
151
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040337
qwen/qwen3.7-plus
awkweave-0040338
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper jules 6 harbor gus 29 birch bruno 17 cobalt eli 6 juniper farah 9 ember bruno 7
12.33
amber ivan 23 fable gus 24 birch ivan 24 delta kim 17 ember gus 2 indigo farah 10
16.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040338-p1
Print the average of column 3, rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper jules 6 harbor gus 29 birch bruno 17 cobalt eli 6 juniper farah 9 ember bruno 7
12.33
amber ivan 23 fable gus 24 birch ivan 24 delta kim 17 ember gus 2 indigo farah 10
16.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040338
qwen/qwen3.7-plus
awkweave-0040339
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 30 indigo farah 29 ember lina 21 amber lina 9 harbor eli 7 juniper kim 26 indigo
7
eli 3 juniper lina 20 harbor eli 27 juniper chen 10 cobalt dina 20 indigo gus 5 indigo
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040339-p1
Identify and output the minimum numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 30 indigo farah 29 ember lina 21 amber lina 9 harbor eli 7 juniper kim 26 indigo
7
eli 3 juniper lina 20 harbor eli 27 juniper chen 10 cobalt dina 20 indigo gus 5 indigo
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040339
qwen/qwen3.7-plus
awkweave-0040340
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember kim 18 juniper ivan 24 indigo dina 2 indigo jules 3 cobalt chen 29 indigo eli 28 cobalt farah 11 harbor lina 6
29
fable hana 6 delta lina 29 cobalt ivan 27 fable gus 21 delta kim 26 indigo jules 12 ember lina 9 cobalt kim 26
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040340-p1
Identify and output the maximum numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember kim 18 juniper ivan 24 indigo dina 2 indigo jules 3 cobalt chen 29 indigo eli 28 cobalt farah 11 harbor lina 6
29
fable hana 6 delta lina 29 cobalt ivan 27 fable gus 21 delta kim 26 indigo jules 12 ember lina 9 cobalt kim 26
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040340
qwen/qwen3.7-plus
awkweave-0040341
Count all input records and print the total.
END{print NR}
alice 10 ivan 1 bruno 35 eli 117 ivan 108 farah 22 jules 102 jules 97 gus 56 hana 44
10
alice 64 dina 100 kim 14 hana 54 ivan 29 farah 107 alice 67 hana 25 lina 68
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040341-p1
Count the total number of input records and print the result.
END{print NR}
alice 10 ivan 1 bruno 35 eli 117 ivan 108 farah 22 jules 102 jules 97 gus 56 hana 44
10
alice 64 dina 100 kim 14 hana 54 ivan 29 farah 107 alice 67 hana 25 lina 68
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040341
qwen/qwen3.7-plus
awkweave-0040342
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina indigo 38 bruno grove 115 ivan harbor 118 eli harbor 93 eli cobalt 35 dina ember 20 gus birch 6 eli cobalt 35 kim birch 83
dina indigo 38 bruno grove 115 ivan harbor 118 eli harbor 93 eli cobalt 35 dina ember 20 gus birch 6 kim birch 83
alice cobalt 109 lina ember 57 farah cobalt 41 alice indigo 42 ivan ember 60 gus juniper 96 chen cobalt 5 ivan ember 108 farah delta 25 farah cobalt 41 ivan juniper 25
alice cobalt 109 lina ember 57 farah cobalt 41 alice indigo 42 ivan ember 60 gus juniper 96 chen cobalt 5 ivan ember 108 farah delta 25 ivan juniper 25
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040342-p1
Deduplicate lines by keeping the first instance of each unique line while maintaining the original sequence.
!seen[$0]++
dina indigo 38 bruno grove 115 ivan harbor 118 eli harbor 93 eli cobalt 35 dina ember 20 gus birch 6 eli cobalt 35 kim birch 83
dina indigo 38 bruno grove 115 ivan harbor 118 eli harbor 93 eli cobalt 35 dina ember 20 gus birch 6 kim birch 83
alice cobalt 109 lina ember 57 farah cobalt 41 alice indigo 42 ivan ember 60 gus juniper 96 chen cobalt 5 ivan ember 108 farah delta 25 farah cobalt 41 ivan juniper 25
alice cobalt 109 lina ember 57 farah cobalt 41 alice indigo 42 ivan ember 60 gus juniper 96 chen cobalt 5 ivan ember 108 farah delta 25 ivan juniper 25
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040342
qwen/qwen3.7-plus
awkweave-0040343
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim amber 98 hana indigo 16 bruno juniper 58 farah amber 22 chen grove 117 bruno harbor 41 hana juniper 31 ivan harbor 84 kim fable 82 alice indigo 102
kim amber 98 hana indigo 16 bruno juniper 58 farah amber 22 chen grove 117 bruno harbor 41 hana juniper 31 ivan harbor 84 kim fable 82 alice indigo 102
ivan birch 58 chen grove 39 dina ember 73 ivan fable 69 hana harbor 111 lina fable 23
ivan birch 58 chen grove 39 dina ember 73 ivan fable 69 hana harbor 111 lina fable 23
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040343-p1
Retain only the initial row for every unique value found in the third column, preserving the input order.
!seen[$3]++
kim amber 98 hana indigo 16 bruno juniper 58 farah amber 22 chen grove 117 bruno harbor 41 hana juniper 31 ivan harbor 84 kim fable 82 alice indigo 102
kim amber 98 hana indigo 16 bruno juniper 58 farah amber 22 chen grove 117 bruno harbor 41 hana juniper 31 ivan harbor 84 kim fable 82 alice indigo 102
ivan birch 58 chen grove 39 dina ember 73 ivan fable 69 hana harbor 111 lina fable 23
ivan birch 58 chen grove 39 dina ember 73 ivan fable 69 hana harbor 111 lina fable 23
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040343
qwen/qwen3.7-plus
awkweave-0040344
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 7 ember hana 30 fable alice 15 indigo lina 3 juniper alice 10 juniper jules 23 harbor
gus 7 hana 37 alice 52 lina 55 alice 65 jules 88
gus 24 cobalt eli 16 birch jules 7 amber hana 6 amber ivan 1 harbor eli 6 cobalt lina 11 delta gus 6 harbor
gus 24 eli 40 jules 47 hana 53 ivan 54 eli 60 lina 71 gus 77
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040344-p1
Output the first column alongside the cumulative total of the second column, with values separated by a space.
{s+=$2;print $1,s}
gus 7 ember hana 30 fable alice 15 indigo lina 3 juniper alice 10 juniper jules 23 harbor
gus 7 hana 37 alice 52 lina 55 alice 65 jules 88
gus 24 cobalt eli 16 birch jules 7 amber hana 6 amber ivan 1 harbor eli 6 cobalt lina 11 delta gus 6 harbor
gus 24 eli 40 jules 47 hana 53 ivan 54 eli 60 lina 71 gus 77
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040344
qwen/qwen3.7-plus
awkweave-0040345
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 30 26 delta eli 10 10 amber jules 6 30 cobalt jules 1 22 harbor lina 6 22 ember dina 30 9 birch farah 30 20 juniper gus 2 23 harbor jules 15 2 juniper eli 10 14 ember
gus 56 eli 20 jules 36 jules 23 lina 28 dina 39 farah 50 gus 25 jules 17 eli 24
jules 24 24 cobalt hana 30 28 grove kim 26 12 ember chen 20 16 harbor jules 22 1 indigo dina 16 22 delta farah 14 30 harbor ivan 21 26 delta farah 10 9 harbor eli 1 24 amber
jules 48 hana 58 kim 38 chen 36 jules 23 dina 38 farah 44 ivan 47 farah 19 eli 25
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040345-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
gus 30 26 delta eli 10 10 amber jules 6 30 cobalt jules 1 22 harbor lina 6 22 ember dina 30 9 birch farah 30 20 juniper gus 2 23 harbor jules 15 2 juniper eli 10 14 ember
gus 56 eli 20 jules 36 jules 23 lina 28 dina 39 farah 50 gus 25 jules 17 eli 24
jules 24 24 cobalt hana 30 28 grove kim 26 12 ember chen 20 16 harbor jules 22 1 indigo dina 16 22 delta farah 14 30 harbor ivan 21 26 delta farah 10 9 harbor eli 1 24 amber
jules 48 hana 58 kim 38 chen 36 jules 23 dina 38 farah 44 ivan 47 farah 19 eli 25
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040345
qwen/qwen3.7-plus
awkweave-0040346
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
dina 17 chen 1 ivan 20 gus 3 eli 16 hana 19 lina 17 alice 21 chen 11
dina fail chen fail ivan fail gus fail eli fail hana fail lina fail alice fail chen fail
dina 25 hana 9 alice 2 ivan 15 alice 14 chen 5 lina 14 eli 20
dina fail hana fail alice fail ivan fail alice fail chen fail lina fail eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040346-p1
Output the first column; append 'pass' if the second column is 26 or greater, otherwise append 'fail'.
{print $1,($2>=26?"pass":"fail")}
dina 17 chen 1 ivan 20 gus 3 eli 16 hana 19 lina 17 alice 21 chen 11
dina fail chen fail ivan fail gus fail eli fail hana fail lina fail alice fail chen fail
dina 25 hana 9 alice 2 ivan 15 alice 14 chen 5 lina 14 eli 20
dina fail hana fail alice fail ivan fail alice fail chen fail lina fail eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040346
qwen/qwen3.7-plus
awkweave-0040347
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli fable 68 bruno ember 77 bruno juniper 89 lina ember 108 bruno birch 13 hana juniper 99 dina juniper 49 jules delta 83
FABLE EMBER JUNIPER EMBER BIRCH JUNIPER JUNIPER DELTA
jules ember 81 ivan indigo 44 hana cobalt 18 lina cobalt 13 ivan delta 85 kim ember 90 jules grove 38 ivan juniper 78
EMBER INDIGO COBALT COBALT DELTA EMBER GROVE JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040347-p1
Transform the second column to uppercase and output only that modified column.
{print toupper($2)}
eli fable 68 bruno ember 77 bruno juniper 89 lina ember 108 bruno birch 13 hana juniper 99 dina juniper 49 jules delta 83
FABLE EMBER JUNIPER EMBER BIRCH JUNIPER JUNIPER DELTA
jules ember 81 ivan indigo 44 hana cobalt 18 lina cobalt 13 ivan delta 85 kim ember 90 jules grove 38 ivan juniper 78
EMBER INDIGO COBALT COBALT DELTA EMBER GROVE JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040347
qwen/qwen3.7-plus
awkweave-0040348
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
delta 70 grove 54 delta 34 cobalt 108 juniper 22 juniper 105 amber 66 indigo 100 amber 36 ember 83
lt ov lt ba ni ni be di be be
harbor 77 amber 24 birch 36 birch 109 delta 112 ember 92 fable 36 fable 39 harbor 67
rb be rc rc lt be bl bl rb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040348-p1
Extract and print a substring of length 2 from the first column, starting at the third character.
{print substr($1,3,2)}
delta 70 grove 54 delta 34 cobalt 108 juniper 22 juniper 105 amber 66 indigo 100 amber 36 ember 83
lt ov lt ba ni ni be di be be
harbor 77 amber 24 birch 36 birch 109 delta 112 ember 92 fable 36 fable 39 harbor 67
rb be rc rc lt be bl bl rb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040348
qwen/qwen3.7-plus
awkweave-0040349
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 44 birch_delta 73 ember_delta 33 harbor_indigo 87 ember_cobalt 37 birch_birch 45 fable_harbor 59
delta cobalt birch delta ember delta harbor indigo ember cobalt birch birch fable harbor
delta_birch 74 fable_amber 37 juniper_cobalt 100 grove_fable 98 amber_cobalt 73 ember_fable 95 fable_harbor 77
delta birch fable amber juniper cobalt grove fable amber cobalt ember fable fable harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040349-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 44 birch_delta 73 ember_delta 33 harbor_indigo 87 ember_cobalt 37 birch_birch 45 fable_harbor 59
delta cobalt birch delta ember delta harbor indigo ember cobalt birch birch fable harbor
delta_birch 74 fable_amber 37 juniper_cobalt 100 grove_fable 98 amber_cobalt 73 ember_fable 95 fable_harbor 77
delta birch fable amber juniper cobalt grove fable amber cobalt ember fable fable harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040349
qwen/qwen3.7-plus
awkweave-0040350
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan fable 91 paused hana indigo 47 pending jules ember 119 paused alice birch 102 pending alice juniper 6 closed kim birch 23 active kim juniper 69 active
paused 91 fable ivan pending 47 indigo hana paused 119 ember jules pending 102 birch alice closed 6 juniper alice active 23 birch kim active 69 juniper kim
jules juniper 108 paused dina amber 20 closed dina delta 38 active kim ember 4 pending hana cobalt 52 ready hana birch 88 failed chen cobalt 66 ready chen indigo 2 active ivan ember 18 failed farah cobalt 21 active
paused 108 juniper jules closed 20 amber dina active 38 delta dina pending 4 ember kim ready 52 cobalt hana failed 88 birch hana ready 66 cobalt chen active 2 indigo chen failed 18 ember ivan active 21 cobalt farah
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040350-p1
Reverse the sequence of fields for every line and print the resulting fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan fable 91 paused hana indigo 47 pending jules ember 119 paused alice birch 102 pending alice juniper 6 closed kim birch 23 active kim juniper 69 active
paused 91 fable ivan pending 47 indigo hana paused 119 ember jules pending 102 birch alice closed 6 juniper alice active 23 birch kim active 69 juniper kim
jules juniper 108 paused dina amber 20 closed dina delta 38 active kim ember 4 pending hana cobalt 52 ready hana birch 88 failed chen cobalt 66 ready chen indigo 2 active ivan ember 18 failed farah cobalt 21 active
paused 108 juniper jules closed 20 amber dina active 38 delta dina pending 4 ember kim ready 52 cobalt hana failed 88 birch hana ready 66 cobalt chen active 2 indigo chen failed 18 ember ivan active 21 cobalt farah
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040350
qwen/qwen3.7-plus
awkweave-0040351
Print the number of whitespace-separated fields on each line.
{print NF}
chen fable 102 ready kim cobalt 28 failed lina delta 51 active chen ember 48 failed lina grove 55 active chen harbor 59 pending kim indigo 0 closed
4 4 4 4 4 4 4
dina amber 92 closed gus indigo 5 pending kim cobalt 10 pending ivan amber 112 failed gus birch 81 failed kim harbor 36 closed lina amber 47 failed bruno fable 53 failed ivan delta 63 closed lina ember 45 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040351-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
chen fable 102 ready kim cobalt 28 failed lina delta 51 active chen ember 48 failed lina grove 55 active chen harbor 59 pending kim indigo 0 closed
4 4 4 4 4 4 4
dina amber 92 closed gus indigo 5 pending kim cobalt 10 pending ivan amber 112 failed gus birch 81 failed kim harbor 36 closed lina amber 47 failed bruno fable 53 failed ivan delta 63 closed lina ember 45 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040351
qwen/qwen3.7-plus
awkweave-0040352
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus gamma 63 dina gamma 113 hana beta 2 chen delta 58 lina beta 118 dina alpha 116
gamma 2 beta 2 delta 1 alpha 1
bruno alpha 39 hana beta 103 bruno beta 73 farah beta 92 jules alpha 73 bruno delta 118 farah beta 84 hana gamma 94 gus delta 70
alpha 2 beta 4 delta 2 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040352-p1
Tally the number of records for each distinct value in the second column, printing the value and its count in the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus gamma 63 dina gamma 113 hana beta 2 chen delta 58 lina beta 118 dina alpha 116
gamma 2 beta 2 delta 1 alpha 1
bruno alpha 39 hana beta 103 bruno beta 73 farah beta 92 jules alpha 73 bruno delta 118 farah beta 84 hana gamma 94 gus delta 70
alpha 2 beta 4 delta 2 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040352
qwen/qwen3.7-plus
awkweave-0040353
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice alpha 14 lina alpha 17 jules delta 28 eli delta 10 dina alpha 4 hana gamma 7 alice gamma 11 farah alpha 10 hana gamma 24
alpha 45 delta 38 gamma 42
ivan alpha 2 alice gamma 2 jules delta 29 kim delta 10 farah beta 10 lina beta 1 alice delta 6 kim delta 26
alpha 2 gamma 2 delta 71 beta 11
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040353-p1
Calculate the sum of the third column grouped by the second column, outputting the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice alpha 14 lina alpha 17 jules delta 28 eli delta 10 dina alpha 4 hana gamma 7 alice gamma 11 farah alpha 10 hana gamma 24
alpha 45 delta 38 gamma 42
ivan alpha 2 alice gamma 2 jules delta 29 kim delta 10 farah beta 10 lina beta 1 alice delta 6 kim delta 26
alpha 2 gamma 2 delta 71 beta 11
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040353
qwen/qwen3.7-plus
awkweave-0040354
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta grove 103 beta grove 43 beta delta 100 gamma cobalt 76 beta cobalt 34 delta birch 41 beta indigo 67 beta cobalt 5 beta harbor 2 beta fable 101
beta 8
gamma grove 21 alpha juniper 71 delta amber 19 alpha harbor 81 beta delta 101 gamma fable 9 beta delta 19 delta indigo 31
gamma 2 alpha 2 delta 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040354-p1
List each unique value from the first column alongside its frequency count, maintaining the order of their first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta grove 103 beta grove 43 beta delta 100 gamma cobalt 76 beta cobalt 34 delta birch 41 beta indigo 67 beta cobalt 5 beta harbor 2 beta fable 101
beta 8
gamma grove 21 alpha juniper 71 delta amber 19 alpha harbor 81 beta delta 101 gamma fable 9 beta delta 19 delta indigo 31
gamma 2 alpha 2 delta 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040354
qwen/qwen3.7-plus
awkweave-0040355
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region state score record_id r001 alice 7 pending r002 eli 15 ready r003 lina 1 pending r004 eli 1 ready r005 lina 21 closed r006 farah 21 closed r007 jules 9 closed
7 15 1 1 21 21 9
region state score record_id r001 eli 2 active r002 eli 9 pending r003 hana 27 active r004 eli 13 closed r005 chen 16 ready r006 gus 6 paused r007 bruno 15 active
2 9 27 13 16 6 15
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040355-p1
Treat the initial row as a header and output the 'score' field for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region state score record_id r001 alice 7 pending r002 eli 15 ready r003 lina 1 pending r004 eli 1 ready r005 lina 21 closed r006 farah 21 closed r007 jules 9 closed
7 15 1 1 21 21 9
region state score record_id r001 eli 2 active r002 eli 9 pending r003 hana 27 active r004 eli 13 closed r005 chen 16 ready r006 gus 6 paused r007 bruno 15 active
2 9 27 13 16 6 15
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040355
qwen/qwen3.7-plus
awkweave-0040356
The first row is a header. Print display_name for data rows whose score is greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 bruno 8 active r002 alice 8 closed r003 farah 12 pending r004 gus 13 paused r005 kim 21 closed r006 ivan 10 failed
farah gus kim
record_id display_name score state r001 lina 28 pending r002 eli 30 ready r003 farah 15 failed r004 lina 27 closed r005 dina 16 pending r006 farah 3 ready
lina eli farah lina dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040356-p1
Ignoring the header row, display the 'display_name' field for records where the 'score' exceeds 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 bruno 8 active r002 alice 8 closed r003 farah 12 pending r004 gus 13 paused r005 kim 21 closed r006 ivan 10 failed
farah gus kim
record_id display_name score state r001 lina 28 pending r002 eli 30 ready r003 farah 15 failed r004 lina 27 closed r005 dina 16 pending r006 farah 3 ready
lina eli farah lina dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040356
qwen/qwen3.7-plus
awkweave-0040357
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 21 closed bruno 15 active gus 23 paused lina 11 closed dina 25 paused dina 21 failed dina 23 failed
lina bruno gus lina dina dina dina
chen 4 ready kim 20 paused eli 28 active jules 7 active jules 27 paused chen 3 failed jules 30 pending kim 8 ready alice 11 closed
chen kim eli jules jules chen jules kim alice
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040357-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 21 closed bruno 15 active gus 23 paused lina 11 closed dina 25 paused dina 21 failed dina 23 failed
lina bruno gus lina dina dina dina
chen 4 ready kim 20 paused eli 28 active jules 7 active jules 27 paused chen 3 failed jules 30 pending kim 8 ready alice 11 closed
chen kim eli jules jules chen jules kim alice
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0040357
qwen/qwen3.7-plus
awkweave-0040358
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14.
BEGIN{FS=OFS=","}$2>14{print $1}
jules,27,closed bruno,29,paused hana,23,active jules,10,failed dina,29,closed farah,2,pending jules,5,failed
jules bruno hana dina
gus,17,closed chen,19,pending eli,29,pending gus,8,ready jules,28,closed lina,10,closed bruno,2,active alice,22,closed
gus chen eli jules alice
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040358-p1
For simple comma-separated values without quoted commas, output the first column only if the second column is greater than 14.
BEGIN{FS=OFS=","}$2>14{print $1}
jules,27,closed bruno,29,paused hana,23,active jules,10,failed dina,29,closed farah,2,pending jules,5,failed
jules bruno hana dina
gus,17,closed chen,19,pending eli,29,pending gus,8,ready jules,28,closed lina,10,closed bruno,2,active alice,22,closed
gus chen eli jules alice
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040358
qwen/qwen3.7-plus
awkweave-0040359
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan ember 2 alice indigo 100 gus ember 95 gus fable 78 lina juniper 47 gus grove 93 gus cobalt 36 hana juniper 62 eli grove 118
ivan ember 2 alice indigo 100 gus ember 95 gus fable 78 lina juniper 47 gus grove 93 gus cobalt 36 hana juniper 62 eli grove 118
kim grove 110 eli harbor 62 hana grove 95 farah harbor 105 gus juniper 81 bruno delta 17 bruno juniper 48 dina ember 11 lina birch 17 chen fable 51
kim grove 110 eli harbor 62 hana grove 95 farah harbor 105 gus juniper 81 bruno delta 17 bruno juniper 48 dina ember 11 lina birch 17 chen fable 51
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040359-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
ivan ember 2 alice indigo 100 gus ember 95 gus fable 78 lina juniper 47 gus grove 93 gus cobalt 36 hana juniper 62 eli grove 118
ivan ember 2 alice indigo 100 gus ember 95 gus fable 78 lina juniper 47 gus grove 93 gus cobalt 36 hana juniper 62 eli grove 118
kim grove 110 eli harbor 62 hana grove 95 farah harbor 105 gus juniper 81 bruno delta 17 bruno juniper 48 dina ember 11 lina birch 17 chen fable 51
kim grove 110 eli harbor 62 hana grove 95 farah harbor 105 gus juniper 81 bruno delta 17 bruno juniper 48 dina ember 11 lina birch 17 chen fable 51
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040359
qwen/qwen3.7-plus
awkweave-0040360
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina harbor 95 active alice ember 91 active dina birch 96 paused lina harbor 48 ready lina cobalt 81 closed chen delta 76 ready kim harbor 107 failed hana birch 82 closed eli grove 40 active eli delta 46 paused
lina harbor 95 active
bruno juniper 57 closed gus fable 104 failed eli juniper 82 active lina cobalt 2 failed chen cobalt 57 ready farah birch 120 pending kim indigo 51 failed gus harbor 71 closed
bruno juniper 57 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040360-p1
Identify and output the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina harbor 95 active alice ember 91 active dina birch 96 paused lina harbor 48 ready lina cobalt 81 closed chen delta 76 ready kim harbor 107 failed hana birch 82 closed eli grove 40 active eli delta 46 paused
lina harbor 95 active
bruno juniper 57 closed gus fable 104 failed eli juniper 82 active lina cobalt 2 failed chen cobalt 57 ready farah birch 120 pending kim indigo 51 failed gus harbor 71 closed
bruno juniper 57 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040360
qwen/qwen3.7-plus
awkweave-0040361
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
farah 51 ivan 7 alice 23 hana 35 farah 77 dina 0 eli 15 farah 108
hana 35 farah 108
alice 72 alice 62 bruno 105 ivan 26 ivan 39 chen 31 ivan 106 farah 94 gus 26 alice 98
ivan 26 farah 94
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040361-p1
Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
farah 51 ivan 7 alice 23 hana 35 farah 77 dina 0 eli 15 farah 108
hana 35 farah 108
alice 72 alice 62 bruno 105 ivan 26 ivan 39 chen 31 ivan 106 farah 94 gus 26 alice 98
ivan 26 farah 94
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040361
qwen/qwen3.7-plus
awkweave-0040362
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha indigo 84 delta harbor 5 alpha juniper 23 beta delta 97 alpha ember 0 beta cobalt 17 gamma amber 106 alpha birch 104 gamma birch 108
4
gamma birch 117 beta fable 41 delta indigo 12 alpha birch 38 alpha harbor 86 beta grove 28 alpha indigo 30
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040362-p1
Calculate the number of unique entries in the first column and print only this total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha indigo 84 delta harbor 5 alpha juniper 23 beta delta 97 alpha ember 0 beta cobalt 17 gamma amber 106 alpha birch 104 gamma birch 108
4
gamma birch 117 beta fable 41 delta indigo 12 alpha birch 38 alpha harbor 86 beta grove 28 alpha indigo 30
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040362
qwen/qwen3.7-plus
awkweave-0040363
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 10 0 jules 8 9 hana 30 21 gus 7 2 bruno 6 26 lina 5 22 dina 13 11
jules 0.89 hana 1.43 gus 3.50 bruno 0.23 lina 0.23 dina 1.18
lina 4 0 chen 14 2 bruno 15 17 gus 12 30 ivan 18 2 farah 24 2 kim 28 11 chen 24 7 dina 14 26
chen 7.00 bruno 0.88 gus 0.40 ivan 9.00 farah 12.00 kim 2.55 chen 3.43 dina 0.54
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040363-p1
For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 10 0 jules 8 9 hana 30 21 gus 7 2 bruno 6 26 lina 5 22 dina 13 11
jules 0.89 hana 1.43 gus 3.50 bruno 0.23 lina 0.23 dina 1.18
lina 4 0 chen 14 2 bruno 15 17 gus 12 30 ivan 18 2 farah 24 2 kim 28 11 chen 24 7 dina 14 26
chen 7.00 bruno 0.88 gus 0.40 ivan 9.00 farah 12.00 kim 2.55 chen 3.43 dina 0.54
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040363
qwen/qwen3.7-plus
awkweave-0040364
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno ember 27 lina grove 7 alice harbor 16 kim harbor 25 ivan ember 1 chen cobalt 11
bruno ember 27 kim harbor 25 alice harbor 16
hana amber 20 chen indigo 15 ivan amber 13 alice delta 26 chen indigo 5 ivan fable 29
ivan fable 29 alice delta 26 hana amber 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040364-p1
Select the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno ember 27 lina grove 7 alice harbor 16 kim harbor 25 ivan ember 1 chen cobalt 11
bruno ember 27 kim harbor 25 alice harbor 16
hana amber 20 chen indigo 15 ivan amber 13 alice delta 26 chen indigo 5 ivan fable 29
ivan fable 29 alice delta 26 hana amber 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040364
qwen/qwen3.7-plus
awkweave-0040365
For each line, output fields 2 and 1, in that order.
{print $2, $1}
closed 28 lina dina paused 103 dina alice pending 110 bruno eli closed 8 alice kim active 112 hana bruno ready 119 eli alice active 105 farah dina pending 16 lina kim
28 closed 103 paused 110 pending 8 closed 112 active 119 ready 105 active 16 pending
active 85 jules hana active 57 gus hana failed 16 alice farah closed 93 hana jules active 89 bruno alice ready 50 chen alice paused 97 eli hana pending 15 alice chen
85 active 57 active 16 failed 93 closed 89 active 50 ready 97 paused 15 pending
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040365-p1
For every line, print the second field followed by the first field.
{print $2, $1}
closed 28 lina dina paused 103 dina alice pending 110 bruno eli closed 8 alice kim active 112 hana bruno ready 119 eli alice active 105 farah dina pending 16 lina kim
28 closed 103 paused 110 pending 8 closed 112 active 119 ready 105 active 16 pending
active 85 jules hana active 57 gus hana failed 16 alice farah closed 93 hana jules active 89 bruno alice ready 50 chen alice paused 97 eli hana pending 15 alice chen
85 active 57 active 16 failed 93 closed 89 active 50 ready 97 paused 15 pending
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040365
qwen/qwen3.7-plus
awkweave-0040366
Print the last field of every input line.
{print $NF}
paused pending amber 18 ready pending juniper 54 failed failed grove 32 active failed amber 76 pending failed birch 74 closed failed cobalt 21
18 54 32 76 74 21
paused pending ember 22 paused pending birch 11 ready failed indigo 91 active failed cobalt 82 failed active juniper 109 closed active harbor 74 closed closed juniper 102
22 11 91 82 109 74 102
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040366-p1
Output the final field from each input line.
{print $NF}
paused pending amber 18 ready pending juniper 54 failed failed grove 32 active failed amber 76 pending failed birch 74 closed failed cobalt 21
18 54 32 76 74 21
paused pending ember 22 paused pending birch 11 ready failed indigo 91 active failed cobalt 82 failed active juniper 109 closed active harbor 74 closed closed juniper 102
22 11 91 82 109 74 102
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040366
qwen/qwen3.7-plus
awkweave-0040367
Print the complete records where column 3 is at least 71.
$3 >= 71
paused alice 95 delta indigo paused alice 110 ember indigo failed gus 2 harbor indigo failed farah 5 ember cobalt active farah 83 grove amber pending hana 82 birch grove closed farah 46 delta grove paused dina 92 birch ember closed alice 25 cobalt ember
paused alice 95 delta indigo paused alice 110 ember indigo active farah 83 grove amber pending hana 82 birch grove paused dina 92 birch ember
ready jules 33 juniper fable failed alice 22 amber cobalt failed bruno 86 delta grove failed chen 86 harbor harbor active chen 26 birch cobalt ready jules 82 amber cobalt ready hana 116 delta juniper
failed bruno 86 delta grove failed chen 86 harbor harbor ready jules 82 amber cobalt ready hana 116 delta juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040367-p1
Display full records where the value in the third column is greater than or equal to 71.
$3 >= 71
paused alice 95 delta indigo paused alice 110 ember indigo failed gus 2 harbor indigo failed farah 5 ember cobalt active farah 83 grove amber pending hana 82 birch grove closed farah 46 delta grove paused dina 92 birch ember closed alice 25 cobalt ember
paused alice 95 delta indigo paused alice 110 ember indigo active farah 83 grove amber pending hana 82 birch grove paused dina 92 birch ember
ready jules 33 juniper fable failed alice 22 amber cobalt failed bruno 86 delta grove failed chen 86 harbor harbor active chen 26 birch cobalt ready jules 82 amber cobalt ready hana 116 delta juniper
failed bruno 86 delta grove failed chen 86 harbor harbor ready jules 82 amber cobalt ready hana 116 delta juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040367
qwen/qwen3.7-plus
awkweave-0040368
Show whole lines whose 3rd field is between 7 and 21, inclusive.
$3 >= 7 && $3 <= 21
pending failed 11 pending closed failed 23 active pending active 12 closed ready failed 2 pending pending pending 12 ready paused ready 7 ready ready pending 2 closed closed failed 1 ready pending paused 7 closed
pending failed 11 pending pending active 12 closed pending pending 12 ready paused ready 7 ready pending paused 7 closed
active failed 3 paused closed paused 10 ready active closed 22 paused paused ready 12 pending closed closed 21 ready active paused 1 paused paused ready 5 pending failed closed 5 closed
closed paused 10 ready paused ready 12 pending closed closed 21 ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040368-p1
Show entire lines where the third field falls within the inclusive range of 7 to 21.
$3 >= 7 && $3 <= 21
pending failed 11 pending closed failed 23 active pending active 12 closed ready failed 2 pending pending pending 12 ready paused ready 7 ready ready pending 2 closed closed failed 1 ready pending paused 7 closed
pending failed 11 pending pending active 12 closed pending pending 12 ready paused ready 7 ready pending paused 7 closed
active failed 3 paused closed paused 10 ready active closed 22 paused paused ready 12 pending closed closed 21 ready active paused 1 paused paused ready 5 pending failed closed 5 closed
closed paused 10 ready paused ready 12 pending closed closed 21 ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040368
qwen/qwen3.7-plus
awkweave-0040369
Print column 3 only for rows where column 4 is exactly failed.
$4 == "failed"{print $3}
grove 72 chen active delta 57 hana pending juniper 36 hana failed delta 50 bruno paused indigo 23 gus pending indigo 22 kim active juniper 0 ivan pending indigo 18 alice pending
hana
harbor 12 alice ready amber 66 farah active delta 5 lina ready grove 114 eli paused fable 16 kim active ember 90 alice failed ember 93 bruno failed
alice bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040369-p1
Extract and print only the third column for rows where the fourth column matches 'failed' exactly.
$4 == "failed"{print $3}
grove 72 chen active delta 57 hana pending juniper 36 hana failed delta 50 bruno paused indigo 23 gus pending indigo 22 kim active juniper 0 ivan pending indigo 18 alice pending
hana
harbor 12 alice ready amber 66 farah active delta 5 lina ready grove 114 eli paused fable 16 kim active ember 90 alice failed ember 93 bruno failed
alice bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040369
qwen/qwen3.7-plus
awkweave-0040370
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
INFO delta 102 WARN juniper 43 INFO juniper 100 WARN cobalt 119 WARN indigo 7 INFO amber 70 WARN juniper 35
WARN juniper 43 WARN cobalt 119 WARN indigo 7 WARN juniper 35
DEBUG ember 108 DEBUG birch 66 ERROR indigo 64 DEBUG grove 34 INFO amber 40 ERROR juniper 82 ERROR fable 8 INFO indigo 69 ERROR indigo 31
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040370-p1
Print all fields from lines where the first field starts with the string 'WARN'.
$1 ~ /^WARN/
INFO delta 102 WARN juniper 43 INFO juniper 100 WARN cobalt 119 WARN indigo 7 INFO amber 70 WARN juniper 35
WARN juniper 43 WARN cobalt 119 WARN indigo 7 WARN juniper 35
DEBUG ember 108 DEBUG birch 66 ERROR indigo 64 DEBUG grove 34 INFO amber 40 ERROR juniper 82 ERROR fable 8 INFO indigo 69 ERROR indigo 31
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040370
qwen/qwen3.7-plus
awkweave-0040371
Print every line except those containing the exact text amber.
$0 !~ /amber/
grove 6 closed harbor 67 active juniper 120 active indigo 14 active delta 8 failed juniper 40 failed fable 24 pending birch 88 closed amber 999 active
grove 6 closed harbor 67 active juniper 120 active indigo 14 active delta 8 failed juniper 40 failed fable 24 pending birch 88 closed
cobalt 120 paused indigo 110 ready juniper 86 paused ember 13 failed indigo 4 active cobalt 80 closed ember 37 pending cobalt 95 active amber 999 active
cobalt 120 paused indigo 110 ready juniper 86 paused ember 13 failed indigo 4 active cobalt 80 closed ember 37 pending cobalt 95 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040371-p1
Output every line that does not contain the exact substring 'amber'.
$0 !~ /amber/
grove 6 closed harbor 67 active juniper 120 active indigo 14 active delta 8 failed juniper 40 failed fable 24 pending birch 88 closed amber 999 active
grove 6 closed harbor 67 active juniper 120 active indigo 14 active delta 8 failed juniper 40 failed fable 24 pending birch 88 closed
cobalt 120 paused indigo 110 ready juniper 86 paused ember 13 failed indigo 4 active cobalt 80 closed ember 37 pending cobalt 95 active amber 999 active
cobalt 120 paused indigo 110 ready juniper 86 paused ember 13 failed indigo 4 active cobalt 80 closed ember 37 pending cobalt 95 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040371
qwen/qwen3.7-plus
awkweave-0040372
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
eli cobalt 61 chen juniper 96 kim grove 104 farah harbor 92 jules amber 12 lina juniper 65 hana cobalt 53 gus grove 60
farah harbor 92 jules amber 12 lina juniper 65
ivan cobalt 43 bruno indigo 110 chen fable 27 ivan juniper 31 gus fable 82 alice ember 1 hana birch 114 eli juniper 111
ivan juniper 31 gus fable 82 alice ember 1
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040372-p1
Print lines numbered 4 through 6, inclusive of both endpoints.
NR >= 4 && NR <= 6
eli cobalt 61 chen juniper 96 kim grove 104 farah harbor 92 jules amber 12 lina juniper 65 hana cobalt 53 gus grove 60
farah harbor 92 jules amber 12 lina juniper 65
ivan cobalt 43 bruno indigo 110 chen fable 27 ivan juniper 31 gus fable 82 alice ember 1 hana birch 114 eli juniper 111
ivan juniper 31 gus fable 82 alice ember 1
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040372
qwen/qwen3.7-plus
awkweave-0040373
Output only the first 3 records.
NR <= 3
farah 32 birch lina 87 amber gus 6 grove chen 56 grove gus 120 fable gus 101 fable bruno 76 cobalt bruno 103 ember
farah 32 birch lina 87 amber gus 6 grove
chen 103 amber chen 17 delta hana 72 amber farah 58 grove chen 109 amber dina 100 indigo eli 27 amber kim 19 fable alice 79 juniper
chen 103 amber chen 17 delta hana 72 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040373-p1
Output only the first 3 records from the input.
NR <= 3
farah 32 birch lina 87 amber gus 6 grove chen 56 grove gus 120 fable gus 101 fable bruno 76 cobalt bruno 103 ember
farah 32 birch lina 87 amber gus 6 grove
chen 103 amber chen 17 delta hana 72 amber farah 58 grove chen 109 amber dina 100 indigo eli 27 amber kim 19 fable alice 79 juniper
chen 103 amber chen 17 delta hana 72 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040373
qwen/qwen3.7-plus
awkweave-0040374
Skip the first line and print every remaining line unchanged.
NR > 1
jules 60 amber alice 46 ember gus 91 ember dina 70 birch hana 35 ember farah 25 juniper alice 109 birch
alice 46 ember gus 91 ember dina 70 birch hana 35 ember farah 25 juniper alice 109 birch
farah 118 grove dina 87 birch bruno 102 fable jules 97 amber kim 58 juniper lina 2 indigo lina 31 juniper chen 48 cobalt lina 12 cobalt
dina 87 birch bruno 102 fable jules 97 amber kim 58 juniper lina 2 indigo lina 31 juniper chen 48 cobalt lina 12 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040374-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
jules 60 amber alice 46 ember gus 91 ember dina 70 birch hana 35 ember farah 25 juniper alice 109 birch
alice 46 ember gus 91 ember dina 70 birch hana 35 ember farah 25 juniper alice 109 birch
farah 118 grove dina 87 birch bruno 102 fable jules 97 amber kim 58 juniper lina 2 indigo lina 31 juniper chen 48 cobalt lina 12 cobalt
dina 87 birch bruno 102 fable jules 97 amber kim 58 juniper lina 2 indigo lina 31 juniper chen 48 cobalt lina 12 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040374
qwen/qwen3.7-plus
awkweave-0040375
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
ivan paused 76 gus active 101 dina closed 116 jules paused 24 lina failed 93 eli closed 84 bruno closed 44
0
bruno failed 70 bruno pending 111 dina pending 75 jules pending 66 ivan pending 18 lina failed 110 lina pending 2 hana active 22 lina failed 60
5
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040375-p1
Count the number of records containing 'pending' in the second column; output 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
ivan paused 76 gus active 101 dina closed 116 jules paused 24 lina failed 93 eli closed 84 bruno closed 44
0
bruno failed 70 bruno pending 111 dina pending 75 jules pending 66 ivan pending 18 lina failed 110 lina pending 2 hana active 22 lina failed 60
5
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040375
qwen/qwen3.7-plus
awkweave-0040376
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
gus 3 delta farah 19 ember kim 29 grove hana 2 cobalt farah 13 birch lina 15 indigo lina 3 indigo kim 12 harbor gus 10 fable
106
kim 25 cobalt eli 22 fable eli 2 ember chen 29 harbor hana 11 birch farah 2 amber bruno 12 birch bruno 12 ember
115
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040376-p1
Compute and display the sum of all integer values found in the second column.
{s+=$2}END{print s+0}
gus 3 delta farah 19 ember kim 29 grove hana 2 cobalt farah 13 birch lina 15 indigo lina 3 indigo kim 12 harbor gus 10 fable
106
kim 25 cobalt eli 22 fable eli 2 ember chen 29 harbor hana 11 birch farah 2 amber bruno 12 birch bruno 12 ember
115
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040376
qwen/qwen3.7-plus
awkweave-0040377
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana grove 2 kim cobalt 28 bruno fable 7 alice ember 23 farah delta 22 alice juniper 14 farah amber 4
14.29
alice juniper 11 farah indigo 23 dina birch 12 alice delta 21 hana fable 6 lina juniper 10
13.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040377-p1
Calculate and print the average of the values in the third column, rounded to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana grove 2 kim cobalt 28 bruno fable 7 alice ember 23 farah delta 22 alice juniper 14 farah amber 4
14.29
alice juniper 11 farah indigo 23 dina birch 12 alice delta 21 hana fable 6 lina juniper 10
13.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040377
qwen/qwen3.7-plus
awkweave-0040378
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
15 alice grove 16 gus grove 12 ivan indigo 30 gus indigo 10 bruno grove 27 hana indigo 5 chen delta
5
29 eli fable 21 farah grove 18 jules indigo 26 eli juniper 11 lina birch 3 alice juniper 19 kim cobalt 26 chen delta 12 alice ember
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040378-p1
Output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
15 alice grove 16 gus grove 12 ivan indigo 30 gus indigo 10 bruno grove 27 hana indigo 5 chen delta
5
29 eli fable 21 farah grove 18 jules indigo 26 eli juniper 11 lina birch 3 alice juniper 19 kim cobalt 26 chen delta 12 alice ember
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040378
qwen/qwen3.7-plus
awkweave-0040379
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
29 indigo bruno 28 birch alice 17 grove jules 21 grove lina 24 grove gus 22 amber hana 30 delta alice 30 harbor chen 23 birch ivan 1 cobalt hana
30
15 cobalt chen 1 birch alice 25 amber hana 29 amber lina 23 birch gus 5 birch eli 4 grove bruno 23 fable kim
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040379-p1
Output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
29 indigo bruno 28 birch alice 17 grove jules 21 grove lina 24 grove gus 22 amber hana 30 delta alice 30 harbor chen 23 birch ivan 1 cobalt hana
30
15 cobalt chen 1 birch alice 25 amber hana 29 amber lina 23 birch gus 5 birch eli 4 grove bruno 23 fable kim
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040379
qwen/qwen3.7-plus
awkweave-0040380
Count all input records and print the total.
END{print NR}
gus 93 bruno 30 chen 110 ivan 119 ivan 56 hana 109 hana 32 chen 83 gus 89
9
gus 19 jules 107 hana 47 lina 100 hana 7 dina 96 eli 52
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040380-p1
Calculate and display the total number of input lines.
END{print NR}
gus 93 bruno 30 chen 110 ivan 119 ivan 56 hana 109 hana 32 chen 83 gus 89
9
gus 19 jules 107 hana 47 lina 100 hana 7 dina 96 eli 52
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040380
qwen/qwen3.7-plus
awkweave-0040381
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli indigo 68 eli grove 53 ivan harbor 104 bruno cobalt 34 hana juniper 76 lina ember 99 dina birch 40 bruno cobalt 34 eli amber 30
eli indigo 68 eli grove 53 ivan harbor 104 bruno cobalt 34 hana juniper 76 lina ember 99 dina birch 40 eli amber 30
gus fable 68 chen amber 75 kim cobalt 79 chen birch 107 bruno grove 65 gus amber 70 chen amber 75 dina delta 101 farah harbor 31 alice grove 25
gus fable 68 chen amber 75 kim cobalt 79 chen birch 107 bruno grove 65 gus amber 70 dina delta 101 farah harbor 31 alice grove 25
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null