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-0007550-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
birch_fable 35 amber_amber 27 delta_delta 54 juniper_delta 32 amber_birch 30 juniper_grove 82 birch_fable 80 cobalt_delta 42 birch_juniper 87
birch fable amber amber delta delta juniper delta amber birch juniper grove birch fable cobalt delta birch juniper
fable_fable 11 amber_cobalt 84 harbor_indigo 95 indigo_birch 39 ember_grove 10 fable_indigo 102 amber_fable 67 amber_harbor 63 grove_juniper 60
fable fable amber cobalt harbor indigo indigo birch ember grove fable indigo amber fable amber harbor grove juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007550
qwen/qwen3.7-plus
awkweave-0007551
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)}
chen fable 86 failed kim birch 100 active lina juniper 50 pending kim fable 109 paused ivan indigo 113 paused kim harbor 7 pending
failed 86 fable chen active 100 birch kim pending 50 juniper lina paused 109 fable kim paused 113 indigo ivan pending 7 harbor kim
kim delta 72 closed hana fable 75 active ivan indigo 52 paused eli grove 84 closed ivan cobalt 22 ready alice delta 95 pending eli harbor 37 ready hana fable 72 ready
closed 72 delta kim active 75 fable hana paused 52 indigo ivan closed 84 grove eli ready 22 cobalt ivan pending 95 delta alice ready 37 harbor eli ready 72 fable hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007551-p1
Reverse the field order for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen fable 86 failed kim birch 100 active lina juniper 50 pending kim fable 109 paused ivan indigo 113 paused kim harbor 7 pending
failed 86 fable chen active 100 birch kim pending 50 juniper lina paused 109 fable kim paused 113 indigo ivan pending 7 harbor kim
kim delta 72 closed hana fable 75 active ivan indigo 52 paused eli grove 84 closed ivan cobalt 22 ready alice delta 95 pending eli harbor 37 ready hana fable 72 ready
closed 72 delta kim active 75 fable hana paused 52 indigo ivan closed 84 grove eli ready 22 cobalt ivan pending 95 delta alice ready 37 harbor eli ready 72 fable hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007551
qwen/qwen3.7-plus
awkweave-0007552
Print the number of whitespace-separated fields on each line.
{print NF}
dina juniper 95 active farah fable 83 pending ivan harbor 65 active kim birch 34 closed bruno grove 29 closed dina delta 54 failed ivan indigo 21 pending jules birch 101 ready ivan ember 44 closed ivan amber 57 paused
4 4 4 4 4 4 4 4 4 4
kim delta 47 closed kim harbor 6 active ivan grove 106 active chen grove 71 closed jules juniper 43 closed chen indigo 49 closed eli ember 72 paused dina cobalt 98 failed eli birch 9 failed lina indigo 96 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007552-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
dina juniper 95 active farah fable 83 pending ivan harbor 65 active kim birch 34 closed bruno grove 29 closed dina delta 54 failed ivan indigo 21 pending jules birch 101 ready ivan ember 44 closed ivan amber 57 paused
4 4 4 4 4 4 4 4 4 4
kim delta 47 closed kim harbor 6 active ivan grove 106 active chen grove 71 closed jules juniper 43 closed chen indigo 49 closed eli ember 72 paused dina cobalt 98 failed eli birch 9 failed lina indigo 96 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007552
qwen/qwen3.7-plus
awkweave-0007553
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]]}
lina beta 90 kim alpha 72 eli alpha 113 hana alpha 119 ivan alpha 10 hana alpha 78 bruno gamma 63 dina beta 49
beta 2 alpha 5 gamma 1
jules delta 76 alice alpha 3 farah beta 42 alice beta 70 farah alpha 21 alice delta 49 eli beta 11
delta 2 alpha 2 beta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007553-p1
Tally records for each distinct value in column 2, printing each value and its count in the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
lina beta 90 kim alpha 72 eli alpha 113 hana alpha 119 ivan alpha 10 hana alpha 78 bruno gamma 63 dina beta 49
beta 2 alpha 5 gamma 1
jules delta 76 alice alpha 3 farah beta 42 alice beta 70 farah alpha 21 alice delta 49 eli beta 11
delta 2 alpha 2 beta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007553
qwen/qwen3.7-plus
awkweave-0007554
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
lina delta 22 chen gamma 13 dina gamma 3 gus alpha 24 gus beta 18 bruno alpha 21 gus beta 28 lina beta 23 lina delta 2
delta 24 gamma 16 alpha 45 beta 69
bruno delta 15 ivan gamma 20 farah delta 30 hana delta 16 jules delta 27 kim alpha 4 alice beta 14
delta 88 gamma 20 alpha 4 beta 14
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007554-p1
Aggregate the sum of values in column 3 for each unique category found in column 2, ensuring the output groups follow the order in which 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]]}
lina delta 22 chen gamma 13 dina gamma 3 gus alpha 24 gus beta 18 bruno alpha 21 gus beta 28 lina beta 23 lina delta 2
delta 24 gamma 16 alpha 45 beta 69
bruno delta 15 ivan gamma 20 farah delta 30 hana delta 16 jules delta 27 kim alpha 4 alice beta 14
delta 88 gamma 20 alpha 4 beta 14
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007554
qwen/qwen3.7-plus
awkweave-0007555
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha fable 91 delta indigo 92 delta fable 35 beta ember 56 gamma cobalt 52 gamma harbor 44 gamma harbor 68
delta 2 gamma 3
gamma indigo 69 alpha grove 40 delta fable 0 delta juniper 35 alpha delta 24 alpha harbor 38 beta indigo 83 gamma birch 20 beta amber 39
gamma 2 alpha 3 delta 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007555-p1
Identify duplicate entries in column 1 and output each repeated value alongside its occurrence count, maintaining the sequence of their initial 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 fable 91 delta indigo 92 delta fable 35 beta ember 56 gamma cobalt 52 gamma harbor 44 gamma harbor 68
delta 2 gamma 3
gamma indigo 69 alpha grove 40 delta fable 0 delta juniper 35 alpha delta 24 alpha harbor 38 beta indigo 83 gamma birch 20 beta amber 39
gamma 2 alpha 3 delta 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007555
qwen/qwen3.7-plus
awkweave-0007556
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
record_id score state display_name r001 kim 26 closed r002 dina 9 pending r003 kim 22 paused r004 gus 2 failed r005 hana 28 paused r006 alice 15 paused
kim dina kim gus hana alice
record_id score state display_name r001 bruno 12 pending r002 gus 12 failed r003 bruno 1 closed r004 farah 1 paused r005 alice 29 active r006 hana 23 ready r007 dina 2 active r008 gus 8 failed
bruno gus bruno farah alice hana dina gus
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007556-p1
Treating the first line as a header, extract and print the values from the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
record_id score state display_name r001 kim 26 closed r002 dina 9 pending r003 kim 22 paused r004 gus 2 failed r005 hana 28 paused r006 alice 15 paused
kim dina kim gus hana alice
record_id score state display_name r001 bruno 12 pending r002 gus 12 failed r003 bruno 1 closed r004 farah 1 paused r005 alice 29 active r006 hana 23 ready r007 dina 2 active r008 gus 8 failed
bruno gus bruno farah alice hana dina gus
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007556
qwen/qwen3.7-plus
awkweave-0007557
The first row is a header. Print display_name for data rows whose score is greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 jules 21 closed r002 hana 26 ready r003 chen 2 failed r004 bruno 10 active r005 ivan 5 closed r006 dina 28 ready
jules hana dina
record_id display_name score state r001 chen 28 closed r002 jules 1 closed r003 hana 16 pending r004 dina 24 ready r005 dina 23 closed r006 alice 5 pending r007 lina 18 active r008 hana 30 paused r009 ivan 1 active
chen dina dina hana
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007557-p1
With the first row serving as a header, output the display_name field for every data row where the score exceeds 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 jules 21 closed r002 hana 26 ready r003 chen 2 failed r004 bruno 10 active r005 ivan 5 closed r006 dina 28 ready
jules hana dina
record_id display_name score state r001 chen 28 closed r002 jules 1 closed r003 hana 16 pending r004 dina 24 ready r005 dina 23 closed r006 alice 5 pending r007 lina 18 active r008 hana 30 paused r009 ivan 1 active
chen dina dina hana
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007557
qwen/qwen3.7-plus
awkweave-0007558
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
eli 27 failed ivan 2 pending kim 20 ready chen 23 closed farah 21 paused dina 14 pending ivan 9 ready
eli ivan kim chen farah dina ivan
bruno 29 pending ivan 7 failed hana 10 paused chen 6 active ivan 13 pending farah 8 failed
bruno ivan hana chen ivan farah
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007558-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
eli 27 failed ivan 2 pending kim 20 ready chen 23 closed farah 21 paused dina 14 pending ivan 9 ready
eli ivan kim chen farah dina ivan
bruno 29 pending ivan 7 failed hana 10 paused chen 6 active ivan 13 pending farah 8 failed
bruno ivan hana chen ivan farah
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0007558
qwen/qwen3.7-plus
awkweave-0007559
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
farah,1,ready ivan,9,active jules,12,active alice,1,active farah,19,closed kim,11,paused gus,16,closed alice,29,failed
farah gus alice
ivan,21,active dina,19,active lina,23,failed jules,12,paused jules,10,active eli,11,ready farah,22,ready gus,20,paused kim,22,pending farah,23,failed
ivan dina lina farah gus kim farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007559-p1
For simple comma-separated values without quoted commas, print the first column only when the value in the second column is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
farah,1,ready ivan,9,active jules,12,active alice,1,active farah,19,closed kim,11,paused gus,16,closed alice,29,failed
farah gus alice
ivan,21,active dina,19,active lina,23,failed jules,12,paused jules,10,active eli,11,ready farah,22,ready gus,20,paused kim,22,pending farah,23,failed
ivan dina lina farah gus kim farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007559
qwen/qwen3.7-plus
awkweave-0007560
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno cobalt 23 bruno ember 88 jules amber 67 farah cobalt 44 chen fable 51 jules juniper 16 bruno amber 58
bruno cobalt 23 bruno ember 88 jules amber 67 farah cobalt 44 chen fable 51 jules juniper 16 bruno amber 58
farah delta 85 gus cobalt 20 lina harbor 17 ivan amber 44 kim indigo 46 chen ember 116 hana indigo 83 gus delta 28
farah delta 85 gus cobalt 20 lina harbor 17 ivan amber 44 kim indigo 46 chen ember 116 hana indigo 83 gus delta 28
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007560-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
bruno cobalt 23 bruno ember 88 jules amber 67 farah cobalt 44 chen fable 51 jules juniper 16 bruno amber 58
bruno cobalt 23 bruno ember 88 jules amber 67 farah cobalt 44 chen fable 51 jules juniper 16 bruno amber 58
farah delta 85 gus cobalt 20 lina harbor 17 ivan amber 44 kim indigo 46 chen ember 116 hana indigo 83 gus delta 28
farah delta 85 gus cobalt 20 lina harbor 17 ivan amber 44 kim indigo 46 chen ember 116 hana indigo 83 gus delta 28
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007560
qwen/qwen3.7-plus
awkweave-0007561
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus harbor 12 ready dina amber 94 ready farah cobalt 33 closed alice ember 57 failed hana cobalt 82 closed bruno cobalt 80 paused
farah cobalt 33 closed
farah delta 120 pending dina grove 108 paused alice delta 24 paused farah harbor 1 paused alice amber 113 paused kim indigo 105 ready eli amber 45 ready alice delta 51 closed
farah delta 120 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007561-p1
Identify and 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 harbor 12 ready dina amber 94 ready farah cobalt 33 closed alice ember 57 failed hana cobalt 82 closed bruno cobalt 80 paused
farah cobalt 33 closed
farah delta 120 pending dina grove 108 paused alice delta 24 paused farah harbor 1 paused alice amber 113 paused kim indigo 105 ready eli amber 45 ready alice delta 51 closed
farah delta 120 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007561
qwen/qwen3.7-plus
awkweave-0007562
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
hana 0 kim 92 bruno 108 eli 95 lina 44 eli 76 dina 46 gus 44
kim 92 eli 95 eli 76 gus 44
lina 0 eli 111 kim 105 alice 37 chen 41 jules 103 hana 107
eli 111 alice 37 jules 103
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007562-p1
Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
hana 0 kim 92 bruno 108 eli 95 lina 44 eli 76 dina 46 gus 44
kim 92 eli 95 eli 76 gus 44
lina 0 eli 111 kim 105 alice 37 chen 41 jules 103 hana 107
eli 111 alice 37 jules 103
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007562
qwen/qwen3.7-plus
awkweave-0007563
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta indigo 44 gamma grove 12 gamma indigo 83 delta ember 108 delta cobalt 33 delta grove 42 alpha juniper 65
4
gamma harbor 70 beta cobalt 86 alpha juniper 112 alpha birch 44 delta amber 61 gamma birch 48 beta fable 67 gamma delta 65
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007563-p1
Calculate the number of unique values present in column 1 and print only this total count.
{if(!seen[$1]++)n++}END{print n+0}
beta indigo 44 gamma grove 12 gamma indigo 83 delta ember 108 delta cobalt 33 delta grove 42 alpha juniper 65
4
gamma harbor 70 beta cobalt 86 alpha juniper 112 alpha birch 44 delta amber 61 gamma birch 48 beta fable 67 gamma delta 65
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007563
qwen/qwen3.7-plus
awkweave-0007564
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}
farah 5 0 ivan 18 8 alice 9 26 jules 17 23 hana 16 26 farah 15 19
ivan 2.25 alice 0.35 jules 0.74 hana 0.62 farah 0.79
lina 5 0 farah 23 27 eli 17 16 kim 14 4 gus 20 29 farah 7 29 alice 2 30 alice 25 18
farah 0.85 eli 1.06 kim 3.50 gus 0.69 farah 0.24 alice 0.07 alice 1.39
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007564-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}
farah 5 0 ivan 18 8 alice 9 26 jules 17 23 hana 16 26 farah 15 19
ivan 2.25 alice 0.35 jules 0.74 hana 0.62 farah 0.79
lina 5 0 farah 23 27 eli 17 16 kim 14 4 gus 20 29 farah 7 29 alice 2 30 alice 25 18
farah 0.85 eli 1.06 kim 3.50 gus 0.69 farah 0.24 alice 0.07 alice 1.39
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007564
qwen/qwen3.7-plus
awkweave-0007565
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno delta 17 eli grove 3 farah harbor 8 kim indigo 17 jules cobalt 6 kim juniper 6 ivan juniper 2
bruno delta 17 kim indigo 17 farah harbor 8
alice juniper 9 hana ember 6 lina ember 18 ivan amber 26 ivan grove 16 kim juniper 29 kim amber 11 dina fable 16 alice birch 30 dina amber 30
alice birch 30 dina amber 30 kim juniper 29
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007565-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; preserve the original input order for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno delta 17 eli grove 3 farah harbor 8 kim indigo 17 jules cobalt 6 kim juniper 6 ivan juniper 2
bruno delta 17 kim indigo 17 farah harbor 8
alice juniper 9 hana ember 6 lina ember 18 ivan amber 26 ivan grove 16 kim juniper 29 kim amber 11 dina fable 16 alice birch 30 dina amber 30
alice birch 30 dina amber 30 kim juniper 29
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007565
qwen/qwen3.7-plus
awkweave-0007566
For each line, output fields 4 and 2, in that order.
{print $4, $2}
fable delta 101 ember amber harbor 115 birch harbor amber 68 harbor fable harbor 1 harbor amber juniper 38 ember delta delta 94 indigo
ember delta birch harbor harbor amber harbor harbor ember juniper indigo delta
delta delta 78 juniper juniper indigo 13 indigo cobalt fable 116 harbor grove harbor 84 birch cobalt juniper 36 cobalt delta grove 112 juniper birch harbor 42 birch harbor birch 27 fable
juniper delta indigo indigo harbor fable birch harbor cobalt juniper juniper grove birch harbor fable birch
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007566-p1
For every line, display the fourth field followed by the second field.
{print $4, $2}
fable delta 101 ember amber harbor 115 birch harbor amber 68 harbor fable harbor 1 harbor amber juniper 38 ember delta delta 94 indigo
ember delta birch harbor harbor amber harbor harbor ember juniper indigo delta
delta delta 78 juniper juniper indigo 13 indigo cobalt fable 116 harbor grove harbor 84 birch cobalt juniper 36 cobalt delta grove 112 juniper birch harbor 42 birch harbor birch 27 fable
juniper delta indigo indigo harbor fable birch harbor cobalt juniper juniper grove birch harbor fable birch
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007566
qwen/qwen3.7-plus
awkweave-0007567
Print the last field of every input line.
{print $NF}
34 amber farah eli 118 ember chen chen 109 grove kim kim 16 harbor chen hana 87 grove ivan chen 90 indigo kim farah 69 fable chen bruno 10 fable ivan ivan 13 ember chen bruno 116 cobalt dina alice
eli chen kim hana chen farah bruno ivan bruno alice
1 indigo gus chen 97 amber eli alice 36 harbor farah hana 6 juniper kim bruno 94 birch bruno kim 108 fable chen ivan 64 cobalt lina farah
chen alice hana bruno kim ivan farah
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007567-p1
Output the final field from each input line.
{print $NF}
34 amber farah eli 118 ember chen chen 109 grove kim kim 16 harbor chen hana 87 grove ivan chen 90 indigo kim farah 69 fable chen bruno 10 fable ivan ivan 13 ember chen bruno 116 cobalt dina alice
eli chen kim hana chen farah bruno ivan bruno alice
1 indigo gus chen 97 amber eli alice 36 harbor farah hana 6 juniper kim bruno 94 birch bruno kim 108 fable chen ivan 64 cobalt lina farah
chen alice hana bruno kim ivan farah
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007567
qwen/qwen3.7-plus
awkweave-0007568
Print the complete records where column 1 is greater than 58.
$1 > 58
75 harbor delta paused 120 harbor ember active 91 delta cobalt closed 35 indigo juniper closed 28 juniper fable ready 104 juniper fable failed
75 harbor delta paused 120 harbor ember active 91 delta cobalt closed 104 juniper fable failed
87 cobalt cobalt failed 55 juniper birch ready 20 grove juniper paused 1 birch harbor closed 18 ember cobalt pending 100 ember indigo pending 1 juniper cobalt pending 38 amber indigo closed
87 cobalt cobalt failed 100 ember indigo pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007568-p1
Print full records where the value in the first column exceeds 58.
$1 > 58
75 harbor delta paused 120 harbor ember active 91 delta cobalt closed 35 indigo juniper closed 28 juniper fable ready 104 juniper fable failed
75 harbor delta paused 120 harbor ember active 91 delta cobalt closed 104 juniper fable failed
87 cobalt cobalt failed 55 juniper birch ready 20 grove juniper paused 1 birch harbor closed 18 ember cobalt pending 100 ember indigo pending 1 juniper cobalt pending 38 amber indigo closed
87 cobalt cobalt failed 100 ember indigo pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007568
qwen/qwen3.7-plus
awkweave-0007569
Show whole lines whose 1st field is between 5 and 20, inclusive.
$1 >= 5 && $1 <= 20
16 failed indigo birch 6 failed delta indigo 15 active indigo indigo 8 ready cobalt delta 1 pending cobalt amber 12 failed birch harbor 6 failed birch indigo 30 failed grove ember 12 pending amber fable 17 failed fable indigo
16 failed indigo birch 6 failed delta indigo 15 active indigo indigo 8 ready cobalt delta 12 failed birch harbor 6 failed birch indigo 12 pending amber fable 17 failed fable indigo
26 ready juniper amber 14 closed amber indigo 10 ready ember juniper 26 active indigo indigo 1 pending grove delta 19 ready juniper juniper 21 paused delta indigo 19 failed harbor amber
14 closed amber indigo 10 ready ember juniper 19 ready juniper juniper 19 failed harbor amber
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007569-p1
Display entire lines where the first field falls within the inclusive range of 5 to 20.
$1 >= 5 && $1 <= 20
16 failed indigo birch 6 failed delta indigo 15 active indigo indigo 8 ready cobalt delta 1 pending cobalt amber 12 failed birch harbor 6 failed birch indigo 30 failed grove ember 12 pending amber fable 17 failed fable indigo
16 failed indigo birch 6 failed delta indigo 15 active indigo indigo 8 ready cobalt delta 12 failed birch harbor 6 failed birch indigo 12 pending amber fable 17 failed fable indigo
26 ready juniper amber 14 closed amber indigo 10 ready ember juniper 26 active indigo indigo 1 pending grove delta 19 ready juniper juniper 21 paused delta indigo 19 failed harbor amber
14 closed amber indigo 10 ready ember juniper 19 ready juniper juniper 19 failed harbor amber
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007569
qwen/qwen3.7-plus
awkweave-0007570
Print column 2 only for rows where column 1 is exactly paused.
$1 == "paused"{print $2}
closed eli 0 ember pending lina 50 birch paused alice 43 ember pending chen 46 amber failed dina 103 ember paused ivan 31 harbor
alice ivan
paused ivan 78 ember failed chen 68 juniper active alice 22 fable failed farah 1 amber paused alice 91 amber failed kim 19 ember
ivan alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007570-p1
Output only the second column for rows where the first column is exactly 'paused'.
$1 == "paused"{print $2}
closed eli 0 ember pending lina 50 birch paused alice 43 ember pending chen 46 amber failed dina 103 ember paused ivan 31 harbor
alice ivan
paused ivan 78 ember failed chen 68 juniper active alice 22 fable failed farah 1 amber paused alice 91 amber failed kim 19 ember
ivan alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007570
qwen/qwen3.7-plus
awkweave-0007571
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
44 juniper INFO 13 fable ERROR 92 fable ERROR 111 fable DEBUG 10 delta ERROR 97 indigo DEBUG 96 cobalt WARN 105 fable ERROR 109 ember INFO
44 juniper INFO 109 ember INFO
16 harbor INFO 77 juniper DEBUG 3 indigo INFO 115 ember ERROR 40 birch DEBUG 50 fable WARN 66 indigo WARN 105 juniper ERROR
16 harbor INFO 3 indigo INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007571-p1
Print all fields from lines where the third field starts with 'INFO'.
$3 ~ /^INFO/
44 juniper INFO 13 fable ERROR 92 fable ERROR 111 fable DEBUG 10 delta ERROR 97 indigo DEBUG 96 cobalt WARN 105 fable ERROR 109 ember INFO
44 juniper INFO 109 ember INFO
16 harbor INFO 77 juniper DEBUG 3 indigo INFO 115 ember ERROR 40 birch DEBUG 50 fable WARN 66 indigo WARN 105 juniper ERROR
16 harbor INFO 3 indigo INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007571
qwen/qwen3.7-plus
awkweave-0007572
Print every line except those containing the exact text fable.
$0 !~ /fable/
delta 61 paused ember 53 pending birch 71 closed fable 95 active juniper 77 pending harbor 5 active juniper 3 ready indigo 21 ready juniper 114 ready delta 26 failed fable 999 active
delta 61 paused ember 53 pending birch 71 closed juniper 77 pending harbor 5 active juniper 3 ready indigo 21 ready juniper 114 ready delta 26 failed
ember 88 failed ember 6 active delta 19 paused indigo 83 failed fable 45 pending amber 99 ready delta 4 pending fable 999 active
ember 88 failed ember 6 active delta 19 paused indigo 83 failed amber 99 ready delta 4 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007572-p1
Output every line that does not contain the exact string 'fable'.
$0 !~ /fable/
delta 61 paused ember 53 pending birch 71 closed fable 95 active juniper 77 pending harbor 5 active juniper 3 ready indigo 21 ready juniper 114 ready delta 26 failed fable 999 active
delta 61 paused ember 53 pending birch 71 closed juniper 77 pending harbor 5 active juniper 3 ready indigo 21 ready juniper 114 ready delta 26 failed
ember 88 failed ember 6 active delta 19 paused indigo 83 failed fable 45 pending amber 99 ready delta 4 pending fable 999 active
ember 88 failed ember 6 active delta 19 paused indigo 83 failed amber 99 ready delta 4 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007572
qwen/qwen3.7-plus
awkweave-0007573
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
ivan ember 58 eli juniper 74 bruno grove 105 jules juniper 13 hana grove 68 alice fable 30 bruno grove 45 eli fable 120
jules juniper 13 hana grove 68 alice fable 30
hana amber 7 hana harbor 32 dina amber 69 gus harbor 48 dina harbor 44 dina delta 30 dina cobalt 104 hana harbor 109 dina harbor 2
gus harbor 48 dina harbor 44 dina delta 30
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007573-p1
Print lines 4 through 6, inclusive of both endpoints.
NR >= 4 && NR <= 6
ivan ember 58 eli juniper 74 bruno grove 105 jules juniper 13 hana grove 68 alice fable 30 bruno grove 45 eli fable 120
jules juniper 13 hana grove 68 alice fable 30
hana amber 7 hana harbor 32 dina amber 69 gus harbor 48 dina harbor 44 dina delta 30 dina cobalt 104 hana harbor 109 dina harbor 2
gus harbor 48 dina harbor 44 dina delta 30
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007573
qwen/qwen3.7-plus
awkweave-0007574
Output only the first 4 records.
NR <= 4
chen 89 indigo farah 55 harbor chen 4 juniper gus 11 juniper eli 60 juniper bruno 12 harbor farah 92 ember bruno 14 birch ivan 99 harbor jules 66 birch
chen 89 indigo farah 55 harbor chen 4 juniper gus 11 juniper
hana 46 ember ivan 15 delta eli 19 juniper kim 54 ember kim 73 grove jules 43 birch jules 59 harbor dina 2 harbor jules 87 ember
hana 46 ember ivan 15 delta eli 19 juniper kim 54 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007574-p1
Output only the first 4 records.
NR <= 4
chen 89 indigo farah 55 harbor chen 4 juniper gus 11 juniper eli 60 juniper bruno 12 harbor farah 92 ember bruno 14 birch ivan 99 harbor jules 66 birch
chen 89 indigo farah 55 harbor chen 4 juniper gus 11 juniper
hana 46 ember ivan 15 delta eli 19 juniper kim 54 ember kim 73 grove jules 43 birch jules 59 harbor dina 2 harbor jules 87 ember
hana 46 ember ivan 15 delta eli 19 juniper kim 54 ember
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0007574
qwen/qwen3.7-plus
awkweave-0007575
Skip the first line and print every remaining line unchanged.
NR > 1
gus 114 harbor jules 38 indigo kim 20 harbor gus 10 juniper gus 108 juniper chen 6 harbor eli 70 delta chen 45 harbor chen 73 indigo
jules 38 indigo kim 20 harbor gus 10 juniper gus 108 juniper chen 6 harbor eli 70 delta chen 45 harbor chen 73 indigo
jules 112 delta kim 44 birch hana 97 ember bruno 44 cobalt hana 46 delta bruno 77 harbor eli 72 birch
kim 44 birch hana 97 ember bruno 44 cobalt hana 46 delta bruno 77 harbor eli 72 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007575-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
gus 114 harbor jules 38 indigo kim 20 harbor gus 10 juniper gus 108 juniper chen 6 harbor eli 70 delta chen 45 harbor chen 73 indigo
jules 38 indigo kim 20 harbor gus 10 juniper gus 108 juniper chen 6 harbor eli 70 delta chen 45 harbor chen 73 indigo
jules 112 delta kim 44 birch hana 97 ember bruno 44 cobalt hana 46 delta bruno 77 harbor eli 72 birch
kim 44 birch hana 97 ember bruno 44 cobalt hana 46 delta bruno 77 harbor eli 72 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007575
qwen/qwen3.7-plus
awkweave-0007576
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
alice pending 85 bruno ready 47 kim failed 5 farah closed 24 hana active 98 dina failed 119 jules pending 104
1
lina pending 24 lina closed 120 hana ready 60 eli closed 86 lina ready 38 jules closed 78 eli active 44
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007576-p1
Count the number of records with 'closed' in the second column; output 0 if none exist.
$2 == "closed"{n++}END{print n+0}
alice pending 85 bruno ready 47 kim failed 5 farah closed 24 hana active 98 dina failed 119 jules pending 104
1
lina pending 24 lina closed 120 hana ready 60 eli closed 86 lina ready 38 jules closed 78 eli active 44
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007576
qwen/qwen3.7-plus
awkweave-0007577
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
ember gus 11 indigo ivan 28 ember hana 11 delta farah 21 fable lina 28 harbor kim 29 juniper kim 2 indigo hana 4 indigo jules 25 fable farah 17
176
ember eli 27 harbor eli 30 birch lina 7 cobalt eli 13 cobalt dina 23 delta bruno 20
120
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007577-p1
Compute and print the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
ember gus 11 indigo ivan 28 ember hana 11 delta farah 21 fable lina 28 harbor kim 29 juniper kim 2 indigo hana 4 indigo jules 25 fable farah 17
176
ember eli 27 harbor eli 30 birch lina 7 cobalt eli 13 cobalt dina 23 delta bruno 20
120
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007577
qwen/qwen3.7-plus
awkweave-0007578
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana birch 5 eli cobalt 2 chen delta 10 gus delta 26 hana amber 4 alice harbor 30
12.83
lina grove 16 bruno grove 25 gus grove 15 kim fable 15 eli cobalt 18 dina amber 8 bruno harbor 17 kim grove 22 hana amber 2
15.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007578-p1
Output the average of the values in the third column, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana birch 5 eli cobalt 2 chen delta 10 gus delta 26 hana amber 4 alice harbor 30
12.83
lina grove 16 bruno grove 25 gus grove 15 kim fable 15 eli cobalt 18 dina amber 8 bruno harbor 17 kim grove 22 hana amber 2
15.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007578
qwen/qwen3.7-plus
awkweave-0007579
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
eli 1 cobalt bruno 15 indigo kim 30 ember ivan 19 cobalt dina 28 birch farah 29 harbor chen 27 fable
1
bruno 8 juniper lina 7 birch lina 28 fable hana 24 cobalt farah 6 cobalt ivan 27 indigo chen 13 harbor
6
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007579-p1
Identify and display the minimum number found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
eli 1 cobalt bruno 15 indigo kim 30 ember ivan 19 cobalt dina 28 birch farah 29 harbor chen 27 fable
1
bruno 8 juniper lina 7 birch lina 28 fable hana 24 cobalt farah 6 cobalt ivan 27 indigo chen 13 harbor
6
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007579
qwen/qwen3.7-plus
awkweave-0007580
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
4 amber chen 17 grove kim 22 delta eli 21 juniper chen 1 delta eli 26 cobalt lina 24 indigo dina
26
7 cobalt jules 19 harbor alice 16 amber jules 17 birch jules 3 harbor alice 28 indigo jules
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007580-p1
Identify and display the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
4 amber chen 17 grove kim 22 delta eli 21 juniper chen 1 delta eli 26 cobalt lina 24 indigo dina
26
7 cobalt jules 19 harbor alice 16 amber jules 17 birch jules 3 harbor alice 28 indigo jules
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007580
qwen/qwen3.7-plus
awkweave-0007581
Count all input records and print the total.
END{print NR}
bruno 89 farah 17 ivan 19 jules 66 bruno 29 gus 20
6
hana 19 alice 80 ivan 85 farah 96 hana 40 eli 47 lina 100
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007581-p1
Calculate and output the total number of input lines.
END{print NR}
bruno 89 farah 17 ivan 19 jules 66 bruno 29 gus 20
6
hana 19 alice 80 ivan 85 farah 96 hana 40 eli 47 lina 100
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007581
qwen/qwen3.7-plus
awkweave-0007582
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina ember 120 farah cobalt 49 jules fable 46 jules indigo 39 farah amber 57 eli ember 65 dina ember 120
dina ember 120 farah cobalt 49 jules fable 46 jules indigo 39 farah amber 57 eli ember 65
jules amber 74 farah fable 34 alice delta 59 hana birch 56 farah juniper 43 farah fable 34 hana indigo 64
jules amber 74 farah fable 34 alice delta 59 hana birch 56 farah juniper 43 hana indigo 64
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007582-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
dina ember 120 farah cobalt 49 jules fable 46 jules indigo 39 farah amber 57 eli ember 65 dina ember 120
dina ember 120 farah cobalt 49 jules fable 46 jules indigo 39 farah amber 57 eli ember 65
jules amber 74 farah fable 34 alice delta 59 hana birch 56 farah juniper 43 farah fable 34 hana indigo 64
jules amber 74 farah fable 34 alice delta 59 hana birch 56 farah juniper 43 hana indigo 64
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007582
qwen/qwen3.7-plus
awkweave-0007583
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
kim ember 85 chen harbor 25 lina juniper 11 dina juniper 73 lina indigo 3 farah delta 20 lina birch 62
kim ember 85 chen harbor 25 lina juniper 11 dina juniper 73 farah delta 20
dina ember 71 alice harbor 51 lina delta 25 dina harbor 96 eli fable 56 hana indigo 33
dina ember 71 alice harbor 51 lina delta 25 eli fable 56 hana indigo 33
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007583-p1
Retain only the initial row for every unique value in the first column, keeping the original order.
!seen[$1]++
kim ember 85 chen harbor 25 lina juniper 11 dina juniper 73 lina indigo 3 farah delta 20 lina birch 62
kim ember 85 chen harbor 25 lina juniper 11 dina juniper 73 farah delta 20
dina ember 71 alice harbor 51 lina delta 25 dina harbor 96 eli fable 56 hana indigo 33
dina ember 71 alice harbor 51 lina delta 25 eli fable 56 hana indigo 33
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007583
qwen/qwen3.7-plus
awkweave-0007584
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 3 grove bruno 12 birch jules 22 fable lina 14 delta hana 11 grove bruno 27 birch alice 22 amber bruno 1 fable bruno 11 birch
alice 3 bruno 15 jules 37 lina 51 hana 62 bruno 89 alice 111 bruno 112 bruno 123
ivan 16 juniper lina 8 cobalt lina 7 ember bruno 5 ember ivan 24 fable ivan 16 ember
ivan 16 lina 24 lina 31 bruno 36 ivan 60 ivan 76
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007584-p1
For each line, output the first column and the cumulative total of the second column, separated by a space.
{s+=$2;print $1,s}
alice 3 grove bruno 12 birch jules 22 fable lina 14 delta hana 11 grove bruno 27 birch alice 22 amber bruno 1 fable bruno 11 birch
alice 3 bruno 15 jules 37 lina 51 hana 62 bruno 89 alice 111 bruno 112 bruno 123
ivan 16 juniper lina 8 cobalt lina 7 ember bruno 5 ember ivan 24 fable ivan 16 ember
ivan 16 lina 24 lina 31 bruno 36 ivan 60 ivan 76
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007584
qwen/qwen3.7-plus
awkweave-0007585
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 25 14 indigo chen 18 3 amber kim 1 28 indigo jules 1 8 grove eli 4 4 birch lina 24 16 juniper kim 4 22 cobalt lina 22 4 cobalt jules 9 7 cobalt
ivan 39 chen 21 kim 29 jules 9 eli 8 lina 40 kim 26 lina 26 jules 16
bruno 21 17 juniper dina 10 9 delta hana 25 24 delta ivan 14 12 ember ivan 3 1 juniper ivan 24 13 birch gus 9 15 fable eli 24 10 amber eli 13 12 birch
bruno 38 dina 19 hana 49 ivan 26 ivan 4 ivan 37 gus 24 eli 34 eli 25
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007585-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
ivan 25 14 indigo chen 18 3 amber kim 1 28 indigo jules 1 8 grove eli 4 4 birch lina 24 16 juniper kim 4 22 cobalt lina 22 4 cobalt jules 9 7 cobalt
ivan 39 chen 21 kim 29 jules 9 eli 8 lina 40 kim 26 lina 26 jules 16
bruno 21 17 juniper dina 10 9 delta hana 25 24 delta ivan 14 12 ember ivan 3 1 juniper ivan 24 13 birch gus 9 15 fable eli 24 10 amber eli 13 12 birch
bruno 38 dina 19 hana 49 ivan 26 ivan 4 ivan 37 gus 24 eli 34 eli 25
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007585
qwen/qwen3.7-plus
awkweave-0007586
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
kim 21 eli 27 kim 4 alice 25 hana 26 bruno 8 kim 3
kim pass eli pass kim fail alice pass hana pass bruno fail kim fail
hana 17 hana 28 chen 8 kim 17 chen 19 kim 25 hana 17
hana fail hana pass chen fail kim fail chen fail kim pass hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007586-p1
Output the first column along with 'pass' if the second column is 20 or greater, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
kim 21 eli 27 kim 4 alice 25 hana 26 bruno 8 kim 3
kim pass eli pass kim fail alice pass hana pass bruno fail kim fail
hana 17 hana 28 chen 8 kim 17 chen 19 kim 25 hana 17
hana fail hana pass chen fail kim fail chen fail kim pass hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007586
qwen/qwen3.7-plus
awkweave-0007587
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
chen delta 31 eli ember 116 chen harbor 76 hana grove 119 gus juniper 99 ivan amber 12
DELTA EMBER HARBOR GROVE JUNIPER AMBER
dina cobalt 46 dina birch 89 chen ember 113 kim harbor 46 ivan harbor 70 eli indigo 82 lina grove 0 kim amber 118 lina amber 39
COBALT BIRCH EMBER HARBOR HARBOR INDIGO GROVE AMBER AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007587-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
chen delta 31 eli ember 116 chen harbor 76 hana grove 119 gus juniper 99 ivan amber 12
DELTA EMBER HARBOR GROVE JUNIPER AMBER
dina cobalt 46 dina birch 89 chen ember 113 kim harbor 46 ivan harbor 70 eli indigo 82 lina grove 0 kim amber 118 lina amber 39
COBALT BIRCH EMBER HARBOR HARBOR INDIGO GROVE AMBER AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007587
qwen/qwen3.7-plus
awkweave-0007588
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
indigo 23 ember 109 birch 17 fable 107 juniper 44 harbor 80 amber 96
ndig mber irch able unip arbo mber
delta 105 amber 86 cobalt 83 fable 73 birch 95 fable 107
elta mber obal able irch able
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007588-p1
Extract and print a substring of 4 characters from the first column, starting at index 2.
{print substr($1,2,4)}
indigo 23 ember 109 birch 17 fable 107 juniper 44 harbor 80 amber 96
ndig mber irch able unip arbo mber
delta 105 amber 86 cobalt 83 fable 73 birch 95 fable 107
elta mber obal able irch able
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007588
qwen/qwen3.7-plus
awkweave-0007589
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_birch 10 cobalt_fable 39 indigo_harbor 85 birch_amber 106 birch_grove 75 ember_indigo 85 grove_amber 21
grove birch cobalt fable indigo harbor birch amber birch grove ember indigo grove amber
grove_cobalt 85 juniper_indigo 47 ember_harbor 39 delta_cobalt 40 indigo_ember 101 amber_juniper 30 harbor_harbor 79 harbor_amber 5 grove_fable 34 amber_grove 111
grove cobalt juniper indigo ember harbor delta cobalt indigo ember amber juniper harbor harbor harbor amber grove fable amber grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007589-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
grove_birch 10 cobalt_fable 39 indigo_harbor 85 birch_amber 106 birch_grove 75 ember_indigo 85 grove_amber 21
grove birch cobalt fable indigo harbor birch amber birch grove ember indigo grove amber
grove_cobalt 85 juniper_indigo 47 ember_harbor 39 delta_cobalt 40 indigo_ember 101 amber_juniper 30 harbor_harbor 79 harbor_amber 5 grove_fable 34 amber_grove 111
grove cobalt juniper indigo ember harbor delta cobalt indigo ember amber juniper harbor harbor harbor amber grove fable amber grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007589
qwen/qwen3.7-plus
awkweave-0007600
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah amber 20 paused gus ember 114 active bruno harbor 116 active dina fable 120 closed ivan harbor 33 closed bruno ember 77 active ivan delta 71 paused hana birch 85 closed hana harbor 10 ready ivan fable 7 closed
bruno harbor 116 active
alice grove 94 failed alice birch 79 paused dina ember 28 closed hana juniper 68 active bruno amber 106 pending kim harbor 38 closed jules birch 84 closed jules indigo 56 ready chen juniper 51 closed gus cobalt 87 ready
bruno amber 106 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007600-p1
Output the longest line from the input, selecting the first one encountered if there is a tie in length.
{if(length($0)>length(best))best=$0}END{print best}
farah amber 20 paused gus ember 114 active bruno harbor 116 active dina fable 120 closed ivan harbor 33 closed bruno ember 77 active ivan delta 71 paused hana birch 85 closed hana harbor 10 ready ivan fable 7 closed
bruno harbor 116 active
alice grove 94 failed alice birch 79 paused dina ember 28 closed hana juniper 68 active bruno amber 106 pending kim harbor 38 closed jules birch 84 closed jules indigo 56 ready chen juniper 51 closed gus cobalt 87 ready
bruno amber 106 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007600
qwen/qwen3.7-plus
awkweave-0007601
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
chen 52 farah 114 ivan 111 eli 46 bruno 49 chen 43 eli 85
chen 52 ivan 111 bruno 49 eli 85
dina 96 ivan 29 hana 54 jules 47 dina 77 bruno 54 chen 52 gus 43 farah 47 jules 82
dina 96 hana 54 dina 77 chen 52 farah 47
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007601-p1
Print lines 1, 3, 5, and so on, effectively outputting every second line starting from the first.
NR%2==1
chen 52 farah 114 ivan 111 eli 46 bruno 49 chen 43 eli 85
chen 52 ivan 111 bruno 49 eli 85
dina 96 ivan 29 hana 54 jules 47 dina 77 bruno 54 chen 52 gus 43 farah 47 jules 82
dina 96 hana 54 dina 77 chen 52 farah 47
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007601
qwen/qwen3.7-plus
awkweave-0007602
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 67 alpha juniper 60 beta juniper 25 alpha juniper 115 gamma indigo 117 delta amber 110
4
beta amber 60 beta fable 66 beta delta 20 alpha grove 105 delta juniper 73 beta fable 34 delta ember 107
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007602-p1
Calculate and display only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 67 alpha juniper 60 beta juniper 25 alpha juniper 115 gamma indigo 117 delta amber 110
4
beta amber 60 beta fable 66 beta delta 20 alpha grove 105 delta juniper 73 beta fable 34 delta ember 107
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007602
qwen/qwen3.7-plus
awkweave-0007603
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}
farah 21 0 chen 4 30 chen 20 4 gus 13 7 alice 13 5 bruno 14 3 alice 12 22 farah 30 11 kim 18 3
chen 0.13 chen 5.00 gus 1.86 alice 2.60 bruno 4.67 alice 0.55 farah 2.73 kim 6.00
kim 1 0 gus 30 21 farah 14 5 bruno 17 5 eli 15 2 gus 30 6 eli 13 9
gus 1.43 farah 2.80 bruno 3.40 eli 7.50 gus 5.00 eli 1.44
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007603-p1
For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 21 0 chen 4 30 chen 20 4 gus 13 7 alice 13 5 bruno 14 3 alice 12 22 farah 30 11 kim 18 3
chen 0.13 chen 5.00 gus 1.86 alice 2.60 bruno 4.67 alice 0.55 farah 2.73 kim 6.00
kim 1 0 gus 30 21 farah 14 5 bruno 17 5 eli 15 2 gus 30 6 eli 13 9
gus 1.43 farah 2.80 bruno 3.40 eli 7.50 gus 5.00 eli 1.44
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007603
qwen/qwen3.7-plus
awkweave-0007604
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 amber 1 ivan birch 13 alice amber 16 chen birch 25 ivan amber 9 kim juniper 10 dina harbor 23 ivan delta 27 lina harbor 30 ivan ember 1
lina harbor 30 ivan delta 27 chen birch 25
bruno delta 21 hana grove 17 chen juniper 11 lina juniper 19 farah harbor 13 lina grove 27 dina delta 2
lina grove 27 bruno delta 21 lina juniper 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007604-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order, while maintaining 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]}
alice amber 1 ivan birch 13 alice amber 16 chen birch 25 ivan amber 9 kim juniper 10 dina harbor 23 ivan delta 27 lina harbor 30 ivan ember 1
lina harbor 30 ivan delta 27 chen birch 25
bruno delta 21 hana grove 17 chen juniper 11 lina juniper 19 farah harbor 13 lina grove 27 dina delta 2
lina grove 27 bruno delta 21 lina juniper 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007604
qwen/qwen3.7-plus
awkweave-0007605
Select the 5th and 4th fields in that order.
{print $5, $4}
harbor failed farah fable 36 juniper ready farah grove 100 cobalt active alice delta 23 cobalt paused bruno grove 61 delta failed hana juniper 68 juniper closed lina delta 114 indigo pending bruno juniper 15 cobalt closed dina birch 32
36 fable 100 grove 23 delta 61 grove 68 juniper 114 delta 15 juniper 32 birch
cobalt active kim delta 81 cobalt ready ivan cobalt 4 juniper closed ivan amber 0 delta ready lina harbor 55 harbor ready eli amber 54 cobalt ready alice cobalt 39 indigo pending hana indigo 59 amber active bruno amber 55 delta failed alice ember 62
81 delta 4 cobalt 0 amber 55 harbor 54 amber 39 cobalt 59 indigo 55 amber 62 ember
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007605-p1
Extract and print the fifth field followed by the fourth field for each record.
{print $5, $4}
harbor failed farah fable 36 juniper ready farah grove 100 cobalt active alice delta 23 cobalt paused bruno grove 61 delta failed hana juniper 68 juniper closed lina delta 114 indigo pending bruno juniper 15 cobalt closed dina birch 32
36 fable 100 grove 23 delta 61 grove 68 juniper 114 delta 15 juniper 32 birch
cobalt active kim delta 81 cobalt ready ivan cobalt 4 juniper closed ivan amber 0 delta ready lina harbor 55 harbor ready eli amber 54 cobalt ready alice cobalt 39 indigo pending hana indigo 59 amber active bruno amber 55 delta failed alice ember 62
81 delta 4 cobalt 0 amber 55 harbor 54 amber 39 cobalt 59 indigo 55 amber 62 ember
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007605
qwen/qwen3.7-plus
awkweave-0007606
Print the last field of every input line.
{print $NF}
bruno farah 80 pending lina hana 97 ready bruno bruno 62 paused dina hana 48 closed kim lina 75 failed bruno gus 103 ready eli ivan 7 active farah bruno 48 ready kim chen 27 closed
pending ready paused closed failed ready active ready closed
ivan bruno 76 closed chen gus 117 ready bruno jules 97 active farah gus 19 failed farah chen 46 closed dina hana 61 failed jules chen 55 pending dina kim 53 paused
closed ready active failed closed failed pending paused
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007606-p1
Output the final field from every line in the input.
{print $NF}
bruno farah 80 pending lina hana 97 ready bruno bruno 62 paused dina hana 48 closed kim lina 75 failed bruno gus 103 ready eli ivan 7 active farah bruno 48 ready kim chen 27 closed
pending ready paused closed failed ready active ready closed
ivan bruno 76 closed chen gus 117 ready bruno jules 97 active farah gus 19 failed farah chen 46 closed dina hana 61 failed jules chen 55 pending dina kim 53 paused
closed ready active failed closed failed pending paused
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007606
qwen/qwen3.7-plus
awkweave-0007607
Print the complete records where column 3 is at most 25.
$3 <= 25
pending eli 37 active failed lina 22 active failed hana 119 ready active bruno 53 pending ready chen 59 active pending hana 61 pending pending jules 63 active active lina 94 active pending jules 93 active
failed lina 22 active
paused gus 72 closed failed farah 33 ready failed dina 69 paused failed jules 12 active failed ivan 3 closed failed jules 18 failed paused jules 39 failed closed hana 25 pending failed gus 119 active
failed jules 12 active failed ivan 3 closed failed jules 18 failed closed hana 25 pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007607-p1
Print full records where the value in the third column is less than or equal to 25.
$3 <= 25
pending eli 37 active failed lina 22 active failed hana 119 ready active bruno 53 pending ready chen 59 active pending hana 61 pending pending jules 63 active active lina 94 active pending jules 93 active
failed lina 22 active
paused gus 72 closed failed farah 33 ready failed dina 69 paused failed jules 12 active failed ivan 3 closed failed jules 18 failed paused jules 39 failed closed hana 25 pending failed gus 119 active
failed jules 12 active failed ivan 3 closed failed jules 18 failed closed hana 25 pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007607
qwen/qwen3.7-plus
awkweave-0007608
Show whole lines whose 1st field is between 11 and 28, inclusive.
$1 >= 11 && $1 <= 28
4 pending ember pending 12 failed fable pending 3 closed cobalt failed 12 failed grove active 28 pending harbor active 15 paused ember pending 13 failed indigo failed
12 failed fable pending 12 failed grove active 28 pending harbor active 15 paused ember pending 13 failed indigo failed
27 paused delta active 9 failed amber failed 6 ready harbor ready 30 pending harbor pending 21 ready cobalt paused 17 failed ember pending 1 closed juniper pending 20 active delta paused 9 ready delta paused 19 closed delta failed
27 paused delta active 21 ready cobalt paused 17 failed ember pending 20 active delta paused 19 closed delta failed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007608-p1
Display entire lines where the first field falls within the inclusive range of 11 to 28.
$1 >= 11 && $1 <= 28
4 pending ember pending 12 failed fable pending 3 closed cobalt failed 12 failed grove active 28 pending harbor active 15 paused ember pending 13 failed indigo failed
12 failed fable pending 12 failed grove active 28 pending harbor active 15 paused ember pending 13 failed indigo failed
27 paused delta active 9 failed amber failed 6 ready harbor ready 30 pending harbor pending 21 ready cobalt paused 17 failed ember pending 1 closed juniper pending 20 active delta paused 9 ready delta paused 19 closed delta failed
27 paused delta active 21 ready cobalt paused 17 failed ember pending 20 active delta paused 19 closed delta failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007608
qwen/qwen3.7-plus
awkweave-0007609
Print column 2 only for rows where column 3 is exactly active.
$3 == "active"{print $2}
harbor ivan ready 22 amber ivan ready 22 ember jules failed 85 fable kim failed 107 harbor bruno ready 3 delta ivan failed 28 birch dina pending 22 birch chen active 70
chen
fable alice pending 64 ember dina active 102 fable kim ready 69 amber farah failed 8 delta ivan ready 42 harbor chen active 116
dina chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0007609-p1
Output only the second column for rows where the third column contains exactly the text 'active'.
$3 == "active"{print $2}
harbor ivan ready 22 amber ivan ready 22 ember jules failed 85 fable kim failed 107 harbor bruno ready 3 delta ivan failed 28 birch dina pending 22 birch chen active 70
chen
fable alice pending 64 ember dina active 102 fable kim ready 69 amber farah failed 8 delta ivan ready 42 harbor chen active 116
dina chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0007609
qwen/qwen3.7-plus
awkweave-0007610
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
DEBUG 6 grove INFO 9 fable WARN 100 cobalt WARN 54 harbor INFO 15 cobalt DEBUG 32 harbor
WARN 100 cobalt WARN 54 harbor
INFO 28 birch INFO 95 delta INFO 25 harbor INFO 116 juniper WARN 32 fable DEBUG 21 birch
WARN 32 fable
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null