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-0046832-p1
For simple comma-separated input without quoted commas, print the first column if the second column is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
farah,21,failed jules,2,active hana,9,pending dina,29,ready bruno,22,active alice,10,pending ivan,18,closed
farah dina bruno alice ivan
ivan,19,pending alice,11,closed farah,18,pending dina,23,active eli,25,active gus,23,closed eli,30,active
ivan alice farah dina eli gus eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046832
qwen/qwen3.7-plus
awkweave-0046833
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno cobalt 83 alice birch 17 hana ember 71 chen grove 66 hana cobalt 84 lina cobalt 15 farah juniper 49
bruno cobalt 83 alice birch 17 hana ember 71 chen grove 66 hana cobalt 84 lina cobalt 15 farah juniper 49
bruno juniper 93 bruno cobalt 77 alice indigo 9 lina ember 12 dina delta 71 kim birch 100 hana ember 47 chen harbor 49
bruno juniper 93 bruno cobalt 77 alice indigo 9 lina ember 12 dina delta 71 kim birch 100 hana ember 47 chen harbor 49
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046833-p1
Remove leading and trailing whitespace and reduce internal whitespace sequences to single spaces.
{$1=$1;print}
bruno cobalt 83 alice birch 17 hana ember 71 chen grove 66 hana cobalt 84 lina cobalt 15 farah juniper 49
bruno cobalt 83 alice birch 17 hana ember 71 chen grove 66 hana cobalt 84 lina cobalt 15 farah juniper 49
bruno juniper 93 bruno cobalt 77 alice indigo 9 lina ember 12 dina delta 71 kim birch 100 hana ember 47 chen harbor 49
bruno juniper 93 bruno cobalt 77 alice indigo 9 lina ember 12 dina delta 71 kim birch 100 hana ember 47 chen harbor 49
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046833
qwen/qwen3.7-plus
awkweave-0046834
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno grove 95 closed chen cobalt 39 paused ivan juniper 23 active alice delta 72 pending alice grove 37 ready alice fable 66 paused farah ember 48 ready dina amber 102 active dina indigo 18 ready gus ember 57 closed
ivan juniper 23 active
hana ember 3 pending dina delta 31 pending ivan amber 110 closed jules ember 20 closed bruno grove 81 pending ivan cobalt 6 closed farah ember 29 closed farah ember 62 pending lina juniper 89 active
bruno grove 81 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046834-p1
Identify and print the longest input line, selecting the earliest one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
bruno grove 95 closed chen cobalt 39 paused ivan juniper 23 active alice delta 72 pending alice grove 37 ready alice fable 66 paused farah ember 48 ready dina amber 102 active dina indigo 18 ready gus ember 57 closed
ivan juniper 23 active
hana ember 3 pending dina delta 31 pending ivan amber 110 closed jules ember 20 closed bruno grove 81 pending ivan cobalt 6 closed farah ember 29 closed farah ember 62 pending lina juniper 89 active
bruno grove 81 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046834
qwen/qwen3.7-plus
awkweave-0046835
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
bruno 54 alice 89 alice 59 alice 76 alice 98 jules 59
bruno 54 alice 59 alice 98
hana 86 jules 102 hana 83 dina 53 lina 70 hana 43 dina 69
hana 86 hana 83 lina 70 dina 69
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046835-p1
Print every second line, beginning with line 1 (i.e., lines 1, 3, etc.).
NR%2==1
bruno 54 alice 89 alice 59 alice 76 alice 98 jules 59
bruno 54 alice 59 alice 98
hana 86 jules 102 hana 83 dina 53 lina 70 hana 43 dina 69
hana 86 hana 83 lina 70 dina 69
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046835
qwen/qwen3.7-plus
awkweave-0046836
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha fable 48 delta birch 17 alpha birch 72 beta birch 104 gamma juniper 99 gamma birch 93 delta amber 19 gamma indigo 67
5
delta grove 52 delta cobalt 90 beta birch 45 gamma ember 3 gamma fable 108 gamma indigo 99 gamma ember 6 gamma grove 82 delta amber 11
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046836-p1
Calculate the number of unique entries in the second column and output just that total.
{if(!seen[$2]++)n++}END{print n+0}
alpha fable 48 delta birch 17 alpha birch 72 beta birch 104 gamma juniper 99 gamma birch 93 delta amber 19 gamma indigo 67
5
delta grove 52 delta cobalt 90 beta birch 45 gamma ember 3 gamma fable 108 gamma indigo 99 gamma ember 6 gamma grove 82 delta amber 11
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046836
qwen/qwen3.7-plus
awkweave-0046837
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 11 0 lina 26 28 chen 22 7 bruno 11 12 chen 13 11 bruno 12 16
lina 0.93 chen 3.14 bruno 0.92 chen 1.18 bruno 0.75
jules 21 0 bruno 19 30 hana 8 15 chen 10 28 gus 12 26 alice 4 5
bruno 0.63 hana 0.53 chen 0.36 gus 0.46 alice 0.80
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046837-p1
For every row where the third column is not zero, display the first and second columns along with the result of dividing the second by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 11 0 lina 26 28 chen 22 7 bruno 11 12 chen 13 11 bruno 12 16
lina 0.93 chen 3.14 bruno 0.92 chen 1.18 bruno 0.75
jules 21 0 bruno 19 30 hana 8 15 chen 10 28 gus 12 26 alice 4 5
bruno 0.63 hana 0.53 chen 0.36 gus 0.46 alice 0.80
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046837
qwen/qwen3.7-plus
awkweave-0046838
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 amber 25 hana harbor 23 gus delta 8 lina ember 23 lina indigo 28 gus amber 28 farah ember 7 bruno delta 4 farah fable 3 hana birch 23
lina indigo 28 gus amber 28 bruno amber 25
chen amber 19 gus ember 27 alice fable 12 hana cobalt 9 hana ember 27 kim indigo 1 eli fable 21
gus ember 27 hana ember 27 eli fable 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046838-p1
Output the three full rows with the largest numeric values in the third column, sorted in descending order; maintain the original input sequence 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 amber 25 hana harbor 23 gus delta 8 lina ember 23 lina indigo 28 gus amber 28 farah ember 7 bruno delta 4 farah fable 3 hana birch 23
lina indigo 28 gus amber 28 bruno amber 25
chen amber 19 gus ember 27 alice fable 12 hana cobalt 9 hana ember 27 kim indigo 1 eli fable 21
gus ember 27 hana ember 27 eli fable 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046838
qwen/qwen3.7-plus
awkweave-0046839
Select the 2nd and 1st fields in that order.
{print $2, $1}
hana delta kim 98 lina gus amber dina 101 eli kim amber bruno 31 hana jules cobalt kim 26 chen eli delta alice 49 kim chen amber dina 53 farah jules juniper eli 64 kim hana birch lina 45 eli
delta hana amber gus amber kim cobalt jules delta eli amber chen juniper jules birch hana
hana birch alice 21 ivan eli ember bruno 107 hana chen indigo hana 64 bruno chen cobalt alice 59 dina dina indigo dina 89 eli eli ember farah 49 ivan lina harbor kim 116 chen farah indigo gus 18 bruno ivan harbor ivan 101 ivan ivan birch hana 3 hana
birch hana ember eli indigo chen cobalt chen indigo dina ember eli harbor lina indigo farah harbor ivan birch ivan
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046839-p1
Extract and display the second field followed by the first field.
{print $2, $1}
hana delta kim 98 lina gus amber dina 101 eli kim amber bruno 31 hana jules cobalt kim 26 chen eli delta alice 49 kim chen amber dina 53 farah jules juniper eli 64 kim hana birch lina 45 eli
delta hana amber gus amber kim cobalt jules delta eli amber chen juniper jules birch hana
hana birch alice 21 ivan eli ember bruno 107 hana chen indigo hana 64 bruno chen cobalt alice 59 dina dina indigo dina 89 eli eli ember farah 49 ivan lina harbor kim 116 chen farah indigo gus 18 bruno ivan harbor ivan 101 ivan ivan birch hana 3 hana
birch hana ember eli indigo chen cobalt chen indigo dina ember eli harbor lina indigo farah harbor ivan birch ivan
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046839
qwen/qwen3.7-plus
awkweave-0046840
Print the last field of every input line.
{print $NF}
active grove failed 51 dina jules birch closed cobalt failed 55 bruno gus birch paused indigo closed 25 hana hana fable paused ember pending 79 bruno bruno delta paused delta active 64 hana ivan grove closed grove active 24 dina gus cobalt closed indigo failed 73 lina lina fable
birch birch fable delta grove cobalt fable
failed fable paused 103 jules hana cobalt ready indigo paused 9 kim chen indigo active birch ready 101 alice bruno delta paused juniper active 93 lina ivan amber ready harbor closed 98 bruno bruno amber active delta active 51 hana chen amber closed delta active 1 alice farah juniper active ember closed 118 bruno hana j...
cobalt indigo delta amber amber amber juniper juniper juniper cobalt
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046840-p1
Output the final field from each line of input.
{print $NF}
active grove failed 51 dina jules birch closed cobalt failed 55 bruno gus birch paused indigo closed 25 hana hana fable paused ember pending 79 bruno bruno delta paused delta active 64 hana ivan grove closed grove active 24 dina gus cobalt closed indigo failed 73 lina lina fable
birch birch fable delta grove cobalt fable
failed fable paused 103 jules hana cobalt ready indigo paused 9 kim chen indigo active birch ready 101 alice bruno delta paused juniper active 93 lina ivan amber ready harbor closed 98 bruno bruno amber active delta active 51 hana chen amber closed delta active 1 alice farah juniper active ember closed 118 bruno hana j...
cobalt indigo delta amber amber amber juniper juniper juniper cobalt
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046840
qwen/qwen3.7-plus
awkweave-0046841
Print the complete records where column 3 is less than 32.
$3 < 32
active eli 71 delta failed closed lina 26 grove active closed eli 68 birch pending ready eli 119 grove active paused chen 27 amber failed failed farah 7 harbor ready ready kim 39 harbor active failed kim 49 ember closed ready bruno 56 delta closed ready chen 120 amber ready
closed lina 26 grove active paused chen 27 amber failed failed farah 7 harbor ready
closed bruno 116 grove ready closed alice 63 harbor ready pending eli 29 amber active active bruno 114 fable active ready farah 72 indigo paused failed alice 23 birch paused
pending eli 29 amber active failed alice 23 birch paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046841-p1
Display the entire records for which the value in the third column is strictly less than 32.
$3 < 32
active eli 71 delta failed closed lina 26 grove active closed eli 68 birch pending ready eli 119 grove active paused chen 27 amber failed failed farah 7 harbor ready ready kim 39 harbor active failed kim 49 ember closed ready bruno 56 delta closed ready chen 120 amber ready
closed lina 26 grove active paused chen 27 amber failed failed farah 7 harbor ready
closed bruno 116 grove ready closed alice 63 harbor ready pending eli 29 amber active active bruno 114 fable active ready farah 72 indigo paused failed alice 23 birch paused
pending eli 29 amber active failed alice 23 birch paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046841
qwen/qwen3.7-plus
awkweave-0046842
Show whole lines whose 3rd field is between 4 and 29, inclusive.
$3 >= 4 && $3 <= 29
ivan pending 13 pending chen closed 10 paused eli pending 5 paused kim closed 30 failed chen ready 2 pending hana paused 24 active bruno failed 8 failed gus ready 17 paused chen pending 21 active hana active 19 ready
ivan pending 13 pending chen closed 10 paused eli pending 5 paused hana paused 24 active bruno failed 8 failed gus ready 17 paused chen pending 21 active hana active 19 ready
kim pending 3 pending dina closed 22 failed lina failed 16 closed chen active 30 closed farah failed 23 closed kim pending 24 failed ivan active 5 active eli closed 17 pending lina paused 18 ready kim pending 22 ready
dina closed 22 failed lina failed 16 closed farah failed 23 closed kim pending 24 failed ivan active 5 active eli closed 17 pending lina paused 18 ready kim pending 22 ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046842-p1
Print complete lines where the third field falls within the range of 4 to 29, inclusive.
$3 >= 4 && $3 <= 29
ivan pending 13 pending chen closed 10 paused eli pending 5 paused kim closed 30 failed chen ready 2 pending hana paused 24 active bruno failed 8 failed gus ready 17 paused chen pending 21 active hana active 19 ready
ivan pending 13 pending chen closed 10 paused eli pending 5 paused hana paused 24 active bruno failed 8 failed gus ready 17 paused chen pending 21 active hana active 19 ready
kim pending 3 pending dina closed 22 failed lina failed 16 closed chen active 30 closed farah failed 23 closed kim pending 24 failed ivan active 5 active eli closed 17 pending lina paused 18 ready kim pending 22 ready
dina closed 22 failed lina failed 16 closed farah failed 23 closed kim pending 24 failed ivan active 5 active eli closed 17 pending lina paused 18 ready kim pending 22 ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046842
qwen/qwen3.7-plus
awkweave-0046843
Print column 3 only for rows where column 1 is exactly failed.
$1 == "failed"{print $3}
closed delta farah 53 paused harbor bruno 100 paused birch alice 55 ready indigo eli 112 closed cobalt ivan 74 failed fable alice 21 active fable bruno 65 active juniper dina 77
alice
failed juniper jules 9 active birch hana 106 closed indigo farah 63 failed fable ivan 84 ready amber farah 6 failed grove hana 110 active grove eli 66
jules ivan hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046843-p1
Output only the third column for rows where the first column matches the string 'failed' exactly.
$1 == "failed"{print $3}
closed delta farah 53 paused harbor bruno 100 paused birch alice 55 ready indigo eli 112 closed cobalt ivan 74 failed fable alice 21 active fable bruno 65 active juniper dina 77
alice
failed juniper jules 9 active birch hana 106 closed indigo farah 63 failed fable ivan 84 ready amber farah 6 failed grove hana 110 active grove eli 66
jules ivan hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046843
qwen/qwen3.7-plus
awkweave-0046844
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
78 WARN birch 32 DEBUG delta 80 WARN harbor 111 DEBUG juniper 31 ERROR harbor 66 DEBUG amber
78 WARN birch 80 WARN harbor
116 DEBUG birch 107 INFO cobalt 61 INFO harbor 36 INFO amber 88 INFO harbor 56 WARN birch 69 WARN indigo 30 DEBUG juniper 25 DEBUG birch
56 WARN birch 69 WARN indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046844-p1
Print all fields from any line where the second field starts with the prefix 'WARN'.
$2 ~ /^WARN/
78 WARN birch 32 DEBUG delta 80 WARN harbor 111 DEBUG juniper 31 ERROR harbor 66 DEBUG amber
78 WARN birch 80 WARN harbor
116 DEBUG birch 107 INFO cobalt 61 INFO harbor 36 INFO amber 88 INFO harbor 56 WARN birch 69 WARN indigo 30 DEBUG juniper 25 DEBUG birch
56 WARN birch 69 WARN indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046844
qwen/qwen3.7-plus
awkweave-0046845
Print every line except those containing the exact text fable.
$0 !~ /fable/
amber 4 active delta 58 active fable 45 active delta 78 failed delta 45 closed grove 7 active fable 16 pending birch 21 pending juniper 80 ready fable 999 active
amber 4 active delta 58 active delta 78 failed delta 45 closed grove 7 active birch 21 pending juniper 80 ready
birch 96 closed ember 55 paused indigo 101 paused indigo 49 ready grove 95 failed delta 46 pending amber 43 closed delta 60 ready cobalt 48 failed fable 103 failed fable 999 active
birch 96 closed ember 55 paused indigo 101 paused indigo 49 ready grove 95 failed delta 46 pending amber 43 closed delta 60 ready cobalt 48 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046845-p1
Output every line except those that contain the exact string 'fable'.
$0 !~ /fable/
amber 4 active delta 58 active fable 45 active delta 78 failed delta 45 closed grove 7 active fable 16 pending birch 21 pending juniper 80 ready fable 999 active
amber 4 active delta 58 active delta 78 failed delta 45 closed grove 7 active birch 21 pending juniper 80 ready
birch 96 closed ember 55 paused indigo 101 paused indigo 49 ready grove 95 failed delta 46 pending amber 43 closed delta 60 ready cobalt 48 failed fable 103 failed fable 999 active
birch 96 closed ember 55 paused indigo 101 paused indigo 49 ready grove 95 failed delta 46 pending amber 43 closed delta 60 ready cobalt 48 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046845
qwen/qwen3.7-plus
awkweave-0046846
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
ivan fable 53 chen fable 20 lina indigo 23 lina birch 115 ivan grove 59 gus indigo 21 hana delta 54 eli indigo 0
lina birch 115 ivan grove 59 gus indigo 21
alice juniper 85 kim ember 38 alice ember 66 gus fable 30 dina juniper 19 ivan cobalt 2
gus fable 30 dina juniper 19 ivan cobalt 2
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046846-p1
Display lines 4, 5, and 6 inclusive.
NR >= 4 && NR <= 6
ivan fable 53 chen fable 20 lina indigo 23 lina birch 115 ivan grove 59 gus indigo 21 hana delta 54 eli indigo 0
lina birch 115 ivan grove 59 gus indigo 21
alice juniper 85 kim ember 38 alice ember 66 gus fable 30 dina juniper 19 ivan cobalt 2
gus fable 30 dina juniper 19 ivan cobalt 2
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046846
qwen/qwen3.7-plus
awkweave-0046847
Output only the first 5 records.
NR <= 5
eli 95 indigo eli 40 fable lina 49 birch lina 9 amber dina 20 indigo jules 102 grove
eli 95 indigo eli 40 fable lina 49 birch lina 9 amber dina 20 indigo
bruno 23 fable kim 20 grove jules 102 juniper bruno 63 delta eli 80 delta gus 74 amber eli 7 juniper
bruno 23 fable kim 20 grove jules 102 juniper bruno 63 delta eli 80 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046847-p1
Print only the first five records.
NR <= 5
eli 95 indigo eli 40 fable lina 49 birch lina 9 amber dina 20 indigo jules 102 grove
eli 95 indigo eli 40 fable lina 49 birch lina 9 amber dina 20 indigo
bruno 23 fable kim 20 grove jules 102 juniper bruno 63 delta eli 80 delta gus 74 amber eli 7 juniper
bruno 23 fable kim 20 grove jules 102 juniper bruno 63 delta eli 80 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046847
qwen/qwen3.7-plus
awkweave-0046848
Skip the first line and print every remaining line unchanged.
NR > 1
chen 94 indigo jules 55 harbor hana 104 juniper jules 32 cobalt hana 40 harbor chen 106 cobalt
jules 55 harbor hana 104 juniper jules 32 cobalt hana 40 harbor chen 106 cobalt
hana 74 amber chen 20 delta farah 11 ember chen 60 grove chen 31 cobalt hana 100 indigo jules 22 ember gus 21 birch lina 45 delta chen 22 amber
chen 20 delta farah 11 ember chen 60 grove chen 31 cobalt hana 100 indigo jules 22 ember gus 21 birch lina 45 delta chen 22 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046848-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
chen 94 indigo jules 55 harbor hana 104 juniper jules 32 cobalt hana 40 harbor chen 106 cobalt
jules 55 harbor hana 104 juniper jules 32 cobalt hana 40 harbor chen 106 cobalt
hana 74 amber chen 20 delta farah 11 ember chen 60 grove chen 31 cobalt hana 100 indigo jules 22 ember gus 21 birch lina 45 delta chen 22 amber
chen 20 delta farah 11 ember chen 60 grove chen 31 cobalt hana 100 indigo jules 22 ember gus 21 birch lina 45 delta chen 22 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046848
qwen/qwen3.7-plus
awkweave-0046849
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
gus pending 9 chen pending 1 dina pending 95 alice failed 109 lina paused 29 gus active 61
1
alice ready 65 dina failed 46 kim failed 118 bruno paused 10 kim paused 109 lina pending 49 dina active 3 farah failed 26 chen closed 55 lina closed 27
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046849-p1
Tally the number of entries marked as failed in the second column, outputting 0 if the count is zero.
$2 == "failed"{n++}END{print n+0}
gus pending 9 chen pending 1 dina pending 95 alice failed 109 lina paused 29 gus active 61
1
alice ready 65 dina failed 46 kim failed 118 bruno paused 10 kim paused 109 lina pending 49 dina active 3 farah failed 26 chen closed 55 lina closed 27
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046849
qwen/qwen3.7-plus
awkweave-0046850
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
amber chen 27 grove gus 8 fable lina 30 delta jules 4 grove kim 10 fable jules 10
89
juniper lina 11 amber ivan 10 birch hana 23 indigo farah 19 amber jules 29 grove alice 6 fable lina 25 juniper hana 15
138
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046850-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
amber chen 27 grove gus 8 fable lina 30 delta jules 4 grove kim 10 fable jules 10
89
juniper lina 11 amber ivan 10 birch hana 23 indigo farah 19 amber jules 29 grove alice 6 fable lina 25 juniper hana 15
138
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046850
qwen/qwen3.7-plus
awkweave-0046851
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 jules juniper 22 alice harbor 8 ivan ember 18 ivan indigo 24 chen cobalt 22 jules cobalt 15 bruno indigo 7 dina delta 4 dina delta
15.11
17 lina amber 21 alice juniper 4 kim fable 12 gus fable 2 gus indigo 14 chen grove 11 lina indigo
11.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046851-p1
Output the average of the values in the first column, formatted to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 jules juniper 22 alice harbor 8 ivan ember 18 ivan indigo 24 chen cobalt 22 jules cobalt 15 bruno indigo 7 dina delta 4 dina delta
15.11
17 lina amber 21 alice juniper 4 kim fable 12 gus fable 2 gus indigo 14 chen grove 11 lina indigo
11.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046851
qwen/qwen3.7-plus
awkweave-0046852
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta hana 29 harbor alice 19 delta eli 2 delta gus 14 ember ivan 28 fable kim 16 grove chen 20 delta dina 29 indigo jules 25 grove eli 30
2
fable alice 3 fable kim 26 harbor alice 7 birch dina 22 indigo dina 14 grove ivan 17
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046852-p1
Identify and print the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta hana 29 harbor alice 19 delta eli 2 delta gus 14 ember ivan 28 fable kim 16 grove chen 20 delta dina 29 indigo jules 25 grove eli 30
2
fable alice 3 fable kim 26 harbor alice 7 birch dina 22 indigo dina 14 grove ivan 17
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046852
qwen/qwen3.7-plus
awkweave-0046853
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan grove 9 chen fable 7 alice harbor 17 dina indigo 3 alice juniper 17 alice amber 8 gus cobalt 14 farah harbor 22 farah delta 7
22
farah fable 17 alice indigo 22 bruno indigo 21 chen fable 13 lina cobalt 9 hana ember 9 eli harbor 29 chen fable 24 chen harbor 18 farah juniper 17
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046853-p1
Identify and print the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan grove 9 chen fable 7 alice harbor 17 dina indigo 3 alice juniper 17 alice amber 8 gus cobalt 14 farah harbor 22 farah delta 7
22
farah fable 17 alice indigo 22 bruno indigo 21 chen fable 13 lina cobalt 9 hana ember 9 eli harbor 29 chen fable 24 chen harbor 18 farah juniper 17
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046853
qwen/qwen3.7-plus
awkweave-0046854
Count all input records and print the total.
END{print NR}
ivan 47 gus 70 jules 92 alice 99 lina 46 lina 16 jules 85 chen 0
8
lina 96 farah 64 gus 69 hana 101 jules 18 jules 88 kim 111 jules 102 kim 68 hana 28
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046854-p1
Count the total number of input records and display the result.
END{print NR}
ivan 47 gus 70 jules 92 alice 99 lina 46 lina 16 jules 85 chen 0
8
lina 96 farah 64 gus 69 hana 101 jules 18 jules 88 kim 111 jules 102 kim 68 hana 28
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046854
qwen/qwen3.7-plus
awkweave-0046855
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah indigo 4 alice fable 23 dina delta 35 alice fable 23 hana amber 47 dina amber 21 ivan fable 43 farah cobalt 66 lina grove 39 gus harbor 42
farah indigo 4 alice fable 23 dina delta 35 hana amber 47 dina amber 21 ivan fable 43 farah cobalt 66 lina grove 39 gus harbor 42
bruno ember 36 kim ember 41 jules ember 76 ivan indigo 118 eli juniper 23 dina fable 78 eli juniper 23 lina juniper 105 farah grove 18
bruno ember 36 kim ember 41 jules ember 76 ivan indigo 118 eli juniper 23 dina fable 78 lina juniper 105 farah grove 18
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046855-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
farah indigo 4 alice fable 23 dina delta 35 alice fable 23 hana amber 47 dina amber 21 ivan fable 43 farah cobalt 66 lina grove 39 gus harbor 42
farah indigo 4 alice fable 23 dina delta 35 hana amber 47 dina amber 21 ivan fable 43 farah cobalt 66 lina grove 39 gus harbor 42
bruno ember 36 kim ember 41 jules ember 76 ivan indigo 118 eli juniper 23 dina fable 78 eli juniper 23 lina juniper 105 farah grove 18
bruno ember 36 kim ember 41 jules ember 76 ivan indigo 118 eli juniper 23 dina fable 78 lina juniper 105 farah grove 18
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046855
qwen/qwen3.7-plus
awkweave-0046856
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
gus amber 14 gus amber 16 farah cobalt 67 kim amber 79 kim ember 94 eli ember 6 kim cobalt 87 jules juniper 19 farah ember 105 chen harbor 22
gus amber 14 farah cobalt 67 kim amber 79 eli ember 6 jules juniper 19 chen harbor 22
kim ember 13 alice cobalt 7 bruno fable 32 hana birch 84 ivan indigo 110 hana delta 107 bruno cobalt 36 farah harbor 78 chen birch 28
kim ember 13 alice cobalt 7 bruno fable 32 hana birch 84 ivan indigo 110 farah harbor 78 chen birch 28
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046856-p1
Retain only the first occurrence for every unique value in the first column, keeping the original order.
!seen[$1]++
gus amber 14 gus amber 16 farah cobalt 67 kim amber 79 kim ember 94 eli ember 6 kim cobalt 87 jules juniper 19 farah ember 105 chen harbor 22
gus amber 14 farah cobalt 67 kim amber 79 eli ember 6 jules juniper 19 chen harbor 22
kim ember 13 alice cobalt 7 bruno fable 32 hana birch 84 ivan indigo 110 hana delta 107 bruno cobalt 36 farah harbor 78 chen birch 28
kim ember 13 alice cobalt 7 bruno fable 32 hana birch 84 ivan indigo 110 farah harbor 78 chen birch 28
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046856
qwen/qwen3.7-plus
awkweave-0046857
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 10 cobalt bruno 4 birch hana 12 indigo alice 12 harbor kim 29 cobalt jules 3 ember hana 21 grove kim 22 amber jules 30 indigo
lina 10 bruno 14 hana 26 alice 38 kim 67 jules 70 hana 91 kim 113 jules 143
alice 25 cobalt bruno 4 harbor gus 29 indigo ivan 14 birch chen 9 birch ivan 24 birch hana 24 birch kim 16 harbor hana 27 delta hana 2 cobalt
alice 25 bruno 29 gus 58 ivan 72 chen 81 ivan 105 hana 129 kim 145 hana 172 hana 174
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046857-p1
For each entry, output the first column value alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
lina 10 cobalt bruno 4 birch hana 12 indigo alice 12 harbor kim 29 cobalt jules 3 ember hana 21 grove kim 22 amber jules 30 indigo
lina 10 bruno 14 hana 26 alice 38 kim 67 jules 70 hana 91 kim 113 jules 143
alice 25 cobalt bruno 4 harbor gus 29 indigo ivan 14 birch chen 9 birch ivan 24 birch hana 24 birch kim 16 harbor hana 27 delta hana 2 cobalt
alice 25 bruno 29 gus 58 ivan 72 chen 81 ivan 105 hana 129 kim 145 hana 172 hana 174
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046857
qwen/qwen3.7-plus
awkweave-0046858
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 16 1 juniper eli 1 3 fable farah 19 15 grove kim 27 24 cobalt hana 16 17 juniper eli 16 27 ember
gus 17 eli 4 farah 34 kim 51 hana 33 eli 43
alice 23 16 indigo farah 26 4 delta kim 14 1 amber farah 28 30 birch bruno 2 14 juniper hana 5 28 ember farah 18 6 grove kim 12 3 amber dina 30 6 birch
alice 39 farah 30 kim 15 farah 58 bruno 16 hana 33 farah 24 kim 15 dina 36
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046858-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
gus 16 1 juniper eli 1 3 fable farah 19 15 grove kim 27 24 cobalt hana 16 17 juniper eli 16 27 ember
gus 17 eli 4 farah 34 kim 51 hana 33 eli 43
alice 23 16 indigo farah 26 4 delta kim 14 1 amber farah 28 30 birch bruno 2 14 juniper hana 5 28 ember farah 18 6 grove kim 12 3 amber dina 30 6 birch
alice 39 farah 30 kim 15 farah 58 bruno 16 hana 33 farah 24 kim 15 dina 36
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046858
qwen/qwen3.7-plus
awkweave-0046859
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
gus 1 alice 8 bruno 12 lina 5 farah 16 dina 12 chen 21 alice 23 ivan 9 ivan 20
gus fail alice fail bruno fail lina fail farah fail dina fail chen fail alice fail ivan fail ivan fail
hana 14 farah 18 lina 23 ivan 14 chen 8 ivan 6 alice 17 eli 5 kim 12
hana fail farah fail lina fail ivan fail chen fail ivan fail alice fail eli fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046859-p1
Output the first column value followed by 'pass' if the second column is 25 or greater, otherwise output 'fail'.
{print $1,($2>=25?"pass":"fail")}
gus 1 alice 8 bruno 12 lina 5 farah 16 dina 12 chen 21 alice 23 ivan 9 ivan 20
gus fail alice fail bruno fail lina fail farah fail dina fail chen fail alice fail ivan fail ivan fail
hana 14 farah 18 lina 23 ivan 14 chen 8 ivan 6 alice 17 eli 5 kim 12
hana fail farah fail lina fail ivan fail chen fail ivan fail alice fail eli fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046859
qwen/qwen3.7-plus
awkweave-0046860
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
gus juniper 84 gus birch 113 chen ember 93 ivan indigo 114 chen amber 23 kim grove 25 kim indigo 109
JUNIPER BIRCH EMBER INDIGO AMBER GROVE INDIGO
bruno birch 76 kim grove 98 ivan grove 54 lina grove 95 jules birch 69 hana amber 103 hana cobalt 41 farah fable 85 kim delta 71 lina harbor 46
BIRCH GROVE GROVE GROVE BIRCH AMBER COBALT FABLE DELTA HARBOR
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046860-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
gus juniper 84 gus birch 113 chen ember 93 ivan indigo 114 chen amber 23 kim grove 25 kim indigo 109
JUNIPER BIRCH EMBER INDIGO AMBER GROVE INDIGO
bruno birch 76 kim grove 98 ivan grove 54 lina grove 95 jules birch 69 hana amber 103 hana cobalt 41 farah fable 85 kim delta 71 lina harbor 46
BIRCH GROVE GROVE GROVE BIRCH AMBER COBALT FABLE DELTA HARBOR
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046860
qwen/qwen3.7-plus
awkweave-0046861
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
birch 110 cobalt 100 harbor 30 juniper 66 birch 59 grove 73 birch 21 ember 5 juniper 75
birc coba harb juni birc grov birc embe juni
cobalt 80 indigo 32 grove 26 indigo 77 birch 19 juniper 55 harbor 75
coba indi grov indi birc juni harb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046861-p1
Extract and print the first 4 characters from column 1.
{print substr($1,1,4)}
birch 110 cobalt 100 harbor 30 juniper 66 birch 59 grove 73 birch 21 ember 5 juniper 75
birc coba harb juni birc grov birc embe juni
cobalt 80 indigo 32 grove 26 indigo 77 birch 19 juniper 55 harbor 75
coba indi grov indi birc juni harb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046861
qwen/qwen3.7-plus
awkweave-0046862
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_harbor 53 juniper_cobalt 12 ember_cobalt 61 birch_ember 105 cobalt_ember 86 birch_grove 95 cobalt_birch 14 indigo_birch 14 grove_ember 58 delta_grove 56
juniper harbor juniper cobalt ember cobalt birch ember cobalt ember birch grove cobalt birch indigo birch grove ember delta grove
fable_amber 62 grove_amber 17 fable_harbor 55 amber_indigo 2 delta_juniper 2 fable_grove 116
fable amber grove amber fable harbor amber indigo delta juniper fable grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046862-p1
Substitute all underscores in column 1 with spaces and display the results.
{gsub(/_/," ",$1);print $1}
juniper_harbor 53 juniper_cobalt 12 ember_cobalt 61 birch_ember 105 cobalt_ember 86 birch_grove 95 cobalt_birch 14 indigo_birch 14 grove_ember 58 delta_grove 56
juniper harbor juniper cobalt ember cobalt birch ember cobalt ember birch grove cobalt birch indigo birch grove ember delta grove
fable_amber 62 grove_amber 17 fable_harbor 55 amber_indigo 2 delta_juniper 2 fable_grove 116
fable amber grove amber fable harbor amber indigo delta juniper fable grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046862
qwen/qwen3.7-plus
awkweave-0046863
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)}
bruno fable 111 pending farah cobalt 33 failed dina grove 117 paused hana juniper 120 ready ivan delta 69 active alice delta 1 active dina harbor 56 failed farah cobalt 90 paused bruno delta 36 closed
pending 111 fable bruno failed 33 cobalt farah paused 117 grove dina ready 120 juniper hana active 69 delta ivan active 1 delta alice failed 56 harbor dina paused 90 cobalt farah closed 36 delta bruno
alice ember 45 ready chen grove 92 pending chen delta 12 pending eli ember 85 closed lina amber 46 ready farah juniper 57 ready gus delta 84 pending dina grove 57 paused jules ember 107 paused
ready 45 ember alice pending 92 grove chen pending 12 delta chen closed 85 ember eli ready 46 amber lina ready 57 juniper farah pending 84 delta gus paused 57 grove dina paused 107 ember jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046863-p1
Reverse the field order for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno fable 111 pending farah cobalt 33 failed dina grove 117 paused hana juniper 120 ready ivan delta 69 active alice delta 1 active dina harbor 56 failed farah cobalt 90 paused bruno delta 36 closed
pending 111 fable bruno failed 33 cobalt farah paused 117 grove dina ready 120 juniper hana active 69 delta ivan active 1 delta alice failed 56 harbor dina paused 90 cobalt farah closed 36 delta bruno
alice ember 45 ready chen grove 92 pending chen delta 12 pending eli ember 85 closed lina amber 46 ready farah juniper 57 ready gus delta 84 pending dina grove 57 paused jules ember 107 paused
ready 45 ember alice pending 92 grove chen pending 12 delta chen closed 85 ember eli ready 46 amber lina ready 57 juniper farah pending 84 delta gus paused 57 grove dina paused 107 ember jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046863
qwen/qwen3.7-plus
awkweave-0046864
Print the number of whitespace-separated fields on each line.
{print NF}
lina juniper 83 paused hana juniper 112 closed chen fable 86 pending jules juniper 2 paused farah cobalt 80 pending bruno juniper 6 ready farah cobalt 54 closed kim ember 103 paused eli harbor 98 paused kim amber 48 closed
4 4 4 4 4 4 4 4 4 4
kim grove 67 failed jules delta 57 failed gus cobalt 7 paused eli juniper 10 failed dina delta 17 active bruno cobalt 1 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046864-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
lina juniper 83 paused hana juniper 112 closed chen fable 86 pending jules juniper 2 paused farah cobalt 80 pending bruno juniper 6 ready farah cobalt 54 closed kim ember 103 paused eli harbor 98 paused kim amber 48 closed
4 4 4 4 4 4 4 4 4 4
kim grove 67 failed jules delta 57 failed gus cobalt 7 paused eli juniper 10 failed dina delta 17 active bruno cobalt 1 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046864
qwen/qwen3.7-plus
awkweave-0046865
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]]}
ivan beta 37 alice alpha 25 eli delta 82 lina delta 103 bruno beta 3 chen gamma 72 kim delta 92 jules gamma 38
beta 2 alpha 1 delta 3 gamma 2
alice alpha 29 ivan delta 77 farah beta 14 alice alpha 12 eli alpha 120 ivan alpha 29 eli beta 26 chen alpha 110 farah alpha 90
alpha 6 delta 1 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046865-p1
Tally records by column 2 values and print each value with its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan beta 37 alice alpha 25 eli delta 82 lina delta 103 bruno beta 3 chen gamma 72 kim delta 92 jules gamma 38
beta 2 alpha 1 delta 3 gamma 2
alice alpha 29 ivan delta 77 farah beta 14 alice alpha 12 eli alpha 120 ivan alpha 29 eli beta 26 chen alpha 110 farah alpha 90
alpha 6 delta 1 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046865
qwen/qwen3.7-plus
awkweave-0046866
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]]}
lina alpha 20 alice delta 24 hana beta 2 farah alpha 10 lina delta 19 jules delta 29 hana alpha 18 dina alpha 22
alpha 70 delta 72 beta 2
chen alpha 10 ivan beta 3 chen gamma 11 ivan alpha 1 dina gamma 13 bruno alpha 15 ivan beta 30 chen alpha 2 hana alpha 21
alpha 49 beta 33 gamma 24
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046866-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying 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]]}
lina alpha 20 alice delta 24 hana beta 2 farah alpha 10 lina delta 19 jules delta 29 hana alpha 18 dina alpha 22
alpha 70 delta 72 beta 2
chen alpha 10 ivan beta 3 chen gamma 11 ivan alpha 1 dina gamma 13 bruno alpha 15 ivan beta 30 chen alpha 2 hana alpha 21
alpha 49 beta 33 gamma 24
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046866
qwen/qwen3.7-plus
awkweave-0046867
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha ember 16 alpha fable 39 beta juniper 18 gamma harbor 65 alpha delta 53 delta amber 103 alpha birch 47
alpha 4
delta delta 32 alpha amber 28 beta cobalt 5 delta grove 46 beta fable 3 delta delta 60 beta delta 34 beta grove 30 beta harbor 54 delta cobalt 48
delta 4 beta 5
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046867-p1
List duplicate values from column 1 along with their occurrence counts, 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 ember 16 alpha fable 39 beta juniper 18 gamma harbor 65 alpha delta 53 delta amber 103 alpha birch 47
alpha 4
delta delta 32 alpha amber 28 beta cobalt 5 delta grove 46 beta fable 3 delta delta 60 beta delta 34 beta grove 30 beta harbor 54 delta cobalt 48
delta 4 beta 5
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046867
qwen/qwen3.7-plus
awkweave-0046868
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"]}
region state note record_id r001 farah 28 pending r002 farah 23 closed r003 gus 1 pending r004 eli 4 ready r005 jules 13 paused r006 lina 28 closed r007 gus 8 closed
farah farah gus eli jules lina gus
region state note record_id r001 chen 1 failed r002 bruno 18 pending r003 dina 9 failed r004 farah 23 active r005 kim 27 pending r006 hana 20 ready r007 ivan 14 active r008 hana 24 pending
chen bruno dina farah kim hana ivan hana
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046868-p1
Skip the header row and print the state column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
region state note record_id r001 farah 28 pending r002 farah 23 closed r003 gus 1 pending r004 eli 4 ready r005 jules 13 paused r006 lina 28 closed r007 gus 8 closed
farah farah gus eli jules lina gus
region state note record_id r001 chen 1 failed r002 bruno 18 pending r003 dina 9 failed r004 farah 23 active r005 kim 27 pending r006 hana 20 ready r007 ivan 14 active r008 hana 24 pending
chen bruno dina farah kim hana ivan hana
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046868
qwen/qwen3.7-plus
awkweave-0046869
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 lina 11 ready r002 bruno 19 active r003 bruno 16 closed r004 lina 3 active r005 ivan 24 pending r006 bruno 6 active r007 ivan 6 failed r008 dina 29 pending
dina
record_id display_name score state r001 lina 18 paused r002 jules 19 failed r003 hana 11 closed r004 gus 10 pending r005 ivan 16 failed r006 farah 11 paused r007 ivan 28 closed r008 chen 17 paused r009 hana 30 paused r010 lina 4 paused
ivan hana
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046869-p1
Ignoring the header, print the display_name for rows where the score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 lina 11 ready r002 bruno 19 active r003 bruno 16 closed r004 lina 3 active r005 ivan 24 pending r006 bruno 6 active r007 ivan 6 failed r008 dina 29 pending
dina
record_id display_name score state r001 lina 18 paused r002 jules 19 failed r003 hana 11 closed r004 gus 10 pending r005 ivan 16 failed r006 farah 11 paused r007 ivan 28 closed r008 chen 17 paused r009 hana 30 paused r010 lina 4 paused
ivan hana
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046869
qwen/qwen3.7-plus
awkweave-0046870
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 11 closed eli 3 paused gus 17 closed bruno 23 failed bruno 30 ready eli 30 paused dina 11 ready chen 28 paused bruno 26 paused
closed paused closed failed ready paused ready paused paused
lina 2 paused hana 13 pending farah 3 failed jules 28 ready dina 28 pending bruno 29 ready
paused pending failed ready pending ready
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046870-p1
Given tab-separated input, output column 3 for every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 11 closed eli 3 paused gus 17 closed bruno 23 failed bruno 30 ready eli 30 paused dina 11 ready chen 28 paused bruno 26 paused
closed paused closed failed ready paused ready paused paused
lina 2 paused hana 13 pending farah 3 failed jules 28 ready dina 28 pending bruno 29 ready
paused pending failed ready pending ready
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046870
qwen/qwen3.7-plus
awkweave-0046871
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
farah,22,failed kim,29,failed ivan,17,failed eli,5,ready gus,1,closed hana,30,failed hana,18,ready ivan,16,active hana,9,ready
farah kim ivan hana hana ivan
lina,15,ready hana,5,failed eli,29,pending eli,17,active lina,28,active jules,4,active chen,3,closed
lina eli eli lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046871-p1
For simple comma-separated data without quoted commas, print column 1 if column 2 is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
farah,22,failed kim,29,failed ivan,17,failed eli,5,ready gus,1,closed hana,30,failed hana,18,ready ivan,16,active hana,9,ready
farah kim ivan hana hana ivan
lina,15,ready hana,5,failed eli,29,pending eli,17,active lina,28,active jules,4,active chen,3,closed
lina eli eli lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046871
qwen/qwen3.7-plus
awkweave-0046872
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno birch 1 lina cobalt 100 gus amber 87 jules ember 92 ivan fable 99 ivan delta 62 hana ember 101 ivan harbor 105 farah indigo 15 kim indigo 33
bruno birch 1 lina cobalt 100 gus amber 87 jules ember 92 ivan fable 99 ivan delta 62 hana ember 101 ivan harbor 105 farah indigo 15 kim indigo 33
ivan birch 60 lina birch 35 kim grove 1 farah indigo 16 lina cobalt 73 gus birch 73 farah harbor 12 lina amber 116 farah fable 112 eli cobalt 27
ivan birch 60 lina birch 35 kim grove 1 farah indigo 16 lina cobalt 73 gus birch 73 farah harbor 12 lina amber 116 farah fable 112 eli cobalt 27
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046872-p1
Strip leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
bruno birch 1 lina cobalt 100 gus amber 87 jules ember 92 ivan fable 99 ivan delta 62 hana ember 101 ivan harbor 105 farah indigo 15 kim indigo 33
bruno birch 1 lina cobalt 100 gus amber 87 jules ember 92 ivan fable 99 ivan delta 62 hana ember 101 ivan harbor 105 farah indigo 15 kim indigo 33
ivan birch 60 lina birch 35 kim grove 1 farah indigo 16 lina cobalt 73 gus birch 73 farah harbor 12 lina amber 116 farah fable 112 eli cobalt 27
ivan birch 60 lina birch 35 kim grove 1 farah indigo 16 lina cobalt 73 gus birch 73 farah harbor 12 lina amber 116 farah fable 112 eli cobalt 27
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046872
qwen/qwen3.7-plus
awkweave-0046873
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina grove 116 active dina birch 6 paused hana grove 87 ready kim harbor 38 failed ivan juniper 35 failed hana ember 24 failed ivan harbor 69 pending
ivan juniper 35 failed
bruno harbor 56 closed eli ember 93 failed alice juniper 76 paused eli fable 32 pending kim amber 76 paused hana harbor 42 paused chen cobalt 17 closed bruno birch 70 paused
alice juniper 76 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046873-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
lina grove 116 active dina birch 6 paused hana grove 87 ready kim harbor 38 failed ivan juniper 35 failed hana ember 24 failed ivan harbor 69 pending
ivan juniper 35 failed
bruno harbor 56 closed eli ember 93 failed alice juniper 76 paused eli fable 32 pending kim amber 76 paused hana harbor 42 paused chen cobalt 17 closed bruno birch 70 paused
alice juniper 76 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046873
qwen/qwen3.7-plus
awkweave-0046874
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
dina 117 kim 44 kim 73 farah 11 farah 39 alice 85 ivan 12 kim 46 alice 60 eli 117
dina 117 kim 73 farah 39 ivan 12 alice 60
farah 102 dina 10 jules 45 chen 105 chen 108 kim 27 hana 47 alice 51
farah 102 jules 45 chen 108 hana 47
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046874-p1
Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
dina 117 kim 44 kim 73 farah 11 farah 39 alice 85 ivan 12 kim 46 alice 60 eli 117
dina 117 kim 73 farah 39 ivan 12 alice 60
farah 102 dina 10 jules 45 chen 105 chen 108 kim 27 hana 47 alice 51
farah 102 jules 45 chen 108 hana 47
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046874
qwen/qwen3.7-plus
awkweave-0046875
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma birch 119 delta cobalt 42 delta birch 112 gamma fable 33 delta delta 54 alpha ember 97 alpha indigo 1 alpha harbor 104 gamma birch 79
3
alpha indigo 110 alpha harbor 57 gamma ember 29 alpha indigo 118 beta cobalt 76 delta cobalt 60
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046875-p1
Calculate the number of unique values present in the first column and output only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma birch 119 delta cobalt 42 delta birch 112 gamma fable 33 delta delta 54 alpha ember 97 alpha indigo 1 alpha harbor 104 gamma birch 79
3
alpha indigo 110 alpha harbor 57 gamma ember 29 alpha indigo 118 beta cobalt 76 delta cobalt 60
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046875
qwen/qwen3.7-plus
awkweave-0046876
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}
bruno 16 0 lina 22 19 ivan 17 21 alice 7 16 dina 11 15 hana 7 30 gus 27 8
lina 1.16 ivan 0.81 alice 0.44 dina 0.73 hana 0.23 gus 3.38
ivan 22 0 dina 10 1 chen 21 12 lina 28 20 farah 5 14 lina 30 6 kim 3 19
dina 10.00 chen 1.75 lina 1.40 farah 0.36 lina 5.00 kim 0.16
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046876-p1
For each row, output the value of column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, excluding any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
bruno 16 0 lina 22 19 ivan 17 21 alice 7 16 dina 11 15 hana 7 30 gus 27 8
lina 1.16 ivan 0.81 alice 0.44 dina 0.73 hana 0.23 gus 3.38
ivan 22 0 dina 10 1 chen 21 12 lina 28 20 farah 5 14 lina 30 6 kim 3 19
dina 10.00 chen 1.75 lina 1.40 farah 0.36 lina 5.00 kim 0.16
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046876
qwen/qwen3.7-plus
awkweave-0046877
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]}
eli harbor 15 lina amber 14 ivan ember 11 dina ember 19 hana fable 17 gus indigo 14 gus amber 24
gus amber 24 dina ember 19 hana fable 17
dina cobalt 13 chen ember 30 kim birch 22 bruno grove 12 lina cobalt 2 eli indigo 30 gus birch 9 bruno indigo 29 hana fable 15
chen ember 30 eli indigo 30 bruno indigo 29
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046877-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{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]}
eli harbor 15 lina amber 14 ivan ember 11 dina ember 19 hana fable 17 gus indigo 14 gus amber 24
gus amber 24 dina ember 19 hana fable 17
dina cobalt 13 chen ember 30 kim birch 22 bruno grove 12 lina cobalt 2 eli indigo 30 gus birch 9 bruno indigo 29 hana fable 15
chen ember 30 eli indigo 30 bruno indigo 29
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046877
qwen/qwen3.7-plus
awkweave-0046878
Print column 5 followed by column 1 for every record.
{print $5, $1}
77 active 90 29 9 fable 20 paused 50 102 114 ember 9 closed 84 74 115 birch 120 pending 15 12 1 birch 7 pending 55 85 65 harbor 67 ready 4 106 32 amber 74 ready 115 96 93 ember
9 77 114 20 115 9 1 120 65 7 32 67 93 74
6 ready 105 93 86 indigo 9 ready 58 66 85 amber 31 failed 53 95 77 delta 30 active 102 119 112 birch 100 pending 30 105 43 amber 73 failed 14 20 67 indigo 64 failed 67 33 16 fable 80 paused 85 1 110 amber
86 6 85 9 77 31 112 30 43 100 67 73 16 64 110 80
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046878-p1
Output column 5 followed by column 1 for every record in the dataset.
{print $5, $1}
77 active 90 29 9 fable 20 paused 50 102 114 ember 9 closed 84 74 115 birch 120 pending 15 12 1 birch 7 pending 55 85 65 harbor 67 ready 4 106 32 amber 74 ready 115 96 93 ember
9 77 114 20 115 9 1 120 65 7 32 67 93 74
6 ready 105 93 86 indigo 9 ready 58 66 85 amber 31 failed 53 95 77 delta 30 active 102 119 112 birch 100 pending 30 105 43 amber 73 failed 14 20 67 indigo 64 failed 67 33 16 fable 80 paused 85 1 110 amber
86 6 85 9 77 31 112 30 43 100 67 73 16 64 110 80
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046878
qwen/qwen3.7-plus
awkweave-0046879
Print the last field of every input line.
{print $NF}
juniper paused delta 85 ivan juniper failed ember 21 kim fable paused harbor 71 jules grove ready cobalt 71 eli indigo closed delta 111 chen ember ready cobalt 67 ivan amber paused delta 2 gus
ivan kim jules eli chen ivan gus
ember closed fable 3 hana harbor closed ember 5 ivan fable closed indigo 70 lina indigo active cobalt 80 ivan amber ready indigo 99 alice birch ready cobalt 97 jules harbor closed fable 24 kim cobalt paused cobalt 120 lina ember pending harbor 54 bruno
hana ivan lina ivan alice jules kim lina bruno
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046879-p1
Print the final field from each input line.
{print $NF}
juniper paused delta 85 ivan juniper failed ember 21 kim fable paused harbor 71 jules grove ready cobalt 71 eli indigo closed delta 111 chen ember ready cobalt 67 ivan amber paused delta 2 gus
ivan kim jules eli chen ivan gus
ember closed fable 3 hana harbor closed ember 5 ivan fable closed indigo 70 lina indigo active cobalt 80 ivan amber ready indigo 99 alice birch ready cobalt 97 jules harbor closed fable 24 kim cobalt paused cobalt 120 lina ember pending harbor 54 bruno
hana ivan lina ivan alice jules kim lina bruno
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046879
qwen/qwen3.7-plus
awkweave-0046880
Print the complete records where column 1 is at least 71.
$1 >= 71
19 paused ready failed 57 failed paused closed 110 closed active ready 85 closed active failed 70 failed pending failed 92 failed active ready 16 pending paused ready 91 paused pending pending 77 active failed ready
110 closed active ready 85 closed active failed 92 failed active ready 91 paused pending pending 77 active failed ready
86 ready active ready 109 failed pending failed 51 paused active paused 74 active failed active 93 active failed paused 0 active failed closed 104 active active closed 24 paused pending failed
86 ready active ready 109 failed pending failed 74 active failed active 93 active failed paused 104 active active closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046880-p1
Output the entire records for which the value in column 1 is greater than or equal to 71.
$1 >= 71
19 paused ready failed 57 failed paused closed 110 closed active ready 85 closed active failed 70 failed pending failed 92 failed active ready 16 pending paused ready 91 paused pending pending 77 active failed ready
110 closed active ready 85 closed active failed 92 failed active ready 91 paused pending pending 77 active failed ready
86 ready active ready 109 failed pending failed 51 paused active paused 74 active failed active 93 active failed paused 0 active failed closed 104 active active closed 24 paused pending failed
86 ready active ready 109 failed pending failed 74 active failed active 93 active failed paused 104 active active closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046880
qwen/qwen3.7-plus
awkweave-0046881
Show whole lines whose 3rd field is between 7 and 29, inclusive.
$3 >= 7 && $3 <= 29
ivan active 1 delta kim pending 1 harbor farah ready 1 ember ivan pending 24 delta gus active 1 ember alice closed 9 amber farah closed 6 indigo hana pending 26 fable
ivan pending 24 delta alice closed 9 amber hana pending 26 fable
alice pending 30 cobalt eli paused 3 juniper ivan active 15 grove bruno pending 4 amber chen paused 2 delta ivan paused 29 birch lina closed 10 indigo eli active 7 fable
ivan active 15 grove ivan paused 29 birch lina closed 10 indigo eli active 7 fable
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046881-p1
Display complete lines where the third field falls within the inclusive range of 7 to 29.
$3 >= 7 && $3 <= 29
ivan active 1 delta kim pending 1 harbor farah ready 1 ember ivan pending 24 delta gus active 1 ember alice closed 9 amber farah closed 6 indigo hana pending 26 fable
ivan pending 24 delta alice closed 9 amber hana pending 26 fable
alice pending 30 cobalt eli paused 3 juniper ivan active 15 grove bruno pending 4 amber chen paused 2 delta ivan paused 29 birch lina closed 10 indigo eli active 7 fable
ivan active 15 grove ivan paused 29 birch lina closed 10 indigo eli active 7 fable
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046881
qwen/qwen3.7-plus
awkweave-0046882
Print column 4 only for rows where column 2 is exactly paused.
$2 == "paused"{print $4}
95 ready ember bruno 63 paused harbor eli 35 pending grove jules 89 ready harbor kim 102 active birch eli 69 paused juniper lina 56 pending juniper jules 75 failed grove lina
eli lina
84 pending grove eli 89 ready ember kim 118 ready ember eli 36 ready grove chen 24 ready juniper dina 69 closed delta farah 75 failed harbor chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null