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-0002440-p1
Extract and print a substring of length 3 from the first column, starting at the second character.
{print substr($1,2,3)}
juniper 98 harbor 54 cobalt 38 amber 3 fable 47 birch 90
uni arb oba mbe abl irc
indigo 23 cobalt 106 cobalt 79 cobalt 114 delta 89 indigo 5 fable 67 indigo 5 fable 46 harbor 82
ndi oba oba oba elt ndi abl ndi abl arb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002440
qwen/qwen3.7-plus
awkweave-0002441
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_fable 86 ember_grove 46 grove_juniper 85 fable_birch 2 delta_ember 108 harbor_amber 75 juniper_harbor 61
grove fable ember grove grove juniper fable birch delta ember harbor amber juniper harbor
indigo_amber 14 ember_delta 30 harbor_amber 43 amber_indigo 101 indigo_juniper 78 harbor_juniper 101 juniper_birch 11 amber_harbor 87 ember_birch 12
indigo amber ember delta harbor amber amber indigo indigo juniper harbor juniper juniper birch amber harbor ember birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002441-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
grove_fable 86 ember_grove 46 grove_juniper 85 fable_birch 2 delta_ember 108 harbor_amber 75 juniper_harbor 61
grove fable ember grove grove juniper fable birch delta ember harbor amber juniper harbor
indigo_amber 14 ember_delta 30 harbor_amber 43 amber_indigo 101 indigo_juniper 78 harbor_juniper 101 juniper_birch 11 amber_harbor 87 ember_birch 12
indigo amber ember delta harbor amber amber indigo indigo juniper harbor juniper juniper birch amber harbor ember birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002441
qwen/qwen3.7-plus
awkweave-0002442
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)}
dina cobalt 70 closed hana ember 57 ready hana harbor 83 pending ivan juniper 32 failed lina juniper 63 paused kim birch 69 paused eli cobalt 61 failed farah amber 100 pending eli delta 24 failed
closed 70 cobalt dina ready 57 ember hana pending 83 harbor hana failed 32 juniper ivan paused 63 juniper lina paused 69 birch kim failed 61 cobalt eli pending 100 amber farah failed 24 delta eli
chen fable 9 closed ivan cobalt 105 failed farah delta 24 closed jules grove 25 failed ivan cobalt 105 pending kim ember 47 pending ivan delta 55 pending gus ember 18 paused lina juniper 95 active bruno indigo 10 failed
closed 9 fable chen failed 105 cobalt ivan closed 24 delta farah failed 25 grove jules pending 105 cobalt ivan pending 47 ember kim pending 55 delta ivan paused 18 ember gus active 95 juniper lina failed 10 indigo bruno
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002442-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina cobalt 70 closed hana ember 57 ready hana harbor 83 pending ivan juniper 32 failed lina juniper 63 paused kim birch 69 paused eli cobalt 61 failed farah amber 100 pending eli delta 24 failed
closed 70 cobalt dina ready 57 ember hana pending 83 harbor hana failed 32 juniper ivan paused 63 juniper lina paused 69 birch kim failed 61 cobalt eli pending 100 amber farah failed 24 delta eli
chen fable 9 closed ivan cobalt 105 failed farah delta 24 closed jules grove 25 failed ivan cobalt 105 pending kim ember 47 pending ivan delta 55 pending gus ember 18 paused lina juniper 95 active bruno indigo 10 failed
closed 9 fable chen failed 105 cobalt ivan closed 24 delta farah failed 25 grove jules pending 105 cobalt ivan pending 47 ember kim pending 55 delta ivan paused 18 ember gus active 95 juniper lina failed 10 indigo bruno
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002442
qwen/qwen3.7-plus
awkweave-0002443
Print the number of whitespace-separated fields on each line.
{print NF}
jules birch 102 ready lina amber 83 failed eli amber 33 active hana grove 45 paused ivan delta 79 pending hana grove 29 paused ivan birch 44 failed
4 4 4 4 4 4 4
chen grove 105 ready gus harbor 9 active ivan indigo 96 paused farah juniper 85 pending bruno ember 20 paused chen grove 18 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002443-p1
Print the count of whitespace-delimited fields for each line.
{print NF}
jules birch 102 ready lina amber 83 failed eli amber 33 active hana grove 45 paused ivan delta 79 pending hana grove 29 paused ivan birch 44 failed
4 4 4 4 4 4 4
chen grove 105 ready gus harbor 9 active ivan indigo 96 paused farah juniper 85 pending bruno ember 20 paused chen grove 18 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002443
qwen/qwen3.7-plus
awkweave-0002444
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice beta 111 kim alpha 101 farah delta 54 farah gamma 94 ivan alpha 53 jules delta 36 eli delta 68 eli alpha 41
beta 1 alpha 3 delta 3 gamma 1
chen delta 62 dina gamma 20 eli gamma 40 eli gamma 105 gus alpha 86 dina beta 101 ivan delta 87 alice delta 20 bruno gamma 28
delta 3 gamma 4 alpha 1 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002444-p1
Tally the number of records for each unique value in the second column, printing each value and its count 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]]}
alice beta 111 kim alpha 101 farah delta 54 farah gamma 94 ivan alpha 53 jules delta 36 eli delta 68 eli alpha 41
beta 1 alpha 3 delta 3 gamma 1
chen delta 62 dina gamma 20 eli gamma 40 eli gamma 105 gus alpha 86 dina beta 101 ivan delta 87 alice delta 20 bruno gamma 28
delta 3 gamma 4 alpha 1 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002444
qwen/qwen3.7-plus
awkweave-0002445
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]]}
gus alpha 2 ivan alpha 16 ivan beta 15 gus alpha 13 alice beta 18 alice gamma 6 alice gamma 8 eli beta 26
alpha 31 beta 59 gamma 14
lina beta 2 alice beta 26 alice delta 4 lina gamma 24 gus beta 1 lina alpha 25 farah alpha 27 lina delta 7 alice delta 5 eli alpha 20
beta 29 delta 16 gamma 24 alpha 72
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002445-p1
Calculate the sum of the third column for each group defined by the second column, printing the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
gus alpha 2 ivan alpha 16 ivan beta 15 gus alpha 13 alice beta 18 alice gamma 6 alice gamma 8 eli beta 26
alpha 31 beta 59 gamma 14
lina beta 2 alice beta 26 alice delta 4 lina gamma 24 gus beta 1 lina alpha 25 farah alpha 27 lina delta 7 alice delta 5 eli alpha 20
beta 29 delta 16 gamma 24 alpha 72
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002445
qwen/qwen3.7-plus
awkweave-0002446
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 indigo 39 beta fable 50 alpha indigo 63 delta harbor 41 alpha birch 39 alpha birch 59 alpha fable 96 delta juniper 111 delta juniper 16
alpha 5 delta 3
gamma indigo 73 beta amber 37 delta fable 109 alpha grove 95 gamma delta 35 alpha ember 60 beta harbor 48 beta amber 100 gamma harbor 31 alpha grove 99
gamma 3 beta 3 alpha 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002446-p1
List each duplicate value from the first column 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 indigo 39 beta fable 50 alpha indigo 63 delta harbor 41 alpha birch 39 alpha birch 59 alpha fable 96 delta juniper 111 delta juniper 16
alpha 5 delta 3
gamma indigo 73 beta amber 37 delta fable 109 alpha grove 95 gamma delta 35 alpha ember 60 beta harbor 48 beta amber 100 gamma harbor 31 alpha grove 99
gamma 3 beta 3 alpha 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002446
qwen/qwen3.7-plus
awkweave-0002447
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state score region record_id r001 kim 8 closed r002 eli 29 failed r003 hana 14 failed r004 kim 12 closed r005 lina 11 pending r006 kim 12 pending r007 jules 10 failed
8 29 14 12 11 12 10
state score region record_id r001 kim 17 ready r002 gus 20 pending r003 ivan 19 paused r004 hana 12 paused r005 dina 22 active r006 jules 17 active r007 gus 16 paused r008 eli 25 pending r009 lina 3 paused r010 lina 18 paused
17 20 19 12 22 17 16 25 3 18
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002447-p1
Skip the header row and print the region column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state score region record_id r001 kim 8 closed r002 eli 29 failed r003 hana 14 failed r004 kim 12 closed r005 lina 11 pending r006 kim 12 pending r007 jules 10 failed
8 29 14 12 11 12 10
state score region record_id r001 kim 17 ready r002 gus 20 pending r003 ivan 19 paused r004 hana 12 paused r005 dina 22 active r006 jules 17 active r007 gus 16 paused r008 eli 25 pending r009 lina 3 paused r010 lina 18 paused
17 20 19 12 22 17 16 25 3 18
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002447
qwen/qwen3.7-plus
awkweave-0002448
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 dina 22 closed r002 chen 26 failed r003 gus 9 active r004 ivan 26 active r005 hana 22 failed r006 hana 25 failed r007 farah 24 active
chen ivan hana
record_id display_name score state r001 ivan 9 failed r002 kim 27 paused r003 ivan 20 paused r004 chen 26 active r005 lina 21 ready r006 lina 2 active
kim chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002448-p1
Skip the header row and output the display_name field for all records where the score exceeds 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 dina 22 closed r002 chen 26 failed r003 gus 9 active r004 ivan 26 active r005 hana 22 failed r006 hana 25 failed r007 farah 24 active
chen ivan hana
record_id display_name score state r001 ivan 9 failed r002 kim 27 paused r003 ivan 20 paused r004 chen 26 active r005 lina 21 ready r006 lina 2 active
kim chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002448
qwen/qwen3.7-plus
awkweave-0002449
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 13 paused kim 4 failed jules 25 paused lina 3 active kim 25 paused gus 7 paused farah 15 paused eli 11 failed
paused failed paused active paused paused paused failed
lina 10 active farah 3 active alice 13 pending eli 26 paused farah 19 failed dina 19 paused gus 10 ready chen 13 pending
active active pending paused failed paused ready pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002449-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 13 paused kim 4 failed jules 25 paused lina 3 active kim 25 paused gus 7 paused farah 15 paused eli 11 failed
paused failed paused active paused paused paused failed
lina 10 active farah 3 active alice 13 pending eli 26 paused farah 19 failed dina 19 paused gus 10 ready chen 13 pending
active active pending paused failed paused ready pending
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0002449
qwen/qwen3.7-plus
awkweave-0002450
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}
kim,11,active dina,13,closed lina,28,pending dina,1,failed ivan,4,paused farah,1,ready
lina
farah,8,failed bruno,14,ready chen,4,ready alice,15,ready ivan,5,failed ivan,13,ready
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002450-p1
For simple CSV data without quoted commas, output the first column whenever the second column is greater than 20.
BEGIN{FS=OFS=","}$2>20{print $1}
kim,11,active dina,13,closed lina,28,pending dina,1,failed ivan,4,paused farah,1,ready
lina
farah,8,failed bruno,14,ready chen,4,ready alice,15,ready ivan,5,failed ivan,13,ready
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002450
qwen/qwen3.7-plus
awkweave-0002451
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus delta 59 alice cobalt 120 eli harbor 101 bruno fable 48 gus cobalt 72 farah fable 46 gus amber 112 lina harbor 101 gus birch 82 jules juniper 15
gus delta 59 alice cobalt 120 eli harbor 101 bruno fable 48 gus cobalt 72 farah fable 46 gus amber 112 lina harbor 101 gus birch 82 jules juniper 15
kim amber 58 bruno birch 7 farah harbor 54 hana indigo 80 jules birch 11 kim ember 73 jules birch 31 jules delta 13
kim amber 58 bruno birch 7 farah harbor 54 hana indigo 80 jules birch 11 kim ember 73 jules birch 31 jules delta 13
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002451-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus delta 59 alice cobalt 120 eli harbor 101 bruno fable 48 gus cobalt 72 farah fable 46 gus amber 112 lina harbor 101 gus birch 82 jules juniper 15
gus delta 59 alice cobalt 120 eli harbor 101 bruno fable 48 gus cobalt 72 farah fable 46 gus amber 112 lina harbor 101 gus birch 82 jules juniper 15
kim amber 58 bruno birch 7 farah harbor 54 hana indigo 80 jules birch 11 kim ember 73 jules birch 31 jules delta 13
kim amber 58 bruno birch 7 farah harbor 54 hana indigo 80 jules birch 11 kim ember 73 jules birch 31 jules delta 13
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002451
qwen/qwen3.7-plus
awkweave-0002452
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 46 active jules cobalt 75 pending chen grove 63 ready dina birch 17 active dina fable 56 active bruno grove 115 ready kim birch 112 ready chen grove 92 active chen indigo 94 ready eli amber 32 paused
jules cobalt 75 pending
jules ember 89 ready hana delta 52 failed kim birch 36 closed lina juniper 92 failed ivan cobalt 47 closed jules ember 60 failed
lina juniper 92 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002452-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 46 active jules cobalt 75 pending chen grove 63 ready dina birch 17 active dina fable 56 active bruno grove 115 ready kim birch 112 ready chen grove 92 active chen indigo 94 ready eli amber 32 paused
jules cobalt 75 pending
jules ember 89 ready hana delta 52 failed kim birch 36 closed lina juniper 92 failed ivan cobalt 47 closed jules ember 60 failed
lina juniper 92 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002452
qwen/qwen3.7-plus
awkweave-0002453
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
ivan 71 ivan 108 farah 94 lina 53 alice 93 jules 17
ivan 71 lina 53
dina 17 gus 30 chen 61 gus 45 alice 38 alice 87 chen 79 dina 74 farah 100
dina 17 gus 45 chen 79
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002453-p1
Output lines 1, 4, 7, and so on, effectively printing every third line starting from the first.
NR%3==1
ivan 71 ivan 108 farah 94 lina 53 alice 93 jules 17
ivan 71 lina 53
dina 17 gus 30 chen 61 gus 45 alice 38 alice 87 chen 79 dina 74 farah 100
dina 17 gus 45 chen 79
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002453
qwen/qwen3.7-plus
awkweave-0002454
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma indigo 96 beta birch 77 alpha fable 43 alpha amber 77 beta harbor 84 gamma ember 107
3
alpha juniper 39 alpha delta 75 gamma juniper 65 alpha cobalt 90 gamma ember 16 alpha birch 108
2
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002454-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma indigo 96 beta birch 77 alpha fable 43 alpha amber 77 beta harbor 84 gamma ember 107
3
alpha juniper 39 alpha delta 75 gamma juniper 65 alpha cobalt 90 gamma ember 16 alpha birch 108
2
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002454
qwen/qwen3.7-plus
awkweave-0002455
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 26 0 farah 10 9 alice 19 19 jules 12 3 chen 27 19 bruno 27 23
farah 1.11 alice 1.00 jules 4.00 chen 1.42 bruno 1.17
jules 20 0 bruno 18 10 alice 20 20 farah 30 16 bruno 2 7 alice 15 8
bruno 1.80 alice 1.00 farah 1.88 bruno 0.29 alice 1.88
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002455-p1
For each record, output the first column and the result of dividing the second column by the third (formatted to two decimal places), omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 26 0 farah 10 9 alice 19 19 jules 12 3 chen 27 19 bruno 27 23
farah 1.11 alice 1.00 jules 4.00 chen 1.42 bruno 1.17
jules 20 0 bruno 18 10 alice 20 20 farah 30 16 bruno 2 7 alice 15 8
bruno 1.80 alice 1.00 farah 1.88 bruno 0.29 alice 1.88
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002455
qwen/qwen3.7-plus
awkweave-0002456
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]}
hana juniper 19 dina harbor 18 bruno fable 22 bruno juniper 2 kim ember 25 lina harbor 6 dina amber 4 alice juniper 13 hana delta 21 gus amber 3
kim ember 25 bruno fable 22 hana delta 21
farah ember 29 alice amber 28 kim ember 22 lina amber 7 eli amber 17 alice grove 20 eli fable 17 kim harbor 23
farah ember 29 alice amber 28 kim harbor 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002456-p1
Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana juniper 19 dina harbor 18 bruno fable 22 bruno juniper 2 kim ember 25 lina harbor 6 dina amber 4 alice juniper 13 hana delta 21 gus amber 3
kim ember 25 bruno fable 22 hana delta 21
farah ember 29 alice amber 28 kim ember 22 lina amber 7 eli amber 17 alice grove 20 eli fable 17 kim harbor 23
farah ember 29 alice amber 28 kim harbor 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002456
qwen/qwen3.7-plus
awkweave-0002457
Print column 6 followed by column 5 for every record.
{print $6, $5}
indigo pending dina 32 closed 63 indigo closed bruno 71 ready 6 ember pending dina 95 ready 37 juniper ready dina 13 paused 23 juniper closed kim 67 paused 52 harbor failed kim 86 failed 67 cobalt pending ivan 14 pending 6
63 closed 6 ready 37 ready 23 paused 52 paused 67 failed 6 pending
ember ready bruno 41 closed 69 ember paused chen 17 active 87 fable pending kim 60 paused 0 cobalt pending lina 77 paused 41 ember pending hana 26 pending 100 grove pending gus 82 active 59
69 closed 87 active 0 paused 41 paused 100 pending 59 active
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002457-p1
For every record, print the sixth column followed immediately by the fifth column.
{print $6, $5}
indigo pending dina 32 closed 63 indigo closed bruno 71 ready 6 ember pending dina 95 ready 37 juniper ready dina 13 paused 23 juniper closed kim 67 paused 52 harbor failed kim 86 failed 67 cobalt pending ivan 14 pending 6
63 closed 6 ready 37 ready 23 paused 52 paused 67 failed 6 pending
ember ready bruno 41 closed 69 ember paused chen 17 active 87 fable pending kim 60 paused 0 cobalt pending lina 77 paused 41 ember pending hana 26 pending 100 grove pending gus 82 active 59
69 closed 87 active 0 paused 41 paused 100 pending 59 active
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002457
qwen/qwen3.7-plus
awkweave-0002458
Print the last field of every input line.
{print $NF}
ready gus pending jules 88 bruno harbor closed chen pending gus 66 hana harbor paused hana active bruno 26 farah indigo ready hana pending ivan 91 eli grove failed bruno ready jules 70 farah ember pending gus closed ivan 112 farah grove
harbor harbor indigo grove ember grove
ready hana closed kim 42 eli birch closed chen ready dina 47 dina juniper ready eli active jules 117 kim ember active lina pending alice 52 jules ember failed chen paused farah 88 kim delta failed chen active lina 93 jules cobalt
birch juniper ember ember delta cobalt
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002458-p1
Extract and print the final field from each line of input.
{print $NF}
ready gus pending jules 88 bruno harbor closed chen pending gus 66 hana harbor paused hana active bruno 26 farah indigo ready hana pending ivan 91 eli grove failed bruno ready jules 70 farah ember pending gus closed ivan 112 farah grove
harbor harbor indigo grove ember grove
ready hana closed kim 42 eli birch closed chen ready dina 47 dina juniper ready eli active jules 117 kim ember active lina pending alice 52 jules ember failed chen paused farah 88 kim delta failed chen active lina 93 jules cobalt
birch juniper ember ember delta cobalt
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002458
qwen/qwen3.7-plus
awkweave-0002459
Print the complete records where column 1 is less than 56.
$1 < 56
98 juniper fable 70 grove cobalt 82 delta birch 20 fable ember 54 amber birch 11 ember ember 36 harbor indigo 26 juniper juniper 96 grove juniper 94 indigo indigo
20 fable ember 54 amber birch 11 ember ember 36 harbor indigo 26 juniper juniper
119 delta delta 59 fable birch 69 indigo delta 77 fable birch 11 amber ember 84 harbor birch 2 harbor cobalt 45 amber cobalt 37 ember harbor
11 amber ember 2 harbor cobalt 45 amber cobalt 37 ember harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002459-p1
Output the full records for which the value in the first column is strictly less than 56.
$1 < 56
98 juniper fable 70 grove cobalt 82 delta birch 20 fable ember 54 amber birch 11 ember ember 36 harbor indigo 26 juniper juniper 96 grove juniper 94 indigo indigo
20 fable ember 54 amber birch 11 ember ember 36 harbor indigo 26 juniper juniper
119 delta delta 59 fable birch 69 indigo delta 77 fable birch 11 amber ember 84 harbor birch 2 harbor cobalt 45 amber cobalt 37 ember harbor
11 amber ember 2 harbor cobalt 45 amber cobalt 37 ember harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002459
qwen/qwen3.7-plus
awkweave-0002460
Show whole lines whose 1st field is between 12 and 28, inclusive.
$1 >= 12 && $1 <= 28
27 cobalt ember chen 28 delta harbor ivan 3 grove birch kim 20 indigo delta alice 26 harbor harbor bruno 22 indigo amber farah 29 grove harbor chen 7 indigo fable chen 5 harbor fable gus
27 cobalt ember chen 28 delta harbor ivan 20 indigo delta alice 26 harbor harbor bruno 22 indigo amber farah
12 fable amber farah 16 indigo amber dina 10 birch indigo ivan 28 indigo amber lina 1 grove amber alice 13 fable cobalt alice 16 birch birch hana 23 cobalt delta eli 23 amber delta farah
12 fable amber farah 16 indigo amber dina 28 indigo amber lina 13 fable cobalt alice 16 birch birch hana 23 cobalt delta eli 23 amber delta farah
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002460-p1
Display entire lines where the first field falls within the inclusive range of 12 to 28.
$1 >= 12 && $1 <= 28
27 cobalt ember chen 28 delta harbor ivan 3 grove birch kim 20 indigo delta alice 26 harbor harbor bruno 22 indigo amber farah 29 grove harbor chen 7 indigo fable chen 5 harbor fable gus
27 cobalt ember chen 28 delta harbor ivan 20 indigo delta alice 26 harbor harbor bruno 22 indigo amber farah
12 fable amber farah 16 indigo amber dina 10 birch indigo ivan 28 indigo amber lina 1 grove amber alice 13 fable cobalt alice 16 birch birch hana 23 cobalt delta eli 23 amber delta farah
12 fable amber farah 16 indigo amber dina 28 indigo amber lina 13 fable cobalt alice 16 birch birch hana 23 cobalt delta eli 23 amber delta farah
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002460
qwen/qwen3.7-plus
awkweave-0002461
Print column 1 only for rows where column 3 is exactly paused.
$3 == "paused"{print $1}
farah birch closed 89 bruno birch failed 95 eli harbor active 59 farah birch paused 58 gus birch pending 72 gus cobalt closed 119 eli birch pending 53 eli harbor failed 42 farah cobalt pending 57 ivan ember pending 20
farah
kim grove pending 114 alice juniper closed 44 ivan indigo active 77 kim amber closed 105 chen fable paused 37 ivan indigo ready 17 ivan indigo paused 17 ivan ember pending 51 jules ember failed 19
chen ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002461-p1
Output only the first column for rows where the third column matches 'paused' exactly.
$3 == "paused"{print $1}
farah birch closed 89 bruno birch failed 95 eli harbor active 59 farah birch paused 58 gus birch pending 72 gus cobalt closed 119 eli birch pending 53 eli harbor failed 42 farah cobalt pending 57 ivan ember pending 20
farah
kim grove pending 114 alice juniper closed 44 ivan indigo active 77 kim amber closed 105 chen fable paused 37 ivan indigo ready 17 ivan indigo paused 17 ivan ember pending 51 jules ember failed 19
chen ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002461
qwen/qwen3.7-plus
awkweave-0002462
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
DEBUG 9 birch WARN 112 cobalt WARN 59 juniper ERROR 115 grove WARN 101 juniper INFO 27 fable DEBUG 78 delta WARN 97 birch WARN 14 amber
ERROR 115 grove
INFO 16 cobalt INFO 30 indigo ERROR 22 juniper INFO 91 fable INFO 51 harbor INFO 80 delta INFO 120 ember INFO 73 grove WARN 118 grove INFO 106 juniper
ERROR 22 juniper
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002462-p1
Print all fields from lines where the first field starts with the string 'ERROR'.
$1 ~ /^ERROR/
DEBUG 9 birch WARN 112 cobalt WARN 59 juniper ERROR 115 grove WARN 101 juniper INFO 27 fable DEBUG 78 delta WARN 97 birch WARN 14 amber
ERROR 115 grove
INFO 16 cobalt INFO 30 indigo ERROR 22 juniper INFO 91 fable INFO 51 harbor INFO 80 delta INFO 120 ember INFO 73 grove WARN 118 grove INFO 106 juniper
ERROR 22 juniper
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002462
qwen/qwen3.7-plus
awkweave-0002463
Print every line except those containing the exact text delta.
$0 !~ /delta/
birch 110 paused ember 107 pending amber 99 paused ember 29 ready delta 9 closed ember 13 active grove 9 ready delta 999 active
birch 110 paused ember 107 pending amber 99 paused ember 29 ready ember 13 active grove 9 ready
ember 26 failed ember 92 active harbor 80 active grove 69 ready birch 110 ready ember 89 active cobalt 65 failed cobalt 119 ready juniper 110 ready delta 999 active
ember 26 failed ember 92 active harbor 80 active grove 69 ready birch 110 ready ember 89 active cobalt 65 failed cobalt 119 ready juniper 110 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002463-p1
Output every line that does not contain the exact substring 'delta'.
$0 !~ /delta/
birch 110 paused ember 107 pending amber 99 paused ember 29 ready delta 9 closed ember 13 active grove 9 ready delta 999 active
birch 110 paused ember 107 pending amber 99 paused ember 29 ready ember 13 active grove 9 ready
ember 26 failed ember 92 active harbor 80 active grove 69 ready birch 110 ready ember 89 active cobalt 65 failed cobalt 119 ready juniper 110 ready delta 999 active
ember 26 failed ember 92 active harbor 80 active grove 69 ready birch 110 ready ember 89 active cobalt 65 failed cobalt 119 ready juniper 110 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002463
qwen/qwen3.7-plus
awkweave-0002464
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
dina grove 40 kim delta 108 kim amber 75 eli harbor 74 kim harbor 86 eli amber 102
kim delta 108 kim amber 75
farah amber 85 lina ember 119 kim fable 75 bruno delta 1 lina cobalt 108 chen juniper 97 ivan harbor 90 hana amber 62 ivan juniper 72
lina ember 119 kim fable 75
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002464-p1
Print lines 2 through 3, inclusive of both start and end lines.
NR >= 2 && NR <= 3
dina grove 40 kim delta 108 kim amber 75 eli harbor 74 kim harbor 86 eli amber 102
kim delta 108 kim amber 75
farah amber 85 lina ember 119 kim fable 75 bruno delta 1 lina cobalt 108 chen juniper 97 ivan harbor 90 hana amber 62 ivan juniper 72
lina ember 119 kim fable 75
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002464
qwen/qwen3.7-plus
awkweave-0002465
Output only the first 4 records.
NR <= 4
farah 95 birch chen 52 fable alice 26 fable alice 35 ember kim 85 harbor gus 51 grove dina 57 cobalt farah 36 cobalt
farah 95 birch chen 52 fable alice 26 fable alice 35 ember
alice 71 delta lina 30 fable ivan 104 cobalt gus 62 indigo eli 16 fable gus 104 delta
alice 71 delta lina 30 fable ivan 104 cobalt gus 62 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002465-p1
Display only the first 4 records.
NR <= 4
farah 95 birch chen 52 fable alice 26 fable alice 35 ember kim 85 harbor gus 51 grove dina 57 cobalt farah 36 cobalt
farah 95 birch chen 52 fable alice 26 fable alice 35 ember
alice 71 delta lina 30 fable ivan 104 cobalt gus 62 indigo eli 16 fable gus 104 delta
alice 71 delta lina 30 fable ivan 104 cobalt gus 62 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002465
qwen/qwen3.7-plus
awkweave-0002466
Skip the first line and print every remaining line unchanged.
NR > 1
kim 27 grove alice 16 fable gus 105 cobalt kim 33 delta chen 23 harbor chen 47 harbor kim 61 indigo eli 27 grove
alice 16 fable gus 105 cobalt kim 33 delta chen 23 harbor chen 47 harbor kim 61 indigo eli 27 grove
eli 113 juniper lina 76 birch bruno 45 ember ivan 83 delta dina 106 ember gus 77 indigo
lina 76 birch bruno 45 ember ivan 83 delta dina 106 ember gus 77 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002466-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
kim 27 grove alice 16 fable gus 105 cobalt kim 33 delta chen 23 harbor chen 47 harbor kim 61 indigo eli 27 grove
alice 16 fable gus 105 cobalt kim 33 delta chen 23 harbor chen 47 harbor kim 61 indigo eli 27 grove
eli 113 juniper lina 76 birch bruno 45 ember ivan 83 delta dina 106 ember gus 77 indigo
lina 76 birch bruno 45 ember ivan 83 delta dina 106 ember gus 77 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002466
qwen/qwen3.7-plus
awkweave-0002467
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
ivan closed 12 chen closed 18 hana pending 14 eli paused 66 farah ready 111 kim ready 25 alice active 107
0
ivan ready 8 dina closed 11 gus active 53 gus paused 37 bruno active 24 hana failed 71
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002467-p1
Count the number of records where column 2 is 'failed'; output 0 if no such records exist.
$2 == "failed"{n++}END{print n+0}
ivan closed 12 chen closed 18 hana pending 14 eli paused 66 farah ready 111 kim ready 25 alice active 107
0
ivan ready 8 dina closed 11 gus active 53 gus paused 37 bruno active 24 hana failed 71
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002467
qwen/qwen3.7-plus
awkweave-0002468
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
harbor 30 kim amber 20 lina grove 27 lina fable 3 alice cobalt 22 hana indigo 4 chen
106
indigo 5 kim grove 25 hana harbor 5 lina cobalt 11 chen birch 28 bruno birch 17 eli harbor 16 alice fable 3 alice
110
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002468-p1
Compute and display the sum of integer values found in column 2.
{s+=$2}END{print s+0}
harbor 30 kim amber 20 lina grove 27 lina fable 3 alice cobalt 22 hana indigo 4 chen
106
indigo 5 kim grove 25 hana harbor 5 lina cobalt 11 chen birch 28 bruno birch 17 eli harbor 16 alice fable 3 alice
110
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002468
qwen/qwen3.7-plus
awkweave-0002469
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper gus 8 ember kim 26 birch gus 9 amber alice 18 birch eli 12 indigo bruno 1 fable bruno 14 birch lina 22 amber ivan 1 juniper chen 16
12.70
delta kim 10 fable ivan 25 amber alice 26 cobalt ivan 25 amber jules 28 grove jules 30 juniper chen 4 harbor jules 15
20.38
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002469-p1
Calculate the average of column 3 and print it rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper gus 8 ember kim 26 birch gus 9 amber alice 18 birch eli 12 indigo bruno 1 fable bruno 14 birch lina 22 amber ivan 1 juniper chen 16
12.70
delta kim 10 fable ivan 25 amber alice 26 cobalt ivan 25 amber jules 28 grove jules 30 juniper chen 4 harbor jules 15
20.38
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002469
qwen/qwen3.7-plus
awkweave-0002470
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
22 jules birch 5 bruno cobalt 8 ivan amber 19 lina birch 25 lina ember 9 lina harbor 9 eli indigo 1 ivan ember
1
11 jules ember 6 kim ember 15 ivan birch 21 kim fable 8 alice grove 20 bruno grove 21 hana cobalt 2 chen grove
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002470-p1
Identify and print the minimum numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
22 jules birch 5 bruno cobalt 8 ivan amber 19 lina birch 25 lina ember 9 lina harbor 9 eli indigo 1 ivan ember
1
11 jules ember 6 kim ember 15 ivan birch 21 kim fable 8 alice grove 20 bruno grove 21 hana cobalt 2 chen grove
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002470
qwen/qwen3.7-plus
awkweave-0002471
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
18 juniper dina 16 cobalt jules 28 amber ivan 20 cobalt ivan 10 fable kim 7 indigo farah 28 birch alice 12 grove ivan
28
26 harbor farah 19 birch hana 5 grove dina 12 amber jules 9 grove farah 10 harbor dina 2 grove hana 7 harbor kim 30 amber bruno
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002471-p1
Identify and print the maximum numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
18 juniper dina 16 cobalt jules 28 amber ivan 20 cobalt ivan 10 fable kim 7 indigo farah 28 birch alice 12 grove ivan
28
26 harbor farah 19 birch hana 5 grove dina 12 amber jules 9 grove farah 10 harbor dina 2 grove hana 7 harbor kim 30 amber bruno
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002471
qwen/qwen3.7-plus
awkweave-0002472
Count all input records and print the total.
END{print NR}
lina 75 dina 99 kim 70 farah 119 alice 87 bruno 7 kim 24 gus 90 bruno 102
9
hana 35 bruno 107 farah 95 jules 61 bruno 108 dina 113
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002472-p1
Calculate and display the total number of input records.
END{print NR}
lina 75 dina 99 kim 70 farah 119 alice 87 bruno 7 kim 24 gus 90 bruno 102
9
hana 35 bruno 107 farah 95 jules 61 bruno 108 dina 113
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002472
qwen/qwen3.7-plus
awkweave-0002473
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan amber 104 dina birch 61 alice birch 24 ivan amber 104 alice cobalt 76 kim amber 106 kim harbor 113
ivan amber 104 dina birch 61 alice birch 24 alice cobalt 76 kim amber 106 kim harbor 113
chen indigo 100 eli harbor 35 ivan fable 105 alice indigo 95 eli birch 109 jules harbor 73 ivan fable 105 jules juniper 61
chen indigo 100 eli harbor 35 ivan fable 105 alice indigo 95 eli birch 109 jules harbor 73 jules juniper 61
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002473-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
ivan amber 104 dina birch 61 alice birch 24 ivan amber 104 alice cobalt 76 kim amber 106 kim harbor 113
ivan amber 104 dina birch 61 alice birch 24 alice cobalt 76 kim amber 106 kim harbor 113
chen indigo 100 eli harbor 35 ivan fable 105 alice indigo 95 eli birch 109 jules harbor 73 ivan fable 105 jules juniper 61
chen indigo 100 eli harbor 35 ivan fable 105 alice indigo 95 eli birch 109 jules harbor 73 jules juniper 61
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002473
qwen/qwen3.7-plus
awkweave-0002474
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
hana amber 41 eli birch 71 chen indigo 62 gus ember 14 alice grove 71 kim harbor 119 ivan fable 87 hana cobalt 67 ivan delta 16
hana amber 41 eli birch 71 chen indigo 62 gus ember 14 kim harbor 119 ivan fable 87 hana cobalt 67 ivan delta 16
farah cobalt 35 farah juniper 77 dina grove 62 ivan juniper 0 farah fable 17 hana juniper 119
farah cobalt 35 farah juniper 77 dina grove 62 ivan juniper 0 farah fable 17 hana juniper 119
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002474-p1
Retain only the initial line for every unique value found in column 3, preserving the input order.
!seen[$3]++
hana amber 41 eli birch 71 chen indigo 62 gus ember 14 alice grove 71 kim harbor 119 ivan fable 87 hana cobalt 67 ivan delta 16
hana amber 41 eli birch 71 chen indigo 62 gus ember 14 kim harbor 119 ivan fable 87 hana cobalt 67 ivan delta 16
farah cobalt 35 farah juniper 77 dina grove 62 ivan juniper 0 farah fable 17 hana juniper 119
farah cobalt 35 farah juniper 77 dina grove 62 ivan juniper 0 farah fable 17 hana juniper 119
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002474
qwen/qwen3.7-plus
awkweave-0002475
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 19 ember alice 17 delta bruno 15 cobalt jules 8 delta hana 2 harbor jules 12 grove gus 6 harbor
kim 19 alice 36 bruno 51 jules 59 hana 61 jules 73 gus 79
gus 25 ember bruno 4 delta chen 9 fable bruno 20 harbor chen 13 indigo bruno 16 fable
gus 25 bruno 29 chen 38 bruno 58 chen 71 bruno 87
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002475-p1
Output column 1 alongside the cumulative sum of column 2 for each record, using a space as the delimiter.
{s+=$2;print $1,s}
kim 19 ember alice 17 delta bruno 15 cobalt jules 8 delta hana 2 harbor jules 12 grove gus 6 harbor
kim 19 alice 36 bruno 51 jules 59 hana 61 jules 73 gus 79
gus 25 ember bruno 4 delta chen 9 fable bruno 20 harbor chen 13 indigo bruno 16 fable
gus 25 bruno 29 chen 38 bruno 58 chen 71 bruno 87
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002475
qwen/qwen3.7-plus
awkweave-0002476
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 25 12 birch eli 20 22 delta jules 27 15 amber jules 30 12 ember gus 27 9 harbor lina 7 23 delta chen 27 9 birch farah 30 6 delta dina 4 8 fable
ivan 37 eli 42 jules 42 jules 42 gus 36 lina 30 chen 36 farah 36 dina 12
ivan 22 20 indigo farah 13 16 delta hana 19 9 indigo alice 29 19 juniper hana 24 20 ember hana 24 2 grove lina 11 13 fable lina 8 28 birch
ivan 42 farah 29 hana 28 alice 48 hana 44 hana 26 lina 24 lina 36
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002476-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 25 12 birch eli 20 22 delta jules 27 15 amber jules 30 12 ember gus 27 9 harbor lina 7 23 delta chen 27 9 birch farah 30 6 delta dina 4 8 fable
ivan 37 eli 42 jules 42 jules 42 gus 36 lina 30 chen 36 farah 36 dina 12
ivan 22 20 indigo farah 13 16 delta hana 19 9 indigo alice 29 19 juniper hana 24 20 ember hana 24 2 grove lina 11 13 fable lina 8 28 birch
ivan 42 farah 29 hana 28 alice 48 hana 44 hana 26 lina 24 lina 36
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002476
qwen/qwen3.7-plus
awkweave-0002477
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
alice 3 gus 20 lina 18 jules 8 dina 12 eli 6 chen 19 kim 28
alice fail gus pass lina fail jules fail dina fail eli fail chen fail kim pass
chen 27 gus 28 bruno 4 ivan 29 ivan 4 ivan 29 kim 30 gus 11
chen pass gus pass bruno fail ivan pass ivan fail ivan pass kim pass gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002477-p1
Display column 1 and output 'pass' if column 2 is 20 or greater; otherwise, output 'fail'.
{print $1,($2>=20?"pass":"fail")}
alice 3 gus 20 lina 18 jules 8 dina 12 eli 6 chen 19 kim 28
alice fail gus pass lina fail jules fail dina fail eli fail chen fail kim pass
chen 27 gus 28 bruno 4 ivan 29 ivan 4 ivan 29 kim 30 gus 11
chen pass gus pass bruno fail ivan pass ivan fail ivan pass kim pass gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002477
qwen/qwen3.7-plus
awkweave-0002478
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
kim ember 63 jules fable 29 hana indigo 102 eli amber 48 gus juniper 106 eli juniper 98 bruno harbor 34
EMBER FABLE INDIGO AMBER JUNIPER JUNIPER HARBOR
alice juniper 39 farah birch 57 hana indigo 58 dina cobalt 56 alice harbor 119 chen cobalt 84
JUNIPER BIRCH INDIGO COBALT HARBOR COBALT
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002478-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
kim ember 63 jules fable 29 hana indigo 102 eli amber 48 gus juniper 106 eli juniper 98 bruno harbor 34
EMBER FABLE INDIGO AMBER JUNIPER JUNIPER HARBOR
alice juniper 39 farah birch 57 hana indigo 58 dina cobalt 56 alice harbor 119 chen cobalt 84
JUNIPER BIRCH INDIGO COBALT HARBOR COBALT
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002478
qwen/qwen3.7-plus
awkweave-0002479
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
grove 113 delta 16 harbor 53 indigo 80 birch 13 amber 59 delta 6
gro del har ind bir amb del
ember 70 ember 11 amber 102 cobalt 110 fable 36 amber 88 birch 50
emb emb amb cob fab amb bir
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002479-p1
Extract and print the first 3 characters from column 1, starting at position 1.
{print substr($1,1,3)}
grove 113 delta 16 harbor 53 indigo 80 birch 13 amber 59 delta 6
gro del har ind bir amb del
ember 70 ember 11 amber 102 cobalt 110 fable 36 amber 88 birch 50
emb emb amb cob fab amb bir
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002479
qwen/qwen3.7-plus
awkweave-0002480
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_grove 14 birch_delta 67 fable_fable 108 birch_ember 48 indigo_indigo 116 indigo_juniper 16
juniper grove birch delta fable fable birch ember indigo indigo indigo juniper
amber_ember 21 fable_indigo 96 juniper_cobalt 86 indigo_cobalt 2 birch_birch 53 amber_grove 81 fable_ember 50 harbor_cobalt 104 birch_indigo 39
amber ember fable indigo juniper cobalt indigo cobalt birch birch amber grove fable ember harbor cobalt birch indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002480-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
juniper_grove 14 birch_delta 67 fable_fable 108 birch_ember 48 indigo_indigo 116 indigo_juniper 16
juniper grove birch delta fable fable birch ember indigo indigo indigo juniper
amber_ember 21 fable_indigo 96 juniper_cobalt 86 indigo_cobalt 2 birch_birch 53 amber_grove 81 fable_ember 50 harbor_cobalt 104 birch_indigo 39
amber ember fable indigo juniper cobalt indigo cobalt birch birch amber grove fable ember harbor cobalt birch indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002480
qwen/qwen3.7-plus
awkweave-0002481
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)}
farah ember 114 pending jules fable 18 failed eli cobalt 30 closed eli grove 79 failed kim delta 37 pending ivan cobalt 57 ready eli juniper 78 active bruno fable 86 ready hana birch 24 closed kim delta 105 paused
pending 114 ember farah failed 18 fable jules closed 30 cobalt eli failed 79 grove eli pending 37 delta kim ready 57 cobalt ivan active 78 juniper eli ready 86 fable bruno closed 24 birch hana paused 105 delta kim
ivan harbor 42 closed jules indigo 24 ready farah cobalt 53 pending lina delta 106 ready dina birch 114 ready chen indigo 32 failed alice fable 83 failed
closed 42 harbor ivan ready 24 indigo jules pending 53 cobalt farah ready 106 delta lina ready 114 birch dina failed 32 indigo chen failed 83 fable alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002481-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
farah ember 114 pending jules fable 18 failed eli cobalt 30 closed eli grove 79 failed kim delta 37 pending ivan cobalt 57 ready eli juniper 78 active bruno fable 86 ready hana birch 24 closed kim delta 105 paused
pending 114 ember farah failed 18 fable jules closed 30 cobalt eli failed 79 grove eli pending 37 delta kim ready 57 cobalt ivan active 78 juniper eli ready 86 fable bruno closed 24 birch hana paused 105 delta kim
ivan harbor 42 closed jules indigo 24 ready farah cobalt 53 pending lina delta 106 ready dina birch 114 ready chen indigo 32 failed alice fable 83 failed
closed 42 harbor ivan ready 24 indigo jules pending 53 cobalt farah ready 106 delta lina ready 114 birch dina failed 32 indigo chen failed 83 fable alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002481
qwen/qwen3.7-plus
awkweave-0002482
Print the number of whitespace-separated fields on each line.
{print NF}
alice juniper 52 active chen grove 2 failed lina juniper 82 closed kim delta 83 closed ivan delta 28 active eli fable 82 pending ivan cobalt 68 closed gus birch 111 failed eli fable 39 closed
4 4 4 4 4 4 4 4 4
kim indigo 58 closed jules amber 10 paused dina birch 90 active bruno juniper 75 paused alice indigo 117 failed hana harbor 75 pending farah cobalt 32 active
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002482-p1
Output the count of whitespace-separated fields for every line.
{print NF}
alice juniper 52 active chen grove 2 failed lina juniper 82 closed kim delta 83 closed ivan delta 28 active eli fable 82 pending ivan cobalt 68 closed gus birch 111 failed eli fable 39 closed
4 4 4 4 4 4 4 4 4
kim indigo 58 closed jules amber 10 paused dina birch 90 active bruno juniper 75 paused alice indigo 117 failed hana harbor 75 pending farah cobalt 32 active
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002482
qwen/qwen3.7-plus
awkweave-0002483
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 gamma 87 alice gamma 10 lina beta 21 chen alpha 74 alice gamma 112 kim gamma 99
gamma 4 beta 1 alpha 1
chen beta 3 bruno beta 120 lina beta 47 ivan delta 10 dina alpha 69 eli gamma 100 gus alpha 108
beta 3 delta 1 alpha 2 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002483-p1
Tally the records for each distinct value in column 2, then print 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 gamma 87 alice gamma 10 lina beta 21 chen alpha 74 alice gamma 112 kim gamma 99
gamma 4 beta 1 alpha 1
chen beta 3 bruno beta 120 lina beta 47 ivan delta 10 dina alpha 69 eli gamma 100 gus alpha 108
beta 3 delta 1 alpha 2 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002483
qwen/qwen3.7-plus
awkweave-0002484
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 alpha 17 lina gamma 15 eli alpha 14 kim delta 15 kim delta 30 jules alpha 23 chen gamma 17 hana alpha 13
alpha 67 gamma 32 delta 45
eli alpha 30 bruno gamma 30 hana alpha 8 jules delta 6 ivan alpha 30 jules beta 23
alpha 68 gamma 30 delta 6 beta 23
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002484-p1
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli alpha 17 lina gamma 15 eli alpha 14 kim delta 15 kim delta 30 jules alpha 23 chen gamma 17 hana alpha 13
alpha 67 gamma 32 delta 45
eli alpha 30 bruno gamma 30 hana alpha 8 jules delta 6 ivan alpha 30 jules beta 23
alpha 68 gamma 30 delta 6 beta 23
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0002484
qwen/qwen3.7-plus
awkweave-0002485
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 cobalt 42 delta grove 14 beta birch 69 gamma harbor 119 beta fable 61 alpha amber 38 beta ember 68 delta fable 87 beta ember 36
alpha 2 delta 2 beta 4
gamma amber 5 gamma birch 69 alpha fable 60 delta harbor 19 alpha delta 42 delta harbor 12 alpha indigo 45 beta cobalt 79 delta juniper 37 beta cobalt 76
gamma 2 alpha 3 delta 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002485-p1
Identify duplicate values in column 1, count their occurrences, and list them in the order they first appear.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha cobalt 42 delta grove 14 beta birch 69 gamma harbor 119 beta fable 61 alpha amber 38 beta ember 68 delta fable 87 beta ember 36
alpha 2 delta 2 beta 4
gamma amber 5 gamma birch 69 alpha fable 60 delta harbor 19 alpha delta 42 delta harbor 12 alpha indigo 45 beta cobalt 79 delta juniper 37 beta cobalt 76
gamma 2 alpha 3 delta 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002485
qwen/qwen3.7-plus
awkweave-0002486
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
record_id state note display_name r001 lina 26 pending r002 alice 21 pending r003 gus 15 paused r004 lina 9 failed r005 jules 1 active r006 dina 8 pending r007 chen 18 paused r008 kim 28 failed
lina alice gus lina jules dina chen kim
record_id state note display_name r001 hana 30 pending r002 gus 2 failed r003 hana 25 ready r004 farah 12 pending r005 lina 12 active r006 bruno 26 active r007 bruno 11 failed r008 hana 2 closed r009 ivan 24 active
hana gus hana farah lina bruno bruno hana ivan
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002486-p1
Treat the initial row as a header and output the values from the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
record_id state note display_name r001 lina 26 pending r002 alice 21 pending r003 gus 15 paused r004 lina 9 failed r005 jules 1 active r006 dina 8 pending r007 chen 18 paused r008 kim 28 failed
lina alice gus lina jules dina chen kim
record_id state note display_name r001 hana 30 pending r002 gus 2 failed r003 hana 25 ready r004 farah 12 pending r005 lina 12 active r006 bruno 26 active r007 bruno 11 failed r008 hana 2 closed r009 ivan 24 active
hana gus hana farah lina bruno bruno hana ivan
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002486
qwen/qwen3.7-plus
awkweave-0002487
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 kim 29 paused r002 ivan 30 paused r003 kim 3 ready r004 gus 22 pending r005 eli 12 paused r006 dina 18 failed
kim ivan gus dina
record_id display_name score state r001 jules 27 closed r002 eli 19 pending r003 eli 15 ready r004 dina 16 closed r005 gus 3 paused r006 hana 25 active r007 chen 15 closed r008 hana 17 failed r009 bruno 28 failed r010 gus 14 failed
jules eli eli dina hana chen hana bruno gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002487-p1
Ignoring the header row, output the display_name field for every record where the score is strictly greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 kim 29 paused r002 ivan 30 paused r003 kim 3 ready r004 gus 22 pending r005 eli 12 paused r006 dina 18 failed
kim ivan gus dina
record_id display_name score state r001 jules 27 closed r002 eli 19 pending r003 eli 15 ready r004 dina 16 closed r005 gus 3 paused r006 hana 25 active r007 chen 15 closed r008 hana 17 failed r009 bruno 28 failed r010 gus 14 failed
jules eli eli dina hana chen hana bruno gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002487
qwen/qwen3.7-plus
awkweave-0002488
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 3 paused chen 3 paused chen 28 active chen 28 pending ivan 14 pending chen 14 active lina 15 active eli 29 failed eli 13 failed kim 16 closed
paused paused active pending pending active active failed failed closed
hana 29 active alice 1 active hana 28 failed alice 15 failed chen 3 ready alice 13 active hana 29 failed chen 9 failed
active active failed failed ready active failed failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002488-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 3 paused chen 3 paused chen 28 active chen 28 pending ivan 14 pending chen 14 active lina 15 active eli 29 failed eli 13 failed kim 16 closed
paused paused active pending pending active active failed failed closed
hana 29 active alice 1 active hana 28 failed alice 15 failed chen 3 ready alice 13 active hana 29 failed chen 9 failed
active active failed failed ready active failed failed
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002488
qwen/qwen3.7-plus
awkweave-0002489
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
bruno,9,closed ivan,14,ready bruno,29,failed ivan,9,failed lina,14,ready chen,15,pending gus,26,pending dina,5,pending ivan,23,ready
bruno gus ivan
bruno,10,pending bruno,15,paused jules,15,pending eli,4,paused bruno,13,paused bruno,23,paused
bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002489-p1
For simple comma-separated data without quoted fields, print the first column whenever the value in the second column is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
bruno,9,closed ivan,14,ready bruno,29,failed ivan,9,failed lina,14,ready chen,15,pending gus,26,pending dina,5,pending ivan,23,ready
bruno gus ivan
bruno,10,pending bruno,15,paused jules,15,pending eli,4,paused bruno,13,paused bruno,23,paused
bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002489
qwen/qwen3.7-plus
awkweave-0002500
Print column 1 only for rows where column 4 is exactly ready.
$4 == "ready"{print $1}
bruno 108 ember failed bruno 85 amber closed alice 44 birch ready farah 17 harbor paused kim 18 grove paused bruno 2 ember active farah 14 fable active dina 7 delta paused
alice
ivan 100 fable closed ivan 82 birch closed kim 86 grove active bruno 96 indigo ready dina 62 harbor ready hana 46 harbor pending dina 104 ember active hana 50 amber closed bruno 96 cobalt paused
bruno dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null