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-0047382-p1
Calculate the number of unique values in the first column and output only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma indigo 70 gamma harbor 51 beta ember 6 alpha delta 113 alpha grove 5 beta juniper 69 alpha cobalt 75
3
beta ember 40 delta harbor 25 alpha indigo 3 beta harbor 16 beta harbor 72 beta delta 102 delta delta 2
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047382
qwen/qwen3.7-plus
awkweave-0047383
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}
dina 4 0 kim 8 29 chen 24 20 lina 28 22 ivan 4 16 bruno 30 15 alice 8 29 lina 13 8 eli 30 17
kim 0.28 chen 1.20 lina 1.27 ivan 0.25 bruno 2.00 alice 0.28 lina 1.62 eli 1.76
bruno 26 0 bruno 2 22 jules 8 9 bruno 10 9 kim 1 25 kim 19 6
bruno 0.09 jules 0.89 bruno 1.11 kim 0.04 kim 3.17
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047383-p1
For each row where the third column is not zero, output 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}
dina 4 0 kim 8 29 chen 24 20 lina 28 22 ivan 4 16 bruno 30 15 alice 8 29 lina 13 8 eli 30 17
kim 0.28 chen 1.20 lina 1.27 ivan 0.25 bruno 2.00 alice 0.28 lina 1.62 eli 1.76
bruno 26 0 bruno 2 22 jules 8 9 bruno 10 9 kim 1 25 kim 19 6
bruno 0.09 jules 0.89 bruno 1.11 kim 0.04 kim 3.17
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047383
qwen/qwen3.7-plus
awkweave-0047384
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]}
chen delta 7 alice juniper 15 hana ember 18 dina fable 6 chen fable 1 gus delta 27 chen cobalt 4 gus indigo 16 bruno amber 1 hana grove 29
hana grove 29 gus delta 27 hana ember 18
alice delta 29 chen indigo 14 jules ember 2 jules cobalt 22 lina birch 18 lina harbor 11 ivan fable 29
alice delta 29 ivan fable 29 jules cobalt 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047384-p1
Display the 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]}
chen delta 7 alice juniper 15 hana ember 18 dina fable 6 chen fable 1 gus delta 27 chen cobalt 4 gus indigo 16 bruno amber 1 hana grove 29
hana grove 29 gus delta 27 hana ember 18
alice delta 29 chen indigo 14 jules ember 2 jules cobalt 22 lina birch 18 lina harbor 11 ivan fable 29
alice delta 29 ivan fable 29 jules cobalt 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047384
qwen/qwen3.7-plus
awkweave-0047385
Print column 4 followed by column 1 for every record.
{print $4, $1}
closed juniper chen dina 90 failed indigo chen jules 52 failed juniper alice kim 64 active harbor ivan dina 1 pending juniper dina alice 103 paused grove alice jules 10 paused grove eli alice 26 paused cobalt farah jules 43
dina closed jules failed kim failed dina active alice pending jules paused alice paused jules paused
ready indigo eli jules 38 ready indigo bruno chen 61 pending indigo lina lina 15 active birch lina ivan 104 active indigo farah jules 45 active grove dina bruno 84
jules ready chen ready lina pending ivan active jules active bruno active
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047385-p1
Output the fourth column followed by the first column for every record.
{print $4, $1}
closed juniper chen dina 90 failed indigo chen jules 52 failed juniper alice kim 64 active harbor ivan dina 1 pending juniper dina alice 103 paused grove alice jules 10 paused grove eli alice 26 paused cobalt farah jules 43
dina closed jules failed kim failed dina active alice pending jules paused alice paused jules paused
ready indigo eli jules 38 ready indigo bruno chen 61 pending indigo lina lina 15 active birch lina ivan 104 active indigo farah jules 45 active grove dina bruno 84
jules ready chen ready lina pending ivan active jules active bruno active
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047385
qwen/qwen3.7-plus
awkweave-0047386
Print the last field of every input line.
{print $NF}
chen active kim juniper 0 birch eli pending bruno ember 119 birch gus pending lina birch 54 birch eli ready bruno birch 0 harbor chen active chen indigo 44 cobalt jules ready gus indigo 86 fable
birch birch birch harbor cobalt fable
lina ready farah birch 48 delta hana failed eli cobalt 86 juniper hana failed farah harbor 10 harbor lina ready alice indigo 72 delta hana closed gus ember 39 cobalt eli paused jules fable 68 juniper
delta juniper harbor delta cobalt juniper
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047386-p1
Print the final field of each input line.
{print $NF}
chen active kim juniper 0 birch eli pending bruno ember 119 birch gus pending lina birch 54 birch eli ready bruno birch 0 harbor chen active chen indigo 44 cobalt jules ready gus indigo 86 fable
birch birch birch harbor cobalt fable
lina ready farah birch 48 delta hana failed eli cobalt 86 juniper hana failed farah harbor 10 harbor lina ready alice indigo 72 delta hana closed gus ember 39 cobalt eli paused jules fable 68 juniper
delta juniper harbor delta cobalt juniper
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047386
qwen/qwen3.7-plus
awkweave-0047387
Print the complete records where column 4 is at most 26.
$4 <= 26
lina grove paused 18 eli eli fable active 90 kim ivan ember ready 112 dina bruno amber closed 26 kim farah ember failed 92 lina jules birch closed 80 gus gus cobalt active 17 eli
lina grove paused 18 eli bruno amber closed 26 kim gus cobalt active 17 eli
farah grove active 14 lina kim indigo ready 93 farah dina fable active 2 lina gus fable closed 28 hana gus delta failed 65 ivan chen fable failed 76 hana jules cobalt ready 111 kim
farah grove active 14 lina dina fable active 2 lina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047387-p1
Output the full records for which the value in column 4 is less than or equal to 26.
$4 <= 26
lina grove paused 18 eli eli fable active 90 kim ivan ember ready 112 dina bruno amber closed 26 kim farah ember failed 92 lina jules birch closed 80 gus gus cobalt active 17 eli
lina grove paused 18 eli bruno amber closed 26 kim gus cobalt active 17 eli
farah grove active 14 lina kim indigo ready 93 farah dina fable active 2 lina gus fable closed 28 hana gus delta failed 65 ivan chen fable failed 76 hana jules cobalt ready 111 kim
farah grove active 14 lina dina fable active 2 lina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047387
qwen/qwen3.7-plus
awkweave-0047388
Show whole lines whose 2nd field is between 4 and 21, inclusive.
$2 >= 4 && $2 <= 21
hana 20 pending dina lina 9 active bruno lina 21 closed kim jules 1 paused lina chen 18 pending dina gus 13 ready dina
hana 20 pending dina lina 9 active bruno lina 21 closed kim chen 18 pending dina gus 13 ready dina
bruno 9 closed alice alice 26 active eli chen 27 paused lina alice 11 closed ivan dina 6 closed alice lina 20 closed eli hana 6 active chen ivan 7 failed chen bruno 29 failed eli eli 14 active ivan
bruno 9 closed alice alice 11 closed ivan dina 6 closed alice lina 20 closed eli hana 6 active chen ivan 7 failed chen eli 14 active ivan
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047388-p1
Display entire lines where the second field falls within the inclusive range of 4 to 21.
$2 >= 4 && $2 <= 21
hana 20 pending dina lina 9 active bruno lina 21 closed kim jules 1 paused lina chen 18 pending dina gus 13 ready dina
hana 20 pending dina lina 9 active bruno lina 21 closed kim chen 18 pending dina gus 13 ready dina
bruno 9 closed alice alice 26 active eli chen 27 paused lina alice 11 closed ivan dina 6 closed alice lina 20 closed eli hana 6 active chen ivan 7 failed chen bruno 29 failed eli eli 14 active ivan
bruno 9 closed alice alice 11 closed ivan dina 6 closed alice lina 20 closed eli hana 6 active chen ivan 7 failed chen eli 14 active ivan
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047388
qwen/qwen3.7-plus
awkweave-0047389
Print column 4 only for rows where column 3 is exactly closed.
$3 == "closed"{print $4}
117 birch failed chen 89 fable ready hana 14 harbor active jules 2 ember pending dina 10 cobalt closed kim 55 grove pending eli 93 juniper pending hana
kim
98 juniper pending ivan 2 ember closed bruno 79 juniper pending dina 49 indigo pending chen 48 harbor closed bruno 94 grove failed eli 50 harbor closed jules 36 juniper ready ivan 87 harbor active chen 25 amber closed kim
bruno bruno jules kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047389-p1
Output only the fourth column for rows where the third column contains the exact value 'closed'.
$3 == "closed"{print $4}
117 birch failed chen 89 fable ready hana 14 harbor active jules 2 ember pending dina 10 cobalt closed kim 55 grove pending eli 93 juniper pending hana
kim
98 juniper pending ivan 2 ember closed bruno 79 juniper pending dina 49 indigo pending chen 48 harbor closed bruno 94 grove failed eli 50 harbor closed jules 36 juniper ready ivan 87 harbor active chen 25 amber closed kim
bruno bruno jules kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047389
qwen/qwen3.7-plus
awkweave-0047400
Count all input records and print the total.
END{print NR}
bruno 101 lina 15 eli 6 farah 108 jules 84 gus 110 lina 70
7
hana 25 eli 66 lina 86 hana 60 lina 12 dina 86 chen 99 hana 95
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047400-p1
Calculate and display the total number of input records.
END{print NR}
bruno 101 lina 15 eli 6 farah 108 jules 84 gus 110 lina 70
7
hana 25 eli 66 lina 86 hana 60 lina 12 dina 86 chen 99 hana 95
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047400
qwen/qwen3.7-plus
awkweave-0047401
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno fable 16 bruno fable 16 hana ember 102 gus amber 93 lina fable 85 kim cobalt 101 hana cobalt 43
bruno fable 16 hana ember 102 gus amber 93 lina fable 85 kim cobalt 101 hana cobalt 43
chen juniper 18 alice juniper 21 alice juniper 21 jules delta 91 dina delta 42 farah indigo 42 dina amber 107
chen juniper 18 alice juniper 21 jules delta 91 dina delta 42 farah indigo 42 dina amber 107
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047401-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance.
!seen[$0]++
bruno fable 16 bruno fable 16 hana ember 102 gus amber 93 lina fable 85 kim cobalt 101 hana cobalt 43
bruno fable 16 hana ember 102 gus amber 93 lina fable 85 kim cobalt 101 hana cobalt 43
chen juniper 18 alice juniper 21 alice juniper 21 jules delta 91 dina delta 42 farah indigo 42 dina amber 107
chen juniper 18 alice juniper 21 jules delta 91 dina delta 42 farah indigo 42 dina amber 107
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047401
qwen/qwen3.7-plus
awkweave-0047402
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
alice cobalt 36 ivan fable 22 ivan cobalt 63 alice birch 88 chen indigo 69 lina birch 87 bruno harbor 26 ivan fable 95 alice delta 29
alice cobalt 36 ivan fable 22 ivan cobalt 63 alice birch 88 chen indigo 69 lina birch 87 bruno harbor 26 ivan fable 95 alice delta 29
hana grove 99 ivan cobalt 109 jules harbor 37 ivan ember 106 ivan juniper 26 gus birch 110 dina cobalt 34 kim cobalt 118 farah birch 24 bruno fable 74
hana grove 99 ivan cobalt 109 jules harbor 37 ivan ember 106 ivan juniper 26 gus birch 110 dina cobalt 34 kim cobalt 118 farah birch 24 bruno fable 74
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047402-p1
Retain only the initial line for every unique value in the third column, preserving the input order.
!seen[$3]++
alice cobalt 36 ivan fable 22 ivan cobalt 63 alice birch 88 chen indigo 69 lina birch 87 bruno harbor 26 ivan fable 95 alice delta 29
alice cobalt 36 ivan fable 22 ivan cobalt 63 alice birch 88 chen indigo 69 lina birch 87 bruno harbor 26 ivan fable 95 alice delta 29
hana grove 99 ivan cobalt 109 jules harbor 37 ivan ember 106 ivan juniper 26 gus birch 110 dina cobalt 34 kim cobalt 118 farah birch 24 bruno fable 74
hana grove 99 ivan cobalt 109 jules harbor 37 ivan ember 106 ivan juniper 26 gus birch 110 dina cobalt 34 kim cobalt 118 farah birch 24 bruno fable 74
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047402
qwen/qwen3.7-plus
awkweave-0047403
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 14 cobalt farah 8 delta gus 26 indigo kim 14 amber kim 14 juniper lina 25 harbor kim 20 harbor farah 22 fable
ivan 14 farah 22 gus 48 kim 62 kim 76 lina 101 kim 121 farah 143
alice 7 birch lina 4 cobalt eli 13 fable dina 22 juniper kim 5 juniper dina 29 indigo kim 3 birch kim 2 harbor chen 3 ember
alice 7 lina 11 eli 24 dina 46 kim 51 dina 80 kim 83 kim 85 chen 88
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047403-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}
ivan 14 cobalt farah 8 delta gus 26 indigo kim 14 amber kim 14 juniper lina 25 harbor kim 20 harbor farah 22 fable
ivan 14 farah 22 gus 48 kim 62 kim 76 lina 101 kim 121 farah 143
alice 7 birch lina 4 cobalt eli 13 fable dina 22 juniper kim 5 juniper dina 29 indigo kim 3 birch kim 2 harbor chen 3 ember
alice 7 lina 11 eli 24 dina 46 kim 51 dina 80 kim 83 kim 85 chen 88
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047403
qwen/qwen3.7-plus
awkweave-0047404
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 27 17 delta eli 1 2 birch lina 19 16 juniper chen 9 13 fable gus 22 17 grove hana 1 9 delta kim 7 16 cobalt eli 22 9 harbor
kim 44 eli 3 lina 35 chen 22 gus 39 hana 10 kim 23 eli 31
kim 6 13 cobalt dina 7 8 ember hana 24 17 cobalt gus 6 23 birch bruno 16 18 juniper hana 9 6 juniper dina 6 22 cobalt farah 22 10 delta ivan 10 5 amber jules 15 10 birch
kim 19 dina 15 hana 41 gus 29 bruno 34 hana 15 dina 28 farah 32 ivan 15 jules 25
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047404-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 27 17 delta eli 1 2 birch lina 19 16 juniper chen 9 13 fable gus 22 17 grove hana 1 9 delta kim 7 16 cobalt eli 22 9 harbor
kim 44 eli 3 lina 35 chen 22 gus 39 hana 10 kim 23 eli 31
kim 6 13 cobalt dina 7 8 ember hana 24 17 cobalt gus 6 23 birch bruno 16 18 juniper hana 9 6 juniper dina 6 22 cobalt farah 22 10 delta ivan 10 5 amber jules 15 10 birch
kim 19 dina 15 hana 41 gus 29 bruno 34 hana 15 dina 28 farah 32 ivan 15 jules 25
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047404
qwen/qwen3.7-plus
awkweave-0047405
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
gus 24 lina 6 dina 13 eli 2 ivan 29 gus 18 jules 7 kim 26 farah 26 eli 5
gus fail lina fail dina fail eli fail ivan pass gus fail jules fail kim pass farah pass eli fail
lina 20 bruno 29 chen 8 ivan 15 jules 26 alice 1 lina 21
lina fail bruno pass chen fail ivan fail jules pass alice fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047405-p1
Display the first column and output 'pass' if the second column is 26 or greater; otherwise, output 'fail'.
{print $1,($2>=26?"pass":"fail")}
gus 24 lina 6 dina 13 eli 2 ivan 29 gus 18 jules 7 kim 26 farah 26 eli 5
gus fail lina fail dina fail eli fail ivan pass gus fail jules fail kim pass farah pass eli fail
lina 20 bruno 29 chen 8 ivan 15 jules 26 alice 1 lina 21
lina fail bruno pass chen fail ivan fail jules pass alice fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047405
qwen/qwen3.7-plus
awkweave-0047406
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
chen delta 112 alice delta 48 lina fable 61 farah amber 57 ivan birch 79 lina grove 60 jules ember 91
CHEN ALICE LINA FARAH IVAN LINA JULES
lina amber 21 dina amber 19 dina grove 117 gus fable 94 ivan delta 90 lina cobalt 16
LINA DINA DINA GUS IVAN LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047406-p1
Transform the first column to uppercase and print only that column.
{print toupper($1)}
chen delta 112 alice delta 48 lina fable 61 farah amber 57 ivan birch 79 lina grove 60 jules ember 91
CHEN ALICE LINA FARAH IVAN LINA JULES
lina amber 21 dina amber 19 dina grove 117 gus fable 94 ivan delta 90 lina cobalt 16
LINA DINA DINA GUS IVAN LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047406
qwen/qwen3.7-plus
awkweave-0047407
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
ember 95 birch 7 grove 10 birch 67 grove 91 harbor 21 ember 4 juniper 52
ber rch ove rch ove rbo ber nip
harbor 78 delta 6 ember 37 fable 59 juniper 36 indigo 24 amber 120 cobalt 6 birch 40 ember 31
rbo lta ber ble nip dig ber bal rch ber
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047407-p1
Extract and print three characters from the first column, starting at the third character.
{print substr($1,3,3)}
ember 95 birch 7 grove 10 birch 67 grove 91 harbor 21 ember 4 juniper 52
ber rch ove rch ove rbo ber nip
harbor 78 delta 6 ember 37 fable 59 juniper 36 indigo 24 amber 120 cobalt 6 birch 40 ember 31
rbo lta ber ble nip dig ber bal rch ber
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047407
qwen/qwen3.7-plus
awkweave-0047408
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_juniper 63 delta_fable 14 cobalt_harbor 82 amber_harbor 26 amber_fable 80 fable_cobalt 99 indigo_birch 24
indigo juniper delta fable cobalt harbor amber harbor amber fable fable cobalt indigo birch
cobalt_juniper 24 fable_harbor 32 birch_birch 109 juniper_birch 110 ember_amber 16 indigo_birch 1
cobalt juniper fable harbor birch birch juniper birch ember amber indigo birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047408-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
indigo_juniper 63 delta_fable 14 cobalt_harbor 82 amber_harbor 26 amber_fable 80 fable_cobalt 99 indigo_birch 24
indigo juniper delta fable cobalt harbor amber harbor amber fable fable cobalt indigo birch
cobalt_juniper 24 fable_harbor 32 birch_birch 109 juniper_birch 110 ember_amber 16 indigo_birch 1
cobalt juniper fable harbor birch birch juniper birch ember amber indigo birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047408
qwen/qwen3.7-plus
awkweave-0047409
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)}
gus fable 79 pending dina harbor 30 closed farah delta 38 ready hana cobalt 71 closed ivan birch 80 closed eli harbor 112 active dina amber 116 active dina indigo 73 failed
pending 79 fable gus closed 30 harbor dina ready 38 delta farah closed 71 cobalt hana closed 80 birch ivan active 112 harbor eli active 116 amber dina failed 73 indigo dina
ivan fable 45 pending hana harbor 99 closed dina delta 49 paused alice indigo 89 paused jules delta 54 closed kim juniper 43 failed jules harbor 38 active
pending 45 fable ivan closed 99 harbor hana paused 49 delta dina paused 89 indigo alice closed 54 delta jules failed 43 juniper kim active 38 harbor jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047409-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus fable 79 pending dina harbor 30 closed farah delta 38 ready hana cobalt 71 closed ivan birch 80 closed eli harbor 112 active dina amber 116 active dina indigo 73 failed
pending 79 fable gus closed 30 harbor dina ready 38 delta farah closed 71 cobalt hana closed 80 birch ivan active 112 harbor eli active 116 amber dina failed 73 indigo dina
ivan fable 45 pending hana harbor 99 closed dina delta 49 paused alice indigo 89 paused jules delta 54 closed kim juniper 43 failed jules harbor 38 active
pending 45 fable ivan closed 99 harbor hana paused 49 delta dina paused 89 indigo alice closed 54 delta jules failed 43 juniper kim active 38 harbor jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047409
qwen/qwen3.7-plus
awkweave-0047410
Print the number of whitespace-separated fields on each line.
{print NF}
farah delta 73 failed alice ember 62 ready hana birch 59 active hana birch 79 failed gus birch 7 paused hana ember 13 failed eli harbor 58 failed hana fable 21 failed
4 4 4 4 4 4 4 4
jules cobalt 85 active lina cobalt 116 failed chen grove 113 pending hana juniper 22 closed ivan delta 68 failed dina amber 60 paused ivan juniper 2 closed
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047410-p1
Print the count of whitespace-delimited fields for each line.
{print NF}
farah delta 73 failed alice ember 62 ready hana birch 59 active hana birch 79 failed gus birch 7 paused hana ember 13 failed eli harbor 58 failed hana fable 21 failed
4 4 4 4 4 4 4 4
jules cobalt 85 active lina cobalt 116 failed chen grove 113 pending hana juniper 22 closed ivan delta 68 failed dina amber 60 paused ivan juniper 2 closed
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047410
qwen/qwen3.7-plus
awkweave-0047411
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]]}
jules delta 41 chen beta 100 eli beta 96 eli alpha 41 farah beta 0 gus delta 2 alice delta 70 hana beta 91 jules gamma 111
delta 3 beta 4 alpha 1 gamma 1
chen delta 4 gus gamma 21 ivan alpha 112 farah gamma 58 hana beta 55 eli beta 17 farah delta 37 eli delta 110 lina alpha 21
delta 3 gamma 2 alpha 2 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047411-p1
Tally the records for each distinct value in the second column and print each value with 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]]}
jules delta 41 chen beta 100 eli beta 96 eli alpha 41 farah beta 0 gus delta 2 alice delta 70 hana beta 91 jules gamma 111
delta 3 beta 4 alpha 1 gamma 1
chen delta 4 gus gamma 21 ivan alpha 112 farah gamma 58 hana beta 55 eli beta 17 farah delta 37 eli delta 110 lina alpha 21
delta 3 gamma 2 alpha 2 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047411
qwen/qwen3.7-plus
awkweave-0047412
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]]}
dina delta 10 dina delta 30 bruno delta 14 lina gamma 28 chen alpha 27 alice alpha 11 alice alpha 10 dina gamma 13
delta 54 gamma 41 alpha 48
gus alpha 2 lina gamma 28 gus delta 30 kim delta 18 jules delta 2 bruno delta 9
alpha 2 gamma 28 delta 59
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047412-p1
Group by column 2 and sum column 3, outputting the groups in the order they 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]]}
dina delta 10 dina delta 30 bruno delta 14 lina gamma 28 chen alpha 27 alice alpha 11 alice alpha 10 dina gamma 13
delta 54 gamma 41 alpha 48
gus alpha 2 lina gamma 28 gus delta 30 kim delta 18 jules delta 2 bruno delta 9
alpha 2 gamma 28 delta 59
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047412
qwen/qwen3.7-plus
awkweave-0047413
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 harbor 63 alpha birch 93 beta amber 106 beta harbor 89 beta delta 94 delta juniper 87 alpha delta 19
alpha 3 beta 3
delta amber 69 alpha fable 86 beta cobalt 49 beta grove 1 delta amber 35 gamma ember 64 beta cobalt 61
delta 2 beta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047413-p1
List each duplicate value from column 1 along with its frequency, sorted 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 harbor 63 alpha birch 93 beta amber 106 beta harbor 89 beta delta 94 delta juniper 87 alpha delta 19
alpha 3 beta 3
delta amber 69 alpha fable 86 beta cobalt 49 beta grove 1 delta amber 35 gamma ember 64 beta cobalt 61
delta 2 beta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047413
qwen/qwen3.7-plus
awkweave-0047414
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note state record_id score r001 jules 5 closed r002 chen 23 active r003 jules 26 ready r004 hana 3 failed r005 eli 6 closed r006 farah 28 paused r007 alice 8 failed r008 hana 23 ready r009 ivan 24 ready
jules chen jules hana eli farah alice hana ivan
note state record_id score r001 jules 19 active r002 lina 30 ready r003 lina 17 active r004 ivan 9 failed r005 hana 22 closed r006 eli 21 pending r007 farah 17 paused r008 gus 19 failed
jules lina lina ivan hana eli farah gus
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047414-p1
Skip the header row and output the state column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note state record_id score r001 jules 5 closed r002 chen 23 active r003 jules 26 ready r004 hana 3 failed r005 eli 6 closed r006 farah 28 paused r007 alice 8 failed r008 hana 23 ready r009 ivan 24 ready
jules chen jules hana eli farah alice hana ivan
note state record_id score r001 jules 19 active r002 lina 30 ready r003 lina 17 active r004 ivan 9 failed r005 hana 22 closed r006 eli 21 pending r007 farah 17 paused r008 gus 19 failed
jules lina lina ivan hana eli farah gus
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047414
qwen/qwen3.7-plus
awkweave-0047415
The first row is a header. Print display_name for data rows whose score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 gus 27 active r002 kim 24 active r003 ivan 24 closed r004 kim 20 pending r005 jules 7 pending r006 chen 24 pending
gus kim ivan kim chen
record_id display_name score state r001 dina 30 failed r002 jules 4 failed r003 jules 6 ready r004 alice 3 active r005 eli 17 paused r006 gus 28 ready r007 hana 26 active
dina eli gus hana
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047415-p1
Ignoring the header, print the display_name field for rows where the score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 gus 27 active r002 kim 24 active r003 ivan 24 closed r004 kim 20 pending r005 jules 7 pending r006 chen 24 pending
gus kim ivan kim chen
record_id display_name score state r001 dina 30 failed r002 jules 4 failed r003 jules 6 ready r004 alice 3 active r005 eli 17 paused r006 gus 28 ready r007 hana 26 active
dina eli gus hana
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047415
qwen/qwen3.7-plus
awkweave-0047416
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
alice 12 pending farah 7 ready ivan 8 failed dina 13 paused farah 22 pending hana 6 ready eli 27 pending gus 5 pending ivan 11 paused chen 17 failed
alice farah ivan dina farah hana eli gus ivan chen
ivan 3 ready jules 16 failed bruno 23 active hana 3 ready hana 1 ready kim 29 active jules 27 closed
ivan jules bruno hana hana kim jules
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047416-p1
Extract and print the first column from tab-separated input records.
BEGIN{FS=OFS="\t"}{print $1}
alice 12 pending farah 7 ready ivan 8 failed dina 13 paused farah 22 pending hana 6 ready eli 27 pending gus 5 pending ivan 11 paused chen 17 failed
alice farah ivan dina farah hana eli gus ivan chen
ivan 3 ready jules 16 failed bruno 23 active hana 3 ready hana 1 ready kim 29 active jules 27 closed
ivan jules bruno hana hana kim jules
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047416
qwen/qwen3.7-plus
awkweave-0047417
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 22.
BEGIN{FS=OFS=","}$2>22{print $1}
hana,22,pending gus,7,active kim,24,ready farah,6,active kim,7,ready farah,27,ready
kim farah
jules,5,ready chen,16,pending gus,17,paused farah,9,failed alice,13,pending farah,18,ready
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047417-p1
For comma-separated data without quotes, print column 1 if column 2 is greater than 22.
BEGIN{FS=OFS=","}$2>22{print $1}
hana,22,pending gus,7,active kim,24,ready farah,6,active kim,7,ready farah,27,ready
kim farah
jules,5,ready chen,16,pending gus,17,paused farah,9,failed alice,13,pending farah,18,ready
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047417
qwen/qwen3.7-plus
awkweave-0047418
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim amber 42 jules harbor 120 farah indigo 25 farah harbor 14 eli delta 4 alice grove 87 dina grove 97
kim amber 42 jules harbor 120 farah indigo 25 farah harbor 14 eli delta 4 alice grove 87 dina grove 97
alice grove 112 chen cobalt 66 gus ember 2 kim amber 89 bruno grove 53 ivan delta 16 lina amber 97 lina grove 23
alice grove 112 chen cobalt 66 gus ember 2 kim amber 89 bruno grove 53 ivan delta 16 lina amber 97 lina grove 23
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047418-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
kim amber 42 jules harbor 120 farah indigo 25 farah harbor 14 eli delta 4 alice grove 87 dina grove 97
kim amber 42 jules harbor 120 farah indigo 25 farah harbor 14 eli delta 4 alice grove 87 dina grove 97
alice grove 112 chen cobalt 66 gus ember 2 kim amber 89 bruno grove 53 ivan delta 16 lina amber 97 lina grove 23
alice grove 112 chen cobalt 66 gus ember 2 kim amber 89 bruno grove 53 ivan delta 16 lina amber 97 lina grove 23
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047418
qwen/qwen3.7-plus
awkweave-0047419
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno grove 107 pending bruno delta 60 pending farah amber 74 ready hana juniper 63 pending eli juniper 114 failed gus amber 69 paused dina amber 21 failed jules indigo 39 paused lina harbor 50 pending alice amber 62 closed
bruno grove 107 pending
lina grove 45 active lina birch 57 active ivan indigo 61 pending farah indigo 19 closed dina amber 104 closed ivan juniper 39 failed alice cobalt 107 active kim birch 104 ready hana delta 66 closed
alice cobalt 107 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047419-p1
Output the longest line from the input; if multiple lines share the maximum length, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
bruno grove 107 pending bruno delta 60 pending farah amber 74 ready hana juniper 63 pending eli juniper 114 failed gus amber 69 paused dina amber 21 failed jules indigo 39 paused lina harbor 50 pending alice amber 62 closed
bruno grove 107 pending
lina grove 45 active lina birch 57 active ivan indigo 61 pending farah indigo 19 closed dina amber 104 closed ivan juniper 39 failed alice cobalt 107 active kim birch 104 ready hana delta 66 closed
alice cobalt 107 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047419
qwen/qwen3.7-plus
awkweave-0047420
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
alice 12 jules 56 chen 23 bruno 1 gus 37 farah 35 alice 41
chen 23 farah 35
dina 120 gus 64 ivan 55 farah 29 farah 37 lina 103 hana 7 ivan 3 hana 31
ivan 55 lina 103 hana 31
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047420-p1
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
alice 12 jules 56 chen 23 bruno 1 gus 37 farah 35 alice 41
chen 23 farah 35
dina 120 gus 64 ivan 55 farah 29 farah 37 lina 103 hana 7 ivan 3 hana 31
ivan 55 lina 103 hana 31
every_nth
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0047420
qwen/qwen3.7-plus
awkweave-0047421
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma ember 30 alpha juniper 60 delta delta 106 gamma birch 18 delta ember 99 beta delta 64 gamma birch 108
4
delta cobalt 104 beta amber 24 gamma grove 111 delta juniper 100 gamma fable 20 beta delta 41 delta grove 84 beta birch 38 gamma indigo 91 gamma birch 109
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047421-p1
Calculate and print only the total number of unique values found in column 1.
{if(!seen[$1]++)n++}END{print n+0}
gamma ember 30 alpha juniper 60 delta delta 106 gamma birch 18 delta ember 99 beta delta 64 gamma birch 108
4
delta cobalt 104 beta amber 24 gamma grove 111 delta juniper 100 gamma fable 20 beta delta 41 delta grove 84 beta birch 38 gamma indigo 91 gamma birch 109
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047421
qwen/qwen3.7-plus
awkweave-0047422
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 19 0 dina 15 16 dina 3 24 eli 27 11 farah 29 16 lina 23 4 farah 5 20 jules 17 20 farah 5 28 ivan 14 25
dina 0.94 dina 0.12 eli 2.45 farah 1.81 lina 5.75 farah 0.25 jules 0.85 farah 0.18 ivan 0.56
gus 15 0 eli 18 4 jules 18 5 eli 8 29 jules 24 28 dina 1 8
eli 4.50 jules 3.60 eli 0.28 jules 0.86 dina 0.12
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047422-p1
For each row where column 3 is non-zero, print column 1 and the result of column 2 divided by column 3 rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 19 0 dina 15 16 dina 3 24 eli 27 11 farah 29 16 lina 23 4 farah 5 20 jules 17 20 farah 5 28 ivan 14 25
dina 0.94 dina 0.12 eli 2.45 farah 1.81 lina 5.75 farah 0.25 jules 0.85 farah 0.18 ivan 0.56
gus 15 0 eli 18 4 jules 18 5 eli 8 29 jules 24 28 dina 1 8
eli 4.50 jules 3.60 eli 0.28 jules 0.86 dina 0.12
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047422
qwen/qwen3.7-plus
awkweave-0047423
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 24 jules ember 25 alice grove 28 dina harbor 12 farah juniper 17 bruno amber 8 gus birch 8 gus cobalt 11
alice grove 28 jules ember 25 bruno indigo 24
chen juniper 21 chen cobalt 7 gus cobalt 14 bruno indigo 13 ivan ember 14 eli amber 29 hana delta 29 dina harbor 1
eli amber 29 hana delta 29 chen juniper 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047423-p1
Output the three full records with the highest values in column 3, sorted in descending order, preserving 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 24 jules ember 25 alice grove 28 dina harbor 12 farah juniper 17 bruno amber 8 gus birch 8 gus cobalt 11
alice grove 28 jules ember 25 bruno indigo 24
chen juniper 21 chen cobalt 7 gus cobalt 14 bruno indigo 13 ivan ember 14 eli amber 29 hana delta 29 dina harbor 1
eli amber 29 hana delta 29 chen juniper 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047423
qwen/qwen3.7-plus
awkweave-0047424
For each line, output fields 5 and 3, in that order.
{print $5, $3}
delta ready hana grove 41 cobalt harbor paused kim birch 19 ember fable pending bruno harbor 95 delta amber ready jules delta 118 amber cobalt pending jules amber 48 grove grove active chen indigo 77 ember grove closed bruno cobalt 81 grove indigo closed hana fable 32 birch juniper paused kim birch 82 ember delta faile...
41 hana 19 kim 95 bruno 118 jules 48 jules 77 chen 81 bruno 32 hana 82 kim 5 lina
fable active gus cobalt 96 ember cobalt pending kim ember 97 birch ember pending jules cobalt 57 cobalt ember active ivan cobalt 94 grove delta pending kim fable 40 amber birch failed lina delta 108 fable harbor paused eli amber 85 fable
96 gus 97 kim 57 jules 94 ivan 40 kim 108 lina 85 eli
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047424-p1
For each line, output fields 5 and 3, in that order.
{print $5, $3}
delta ready hana grove 41 cobalt harbor paused kim birch 19 ember fable pending bruno harbor 95 delta amber ready jules delta 118 amber cobalt pending jules amber 48 grove grove active chen indigo 77 ember grove closed bruno cobalt 81 grove indigo closed hana fable 32 birch juniper paused kim birch 82 ember delta faile...
41 hana 19 kim 95 bruno 118 jules 48 jules 77 chen 81 bruno 32 hana 82 kim 5 lina
fable active gus cobalt 96 ember cobalt pending kim ember 97 birch ember pending jules cobalt 57 cobalt ember active ivan cobalt 94 grove delta pending kim fable 40 amber birch failed lina delta 108 fable harbor paused eli amber 85 fable
96 gus 97 kim 57 jules 94 ivan 40 kim 108 lina 85 eli
project_fields
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0047424
qwen/qwen3.7-plus
awkweave-0047425
Print the last field of every input line.
{print $NF}
lina juniper closed 11 gus juniper closed 98 bruno birch pending 24 jules indigo paused 4 eli ember closed 9 bruno harbor closed 80 eli harbor ready 58
11 98 24 4 9 80 58
jules indigo pending 88 hana grove failed 27 kim cobalt closed 37 alice birch pending 25 gus delta pending 103 gus amber closed 30
88 27 37 25 103 30
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047425-p1
Output the final field found in every input line.
{print $NF}
lina juniper closed 11 gus juniper closed 98 bruno birch pending 24 jules indigo paused 4 eli ember closed 9 bruno harbor closed 80 eli harbor ready 58
11 98 24 4 9 80 58
jules indigo pending 88 hana grove failed 27 kim cobalt closed 37 alice birch pending 25 gus delta pending 103 gus amber closed 30
88 27 37 25 103 30
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047425
qwen/qwen3.7-plus
awkweave-0047426
Print the complete records where column 3 is at most 40.
$3 <= 40
active paused 104 ember failed paused 98 harbor closed closed 50 harbor closed closed 68 juniper pending closed 6 ember failed paused 119 cobalt pending paused 52 juniper pending active 80 ember failed paused 95 indigo paused closed 113 delta
pending closed 6 ember
active paused 1 fable failed paused 95 fable active ready 45 grove pending closed 110 birch pending paused 87 ember ready ready 46 grove paused closed 102 grove pending ready 67 amber pending pending 118 delta pending ready 99 fable
active paused 1 fable
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047426-p1
Display full records where the value in the third column is less than or equal to 40.
$3 <= 40
active paused 104 ember failed paused 98 harbor closed closed 50 harbor closed closed 68 juniper pending closed 6 ember failed paused 119 cobalt pending paused 52 juniper pending active 80 ember failed paused 95 indigo paused closed 113 delta
pending closed 6 ember
active paused 1 fable failed paused 95 fable active ready 45 grove pending closed 110 birch pending paused 87 ember ready ready 46 grove paused closed 102 grove pending ready 67 amber pending pending 118 delta pending ready 99 fable
active paused 1 fable
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047426
qwen/qwen3.7-plus
awkweave-0047427
Show whole lines whose 1st field is between 5 and 26, inclusive.
$1 >= 5 && $1 <= 26
5 jules grove bruno 26 kim juniper ivan 9 dina cobalt farah 13 dina cobalt bruno 5 kim amber gus 21 eli indigo kim 16 lina cobalt alice
5 jules grove bruno 26 kim juniper ivan 9 dina cobalt farah 13 dina cobalt bruno 5 kim amber gus 21 eli indigo kim 16 lina cobalt alice
22 dina indigo lina 21 dina amber farah 10 kim fable eli 26 chen birch gus 11 chen harbor ivan 14 gus grove jules 23 dina cobalt gus
22 dina indigo lina 21 dina amber farah 10 kim fable eli 26 chen birch gus 11 chen harbor ivan 14 gus grove jules 23 dina cobalt gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047427-p1
Show entire lines where the first field falls within the inclusive range of 5 to 26.
$1 >= 5 && $1 <= 26
5 jules grove bruno 26 kim juniper ivan 9 dina cobalt farah 13 dina cobalt bruno 5 kim amber gus 21 eli indigo kim 16 lina cobalt alice
5 jules grove bruno 26 kim juniper ivan 9 dina cobalt farah 13 dina cobalt bruno 5 kim amber gus 21 eli indigo kim 16 lina cobalt alice
22 dina indigo lina 21 dina amber farah 10 kim fable eli 26 chen birch gus 11 chen harbor ivan 14 gus grove jules 23 dina cobalt gus
22 dina indigo lina 21 dina amber farah 10 kim fable eli 26 chen birch gus 11 chen harbor ivan 14 gus grove jules 23 dina cobalt gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047427
qwen/qwen3.7-plus
awkweave-0047428
Print column 1 only for rows where column 2 is exactly active.
$2 == "active"{print $1}
bruno closed 56 fable bruno ready 25 cobalt lina ready 116 fable kim pending 63 amber eli closed 96 juniper kim ready 52 fable gus pending 12 harbor chen pending 115 ember lina failed 103 amber alice active 58 amber
alice
jules paused 15 cobalt kim ready 68 birch ivan active 39 harbor jules paused 94 cobalt gus failed 56 cobalt kim failed 72 delta lina ready 12 harbor jules ready 55 birch farah ready 53 amber farah active 82 amber
ivan farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047428-p1
Output only the first column for rows where the second column matches the string active exactly.
$2 == "active"{print $1}
bruno closed 56 fable bruno ready 25 cobalt lina ready 116 fable kim pending 63 amber eli closed 96 juniper kim ready 52 fable gus pending 12 harbor chen pending 115 ember lina failed 103 amber alice active 58 amber
alice
jules paused 15 cobalt kim ready 68 birch ivan active 39 harbor jules paused 94 cobalt gus failed 56 cobalt kim failed 72 delta lina ready 12 harbor jules ready 55 birch farah ready 53 amber farah active 82 amber
ivan farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047428
qwen/qwen3.7-plus
awkweave-0047429
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
12 DEBUG harbor 47 WARN indigo 75 ERROR cobalt 75 WARN amber 13 INFO amber 63 INFO indigo 79 INFO amber
75 ERROR cobalt
27 ERROR indigo 51 WARN delta 12 WARN amber 67 WARN ember 101 WARN birch 71 INFO juniper 27 WARN fable
27 ERROR indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047429-p1
Print all fields from any line where the second field starts with the prefix ERROR.
$2 ~ /^ERROR/
12 DEBUG harbor 47 WARN indigo 75 ERROR cobalt 75 WARN amber 13 INFO amber 63 INFO indigo 79 INFO amber
75 ERROR cobalt
27 ERROR indigo 51 WARN delta 12 WARN amber 67 WARN ember 101 WARN birch 71 INFO juniper 27 WARN fable
27 ERROR indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047429
qwen/qwen3.7-plus
awkweave-0047430
Print every line except those containing the exact text grove.
$0 !~ /grove/
ember 11 active indigo 8 active birch 29 failed amber 48 ready ember 105 paused amber 41 closed grove 999 active
ember 11 active indigo 8 active birch 29 failed amber 48 ready ember 105 paused amber 41 closed
ember 39 ready harbor 73 failed indigo 100 failed indigo 83 pending birch 6 ready grove 63 ready birch 58 paused birch 30 paused grove 999 active
ember 39 ready harbor 73 failed indigo 100 failed indigo 83 pending birch 6 ready birch 58 paused birch 30 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047430-p1
Output every line that does not contain the exact substring grove.
$0 !~ /grove/
ember 11 active indigo 8 active birch 29 failed amber 48 ready ember 105 paused amber 41 closed grove 999 active
ember 11 active indigo 8 active birch 29 failed amber 48 ready ember 105 paused amber 41 closed
ember 39 ready harbor 73 failed indigo 100 failed indigo 83 pending birch 6 ready grove 63 ready birch 58 paused birch 30 paused grove 999 active
ember 39 ready harbor 73 failed indigo 100 failed indigo 83 pending birch 6 ready birch 58 paused birch 30 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047430
qwen/qwen3.7-plus
awkweave-0047431
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
dina delta 36 chen birch 79 eli juniper 102 dina delta 47 bruno birch 61 lina birch 22 jules indigo 92 alice harbor 87 gus juniper 0
chen birch 79 eli juniper 102 dina delta 47
jules juniper 101 lina birch 16 alice birch 69 alice cobalt 41 lina ember 18 kim harbor 19 eli birch 109 eli juniper 91
lina birch 16 alice birch 69 alice cobalt 41
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047431-p1
Display lines numbered 2 through 4, inclusive of both the start and end lines.
NR >= 2 && NR <= 4
dina delta 36 chen birch 79 eli juniper 102 dina delta 47 bruno birch 61 lina birch 22 jules indigo 92 alice harbor 87 gus juniper 0
chen birch 79 eli juniper 102 dina delta 47
jules juniper 101 lina birch 16 alice birch 69 alice cobalt 41 lina ember 18 kim harbor 19 eli birch 109 eli juniper 91
lina birch 16 alice birch 69 alice cobalt 41
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047431
qwen/qwen3.7-plus
awkweave-0047432
Output only the first 3 records.
NR <= 3
lina 81 cobalt eli 106 harbor jules 102 harbor ivan 99 amber gus 59 indigo alice 116 juniper gus 18 juniper dina 73 cobalt bruno 86 ember chen 96 cobalt
lina 81 cobalt eli 106 harbor jules 102 harbor
alice 98 amber jules 42 grove lina 92 ember eli 98 amber jules 105 harbor ivan 116 ember ivan 24 grove chen 82 delta lina 42 indigo
alice 98 amber jules 42 grove lina 92 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047432-p1
Restrict output to only the first 3 records.
NR <= 3
lina 81 cobalt eli 106 harbor jules 102 harbor ivan 99 amber gus 59 indigo alice 116 juniper gus 18 juniper dina 73 cobalt bruno 86 ember chen 96 cobalt
lina 81 cobalt eli 106 harbor jules 102 harbor
alice 98 amber jules 42 grove lina 92 ember eli 98 amber jules 105 harbor ivan 116 ember ivan 24 grove chen 82 delta lina 42 indigo
alice 98 amber jules 42 grove lina 92 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047432
qwen/qwen3.7-plus
awkweave-0047433
Skip the first line and print every remaining line unchanged.
NR > 1
alice 24 harbor bruno 62 fable hana 61 fable kim 75 fable eli 3 delta farah 76 indigo
bruno 62 fable hana 61 fable kim 75 fable eli 3 delta farah 76 indigo
farah 33 amber hana 44 amber ivan 9 fable hana 96 cobalt ivan 56 indigo eli 71 grove eli 114 amber
hana 44 amber ivan 9 fable hana 96 cobalt ivan 56 indigo eli 71 grove eli 114 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047433-p1
Ignore the initial line and print all subsequent lines without modification.
NR > 1
alice 24 harbor bruno 62 fable hana 61 fable kim 75 fable eli 3 delta farah 76 indigo
bruno 62 fable hana 61 fable kim 75 fable eli 3 delta farah 76 indigo
farah 33 amber hana 44 amber ivan 9 fable hana 96 cobalt ivan 56 indigo eli 71 grove eli 114 amber
hana 44 amber ivan 9 fable hana 96 cobalt ivan 56 indigo eli 71 grove eli 114 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047433
qwen/qwen3.7-plus
awkweave-0047434
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
lina failed 6 farah closed 13 bruno ready 27 jules ready 119 jules pending 111 jules paused 1 kim paused 114 ivan pending 56 gus active 44 lina pending 40
2
farah paused 92 lina active 9 ivan pending 37 alice closed 61 gus closed 95 kim pending 17
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047434-p1
Count the number of records where the second column contains paused, outputting 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
lina failed 6 farah closed 13 bruno ready 27 jules ready 119 jules pending 111 jules paused 1 kim paused 114 ivan pending 56 gus active 44 lina pending 40
2
farah paused 92 lina active 9 ivan pending 37 alice closed 61 gus closed 95 kim pending 17
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047434
qwen/qwen3.7-plus
awkweave-0047435
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
2 chen harbor 20 hana ember 28 gus cobalt 14 dina cobalt 2 alice ember 23 kim amber 2 lina grove 8 bruno delta
99
17 chen ember 26 jules juniper 1 lina harbor 21 farah amber 17 kim indigo 3 alice birch
85
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047435-p1
Compute and display the total sum of all integer values located in the first column.
{s+=$1}END{print s+0}
2 chen harbor 20 hana ember 28 gus cobalt 14 dina cobalt 2 alice ember 23 kim amber 2 lina grove 8 bruno delta
99
17 chen ember 26 jules juniper 1 lina harbor 21 farah amber 17 kim indigo 3 alice birch
85
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047435
qwen/qwen3.7-plus
awkweave-0047436
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 28 kim fable 14 jules amber 16 farah ember 30 jules fable 23 farah harbor 27 gus indigo 29 kim
23.86
juniper 28 gus birch 21 jules amber 17 chen grove 23 farah harbor 10 eli grove 29 lina ember 22 alice
21.43
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047436-p1
Output the average of the second column, formatted to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 28 kim fable 14 jules amber 16 farah ember 30 jules fable 23 farah harbor 27 gus indigo 29 kim
23.86
juniper 28 gus birch 21 jules amber 17 chen grove 23 farah harbor 10 eli grove 29 lina ember 22 alice
21.43
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047436
qwen/qwen3.7-plus
awkweave-0047437
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable hana 5 juniper lina 4 birch chen 12 harbor lina 3 delta hana 16 harbor chen 2 amber jules 18 harbor eli 4 harbor hana 29 ember eli 30
2
amber ivan 24 cobalt alice 15 birch eli 19 harbor gus 4 ember gus 4 cobalt dina 19 delta lina 19
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047437-p1
Identify and display the minimum number found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable hana 5 juniper lina 4 birch chen 12 harbor lina 3 delta hana 16 harbor chen 2 amber jules 18 harbor eli 4 harbor hana 29 ember eli 30
2
amber ivan 24 cobalt alice 15 birch eli 19 harbor gus 4 ember gus 4 cobalt dina 19 delta lina 19
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047437
qwen/qwen3.7-plus
awkweave-0047438
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
jules 10 grove gus 20 cobalt farah 3 ember lina 2 indigo kim 14 indigo kim 5 amber gus 12 birch alice 18 cobalt
20
lina 29 birch bruno 21 birch hana 16 delta chen 18 ember gus 2 indigo jules 24 birch eli 2 juniper lina 2 fable ivan 19 grove kim 25 grove
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047438-p1
Identify and display the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
jules 10 grove gus 20 cobalt farah 3 ember lina 2 indigo kim 14 indigo kim 5 amber gus 12 birch alice 18 cobalt
20
lina 29 birch bruno 21 birch hana 16 delta chen 18 ember gus 2 indigo jules 24 birch eli 2 juniper lina 2 fable ivan 19 grove kim 25 grove
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047438
qwen/qwen3.7-plus
awkweave-0047439
Count all input records and print the total.
END{print NR}
alice 9 farah 3 chen 42 chen 11 dina 113 chen 79 dina 51 kim 30 jules 14 kim 83
10
farah 117 eli 39 jules 33 gus 53 jules 21 alice 73 lina 107 hana 44 bruno 28
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047439-p1
Calculate and output the total number of input records.
END{print NR}
alice 9 farah 3 chen 42 chen 11 dina 113 chen 79 dina 51 kim 30 jules 14 kim 83
10
farah 117 eli 39 jules 33 gus 53 jules 21 alice 73 lina 107 hana 44 bruno 28
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047439
qwen/qwen3.7-plus
awkweave-0047440
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana cobalt 17 eli ember 22 alice amber 31 dina ember 115 lina delta 104 gus birch 0 hana ember 77 bruno cobalt 72 farah grove 3 alice amber 31
hana cobalt 17 eli ember 22 alice amber 31 dina ember 115 lina delta 104 gus birch 0 hana ember 77 bruno cobalt 72 farah grove 3
hana juniper 30 kim indigo 15 kim indigo 15 hana harbor 62 chen grove 28 bruno indigo 105 farah cobalt 22
hana juniper 30 kim indigo 15 hana harbor 62 chen grove 28 bruno indigo 105 farah cobalt 22
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047440-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
hana cobalt 17 eli ember 22 alice amber 31 dina ember 115 lina delta 104 gus birch 0 hana ember 77 bruno cobalt 72 farah grove 3 alice amber 31
hana cobalt 17 eli ember 22 alice amber 31 dina ember 115 lina delta 104 gus birch 0 hana ember 77 bruno cobalt 72 farah grove 3
hana juniper 30 kim indigo 15 kim indigo 15 hana harbor 62 chen grove 28 bruno indigo 105 farah cobalt 22
hana juniper 30 kim indigo 15 hana harbor 62 chen grove 28 bruno indigo 105 farah cobalt 22
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047440
qwen/qwen3.7-plus
awkweave-0047441
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim grove 114 bruno fable 55 gus birch 79 chen fable 62 bruno harbor 47 jules amber 42 dina juniper 105 dina harbor 86 farah harbor 83
kim grove 114 bruno fable 55 gus birch 79 chen fable 62 bruno harbor 47 jules amber 42 dina juniper 105 dina harbor 86 farah harbor 83
chen amber 64 kim grove 105 chen delta 15 farah birch 77 chen indigo 47 dina fable 68 farah indigo 4
chen amber 64 kim grove 105 chen delta 15 farah birch 77 chen indigo 47 dina fable 68 farah indigo 4
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047441-p1
Retain only the initial line for every unique value in column 3, keeping the original order.
!seen[$3]++
kim grove 114 bruno fable 55 gus birch 79 chen fable 62 bruno harbor 47 jules amber 42 dina juniper 105 dina harbor 86 farah harbor 83
kim grove 114 bruno fable 55 gus birch 79 chen fable 62 bruno harbor 47 jules amber 42 dina juniper 105 dina harbor 86 farah harbor 83
chen amber 64 kim grove 105 chen delta 15 farah birch 77 chen indigo 47 dina fable 68 farah indigo 4
chen amber 64 kim grove 105 chen delta 15 farah birch 77 chen indigo 47 dina fable 68 farah indigo 4
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047441
qwen/qwen3.7-plus
awkweave-0047442
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 21 juniper lina 13 indigo eli 12 amber jules 9 ember bruno 1 harbor hana 24 indigo hana 12 amber dina 6 amber dina 4 birch
farah 21 lina 34 eli 46 jules 55 bruno 56 hana 80 hana 92 dina 98 dina 102
dina 6 cobalt lina 30 ember ivan 7 ember dina 19 grove farah 13 fable farah 4 indigo gus 20 delta lina 6 harbor
dina 6 lina 36 ivan 43 dina 62 farah 75 farah 79 gus 99 lina 105
running_total
2
train
original-grammar
CC-BY-4.0
null
null