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-0008720-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
indigo_harbor 28 grove_ember 45 delta_ember 0 juniper_indigo 2 fable_ember 51 birch_grove 116 indigo_amber 108
indigo harbor grove ember delta ember juniper indigo fable ember birch grove indigo amber
ember_delta 23 delta_indigo 0 harbor_indigo 114 delta_indigo 16 fable_indigo 65 fable_grove 70
ember delta delta indigo harbor indigo delta indigo fable indigo fable grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008720
qwen/qwen3.7-plus
awkweave-0008721
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan birch 108 paused lina indigo 65 active eli harbor 93 ready hana delta 25 paused dina fable 68 paused bruno delta 62 paused jules ember 79 ready chen cobalt 14 closed alice amber 50 paused farah fable 112 active
paused 108 birch ivan active 65 indigo lina ready 93 harbor eli paused 25 delta hana paused 68 fable dina paused 62 delta bruno ready 79 ember jules closed 14 cobalt chen paused 50 amber alice active 112 fable farah
ivan delta 93 failed kim delta 118 failed gus amber 73 paused chen grove 39 ready farah delta 97 paused bruno delta 75 ready dina amber 48 active chen fable 58 failed hana cobalt 56 active
failed 93 delta ivan failed 118 delta kim paused 73 amber gus ready 39 grove chen paused 97 delta farah ready 75 delta bruno active 48 amber dina failed 58 fable chen active 56 cobalt hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008721-p1
Reverse the sequence of fields on each line and output all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan birch 108 paused lina indigo 65 active eli harbor 93 ready hana delta 25 paused dina fable 68 paused bruno delta 62 paused jules ember 79 ready chen cobalt 14 closed alice amber 50 paused farah fable 112 active
paused 108 birch ivan active 65 indigo lina ready 93 harbor eli paused 25 delta hana paused 68 fable dina paused 62 delta bruno ready 79 ember jules closed 14 cobalt chen paused 50 amber alice active 112 fable farah
ivan delta 93 failed kim delta 118 failed gus amber 73 paused chen grove 39 ready farah delta 97 paused bruno delta 75 ready dina amber 48 active chen fable 58 failed hana cobalt 56 active
failed 93 delta ivan failed 118 delta kim paused 73 amber gus ready 39 grove chen paused 97 delta farah ready 75 delta bruno active 48 amber dina failed 58 fable chen active 56 cobalt hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008721
qwen/qwen3.7-plus
awkweave-0008722
Print the number of whitespace-separated fields on each line.
{print NF}
bruno birch 102 failed kim juniper 48 closed kim amber 55 pending hana fable 96 active hana indigo 76 pending kim grove 116 ready alice cobalt 12 ready eli delta 113 ready chen harbor 25 pending farah indigo 33 ready
4 4 4 4 4 4 4 4 4 4
lina grove 98 failed gus fable 23 paused bruno delta 80 paused kim harbor 120 paused eli indigo 7 pending chen cobalt 76 active gus amber 74 failed lina ember 40 closed alice cobalt 35 closed eli birch 10 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008722-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
bruno birch 102 failed kim juniper 48 closed kim amber 55 pending hana fable 96 active hana indigo 76 pending kim grove 116 ready alice cobalt 12 ready eli delta 113 ready chen harbor 25 pending farah indigo 33 ready
4 4 4 4 4 4 4 4 4 4
lina grove 98 failed gus fable 23 paused bruno delta 80 paused kim harbor 120 paused eli indigo 7 pending chen cobalt 76 active gus amber 74 failed lina ember 40 closed alice cobalt 35 closed eli birch 10 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008722
qwen/qwen3.7-plus
awkweave-0008723
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]]}
hana gamma 44 chen beta 41 hana gamma 40 lina beta 38 bruno alpha 45 dina delta 35
gamma 2 beta 2 alpha 1 delta 1
jules delta 50 kim delta 98 kim beta 101 alice alpha 84 bruno delta 87 eli alpha 78 chen delta 32 farah delta 81
delta 5 beta 1 alpha 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008723-p1
Tally the records for each unique value in column 2, listing each value and its total in the order 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]]}
hana gamma 44 chen beta 41 hana gamma 40 lina beta 38 bruno alpha 45 dina delta 35
gamma 2 beta 2 alpha 1 delta 1
jules delta 50 kim delta 98 kim beta 101 alice alpha 84 bruno delta 87 eli alpha 78 chen delta 32 farah delta 81
delta 5 beta 1 alpha 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008723
qwen/qwen3.7-plus
awkweave-0008724
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli delta 18 kim alpha 23 alice gamma 21 farah delta 17 farah beta 24 dina beta 6 lina alpha 3 dina alpha 1 dina beta 21
delta 35 alpha 27 gamma 21 beta 51
gus gamma 19 alice alpha 15 eli alpha 10 bruno delta 8 bruno gamma 13 ivan alpha 30 ivan alpha 16 bruno alpha 11 lina gamma 20 eli gamma 2
gamma 54 alpha 82 delta 8
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008724-p1
Calculate the sum of column 3 grouped by column 2 categories, presenting the results in the order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli delta 18 kim alpha 23 alice gamma 21 farah delta 17 farah beta 24 dina beta 6 lina alpha 3 dina alpha 1 dina beta 21
delta 35 alpha 27 gamma 21 beta 51
gus gamma 19 alice alpha 15 eli alpha 10 bruno delta 8 bruno gamma 13 ivan alpha 30 ivan alpha 16 bruno alpha 11 lina gamma 20 eli gamma 2
gamma 54 alpha 82 delta 8
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008724
qwen/qwen3.7-plus
awkweave-0008725
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha harbor 48 alpha grove 89 beta ember 84 delta juniper 83 beta fable 39 alpha harbor 44 gamma indigo 78 delta cobalt 75
alpha 3 beta 2 delta 2
delta juniper 0 delta ember 100 delta ember 99 gamma delta 60 alpha delta 57 alpha juniper 40 beta amber 74 alpha cobalt 119
delta 3 alpha 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008725-p1
List each duplicate value from column 1 along with its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha harbor 48 alpha grove 89 beta ember 84 delta juniper 83 beta fable 39 alpha harbor 44 gamma indigo 78 delta cobalt 75
alpha 3 beta 2 delta 2
delta juniper 0 delta ember 100 delta ember 99 gamma delta 60 alpha delta 57 alpha juniper 40 beta amber 74 alpha cobalt 119
delta 3 alpha 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008725
qwen/qwen3.7-plus
awkweave-0008726
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name note state record_id r001 bruno 7 ready r002 jules 21 closed r003 bruno 24 active r004 jules 1 ready r005 dina 2 pending r006 farah 18 paused r007 kim 29 closed r008 chen 11 ready
bruno jules bruno jules dina farah kim chen
display_name note state record_id r001 dina 26 active r002 farah 5 pending r003 farah 22 closed r004 ivan 28 active r005 alice 19 pending r006 gus 11 closed r007 dina 4 closed r008 lina 6 active r009 hana 9 paused r010 farah 25 closed
dina farah farah ivan alice gus dina lina hana farah
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008726-p1
Skip the header row and print the contents of the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name note state record_id r001 bruno 7 ready r002 jules 21 closed r003 bruno 24 active r004 jules 1 ready r005 dina 2 pending r006 farah 18 paused r007 kim 29 closed r008 chen 11 ready
bruno jules bruno jules dina farah kim chen
display_name note state record_id r001 dina 26 active r002 farah 5 pending r003 farah 22 closed r004 ivan 28 active r005 alice 19 pending r006 gus 11 closed r007 dina 4 closed r008 lina 6 active r009 hana 9 paused r010 farah 25 closed
dina farah farah ivan alice gus dina lina hana farah
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008726
qwen/qwen3.7-plus
awkweave-0008727
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 farah 25 pending r002 ivan 30 pending r003 chen 16 closed r004 eli 5 paused r005 chen 17 active r006 eli 16 paused r007 alice 23 pending r008 eli 6 paused
farah ivan chen chen eli alice
record_id display_name score state r001 kim 22 pending r002 jules 19 active r003 jules 21 ready r004 chen 25 paused r005 alice 11 ready r006 ivan 19 closed r007 lina 23 pending r008 gus 6 failed r009 ivan 30 closed r010 bruno 30 ready
kim jules jules chen ivan lina ivan bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008727-p1
Ignore the header row and print the display_name field for data rows where the score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 farah 25 pending r002 ivan 30 pending r003 chen 16 closed r004 eli 5 paused r005 chen 17 active r006 eli 16 paused r007 alice 23 pending r008 eli 6 paused
farah ivan chen chen eli alice
record_id display_name score state r001 kim 22 pending r002 jules 19 active r003 jules 21 ready r004 chen 25 paused r005 alice 11 ready r006 ivan 19 closed r007 lina 23 pending r008 gus 6 failed r009 ivan 30 closed r010 bruno 30 ready
kim jules jules chen ivan lina ivan bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008727
qwen/qwen3.7-plus
awkweave-0008728
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 29 ready kim 24 closed lina 29 ready gus 21 paused ivan 24 paused gus 24 pending lina 8 pending gus 30 failed bruno 22 closed dina 29 ready
29 24 29 21 24 24 8 30 22 29
ivan 10 paused lina 15 closed chen 6 active alice 14 paused bruno 1 ready gus 23 closed ivan 23 ready eli 15 closed chen 20 closed alice 20 failed
10 15 6 14 1 23 23 15 20 20
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008728-p1
Given tab-separated input, output the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 29 ready kim 24 closed lina 29 ready gus 21 paused ivan 24 paused gus 24 pending lina 8 pending gus 30 failed bruno 22 closed dina 29 ready
29 24 29 21 24 24 8 30 22 29
ivan 10 paused lina 15 closed chen 6 active alice 14 paused bruno 1 ready gus 23 closed ivan 23 ready eli 15 closed chen 20 closed alice 20 failed
10 15 6 14 1 23 23 15 20 20
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008728
qwen/qwen3.7-plus
awkweave-0008729
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8.
BEGIN{FS=OFS=","}$2>8{print $1}
chen,11,pending eli,14,failed gus,18,paused farah,22,ready kim,10,ready dina,5,pending dina,13,ready
chen eli gus farah kim dina
bruno,16,ready gus,14,closed ivan,30,active jules,8,ready chen,24,paused lina,25,active bruno,27,ready bruno,8,failed
bruno gus ivan chen lina bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008729-p1
For simple comma-separated input without quoted commas, print column 1 if the value in column 2 is greater than 8.
BEGIN{FS=OFS=","}$2>8{print $1}
chen,11,pending eli,14,failed gus,18,paused farah,22,ready kim,10,ready dina,5,pending dina,13,ready
chen eli gus farah kim dina
bruno,16,ready gus,14,closed ivan,30,active jules,8,ready chen,24,paused lina,25,active bruno,27,ready bruno,8,failed
bruno gus ivan chen lina bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008729
qwen/qwen3.7-plus
awkweave-0008730
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan harbor 115 lina ember 37 jules ember 38 alice indigo 78 kim juniper 0 kim ember 42
ivan harbor 115 lina ember 37 jules ember 38 alice indigo 78 kim juniper 0 kim ember 42
hana delta 31 dina cobalt 75 ivan harbor 63 chen harbor 91 alice amber 11 ivan birch 7
hana delta 31 dina cobalt 75 ivan harbor 63 chen harbor 91 alice amber 11 ivan birch 7
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008730-p1
Remove leading and trailing whitespace, then replace sequences of internal whitespace with a single space.
{$1=$1;print}
ivan harbor 115 lina ember 37 jules ember 38 alice indigo 78 kim juniper 0 kim ember 42
ivan harbor 115 lina ember 37 jules ember 38 alice indigo 78 kim juniper 0 kim ember 42
hana delta 31 dina cobalt 75 ivan harbor 63 chen harbor 91 alice amber 11 ivan birch 7
hana delta 31 dina cobalt 75 ivan harbor 63 chen harbor 91 alice amber 11 ivan birch 7
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008730
qwen/qwen3.7-plus
awkweave-0008731
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno birch 44 closed hana delta 65 closed jules fable 107 ready bruno juniper 41 pending dina birch 51 closed eli fable 95 paused
bruno juniper 41 pending
chen amber 115 ready bruno amber 104 paused alice fable 54 closed farah amber 81 failed alice harbor 71 pending lina juniper 26 ready kim delta 113 paused gus juniper 56 active lina ember 38 paused
alice harbor 71 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008731-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}
bruno birch 44 closed hana delta 65 closed jules fable 107 ready bruno juniper 41 pending dina birch 51 closed eli fable 95 paused
bruno juniper 41 pending
chen amber 115 ready bruno amber 104 paused alice fable 54 closed farah amber 81 failed alice harbor 71 pending lina juniper 26 ready kim delta 113 paused gus juniper 56 active lina ember 38 paused
alice harbor 71 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008731
qwen/qwen3.7-plus
awkweave-0008732
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
farah 24 dina 39 dina 114 gus 35 hana 4 kim 77 lina 28 alice 13 eli 91 ivan 32
farah 24 gus 35 lina 28 ivan 32
dina 48 dina 120 ivan 92 hana 92 eli 9 hana 69
dina 48 hana 92
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008732-p1
Output every third line beginning with line 1 (i.e., lines 1, 4, 7, etc.).
NR%3==1
farah 24 dina 39 dina 114 gus 35 hana 4 kim 77 lina 28 alice 13 eli 91 ivan 32
farah 24 gus 35 lina 28 ivan 32
dina 48 dina 120 ivan 92 hana 92 eli 9 hana 69
dina 48 hana 92
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008732
qwen/qwen3.7-plus
awkweave-0008733
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta birch 58 beta ember 110 beta ember 24 alpha indigo 30 alpha cobalt 14 gamma harbor 11
5
gamma amber 68 alpha fable 58 alpha amber 58 delta amber 113 beta indigo 45 gamma delta 87
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008733-p1
Calculate the number of unique values in the second column and display only that total count.
{if(!seen[$2]++)n++}END{print n+0}
beta birch 58 beta ember 110 beta ember 24 alpha indigo 30 alpha cobalt 14 gamma harbor 11
5
gamma amber 68 alpha fable 58 alpha amber 58 delta amber 113 beta indigo 45 gamma delta 87
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008733
qwen/qwen3.7-plus
awkweave-0008734
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}
hana 17 0 lina 23 26 farah 29 16 kim 24 15 chen 28 1 hana 27 24 alice 28 13 jules 23 13 farah 13 11 ivan 24 29
lina 0.88 farah 1.81 kim 1.60 chen 28.00 hana 1.12 alice 2.15 jules 1.77 farah 1.18 ivan 0.83
kim 17 0 hana 23 26 ivan 11 1 hana 10 25 gus 5 25 dina 25 17
hana 0.88 ivan 11.00 hana 0.40 gus 0.20 dina 1.47
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008734-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 17 0 lina 23 26 farah 29 16 kim 24 15 chen 28 1 hana 27 24 alice 28 13 jules 23 13 farah 13 11 ivan 24 29
lina 0.88 farah 1.81 kim 1.60 chen 28.00 hana 1.12 alice 2.15 jules 1.77 farah 1.18 ivan 0.83
kim 17 0 hana 23 26 ivan 11 1 hana 10 25 gus 5 25 dina 25 17
hana 0.88 ivan 11.00 hana 0.40 gus 0.20 dina 1.47
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008734
qwen/qwen3.7-plus
awkweave-0008735
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen delta 13 jules indigo 4 alice grove 13 farah indigo 17 hana delta 13 gus delta 21
gus delta 21 farah indigo 17 chen delta 13
kim birch 28 gus ember 16 dina delta 5 alice delta 3 bruno fable 28 lina juniper 4 kim birch 16 hana grove 8 chen birch 19 bruno delta 1
kim birch 28 bruno fable 28 chen birch 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008735-p1
Display the three full records with the largest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen delta 13 jules indigo 4 alice grove 13 farah indigo 17 hana delta 13 gus delta 21
gus delta 21 farah indigo 17 chen delta 13
kim birch 28 gus ember 16 dina delta 5 alice delta 3 bruno fable 28 lina juniper 4 kim birch 16 hana grove 8 chen birch 19 bruno delta 1
kim birch 28 bruno fable 28 chen birch 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008735
qwen/qwen3.7-plus
awkweave-0008736
For each line, output fields 3 and 1, in that order.
{print $3, $1}
fable kim 21 hana harbor ivan 2 dina ember chen 38 lina delta bruno 105 lina cobalt lina 34 farah amber gus 47 hana birch chen 64 eli amber farah 89 dina
21 fable 2 harbor 38 ember 105 delta 34 cobalt 47 amber 64 birch 89 amber
delta hana 90 gus juniper chen 67 gus grove alice 57 jules amber bruno 20 kim harbor jules 33 lina harbor kim 81 bruno delta alice 67 jules
90 delta 67 juniper 57 grove 20 amber 33 harbor 81 harbor 67 delta
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008736-p1
For every line, print the third field followed by the first field.
{print $3, $1}
fable kim 21 hana harbor ivan 2 dina ember chen 38 lina delta bruno 105 lina cobalt lina 34 farah amber gus 47 hana birch chen 64 eli amber farah 89 dina
21 fable 2 harbor 38 ember 105 delta 34 cobalt 47 amber 64 birch 89 amber
delta hana 90 gus juniper chen 67 gus grove alice 57 jules amber bruno 20 kim harbor jules 33 lina harbor kim 81 bruno delta alice 67 jules
90 delta 67 juniper 57 grove 20 amber 33 harbor 81 harbor 67 delta
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008736
qwen/qwen3.7-plus
awkweave-0008737
Print the last field of every input line.
{print $NF}
cobalt cobalt 100 paused ember indigo 81 indigo juniper 76 closed amber amber 34 indigo birch 27 ready cobalt birch 16 ember ember 75 failed juniper delta 11 harbor harbor 43 active grove ember 14 cobalt indigo 97 pending juniper ember 39 delta delta 93 ready delta amber 16 fable harbor 65 closed cobalt fable 30 ember ...
81 34 16 11 14 39 16 30 91 89
amber grove 85 active ember delta 22 grove birch 51 active birch cobalt 46 grove juniper 10 active indigo fable 82 birch indigo 4 ready harbor juniper 88 delta harbor 30 ready fable fable 58 harbor delta 51 active cobalt grove 55
22 46 82 88 58 55
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008737-p1
Output the final field from each input line.
{print $NF}
cobalt cobalt 100 paused ember indigo 81 indigo juniper 76 closed amber amber 34 indigo birch 27 ready cobalt birch 16 ember ember 75 failed juniper delta 11 harbor harbor 43 active grove ember 14 cobalt indigo 97 pending juniper ember 39 delta delta 93 ready delta amber 16 fable harbor 65 closed cobalt fable 30 ember ...
81 34 16 11 14 39 16 30 91 89
amber grove 85 active ember delta 22 grove birch 51 active birch cobalt 46 grove juniper 10 active indigo fable 82 birch indigo 4 ready harbor juniper 88 delta harbor 30 ready fable fable 58 harbor delta 51 active cobalt grove 55
22 46 82 88 58 55
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008737
qwen/qwen3.7-plus
awkweave-0008738
Print the complete records where column 3 is at least 33.
$3 >= 33
cobalt paused 81 grove indigo failed 98 fable birch pending 60 delta indigo pending 101 juniper harbor failed 34 ember fable paused 50 fable harbor paused 3 grove birch failed 113 delta fable paused 35 harbor indigo failed 69 birch
cobalt paused 81 grove indigo failed 98 fable birch pending 60 delta indigo pending 101 juniper harbor failed 34 ember fable paused 50 fable birch failed 113 delta fable paused 35 harbor indigo failed 69 birch
birch closed 48 indigo ember active 50 grove birch ready 80 juniper ember active 104 cobalt delta closed 56 harbor fable ready 84 harbor
birch closed 48 indigo ember active 50 grove birch ready 80 juniper ember active 104 cobalt delta closed 56 harbor fable ready 84 harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008738-p1
Print the entire records for which the value in column 3 is greater than or equal to 33.
$3 >= 33
cobalt paused 81 grove indigo failed 98 fable birch pending 60 delta indigo pending 101 juniper harbor failed 34 ember fable paused 50 fable harbor paused 3 grove birch failed 113 delta fable paused 35 harbor indigo failed 69 birch
cobalt paused 81 grove indigo failed 98 fable birch pending 60 delta indigo pending 101 juniper harbor failed 34 ember fable paused 50 fable birch failed 113 delta fable paused 35 harbor indigo failed 69 birch
birch closed 48 indigo ember active 50 grove birch ready 80 juniper ember active 104 cobalt delta closed 56 harbor fable ready 84 harbor
birch closed 48 indigo ember active 50 grove birch ready 80 juniper ember active 104 cobalt delta closed 56 harbor fable ready 84 harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008738
qwen/qwen3.7-plus
awkweave-0008739
Show whole lines whose 2nd field is between 8 and 28, inclusive.
$2 >= 8 && $2 <= 28
indigo 13 birch indigo delta 17 amber cobalt delta 23 ember birch cobalt 7 birch juniper amber 30 juniper ember juniper 18 grove cobalt harbor 12 fable juniper amber 18 harbor juniper harbor 17 harbor juniper delta 28 fable ember
indigo 13 birch indigo delta 17 amber cobalt delta 23 ember birch juniper 18 grove cobalt harbor 12 fable juniper amber 18 harbor juniper harbor 17 harbor juniper delta 28 fable ember
ember 9 fable ember fable 27 amber amber delta 19 amber fable birch 30 harbor juniper birch 11 grove juniper juniper 15 ember birch cobalt 24 delta cobalt
ember 9 fable ember fable 27 amber amber delta 19 amber fable birch 11 grove juniper juniper 15 ember birch cobalt 24 delta cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008739-p1
Display complete lines where the second field falls within the inclusive range of 8 to 28.
$2 >= 8 && $2 <= 28
indigo 13 birch indigo delta 17 amber cobalt delta 23 ember birch cobalt 7 birch juniper amber 30 juniper ember juniper 18 grove cobalt harbor 12 fable juniper amber 18 harbor juniper harbor 17 harbor juniper delta 28 fable ember
indigo 13 birch indigo delta 17 amber cobalt delta 23 ember birch juniper 18 grove cobalt harbor 12 fable juniper amber 18 harbor juniper harbor 17 harbor juniper delta 28 fable ember
ember 9 fable ember fable 27 amber amber delta 19 amber fable birch 30 harbor juniper birch 11 grove juniper juniper 15 ember birch cobalt 24 delta cobalt
ember 9 fable ember fable 27 amber amber delta 19 amber fable birch 11 grove juniper juniper 15 ember birch cobalt 24 delta cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008739
qwen/qwen3.7-plus
awkweave-0008740
Print column 1 only for rows where column 2 is exactly failed.
$2 == "failed"{print $1}
bruno failed harbor 50 alice paused harbor 21 eli active indigo 100 bruno failed indigo 73 jules active delta 103 jules closed birch 14 dina failed amber 35 hana failed amber 113 ivan failed fable 120
bruno bruno dina hana ivan
dina closed juniper 96 hana ready juniper 101 jules failed grove 49 jules pending juniper 30 chen ready juniper 2 gus closed amber 41 eli failed amber 69 alice paused amber 74
jules eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008740-p1
Output only the first column for rows where the second column is exactly 'failed'.
$2 == "failed"{print $1}
bruno failed harbor 50 alice paused harbor 21 eli active indigo 100 bruno failed indigo 73 jules active delta 103 jules closed birch 14 dina failed amber 35 hana failed amber 113 ivan failed fable 120
bruno bruno dina hana ivan
dina closed juniper 96 hana ready juniper 101 jules failed grove 49 jules pending juniper 30 chen ready juniper 2 gus closed amber 41 eli failed amber 69 alice paused amber 74
jules eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008740
qwen/qwen3.7-plus
awkweave-0008741
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
30 indigo DEBUG 94 fable DEBUG 106 harbor DEBUG 100 indigo DEBUG 82 delta INFO 114 harbor ERROR 46 fable WARN 8 birch INFO 78 birch ERROR
46 fable WARN
86 juniper INFO 86 grove INFO 34 birch DEBUG 64 indigo INFO 2 delta ERROR 96 harbor DEBUG 68 birch DEBUG
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008741-p1
Print all fields from lines where the third field starts with the string 'WARN'.
$3 ~ /^WARN/
30 indigo DEBUG 94 fable DEBUG 106 harbor DEBUG 100 indigo DEBUG 82 delta INFO 114 harbor ERROR 46 fable WARN 8 birch INFO 78 birch ERROR
46 fable WARN
86 juniper INFO 86 grove INFO 34 birch DEBUG 64 indigo INFO 2 delta ERROR 96 harbor DEBUG 68 birch DEBUG
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008741
qwen/qwen3.7-plus
awkweave-0008742
Print every line except those containing the exact text ember.
$0 !~ /ember/
delta 119 pending juniper 68 closed ember 94 paused grove 54 closed amber 48 failed juniper 73 closed fable 107 paused ember 999 active
delta 119 pending juniper 68 closed grove 54 closed amber 48 failed juniper 73 closed fable 107 paused
grove 88 ready amber 77 closed cobalt 28 active birch 104 pending fable 20 ready birch 62 failed birch 59 paused ember 999 active
grove 88 ready amber 77 closed cobalt 28 active birch 104 pending fable 20 ready birch 62 failed birch 59 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008742-p1
Output all lines that do not contain the exact string ember.
$0 !~ /ember/
delta 119 pending juniper 68 closed ember 94 paused grove 54 closed amber 48 failed juniper 73 closed fable 107 paused ember 999 active
delta 119 pending juniper 68 closed grove 54 closed amber 48 failed juniper 73 closed fable 107 paused
grove 88 ready amber 77 closed cobalt 28 active birch 104 pending fable 20 ready birch 62 failed birch 59 paused ember 999 active
grove 88 ready amber 77 closed cobalt 28 active birch 104 pending fable 20 ready birch 62 failed birch 59 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008742
qwen/qwen3.7-plus
awkweave-0008743
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
ivan ember 76 ivan fable 98 chen juniper 88 lina birch 20 jules amber 92 hana amber 31 chen indigo 1
ivan fable 98 chen juniper 88
lina juniper 80 dina delta 74 kim grove 46 hana harbor 106 kim harbor 84 hana cobalt 108
dina delta 74 kim grove 46
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008743-p1
Display lines 2 to 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
ivan ember 76 ivan fable 98 chen juniper 88 lina birch 20 jules amber 92 hana amber 31 chen indigo 1
ivan fable 98 chen juniper 88
lina juniper 80 dina delta 74 kim grove 46 hana harbor 106 kim harbor 84 hana cobalt 108
dina delta 74 kim grove 46
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008743
qwen/qwen3.7-plus
awkweave-0008744
Output only the first 5 records.
NR <= 5
alice 39 ember jules 47 juniper farah 84 indigo eli 58 birch alice 50 ember alice 7 delta jules 22 harbor chen 73 fable
alice 39 ember jules 47 juniper farah 84 indigo eli 58 birch alice 50 ember
alice 33 birch hana 32 indigo eli 112 delta alice 59 ember chen 110 birch eli 12 amber gus 59 indigo lina 97 juniper
alice 33 birch hana 32 indigo eli 112 delta alice 59 ember chen 110 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008744-p1
Show only the initial 5 records.
NR <= 5
alice 39 ember jules 47 juniper farah 84 indigo eli 58 birch alice 50 ember alice 7 delta jules 22 harbor chen 73 fable
alice 39 ember jules 47 juniper farah 84 indigo eli 58 birch alice 50 ember
alice 33 birch hana 32 indigo eli 112 delta alice 59 ember chen 110 birch eli 12 amber gus 59 indigo lina 97 juniper
alice 33 birch hana 32 indigo eli 112 delta alice 59 ember chen 110 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008744
qwen/qwen3.7-plus
awkweave-0008745
Skip the first line and print every remaining line unchanged.
NR > 1
jules 24 fable chen 17 fable jules 41 amber alice 99 juniper chen 98 birch hana 95 ember
chen 17 fable jules 41 amber alice 99 juniper chen 98 birch hana 95 ember
kim 18 ember dina 94 fable ivan 8 delta ivan 95 fable dina 29 cobalt lina 49 birch jules 93 amber bruno 103 indigo bruno 3 grove
dina 94 fable ivan 8 delta ivan 95 fable dina 29 cobalt lina 49 birch jules 93 amber bruno 103 indigo bruno 3 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008745-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
jules 24 fable chen 17 fable jules 41 amber alice 99 juniper chen 98 birch hana 95 ember
chen 17 fable jules 41 amber alice 99 juniper chen 98 birch hana 95 ember
kim 18 ember dina 94 fable ivan 8 delta ivan 95 fable dina 29 cobalt lina 49 birch jules 93 amber bruno 103 indigo bruno 3 grove
dina 94 fable ivan 8 delta ivan 95 fable dina 29 cobalt lina 49 birch jules 93 amber bruno 103 indigo bruno 3 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008745
qwen/qwen3.7-plus
awkweave-0008746
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
lina ready 48 alice closed 118 alice failed 43 eli active 88 jules failed 74 bruno closed 20 eli ready 78 bruno closed 30 dina pending 83
0
hana paused 79 dina ready 36 jules ready 3 bruno paused 4 gus paused 22 lina ready 56 alice failed 47
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008746-p1
Count the records where column 2 is paused; output 0 if the count is zero.
$2 == "paused"{n++}END{print n+0}
lina ready 48 alice closed 118 alice failed 43 eli active 88 jules failed 74 bruno closed 20 eli ready 78 bruno closed 30 dina pending 83
0
hana paused 79 dina ready 36 jules ready 3 bruno paused 4 gus paused 22 lina ready 56 alice failed 47
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008746
qwen/qwen3.7-plus
awkweave-0008747
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
chen ember 1 lina ember 16 dina delta 21 gus juniper 10 lina fable 28 kim delta 17
93
gus ember 8 bruno harbor 8 hana birch 14 ivan amber 8 chen indigo 26 kim cobalt 26 jules cobalt 15 eli fable 19 kim indigo 17 gus delta 5
146
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008747-p1
Compute and display the total sum of integer values in column 3.
{s+=$3}END{print s+0}
chen ember 1 lina ember 16 dina delta 21 gus juniper 10 lina fable 28 kim delta 17
93
gus ember 8 bruno harbor 8 hana birch 14 ivan amber 8 chen indigo 26 kim cobalt 26 jules cobalt 15 eli fable 19 kim indigo 17 gus delta 5
146
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008747
qwen/qwen3.7-plus
awkweave-0008748
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 juniper hana 5 grove lina 6 harbor gus 16 ember jules 28 birch lina 23 ember kim
15.67
15 harbor dina 28 indigo gus 4 harbor chen 10 juniper chen 11 indigo jules 27 amber lina 30 harbor alice 15 ember gus 8 ember alice
16.44
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008748-p1
Print the average of column 1, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 juniper hana 5 grove lina 6 harbor gus 16 ember jules 28 birch lina 23 ember kim
15.67
15 harbor dina 28 indigo gus 4 harbor chen 10 juniper chen 11 indigo jules 27 amber lina 30 harbor alice 15 ember gus 8 ember alice
16.44
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008748
qwen/qwen3.7-plus
awkweave-0008749
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
29 amber ivan 29 indigo dina 15 ember gus 11 birch jules 28 amber jules 19 harbor hana 29 fable dina
11
20 cobalt lina 23 ember chen 11 amber eli 18 harbor hana 30 juniper jules 17 fable bruno
11
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008749-p1
Identify and output the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
29 amber ivan 29 indigo dina 15 ember gus 11 birch jules 28 amber jules 19 harbor hana 29 fable dina
11
20 cobalt lina 23 ember chen 11 amber eli 18 harbor hana 30 juniper jules 17 fable bruno
11
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008749
qwen/qwen3.7-plus
awkweave-0008750
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
alice 13 birch farah 6 fable bruno 11 fable alice 15 fable lina 6 birch bruno 29 indigo
29
ivan 24 juniper hana 2 delta chen 19 ember eli 5 birch ivan 9 indigo farah 14 harbor chen 12 juniper alice 25 indigo
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008750-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
alice 13 birch farah 6 fable bruno 11 fable alice 15 fable lina 6 birch bruno 29 indigo
29
ivan 24 juniper hana 2 delta chen 19 ember eli 5 birch ivan 9 indigo farah 14 harbor chen 12 juniper alice 25 indigo
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008750
qwen/qwen3.7-plus
awkweave-0008751
Count all input records and print the total.
END{print NR}
alice 61 gus 84 kim 41 ivan 14 kim 84 gus 24 farah 106
7
bruno 55 gus 88 ivan 86 ivan 22 gus 65 eli 21 dina 119
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008751-p1
Count the total number of input records and print the result.
END{print NR}
alice 61 gus 84 kim 41 ivan 14 kim 84 gus 24 farah 106
7
bruno 55 gus 88 ivan 86 ivan 22 gus 65 eli 21 dina 119
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008751
qwen/qwen3.7-plus
awkweave-0008752
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana fable 104 chen cobalt 1 hana harbor 114 dina delta 34 ivan grove 58 alice cobalt 66 hana harbor 114 ivan grove 10 gus harbor 69
hana fable 104 chen cobalt 1 hana harbor 114 dina delta 34 ivan grove 58 alice cobalt 66 ivan grove 10 gus harbor 69
eli ember 54 bruno birch 69 eli ember 54 bruno delta 72 kim harbor 20 kim fable 41 jules ember 71 bruno juniper 41 gus indigo 50
eli ember 54 bruno birch 69 bruno delta 72 kim harbor 20 kim fable 41 jules ember 71 bruno juniper 41 gus indigo 50
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008752-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence.
!seen[$0]++
hana fable 104 chen cobalt 1 hana harbor 114 dina delta 34 ivan grove 58 alice cobalt 66 hana harbor 114 ivan grove 10 gus harbor 69
hana fable 104 chen cobalt 1 hana harbor 114 dina delta 34 ivan grove 58 alice cobalt 66 ivan grove 10 gus harbor 69
eli ember 54 bruno birch 69 eli ember 54 bruno delta 72 kim harbor 20 kim fable 41 jules ember 71 bruno juniper 41 gus indigo 50
eli ember 54 bruno birch 69 bruno delta 72 kim harbor 20 kim fable 41 jules ember 71 bruno juniper 41 gus indigo 50
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008752
qwen/qwen3.7-plus
awkweave-0008753
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
eli cobalt 12 gus juniper 16 jules juniper 47 kim cobalt 118 chen indigo 11 dina harbor 68 dina juniper 103 ivan juniper 29 bruno birch 89
eli cobalt 12 gus juniper 16 jules juniper 47 kim cobalt 118 chen indigo 11 dina harbor 68 dina juniper 103 ivan juniper 29 bruno birch 89
farah birch 7 chen harbor 112 farah cobalt 74 bruno indigo 60 lina harbor 51 bruno indigo 18 farah juniper 52 ivan harbor 111 eli ember 76
farah birch 7 chen harbor 112 farah cobalt 74 bruno indigo 60 lina harbor 51 bruno indigo 18 farah juniper 52 ivan harbor 111 eli ember 76
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008753-p1
Retain only the first line for every unique value in column 3, preserving the input order.
!seen[$3]++
eli cobalt 12 gus juniper 16 jules juniper 47 kim cobalt 118 chen indigo 11 dina harbor 68 dina juniper 103 ivan juniper 29 bruno birch 89
eli cobalt 12 gus juniper 16 jules juniper 47 kim cobalt 118 chen indigo 11 dina harbor 68 dina juniper 103 ivan juniper 29 bruno birch 89
farah birch 7 chen harbor 112 farah cobalt 74 bruno indigo 60 lina harbor 51 bruno indigo 18 farah juniper 52 ivan harbor 111 eli ember 76
farah birch 7 chen harbor 112 farah cobalt 74 bruno indigo 60 lina harbor 51 bruno indigo 18 farah juniper 52 ivan harbor 111 eli ember 76
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008753
qwen/qwen3.7-plus
awkweave-0008754
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 10 birch chen 8 grove bruno 24 grove dina 3 delta jules 28 delta bruno 10 harbor
gus 10 chen 18 bruno 42 dina 45 jules 73 bruno 83
dina 3 delta bruno 29 juniper dina 17 amber chen 9 harbor chen 16 indigo gus 12 delta hana 8 cobalt hana 27 juniper ivan 11 ember farah 30 amber
dina 3 bruno 32 dina 49 chen 58 chen 74 gus 86 hana 94 hana 121 ivan 132 farah 162
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008754-p1
Output the first column and the cumulative total of the second column for each record, separated by a space.
{s+=$2;print $1,s}
gus 10 birch chen 8 grove bruno 24 grove dina 3 delta jules 28 delta bruno 10 harbor
gus 10 chen 18 bruno 42 dina 45 jules 73 bruno 83
dina 3 delta bruno 29 juniper dina 17 amber chen 9 harbor chen 16 indigo gus 12 delta hana 8 cobalt hana 27 juniper ivan 11 ember farah 30 amber
dina 3 bruno 32 dina 49 chen 58 chen 74 gus 86 hana 94 hana 121 ivan 132 farah 162
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008754
qwen/qwen3.7-plus
awkweave-0008755
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 19 23 cobalt gus 4 21 ember chen 23 5 amber eli 21 1 fable dina 29 7 indigo lina 1 27 cobalt kim 12 5 ember farah 10 18 indigo
farah 42 gus 25 chen 28 eli 22 dina 36 lina 28 kim 17 farah 28
dina 7 27 indigo lina 20 16 delta alice 7 23 fable dina 19 7 birch dina 8 7 juniper lina 3 28 indigo
dina 34 lina 36 alice 30 dina 26 dina 15 lina 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008755-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
farah 19 23 cobalt gus 4 21 ember chen 23 5 amber eli 21 1 fable dina 29 7 indigo lina 1 27 cobalt kim 12 5 ember farah 10 18 indigo
farah 42 gus 25 chen 28 eli 22 dina 36 lina 28 kim 17 farah 28
dina 7 27 indigo lina 20 16 delta alice 7 23 fable dina 19 7 birch dina 8 7 juniper lina 3 28 indigo
dina 34 lina 36 alice 30 dina 26 dina 15 lina 31
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008755
qwen/qwen3.7-plus
awkweave-0008756
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
lina 3 hana 2 bruno 8 dina 20 chen 5 bruno 23 kim 2 alice 1
lina fail hana fail bruno fail dina pass chen fail bruno pass kim fail alice fail
bruno 12 farah 15 farah 24 chen 21 jules 1 jules 7
bruno fail farah fail farah pass chen pass jules fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008756-p1
Print the value in column 1; if column 2 is 20 or greater, append 'pass', otherwise append 'fail'.
{print $1,($2>=20?"pass":"fail")}
lina 3 hana 2 bruno 8 dina 20 chen 5 bruno 23 kim 2 alice 1
lina fail hana fail bruno fail dina pass chen fail bruno pass kim fail alice fail
bruno 12 farah 15 farah 24 chen 21 jules 1 jules 7
bruno fail farah fail farah pass chen pass jules fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008756
qwen/qwen3.7-plus
awkweave-0008757
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice juniper 63 chen fable 80 eli harbor 37 hana juniper 119 kim indigo 34 jules birch 30 gus indigo 14 ivan grove 96 alice amber 56
JUNIPER FABLE HARBOR JUNIPER INDIGO BIRCH INDIGO GROVE AMBER
lina harbor 95 dina cobalt 115 gus birch 41 alice ember 15 alice grove 31 gus delta 25 hana ember 86
HARBOR COBALT BIRCH EMBER GROVE DELTA EMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008757-p1
Transform the second column to uppercase and output only that modified column.
{print toupper($2)}
alice juniper 63 chen fable 80 eli harbor 37 hana juniper 119 kim indigo 34 jules birch 30 gus indigo 14 ivan grove 96 alice amber 56
JUNIPER FABLE HARBOR JUNIPER INDIGO BIRCH INDIGO GROVE AMBER
lina harbor 95 dina cobalt 115 gus birch 41 alice ember 15 alice grove 31 gus delta 25 hana ember 86
HARBOR COBALT BIRCH EMBER GROVE DELTA EMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008757
qwen/qwen3.7-plus
awkweave-0008758
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
indigo 90 delta 88 grove 60 indigo 80 cobalt 30 fable 90 grove 3
ind del gro ind cob fab gro
amber 79 harbor 63 indigo 101 fable 8 indigo 9 amber 109 amber 32 cobalt 111 harbor 54 cobalt 0
amb har ind fab ind amb amb cob har cob
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008758-p1
Extract and print the first 3 characters from column 1, starting at position 1.
{print substr($1,1,3)}
indigo 90 delta 88 grove 60 indigo 80 cobalt 30 fable 90 grove 3
ind del gro ind cob fab gro
amber 79 harbor 63 indigo 101 fable 8 indigo 9 amber 109 amber 32 cobalt 111 harbor 54 cobalt 0
amb har ind fab ind amb amb cob har cob
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008758
qwen/qwen3.7-plus
awkweave-0008759
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_juniper 19 cobalt_ember 38 cobalt_fable 33 juniper_indigo 43 harbor_indigo 8 delta_birch 59
cobalt juniper cobalt ember cobalt fable juniper indigo harbor indigo delta birch
indigo_fable 51 birch_indigo 100 birch_juniper 105 juniper_ember 24 indigo_harbor 89 fable_cobalt 1 juniper_indigo 91 indigo_juniper 55 birch_indigo 42
indigo fable birch indigo birch juniper juniper ember indigo harbor fable cobalt juniper indigo indigo juniper birch indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008759-p1
Substitute all underscores in column 1 with spaces and print the updated values.
{gsub(/_/," ",$1);print $1}
cobalt_juniper 19 cobalt_ember 38 cobalt_fable 33 juniper_indigo 43 harbor_indigo 8 delta_birch 59
cobalt juniper cobalt ember cobalt fable juniper indigo harbor indigo delta birch
indigo_fable 51 birch_indigo 100 birch_juniper 105 juniper_ember 24 indigo_harbor 89 fable_cobalt 1 juniper_indigo 91 indigo_juniper 55 birch_indigo 42
indigo fable birch indigo birch juniper juniper ember indigo harbor fable cobalt juniper indigo indigo juniper birch indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008759
qwen/qwen3.7-plus
awkweave-0008760
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)}
kim juniper 21 active gus birch 109 failed dina harbor 117 active hana juniper 105 closed dina harbor 9 failed hana delta 90 active eli harbor 59 active bruno birch 24 pending
active 21 juniper kim failed 109 birch gus active 117 harbor dina closed 105 juniper hana failed 9 harbor dina active 90 delta hana active 59 harbor eli pending 24 birch bruno
ivan ember 108 active jules indigo 27 failed lina ember 59 active kim fable 59 ready eli cobalt 6 paused gus delta 98 paused bruno cobalt 22 pending farah fable 19 pending alice harbor 60 ready alice indigo 116 closed
active 108 ember ivan failed 27 indigo jules active 59 ember lina ready 59 fable kim paused 6 cobalt eli paused 98 delta gus pending 22 cobalt bruno pending 19 fable farah ready 60 harbor alice closed 116 indigo alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008760-p1
Reverse the sequence of fields for every line and print all fields in the new order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim juniper 21 active gus birch 109 failed dina harbor 117 active hana juniper 105 closed dina harbor 9 failed hana delta 90 active eli harbor 59 active bruno birch 24 pending
active 21 juniper kim failed 109 birch gus active 117 harbor dina closed 105 juniper hana failed 9 harbor dina active 90 delta hana active 59 harbor eli pending 24 birch bruno
ivan ember 108 active jules indigo 27 failed lina ember 59 active kim fable 59 ready eli cobalt 6 paused gus delta 98 paused bruno cobalt 22 pending farah fable 19 pending alice harbor 60 ready alice indigo 116 closed
active 108 ember ivan failed 27 indigo jules active 59 ember lina ready 59 fable kim paused 6 cobalt eli paused 98 delta gus pending 22 cobalt bruno pending 19 fable farah ready 60 harbor alice closed 116 indigo alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008760
qwen/qwen3.7-plus
awkweave-0008761
Print the number of whitespace-separated fields on each line.
{print NF}
eli juniper 21 closed eli harbor 109 pending chen indigo 105 ready jules cobalt 92 failed ivan indigo 109 pending bruno harbor 100 failed eli fable 39 active hana birch 51 ready hana fable 73 ready ivan harbor 32 paused
4 4 4 4 4 4 4 4 4 4
hana indigo 1 failed farah juniper 5 ready eli cobalt 115 pending hana amber 92 failed farah birch 25 ready jules harbor 74 failed ivan grove 28 ready
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008761-p1
Output the count of whitespace-delimited fields present on each line.
{print NF}
eli juniper 21 closed eli harbor 109 pending chen indigo 105 ready jules cobalt 92 failed ivan indigo 109 pending bruno harbor 100 failed eli fable 39 active hana birch 51 ready hana fable 73 ready ivan harbor 32 paused
4 4 4 4 4 4 4 4 4 4
hana indigo 1 failed farah juniper 5 ready eli cobalt 115 pending hana amber 92 failed farah birch 25 ready jules harbor 74 failed ivan grove 28 ready
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008761
qwen/qwen3.7-plus
awkweave-0008762
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
jules beta 66 ivan beta 15 alice alpha 45 ivan gamma 94 bruno beta 69 ivan beta 41 hana delta 110
beta 4 alpha 1 gamma 1 delta 1
eli gamma 40 farah delta 21 kim beta 92 chen alpha 11 chen gamma 59 hana alpha 45 kim delta 0 kim alpha 100
gamma 2 delta 2 beta 1 alpha 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008762-p1
Tally the occurrences of each unique value in column 2. Print each value alongside its count, maintaining the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
jules beta 66 ivan beta 15 alice alpha 45 ivan gamma 94 bruno beta 69 ivan beta 41 hana delta 110
beta 4 alpha 1 gamma 1 delta 1
eli gamma 40 farah delta 21 kim beta 92 chen alpha 11 chen gamma 59 hana alpha 45 kim delta 0 kim alpha 100
gamma 2 delta 2 beta 1 alpha 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008762
qwen/qwen3.7-plus
awkweave-0008763
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]]}
jules beta 21 lina alpha 23 jules gamma 20 kim alpha 30 kim gamma 21 alice beta 22 eli delta 22 dina beta 11 farah beta 9
beta 63 alpha 53 gamma 41 delta 22
eli gamma 25 hana alpha 12 ivan beta 20 ivan gamma 16 lina gamma 15 eli beta 3 farah beta 18
gamma 56 alpha 12 beta 41
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008763-p1
Calculate the sum of column 3 for each distinct category in column 2, listing the groups in the order they first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
jules beta 21 lina alpha 23 jules gamma 20 kim alpha 30 kim gamma 21 alice beta 22 eli delta 22 dina beta 11 farah beta 9
beta 63 alpha 53 gamma 41 delta 22
eli gamma 25 hana alpha 12 ivan beta 20 ivan gamma 16 lina gamma 15 eli beta 3 farah beta 18
gamma 56 alpha 12 beta 41
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008763
qwen/qwen3.7-plus
awkweave-0008764
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 fable 62 gamma juniper 14 delta grove 115 gamma delta 59 delta amber 113 delta grove 72 alpha amber 7 gamma amber 52 alpha delta 69 alpha grove 69
gamma 3 delta 3 alpha 3
gamma birch 53 delta grove 38 delta birch 84 gamma birch 54 alpha indigo 72 gamma ember 55 delta cobalt 18
gamma 3 delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008764-p1
Identify duplicate values in column 1 and print each repeated value with its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta fable 62 gamma juniper 14 delta grove 115 gamma delta 59 delta amber 113 delta grove 72 alpha amber 7 gamma amber 52 alpha delta 69 alpha grove 69
gamma 3 delta 3 alpha 3
gamma birch 53 delta grove 38 delta birch 84 gamma birch 54 alpha indigo 72 gamma ember 55 delta cobalt 18
gamma 3 delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008764
qwen/qwen3.7-plus
awkweave-0008765
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
score record_id display_name note r001 kim 22 failed r002 hana 18 failed r003 bruno 14 closed r004 gus 18 active r005 hana 16 active r006 lina 27 ready r007 alice 9 pending r008 hana 15 failed r009 eli 16 active
22 18 14 18 16 27 9 15 16
score record_id display_name note r001 chen 6 failed r002 farah 30 paused r003 bruno 18 ready r004 dina 3 pending r005 bruno 1 pending r006 chen 11 failed r007 jules 21 failed r008 ivan 24 closed r009 chen 26 paused
6 30 18 3 1 11 21 24 26
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008765-p1
Skip the header row and print the 'display_name' column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
score record_id display_name note r001 kim 22 failed r002 hana 18 failed r003 bruno 14 closed r004 gus 18 active r005 hana 16 active r006 lina 27 ready r007 alice 9 pending r008 hana 15 failed r009 eli 16 active
22 18 14 18 16 27 9 15 16
score record_id display_name note r001 chen 6 failed r002 farah 30 paused r003 bruno 18 ready r004 dina 3 pending r005 bruno 1 pending r006 chen 11 failed r007 jules 21 failed r008 ivan 24 closed r009 chen 26 paused
6 30 18 3 1 11 21 24 26
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008765
qwen/qwen3.7-plus
awkweave-0008766
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 jules 6 paused r002 farah 10 failed r003 eli 18 active r004 eli 18 failed r005 bruno 19 ready r006 farah 26 ready r007 lina 2 pending r008 ivan 14 paused
eli eli bruno farah
record_id display_name score state r001 lina 22 paused r002 kim 17 failed r003 bruno 15 pending r004 chen 11 ready r005 ivan 14 closed r006 dina 23 pending
lina kim dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008766-p1
Treat the first line as a header. Output the display_name field for all data rows where the score exceeds 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 jules 6 paused r002 farah 10 failed r003 eli 18 active r004 eli 18 failed r005 bruno 19 ready r006 farah 26 ready r007 lina 2 pending r008 ivan 14 paused
eli eli bruno farah
record_id display_name score state r001 lina 22 paused r002 kim 17 failed r003 bruno 15 pending r004 chen 11 ready r005 ivan 14 closed r006 dina 23 pending
lina kim dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008766
qwen/qwen3.7-plus
awkweave-0008767
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 17 closed dina 23 closed chen 10 paused chen 2 paused farah 9 closed chen 24 closed chen 16 active farah 18 pending
closed closed paused paused closed closed active pending
kim 4 pending farah 5 ready eli 30 active eli 3 ready jules 23 closed alice 3 closed eli 21 ready
pending ready active ready closed closed ready
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008767-p1
Given tab-separated input, output the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 17 closed dina 23 closed chen 10 paused chen 2 paused farah 9 closed chen 24 closed chen 16 active farah 18 pending
closed closed paused paused closed closed active pending
kim 4 pending farah 5 ready eli 30 active eli 3 ready jules 23 closed alice 3 closed eli 21 ready
pending ready active ready closed closed ready
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008767
qwen/qwen3.7-plus
awkweave-0008768
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20.
BEGIN{FS=OFS=","}$2>20{print $1}
ivan,20,failed eli,30,ready eli,27,failed gus,22,closed hana,19,active chen,19,failed ivan,27,active alice,8,pending
eli eli gus ivan
dina,20,failed bruno,8,failed ivan,18,failed gus,13,pending gus,8,active farah,8,failed farah,4,closed
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008768-p1
Process simple comma-separated data without quoted commas. Print the first column whenever the second column is greater than 20.
BEGIN{FS=OFS=","}$2>20{print $1}
ivan,20,failed eli,30,ready eli,27,failed gus,22,closed hana,19,active chen,19,failed ivan,27,active alice,8,pending
eli eli gus ivan
dina,20,failed bruno,8,failed ivan,18,failed gus,13,pending gus,8,active farah,8,failed farah,4,closed
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008768
qwen/qwen3.7-plus
awkweave-0008769
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen delta 42 dina harbor 24 alice juniper 93 chen harbor 79 jules indigo 108 chen grove 80 kim delta 89
chen delta 42 dina harbor 24 alice juniper 93 chen harbor 79 jules indigo 108 chen grove 80 kim delta 89
jules grove 0 lina juniper 117 hana fable 38 eli indigo 85 kim ember 69 bruno cobalt 97 kim indigo 50 ivan fable 70
jules grove 0 lina juniper 117 hana fable 38 eli indigo 85 kim ember 69 bruno cobalt 97 kim indigo 50 ivan fable 70
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008769-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen delta 42 dina harbor 24 alice juniper 93 chen harbor 79 jules indigo 108 chen grove 80 kim delta 89
chen delta 42 dina harbor 24 alice juniper 93 chen harbor 79 jules indigo 108 chen grove 80 kim delta 89
jules grove 0 lina juniper 117 hana fable 38 eli indigo 85 kim ember 69 bruno cobalt 97 kim indigo 50 ivan fable 70
jules grove 0 lina juniper 117 hana fable 38 eli indigo 85 kim ember 69 bruno cobalt 97 kim indigo 50 ivan fable 70
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008769
qwen/qwen3.7-plus
awkweave-0008770
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim indigo 31 ready bruno birch 109 active dina harbor 112 failed ivan cobalt 43 closed alice harbor 14 pending alice indigo 115 active ivan juniper 107 active kim harbor 1 active
alice harbor 14 pending
ivan delta 44 ready gus delta 103 active ivan birch 17 closed bruno juniper 114 paused ivan juniper 26 pending lina fable 37 paused dina grove 72 paused farah delta 105 failed chen delta 63 paused
bruno juniper 114 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null