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-0049882-p1
Output the final field from each input line.
{print $NF}
hana harbor bruno hana 86 hana birch chen hana 106 alice fable farah hana 1 eli fable kim eli 81 kim delta dina chen 75 kim delta gus farah 58
86 106 1 81 75 58
bruno juniper bruno bruno 74 jules delta lina kim 39 gus fable farah jules 97 chen harbor lina kim 50 gus birch eli kim 105 bruno juniper jules ivan 86
74 39 97 50 105 86
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049882
qwen/qwen3.7-plus
awkweave-0049883
Print the complete records where column 3 is less than 62.
$3 < 62
bruno failed 97 active dina closed 12 paused eli closed 26 paused kim failed 89 closed kim active 64 pending farah paused 71 failed jules closed 60 paused lina failed 35 paused
dina closed 12 paused eli closed 26 paused jules closed 60 paused lina failed 35 paused
bruno ready 8 closed ivan closed 75 failed alice paused 1 closed gus ready 38 active jules active 85 paused bruno closed 97 closed gus paused 119 paused bruno ready 8 paused chen pending 103 failed jules pending 81 pending
bruno ready 8 closed alice paused 1 closed gus ready 38 active bruno ready 8 paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049883-p1
Output all complete records where the value in column 3 is less than 62.
$3 < 62
bruno failed 97 active dina closed 12 paused eli closed 26 paused kim failed 89 closed kim active 64 pending farah paused 71 failed jules closed 60 paused lina failed 35 paused
dina closed 12 paused eli closed 26 paused jules closed 60 paused lina failed 35 paused
bruno ready 8 closed ivan closed 75 failed alice paused 1 closed gus ready 38 active jules active 85 paused bruno closed 97 closed gus paused 119 paused bruno ready 8 paused chen pending 103 failed jules pending 81 pending
bruno ready 8 closed alice paused 1 closed gus ready 38 active bruno ready 8 paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049883
qwen/qwen3.7-plus
awkweave-0049884
Show whole lines whose 3rd field is between 11 and 25, inclusive.
$3 >= 11 && $3 <= 25
birch indigo 5 ready grove cobalt 24 paused amber amber 8 pending delta cobalt 27 pending grove fable 16 active grove amber 19 failed ember birch 15 ready
grove cobalt 24 paused grove fable 16 active grove amber 19 failed ember birch 15 ready
harbor indigo 21 ready grove amber 20 failed juniper birch 12 pending harbor juniper 3 pending juniper ember 12 paused amber fable 24 paused
harbor indigo 21 ready grove amber 20 failed juniper birch 12 pending juniper ember 12 paused amber fable 24 paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049884-p1
Display entire lines where the third field falls within the range of 11 to 25, inclusive.
$3 >= 11 && $3 <= 25
birch indigo 5 ready grove cobalt 24 paused amber amber 8 pending delta cobalt 27 pending grove fable 16 active grove amber 19 failed ember birch 15 ready
grove cobalt 24 paused grove fable 16 active grove amber 19 failed ember birch 15 ready
harbor indigo 21 ready grove amber 20 failed juniper birch 12 pending harbor juniper 3 pending juniper ember 12 paused amber fable 24 paused
harbor indigo 21 ready grove amber 20 failed juniper birch 12 pending juniper ember 12 paused amber fable 24 paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049884
qwen/qwen3.7-plus
awkweave-0049885
Print column 4 only for rows where column 3 is exactly failed.
$3 == "failed"{print $4}
harbor 74 closed eli ember 5 paused eli cobalt 11 pending gus delta 102 pending hana fable 119 active gus grove 116 paused farah harbor 73 failed ivan cobalt 64 failed farah
ivan farah
amber 39 paused lina harbor 10 closed kim fable 5 pending jules grove 39 paused dina harbor 4 active kim cobalt 47 active jules harbor 49 active alice ember 33 closed eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049885-p1
Output only the fourth column for rows in which the third column is exactly 'failed'.
$3 == "failed"{print $4}
harbor 74 closed eli ember 5 paused eli cobalt 11 pending gus delta 102 pending hana fable 119 active gus grove 116 paused farah harbor 73 failed ivan cobalt 64 failed farah
ivan farah
amber 39 paused lina harbor 10 closed kim fable 5 pending jules grove 39 paused dina harbor 4 active kim cobalt 47 active jules harbor 49 active alice ember 33 closed eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049885
qwen/qwen3.7-plus
awkweave-0049886
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
DEBUG birch 26 WARN juniper 63 DEBUG juniper 59 INFO delta 94 WARN delta 67 INFO birch 114 INFO amber 83 DEBUG grove 55
WARN juniper 63 WARN delta 67
DEBUG harbor 80 INFO amber 2 WARN grove 87 ERROR amber 78 DEBUG indigo 66 INFO fable 74 ERROR fable 62 ERROR grove 44
WARN grove 87
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049886-p1
Print all fields from lines where the first field starts with 'WARN'.
$1 ~ /^WARN/
DEBUG birch 26 WARN juniper 63 DEBUG juniper 59 INFO delta 94 WARN delta 67 INFO birch 114 INFO amber 83 DEBUG grove 55
WARN juniper 63 WARN delta 67
DEBUG harbor 80 INFO amber 2 WARN grove 87 ERROR amber 78 DEBUG indigo 66 INFO fable 74 ERROR fable 62 ERROR grove 44
WARN grove 87
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049886
qwen/qwen3.7-plus
awkweave-0049887
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
fable 113 active juniper 47 closed birch 65 closed amber 19 active birch 94 failed fable 64 closed amber 13 ready indigo 77 ready delta 23 closed juniper 999 active
fable 113 active birch 65 closed amber 19 active birch 94 failed fable 64 closed amber 13 ready indigo 77 ready delta 23 closed
grove 25 pending amber 64 failed fable 54 ready indigo 76 ready delta 19 pending birch 25 paused ember 91 failed fable 13 closed cobalt 106 closed birch 95 active juniper 999 active
grove 25 pending amber 64 failed fable 54 ready indigo 76 ready delta 19 pending birch 25 paused ember 91 failed fable 13 closed cobalt 106 closed birch 95 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049887-p1
Print every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
fable 113 active juniper 47 closed birch 65 closed amber 19 active birch 94 failed fable 64 closed amber 13 ready indigo 77 ready delta 23 closed juniper 999 active
fable 113 active birch 65 closed amber 19 active birch 94 failed fable 64 closed amber 13 ready indigo 77 ready delta 23 closed
grove 25 pending amber 64 failed fable 54 ready indigo 76 ready delta 19 pending birch 25 paused ember 91 failed fable 13 closed cobalt 106 closed birch 95 active juniper 999 active
grove 25 pending amber 64 failed fable 54 ready indigo 76 ready delta 19 pending birch 25 paused ember 91 failed fable 13 closed cobalt 106 closed birch 95 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049887
qwen/qwen3.7-plus
awkweave-0049888
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
eli delta 36 farah cobalt 9 gus amber 90 alice delta 87 chen birch 66 bruno amber 63 ivan delta 120 dina ember 19 gus birch 89
gus amber 90 alice delta 87
kim juniper 42 lina juniper 69 chen indigo 99 gus cobalt 34 bruno cobalt 76 lina fable 98 chen delta 67
chen indigo 99 gus cobalt 34
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049888-p1
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
eli delta 36 farah cobalt 9 gus amber 90 alice delta 87 chen birch 66 bruno amber 63 ivan delta 120 dina ember 19 gus birch 89
gus amber 90 alice delta 87
kim juniper 42 lina juniper 69 chen indigo 99 gus cobalt 34 bruno cobalt 76 lina fable 98 chen delta 67
chen indigo 99 gus cobalt 34
line_range
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0049888
qwen/qwen3.7-plus
awkweave-0049889
Output only the first 3 records.
NR <= 3
kim 64 cobalt ivan 27 amber lina 118 amber gus 53 harbor dina 63 grove chen 118 grove
kim 64 cobalt ivan 27 amber lina 118 amber
bruno 70 delta farah 72 juniper hana 77 indigo alice 112 ember gus 5 cobalt eli 95 fable jules 94 juniper hana 59 cobalt
bruno 70 delta farah 72 juniper hana 77 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049889-p1
Output only the first 3 records.
NR <= 3
kim 64 cobalt ivan 27 amber lina 118 amber gus 53 harbor dina 63 grove chen 118 grove
kim 64 cobalt ivan 27 amber lina 118 amber
bruno 70 delta farah 72 juniper hana 77 indigo alice 112 ember gus 5 cobalt eli 95 fable jules 94 juniper hana 59 cobalt
bruno 70 delta farah 72 juniper hana 77 indigo
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0049889
qwen/qwen3.7-plus
awkweave-0049900
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 22 2 fable kim 22 22 grove hana 15 25 birch hana 14 15 juniper dina 29 8 birch dina 18 2 delta jules 12 27 harbor eli 2 1 delta chen 18 10 cobalt gus 22 5 harbor
bruno 24 kim 44 hana 40 hana 29 dina 37 dina 20 jules 39 eli 3 chen 28 gus 27
eli 15 10 harbor lina 29 29 cobalt farah 26 24 fable kim 10 24 juniper dina 5 2 cobalt lina 25 21 juniper alice 26 21 grove eli 1 17 juniper
eli 25 lina 58 farah 50 kim 34 dina 7 lina 46 alice 47 eli 18
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049900-p1
For each row, print the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
bruno 22 2 fable kim 22 22 grove hana 15 25 birch hana 14 15 juniper dina 29 8 birch dina 18 2 delta jules 12 27 harbor eli 2 1 delta chen 18 10 cobalt gus 22 5 harbor
bruno 24 kim 44 hana 40 hana 29 dina 37 dina 20 jules 39 eli 3 chen 28 gus 27
eli 15 10 harbor lina 29 29 cobalt farah 26 24 fable kim 10 24 juniper dina 5 2 cobalt lina 25 21 juniper alice 26 21 grove eli 1 17 juniper
eli 25 lina 58 farah 50 kim 34 dina 7 lina 46 alice 47 eli 18
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049900
qwen/qwen3.7-plus
awkweave-0049901
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
gus 6 eli 6 kim 7 jules 10 jules 23 ivan 22
gus fail eli fail kim fail jules fail jules fail ivan fail
ivan 13 eli 28 dina 17 bruno 18 farah 18 jules 3
ivan fail eli pass dina fail bruno fail farah fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049901-p1
Print the first column and output 'pass' if the second column is 25 or greater; otherwise, output 'fail'.
{print $1,($2>=25?"pass":"fail")}
gus 6 eli 6 kim 7 jules 10 jules 23 ivan 22
gus fail eli fail kim fail jules fail jules fail ivan fail
ivan 13 eli 28 dina 17 bruno 18 farah 18 jules 3
ivan fail eli pass dina fail bruno fail farah fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049901
qwen/qwen3.7-plus
awkweave-0049902
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
farah juniper 42 lina grove 7 dina grove 36 gus harbor 91 kim cobalt 99 bruno delta 18 farah fable 112 alice juniper 84
JUNIPER GROVE GROVE HARBOR COBALT DELTA FABLE JUNIPER
hana delta 117 jules indigo 19 ivan birch 79 hana grove 87 jules juniper 108 chen cobalt 67 lina delta 43
DELTA INDIGO BIRCH GROVE JUNIPER COBALT DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049902-p1
Convert the second column to uppercase and print only that column.
{print toupper($2)}
farah juniper 42 lina grove 7 dina grove 36 gus harbor 91 kim cobalt 99 bruno delta 18 farah fable 112 alice juniper 84
JUNIPER GROVE GROVE HARBOR COBALT DELTA FABLE JUNIPER
hana delta 117 jules indigo 19 ivan birch 79 hana grove 87 jules juniper 108 chen cobalt 67 lina delta 43
DELTA INDIGO BIRCH GROVE JUNIPER COBALT DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049902
qwen/qwen3.7-plus
awkweave-0049903
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
birch 31 amber 52 harbor 62 fable 26 cobalt 120 delta 105 fable 74 amber 68 birch 91
rch ber rbor ble balt lta ble ber rch
delta 55 harbor 62 amber 17 juniper 87 harbor 21 cobalt 91 birch 4
lta rbor ber nipe rbor balt rch
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049903-p1
From the first column, extract and print 4 characters starting at position 3.
{print substr($1,3,4)}
birch 31 amber 52 harbor 62 fable 26 cobalt 120 delta 105 fable 74 amber 68 birch 91
rch ber rbor ble balt lta ble ber rch
delta 55 harbor 62 amber 17 juniper 87 harbor 21 cobalt 91 birch 4
lta rbor ber nipe rbor balt rch
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049903
qwen/qwen3.7-plus
awkweave-0049904
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_grove 84 amber_indigo 104 birch_fable 57 juniper_indigo 42 birch_ember 89 amber_fable 50 birch_grove 24
juniper grove amber indigo birch fable juniper indigo birch ember amber fable birch grove
amber_birch 27 indigo_amber 36 harbor_amber 25 juniper_indigo 118 indigo_juniper 23 harbor_cobalt 41 amber_ember 8 birch_grove 80 cobalt_birch 42
amber birch indigo amber harbor amber juniper indigo indigo juniper harbor cobalt amber ember birch grove cobalt birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049904-p1
Replace all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
juniper_grove 84 amber_indigo 104 birch_fable 57 juniper_indigo 42 birch_ember 89 amber_fable 50 birch_grove 24
juniper grove amber indigo birch fable juniper indigo birch ember amber fable birch grove
amber_birch 27 indigo_amber 36 harbor_amber 25 juniper_indigo 118 indigo_juniper 23 harbor_cobalt 41 amber_ember 8 birch_grove 80 cobalt_birch 42
amber birch indigo amber harbor amber juniper indigo indigo juniper harbor cobalt amber ember birch grove cobalt birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049904
qwen/qwen3.7-plus
awkweave-0049905
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)}
eli fable 7 active ivan birch 90 pending gus harbor 8 ready eli juniper 81 ready hana harbor 97 failed ivan harbor 34 ready hana birch 32 ready bruno cobalt 67 pending
active 7 fable eli pending 90 birch ivan ready 8 harbor gus ready 81 juniper eli failed 97 harbor hana ready 34 harbor ivan ready 32 birch hana pending 67 cobalt bruno
farah juniper 39 active jules ember 79 failed alice indigo 7 paused chen fable 64 paused hana juniper 88 closed chen birch 111 pending jules ember 41 failed hana harbor 6 closed
active 39 juniper farah failed 79 ember jules paused 7 indigo alice paused 64 fable chen closed 88 juniper hana pending 111 birch chen failed 41 ember jules closed 6 harbor hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049905-p1
Reverse the order of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
eli fable 7 active ivan birch 90 pending gus harbor 8 ready eli juniper 81 ready hana harbor 97 failed ivan harbor 34 ready hana birch 32 ready bruno cobalt 67 pending
active 7 fable eli pending 90 birch ivan ready 8 harbor gus ready 81 juniper eli failed 97 harbor hana ready 34 harbor ivan ready 32 birch hana pending 67 cobalt bruno
farah juniper 39 active jules ember 79 failed alice indigo 7 paused chen fable 64 paused hana juniper 88 closed chen birch 111 pending jules ember 41 failed hana harbor 6 closed
active 39 juniper farah failed 79 ember jules paused 7 indigo alice paused 64 fable chen closed 88 juniper hana pending 111 birch chen failed 41 ember jules closed 6 harbor hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049905
qwen/qwen3.7-plus
awkweave-0049906
Print the number of whitespace-separated fields on each line.
{print NF}
dina ember 71 active hana juniper 53 pending hana indigo 54 closed jules grove 50 closed chen fable 0 closed alice cobalt 47 active ivan birch 64 active jules delta 70 paused alice delta 119 active
4 4 4 4 4 4 4 4 4
chen ember 55 ready gus cobalt 116 paused jules fable 62 failed chen harbor 96 pending eli cobalt 19 failed eli cobalt 65 paused farah indigo 17 active eli cobalt 52 active eli cobalt 109 closed dina delta 34 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049906-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
dina ember 71 active hana juniper 53 pending hana indigo 54 closed jules grove 50 closed chen fable 0 closed alice cobalt 47 active ivan birch 64 active jules delta 70 paused alice delta 119 active
4 4 4 4 4 4 4 4 4
chen ember 55 ready gus cobalt 116 paused jules fable 62 failed chen harbor 96 pending eli cobalt 19 failed eli cobalt 65 paused farah indigo 17 active eli cobalt 52 active eli cobalt 109 closed dina delta 34 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049906
qwen/qwen3.7-plus
awkweave-0049907
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]]}
alice delta 101 eli alpha 31 farah gamma 24 ivan gamma 64 bruno beta 29 farah delta 77 bruno delta 63 bruno gamma 40 bruno delta 91 eli gamma 75
delta 4 alpha 1 gamma 4 beta 1
alice alpha 27 ivan delta 88 hana beta 57 kim alpha 66 kim delta 52 bruno alpha 72 chen alpha 16 ivan alpha 61 dina beta 24
alpha 5 delta 2 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049907-p1
Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining 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]]}
alice delta 101 eli alpha 31 farah gamma 24 ivan gamma 64 bruno beta 29 farah delta 77 bruno delta 63 bruno gamma 40 bruno delta 91 eli gamma 75
delta 4 alpha 1 gamma 4 beta 1
alice alpha 27 ivan delta 88 hana beta 57 kim alpha 66 kim delta 52 bruno alpha 72 chen alpha 16 ivan alpha 61 dina beta 24
alpha 5 delta 2 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049907
qwen/qwen3.7-plus
awkweave-0049908
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]]}
bruno beta 19 gus gamma 16 gus delta 3 chen gamma 27 lina gamma 28 alice delta 23 farah delta 7 lina delta 12 jules alpha 24 ivan alpha 21
beta 19 gamma 71 delta 45 alpha 45
eli alpha 17 hana alpha 28 kim alpha 4 jules gamma 13 lina gamma 2 farah delta 9 dina gamma 29 gus delta 30
alpha 49 gamma 44 delta 39
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049908-p1
Calculate the sum of values in column 3 grouped by column 2, listing the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
bruno beta 19 gus gamma 16 gus delta 3 chen gamma 27 lina gamma 28 alice delta 23 farah delta 7 lina delta 12 jules alpha 24 ivan alpha 21
beta 19 gamma 71 delta 45 alpha 45
eli alpha 17 hana alpha 28 kim alpha 4 jules gamma 13 lina gamma 2 farah delta 9 dina gamma 29 gus delta 30
alpha 49 gamma 44 delta 39
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049908
qwen/qwen3.7-plus
awkweave-0049909
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 fable 50 beta birch 75 alpha indigo 13 delta delta 27 alpha harbor 65 delta cobalt 90 gamma harbor 20 beta indigo 41 delta harbor 109 delta indigo 99
alpha 3 beta 2 delta 4
delta fable 5 beta delta 36 gamma ember 119 alpha cobalt 71 beta juniper 22 delta delta 106 gamma juniper 39
delta 2 beta 2 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049909-p1
List each duplicate value from the first column along with its frequency, ordered by when they first appear.
{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 fable 50 beta birch 75 alpha indigo 13 delta delta 27 alpha harbor 65 delta cobalt 90 gamma harbor 20 beta indigo 41 delta harbor 109 delta indigo 99
alpha 3 beta 2 delta 4
delta fable 5 beta delta 36 gamma ember 119 alpha cobalt 71 beta juniper 22 delta delta 106 gamma juniper 39
delta 2 beta 2 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049909
qwen/qwen3.7-plus
awkweave-0049910
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"]}
score state display_name note r001 jules 1 paused r002 bruno 24 closed r003 ivan 22 pending r004 jules 29 pending r005 lina 17 active r006 chen 5 failed r007 alice 24 paused r008 ivan 16 ready r009 hana 25 ready r010 chen 19 closed
jules bruno ivan jules lina chen alice ivan hana chen
score state display_name note r001 lina 21 pending r002 hana 7 closed r003 gus 29 failed r004 bruno 22 paused r005 eli 23 pending r006 farah 12 ready r007 kim 15 failed
lina hana gus bruno eli farah kim
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049910-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"]}
score state display_name note r001 jules 1 paused r002 bruno 24 closed r003 ivan 22 pending r004 jules 29 pending r005 lina 17 active r006 chen 5 failed r007 alice 24 paused r008 ivan 16 ready r009 hana 25 ready r010 chen 19 closed
jules bruno ivan jules lina chen alice ivan hana chen
score state display_name note r001 lina 21 pending r002 hana 7 closed r003 gus 29 failed r004 bruno 22 paused r005 eli 23 pending r006 farah 12 ready r007 kim 15 failed
lina hana gus bruno eli farah kim
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049910
qwen/qwen3.7-plus
awkweave-0049911
The first row is a header. Print display_name for data rows whose score is greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 kim 4 pending r002 hana 16 failed r003 kim 2 active r004 hana 9 paused r005 eli 2 pending r006 ivan 23 paused r007 jules 9 failed r008 hana 24 paused
hana ivan hana
record_id display_name score state r001 chen 26 ready r002 jules 13 active r003 lina 4 active r004 kim 22 ready r005 chen 23 paused r006 kim 29 paused r007 lina 22 active r008 chen 3 active r009 chen 7 paused
chen jules kim chen kim lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049911-p1
Ignoring the header, print the display_name for any record where the score is strictly greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 kim 4 pending r002 hana 16 failed r003 kim 2 active r004 hana 9 paused r005 eli 2 pending r006 ivan 23 paused r007 jules 9 failed r008 hana 24 paused
hana ivan hana
record_id display_name score state r001 chen 26 ready r002 jules 13 active r003 lina 4 active r004 kim 22 ready r005 chen 23 paused r006 kim 29 paused r007 lina 22 active r008 chen 3 active r009 chen 7 paused
chen jules kim chen kim lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049911
qwen/qwen3.7-plus
awkweave-0049912
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
eli 25 active lina 19 ready chen 26 failed chen 13 failed bruno 8 closed gus 8 paused kim 25 ready kim 20 paused
eli lina chen chen bruno gus kim kim
gus 21 failed lina 17 paused kim 13 active dina 27 active eli 11 closed eli 30 ready ivan 6 closed kim 8 closed hana 10 pending lina 12 failed
gus lina kim dina eli eli ivan kim hana lina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049912-p1
Extract and print the first field from each tab-separated record.
BEGIN{FS=OFS="\t"}{print $1}
eli 25 active lina 19 ready chen 26 failed chen 13 failed bruno 8 closed gus 8 paused kim 25 ready kim 20 paused
eli lina chen chen bruno gus kim kim
gus 21 failed lina 17 paused kim 13 active dina 27 active eli 11 closed eli 30 ready ivan 6 closed kim 8 closed hana 10 pending lina 12 failed
gus lina kim dina eli eli ivan kim hana lina
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049912
qwen/qwen3.7-plus
awkweave-0049913
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
eli,18,paused gus,27,pending lina,10,failed jules,12,failed bruno,26,active alice,9,closed
eli gus jules bruno
chen,11,closed eli,21,paused jules,24,ready lina,4,paused hana,15,paused dina,1,failed chen,4,paused
eli jules hana
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049913-p1
For simple comma-separated input without quoted fields, output the first column only if the second column's value is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
eli,18,paused gus,27,pending lina,10,failed jules,12,failed bruno,26,active alice,9,closed
eli gus jules bruno
chen,11,closed eli,21,paused jules,24,ready lina,4,paused hana,15,paused dina,1,failed chen,4,paused
eli jules hana
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049913
qwen/qwen3.7-plus
awkweave-0049914
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
dina birch 73 bruno delta 88 hana fable 90 kim juniper 10 dina harbor 49 chen ember 42 dina ember 3 bruno harbor 33 eli grove 69 hana delta 94
dina birch 73 bruno delta 88 hana fable 90 kim juniper 10 dina harbor 49 chen ember 42 dina ember 3 bruno harbor 33 eli grove 69 hana delta 94
jules harbor 106 gus fable 92 ivan indigo 68 eli delta 15 lina harbor 80 gus fable 108 ivan delta 31
jules harbor 106 gus fable 92 ivan indigo 68 eli delta 15 lina harbor 80 gus fable 108 ivan delta 31
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049914-p1
Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space.
{$1=$1;print}
dina birch 73 bruno delta 88 hana fable 90 kim juniper 10 dina harbor 49 chen ember 42 dina ember 3 bruno harbor 33 eli grove 69 hana delta 94
dina birch 73 bruno delta 88 hana fable 90 kim juniper 10 dina harbor 49 chen ember 42 dina ember 3 bruno harbor 33 eli grove 69 hana delta 94
jules harbor 106 gus fable 92 ivan indigo 68 eli delta 15 lina harbor 80 gus fable 108 ivan delta 31
jules harbor 106 gus fable 92 ivan indigo 68 eli delta 15 lina harbor 80 gus fable 108 ivan delta 31
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049914
qwen/qwen3.7-plus
awkweave-0049915
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah juniper 67 pending bruno ember 115 paused alice juniper 113 active hana cobalt 115 failed lina ember 14 failed gus fable 107 pending
farah juniper 67 pending
alice cobalt 109 closed farah juniper 37 ready jules birch 107 pending gus amber 58 closed dina birch 41 ready dina indigo 23 closed
alice cobalt 109 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049915-p1
Identify and print 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}
farah juniper 67 pending bruno ember 115 paused alice juniper 113 active hana cobalt 115 failed lina ember 14 failed gus fable 107 pending
farah juniper 67 pending
alice cobalt 109 closed farah juniper 37 ready jules birch 107 pending gus amber 58 closed dina birch 41 ready dina indigo 23 closed
alice cobalt 109 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049915
qwen/qwen3.7-plus
awkweave-0049916
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
gus 86 lina 24 farah 116 hana 99 hana 52 eli 91 farah 53 farah 21 kim 24
gus 86 farah 116 hana 52 farah 53 kim 24
hana 40 ivan 5 dina 28 dina 72 lina 96 lina 54 eli 20 lina 99 hana 105
hana 40 dina 28 lina 96 eli 20 hana 105
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049916-p1
Print lines 1, 3, 5, and so on (every second line starting from the first).
NR%2==1
gus 86 lina 24 farah 116 hana 99 hana 52 eli 91 farah 53 farah 21 kim 24
gus 86 farah 116 hana 52 farah 53 kim 24
hana 40 ivan 5 dina 28 dina 72 lina 96 lina 54 eli 20 lina 99 hana 105
hana 40 dina 28 lina 96 eli 20 hana 105
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049916
qwen/qwen3.7-plus
awkweave-0049917
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta fable 97 alpha harbor 99 beta birch 99 alpha ember 8 alpha harbor 71 alpha amber 42 gamma fable 27 beta cobalt 85
6
gamma cobalt 29 gamma fable 29 beta grove 0 gamma ember 33 delta grove 106 alpha indigo 36
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049917-p1
Count the number of unique entries in column 2 and output only that total.
{if(!seen[$2]++)n++}END{print n+0}
beta fable 97 alpha harbor 99 beta birch 99 alpha ember 8 alpha harbor 71 alpha amber 42 gamma fable 27 beta cobalt 85
6
gamma cobalt 29 gamma fable 29 beta grove 0 gamma ember 33 delta grove 106 alpha indigo 36
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049917
qwen/qwen3.7-plus
awkweave-0049918
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 18 0 dina 14 23 alice 1 18 jules 16 18 lina 3 26 ivan 8 15
dina 0.61 alice 0.06 jules 0.89 lina 0.12 ivan 0.53
gus 15 0 gus 28 3 chen 24 11 jules 22 3 kim 10 26 farah 24 28
gus 9.33 chen 2.18 jules 7.33 kim 0.38 farah 0.86
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049918-p1
For every row where the third column is non-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 18 0 dina 14 23 alice 1 18 jules 16 18 lina 3 26 ivan 8 15
dina 0.61 alice 0.06 jules 0.89 lina 0.12 ivan 0.53
gus 15 0 gus 28 3 chen 24 11 jules 22 3 kim 10 26 farah 24 28
gus 9.33 chen 2.18 jules 7.33 kim 0.38 farah 0.86
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049918
qwen/qwen3.7-plus
awkweave-0049919
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]}
dina fable 21 dina harbor 2 chen indigo 28 hana juniper 1 jules grove 12 eli birch 22 dina cobalt 10 kim birch 2 farah juniper 20 ivan grove 25
chen indigo 28 ivan grove 25 eli birch 22
dina indigo 26 eli grove 13 kim fable 6 dina grove 10 alice fable 16 dina harbor 20 hana grove 29 chen delta 22 farah delta 14 hana delta 29
hana grove 29 hana delta 29 dina indigo 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049919-p1
Display the three records with the largest numeric values in the third column, 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]}
dina fable 21 dina harbor 2 chen indigo 28 hana juniper 1 jules grove 12 eli birch 22 dina cobalt 10 kim birch 2 farah juniper 20 ivan grove 25
chen indigo 28 ivan grove 25 eli birch 22
dina indigo 26 eli grove 13 kim fable 6 dina grove 10 alice fable 16 dina harbor 20 hana grove 29 chen delta 22 farah delta 14 hana delta 29
hana grove 29 hana delta 29 dina indigo 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049919
qwen/qwen3.7-plus
awkweave-0049920
Print column 4 followed by column 3 for every record.
{print $4, $3}
64 grove farah ready amber 61 cobalt hana active amber 1 harbor alice paused cobalt 94 grove hana paused harbor 30 ember chen pending harbor 116 grove eli pending ember 120 delta bruno failed harbor 54 juniper alice closed amber 102 fable hana closed juniper 74 amber gus closed indigo
ready farah active hana paused alice paused hana pending chen pending eli failed bruno closed alice closed hana closed gus
58 grove farah failed indigo 39 ember jules ready cobalt 75 birch bruno failed delta 53 amber kim active harbor 67 amber bruno active birch 9 fable jules ready harbor 108 grove hana closed amber 83 juniper lina active juniper
failed farah ready jules failed bruno active kim active bruno ready jules closed hana active lina
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049920-p1
Output the fourth column followed by the third column for each record.
{print $4, $3}
64 grove farah ready amber 61 cobalt hana active amber 1 harbor alice paused cobalt 94 grove hana paused harbor 30 ember chen pending harbor 116 grove eli pending ember 120 delta bruno failed harbor 54 juniper alice closed amber 102 fable hana closed juniper 74 amber gus closed indigo
ready farah active hana paused alice paused hana pending chen pending eli failed bruno closed alice closed hana closed gus
58 grove farah failed indigo 39 ember jules ready cobalt 75 birch bruno failed delta 53 amber kim active harbor 67 amber bruno active birch 9 fable jules ready harbor 108 grove hana closed amber 83 juniper lina active juniper
failed farah ready jules failed bruno active kim active bruno ready jules closed hana active lina
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049920
qwen/qwen3.7-plus
awkweave-0049921
Print the last field of every input line.
{print $NF}
alice harbor 100 juniper kim birch 31 fable dina delta 45 amber bruno ember 119 juniper chen birch 26 delta alice indigo 39 birch jules cobalt 9 fable ivan ember 96 delta
juniper fable amber juniper delta birch fable delta
farah juniper 82 fable chen juniper 113 grove alice fable 101 cobalt ivan delta 7 indigo hana grove 86 juniper jules harbor 115 harbor chen grove 14 indigo eli cobalt 77 cobalt
fable grove cobalt indigo juniper harbor indigo cobalt
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049921-p1
Print the final field from every line of input.
{print $NF}
alice harbor 100 juniper kim birch 31 fable dina delta 45 amber bruno ember 119 juniper chen birch 26 delta alice indigo 39 birch jules cobalt 9 fable ivan ember 96 delta
juniper fable amber juniper delta birch fable delta
farah juniper 82 fable chen juniper 113 grove alice fable 101 cobalt ivan delta 7 indigo hana grove 86 juniper jules harbor 115 harbor chen grove 14 indigo eli cobalt 77 cobalt
fable grove cobalt indigo juniper harbor indigo cobalt
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049921
qwen/qwen3.7-plus
awkweave-0049922
Print the complete records where column 1 is at least 79.
$1 >= 79
75 fable lina ivan 92 grove eli lina 15 fable dina farah 75 fable jules bruno 113 juniper gus jules 34 indigo bruno eli 81 indigo ivan jules 38 cobalt alice bruno 9 harbor dina kim
92 grove eli lina 113 juniper gus jules 81 indigo ivan jules
77 juniper gus jules 22 cobalt eli lina 46 harbor gus bruno 91 delta farah jules 65 ember kim chen 18 ember gus gus 22 delta hana dina 14 juniper hana farah 4 ember ivan eli 10 ember gus bruno
91 delta farah jules
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049922-p1
Output full records where the value in the first column is greater than or equal to 79.
$1 >= 79
75 fable lina ivan 92 grove eli lina 15 fable dina farah 75 fable jules bruno 113 juniper gus jules 34 indigo bruno eli 81 indigo ivan jules 38 cobalt alice bruno 9 harbor dina kim
92 grove eli lina 113 juniper gus jules 81 indigo ivan jules
77 juniper gus jules 22 cobalt eli lina 46 harbor gus bruno 91 delta farah jules 65 ember kim chen 18 ember gus gus 22 delta hana dina 14 juniper hana farah 4 ember ivan eli 10 ember gus bruno
91 delta farah jules
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049922
qwen/qwen3.7-plus
awkweave-0049923
Show whole lines whose 2nd field is between 8 and 20, inclusive.
$2 >= 8 && $2 <= 20
pending 4 jules bruno closed 22 jules gus failed 20 hana gus ready 2 eli gus paused 12 farah gus paused 3 lina jules
failed 20 hana gus paused 12 farah gus
closed 29 gus farah active 12 hana eli active 21 eli farah pending 7 dina chen ready 13 lina farah pending 18 kim jules ready 24 eli jules
active 12 hana eli ready 13 lina farah pending 18 kim jules
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049923-p1
Display entire lines where the second field falls within the inclusive range of 8 to 20.
$2 >= 8 && $2 <= 20
pending 4 jules bruno closed 22 jules gus failed 20 hana gus ready 2 eli gus paused 12 farah gus paused 3 lina jules
failed 20 hana gus paused 12 farah gus
closed 29 gus farah active 12 hana eli active 21 eli farah pending 7 dina chen ready 13 lina farah pending 18 kim jules ready 24 eli jules
active 12 hana eli ready 13 lina farah pending 18 kim jules
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049923
qwen/qwen3.7-plus
awkweave-0049924
Print column 4 only for rows where column 2 is exactly failed.
$2 == "failed"{print $4}
58 paused birch lina 119 active delta bruno 81 paused birch kim 8 closed delta alice 55 pending amber ivan 17 active birch dina 20 pending birch dina 94 failed cobalt gus 111 closed juniper hana
gus
104 failed fable bruno 84 closed indigo dina 49 paused juniper lina 78 failed harbor gus 11 active delta lina 107 failed juniper dina 73 pending birch farah 99 closed delta jules 58 active harbor ivan
bruno gus dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049924-p1
Output only the fourth column for rows where the second column is exactly 'failed'.
$2 == "failed"{print $4}
58 paused birch lina 119 active delta bruno 81 paused birch kim 8 closed delta alice 55 pending amber ivan 17 active birch dina 20 pending birch dina 94 failed cobalt gus 111 closed juniper hana
gus
104 failed fable bruno 84 closed indigo dina 49 paused juniper lina 78 failed harbor gus 11 active delta lina 107 failed juniper dina 73 pending birch farah 99 closed delta jules 58 active harbor ivan
bruno gus dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049924
qwen/qwen3.7-plus
awkweave-0049925
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
DEBUG 45 birch WARN 75 harbor ERROR 66 birch DEBUG 84 birch INFO 7 birch ERROR 29 fable WARN 42 ember
ERROR 66 birch ERROR 29 fable
WARN 26 indigo ERROR 88 ember WARN 78 juniper ERROR 68 fable INFO 96 cobalt DEBUG 97 fable DEBUG 85 cobalt ERROR 26 birch
ERROR 88 ember ERROR 68 fable ERROR 26 birch
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049925-p1
Print all fields from lines where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
DEBUG 45 birch WARN 75 harbor ERROR 66 birch DEBUG 84 birch INFO 7 birch ERROR 29 fable WARN 42 ember
ERROR 66 birch ERROR 29 fable
WARN 26 indigo ERROR 88 ember WARN 78 juniper ERROR 68 fable INFO 96 cobalt DEBUG 97 fable DEBUG 85 cobalt ERROR 26 birch
ERROR 88 ember ERROR 68 fable ERROR 26 birch
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049925
qwen/qwen3.7-plus
awkweave-0049926
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
indigo 3 active harbor 67 closed indigo 70 paused birch 65 ready cobalt 25 ready harbor 97 closed fable 26 paused juniper 45 failed juniper 999 active
indigo 3 active harbor 67 closed indigo 70 paused birch 65 ready cobalt 25 ready harbor 97 closed fable 26 paused
fable 14 failed cobalt 101 ready ember 82 pending birch 70 closed birch 110 closed ember 40 paused amber 65 paused harbor 13 paused fable 81 active juniper 999 active
fable 14 failed cobalt 101 ready ember 82 pending birch 70 closed birch 110 closed ember 40 paused amber 65 paused harbor 13 paused fable 81 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049926-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
indigo 3 active harbor 67 closed indigo 70 paused birch 65 ready cobalt 25 ready harbor 97 closed fable 26 paused juniper 45 failed juniper 999 active
indigo 3 active harbor 67 closed indigo 70 paused birch 65 ready cobalt 25 ready harbor 97 closed fable 26 paused
fable 14 failed cobalt 101 ready ember 82 pending birch 70 closed birch 110 closed ember 40 paused amber 65 paused harbor 13 paused fable 81 active juniper 999 active
fable 14 failed cobalt 101 ready ember 82 pending birch 70 closed birch 110 closed ember 40 paused amber 65 paused harbor 13 paused fable 81 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049926
qwen/qwen3.7-plus
awkweave-0049927
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
alice fable 120 jules delta 84 eli ember 52 lina indigo 48 alice birch 82 farah delta 56 jules harbor 5 hana fable 46 eli ember 108 dina grove 0
jules delta 84 eli ember 52 lina indigo 48
bruno fable 54 chen cobalt 57 lina harbor 6 gus indigo 105 dina birch 22 bruno grove 14 dina amber 42 eli birch 18
chen cobalt 57 lina harbor 6 gus indigo 105
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049927-p1
Print lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
alice fable 120 jules delta 84 eli ember 52 lina indigo 48 alice birch 82 farah delta 56 jules harbor 5 hana fable 46 eli ember 108 dina grove 0
jules delta 84 eli ember 52 lina indigo 48
bruno fable 54 chen cobalt 57 lina harbor 6 gus indigo 105 dina birch 22 bruno grove 14 dina amber 42 eli birch 18
chen cobalt 57 lina harbor 6 gus indigo 105
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049927
qwen/qwen3.7-plus
awkweave-0049928
Output only the first 3 records.
NR <= 3
ivan 28 birch chen 56 harbor dina 38 harbor eli 81 fable bruno 9 indigo gus 14 juniper dina 12 indigo hana 50 birch lina 57 delta lina 93 harbor
ivan 28 birch chen 56 harbor dina 38 harbor
ivan 116 juniper bruno 114 harbor farah 69 fable kim 38 cobalt jules 55 indigo jules 53 ember bruno 115 indigo hana 14 harbor lina 40 ember
ivan 116 juniper bruno 114 harbor farah 69 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049928-p1
Output only the first three records.
NR <= 3
ivan 28 birch chen 56 harbor dina 38 harbor eli 81 fable bruno 9 indigo gus 14 juniper dina 12 indigo hana 50 birch lina 57 delta lina 93 harbor
ivan 28 birch chen 56 harbor dina 38 harbor
ivan 116 juniper bruno 114 harbor farah 69 fable kim 38 cobalt jules 55 indigo jules 53 ember bruno 115 indigo hana 14 harbor lina 40 ember
ivan 116 juniper bruno 114 harbor farah 69 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049928
qwen/qwen3.7-plus
awkweave-0049929
Skip the first line and print every remaining line unchanged.
NR > 1
alice 37 birch farah 42 indigo lina 67 fable gus 27 amber chen 76 fable eli 22 cobalt dina 116 juniper kim 88 cobalt gus 16 juniper lina 4 indigo
farah 42 indigo lina 67 fable gus 27 amber chen 76 fable eli 22 cobalt dina 116 juniper kim 88 cobalt gus 16 juniper lina 4 indigo
kim 101 fable gus 59 cobalt kim 56 juniper hana 78 birch dina 120 cobalt dina 5 grove hana 14 birch chen 46 cobalt hana 6 amber
gus 59 cobalt kim 56 juniper hana 78 birch dina 120 cobalt dina 5 grove hana 14 birch chen 46 cobalt hana 6 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049929-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
alice 37 birch farah 42 indigo lina 67 fable gus 27 amber chen 76 fable eli 22 cobalt dina 116 juniper kim 88 cobalt gus 16 juniper lina 4 indigo
farah 42 indigo lina 67 fable gus 27 amber chen 76 fable eli 22 cobalt dina 116 juniper kim 88 cobalt gus 16 juniper lina 4 indigo
kim 101 fable gus 59 cobalt kim 56 juniper hana 78 birch dina 120 cobalt dina 5 grove hana 14 birch chen 46 cobalt hana 6 amber
gus 59 cobalt kim 56 juniper hana 78 birch dina 120 cobalt dina 5 grove hana 14 birch chen 46 cobalt hana 6 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049929
qwen/qwen3.7-plus
awkweave-0049930
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
farah active 53 hana closed 120 eli pending 81 alice pending 99 kim paused 99 alice pending 56 eli paused 68 dina paused 50 alice pending 37 jules active 73
4
ivan ready 41 chen closed 70 kim active 110 gus paused 114 lina closed 120 ivan closed 2
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049930-p1
Count the occurrences of 'pending' in the second column, outputting 0 if none are found.
$2 == "pending"{n++}END{print n+0}
farah active 53 hana closed 120 eli pending 81 alice pending 99 kim paused 99 alice pending 56 eli paused 68 dina paused 50 alice pending 37 jules active 73
4
ivan ready 41 chen closed 70 kim active 110 gus paused 114 lina closed 120 ivan closed 2
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049930
qwen/qwen3.7-plus
awkweave-0049931
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
3 birch hana 30 indigo bruno 26 indigo ivan 9 delta gus 7 harbor hana 29 cobalt alice 25 grove ivan 24 amber lina 4 indigo dina 28 delta lina
185
26 indigo dina 20 cobalt jules 20 ember ivan 22 birch kim 5 cobalt jules 28 ember hana 7 indigo hana 11 juniper gus
139
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049931-p1
Compute and display the total sum of all integer values found in the first column.
{s+=$1}END{print s+0}
3 birch hana 30 indigo bruno 26 indigo ivan 9 delta gus 7 harbor hana 29 cobalt alice 25 grove ivan 24 amber lina 4 indigo dina 28 delta lina
185
26 indigo dina 20 cobalt jules 20 ember ivan 22 birch kim 5 cobalt jules 28 ember hana 7 indigo hana 11 juniper gus
139
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049931
qwen/qwen3.7-plus
awkweave-0049932
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 16 alice delta 30 jules delta 25 chen amber 27 bruno indigo 21 eli indigo 4 dina grove 20 jules indigo 1 hana ember 6 eli amber 25 lina
17.50
indigo 19 hana fable 1 alice juniper 16 dina harbor 26 bruno juniper 14 dina cobalt 2 bruno
13.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049932-p1
Output the average of the values in column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 16 alice delta 30 jules delta 25 chen amber 27 bruno indigo 21 eli indigo 4 dina grove 20 jules indigo 1 hana ember 6 eli amber 25 lina
17.50
indigo 19 hana fable 1 alice juniper 16 dina harbor 26 bruno juniper 14 dina cobalt 2 bruno
13.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049932
qwen/qwen3.7-plus
awkweave-0049933
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 4 dina ember 1 kim amber 19 eli harbor 25 jules cobalt 19 gus birch 27 lina grove 23 farah ember 24 ivan
1
amber 15 eli indigo 24 dina delta 19 lina cobalt 11 bruno birch 23 jules ember 12 lina ember 11 ivan cobalt 30 jules birch 24 jules
11
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049933-p1
Identify and print the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 4 dina ember 1 kim amber 19 eli harbor 25 jules cobalt 19 gus birch 27 lina grove 23 farah ember 24 ivan
1
amber 15 eli indigo 24 dina delta 19 lina cobalt 11 bruno birch 23 jules ember 12 lina ember 11 ivan cobalt 30 jules birch 24 jules
11
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049933
qwen/qwen3.7-plus
awkweave-0049934
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
21 delta kim 13 indigo lina 21 amber bruno 15 ember gus 22 grove hana 12 ember hana 18 delta ivan 2 delta bruno 27 harbor alice
27
16 amber alice 6 fable bruno 6 juniper gus 24 birch chen 9 cobalt chen 25 cobalt farah 7 delta hana 29 birch ivan
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049934-p1
Identify and print the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
21 delta kim 13 indigo lina 21 amber bruno 15 ember gus 22 grove hana 12 ember hana 18 delta ivan 2 delta bruno 27 harbor alice
27
16 amber alice 6 fable bruno 6 juniper gus 24 birch chen 9 cobalt chen 25 cobalt farah 7 delta hana 29 birch ivan
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049934
qwen/qwen3.7-plus
awkweave-0049935
Count all input records and print the total.
END{print NR}
jules 114 hana 118 chen 81 jules 97 gus 21 gus 92
6
hana 49 farah 38 dina 118 jules 101 kim 83 eli 19 farah 45 chen 99 eli 73
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049935-p1
Count the total number of input records and print the result.
END{print NR}
jules 114 hana 118 chen 81 jules 97 gus 21 gus 92
6
hana 49 farah 38 dina 118 jules 101 kim 83 eli 19 farah 45 chen 99 eli 73
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049935
qwen/qwen3.7-plus
awkweave-0049936
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules amber 18 ivan cobalt 92 kim juniper 72 gus fable 65 kim amber 106 alice indigo 59 kim juniper 72 bruno grove 40 ivan amber 95 lina delta 112 jules ember 45
jules amber 18 ivan cobalt 92 kim juniper 72 gus fable 65 kim amber 106 alice indigo 59 bruno grove 40 ivan amber 95 lina delta 112 jules ember 45
dina delta 97 lina ember 12 gus juniper 32 dina fable 37 gus juniper 26 chen indigo 19 dina fable 37 chen birch 84 kim harbor 15
dina delta 97 lina ember 12 gus juniper 32 dina fable 37 gus juniper 26 chen indigo 19 chen birch 84 kim harbor 15
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049936-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
jules amber 18 ivan cobalt 92 kim juniper 72 gus fable 65 kim amber 106 alice indigo 59 kim juniper 72 bruno grove 40 ivan amber 95 lina delta 112 jules ember 45
jules amber 18 ivan cobalt 92 kim juniper 72 gus fable 65 kim amber 106 alice indigo 59 bruno grove 40 ivan amber 95 lina delta 112 jules ember 45
dina delta 97 lina ember 12 gus juniper 32 dina fable 37 gus juniper 26 chen indigo 19 dina fable 37 chen birch 84 kim harbor 15
dina delta 97 lina ember 12 gus juniper 32 dina fable 37 gus juniper 26 chen indigo 19 chen birch 84 kim harbor 15
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049936
qwen/qwen3.7-plus
awkweave-0049937
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
dina delta 102 kim delta 99 eli grove 48 ivan ember 75 alice delta 83 ivan birch 49
dina delta 102 kim delta 99 eli grove 48 ivan ember 75 alice delta 83 ivan birch 49
dina fable 41 chen fable 31 farah fable 1 gus juniper 31 alice birch 58 eli ember 15
dina fable 41 chen fable 31 farah fable 1 alice birch 58 eli ember 15
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049937-p1
Retain only the first row for every unique value in column 3, preserving the original input sequence.
!seen[$3]++
dina delta 102 kim delta 99 eli grove 48 ivan ember 75 alice delta 83 ivan birch 49
dina delta 102 kim delta 99 eli grove 48 ivan ember 75 alice delta 83 ivan birch 49
dina fable 41 chen fable 31 farah fable 1 gus juniper 31 alice birch 58 eli ember 15
dina fable 41 chen fable 31 farah fable 1 alice birch 58 eli ember 15
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049937
qwen/qwen3.7-plus
awkweave-0049938
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 16 delta bruno 14 harbor eli 6 juniper lina 10 indigo dina 19 grove lina 22 harbor kim 4 fable
ivan 16 bruno 30 eli 36 lina 46 dina 65 lina 87 kim 91
kim 12 grove jules 11 indigo lina 15 fable eli 6 cobalt alice 29 juniper chen 9 amber
kim 12 jules 23 lina 38 eli 44 alice 73 chen 82
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049938-p1
For each record, output the value from column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 16 delta bruno 14 harbor eli 6 juniper lina 10 indigo dina 19 grove lina 22 harbor kim 4 fable
ivan 16 bruno 30 eli 36 lina 46 dina 65 lina 87 kim 91
kim 12 grove jules 11 indigo lina 15 fable eli 6 cobalt alice 29 juniper chen 9 amber
kim 12 jules 23 lina 38 eli 44 alice 73 chen 82
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049938
qwen/qwen3.7-plus
awkweave-0049939
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 21 18 indigo jules 17 13 delta kim 11 30 birch alice 25 11 delta jules 26 29 grove jules 21 30 indigo
hana 39 jules 30 kim 41 alice 36 jules 55 jules 51
alice 8 8 juniper farah 20 16 juniper kim 12 4 cobalt jules 9 3 amber dina 19 29 grove farah 22 16 fable kim 29 18 amber gus 15 20 amber alice 27 27 delta bruno 27 3 grove
alice 16 farah 36 kim 16 jules 12 dina 48 farah 38 kim 47 gus 35 alice 54 bruno 30
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049939-p1
For each row, print the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
hana 21 18 indigo jules 17 13 delta kim 11 30 birch alice 25 11 delta jules 26 29 grove jules 21 30 indigo
hana 39 jules 30 kim 41 alice 36 jules 55 jules 51
alice 8 8 juniper farah 20 16 juniper kim 12 4 cobalt jules 9 3 amber dina 19 29 grove farah 22 16 fable kim 29 18 amber gus 15 20 amber alice 27 27 delta bruno 27 3 grove
alice 16 farah 36 kim 16 jules 12 dina 48 farah 38 kim 47 gus 35 alice 54 bruno 30
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049939
qwen/qwen3.7-plus
awkweave-0049940
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
dina 9 ivan 21 gus 27 gus 2 alice 13 alice 26 dina 20 ivan 1 jules 13
dina fail ivan fail gus pass gus fail alice fail alice pass dina fail ivan fail jules fail
farah 16 eli 13 eli 19 dina 8 lina 4 ivan 11 chen 18
farah fail eli fail eli fail dina fail lina fail ivan fail chen fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049940-p1
Print the value from column 1 followed by 'pass' if column 2 is 22 or greater, otherwise print 'fail'.
{print $1,($2>=22?"pass":"fail")}
dina 9 ivan 21 gus 27 gus 2 alice 13 alice 26 dina 20 ivan 1 jules 13
dina fail ivan fail gus pass gus fail alice fail alice pass dina fail ivan fail jules fail
farah 16 eli 13 eli 19 dina 8 lina 4 ivan 11 chen 18
farah fail eli fail eli fail dina fail lina fail ivan fail chen fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049940
qwen/qwen3.7-plus
awkweave-0049941
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina juniper 41 gus cobalt 35 ivan juniper 4 chen juniper 24 lina harbor 63 dina delta 82 gus harbor 18 hana amber 28
DINA GUS IVAN CHEN LINA DINA GUS HANA
ivan juniper 19 ivan cobalt 22 farah indigo 6 lina grove 47 jules ember 84 eli juniper 18 gus delta 43 jules indigo 72
IVAN IVAN FARAH LINA JULES ELI GUS JULES
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049941-p1
Transform the text in column 1 to uppercase and output only that modified column.
{print toupper($1)}
dina juniper 41 gus cobalt 35 ivan juniper 4 chen juniper 24 lina harbor 63 dina delta 82 gus harbor 18 hana amber 28
DINA GUS IVAN CHEN LINA DINA GUS HANA
ivan juniper 19 ivan cobalt 22 farah indigo 6 lina grove 47 jules ember 84 eli juniper 18 gus delta 43 jules indigo 72
IVAN IVAN FARAH LINA JULES ELI GUS JULES
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049941
qwen/qwen3.7-plus
awkweave-0049942
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
amber 56 birch 4 amber 20 indigo 59 juniper 39 grove 107 cobalt 71 indigo 55 indigo 45
ber rch ber digo nipe ove balt digo digo
cobalt 93 ember 113 indigo 76 delta 50 delta 72 grove 67 cobalt 3 ember 115 delta 44
balt ber digo lta lta ove balt ber lta
substring
1
train
original-grammar
CC-BY-4.0
null
null