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-0052723
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana fable 92 active lina cobalt 15 active kim grove 6 active eli delta 88 closed gus grove 106 closed lina delta 55 failed
lina cobalt 15 active
gus ember 77 paused farah cobalt 38 closed gus ember 25 paused farah amber 28 paused gus harbor 42 failed jules grove 23 active alice ember 19 closed bruno amber 100 pending farah delta 53 active bruno juniper 1 pending
bruno amber 100 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052723-p1
Identify and output the longest line from the input; in case of a tie in length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
hana fable 92 active lina cobalt 15 active kim grove 6 active eli delta 88 closed gus grove 106 closed lina delta 55 failed
lina cobalt 15 active
gus ember 77 paused farah cobalt 38 closed gus ember 25 paused farah amber 28 paused gus harbor 42 failed jules grove 23 active alice ember 19 closed bruno amber 100 pending farah delta 53 active bruno juniper 1 pending
bruno amber 100 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052723
qwen/qwen3.7-plus
awkweave-0052724
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
farah 106 farah 83 bruno 11 alice 72 gus 48 hana 37 bruno 43 kim 25
farah 106 bruno 11 gus 48 bruno 43
hana 119 alice 83 eli 64 bruno 41 farah 68 bruno 43 lina 65
hana 119 eli 64 farah 68 lina 65
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052724-p1
Output lines 1, 3, 5, and so on, effectively printing every second line starting from the first.
NR%2==1
farah 106 farah 83 bruno 11 alice 72 gus 48 hana 37 bruno 43 kim 25
farah 106 bruno 11 gus 48 bruno 43
hana 119 alice 83 eli 64 bruno 41 farah 68 bruno 43 lina 65
hana 119 eli 64 farah 68 lina 65
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052724
qwen/qwen3.7-plus
awkweave-0052725
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta cobalt 27 alpha cobalt 117 beta amber 50 beta juniper 60 delta harbor 107 beta cobalt 61 alpha birch 88
3
beta indigo 84 beta birch 97 delta grove 17 beta cobalt 112 gamma cobalt 75 gamma birch 118 beta cobalt 6 gamma juniper 6 alpha delta 100
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052725-p1
Calculate the number of unique values present in the first column and print only this total count.
{if(!seen[$1]++)n++}END{print n+0}
delta cobalt 27 alpha cobalt 117 beta amber 50 beta juniper 60 delta harbor 107 beta cobalt 61 alpha birch 88
3
beta indigo 84 beta birch 97 delta grove 17 beta cobalt 112 gamma cobalt 75 gamma birch 118 beta cobalt 6 gamma juniper 6 alpha delta 100
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052725
qwen/qwen3.7-plus
awkweave-0052726
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}
alice 10 0 chen 24 27 kim 18 30 dina 14 27 chen 4 15 ivan 13 8 eli 20 1
chen 0.89 kim 0.60 dina 0.52 chen 0.27 ivan 1.62 eli 20.00
farah 30 0 alice 18 3 gus 10 15 eli 30 10 jules 25 19 jules 14 16
alice 6.00 gus 0.67 eli 3.00 jules 1.32 jules 0.88
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052726-p1
For each row, output the first column and the result of dividing the second column by the third (formatted to two decimal places), omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 10 0 chen 24 27 kim 18 30 dina 14 27 chen 4 15 ivan 13 8 eli 20 1
chen 0.89 kim 0.60 dina 0.52 chen 0.27 ivan 1.62 eli 20.00
farah 30 0 alice 18 3 gus 10 15 eli 30 10 jules 25 19 jules 14 16
alice 6.00 gus 0.67 eli 3.00 jules 1.32 jules 0.88
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052726
qwen/qwen3.7-plus
awkweave-0052727
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]}
kim amber 14 jules indigo 25 gus juniper 26 alice ember 6 eli indigo 21 lina birch 2 ivan amber 19 alice birch 18 dina amber 13 kim amber 20
gus juniper 26 jules indigo 25 eli indigo 21
jules amber 12 alice fable 16 dina indigo 13 bruno harbor 29 bruno grove 9 jules cobalt 17
bruno harbor 29 jules cobalt 17 alice fable 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052727-p1
Output the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim amber 14 jules indigo 25 gus juniper 26 alice ember 6 eli indigo 21 lina birch 2 ivan amber 19 alice birch 18 dina amber 13 kim amber 20
gus juniper 26 jules indigo 25 eli indigo 21
jules amber 12 alice fable 16 dina indigo 13 bruno harbor 29 bruno grove 9 jules cobalt 17
bruno harbor 29 jules cobalt 17 alice fable 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052727
qwen/qwen3.7-plus
awkweave-0052728
Select the 4th and 2nd fields in that order.
{print $4, $2}
delta bruno delta ready amber kim juniper pending juniper lina ember active birch alice cobalt ready delta lina fable pending amber ivan delta closed grove bruno grove active indigo alice fable active
ready bruno pending kim active lina ready alice pending lina closed ivan active bruno active alice
juniper bruno delta ready delta bruno juniper pending grove hana indigo active grove dina grove paused harbor dina delta ready juniper gus harbor closed harbor ivan amber paused
ready bruno pending bruno active hana paused dina ready dina closed gus paused ivan
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052728-p1
Extract and print the fourth field followed by the second field, preserving this specific order.
{print $4, $2}
delta bruno delta ready amber kim juniper pending juniper lina ember active birch alice cobalt ready delta lina fable pending amber ivan delta closed grove bruno grove active indigo alice fable active
ready bruno pending kim active lina ready alice pending lina closed ivan active bruno active alice
juniper bruno delta ready delta bruno juniper pending grove hana indigo active grove dina grove paused harbor dina delta ready juniper gus harbor closed harbor ivan amber paused
ready bruno pending bruno active hana paused dina ready dina closed gus paused ivan
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052728
qwen/qwen3.7-plus
awkweave-0052729
Print the last field of every input line.
{print $NF}
54 paused 92 69 ready 86 52 failed 16 16 pending 34 35 failed 2 52 pending 9 67 closed 70 72 closed 67 116 closed 23
92 86 16 34 2 9 70 67 23
115 closed 102 7 active 19 85 active 15 65 failed 44 39 failed 49 10 closed 116 119 active 8 94 paused 2 39 closed 62 70 ready 96
102 19 15 44 49 116 8 2 62 96
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052729-p1
Print the final field from every line of the input.
{print $NF}
54 paused 92 69 ready 86 52 failed 16 16 pending 34 35 failed 2 52 pending 9 67 closed 70 72 closed 67 116 closed 23
92 86 16 34 2 9 70 67 23
115 closed 102 7 active 19 85 active 15 65 failed 44 39 failed 49 10 closed 116 119 active 8 94 paused 2 39 closed 62 70 ready 96
102 19 15 44 49 116 8 2 62 96
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052729
qwen/qwen3.7-plus
awkweave-0052730
Print the complete records where column 1 is greater than 48.
$1 > 48
91 bruno chen 48 farah alice 70 farah gus 57 hana ivan 42 eli lina 37 dina gus
91 bruno chen 70 farah gus 57 hana ivan
3 gus gus 53 alice kim 58 lina gus 103 alice eli 68 kim jules 26 chen chen 18 kim lina 5 lina alice 71 alice lina 112 lina jules
53 alice kim 58 lina gus 103 alice eli 68 kim jules 71 alice lina 112 lina jules
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052730-p1
Output full records where the value in the first column exceeds 48.
$1 > 48
91 bruno chen 48 farah alice 70 farah gus 57 hana ivan 42 eli lina 37 dina gus
91 bruno chen 70 farah gus 57 hana ivan
3 gus gus 53 alice kim 58 lina gus 103 alice eli 68 kim jules 26 chen chen 18 kim lina 5 lina alice 71 alice lina 112 lina jules
53 alice kim 58 lina gus 103 alice eli 68 kim jules 71 alice lina 112 lina jules
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052730
qwen/qwen3.7-plus
awkweave-0052731
Show whole lines whose 2nd field is between 3 and 26, inclusive.
$2 >= 3 && $2 <= 26
kim 28 paused harbor dina 12 pending fable chen 3 closed indigo bruno 28 active grove bruno 22 active harbor eli 11 closed grove eli 12 ready cobalt dina 1 paused cobalt
dina 12 pending fable chen 3 closed indigo bruno 22 active harbor eli 11 closed grove eli 12 ready cobalt
lina 5 pending cobalt ivan 13 failed cobalt hana 25 paused grove dina 11 active grove gus 30 active amber kim 24 active birch
lina 5 pending cobalt ivan 13 failed cobalt hana 25 paused grove dina 11 active grove kim 24 active birch
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052731-p1
Display entire lines where the second field falls within the inclusive range of 3 to 26.
$2 >= 3 && $2 <= 26
kim 28 paused harbor dina 12 pending fable chen 3 closed indigo bruno 28 active grove bruno 22 active harbor eli 11 closed grove eli 12 ready cobalt dina 1 paused cobalt
dina 12 pending fable chen 3 closed indigo bruno 22 active harbor eli 11 closed grove eli 12 ready cobalt
lina 5 pending cobalt ivan 13 failed cobalt hana 25 paused grove dina 11 active grove gus 30 active amber kim 24 active birch
lina 5 pending cobalt ivan 13 failed cobalt hana 25 paused grove dina 11 active grove kim 24 active birch
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052731
qwen/qwen3.7-plus
awkweave-0052732
Print column 3 only for rows where column 2 is exactly paused.
$2 == "paused"{print $3}
112 ready hana indigo 16 failed hana fable 91 ready eli birch 16 active chen birch 70 failed gus ember 110 failed jules amber 32 paused ivan ember 89 active gus harbor 79 pending kim delta
ivan
16 active eli amber 45 closed lina indigo 10 pending bruno harbor 69 ready bruno ember 84 paused jules amber 10 paused jules fable 26 active alice juniper
jules jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052732-p1
Print only the third column for rows where the second column is exactly 'paused'.
$2 == "paused"{print $3}
112 ready hana indigo 16 failed hana fable 91 ready eli birch 16 active chen birch 70 failed gus ember 110 failed jules amber 32 paused ivan ember 89 active gus harbor 79 pending kim delta
ivan
16 active eli amber 45 closed lina indigo 10 pending bruno harbor 69 ready bruno ember 84 paused jules amber 10 paused jules fable 26 active alice juniper
jules jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052732
qwen/qwen3.7-plus
awkweave-0052733
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
WARN 17 indigo INFO 98 ember DEBUG 45 ember INFO 53 birch DEBUG 21 juniper DEBUG 16 ember ERROR 49 amber INFO 78 cobalt ERROR 110 grove
WARN 17 indigo
ERROR 105 ember ERROR 35 birch DEBUG 41 indigo WARN 82 indigo DEBUG 86 juniper INFO 69 grove DEBUG 118 delta DEBUG 105 indigo ERROR 86 cobalt INFO 101 indigo
WARN 82 indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052733-p1
Output all fields from lines where the first field starts with 'WARN'.
$1 ~ /^WARN/
WARN 17 indigo INFO 98 ember DEBUG 45 ember INFO 53 birch DEBUG 21 juniper DEBUG 16 ember ERROR 49 amber INFO 78 cobalt ERROR 110 grove
WARN 17 indigo
ERROR 105 ember ERROR 35 birch DEBUG 41 indigo WARN 82 indigo DEBUG 86 juniper INFO 69 grove DEBUG 118 delta DEBUG 105 indigo ERROR 86 cobalt INFO 101 indigo
WARN 82 indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052733
qwen/qwen3.7-plus
awkweave-0052734
Print every line except those containing the exact text birch.
$0 !~ /birch/
juniper 28 closed ember 41 closed grove 80 pending birch 20 active delta 40 pending grove 87 ready birch 24 failed harbor 119 ready delta 65 closed indigo 10 paused birch 999 active
juniper 28 closed ember 41 closed grove 80 pending delta 40 pending grove 87 ready harbor 119 ready delta 65 closed indigo 10 paused
harbor 47 ready juniper 43 ready fable 65 failed grove 65 paused cobalt 10 active ember 56 failed birch 999 active
harbor 47 ready juniper 43 ready fable 65 failed grove 65 paused cobalt 10 active ember 56 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052734-p1
Print every line that does not contain the exact string 'birch'.
$0 !~ /birch/
juniper 28 closed ember 41 closed grove 80 pending birch 20 active delta 40 pending grove 87 ready birch 24 failed harbor 119 ready delta 65 closed indigo 10 paused birch 999 active
juniper 28 closed ember 41 closed grove 80 pending delta 40 pending grove 87 ready harbor 119 ready delta 65 closed indigo 10 paused
harbor 47 ready juniper 43 ready fable 65 failed grove 65 paused cobalt 10 active ember 56 failed birch 999 active
harbor 47 ready juniper 43 ready fable 65 failed grove 65 paused cobalt 10 active ember 56 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052734
qwen/qwen3.7-plus
awkweave-0052735
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
eli amber 34 chen indigo 106 gus ember 24 hana grove 60 alice birch 96 hana fable 53
chen indigo 106 gus ember 24 hana grove 60
eli grove 86 hana delta 92 bruno juniper 71 farah fable 74 kim indigo 114 kim cobalt 117 kim amber 88 chen indigo 37 dina grove 73 hana cobalt 35
hana delta 92 bruno juniper 71 farah fable 74
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052735-p1
Output lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
eli amber 34 chen indigo 106 gus ember 24 hana grove 60 alice birch 96 hana fable 53
chen indigo 106 gus ember 24 hana grove 60
eli grove 86 hana delta 92 bruno juniper 71 farah fable 74 kim indigo 114 kim cobalt 117 kim amber 88 chen indigo 37 dina grove 73 hana cobalt 35
hana delta 92 bruno juniper 71 farah fable 74
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052735
qwen/qwen3.7-plus
awkweave-0052736
Output only the first 4 records.
NR <= 4
chen 95 indigo ivan 5 juniper gus 18 birch bruno 93 ember kim 88 amber dina 35 harbor
chen 95 indigo ivan 5 juniper gus 18 birch bruno 93 ember
gus 38 ember gus 109 delta kim 6 ember alice 57 ember gus 70 harbor hana 77 indigo
gus 38 ember gus 109 delta kim 6 ember alice 57 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052736-p1
Display only the first 4 records.
NR <= 4
chen 95 indigo ivan 5 juniper gus 18 birch bruno 93 ember kim 88 amber dina 35 harbor
chen 95 indigo ivan 5 juniper gus 18 birch bruno 93 ember
gus 38 ember gus 109 delta kim 6 ember alice 57 ember gus 70 harbor hana 77 indigo
gus 38 ember gus 109 delta kim 6 ember alice 57 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052736
qwen/qwen3.7-plus
awkweave-0052737
Skip the first line and print every remaining line unchanged.
NR > 1
gus 61 fable dina 3 amber alice 56 juniper lina 23 ember bruno 120 amber eli 32 ember alice 48 indigo
dina 3 amber alice 56 juniper lina 23 ember bruno 120 amber eli 32 ember alice 48 indigo
lina 109 amber farah 111 grove hana 97 grove bruno 2 delta chen 41 birch eli 11 ember
farah 111 grove hana 97 grove bruno 2 delta chen 41 birch eli 11 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052737-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
gus 61 fable dina 3 amber alice 56 juniper lina 23 ember bruno 120 amber eli 32 ember alice 48 indigo
dina 3 amber alice 56 juniper lina 23 ember bruno 120 amber eli 32 ember alice 48 indigo
lina 109 amber farah 111 grove hana 97 grove bruno 2 delta chen 41 birch eli 11 ember
farah 111 grove hana 97 grove bruno 2 delta chen 41 birch eli 11 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052737
qwen/qwen3.7-plus
awkweave-0052738
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
jules closed 40 alice ready 42 hana pending 120 dina closed 96 eli paused 110 chen closed 74 ivan closed 20 gus pending 75
0
bruno paused 77 lina active 47 farah closed 55 chen active 76 kim failed 58 alice ready 6 gus closed 70 farah paused 94 jules pending 44 kim paused 56
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052738-p1
Count the number of records with 'failed' in the second column; output 0 if none exist.
$2 == "failed"{n++}END{print n+0}
jules closed 40 alice ready 42 hana pending 120 dina closed 96 eli paused 110 chen closed 74 ivan closed 20 gus pending 75
0
bruno paused 77 lina active 47 farah closed 55 chen active 76 kim failed 58 alice ready 6 gus closed 70 farah paused 94 jules pending 44 kim paused 56
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052738
qwen/qwen3.7-plus
awkweave-0052739
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
bruno delta 26 chen indigo 3 alice grove 5 jules harbor 13 kim juniper 15 chen grove 28 gus grove 25 eli juniper 13 dina ember 8 eli harbor 3
139
chen cobalt 10 lina grove 8 dina grove 10 farah indigo 23 dina indigo 28 bruno ember 22 farah delta 20 chen cobalt 24 farah juniper 3 jules indigo 3
151
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052739-p1
Compute and display the sum of integer values in the third column.
{s+=$3}END{print s+0}
bruno delta 26 chen indigo 3 alice grove 5 jules harbor 13 kim juniper 15 chen grove 28 gus grove 25 eli juniper 13 dina ember 8 eli harbor 3
139
chen cobalt 10 lina grove 8 dina grove 10 farah indigo 23 dina indigo 28 bruno ember 22 farah delta 20 chen cobalt 24 farah juniper 3 jules indigo 3
151
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052739
qwen/qwen3.7-plus
awkweave-0052740
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
fable 18 eli amber 11 dina indigo 22 ivan harbor 9 bruno indigo 12 chen grove 28 eli amber 21 lina juniper 13 lina ember 12 chen
16.22
grove 15 ivan indigo 7 jules harbor 24 lina delta 11 farah ember 27 chen indigo 3 hana birch 18 dina
15.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052740-p1
Print the average of the second column, rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
fable 18 eli amber 11 dina indigo 22 ivan harbor 9 bruno indigo 12 chen grove 28 eli amber 21 lina juniper 13 lina ember 12 chen
16.22
grove 15 ivan indigo 7 jules harbor 24 lina delta 11 farah ember 27 chen indigo 3 hana birch 18 dina
15.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052740
qwen/qwen3.7-plus
awkweave-0052741
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
9 delta eli 2 indigo chen 2 amber eli 6 amber bruno 28 fable gus 17 cobalt jules 8 ember jules
2
20 birch eli 4 harbor bruno 28 fable farah 10 fable kim 12 delta kim 3 birch gus 25 birch kim 28 fable bruno 25 amber gus 25 grove hana
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052741-p1
Identify and output the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
9 delta eli 2 indigo chen 2 amber eli 6 amber bruno 28 fable gus 17 cobalt jules 8 ember jules
2
20 birch eli 4 harbor bruno 28 fable farah 10 fable kim 12 delta kim 3 birch gus 25 birch kim 28 fable bruno 25 amber gus 25 grove hana
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052741
qwen/qwen3.7-plus
awkweave-0052742
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
farah harbor 7 jules amber 8 chen fable 11 farah indigo 30 farah cobalt 3 hana amber 27
30
farah indigo 30 chen birch 26 kim birch 10 dina juniper 22 bruno ember 23 kim ember 12 alice cobalt 26 jules amber 22
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052742-p1
Identify and output the maximum number found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
farah harbor 7 jules amber 8 chen fable 11 farah indigo 30 farah cobalt 3 hana amber 27
30
farah indigo 30 chen birch 26 kim birch 10 dina juniper 22 bruno ember 23 kim ember 12 alice cobalt 26 jules amber 22
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052742
qwen/qwen3.7-plus
awkweave-0052743
Count all input records and print the total.
END{print NR}
lina 110 chen 13 chen 9 hana 22 ivan 118 dina 120 hana 69
7
lina 96 jules 66 kim 81 ivan 102 hana 88 farah 1 alice 24 lina 7 ivan 11
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052743-p1
Calculate the total number of input records and display the count.
END{print NR}
lina 110 chen 13 chen 9 hana 22 ivan 118 dina 120 hana 69
7
lina 96 jules 66 kim 81 ivan 102 hana 88 farah 1 alice 24 lina 7 ivan 11
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052743
qwen/qwen3.7-plus
awkweave-0052744
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus juniper 36 alice ember 95 eli ember 119 alice harbor 80 bruno birch 64 gus birch 78 eli harbor 36 gus birch 78
gus juniper 36 alice ember 95 eli ember 119 alice harbor 80 bruno birch 64 gus birch 78 eli harbor 36
gus harbor 63 kim indigo 79 ivan ember 15 farah fable 13 bruno birch 117 hana delta 113 bruno ember 22 dina birch 28 ivan ember 11 dina harbor 75 bruno birch 117
gus harbor 63 kim indigo 79 ivan ember 15 farah fable 13 bruno birch 117 hana delta 113 bruno ember 22 dina birch 28 ivan ember 11 dina harbor 75
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052744-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
gus juniper 36 alice ember 95 eli ember 119 alice harbor 80 bruno birch 64 gus birch 78 eli harbor 36 gus birch 78
gus juniper 36 alice ember 95 eli ember 119 alice harbor 80 bruno birch 64 gus birch 78 eli harbor 36
gus harbor 63 kim indigo 79 ivan ember 15 farah fable 13 bruno birch 117 hana delta 113 bruno ember 22 dina birch 28 ivan ember 11 dina harbor 75 bruno birch 117
gus harbor 63 kim indigo 79 ivan ember 15 farah fable 13 bruno birch 117 hana delta 113 bruno ember 22 dina birch 28 ivan ember 11 dina harbor 75
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052744
qwen/qwen3.7-plus
awkweave-0052745
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
jules ember 36 lina cobalt 10 dina delta 70 ivan indigo 47 chen juniper 15 alice delta 38 lina ember 108 kim fable 54 kim ember 39
jules ember 36 lina cobalt 10 dina delta 70 ivan indigo 47 chen juniper 15 alice delta 38 lina ember 108 kim fable 54 kim ember 39
alice grove 76 hana fable 70 alice juniper 2 eli harbor 65 jules indigo 57 bruno cobalt 45 lina fable 89 jules birch 43 alice juniper 65 kim ember 115
alice grove 76 hana fable 70 alice juniper 2 eli harbor 65 jules indigo 57 bruno cobalt 45 lina fable 89 jules birch 43 kim ember 115
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052745-p1
Retain only the initial line for every unique value in the third column, keeping the original input order.
!seen[$3]++
jules ember 36 lina cobalt 10 dina delta 70 ivan indigo 47 chen juniper 15 alice delta 38 lina ember 108 kim fable 54 kim ember 39
jules ember 36 lina cobalt 10 dina delta 70 ivan indigo 47 chen juniper 15 alice delta 38 lina ember 108 kim fable 54 kim ember 39
alice grove 76 hana fable 70 alice juniper 2 eli harbor 65 jules indigo 57 bruno cobalt 45 lina fable 89 jules birch 43 alice juniper 65 kim ember 115
alice grove 76 hana fable 70 alice juniper 2 eli harbor 65 jules indigo 57 bruno cobalt 45 lina fable 89 jules birch 43 kim ember 115
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052745
qwen/qwen3.7-plus
awkweave-0052746
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 16 indigo alice 9 harbor lina 2 juniper chen 17 juniper eli 4 fable ivan 20 indigo alice 6 cobalt bruno 11 grove alice 18 juniper ivan 22 amber
kim 16 alice 25 lina 27 chen 44 eli 48 ivan 68 alice 74 bruno 85 alice 103 ivan 125
alice 26 fable ivan 22 fable hana 21 amber bruno 27 ember gus 9 birch gus 15 cobalt dina 13 harbor eli 13 delta
alice 26 ivan 48 hana 69 bruno 96 gus 105 gus 120 dina 133 eli 146
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052746-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
kim 16 indigo alice 9 harbor lina 2 juniper chen 17 juniper eli 4 fable ivan 20 indigo alice 6 cobalt bruno 11 grove alice 18 juniper ivan 22 amber
kim 16 alice 25 lina 27 chen 44 eli 48 ivan 68 alice 74 bruno 85 alice 103 ivan 125
alice 26 fable ivan 22 fable hana 21 amber bruno 27 ember gus 9 birch gus 15 cobalt dina 13 harbor eli 13 delta
alice 26 ivan 48 hana 69 bruno 96 gus 105 gus 120 dina 133 eli 146
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052746
qwen/qwen3.7-plus
awkweave-0052747
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 2 4 cobalt chen 26 3 delta ivan 28 5 ember ivan 21 3 juniper kim 8 4 indigo ivan 24 10 delta eli 9 2 birch ivan 10 30 grove
farah 6 chen 29 ivan 33 ivan 24 kim 12 ivan 34 eli 11 ivan 40
alice 11 30 juniper kim 30 29 indigo chen 1 20 delta alice 22 10 fable kim 28 5 birch jules 17 17 juniper farah 3 10 harbor dina 6 16 juniper
alice 41 kim 59 chen 21 alice 32 kim 33 jules 34 farah 13 dina 22
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052747-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
farah 2 4 cobalt chen 26 3 delta ivan 28 5 ember ivan 21 3 juniper kim 8 4 indigo ivan 24 10 delta eli 9 2 birch ivan 10 30 grove
farah 6 chen 29 ivan 33 ivan 24 kim 12 ivan 34 eli 11 ivan 40
alice 11 30 juniper kim 30 29 indigo chen 1 20 delta alice 22 10 fable kim 28 5 birch jules 17 17 juniper farah 3 10 harbor dina 6 16 juniper
alice 41 kim 59 chen 21 alice 32 kim 33 jules 34 farah 13 dina 22
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052747
qwen/qwen3.7-plus
awkweave-0052748
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
dina 17 bruno 24 alice 21 lina 25 hana 20 ivan 27 alice 23 ivan 26 dina 13
dina fail bruno pass alice fail lina pass hana fail ivan pass alice pass ivan pass dina fail
kim 8 gus 22 bruno 16 chen 17 gus 25 hana 24 eli 17 hana 20 alice 4
kim fail gus pass bruno fail chen fail gus pass hana pass eli fail hana fail alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052748-p1
Output the first column and print 'pass' if the second column is 22 or greater; otherwise, print 'fail'.
{print $1,($2>=22?"pass":"fail")}
dina 17 bruno 24 alice 21 lina 25 hana 20 ivan 27 alice 23 ivan 26 dina 13
dina fail bruno pass alice fail lina pass hana fail ivan pass alice pass ivan pass dina fail
kim 8 gus 22 bruno 16 chen 17 gus 25 hana 24 eli 17 hana 20 alice 4
kim fail gus pass bruno fail chen fail gus pass hana pass eli fail hana fail alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052748
qwen/qwen3.7-plus
awkweave-0052749
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
dina delta 74 bruno fable 108 kim grove 43 jules grove 49 dina juniper 23 farah juniper 104
DELTA FABLE GROVE GROVE JUNIPER JUNIPER
alice ember 45 chen birch 52 lina cobalt 75 chen indigo 62 bruno ember 77 kim delta 32
EMBER BIRCH COBALT INDIGO EMBER DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052749-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
dina delta 74 bruno fable 108 kim grove 43 jules grove 49 dina juniper 23 farah juniper 104
DELTA FABLE GROVE GROVE JUNIPER JUNIPER
alice ember 45 chen birch 52 lina cobalt 75 chen indigo 62 bruno ember 77 kim delta 32
EMBER BIRCH COBALT INDIGO EMBER DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052749
qwen/qwen3.7-plus
awkweave-0052750
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
cobalt 8 harbor 99 indigo 99 amber 26 birch 98 delta 111 fable 5 birch 63 ember 75 birch 70
balt rbor digo ber rch lta ble rch ber rch
juniper 106 cobalt 70 indigo 110 juniper 99 ember 4 fable 60 birch 53 juniper 41 delta 68
nipe balt digo nipe ber ble rch nipe lta
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052750-p1
Extract and print a substring of 4 characters from the first column, starting at the third character.
{print substr($1,3,4)}
cobalt 8 harbor 99 indigo 99 amber 26 birch 98 delta 111 fable 5 birch 63 ember 75 birch 70
balt rbor digo ber rch lta ble rch ber rch
juniper 106 cobalt 70 indigo 110 juniper 99 ember 4 fable 60 birch 53 juniper 41 delta 68
nipe balt digo nipe ber ble rch nipe lta
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052750
qwen/qwen3.7-plus
awkweave-0052751
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_amber 61 fable_indigo 4 fable_fable 92 fable_grove 47 harbor_juniper 45 ember_grove 44 juniper_juniper 65
juniper amber fable indigo fable fable fable grove harbor juniper ember grove juniper juniper
amber_cobalt 72 juniper_juniper 33 ember_indigo 107 fable_amber 98 delta_cobalt 106 amber_cobalt 2 amber_amber 60 fable_ember 113
amber cobalt juniper juniper ember indigo fable amber delta cobalt amber cobalt amber amber fable ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052751-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
juniper_amber 61 fable_indigo 4 fable_fable 92 fable_grove 47 harbor_juniper 45 ember_grove 44 juniper_juniper 65
juniper amber fable indigo fable fable fable grove harbor juniper ember grove juniper juniper
amber_cobalt 72 juniper_juniper 33 ember_indigo 107 fable_amber 98 delta_cobalt 106 amber_cobalt 2 amber_amber 60 fable_ember 113
amber cobalt juniper juniper ember indigo fable amber delta cobalt amber cobalt amber amber fable ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052751
qwen/qwen3.7-plus
awkweave-0052752
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)}
hana fable 115 closed lina ember 29 failed lina cobalt 101 paused chen juniper 50 ready ivan ember 62 closed farah juniper 37 pending bruno juniper 101 ready farah delta 10 pending
closed 115 fable hana failed 29 ember lina paused 101 cobalt lina ready 50 juniper chen closed 62 ember ivan pending 37 juniper farah ready 101 juniper bruno pending 10 delta farah
farah fable 94 failed lina ember 112 closed alice delta 9 ready kim cobalt 70 pending dina juniper 65 closed ivan grove 2 paused dina ember 78 ready eli delta 101 active ivan harbor 109 pending bruno grove 29 ready
failed 94 fable farah closed 112 ember lina ready 9 delta alice pending 70 cobalt kim closed 65 juniper dina paused 2 grove ivan ready 78 ember dina active 101 delta eli pending 109 harbor ivan ready 29 grove bruno
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052752-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana fable 115 closed lina ember 29 failed lina cobalt 101 paused chen juniper 50 ready ivan ember 62 closed farah juniper 37 pending bruno juniper 101 ready farah delta 10 pending
closed 115 fable hana failed 29 ember lina paused 101 cobalt lina ready 50 juniper chen closed 62 ember ivan pending 37 juniper farah ready 101 juniper bruno pending 10 delta farah
farah fable 94 failed lina ember 112 closed alice delta 9 ready kim cobalt 70 pending dina juniper 65 closed ivan grove 2 paused dina ember 78 ready eli delta 101 active ivan harbor 109 pending bruno grove 29 ready
failed 94 fable farah closed 112 ember lina ready 9 delta alice pending 70 cobalt kim closed 65 juniper dina paused 2 grove ivan ready 78 ember dina active 101 delta eli pending 109 harbor ivan ready 29 grove bruno
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052752
qwen/qwen3.7-plus
awkweave-0052753
Print the number of whitespace-separated fields on each line.
{print NF}
kim amber 63 paused dina delta 34 pending gus fable 45 failed hana harbor 81 closed ivan fable 91 paused bruno birch 14 ready bruno amber 52 pending gus amber 68 active ivan delta 96 closed
4 4 4 4 4 4 4 4 4
kim grove 26 paused alice cobalt 22 paused lina harbor 21 closed hana indigo 70 ready kim delta 50 failed jules grove 29 failed eli indigo 77 paused dina cobalt 82 ready alice cobalt 7 paused
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052753-p1
Display the count of whitespace-delimited fields for each line.
{print NF}
kim amber 63 paused dina delta 34 pending gus fable 45 failed hana harbor 81 closed ivan fable 91 paused bruno birch 14 ready bruno amber 52 pending gus amber 68 active ivan delta 96 closed
4 4 4 4 4 4 4 4 4
kim grove 26 paused alice cobalt 22 paused lina harbor 21 closed hana indigo 70 ready kim delta 50 failed jules grove 29 failed eli indigo 77 paused dina cobalt 82 ready alice cobalt 7 paused
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052753
qwen/qwen3.7-plus
awkweave-0052754
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 alpha 56 gus alpha 15 ivan gamma 79 kim beta 89 lina gamma 30 hana beta 23 bruno alpha 80 kim beta 43
alpha 3 gamma 2 beta 3
jules alpha 109 gus delta 96 alice gamma 11 alice gamma 13 alice beta 1 chen beta 28 hana delta 74 farah gamma 61
alpha 1 delta 2 gamma 3 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052754-p1
Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan alpha 56 gus alpha 15 ivan gamma 79 kim beta 89 lina gamma 30 hana beta 23 bruno alpha 80 kim beta 43
alpha 3 gamma 2 beta 3
jules alpha 109 gus delta 96 alice gamma 11 alice gamma 13 alice beta 1 chen beta 28 hana delta 74 farah gamma 61
alpha 1 delta 2 gamma 3 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052754
qwen/qwen3.7-plus
awkweave-0052755
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]]}
kim beta 26 dina gamma 24 ivan delta 19 lina gamma 5 gus beta 30 bruno beta 19 farah delta 7 hana delta 4 ivan gamma 6 bruno beta 4
beta 79 gamma 35 delta 30
ivan alpha 27 ivan delta 28 chen alpha 9 jules beta 2 gus delta 25 alice beta 4 alice beta 25
alpha 36 delta 53 beta 31
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052755-p1
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]]}
kim beta 26 dina gamma 24 ivan delta 19 lina gamma 5 gus beta 30 bruno beta 19 farah delta 7 hana delta 4 ivan gamma 6 bruno beta 4
beta 79 gamma 35 delta 30
ivan alpha 27 ivan delta 28 chen alpha 9 jules beta 2 gus delta 25 alice beta 4 alice beta 25
alpha 36 delta 53 beta 31
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0052755
qwen/qwen3.7-plus
awkweave-0052756
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta grove 64 delta indigo 72 beta ember 70 gamma juniper 94 delta cobalt 103 gamma harbor 118 alpha ember 102 delta cobalt 77 alpha cobalt 69
beta 2 delta 3 gamma 2 alpha 2
delta juniper 114 beta indigo 20 delta indigo 67 gamma birch 60 alpha birch 33 gamma fable 11 gamma birch 11 gamma amber 18 beta cobalt 80
delta 2 beta 2 gamma 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052756-p1
Identify duplicate entries in column 1 and output each repeated value with its total occurrence count, sorted by the order of first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta grove 64 delta indigo 72 beta ember 70 gamma juniper 94 delta cobalt 103 gamma harbor 118 alpha ember 102 delta cobalt 77 alpha cobalt 69
beta 2 delta 3 gamma 2 alpha 2
delta juniper 114 beta indigo 20 delta indigo 67 gamma birch 60 alpha birch 33 gamma fable 11 gamma birch 11 gamma amber 18 beta cobalt 80
delta 2 beta 2 gamma 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052756
qwen/qwen3.7-plus
awkweave-0052757
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"]}
display_name note state score r001 hana 23 pending r002 dina 3 pending r003 kim 14 ready r004 gus 12 failed r005 ivan 20 pending r006 alice 23 closed r007 alice 2 failed r008 dina 4 failed r009 eli 3 active
23 3 14 12 20 23 2 4 3
display_name note state score r001 jules 4 paused r002 jules 6 paused r003 bruno 5 active r004 ivan 15 paused r005 jules 12 pending r006 dina 22 failed r007 gus 26 closed r008 bruno 2 failed
4 6 5 15 12 22 26 2
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052757-p1
Treating the first line as a header, extract and print the values from the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name note state score r001 hana 23 pending r002 dina 3 pending r003 kim 14 ready r004 gus 12 failed r005 ivan 20 pending r006 alice 23 closed r007 alice 2 failed r008 dina 4 failed r009 eli 3 active
23 3 14 12 20 23 2 4 3
display_name note state score r001 jules 4 paused r002 jules 6 paused r003 bruno 5 active r004 ivan 15 paused r005 jules 12 pending r006 dina 22 failed r007 gus 26 closed r008 bruno 2 failed
4 6 5 15 12 22 26 2
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052757
qwen/qwen3.7-plus
awkweave-0052758
The first row is a header. Print display_name for data rows whose score is greater than 16.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]}
record_id display_name score state r001 bruno 15 closed r002 chen 8 ready r003 bruno 29 paused r004 alice 6 ready r005 bruno 23 ready r006 chen 28 active r007 chen 4 failed r008 kim 29 closed
bruno bruno chen kim
record_id display_name score state r001 kim 26 closed r002 hana 13 pending r003 gus 7 paused r004 farah 21 failed r005 eli 16 pending r006 ivan 18 ready r007 farah 11 paused r008 lina 22 active
kim farah ivan lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052758-p1
Ignoring the header row, output the display_name field for any record where the score value is strictly greater than 16.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]}
record_id display_name score state r001 bruno 15 closed r002 chen 8 ready r003 bruno 29 paused r004 alice 6 ready r005 bruno 23 ready r006 chen 28 active r007 chen 4 failed r008 kim 29 closed
bruno bruno chen kim
record_id display_name score state r001 kim 26 closed r002 hana 13 pending r003 gus 7 paused r004 farah 21 failed r005 eli 16 pending r006 ivan 18 ready r007 farah 11 paused r008 lina 22 active
kim farah ivan lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052758
qwen/qwen3.7-plus
awkweave-0052759
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 30 paused ivan 23 active gus 11 pending alice 17 pending bruno 30 failed jules 21 active jules 26 pending alice 14 closed eli 13 closed kim 25 active
30 23 11 17 30 21 26 14 13 25
ivan 28 active bruno 10 pending alice 30 paused kim 25 pending alice 21 ready chen 14 active kim 7 ready eli 24 ready
28 10 30 25 21 14 7 24
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052759-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 30 paused ivan 23 active gus 11 pending alice 17 pending bruno 30 failed jules 21 active jules 26 pending alice 14 closed eli 13 closed kim 25 active
30 23 11 17 30 21 26 14 13 25
ivan 28 active bruno 10 pending alice 30 paused kim 25 pending alice 21 ready chen 14 active kim 7 ready eli 24 ready
28 10 30 25 21 14 7 24
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0052759
qwen/qwen3.7-plus
awkweave-0052760
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23.
BEGIN{FS=OFS=","}$2>23{print $1}
eli,22,paused kim,29,active eli,9,active farah,25,paused lina,21,paused hana,28,paused alice,20,paused
kim farah hana
jules,8,paused gus,24,failed jules,26,closed lina,27,failed kim,14,pending farah,17,closed eli,26,closed
gus jules lina eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052760-p1
For simple comma-separated input without quoted fields, print the first column only if the value in the second column is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
eli,22,paused kim,29,active eli,9,active farah,25,paused lina,21,paused hana,28,paused alice,20,paused
kim farah hana
jules,8,paused gus,24,failed jules,26,closed lina,27,failed kim,14,pending farah,17,closed eli,26,closed
gus jules lina eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052760
qwen/qwen3.7-plus
awkweave-0052761
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
dina birch 21 jules indigo 41 alice ember 83 hana juniper 82 farah fable 96 farah grove 55 farah harbor 62 chen fable 96 alice cobalt 97 kim birch 82
dina birch 21 jules indigo 41 alice ember 83 hana juniper 82 farah fable 96 farah grove 55 farah harbor 62 chen fable 96 alice cobalt 97 kim birch 82
hana grove 58 kim amber 12 bruno grove 97 chen birch 48 gus birch 70 jules birch 118
hana grove 58 kim amber 12 bruno grove 97 chen birch 48 gus birch 70 jules birch 118
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052761-p1
Remove leading and trailing whitespace from the input and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
dina birch 21 jules indigo 41 alice ember 83 hana juniper 82 farah fable 96 farah grove 55 farah harbor 62 chen fable 96 alice cobalt 97 kim birch 82
dina birch 21 jules indigo 41 alice ember 83 hana juniper 82 farah fable 96 farah grove 55 farah harbor 62 chen fable 96 alice cobalt 97 kim birch 82
hana grove 58 kim amber 12 bruno grove 97 chen birch 48 gus birch 70 jules birch 118
hana grove 58 kim amber 12 bruno grove 97 chen birch 48 gus birch 70 jules birch 118
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052761
qwen/qwen3.7-plus
awkweave-0052762
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus juniper 59 closed ivan indigo 104 closed kim ember 107 ready eli cobalt 8 pending hana delta 22 active gus ember 78 paused lina delta 103 closed
ivan indigo 104 closed
farah amber 94 closed hana juniper 39 paused lina grove 116 closed jules juniper 65 closed lina amber 28 failed gus cobalt 57 pending jules ember 4 closed gus indigo 60 closed chen juniper 84 pending ivan delta 35 closed
jules juniper 65 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052762-p1
Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus juniper 59 closed ivan indigo 104 closed kim ember 107 ready eli cobalt 8 pending hana delta 22 active gus ember 78 paused lina delta 103 closed
ivan indigo 104 closed
farah amber 94 closed hana juniper 39 paused lina grove 116 closed jules juniper 65 closed lina amber 28 failed gus cobalt 57 pending jules ember 4 closed gus indigo 60 closed chen juniper 84 pending ivan delta 35 closed
jules juniper 65 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052762
qwen/qwen3.7-plus
awkweave-0052763
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
alice 71 alice 8 ivan 73 alice 40 alice 51 dina 37 dina 52 ivan 17 ivan 24
alice 71 ivan 73 alice 51 dina 52 ivan 24
dina 45 lina 105 chen 92 farah 1 ivan 80 alice 71 hana 88 farah 2
dina 45 chen 92 ivan 80 hana 88
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052763-p1
Print every other line from the input, beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
alice 71 alice 8 ivan 73 alice 40 alice 51 dina 37 dina 52 ivan 17 ivan 24
alice 71 ivan 73 alice 51 dina 52 ivan 24
dina 45 lina 105 chen 92 farah 1 ivan 80 alice 71 hana 88 farah 2
dina 45 chen 92 ivan 80 hana 88
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052763
qwen/qwen3.7-plus
awkweave-0052764
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma delta 20 delta fable 19 delta fable 42 beta indigo 0 gamma ember 65 gamma juniper 65 alpha birch 85 delta fable 103 delta birch 101 gamma cobalt 100
4
beta juniper 13 beta ember 3 gamma juniper 25 alpha delta 77 delta harbor 2 gamma delta 65
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052764-p1
Determine the number of unique values present in column 1 and output only this total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma delta 20 delta fable 19 delta fable 42 beta indigo 0 gamma ember 65 gamma juniper 65 alpha birch 85 delta fable 103 delta birch 101 gamma cobalt 100
4
beta juniper 13 beta ember 3 gamma juniper 25 alpha delta 77 delta harbor 2 gamma delta 65
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052764
qwen/qwen3.7-plus
awkweave-0052765
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 15 0 chen 15 19 chen 23 8 gus 19 28 bruno 27 13 alice 22 10 dina 24 6 farah 20 27
chen 0.79 chen 2.88 gus 0.68 bruno 2.08 alice 2.20 dina 4.00 farah 0.74
alice 6 0 ivan 12 30 bruno 20 9 eli 25 15 hana 16 20 ivan 8 23 kim 4 8
ivan 0.40 bruno 2.22 eli 1.67 hana 0.80 ivan 0.35 kim 0.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052765-p1
For each row, output 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}
lina 15 0 chen 15 19 chen 23 8 gus 19 28 bruno 27 13 alice 22 10 dina 24 6 farah 20 27
chen 0.79 chen 2.88 gus 0.68 bruno 2.08 alice 2.20 dina 4.00 farah 0.74
alice 6 0 ivan 12 30 bruno 20 9 eli 25 15 hana 16 20 ivan 8 23 kim 4 8
ivan 0.40 bruno 2.22 eli 1.67 hana 0.80 ivan 0.35 kim 0.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052765
qwen/qwen3.7-plus
awkweave-0052766
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]}
alice ember 9 farah grove 19 alice cobalt 9 ivan birch 29 bruno harbor 15 ivan harbor 25
ivan birch 29 ivan harbor 25 farah grove 19
hana ember 14 alice delta 4 hana harbor 2 chen grove 22 ivan amber 25 gus cobalt 23
ivan amber 25 gus cobalt 23 chen grove 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052766-p1
Output the top 3 records based on descending numeric values in column 3, maintaining original 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]}
alice ember 9 farah grove 19 alice cobalt 9 ivan birch 29 bruno harbor 15 ivan harbor 25
ivan birch 29 ivan harbor 25 farah grove 19
hana ember 14 alice delta 4 hana harbor 2 chen grove 22 ivan amber 25 gus cobalt 23
ivan amber 25 gus cobalt 23 chen grove 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052766
qwen/qwen3.7-plus
awkweave-0052767
Print column 3 followed by column 2 for every record.
{print $3, $2}
lina 80 105 pending ivan 52 26 ready alice 87 19 closed ivan 68 99 ready chen 81 56 active kim 83 73 pending chen 110 109 ready alice 15 111 active alice 108 112 active kim 87 114 active
105 80 26 52 19 87 99 68 56 81 73 83 109 110 111 15 112 108 114 87
kim 38 17 pending lina 18 80 active dina 41 115 paused dina 13 94 failed eli 29 59 pending bruno 82 11 pending
17 38 80 18 115 41 94 13 59 29 11 82
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052767-p1
For each record, display column 3 followed by column 2.
{print $3, $2}
lina 80 105 pending ivan 52 26 ready alice 87 19 closed ivan 68 99 ready chen 81 56 active kim 83 73 pending chen 110 109 ready alice 15 111 active alice 108 112 active kim 87 114 active
105 80 26 52 19 87 99 68 56 81 73 83 109 110 111 15 112 108 114 87
kim 38 17 pending lina 18 80 active dina 41 115 paused dina 13 94 failed eli 29 59 pending bruno 82 11 pending
17 38 80 18 115 41 94 13 59 29 11 82
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052767
qwen/qwen3.7-plus
awkweave-0052768
Print the last field of every input line.
{print $NF}
hana birch harbor eli birch cobalt ivan birch fable farah ember grove chen grove grove alice fable delta alice indigo amber jules indigo grove eli birch harbor
harbor cobalt fable grove grove delta amber grove harbor
gus indigo juniper bruno ember grove kim fable grove dina ember ember dina fable harbor farah amber grove jules harbor birch dina harbor delta
juniper grove grove ember harbor grove birch delta
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052768-p1
Print the final field from every input line.
{print $NF}
hana birch harbor eli birch cobalt ivan birch fable farah ember grove chen grove grove alice fable delta alice indigo amber jules indigo grove eli birch harbor
harbor cobalt fable grove grove delta amber grove harbor
gus indigo juniper bruno ember grove kim fable grove dina ember ember dina fable harbor farah amber grove jules harbor birch dina harbor delta
juniper grove grove ember harbor grove birch delta
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052768
qwen/qwen3.7-plus
awkweave-0052769
Print the complete records where column 3 is at least 65.
$3 >= 65
failed fable 100 ember paused indigo 105 birch ready indigo 48 fable ready birch 36 cobalt active delta 107 indigo paused grove 80 grove ready grove 45 birch failed ember 67 birch active fable 47 fable closed grove 55 birch
failed fable 100 ember paused indigo 105 birch active delta 107 indigo paused grove 80 grove failed ember 67 birch
closed cobalt 54 cobalt ready cobalt 22 ember paused birch 47 fable paused delta 74 ember failed birch 98 cobalt ready cobalt 13 ember pending grove 45 juniper closed ember 88 birch paused ember 108 cobalt
paused delta 74 ember failed birch 98 cobalt closed ember 88 birch paused ember 108 cobalt
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052769-p1
Display full records where the value in column 3 is greater than or equal to 65.
$3 >= 65
failed fable 100 ember paused indigo 105 birch ready indigo 48 fable ready birch 36 cobalt active delta 107 indigo paused grove 80 grove ready grove 45 birch failed ember 67 birch active fable 47 fable closed grove 55 birch
failed fable 100 ember paused indigo 105 birch active delta 107 indigo paused grove 80 grove failed ember 67 birch
closed cobalt 54 cobalt ready cobalt 22 ember paused birch 47 fable paused delta 74 ember failed birch 98 cobalt ready cobalt 13 ember pending grove 45 juniper closed ember 88 birch paused ember 108 cobalt
paused delta 74 ember failed birch 98 cobalt closed ember 88 birch paused ember 108 cobalt
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052769
qwen/qwen3.7-plus
awkweave-0052770
Show whole lines whose 2nd field is between 4 and 26, inclusive.
$2 >= 4 && $2 <= 26
active 8 failed grove ready 15 ready juniper closed 20 pending amber paused 3 active harbor active 4 ready ember failed 8 active juniper paused 27 active fable closed 4 pending harbor
active 8 failed grove ready 15 ready juniper closed 20 pending amber active 4 ready ember failed 8 active juniper closed 4 pending harbor
failed 13 active grove ready 2 pending grove closed 24 active amber paused 18 active birch paused 6 active amber paused 29 active delta pending 26 closed birch ready 10 paused amber pending 17 ready grove closed 1 pending delta
failed 13 active grove closed 24 active amber paused 18 active birch paused 6 active amber pending 26 closed birch ready 10 paused amber pending 17 ready grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052770-p1
Show entire lines where the 2nd field falls within the inclusive range of 4 to 26.
$2 >= 4 && $2 <= 26
active 8 failed grove ready 15 ready juniper closed 20 pending amber paused 3 active harbor active 4 ready ember failed 8 active juniper paused 27 active fable closed 4 pending harbor
active 8 failed grove ready 15 ready juniper closed 20 pending amber active 4 ready ember failed 8 active juniper closed 4 pending harbor
failed 13 active grove ready 2 pending grove closed 24 active amber paused 18 active birch paused 6 active amber paused 29 active delta pending 26 closed birch ready 10 paused amber pending 17 ready grove closed 1 pending delta
failed 13 active grove closed 24 active amber paused 18 active birch paused 6 active amber pending 26 closed birch ready 10 paused amber pending 17 ready grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052770
qwen/qwen3.7-plus
awkweave-0052771
Print column 1 only for rows where column 2 is exactly active.
$2 == "active"{print $1}
jules pending delta 50 gus active cobalt 49 bruno active birch 115 gus paused ember 24 gus active indigo 114 chen closed delta 40 chen pending fable 41
gus bruno gus
lina closed juniper 103 kim closed harbor 115 kim active ember 73 lina pending cobalt 52 eli closed grove 61 gus paused fable 68 hana paused juniper 13 ivan failed amber 79
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052771-p1
Output only column 1 for rows where column 2 equals active.
$2 == "active"{print $1}
jules pending delta 50 gus active cobalt 49 bruno active birch 115 gus paused ember 24 gus active indigo 114 chen closed delta 40 chen pending fable 41
gus bruno gus
lina closed juniper 103 kim closed harbor 115 kim active ember 73 lina pending cobalt 52 eli closed grove 61 gus paused fable 68 hana paused juniper 13 ivan failed amber 79
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052771
qwen/qwen3.7-plus
awkweave-0052772
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
indigo 18 INFO indigo 88 DEBUG birch 42 INFO grove 77 DEBUG ember 113 DEBUG harbor 26 WARN juniper 65 WARN fable 119 INFO
indigo 18 INFO birch 42 INFO fable 119 INFO
birch 23 INFO grove 96 WARN cobalt 74 INFO harbor 53 DEBUG juniper 72 WARN fable 58 ERROR
birch 23 INFO cobalt 74 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052772-p1
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
indigo 18 INFO indigo 88 DEBUG birch 42 INFO grove 77 DEBUG ember 113 DEBUG harbor 26 WARN juniper 65 WARN fable 119 INFO
indigo 18 INFO birch 42 INFO fable 119 INFO
birch 23 INFO grove 96 WARN cobalt 74 INFO harbor 53 DEBUG juniper 72 WARN fable 58 ERROR
birch 23 INFO cobalt 74 INFO
regex_filter
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0052772
qwen/qwen3.7-plus