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-0050002-p1
Output only the second column for rows where the first column is exactly 'paused'.
$1 == "paused"{print $2}
paused jules 53 birch ready ivan 80 grove active farah 100 juniper active jules 73 juniper paused farah 37 harbor paused jules 7 delta active farah 11 juniper paused ivan 63 fable active chen 8 ember
jules farah jules ivan
ready lina 90 fable active ivan 47 juniper paused hana 31 harbor failed alice 120 juniper active chen 19 grove pending chen 76 amber
hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050002
qwen/qwen3.7-plus
awkweave-0050003
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
juniper DEBUG 65 birch ERROR 65 juniper WARN 104 grove DEBUG 107 cobalt ERROR 57 delta ERROR 94 ember INFO 11
ember INFO 11
birch INFO 24 indigo ERROR 92 delta INFO 102 grove WARN 51 harbor DEBUG 16 grove WARN 115 cobalt WARN 42 grove INFO 115
birch INFO 24 delta INFO 102 grove INFO 115
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050003-p1
Print all fields from lines where the second field starts with the string 'INFO'.
$2 ~ /^INFO/
juniper DEBUG 65 birch ERROR 65 juniper WARN 104 grove DEBUG 107 cobalt ERROR 57 delta ERROR 94 ember INFO 11
ember INFO 11
birch INFO 24 indigo ERROR 92 delta INFO 102 grove WARN 51 harbor DEBUG 16 grove WARN 115 cobalt WARN 42 grove INFO 115
birch INFO 24 delta INFO 102 grove INFO 115
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050003
qwen/qwen3.7-plus
awkweave-0050004
Print every line except those containing the exact text delta.
$0 !~ /delta/
amber 34 closed harbor 17 failed cobalt 93 pending indigo 116 paused amber 33 ready cobalt 72 closed grove 42 paused grove 32 pending delta 999 active
amber 34 closed harbor 17 failed cobalt 93 pending indigo 116 paused amber 33 ready cobalt 72 closed grove 42 paused grove 32 pending
ember 80 pending delta 74 ready grove 34 closed juniper 106 active indigo 48 active grove 104 closed cobalt 51 closed juniper 10 pending delta 101 active juniper 70 failed delta 999 active
ember 80 pending grove 34 closed juniper 106 active indigo 48 active grove 104 closed cobalt 51 closed juniper 10 pending juniper 70 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050004-p1
Output every line that does not contain the exact string 'delta'.
$0 !~ /delta/
amber 34 closed harbor 17 failed cobalt 93 pending indigo 116 paused amber 33 ready cobalt 72 closed grove 42 paused grove 32 pending delta 999 active
amber 34 closed harbor 17 failed cobalt 93 pending indigo 116 paused amber 33 ready cobalt 72 closed grove 42 paused grove 32 pending
ember 80 pending delta 74 ready grove 34 closed juniper 106 active indigo 48 active grove 104 closed cobalt 51 closed juniper 10 pending delta 101 active juniper 70 failed delta 999 active
ember 80 pending grove 34 closed juniper 106 active indigo 48 active grove 104 closed cobalt 51 closed juniper 10 pending juniper 70 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050004
qwen/qwen3.7-plus
awkweave-0050005
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
lina fable 68 jules harbor 8 lina amber 27 dina cobalt 110 hana birch 25 lina amber 115 eli cobalt 109
lina amber 27 dina cobalt 110 hana birch 25
farah amber 41 chen cobalt 25 hana grove 26 jules birch 51 kim indigo 4 dina grove 68 ivan harbor 66
hana grove 26 jules birch 51 kim indigo 4
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050005-p1
Print lines 3 through 5, inclusive of both endpoints.
NR >= 3 && NR <= 5
lina fable 68 jules harbor 8 lina amber 27 dina cobalt 110 hana birch 25 lina amber 115 eli cobalt 109
lina amber 27 dina cobalt 110 hana birch 25
farah amber 41 chen cobalt 25 hana grove 26 jules birch 51 kim indigo 4 dina grove 68 ivan harbor 66
hana grove 26 jules birch 51 kim indigo 4
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050005
qwen/qwen3.7-plus
awkweave-0050006
Output only the first 3 records.
NR <= 3
alice 0 indigo bruno 100 juniper dina 92 grove hana 15 indigo kim 39 amber hana 115 indigo chen 33 cobalt
alice 0 indigo bruno 100 juniper dina 92 grove
dina 90 delta bruno 24 juniper ivan 118 grove gus 78 fable gus 41 birch dina 107 grove kim 104 indigo ivan 108 harbor eli 7 ember
dina 90 delta bruno 24 juniper ivan 118 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050006-p1
Output only the first 3 records.
NR <= 3
alice 0 indigo bruno 100 juniper dina 92 grove hana 15 indigo kim 39 amber hana 115 indigo chen 33 cobalt
alice 0 indigo bruno 100 juniper dina 92 grove
dina 90 delta bruno 24 juniper ivan 118 grove gus 78 fable gus 41 birch dina 107 grove kim 104 indigo ivan 108 harbor eli 7 ember
dina 90 delta bruno 24 juniper ivan 118 grove
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0050006
qwen/qwen3.7-plus
awkweave-0050007
Skip the first line and print every remaining line unchanged.
NR > 1
jules 14 ember bruno 38 grove eli 49 cobalt bruno 45 delta jules 55 fable ivan 118 ember eli 80 juniper jules 33 juniper kim 73 juniper
bruno 38 grove eli 49 cobalt bruno 45 delta jules 55 fable ivan 118 ember eli 80 juniper jules 33 juniper kim 73 juniper
ivan 15 juniper bruno 93 harbor dina 113 birch kim 34 birch jules 94 juniper chen 80 delta kim 100 harbor gus 6 ember lina 11 indigo
bruno 93 harbor dina 113 birch kim 34 birch jules 94 juniper chen 80 delta kim 100 harbor gus 6 ember lina 11 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050007-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
jules 14 ember bruno 38 grove eli 49 cobalt bruno 45 delta jules 55 fable ivan 118 ember eli 80 juniper jules 33 juniper kim 73 juniper
bruno 38 grove eli 49 cobalt bruno 45 delta jules 55 fable ivan 118 ember eli 80 juniper jules 33 juniper kim 73 juniper
ivan 15 juniper bruno 93 harbor dina 113 birch kim 34 birch jules 94 juniper chen 80 delta kim 100 harbor gus 6 ember lina 11 indigo
bruno 93 harbor dina 113 birch kim 34 birch jules 94 juniper chen 80 delta kim 100 harbor gus 6 ember lina 11 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050007
qwen/qwen3.7-plus
awkweave-0050008
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
eli paused 20 kim failed 55 chen closed 68 kim ready 77 bruno paused 107 hana closed 37 hana failed 119 bruno pending 18
2
bruno failed 61 farah failed 33 alice failed 84 farah pending 75 bruno closed 87 dina pending 119
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050008-p1
Count the number of records where column 2 is 'failed', printing 0 if no such records exist.
$2 == "failed"{n++}END{print n+0}
eli paused 20 kim failed 55 chen closed 68 kim ready 77 bruno paused 107 hana closed 37 hana failed 119 bruno pending 18
2
bruno failed 61 farah failed 33 alice failed 84 farah pending 75 bruno closed 87 dina pending 119
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050008
qwen/qwen3.7-plus
awkweave-0050009
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
1 dina cobalt 9 ivan amber 17 eli juniper 10 ivan cobalt 30 chen harbor 10 hana juniper 11 bruno cobalt 20 gus amber 30 alice juniper
138
30 kim fable 23 lina ember 27 jules grove 9 eli harbor 7 lina juniper 21 dina grove 23 jules harbor 10 kim cobalt
150
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050009-p1
Compute and display the sum of all integer values found in column 1.
{s+=$1}END{print s+0}
1 dina cobalt 9 ivan amber 17 eli juniper 10 ivan cobalt 30 chen harbor 10 hana juniper 11 bruno cobalt 20 gus amber 30 alice juniper
138
30 kim fable 23 lina ember 27 jules grove 9 eli harbor 7 lina juniper 21 dina grove 23 jules harbor 10 kim cobalt
150
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050009
qwen/qwen3.7-plus
awkweave-0050010
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 4 ivan cobalt 7 alice birch 18 hana fable 16 farah ember 29 lina delta 9 ivan
13.83
grove 22 alice ember 4 gus indigo 16 bruno ember 10 lina ember 25 lina amber 11 gus ember 25 chen harbor 8 ivan
15.12
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050010-p1
Print the average of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 4 ivan cobalt 7 alice birch 18 hana fable 16 farah ember 29 lina delta 9 ivan
13.83
grove 22 alice ember 4 gus indigo 16 bruno ember 10 lina ember 25 lina amber 11 gus ember 25 chen harbor 8 ivan
15.12
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050010
qwen/qwen3.7-plus
awkweave-0050011
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 23 lina grove 3 kim harbor 17 jules ember 11 lina indigo 1 jules amber 21 hana grove 4 gus birch 16 farah amber 25 eli birch 24 gus
1
fable 21 alice delta 22 lina indigo 4 ivan harbor 26 lina amber 14 gus harbor 28 ivan harbor 30 hana ember 19 bruno indigo 11 gus birch 5 eli
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050011-p1
Identify and print the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 23 lina grove 3 kim harbor 17 jules ember 11 lina indigo 1 jules amber 21 hana grove 4 gus birch 16 farah amber 25 eli birch 24 gus
1
fable 21 alice delta 22 lina indigo 4 ivan harbor 26 lina amber 14 gus harbor 28 ivan harbor 30 hana ember 19 bruno indigo 11 gus birch 5 eli
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050011
qwen/qwen3.7-plus
awkweave-0050012
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 16 juniper lina 11 fable ivan 26 juniper lina 9 cobalt lina 21 delta farah 26 grove
26
hana 9 indigo farah 5 harbor hana 17 juniper ivan 18 amber hana 13 ember gus 13 fable
18
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050012-p1
Identify and output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 16 juniper lina 11 fable ivan 26 juniper lina 9 cobalt lina 21 delta farah 26 grove
26
hana 9 indigo farah 5 harbor hana 17 juniper ivan 18 amber hana 13 ember gus 13 fable
18
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050012
qwen/qwen3.7-plus
awkweave-0050013
Count all input records and print the total.
END{print NR}
dina 43 lina 68 jules 21 bruno 120 eli 23 chen 57 farah 21 farah 99 gus 110
9
eli 55 chen 61 alice 98 farah 60 alice 53 lina 102 eli 55 kim 39
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050013-p1
Calculate the total number of input records and display the count.
END{print NR}
dina 43 lina 68 jules 21 bruno 120 eli 23 chen 57 farah 21 farah 99 gus 110
9
eli 55 chen 61 alice 98 farah 60 alice 53 lina 102 eli 55 kim 39
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050013
qwen/qwen3.7-plus
awkweave-0050014
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina delta 101 lina amber 0 hana amber 96 eli delta 96 lina grove 99 bruno grove 4 ivan fable 24 dina delta 14 dina delta 14 farah birch 45 farah ember 75
dina delta 101 lina amber 0 hana amber 96 eli delta 96 lina grove 99 bruno grove 4 ivan fable 24 dina delta 14 farah birch 45 farah ember 75
gus juniper 41 gus indigo 78 gus grove 59 gus juniper 41 chen cobalt 96 farah harbor 83 dina birch 109
gus juniper 41 gus indigo 78 gus grove 59 chen cobalt 96 farah harbor 83 dina birch 109
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050014-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
dina delta 101 lina amber 0 hana amber 96 eli delta 96 lina grove 99 bruno grove 4 ivan fable 24 dina delta 14 dina delta 14 farah birch 45 farah ember 75
dina delta 101 lina amber 0 hana amber 96 eli delta 96 lina grove 99 bruno grove 4 ivan fable 24 dina delta 14 farah birch 45 farah ember 75
gus juniper 41 gus indigo 78 gus grove 59 gus juniper 41 chen cobalt 96 farah harbor 83 dina birch 109
gus juniper 41 gus indigo 78 gus grove 59 chen cobalt 96 farah harbor 83 dina birch 109
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050014
qwen/qwen3.7-plus
awkweave-0050015
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
ivan grove 2 eli indigo 53 hana grove 80 farah indigo 17 bruno indigo 28 bruno amber 98 bruno grove 17
ivan grove 2 eli indigo 53 hana grove 80 farah indigo 17 bruno indigo 28
farah harbor 95 hana birch 110 gus amber 50 alice fable 61 eli amber 90 farah birch 51
farah harbor 95 hana birch 110 gus amber 50 alice fable 61 eli amber 90
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050015-p1
Retain only the initial line for every unique value in the first column, preserving the input order.
!seen[$1]++
ivan grove 2 eli indigo 53 hana grove 80 farah indigo 17 bruno indigo 28 bruno amber 98 bruno grove 17
ivan grove 2 eli indigo 53 hana grove 80 farah indigo 17 bruno indigo 28
farah harbor 95 hana birch 110 gus amber 50 alice fable 61 eli amber 90 farah birch 51
farah harbor 95 hana birch 110 gus amber 50 alice fable 61 eli amber 90
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050015
qwen/qwen3.7-plus
awkweave-0050016
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 24 delta alice 8 fable lina 4 harbor ivan 16 amber chen 7 fable dina 1 cobalt
bruno 24 alice 32 lina 36 ivan 52 chen 59 dina 60
jules 21 grove ivan 25 fable alice 9 ember eli 18 grove eli 5 juniper ivan 9 grove gus 14 grove
jules 21 ivan 46 alice 55 eli 73 eli 78 ivan 87 gus 101
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050016-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
bruno 24 delta alice 8 fable lina 4 harbor ivan 16 amber chen 7 fable dina 1 cobalt
bruno 24 alice 32 lina 36 ivan 52 chen 59 dina 60
jules 21 grove ivan 25 fable alice 9 ember eli 18 grove eli 5 juniper ivan 9 grove gus 14 grove
jules 21 ivan 46 alice 55 eli 73 eli 78 ivan 87 gus 101
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050016
qwen/qwen3.7-plus
awkweave-0050017
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 8 26 cobalt chen 20 13 grove gus 24 30 delta jules 29 23 grove alice 15 3 birch ivan 11 14 juniper dina 12 26 ember hana 13 12 ember
chen 34 chen 33 gus 54 jules 52 alice 18 ivan 25 dina 38 hana 25
farah 21 11 indigo ivan 14 8 ember eli 13 20 birch alice 26 21 juniper ivan 24 22 juniper jules 15 9 ember bruno 8 25 harbor lina 7 7 juniper gus 11 6 amber
farah 32 ivan 22 eli 33 alice 47 ivan 46 jules 24 bruno 33 lina 14 gus 17
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050017-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
chen 8 26 cobalt chen 20 13 grove gus 24 30 delta jules 29 23 grove alice 15 3 birch ivan 11 14 juniper dina 12 26 ember hana 13 12 ember
chen 34 chen 33 gus 54 jules 52 alice 18 ivan 25 dina 38 hana 25
farah 21 11 indigo ivan 14 8 ember eli 13 20 birch alice 26 21 juniper ivan 24 22 juniper jules 15 9 ember bruno 8 25 harbor lina 7 7 juniper gus 11 6 amber
farah 32 ivan 22 eli 33 alice 47 ivan 46 jules 24 bruno 33 lina 14 gus 17
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050017
qwen/qwen3.7-plus
awkweave-0050018
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
chen 11 lina 1 dina 20 dina 5 farah 6 hana 4 jules 24 dina 25
chen fail lina fail dina pass dina fail farah fail hana fail jules pass dina pass
bruno 29 ivan 24 kim 22 chen 9 hana 28 jules 24 ivan 1
bruno pass ivan pass kim pass chen fail hana pass jules pass ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050018-p1
Output the first column and print 'pass' if the second column is 20 or greater; otherwise, print 'fail'.
{print $1,($2>=20?"pass":"fail")}
chen 11 lina 1 dina 20 dina 5 farah 6 hana 4 jules 24 dina 25
chen fail lina fail dina pass dina fail farah fail hana fail jules pass dina pass
bruno 29 ivan 24 kim 22 chen 9 hana 28 jules 24 ivan 1
bruno pass ivan pass kim pass chen fail hana pass jules pass ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050018
qwen/qwen3.7-plus
awkweave-0050019
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules cobalt 32 gus birch 102 dina harbor 27 chen ember 99 hana harbor 48 gus delta 23 hana fable 8 gus cobalt 7
JULES GUS DINA CHEN HANA GUS HANA GUS
dina juniper 104 dina birch 38 bruno amber 41 alice indigo 96 dina amber 58 bruno ember 69
DINA DINA BRUNO ALICE DINA BRUNO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050019-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
jules cobalt 32 gus birch 102 dina harbor 27 chen ember 99 hana harbor 48 gus delta 23 hana fable 8 gus cobalt 7
JULES GUS DINA CHEN HANA GUS HANA GUS
dina juniper 104 dina birch 38 bruno amber 41 alice indigo 96 dina amber 58 bruno ember 69
DINA DINA BRUNO ALICE DINA BRUNO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050019
qwen/qwen3.7-plus
awkweave-0050020
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
indigo 59 birch 36 amber 11 juniper 67 ember 4 indigo 15 birch 98 cobalt 72 delta 100 delta 65
ndi irc mbe uni mbe ndi irc oba elt elt
fable 34 grove 2 cobalt 11 harbor 13 amber 46 juniper 52 juniper 51 amber 82
abl rov oba arb mbe uni uni mbe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050020-p1
Extract and print a substring of 3 characters from the first column, starting at the second character.
{print substr($1,2,3)}
indigo 59 birch 36 amber 11 juniper 67 ember 4 indigo 15 birch 98 cobalt 72 delta 100 delta 65
ndi irc mbe uni mbe ndi irc oba elt elt
fable 34 grove 2 cobalt 11 harbor 13 amber 46 juniper 52 juniper 51 amber 82
abl rov oba arb mbe uni uni mbe
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050020
qwen/qwen3.7-plus
awkweave-0050021
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_grove 101 delta_grove 77 juniper_ember 36 harbor_birch 85 birch_delta 59 juniper_fable 41 ember_delta 20 cobalt_delta 41 amber_ember 120
cobalt grove delta grove juniper ember harbor birch birch delta juniper fable ember delta cobalt delta amber ember
harbor_harbor 82 grove_delta 50 juniper_indigo 49 indigo_grove 39 juniper_birch 51 harbor_ember 61 fable_cobalt 41 ember_cobalt 31 ember_amber 37 ember_grove 87
harbor harbor grove delta juniper indigo indigo grove juniper birch harbor ember fable cobalt ember cobalt ember amber ember grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050021-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_grove 101 delta_grove 77 juniper_ember 36 harbor_birch 85 birch_delta 59 juniper_fable 41 ember_delta 20 cobalt_delta 41 amber_ember 120
cobalt grove delta grove juniper ember harbor birch birch delta juniper fable ember delta cobalt delta amber ember
harbor_harbor 82 grove_delta 50 juniper_indigo 49 indigo_grove 39 juniper_birch 51 harbor_ember 61 fable_cobalt 41 ember_cobalt 31 ember_amber 37 ember_grove 87
harbor harbor grove delta juniper indigo indigo grove juniper birch harbor ember fable cobalt ember cobalt ember amber ember grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050021
qwen/qwen3.7-plus
awkweave-0050022
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 ember 18 paused chen ember 59 pending dina grove 119 paused alice fable 12 active dina ember 94 failed jules cobalt 109 ready bruno fable 2 ready kim amber 34 failed
paused 18 ember ivan pending 59 ember chen paused 119 grove dina active 12 fable alice failed 94 ember dina ready 109 cobalt jules ready 2 fable bruno failed 34 amber kim
hana fable 24 ready alice delta 41 closed dina birch 34 closed kim grove 43 failed hana juniper 112 paused jules grove 31 paused dina ember 108 ready
ready 24 fable hana closed 41 delta alice closed 34 birch dina failed 43 grove kim paused 112 juniper hana paused 31 grove jules ready 108 ember dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050022-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan ember 18 paused chen ember 59 pending dina grove 119 paused alice fable 12 active dina ember 94 failed jules cobalt 109 ready bruno fable 2 ready kim amber 34 failed
paused 18 ember ivan pending 59 ember chen paused 119 grove dina active 12 fable alice failed 94 ember dina ready 109 cobalt jules ready 2 fable bruno failed 34 amber kim
hana fable 24 ready alice delta 41 closed dina birch 34 closed kim grove 43 failed hana juniper 112 paused jules grove 31 paused dina ember 108 ready
ready 24 fable hana closed 41 delta alice closed 34 birch dina failed 43 grove kim paused 112 juniper hana paused 31 grove jules ready 108 ember dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050022
qwen/qwen3.7-plus
awkweave-0050023
Print the number of whitespace-separated fields on each line.
{print NF}
chen birch 103 closed eli indigo 25 failed farah ember 34 closed eli cobalt 97 active eli grove 63 ready dina indigo 97 failed ivan juniper 96 active
4 4 4 4 4 4 4
lina fable 94 pending kim birch 92 ready dina cobalt 28 failed chen grove 84 pending lina grove 97 closed bruno juniper 1 ready lina delta 67 pending gus harbor 61 closed
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050023-p1
Display the count of whitespace-delimited fields for each line.
{print NF}
chen birch 103 closed eli indigo 25 failed farah ember 34 closed eli cobalt 97 active eli grove 63 ready dina indigo 97 failed ivan juniper 96 active
4 4 4 4 4 4 4
lina fable 94 pending kim birch 92 ready dina cobalt 28 failed chen grove 84 pending lina grove 97 closed bruno juniper 1 ready lina delta 67 pending gus harbor 61 closed
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050023
qwen/qwen3.7-plus
awkweave-0050024
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]]}
eli beta 45 eli gamma 72 kim alpha 105 bruno delta 79 chen gamma 115 kim beta 54 chen beta 99 lina gamma 98 ivan alpha 15 bruno alpha 40
beta 3 gamma 3 alpha 3 delta 1
lina delta 94 chen alpha 21 eli delta 91 kim beta 31 dina alpha 113 lina alpha 63 eli beta 77 bruno alpha 108 dina delta 27
delta 3 alpha 4 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050024-p1
Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
eli beta 45 eli gamma 72 kim alpha 105 bruno delta 79 chen gamma 115 kim beta 54 chen beta 99 lina gamma 98 ivan alpha 15 bruno alpha 40
beta 3 gamma 3 alpha 3 delta 1
lina delta 94 chen alpha 21 eli delta 91 kim beta 31 dina alpha 113 lina alpha 63 eli beta 77 bruno alpha 108 dina delta 27
delta 3 alpha 4 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050024
qwen/qwen3.7-plus
awkweave-0050025
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]]}
eli beta 24 farah alpha 16 farah gamma 10 bruno delta 19 kim delta 8 chen alpha 30 bruno alpha 13 lina gamma 25 eli alpha 12
beta 24 alpha 71 gamma 35 delta 27
lina beta 26 ivan gamma 13 alice beta 16 lina alpha 1 ivan beta 28 dina alpha 1 bruno alpha 18
beta 70 gamma 13 alpha 20
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050025-p1
Calculate the sum of column 3 for every distinct category found in column 2, listing the results in the order the categories 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]]}
eli beta 24 farah alpha 16 farah gamma 10 bruno delta 19 kim delta 8 chen alpha 30 bruno alpha 13 lina gamma 25 eli alpha 12
beta 24 alpha 71 gamma 35 delta 27
lina beta 26 ivan gamma 13 alice beta 16 lina alpha 1 ivan beta 28 dina alpha 1 bruno alpha 18
beta 70 gamma 13 alpha 20
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050025
qwen/qwen3.7-plus
awkweave-0050026
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]]}
alpha ember 1 beta grove 23 delta cobalt 16 gamma harbor 63 delta amber 49 gamma delta 84 alpha delta 26 delta juniper 87 alpha fable 67
alpha 3 delta 3 gamma 2
delta cobalt 53 beta ember 91 gamma harbor 67 delta juniper 5 alpha ember 31 beta juniper 103
delta 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050026-p1
Identify values in column 1 that appear more than once, then print each repeated value with its total occurrence count, ordered by 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]]}
alpha ember 1 beta grove 23 delta cobalt 16 gamma harbor 63 delta amber 49 gamma delta 84 alpha delta 26 delta juniper 87 alpha fable 67
alpha 3 delta 3 gamma 2
delta cobalt 53 beta ember 91 gamma harbor 67 delta juniper 5 alpha ember 31 beta juniper 103
delta 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050026
qwen/qwen3.7-plus
awkweave-0050027
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
note score state display_name r001 chen 13 active r002 hana 23 pending r003 ivan 14 active r004 alice 19 ready r005 eli 23 pending r006 lina 26 active
active pending active ready pending active
note score state display_name r001 hana 25 failed r002 farah 22 paused r003 kim 6 pending r004 kim 17 ready r005 ivan 12 failed r006 chen 24 pending r007 hana 19 pending r008 hana 23 pending r009 jules 6 ready
failed paused pending ready failed pending pending pending ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050027-p1
Treating the first line as a header, extract and print the 'display_name' field from all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
note score state display_name r001 chen 13 active r002 hana 23 pending r003 ivan 14 active r004 alice 19 ready r005 eli 23 pending r006 lina 26 active
active pending active ready pending active
note score state display_name r001 hana 25 failed r002 farah 22 paused r003 kim 6 pending r004 kim 17 ready r005 ivan 12 failed r006 chen 24 pending r007 hana 19 pending r008 hana 23 pending r009 jules 6 ready
failed paused pending ready failed pending pending pending ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050027
qwen/qwen3.7-plus
awkweave-0050028
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 kim 3 pending r002 eli 3 failed r003 kim 30 pending r004 gus 10 paused r005 gus 8 failed r006 lina 11 active r007 hana 15 active r008 gus 17 ready r009 dina 9 paused r010 farah 25 active
kim gus farah
record_id display_name score state r001 hana 22 ready r002 hana 14 active r003 kim 20 closed r004 eli 9 ready r005 bruno 30 active r006 alice 25 active r007 bruno 12 closed r008 chen 9 paused r009 ivan 14 pending
hana kim bruno alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050028-p1
Skip the header row, then print the 'display_name' for any record where the 'score' is strictly greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 kim 3 pending r002 eli 3 failed r003 kim 30 pending r004 gus 10 paused r005 gus 8 failed r006 lina 11 active r007 hana 15 active r008 gus 17 ready r009 dina 9 paused r010 farah 25 active
kim gus farah
record_id display_name score state r001 hana 22 ready r002 hana 14 active r003 kim 20 closed r004 eli 9 ready r005 bruno 30 active r006 alice 25 active r007 bruno 12 closed r008 chen 9 paused r009 ivan 14 pending
hana kim bruno alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050028
qwen/qwen3.7-plus
awkweave-0050029
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 5 active kim 5 failed ivan 30 failed ivan 2 active bruno 18 active gus 14 pending gus 6 active dina 22 ready bruno 25 failed hana 20 pending
5 5 30 2 18 14 6 22 25 20
gus 14 paused ivan 11 closed dina 1 pending gus 18 closed farah 6 pending bruno 23 failed lina 8 paused eli 28 pending gus 17 ready kim 23 closed
14 11 1 18 6 23 8 28 17 23
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050029-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 5 active kim 5 failed ivan 30 failed ivan 2 active bruno 18 active gus 14 pending gus 6 active dina 22 ready bruno 25 failed hana 20 pending
5 5 30 2 18 14 6 22 25 20
gus 14 paused ivan 11 closed dina 1 pending gus 18 closed farah 6 pending bruno 23 failed lina 8 paused eli 28 pending gus 17 ready kim 23 closed
14 11 1 18 6 23 8 28 17 23
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0050029
qwen/qwen3.7-plus
awkweave-0050030
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17.
BEGIN{FS=OFS=","}$2>17{print $1}
eli,15,closed bruno,23,active bruno,19,paused farah,29,failed dina,23,paused jules,16,paused bruno,12,paused hana,11,pending alice,7,active
bruno bruno farah dina
eli,27,paused chen,27,closed farah,15,active lina,4,paused chen,1,pending bruno,1,pending dina,15,active
eli chen
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050030-p1
Process simple comma-separated values (without quoted commas) and print the first field only if the second field is greater than 17.
BEGIN{FS=OFS=","}$2>17{print $1}
eli,15,closed bruno,23,active bruno,19,paused farah,29,failed dina,23,paused jules,16,paused bruno,12,paused hana,11,pending alice,7,active
bruno bruno farah dina
eli,27,paused chen,27,closed farah,15,active lina,4,paused chen,1,pending bruno,1,pending dina,15,active
eli chen
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050030
qwen/qwen3.7-plus
awkweave-0050031
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus juniper 33 lina ember 41 jules fable 58 eli indigo 38 lina ember 55 farah delta 88 gus juniper 60 chen ember 115
gus juniper 33 lina ember 41 jules fable 58 eli indigo 38 lina ember 55 farah delta 88 gus juniper 60 chen ember 115
hana ember 37 dina fable 107 hana cobalt 97 lina grove 79 bruno birch 31 chen birch 67 gus harbor 55
hana ember 37 dina fable 107 hana cobalt 97 lina grove 79 bruno birch 31 chen birch 67 gus harbor 55
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050031-p1
Remove leading and trailing whitespace from the input, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus juniper 33 lina ember 41 jules fable 58 eli indigo 38 lina ember 55 farah delta 88 gus juniper 60 chen ember 115
gus juniper 33 lina ember 41 jules fable 58 eli indigo 38 lina ember 55 farah delta 88 gus juniper 60 chen ember 115
hana ember 37 dina fable 107 hana cobalt 97 lina grove 79 bruno birch 31 chen birch 67 gus harbor 55
hana ember 37 dina fable 107 hana cobalt 97 lina grove 79 bruno birch 31 chen birch 67 gus harbor 55
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050031
qwen/qwen3.7-plus
awkweave-0050032
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen indigo 46 pending chen delta 91 failed jules harbor 47 pending kim cobalt 57 ready hana birch 109 failed hana ember 69 closed lina cobalt 93 failed lina amber 84 closed
jules harbor 47 pending
jules delta 88 paused jules harbor 93 ready bruno cobalt 15 pending alice grove 32 closed gus grove 25 closed ivan delta 3 failed kim harbor 76 closed
bruno cobalt 15 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050032-p1
Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen indigo 46 pending chen delta 91 failed jules harbor 47 pending kim cobalt 57 ready hana birch 109 failed hana ember 69 closed lina cobalt 93 failed lina amber 84 closed
jules harbor 47 pending
jules delta 88 paused jules harbor 93 ready bruno cobalt 15 pending alice grove 32 closed gus grove 25 closed ivan delta 3 failed kim harbor 76 closed
bruno cobalt 15 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050032
qwen/qwen3.7-plus
awkweave-0050033
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
ivan 60 alice 73 dina 25 alice 86 farah 119 gus 94
alice 86
chen 16 lina 96 dina 17 hana 68 gus 77 lina 49
hana 68
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050033-p1
Print lines 4, 8, 12, and so on, effectively outputting every fourth line starting from the fourth.
NR%4==0
ivan 60 alice 73 dina 25 alice 86 farah 119 gus 94
alice 86
chen 16 lina 96 dina 17 hana 68 gus 77 lina 49
hana 68
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050033
qwen/qwen3.7-plus
awkweave-0050034
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma cobalt 11 alpha ember 102 beta fable 115 alpha birch 74 beta delta 83 beta indigo 28
6
gamma birch 78 alpha fable 25 delta cobalt 5 beta grove 53 gamma grove 68 gamma cobalt 27 beta juniper 93 alpha harbor 85
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050034-p1
Determine the number of unique values present in column 2 and output only that total count.
{if(!seen[$2]++)n++}END{print n+0}
gamma cobalt 11 alpha ember 102 beta fable 115 alpha birch 74 beta delta 83 beta indigo 28
6
gamma birch 78 alpha fable 25 delta cobalt 5 beta grove 53 gamma grove 68 gamma cobalt 27 beta juniper 93 alpha harbor 85
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050034
qwen/qwen3.7-plus
awkweave-0050035
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}
lina 29 0 chen 22 3 ivan 21 11 farah 24 14 chen 19 20 chen 22 15 chen 8 14 eli 14 27
chen 7.33 ivan 1.91 farah 1.71 chen 0.95 chen 1.47 chen 0.57 eli 0.52
bruno 6 0 farah 30 24 jules 30 11 dina 4 16 ivan 5 29 kim 24 26 kim 14 8
farah 1.25 jules 2.73 dina 0.25 ivan 0.17 kim 0.92 kim 1.75
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050035-p1
For each row where column 3 is non-zero, print column 1 followed by the result of column 2 divided by column 3, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 29 0 chen 22 3 ivan 21 11 farah 24 14 chen 19 20 chen 22 15 chen 8 14 eli 14 27
chen 7.33 ivan 1.91 farah 1.71 chen 0.95 chen 1.47 chen 0.57 eli 0.52
bruno 6 0 farah 30 24 jules 30 11 dina 4 16 ivan 5 29 kim 24 26 kim 14 8
farah 1.25 jules 2.73 dina 0.25 ivan 0.17 kim 0.92 kim 1.75
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050035
qwen/qwen3.7-plus
awkweave-0050036
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 indigo 11 dina birch 10 farah indigo 14 bruno birch 15 alice cobalt 26 jules birch 23
alice cobalt 26 jules birch 23 bruno birch 15
kim grove 11 kim cobalt 13 gus harbor 25 dina grove 27 dina ember 18 eli delta 30
eli delta 30 dina grove 27 gus harbor 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050036-p1
Output the top three full records based on the highest numeric values in column 3, sorted in descending order, while maintaining 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 indigo 11 dina birch 10 farah indigo 14 bruno birch 15 alice cobalt 26 jules birch 23
alice cobalt 26 jules birch 23 bruno birch 15
kim grove 11 kim cobalt 13 gus harbor 25 dina grove 27 dina ember 18 eli delta 30
eli delta 30 dina grove 27 gus harbor 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050036
qwen/qwen3.7-plus
awkweave-0050037
Select the 5th and 3rd fields in that order.
{print $5, $3}
eli juniper 98 failed amber kim grove 70 active juniper ivan grove 63 active fable lina delta 8 active ember lina fable 13 failed harbor lina fable 8 paused delta farah grove 55 paused juniper hana amber 100 paused cobalt
amber 98 juniper 70 fable 63 ember 8 harbor 13 delta 8 juniper 55 cobalt 100
bruno indigo 94 pending delta farah indigo 13 failed harbor bruno delta 104 paused amber eli amber 39 failed fable eli amber 34 closed ember dina harbor 27 failed birch bruno cobalt 54 pending ember bruno fable 21 active amber alice harbor 92 active birch kim birch 18 paused amber
delta 94 harbor 13 amber 104 fable 39 ember 34 birch 27 ember 54 amber 21 birch 92 amber 18
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050037-p1
Extract and display the 5th field followed by the 3rd field.
{print $5, $3}
eli juniper 98 failed amber kim grove 70 active juniper ivan grove 63 active fable lina delta 8 active ember lina fable 13 failed harbor lina fable 8 paused delta farah grove 55 paused juniper hana amber 100 paused cobalt
amber 98 juniper 70 fable 63 ember 8 harbor 13 delta 8 juniper 55 cobalt 100
bruno indigo 94 pending delta farah indigo 13 failed harbor bruno delta 104 paused amber eli amber 39 failed fable eli amber 34 closed ember dina harbor 27 failed birch bruno cobalt 54 pending ember bruno fable 21 active amber alice harbor 92 active birch kim birch 18 paused amber
delta 94 harbor 13 amber 104 fable 39 ember 34 birch 27 ember 54 amber 21 birch 92 amber 18
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050037
qwen/qwen3.7-plus
awkweave-0050038
Print the last field of every input line.
{print $NF}
eli paused delta ready bruno closed amber active jules pending indigo failed kim ready indigo ready farah failed delta failed jules paused ember paused
ready active failed ready failed paused
alice ready cobalt ready alice ready juniper failed jules ready ember pending dina pending juniper active chen pending indigo active gus pending birch pending eli closed delta ready
ready failed pending active active pending ready
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050038-p1
Print the final field from each input line.
{print $NF}
eli paused delta ready bruno closed amber active jules pending indigo failed kim ready indigo ready farah failed delta failed jules paused ember paused
ready active failed ready failed paused
alice ready cobalt ready alice ready juniper failed jules ready ember pending dina pending juniper active chen pending indigo active gus pending birch pending eli closed delta ready
ready failed pending active active pending ready
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050038
qwen/qwen3.7-plus
awkweave-0050039
Print the complete records where column 1 is at most 50.
$1 <= 50
61 amber ember 85 grove juniper 24 indigo ember 5 amber indigo 97 grove amber 105 amber birch 80 grove delta 67 ember delta 79 amber juniper
24 indigo ember 5 amber indigo
108 harbor birch 2 juniper grove 61 grove harbor 19 grove birch 0 indigo ember 77 fable cobalt 106 juniper juniper 84 juniper ember 71 harbor delta
2 juniper grove 19 grove birch 0 indigo ember
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050039-p1
Display all complete records where the value in column 1 is less than or equal to 50.
$1 <= 50
61 amber ember 85 grove juniper 24 indigo ember 5 amber indigo 97 grove amber 105 amber birch 80 grove delta 67 ember delta 79 amber juniper
24 indigo ember 5 amber indigo
108 harbor birch 2 juniper grove 61 grove harbor 19 grove birch 0 indigo ember 77 fable cobalt 106 juniper juniper 84 juniper ember 71 harbor delta
2 juniper grove 19 grove birch 0 indigo ember
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050039
qwen/qwen3.7-plus
awkweave-0050040
Show whole lines whose 2nd field is between 10 and 21, inclusive.
$2 >= 10 && $2 <= 21
indigo 10 lina indigo fable 27 jules fable indigo 27 gus amber birch 20 bruno fable birch 7 dina fable delta 17 chen juniper juniper 24 gus indigo cobalt 9 ivan harbor fable 12 chen delta juniper 7 chen indigo
indigo 10 lina indigo birch 20 bruno fable delta 17 chen juniper fable 12 chen delta
indigo 7 eli grove grove 27 bruno juniper amber 15 eli delta birch 2 dina ember birch 5 dina ember indigo 29 bruno juniper harbor 22 jules grove cobalt 9 gus indigo
amber 15 eli delta
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050040-p1
Show entire lines where the second field falls within the inclusive range of 10 to 21.
$2 >= 10 && $2 <= 21
indigo 10 lina indigo fable 27 jules fable indigo 27 gus amber birch 20 bruno fable birch 7 dina fable delta 17 chen juniper juniper 24 gus indigo cobalt 9 ivan harbor fable 12 chen delta juniper 7 chen indigo
indigo 10 lina indigo birch 20 bruno fable delta 17 chen juniper fable 12 chen delta
indigo 7 eli grove grove 27 bruno juniper amber 15 eli delta birch 2 dina ember birch 5 dina ember indigo 29 bruno juniper harbor 22 jules grove cobalt 9 gus indigo
amber 15 eli delta
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050040
qwen/qwen3.7-plus
awkweave-0050041
Print column 2 only for rows where column 1 is exactly active.
$1 == "active"{print $2}
pending eli 58 fable closed lina 27 harbor closed alice 65 grove failed farah 57 juniper ready jules 83 grove active ivan 105 juniper paused gus 65 birch ready bruno 1 amber
ivan
closed jules 33 juniper paused alice 70 delta paused kim 86 grove closed gus 117 birch ready chen 5 cobalt pending farah 44 fable failed bruno 102 indigo paused gus 112 grove
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050041-p1
Output only column 2 for rows where column 1 matches the exact string 'active'.
$1 == "active"{print $2}
pending eli 58 fable closed lina 27 harbor closed alice 65 grove failed farah 57 juniper ready jules 83 grove active ivan 105 juniper paused gus 65 birch ready bruno 1 amber
ivan
closed jules 33 juniper paused alice 70 delta paused kim 86 grove closed gus 117 birch ready chen 5 cobalt pending farah 44 fable failed bruno 102 indigo paused gus 112 grove
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050041
qwen/qwen3.7-plus
awkweave-0050042
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
grove 49 DEBUG fable 2 DEBUG indigo 55 INFO fable 77 DEBUG amber 7 ERROR cobalt 102 WARN grove 25 ERROR juniper 50 ERROR harbor 13 INFO
amber 7 ERROR grove 25 ERROR juniper 50 ERROR
fable 112 DEBUG ember 12 ERROR fable 48 INFO grove 99 ERROR ember 105 DEBUG grove 15 INFO
ember 12 ERROR grove 99 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050042-p1
Print all fields from lines where the third field starts with the prefix 'ERROR'.
$3 ~ /^ERROR/
grove 49 DEBUG fable 2 DEBUG indigo 55 INFO fable 77 DEBUG amber 7 ERROR cobalt 102 WARN grove 25 ERROR juniper 50 ERROR harbor 13 INFO
amber 7 ERROR grove 25 ERROR juniper 50 ERROR
fable 112 DEBUG ember 12 ERROR fable 48 INFO grove 99 ERROR ember 105 DEBUG grove 15 INFO
ember 12 ERROR grove 99 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050042
qwen/qwen3.7-plus
awkweave-0050043
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
ember 11 pending indigo 102 closed ember 74 pending indigo 95 active fable 24 ready cobalt 90 active indigo 105 paused harbor 56 active grove 45 paused juniper 999 active
ember 11 pending indigo 102 closed ember 74 pending indigo 95 active fable 24 ready cobalt 90 active indigo 105 paused harbor 56 active grove 45 paused
harbor 25 paused delta 62 failed indigo 44 paused ember 17 failed cobalt 91 active delta 32 paused fable 85 active harbor 24 closed fable 49 pending fable 2 pending juniper 999 active
harbor 25 paused delta 62 failed indigo 44 paused ember 17 failed cobalt 91 active delta 32 paused fable 85 active harbor 24 closed fable 49 pending fable 2 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050043-p1
Print every line that does not contain the exact substring 'juniper'.
$0 !~ /juniper/
ember 11 pending indigo 102 closed ember 74 pending indigo 95 active fable 24 ready cobalt 90 active indigo 105 paused harbor 56 active grove 45 paused juniper 999 active
ember 11 pending indigo 102 closed ember 74 pending indigo 95 active fable 24 ready cobalt 90 active indigo 105 paused harbor 56 active grove 45 paused
harbor 25 paused delta 62 failed indigo 44 paused ember 17 failed cobalt 91 active delta 32 paused fable 85 active harbor 24 closed fable 49 pending fable 2 pending juniper 999 active
harbor 25 paused delta 62 failed indigo 44 paused ember 17 failed cobalt 91 active delta 32 paused fable 85 active harbor 24 closed fable 49 pending fable 2 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050043
qwen/qwen3.7-plus
awkweave-0050044
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
eli harbor 118 bruno delta 103 lina juniper 51 lina harbor 87 lina harbor 86 jules grove 89 gus ember 82 ivan ember 64
bruno delta 103 lina juniper 51 lina harbor 87 lina harbor 86
ivan juniper 45 alice birch 26 alice amber 11 hana harbor 16 hana birch 117 kim indigo 80 eli juniper 61 alice delta 109
alice birch 26 alice amber 11 hana harbor 16 hana birch 117
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050044-p1
Output lines 2 through 5, inclusive of both endpoints.
NR >= 2 && NR <= 5
eli harbor 118 bruno delta 103 lina juniper 51 lina harbor 87 lina harbor 86 jules grove 89 gus ember 82 ivan ember 64
bruno delta 103 lina juniper 51 lina harbor 87 lina harbor 86
ivan juniper 45 alice birch 26 alice amber 11 hana harbor 16 hana birch 117 kim indigo 80 eli juniper 61 alice delta 109
alice birch 26 alice amber 11 hana harbor 16 hana birch 117
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050044
qwen/qwen3.7-plus
awkweave-0050045
Output only the first 5 records.
NR <= 5
bruno 96 juniper alice 71 cobalt ivan 67 amber alice 103 fable dina 37 birch kim 84 juniper ivan 36 delta eli 102 cobalt jules 38 amber farah 118 delta
bruno 96 juniper alice 71 cobalt ivan 67 amber alice 103 fable dina 37 birch
chen 89 cobalt dina 57 harbor bruno 94 harbor chen 44 juniper lina 72 delta jules 36 juniper bruno 20 ember
chen 89 cobalt dina 57 harbor bruno 94 harbor chen 44 juniper lina 72 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050045-p1
Display only the first 5 records.
NR <= 5
bruno 96 juniper alice 71 cobalt ivan 67 amber alice 103 fable dina 37 birch kim 84 juniper ivan 36 delta eli 102 cobalt jules 38 amber farah 118 delta
bruno 96 juniper alice 71 cobalt ivan 67 amber alice 103 fable dina 37 birch
chen 89 cobalt dina 57 harbor bruno 94 harbor chen 44 juniper lina 72 delta jules 36 juniper bruno 20 ember
chen 89 cobalt dina 57 harbor bruno 94 harbor chen 44 juniper lina 72 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050045
qwen/qwen3.7-plus
awkweave-0050046
Skip the first line and print every remaining line unchanged.
NR > 1
lina 27 amber dina 4 amber chen 6 birch farah 41 amber ivan 11 grove dina 73 juniper chen 9 amber gus 97 ember
dina 4 amber chen 6 birch farah 41 amber ivan 11 grove dina 73 juniper chen 9 amber gus 97 ember
dina 0 grove farah 48 cobalt ivan 40 juniper alice 67 juniper farah 27 indigo jules 116 cobalt farah 83 amber kim 3 fable eli 4 amber farah 49 juniper
farah 48 cobalt ivan 40 juniper alice 67 juniper farah 27 indigo jules 116 cobalt farah 83 amber kim 3 fable eli 4 amber farah 49 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050046-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
lina 27 amber dina 4 amber chen 6 birch farah 41 amber ivan 11 grove dina 73 juniper chen 9 amber gus 97 ember
dina 4 amber chen 6 birch farah 41 amber ivan 11 grove dina 73 juniper chen 9 amber gus 97 ember
dina 0 grove farah 48 cobalt ivan 40 juniper alice 67 juniper farah 27 indigo jules 116 cobalt farah 83 amber kim 3 fable eli 4 amber farah 49 juniper
farah 48 cobalt ivan 40 juniper alice 67 juniper farah 27 indigo jules 116 cobalt farah 83 amber kim 3 fable eli 4 amber farah 49 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050046
qwen/qwen3.7-plus
awkweave-0050047
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
alice pending 110 jules paused 112 eli active 35 eli closed 99 dina ready 23 gus paused 80 ivan ready 5 farah pending 6 farah active 93 chen pending 44
3
gus paused 42 dina closed 54 gus pending 41 gus active 115 chen failed 26 farah pending 68 bruno closed 28
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050047-p1
Count the number of records containing 'pending' in column 2, and output 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
alice pending 110 jules paused 112 eli active 35 eli closed 99 dina ready 23 gus paused 80 ivan ready 5 farah pending 6 farah active 93 chen pending 44
3
gus paused 42 dina closed 54 gus pending 41 gus active 115 chen failed 26 farah pending 68 bruno closed 28
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050047
qwen/qwen3.7-plus
awkweave-0050048
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
indigo kim 16 harbor jules 16 birch bruno 10 amber gus 27 amber jules 7 birch kim 7 juniper farah 17 birch chen 22 ember farah 5
127
cobalt eli 11 juniper lina 22 amber lina 24 cobalt chen 23 grove gus 9 delta chen 7
96
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050048-p1
Compute the total of all integer values found in the third column and output the result.
{s+=$3}END{print s+0}
indigo kim 16 harbor jules 16 birch bruno 10 amber gus 27 amber jules 7 birch kim 7 juniper farah 17 birch chen 22 ember farah 5
127
cobalt eli 11 juniper lina 22 amber lina 24 cobalt chen 23 grove gus 9 delta chen 7
96
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050048
qwen/qwen3.7-plus
awkweave-0050049
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
gus 21 harbor dina 21 amber jules 25 birch dina 27 amber jules 13 birch ivan 9 grove dina 10 ember
18.00
chen 7 grove chen 11 cobalt alice 23 juniper alice 30 birch gus 17 indigo kim 17 ember chen 20 birch chen 10 indigo
16.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050049-p1
Output the average of the values in the second column, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
gus 21 harbor dina 21 amber jules 25 birch dina 27 amber jules 13 birch ivan 9 grove dina 10 ember
18.00
chen 7 grove chen 11 cobalt alice 23 juniper alice 30 birch gus 17 indigo kim 17 ember chen 20 birch chen 10 indigo
16.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050049
qwen/qwen3.7-plus
awkweave-0050050
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable hana 3 birch farah 25 grove kim 12 fable jules 2 birch hana 23 delta gus 3
2
juniper kim 9 cobalt bruno 28 grove dina 6 harbor gus 19 birch alice 23 amber hana 22 harbor dina 12 fable kim 11
6
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050050-p1
Identify and display the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable hana 3 birch farah 25 grove kim 12 fable jules 2 birch hana 23 delta gus 3
2
juniper kim 9 cobalt bruno 28 grove dina 6 harbor gus 19 birch alice 23 amber hana 22 harbor dina 12 fable kim 11
6
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050050
qwen/qwen3.7-plus
awkweave-0050051
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 2 farah harbor 2 bruno indigo 7 alice indigo 11 dina harbor 18 bruno juniper 14 eli indigo 1 alice
18
harbor 9 eli cobalt 14 eli indigo 15 eli amber 20 jules grove 30 farah ember 2 eli delta 29 kim birch 15 alice
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050051-p1
Identify and display the maximum numeric value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 2 farah harbor 2 bruno indigo 7 alice indigo 11 dina harbor 18 bruno juniper 14 eli indigo 1 alice
18
harbor 9 eli cobalt 14 eli indigo 15 eli amber 20 jules grove 30 farah ember 2 eli delta 29 kim birch 15 alice
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050051
qwen/qwen3.7-plus
awkweave-0050052
Count all input records and print the total.
END{print NR}
lina 68 farah 118 eli 5 kim 45 gus 84 ivan 97 jules 72
7
alice 29 lina 84 eli 31 dina 111 chen 21 jules 58 dina 23 dina 89 alice 60
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null