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-0025721-p1
Output column 1 and label it 'pass' if column 2 is 26 or greater; otherwise, label it 'fail'.
{print $1,($2>=26?"pass":"fail")}
kim 9 hana 20 gus 27 lina 21 ivan 13 eli 25
kim fail hana fail gus pass lina fail ivan fail eli fail
chen 19 chen 16 gus 15 bruno 22 ivan 12 kim 3
chen fail chen fail gus fail bruno fail ivan fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025721
qwen/qwen3.7-plus
awkweave-0025722
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
bruno grove 98 farah juniper 27 hana birch 100 kim amber 80 bruno juniper 102 kim fable 33 bruno grove 85 alice grove 102 bruno grove 70 eli ember 36
GROVE JUNIPER BIRCH AMBER JUNIPER FABLE GROVE GROVE GROVE EMBER
gus delta 0 bruno ember 46 lina grove 22 jules ember 47 bruno juniper 20 ivan delta 66 chen cobalt 9
DELTA EMBER GROVE EMBER JUNIPER DELTA COBALT
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025722-p1
Transform column 2 to uppercase letters and output only this modified column.
{print toupper($2)}
bruno grove 98 farah juniper 27 hana birch 100 kim amber 80 bruno juniper 102 kim fable 33 bruno grove 85 alice grove 102 bruno grove 70 eli ember 36
GROVE JUNIPER BIRCH AMBER JUNIPER FABLE GROVE GROVE GROVE EMBER
gus delta 0 bruno ember 46 lina grove 22 jules ember 47 bruno juniper 20 ivan delta 66 chen cobalt 9
DELTA EMBER GROVE EMBER JUNIPER DELTA COBALT
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025722
qwen/qwen3.7-plus
awkweave-0025723
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
birch 96 juniper 66 fable 66 delta 90 harbor 7 birch 21
birc juni fabl delt harb birc
juniper 88 juniper 72 harbor 117 juniper 96 harbor 12 juniper 47 amber 55 grove 13 cobalt 102
juni juni harb juni harb juni ambe grov coba
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025723-p1
Extract and print the first 4 characters from column 1.
{print substr($1,1,4)}
birch 96 juniper 66 fable 66 delta 90 harbor 7 birch 21
birc juni fabl delt harb birc
juniper 88 juniper 72 harbor 117 juniper 96 harbor 12 juniper 47 amber 55 grove 13 cobalt 102
juni juni harb juni harb juni ambe grov coba
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025723
qwen/qwen3.7-plus
awkweave-0025724
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_ember 33 cobalt_fable 7 amber_amber 31 juniper_indigo 41 fable_grove 1 amber_ember 53 harbor_grove 117
delta ember cobalt fable amber amber juniper indigo fable grove amber ember harbor grove
indigo_ember 63 birch_ember 28 fable_grove 29 birch_grove 1 amber_birch 43 juniper_harbor 76 indigo_juniper 105 ember_harbor 86 fable_indigo 92 grove_amber 81
indigo ember birch ember fable grove birch grove amber birch juniper harbor indigo juniper ember harbor fable indigo grove amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025724-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_ember 33 cobalt_fable 7 amber_amber 31 juniper_indigo 41 fable_grove 1 amber_ember 53 harbor_grove 117
delta ember cobalt fable amber amber juniper indigo fable grove amber ember harbor grove
indigo_ember 63 birch_ember 28 fable_grove 29 birch_grove 1 amber_birch 43 juniper_harbor 76 indigo_juniper 105 ember_harbor 86 fable_indigo 92 grove_amber 81
indigo ember birch ember fable grove birch grove amber birch juniper harbor indigo juniper ember harbor fable indigo grove amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025724
qwen/qwen3.7-plus
awkweave-0025725
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana ember 12 active lina harbor 72 ready ivan grove 3 ready bruno harbor 7 closed eli amber 78 ready ivan juniper 46 paused gus cobalt 27 active
active 12 ember hana ready 72 harbor lina ready 3 grove ivan closed 7 harbor bruno ready 78 amber eli paused 46 juniper ivan active 27 cobalt gus
dina grove 14 active lina delta 15 failed farah amber 110 pending alice birch 58 ready chen amber 25 ready jules cobalt 25 pending jules indigo 117 paused kim grove 23 active chen delta 56 ready farah ember 23 ready
active 14 grove dina failed 15 delta lina pending 110 amber farah ready 58 birch alice ready 25 amber chen pending 25 cobalt jules paused 117 indigo jules active 23 grove kim ready 56 delta chen ready 23 ember farah
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025725-p1
Invert the sequence of fields for every line and print the complete set of fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana ember 12 active lina harbor 72 ready ivan grove 3 ready bruno harbor 7 closed eli amber 78 ready ivan juniper 46 paused gus cobalt 27 active
active 12 ember hana ready 72 harbor lina ready 3 grove ivan closed 7 harbor bruno ready 78 amber eli paused 46 juniper ivan active 27 cobalt gus
dina grove 14 active lina delta 15 failed farah amber 110 pending alice birch 58 ready chen amber 25 ready jules cobalt 25 pending jules indigo 117 paused kim grove 23 active chen delta 56 ready farah ember 23 ready
active 14 grove dina failed 15 delta lina pending 110 amber farah ready 58 birch alice ready 25 amber chen pending 25 cobalt jules paused 117 indigo jules active 23 grove kim ready 56 delta chen ready 23 ember farah
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025725
qwen/qwen3.7-plus
awkweave-0025726
Print the number of whitespace-separated fields on each line.
{print NF}
bruno fable 11 closed jules grove 104 failed eli birch 8 paused chen ember 4 ready hana indigo 41 active hana ember 71 failed gus birch 45 failed farah ember 38 active farah indigo 54 paused
4 4 4 4 4 4 4 4 4
dina juniper 1 failed chen juniper 93 ready bruno juniper 14 active chen birch 15 paused jules juniper 32 ready alice juniper 23 failed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025726-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
bruno fable 11 closed jules grove 104 failed eli birch 8 paused chen ember 4 ready hana indigo 41 active hana ember 71 failed gus birch 45 failed farah ember 38 active farah indigo 54 paused
4 4 4 4 4 4 4 4 4
dina juniper 1 failed chen juniper 93 ready bruno juniper 14 active chen birch 15 paused jules juniper 32 ready alice juniper 23 failed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025726
qwen/qwen3.7-plus
awkweave-0025727
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]]}
chen delta 101 dina beta 54 chen delta 120 lina delta 39 chen gamma 13 ivan gamma 111 jules delta 112 jules gamma 74
delta 4 beta 1 gamma 3
dina gamma 103 eli beta 101 lina delta 52 eli beta 94 gus beta 85 hana gamma 64 hana delta 78 gus delta 81 hana beta 115 jules gamma 98
gamma 3 beta 4 delta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025727-p1
Tally the number of records for each distinct value in column 2, listing each value and its frequency 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]]}
chen delta 101 dina beta 54 chen delta 120 lina delta 39 chen gamma 13 ivan gamma 111 jules delta 112 jules gamma 74
delta 4 beta 1 gamma 3
dina gamma 103 eli beta 101 lina delta 52 eli beta 94 gus beta 85 hana gamma 64 hana delta 78 gus delta 81 hana beta 115 jules gamma 98
gamma 3 beta 4 delta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025727
qwen/qwen3.7-plus
awkweave-0025728
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]]}
alice beta 15 farah beta 25 lina beta 21 kim alpha 12 alice delta 27 lina gamma 10 dina beta 23
beta 84 alpha 12 delta 27 gamma 10
bruno beta 28 hana gamma 26 dina delta 20 ivan beta 8 hana beta 11 lina alpha 13 lina alpha 22 bruno beta 12 alice alpha 4 chen alpha 13
beta 59 gamma 26 delta 20 alpha 52
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025728-p1
Calculate the sum of column 3 grouped by each category in column 2, presenting the results in the order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice beta 15 farah beta 25 lina beta 21 kim alpha 12 alice delta 27 lina gamma 10 dina beta 23
beta 84 alpha 12 delta 27 gamma 10
bruno beta 28 hana gamma 26 dina delta 20 ivan beta 8 hana beta 11 lina alpha 13 lina alpha 22 bruno beta 12 alice alpha 4 chen alpha 13
beta 59 gamma 26 delta 20 alpha 52
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025728
qwen/qwen3.7-plus
awkweave-0025729
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 delta 81 delta birch 27 delta juniper 47 gamma harbor 108 beta grove 108 beta fable 2 delta ember 44
delta 3 beta 2
beta fable 109 beta birch 104 beta grove 33 delta grove 109 alpha juniper 18 beta harbor 79 alpha indigo 32
beta 4 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025729-p1
List each duplicate value from column 1 along with its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha delta 81 delta birch 27 delta juniper 47 gamma harbor 108 beta grove 108 beta fable 2 delta ember 44
delta 3 beta 2
beta fable 109 beta birch 104 beta grove 33 delta grove 109 alpha juniper 18 beta harbor 79 alpha indigo 32
beta 4 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025729
qwen/qwen3.7-plus
awkweave-0025730
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 region display_name r001 dina 26 failed r002 dina 23 pending r003 jules 23 pending r004 chen 15 pending r005 alice 28 ready r006 lina 5 paused
dina dina jules chen alice lina
record_id state region display_name r001 gus 9 ready r002 kim 27 ready r003 ivan 15 pending r004 farah 5 pending r005 dina 19 failed r006 lina 22 active r007 jules 7 failed r008 gus 10 failed r009 eli 14 paused
gus kim ivan farah dina lina jules gus eli
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025730-p1
Skip the header row and output the state column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
record_id state region display_name r001 dina 26 failed r002 dina 23 pending r003 jules 23 pending r004 chen 15 pending r005 alice 28 ready r006 lina 5 paused
dina dina jules chen alice lina
record_id state region display_name r001 gus 9 ready r002 kim 27 ready r003 ivan 15 pending r004 farah 5 pending r005 dina 19 failed r006 lina 22 active r007 jules 7 failed r008 gus 10 failed r009 eli 14 paused
gus kim ivan farah dina lina jules gus eli
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025730
qwen/qwen3.7-plus
awkweave-0025731
The first row is a header. Print display_name for data rows whose score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 kim 18 failed r002 alice 10 failed r003 bruno 7 pending r004 lina 22 ready r005 lina 27 pending r006 dina 16 pending r007 gus 4 pending r008 bruno 11 pending r009 alice 30 active
lina lina alice
record_id display_name score state r001 lina 13 ready r002 dina 23 closed r003 farah 21 active r004 eli 24 active r005 lina 4 paused r006 chen 21 active r007 bruno 20 failed r008 gus 7 paused r009 chen 24 paused r010 eli 3 closed
dina farah eli chen chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025731-p1
Ignore the header and print the display_name field for records where the score is strictly greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 kim 18 failed r002 alice 10 failed r003 bruno 7 pending r004 lina 22 ready r005 lina 27 pending r006 dina 16 pending r007 gus 4 pending r008 bruno 11 pending r009 alice 30 active
lina lina alice
record_id display_name score state r001 lina 13 ready r002 dina 23 closed r003 farah 21 active r004 eli 24 active r005 lina 4 paused r006 chen 21 active r007 bruno 20 failed r008 gus 7 paused r009 chen 24 paused r010 eli 3 closed
dina farah eli chen chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025731
qwen/qwen3.7-plus
awkweave-0025732
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
jules 2 failed farah 3 ready alice 16 ready alice 3 closed ivan 1 ready kim 17 pending alice 16 ready kim 23 pending jules 27 closed eli 30 failed
2 3 16 3 1 17 16 23 27 30
jules 19 active ivan 29 active eli 9 ready gus 24 pending kim 8 paused gus 22 closed farah 27 pending lina 3 active gus 4 active jules 2 pending
19 29 9 24 8 22 27 3 4 2
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025732-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
jules 2 failed farah 3 ready alice 16 ready alice 3 closed ivan 1 ready kim 17 pending alice 16 ready kim 23 pending jules 27 closed eli 30 failed
2 3 16 3 1 17 16 23 27 30
jules 19 active ivan 29 active eli 9 ready gus 24 pending kim 8 paused gus 22 closed farah 27 pending lina 3 active gus 4 active jules 2 pending
19 29 9 24 8 22 27 3 4 2
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0025732
qwen/qwen3.7-plus
awkweave-0025733
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
hana,22,pending alice,23,pending ivan,14,failed lina,24,ready gus,12,pending farah,19,active ivan,12,closed dina,6,failed farah,1,active
hana alice lina farah
dina,5,ready dina,28,active jules,10,active jules,21,failed dina,6,ready farah,28,active
dina jules farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025733-p1
Process simple CSV data without quoted commas; print the first column if the value in the second column is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
hana,22,pending alice,23,pending ivan,14,failed lina,24,ready gus,12,pending farah,19,active ivan,12,closed dina,6,failed farah,1,active
hana alice lina farah
dina,5,ready dina,28,active jules,10,active jules,21,failed dina,6,ready farah,28,active
dina jules farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025733
qwen/qwen3.7-plus
awkweave-0025734
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli juniper 41 farah harbor 116 chen harbor 39 jules delta 5 alice indigo 97 chen birch 100
eli juniper 41 farah harbor 116 chen harbor 39 jules delta 5 alice indigo 97 chen birch 100
bruno birch 50 dina harbor 111 eli juniper 94 gus grove 12 hana cobalt 29 ivan juniper 101 chen birch 105 hana cobalt 10 alice harbor 59
bruno birch 50 dina harbor 111 eli juniper 94 gus grove 12 hana cobalt 29 ivan juniper 101 chen birch 105 hana cobalt 10 alice harbor 59
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025734-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
eli juniper 41 farah harbor 116 chen harbor 39 jules delta 5 alice indigo 97 chen birch 100
eli juniper 41 farah harbor 116 chen harbor 39 jules delta 5 alice indigo 97 chen birch 100
bruno birch 50 dina harbor 111 eli juniper 94 gus grove 12 hana cobalt 29 ivan juniper 101 chen birch 105 hana cobalt 10 alice harbor 59
bruno birch 50 dina harbor 111 eli juniper 94 gus grove 12 hana cobalt 29 ivan juniper 101 chen birch 105 hana cobalt 10 alice harbor 59
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025734
qwen/qwen3.7-plus
awkweave-0025735
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan harbor 1 paused eli delta 96 paused ivan delta 48 paused chen birch 8 closed gus cobalt 72 ready dina delta 94 ready jules juniper 99 failed alice cobalt 104 pending bruno birch 44 pending
alice cobalt 104 pending
eli fable 80 pending lina birch 33 closed bruno amber 29 pending bruno ember 42 closed dina grove 77 closed chen fable 109 pending kim amber 90 active ivan birch 119 paused gus ember 119 active
bruno amber 29 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025735-p1
Identify and print the longest line from the input; in case of a tie in length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
ivan harbor 1 paused eli delta 96 paused ivan delta 48 paused chen birch 8 closed gus cobalt 72 ready dina delta 94 ready jules juniper 99 failed alice cobalt 104 pending bruno birch 44 pending
alice cobalt 104 pending
eli fable 80 pending lina birch 33 closed bruno amber 29 pending bruno ember 42 closed dina grove 77 closed chen fable 109 pending kim amber 90 active ivan birch 119 paused gus ember 119 active
bruno amber 29 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025735
qwen/qwen3.7-plus
awkweave-0025736
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
bruno 13 farah 16 dina 2 kim 60 dina 68 hana 65
bruno 13 dina 2 dina 68
ivan 23 alice 29 gus 18 jules 24 jules 59 ivan 11
ivan 23 gus 18 jules 59
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025736-p1
Output every other line, starting with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
bruno 13 farah 16 dina 2 kim 60 dina 68 hana 65
bruno 13 dina 2 dina 68
ivan 23 alice 29 gus 18 jules 24 jules 59 ivan 11
ivan 23 gus 18 jules 59
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025736
qwen/qwen3.7-plus
awkweave-0025737
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta cobalt 40 delta indigo 61 alpha juniper 100 delta juniper 76 delta harbor 69 gamma fable 7 beta amber 2 delta indigo 8 alpha harbor 111 beta ember 62
7
alpha ember 95 gamma harbor 42 delta juniper 77 alpha fable 19 beta fable 58 beta amber 32 delta grove 3 delta harbor 11 delta amber 62 alpha delta 67
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025737-p1
Calculate the number of unique values in the second column and output only that total count.
{if(!seen[$2]++)n++}END{print n+0}
beta cobalt 40 delta indigo 61 alpha juniper 100 delta juniper 76 delta harbor 69 gamma fable 7 beta amber 2 delta indigo 8 alpha harbor 111 beta ember 62
7
alpha ember 95 gamma harbor 42 delta juniper 77 alpha fable 19 beta fable 58 beta amber 32 delta grove 3 delta harbor 11 delta amber 62 alpha delta 67
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025737
qwen/qwen3.7-plus
awkweave-0025738
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}
eli 28 0 dina 19 28 lina 6 13 eli 16 10 chen 3 19 chen 30 10 ivan 21 10 eli 17 17 alice 2 30
dina 0.68 lina 0.46 eli 1.60 chen 0.16 chen 3.00 ivan 2.10 eli 1.00 alice 0.07
lina 16 0 jules 30 27 alice 10 21 gus 16 26 ivan 26 17 gus 6 15 bruno 4 5 alice 16 18 jules 26 22 kim 28 26
jules 1.11 alice 0.48 gus 0.62 ivan 1.53 gus 0.40 bruno 0.80 alice 0.89 jules 1.18 kim 1.08
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025738-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 28 0 dina 19 28 lina 6 13 eli 16 10 chen 3 19 chen 30 10 ivan 21 10 eli 17 17 alice 2 30
dina 0.68 lina 0.46 eli 1.60 chen 0.16 chen 3.00 ivan 2.10 eli 1.00 alice 0.07
lina 16 0 jules 30 27 alice 10 21 gus 16 26 ivan 26 17 gus 6 15 bruno 4 5 alice 16 18 jules 26 22 kim 28 26
jules 1.11 alice 0.48 gus 0.62 ivan 1.53 gus 0.40 bruno 0.80 alice 0.89 jules 1.18 kim 1.08
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025738
qwen/qwen3.7-plus
awkweave-0025739
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]}
farah indigo 10 jules amber 5 jules ember 5 chen delta 15 gus birch 24 ivan indigo 4 eli juniper 23 jules indigo 4
gus birch 24 eli juniper 23 chen delta 15
bruno delta 12 eli birch 16 lina indigo 9 ivan ember 27 hana juniper 8 alice harbor 7
ivan ember 27 eli birch 16 bruno delta 12
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025739-p1
Select 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]}
farah indigo 10 jules amber 5 jules ember 5 chen delta 15 gus birch 24 ivan indigo 4 eli juniper 23 jules indigo 4
gus birch 24 eli juniper 23 chen delta 15
bruno delta 12 eli birch 16 lina indigo 9 ivan ember 27 hana juniper 8 alice harbor 7
ivan ember 27 eli birch 16 bruno delta 12
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025739
qwen/qwen3.7-plus
awkweave-0025740
For each line, output fields 4 and 3, in that order.
{print $4, $3}
closed failed 85 alice closed birch failed active 49 jules pending juniper failed paused 118 dina paused ember failed closed 68 alice paused delta active failed 109 eli ready indigo active failed 33 eli failed harbor active failed 34 bruno closed fable
alice 85 jules 49 dina 118 alice 68 eli 109 eli 33 bruno 34
ready active 108 chen closed delta paused closed 9 gus ready delta paused failed 61 ivan pending delta closed paused 102 dina pending amber closed paused 19 ivan closed amber pending paused 109 hana paused delta
chen 108 gus 9 ivan 61 dina 102 ivan 19 hana 109
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025740-p1
For every line, print the fourth field followed by the third field.
{print $4, $3}
closed failed 85 alice closed birch failed active 49 jules pending juniper failed paused 118 dina paused ember failed closed 68 alice paused delta active failed 109 eli ready indigo active failed 33 eli failed harbor active failed 34 bruno closed fable
alice 85 jules 49 dina 118 alice 68 eli 109 eli 33 bruno 34
ready active 108 chen closed delta paused closed 9 gus ready delta paused failed 61 ivan pending delta closed paused 102 dina pending amber closed paused 19 ivan closed amber pending paused 109 hana paused delta
chen 108 gus 9 ivan 61 dina 102 ivan 19 hana 109
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025740
qwen/qwen3.7-plus
awkweave-0025741
Print the last field of every input line.
{print $NF}
paused fable jules paused fable gus failed indigo ivan active indigo alice ready fable lina pending ember hana paused indigo chen
jules gus ivan alice lina hana chen
pending fable gus pending indigo kim ready delta dina failed juniper alice pending harbor bruno active harbor dina active birch ivan paused fable eli active indigo lina
gus kim dina alice bruno dina ivan eli lina
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025741-p1
Extract and print the final field from each input line.
{print $NF}
paused fable jules paused fable gus failed indigo ivan active indigo alice ready fable lina pending ember hana paused indigo chen
jules gus ivan alice lina hana chen
pending fable gus pending indigo kim ready delta dina failed juniper alice pending harbor bruno active harbor dina active birch ivan paused fable eli active indigo lina
gus kim dina alice bruno dina ivan eli lina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025741
qwen/qwen3.7-plus
awkweave-0025742
Print the complete records where column 1 is at most 53.
$1 <= 53
103 harbor farah grove fable 118 ember farah grove ember 66 cobalt lina ember amber 48 juniper dina ember fable 57 indigo ivan amber fable 75 harbor farah harbor ember 112 cobalt hana ember grove 98 delta eli ember grove 3 fable chen juniper grove
48 juniper dina ember fable 3 fable chen juniper grove
71 ember kim indigo grove 119 harbor dina grove amber 12 harbor kim indigo juniper 45 juniper bruno amber indigo 85 delta gus grove ember 39 indigo kim delta birch 88 harbor hana delta ember 29 amber bruno grove grove 116 ember chen harbor cobalt 100 indigo bruno ember fable
12 harbor kim indigo juniper 45 juniper bruno amber indigo 39 indigo kim delta birch 29 amber bruno grove grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025742-p1
Output full records where the value in the first column is less than or equal to 53.
$1 <= 53
103 harbor farah grove fable 118 ember farah grove ember 66 cobalt lina ember amber 48 juniper dina ember fable 57 indigo ivan amber fable 75 harbor farah harbor ember 112 cobalt hana ember grove 98 delta eli ember grove 3 fable chen juniper grove
48 juniper dina ember fable 3 fable chen juniper grove
71 ember kim indigo grove 119 harbor dina grove amber 12 harbor kim indigo juniper 45 juniper bruno amber indigo 85 delta gus grove ember 39 indigo kim delta birch 88 harbor hana delta ember 29 amber bruno grove grove 116 ember chen harbor cobalt 100 indigo bruno ember fable
12 harbor kim indigo juniper 45 juniper bruno amber indigo 39 indigo kim delta birch 29 amber bruno grove grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025742
qwen/qwen3.7-plus
awkweave-0025743
Show whole lines whose 3rd field is between 12 and 23, inclusive.
$3 >= 12 && $3 <= 23
grove active 11 ready birch closed 1 failed cobalt failed 21 ready cobalt pending 20 failed grove pending 29 pending indigo pending 20 pending ember closed 5 ready harbor closed 13 paused grove closed 7 closed juniper active 15 paused
cobalt failed 21 ready cobalt pending 20 failed indigo pending 20 pending harbor closed 13 paused juniper active 15 paused
juniper failed 12 ready harbor pending 4 active indigo pending 14 closed grove paused 3 pending cobalt ready 23 closed ember failed 14 active birch pending 21 active
juniper failed 12 ready indigo pending 14 closed cobalt ready 23 closed ember failed 14 active birch pending 21 active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025743-p1
Display entire lines where the third field falls within the inclusive range of 12 to 23.
$3 >= 12 && $3 <= 23
grove active 11 ready birch closed 1 failed cobalt failed 21 ready cobalt pending 20 failed grove pending 29 pending indigo pending 20 pending ember closed 5 ready harbor closed 13 paused grove closed 7 closed juniper active 15 paused
cobalt failed 21 ready cobalt pending 20 failed indigo pending 20 pending harbor closed 13 paused juniper active 15 paused
juniper failed 12 ready harbor pending 4 active indigo pending 14 closed grove paused 3 pending cobalt ready 23 closed ember failed 14 active birch pending 21 active
juniper failed 12 ready indigo pending 14 closed cobalt ready 23 closed ember failed 14 active birch pending 21 active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025743
qwen/qwen3.7-plus
awkweave-0025744
Print column 1 only for rows where column 3 is exactly closed.
$3 == "closed"{print $1}
bruno ember ready 82 lina indigo active 43 kim delta pending 53 alice birch closed 70 eli ember failed 55 jules ember pending 84 gus birch ready 13 alice amber ready 36 alice birch failed 18
alice
dina indigo ready 27 lina ember paused 19 gus amber ready 90 chen ember paused 12 dina cobalt failed 86 farah cobalt active 113 kim delta closed 32 alice cobalt closed 79 bruno grove failed 0
kim alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025744-p1
Extract and print only the first column for rows where the third column equals 'closed'.
$3 == "closed"{print $1}
bruno ember ready 82 lina indigo active 43 kim delta pending 53 alice birch closed 70 eli ember failed 55 jules ember pending 84 gus birch ready 13 alice amber ready 36 alice birch failed 18
alice
dina indigo ready 27 lina ember paused 19 gus amber ready 90 chen ember paused 12 dina cobalt failed 86 farah cobalt active 113 kim delta closed 32 alice cobalt closed 79 bruno grove failed 0
kim alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025744
qwen/qwen3.7-plus
awkweave-0025745
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
indigo 106 INFO grove 95 WARN juniper 54 ERROR juniper 1 DEBUG delta 58 ERROR indigo 83 DEBUG grove 94 INFO indigo 53 INFO
juniper 54 ERROR delta 58 ERROR
amber 100 DEBUG grove 59 INFO birch 18 DEBUG fable 70 ERROR harbor 108 WARN grove 4 INFO amber 93 DEBUG ember 86 DEBUG juniper 14 ERROR
fable 70 ERROR juniper 14 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025745-p1
Print all fields from any line where the third field starts with the string 'ERROR'.
$3 ~ /^ERROR/
indigo 106 INFO grove 95 WARN juniper 54 ERROR juniper 1 DEBUG delta 58 ERROR indigo 83 DEBUG grove 94 INFO indigo 53 INFO
juniper 54 ERROR delta 58 ERROR
amber 100 DEBUG grove 59 INFO birch 18 DEBUG fable 70 ERROR harbor 108 WARN grove 4 INFO amber 93 DEBUG ember 86 DEBUG juniper 14 ERROR
fable 70 ERROR juniper 14 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025745
qwen/qwen3.7-plus
awkweave-0025746
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
juniper 70 active amber 53 pending delta 18 closed fable 95 failed delta 42 paused grove 116 ready indigo 37 ready delta 81 pending cobalt 25 failed harbor 999 active
juniper 70 active amber 53 pending delta 18 closed fable 95 failed delta 42 paused grove 116 ready indigo 37 ready delta 81 pending cobalt 25 failed
ember 32 paused indigo 16 pending indigo 105 ready cobalt 106 closed birch 3 active delta 44 paused cobalt 45 paused fable 90 paused ember 99 active birch 60 paused harbor 999 active
ember 32 paused indigo 16 pending indigo 105 ready cobalt 106 closed birch 3 active delta 44 paused cobalt 45 paused fable 90 paused ember 99 active birch 60 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025746-p1
Output every line that does not contain the exact substring 'harbor'.
$0 !~ /harbor/
juniper 70 active amber 53 pending delta 18 closed fable 95 failed delta 42 paused grove 116 ready indigo 37 ready delta 81 pending cobalt 25 failed harbor 999 active
juniper 70 active amber 53 pending delta 18 closed fable 95 failed delta 42 paused grove 116 ready indigo 37 ready delta 81 pending cobalt 25 failed
ember 32 paused indigo 16 pending indigo 105 ready cobalt 106 closed birch 3 active delta 44 paused cobalt 45 paused fable 90 paused ember 99 active birch 60 paused harbor 999 active
ember 32 paused indigo 16 pending indigo 105 ready cobalt 106 closed birch 3 active delta 44 paused cobalt 45 paused fable 90 paused ember 99 active birch 60 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025746
qwen/qwen3.7-plus
awkweave-0025747
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
eli indigo 73 alice ember 48 jules amber 28 dina harbor 22 chen fable 66 farah delta 119 dina indigo 3
jules amber 28 dina harbor 22 chen fable 66
dina delta 46 dina grove 72 ivan harbor 118 bruno cobalt 75 gus juniper 61 ivan harbor 63 dina juniper 25 farah cobalt 104 chen juniper 54
ivan harbor 118 bruno cobalt 75 gus juniper 61
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025747-p1
Print lines numbered 3 to 5, inclusive of both the start and end lines.
NR >= 3 && NR <= 5
eli indigo 73 alice ember 48 jules amber 28 dina harbor 22 chen fable 66 farah delta 119 dina indigo 3
jules amber 28 dina harbor 22 chen fable 66
dina delta 46 dina grove 72 ivan harbor 118 bruno cobalt 75 gus juniper 61 ivan harbor 63 dina juniper 25 farah cobalt 104 chen juniper 54
ivan harbor 118 bruno cobalt 75 gus juniper 61
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025747
qwen/qwen3.7-plus
awkweave-0025748
Output only the first 5 records.
NR <= 5
dina 65 amber gus 47 juniper ivan 102 delta alice 78 grove ivan 105 harbor ivan 40 amber bruno 114 harbor
dina 65 amber gus 47 juniper ivan 102 delta alice 78 grove ivan 105 harbor
chen 117 harbor ivan 11 delta dina 59 fable bruno 68 amber dina 53 harbor kim 28 cobalt gus 65 grove hana 91 ember alice 108 birch
chen 117 harbor ivan 11 delta dina 59 fable bruno 68 amber dina 53 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025748-p1
Display only the first five records from the input.
NR <= 5
dina 65 amber gus 47 juniper ivan 102 delta alice 78 grove ivan 105 harbor ivan 40 amber bruno 114 harbor
dina 65 amber gus 47 juniper ivan 102 delta alice 78 grove ivan 105 harbor
chen 117 harbor ivan 11 delta dina 59 fable bruno 68 amber dina 53 harbor kim 28 cobalt gus 65 grove hana 91 ember alice 108 birch
chen 117 harbor ivan 11 delta dina 59 fable bruno 68 amber dina 53 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025748
qwen/qwen3.7-plus
awkweave-0025749
Skip the first line and print every remaining line unchanged.
NR > 1
dina 109 harbor bruno 117 indigo hana 100 birch dina 13 ember chen 30 birch chen 89 cobalt ivan 65 grove eli 22 juniper kim 90 ember kim 59 juniper
bruno 117 indigo hana 100 birch dina 13 ember chen 30 birch chen 89 cobalt ivan 65 grove eli 22 juniper kim 90 ember kim 59 juniper
lina 69 delta eli 2 ember ivan 98 harbor dina 15 juniper alice 101 fable dina 101 indigo eli 70 amber
eli 2 ember ivan 98 harbor dina 15 juniper alice 101 fable dina 101 indigo eli 70 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025749-p1
Ignore the first line and output all subsequent lines exactly as they appear.
NR > 1
dina 109 harbor bruno 117 indigo hana 100 birch dina 13 ember chen 30 birch chen 89 cobalt ivan 65 grove eli 22 juniper kim 90 ember kim 59 juniper
bruno 117 indigo hana 100 birch dina 13 ember chen 30 birch chen 89 cobalt ivan 65 grove eli 22 juniper kim 90 ember kim 59 juniper
lina 69 delta eli 2 ember ivan 98 harbor dina 15 juniper alice 101 fable dina 101 indigo eli 70 amber
eli 2 ember ivan 98 harbor dina 15 juniper alice 101 fable dina 101 indigo eli 70 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025749
qwen/qwen3.7-plus
awkweave-0025750
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
gus ready 10 chen ready 57 kim failed 111 ivan ready 119 farah ready 17 jules closed 102
4
chen ready 21 jules failed 83 hana active 71 ivan failed 82 eli paused 91 farah closed 35
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025750-p1
Count the number of records where the second column is 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
gus ready 10 chen ready 57 kim failed 111 ivan ready 119 farah ready 17 jules closed 102
4
chen ready 21 jules failed 83 hana active 71 ivan failed 82 eli paused 91 farah closed 35
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025750
qwen/qwen3.7-plus
awkweave-0025751
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
lina grove 24 bruno harbor 18 ivan ember 25 eli amber 24 bruno delta 19 gus indigo 13
123
farah fable 17 dina juniper 29 dina ember 8 ivan delta 26 eli juniper 11 chen cobalt 30 kim juniper 8 ivan grove 29
158
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025751-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
lina grove 24 bruno harbor 18 ivan ember 25 eli amber 24 bruno delta 19 gus indigo 13
123
farah fable 17 dina juniper 29 dina ember 8 ivan delta 26 eli juniper 11 chen cobalt 30 kim juniper 8 ivan grove 29
158
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025751
qwen/qwen3.7-plus
awkweave-0025752
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
10 dina harbor 29 gus harbor 15 chen indigo 19 eli cobalt 21 hana juniper 9 ivan grove 7 jules indigo 5 kim cobalt 25 lina grove
15.56
1 farah amber 13 gus harbor 21 kim grove 27 farah birch 19 farah grove 30 chen indigo 20 bruno ember
18.71
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025752-p1
Calculate the average of the values in the first column and print it rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
10 dina harbor 29 gus harbor 15 chen indigo 19 eli cobalt 21 hana juniper 9 ivan grove 7 jules indigo 5 kim cobalt 25 lina grove
15.56
1 farah amber 13 gus harbor 21 kim grove 27 farah birch 19 farah grove 30 chen indigo 20 bruno ember
18.71
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025752
qwen/qwen3.7-plus
awkweave-0025753
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 16 ivan birch 15 hana grove 10 eli fable 6 ivan juniper 4 hana cobalt 26 bruno birch 9 dina juniper 19 alice harbor 1 kim
1
indigo 26 alice grove 1 jules cobalt 15 alice cobalt 9 lina fable 23 hana amber 28 chen ember 20 chen amber 29 jules
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025753-p1
Identify and print the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 16 ivan birch 15 hana grove 10 eli fable 6 ivan juniper 4 hana cobalt 26 bruno birch 9 dina juniper 19 alice harbor 1 kim
1
indigo 26 alice grove 1 jules cobalt 15 alice cobalt 9 lina fable 23 hana amber 28 chen ember 20 chen amber 29 jules
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025753
qwen/qwen3.7-plus
awkweave-0025754
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
farah indigo 10 alice harbor 28 alice indigo 30 gus amber 17 dina indigo 29 ivan amber 28 eli juniper 15
30
ivan delta 25 farah cobalt 7 farah amber 3 chen amber 23 gus amber 6 farah juniper 22 ivan birch 11 lina grove 4 gus juniper 22 gus cobalt 6
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025754-p1
Identify and output the maximum numerical value found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
farah indigo 10 alice harbor 28 alice indigo 30 gus amber 17 dina indigo 29 ivan amber 28 eli juniper 15
30
ivan delta 25 farah cobalt 7 farah amber 3 chen amber 23 gus amber 6 farah juniper 22 ivan birch 11 lina grove 4 gus juniper 22 gus cobalt 6
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025754
qwen/qwen3.7-plus
awkweave-0025755
Count all input records and print the total.
END{print NR}
ivan 42 ivan 19 eli 114 gus 62 bruno 112 jules 44 gus 10
7
eli 4 eli 59 gus 89 bruno 8 alice 42 dina 103 ivan 46 alice 22 gus 79
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025755-p1
Calculate the total number of input records and display the count.
END{print NR}
ivan 42 ivan 19 eli 114 gus 62 bruno 112 jules 44 gus 10
7
eli 4 eli 59 gus 89 bruno 8 alice 42 dina 103 ivan 46 alice 22 gus 79
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025755
qwen/qwen3.7-plus
awkweave-0025756
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah amber 88 farah harbor 94 kim birch 29 farah amber 88 hana harbor 56 alice harbor 66 farah harbor 43
farah amber 88 farah harbor 94 kim birch 29 hana harbor 56 alice harbor 66 farah harbor 43
bruno harbor 66 kim ember 74 kim ember 74 dina harbor 70 dina cobalt 57 gus harbor 53 chen amber 104 bruno harbor 36
bruno harbor 66 kim ember 74 dina harbor 70 dina cobalt 57 gus harbor 53 chen amber 104 bruno harbor 36
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025756-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
farah amber 88 farah harbor 94 kim birch 29 farah amber 88 hana harbor 56 alice harbor 66 farah harbor 43
farah amber 88 farah harbor 94 kim birch 29 hana harbor 56 alice harbor 66 farah harbor 43
bruno harbor 66 kim ember 74 kim ember 74 dina harbor 70 dina cobalt 57 gus harbor 53 chen amber 104 bruno harbor 36
bruno harbor 66 kim ember 74 dina harbor 70 dina cobalt 57 gus harbor 53 chen amber 104 bruno harbor 36
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025756
qwen/qwen3.7-plus
awkweave-0025757
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
ivan indigo 20 hana delta 101 gus amber 68 dina birch 17 kim delta 114 kim harbor 32 ivan fable 15 kim indigo 91
ivan indigo 20 hana delta 101 gus amber 68 dina birch 17 kim harbor 32 ivan fable 15
hana birch 92 farah ember 112 bruno harbor 60 farah grove 2 chen juniper 23 chen indigo 112 lina juniper 10
hana birch 92 farah ember 112 bruno harbor 60 farah grove 2 chen juniper 23 chen indigo 112
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025757-p1
Retain only the initial line for every unique value in the second column, keeping the original order intact.
!seen[$2]++
ivan indigo 20 hana delta 101 gus amber 68 dina birch 17 kim delta 114 kim harbor 32 ivan fable 15 kim indigo 91
ivan indigo 20 hana delta 101 gus amber 68 dina birch 17 kim harbor 32 ivan fable 15
hana birch 92 farah ember 112 bruno harbor 60 farah grove 2 chen juniper 23 chen indigo 112 lina juniper 10
hana birch 92 farah ember 112 bruno harbor 60 farah grove 2 chen juniper 23 chen indigo 112
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025757
qwen/qwen3.7-plus
awkweave-0025758
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 11 harbor dina 30 juniper alice 30 amber chen 7 cobalt jules 16 harbor dina 17 birch gus 5 juniper
bruno 11 dina 41 alice 71 chen 78 jules 94 dina 111 gus 116
lina 28 indigo lina 8 juniper dina 24 cobalt dina 27 juniper gus 10 delta ivan 17 juniper kim 4 fable alice 1 fable chen 16 delta
lina 28 lina 36 dina 60 dina 87 gus 97 ivan 114 kim 118 alice 119 chen 135
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025758-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
bruno 11 harbor dina 30 juniper alice 30 amber chen 7 cobalt jules 16 harbor dina 17 birch gus 5 juniper
bruno 11 dina 41 alice 71 chen 78 jules 94 dina 111 gus 116
lina 28 indigo lina 8 juniper dina 24 cobalt dina 27 juniper gus 10 delta ivan 17 juniper kim 4 fable alice 1 fable chen 16 delta
lina 28 lina 36 dina 60 dina 87 gus 97 ivan 114 kim 118 alice 119 chen 135
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025758
qwen/qwen3.7-plus
awkweave-0025759
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 12 13 juniper gus 25 14 delta chen 17 13 indigo dina 13 11 ember ivan 14 28 harbor kim 17 3 delta
alice 25 gus 39 chen 30 dina 24 ivan 42 kim 20
dina 14 20 birch bruno 24 3 delta hana 11 7 amber bruno 27 7 fable eli 21 4 harbor dina 18 11 birch ivan 14 16 harbor hana 17 19 grove gus 8 21 fable
dina 34 bruno 27 hana 18 bruno 34 eli 25 dina 29 ivan 30 hana 36 gus 29
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025759-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
alice 12 13 juniper gus 25 14 delta chen 17 13 indigo dina 13 11 ember ivan 14 28 harbor kim 17 3 delta
alice 25 gus 39 chen 30 dina 24 ivan 42 kim 20
dina 14 20 birch bruno 24 3 delta hana 11 7 amber bruno 27 7 fable eli 21 4 harbor dina 18 11 birch ivan 14 16 harbor hana 17 19 grove gus 8 21 fable
dina 34 bruno 27 hana 18 bruno 34 eli 25 dina 29 ivan 30 hana 36 gus 29
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025759
qwen/qwen3.7-plus
awkweave-0025760
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
jules 2 bruno 22 dina 12 gus 18 bruno 10 alice 16 dina 8 lina 7 lina 28 farah 24
jules fail bruno pass dina fail gus fail bruno fail alice fail dina fail lina fail lina pass farah pass
ivan 29 lina 1 farah 12 bruno 18 kim 26 kim 15 kim 23
ivan pass lina fail farah fail bruno fail kim pass kim fail kim pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025760-p1
Output the first column along with 'pass' if the second column is 21 or greater; otherwise, output 'fail'.
{print $1,($2>=21?"pass":"fail")}
jules 2 bruno 22 dina 12 gus 18 bruno 10 alice 16 dina 8 lina 7 lina 28 farah 24
jules fail bruno pass dina fail gus fail bruno fail alice fail dina fail lina fail lina pass farah pass
ivan 29 lina 1 farah 12 bruno 18 kim 26 kim 15 kim 23
ivan pass lina fail farah fail bruno fail kim pass kim fail kim pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025760
qwen/qwen3.7-plus
awkweave-0025761
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
gus delta 18 dina cobalt 41 jules harbor 100 chen harbor 26 alice harbor 57 chen birch 57 bruno harbor 74 dina ember 39 jules grove 5 kim delta 59
DELTA COBALT HARBOR HARBOR HARBOR BIRCH HARBOR EMBER GROVE DELTA
dina amber 18 eli grove 89 dina ember 43 ivan indigo 24 farah birch 58 dina indigo 48 alice birch 54 ivan harbor 89 bruno ember 113 ivan fable 94
AMBER GROVE EMBER INDIGO BIRCH INDIGO BIRCH HARBOR EMBER FABLE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025761-p1
Transform the second column to uppercase and output only that modified column.
{print toupper($2)}
gus delta 18 dina cobalt 41 jules harbor 100 chen harbor 26 alice harbor 57 chen birch 57 bruno harbor 74 dina ember 39 jules grove 5 kim delta 59
DELTA COBALT HARBOR HARBOR HARBOR BIRCH HARBOR EMBER GROVE DELTA
dina amber 18 eli grove 89 dina ember 43 ivan indigo 24 farah birch 58 dina indigo 48 alice birch 54 ivan harbor 89 bruno ember 113 ivan fable 94
AMBER GROVE EMBER INDIGO BIRCH INDIGO BIRCH HARBOR EMBER FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025761
qwen/qwen3.7-plus
awkweave-0025762
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
grove 84 ember 63 amber 44 delta 46 amber 49 birch 66 amber 27 fable 37
grov embe ambe delt ambe birc ambe fabl
birch 12 indigo 75 amber 35 delta 101 delta 39 ember 35 juniper 99 grove 97
birc indi ambe delt delt embe juni grov
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025762-p1
Extract and print the first 4 characters from the first column.
{print substr($1,1,4)}
grove 84 ember 63 amber 44 delta 46 amber 49 birch 66 amber 27 fable 37
grov embe ambe delt ambe birc ambe fabl
birch 12 indigo 75 amber 35 delta 101 delta 39 ember 35 juniper 99 grove 97
birc indi ambe delt delt embe juni grov
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025762
qwen/qwen3.7-plus
awkweave-0025763
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_delta 68 amber_delta 108 ember_ember 29 juniper_indigo 58 cobalt_indigo 100 harbor_grove 110
indigo delta amber delta ember ember juniper indigo cobalt indigo harbor grove
harbor_harbor 54 juniper_cobalt 69 fable_delta 21 ember_cobalt 28 juniper_ember 29 grove_delta 108 delta_grove 19 indigo_birch 99
harbor harbor juniper cobalt fable delta ember cobalt juniper ember grove delta delta grove indigo birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025763-p1
Substitute all underscores in the first column with spaces and print the updated values.
{gsub(/_/," ",$1);print $1}
indigo_delta 68 amber_delta 108 ember_ember 29 juniper_indigo 58 cobalt_indigo 100 harbor_grove 110
indigo delta amber delta ember ember juniper indigo cobalt indigo harbor grove
harbor_harbor 54 juniper_cobalt 69 fable_delta 21 ember_cobalt 28 juniper_ember 29 grove_delta 108 delta_grove 19 indigo_birch 99
harbor harbor juniper cobalt fable delta ember cobalt juniper ember grove delta delta grove indigo birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025763
qwen/qwen3.7-plus
awkweave-0025764
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim amber 9 closed bruno indigo 65 pending gus birch 54 ready chen amber 4 failed jules indigo 5 pending eli amber 111 active bruno amber 97 closed ivan fable 2 pending lina birch 60 closed kim indigo 85 paused
closed 9 amber kim pending 65 indigo bruno ready 54 birch gus failed 4 amber chen pending 5 indigo jules active 111 amber eli closed 97 amber bruno pending 2 fable ivan closed 60 birch lina paused 85 indigo kim
farah fable 92 active farah fable 78 active gus birch 115 pending alice harbor 78 closed dina grove 107 failed dina delta 113 failed
active 92 fable farah active 78 fable farah pending 115 birch gus closed 78 harbor alice failed 107 grove dina failed 113 delta dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025764-p1
Invert 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)}
kim amber 9 closed bruno indigo 65 pending gus birch 54 ready chen amber 4 failed jules indigo 5 pending eli amber 111 active bruno amber 97 closed ivan fable 2 pending lina birch 60 closed kim indigo 85 paused
closed 9 amber kim pending 65 indigo bruno ready 54 birch gus failed 4 amber chen pending 5 indigo jules active 111 amber eli closed 97 amber bruno pending 2 fable ivan closed 60 birch lina paused 85 indigo kim
farah fable 92 active farah fable 78 active gus birch 115 pending alice harbor 78 closed dina grove 107 failed dina delta 113 failed
active 92 fable farah active 78 fable farah pending 115 birch gus closed 78 harbor alice failed 107 grove dina failed 113 delta dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025764
qwen/qwen3.7-plus
awkweave-0025765
Print the number of whitespace-separated fields on each line.
{print NF}
dina fable 108 pending chen juniper 101 pending eli grove 34 active hana birch 72 paused hana delta 54 closed ivan fable 23 failed alice indigo 38 closed jules amber 26 active
4 4 4 4 4 4 4 4
gus grove 41 closed dina cobalt 60 active gus grove 13 paused alice harbor 88 closed farah fable 9 ready kim amber 12 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025765-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
dina fable 108 pending chen juniper 101 pending eli grove 34 active hana birch 72 paused hana delta 54 closed ivan fable 23 failed alice indigo 38 closed jules amber 26 active
4 4 4 4 4 4 4 4
gus grove 41 closed dina cobalt 60 active gus grove 13 paused alice harbor 88 closed farah fable 9 ready kim amber 12 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025765
qwen/qwen3.7-plus
awkweave-0025766
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]]}
eli alpha 30 hana gamma 115 jules alpha 72 gus alpha 29 eli gamma 7 hana beta 55 alice gamma 16 kim delta 108 ivan alpha 38 jules gamma 33
alpha 4 gamma 4 beta 1 delta 1
alice delta 110 dina beta 28 bruno delta 26 hana alpha 111 hana gamma 98 gus alpha 41 ivan delta 68
delta 3 beta 1 alpha 2 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025766-p1
Tally the occurrences of each unique value in the second column and output the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
eli alpha 30 hana gamma 115 jules alpha 72 gus alpha 29 eli gamma 7 hana beta 55 alice gamma 16 kim delta 108 ivan alpha 38 jules gamma 33
alpha 4 gamma 4 beta 1 delta 1
alice delta 110 dina beta 28 bruno delta 26 hana alpha 111 hana gamma 98 gus alpha 41 ivan delta 68
delta 3 beta 1 alpha 2 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025766
qwen/qwen3.7-plus
awkweave-0025767
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
kim gamma 26 farah gamma 1 chen gamma 21 dina delta 6 ivan alpha 29 ivan alpha 6 chen delta 25 hana delta 28
gamma 48 delta 59 alpha 35
eli delta 29 farah gamma 18 bruno gamma 1 chen alpha 8 jules alpha 15 alice delta 14 hana beta 20 alice delta 22 dina beta 27 eli beta 11
delta 65 gamma 19 alpha 23 beta 58
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025767-p1
Calculate the sum of the third column for every distinct category found in the second column, displaying the results in the order the categories 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]]}
kim gamma 26 farah gamma 1 chen gamma 21 dina delta 6 ivan alpha 29 ivan alpha 6 chen delta 25 hana delta 28
gamma 48 delta 59 alpha 35
eli delta 29 farah gamma 18 bruno gamma 1 chen alpha 8 jules alpha 15 alice delta 14 hana beta 20 alice delta 22 dina beta 27 eli beta 11
delta 65 gamma 19 alpha 23 beta 58
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025767
qwen/qwen3.7-plus
awkweave-0025768
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]]}
delta grove 49 gamma cobalt 54 delta cobalt 15 delta birch 48 alpha grove 71 alpha cobalt 113 alpha ember 41 alpha cobalt 66 delta indigo 6
delta 4 alpha 4
delta cobalt 5 beta delta 5 delta amber 11 beta indigo 44 beta amber 3 gamma birch 80 gamma birch 56
delta 2 beta 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025768-p1
Identify values in the first column that appear more than once, then print each repeated value with its total occurrence count, ordered by their 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]]}
delta grove 49 gamma cobalt 54 delta cobalt 15 delta birch 48 alpha grove 71 alpha cobalt 113 alpha ember 41 alpha cobalt 66 delta indigo 6
delta 4 alpha 4
delta cobalt 5 beta delta 5 delta amber 11 beta indigo 44 beta amber 3 gamma birch 80 gamma birch 56
delta 2 beta 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025768
qwen/qwen3.7-plus
awkweave-0025769
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"]}
note display_name state score r001 ivan 7 pending r002 bruno 8 pending r003 eli 22 ready r004 gus 2 ready r005 eli 9 ready r006 eli 11 active r007 chen 9 paused r008 ivan 2 ready
pending pending ready ready ready active paused ready
note display_name state score r001 kim 20 paused r002 jules 26 failed r003 alice 15 ready r004 kim 21 ready r005 kim 26 failed r006 alice 28 ready r007 chen 27 paused r008 kim 11 pending r009 chen 27 paused
paused failed ready ready failed ready paused pending paused
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025769-p1
Treating the initial row as a header, extract and display 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"]}
note display_name state score r001 ivan 7 pending r002 bruno 8 pending r003 eli 22 ready r004 gus 2 ready r005 eli 9 ready r006 eli 11 active r007 chen 9 paused r008 ivan 2 ready
pending pending ready ready ready active paused ready
note display_name state score r001 kim 20 paused r002 jules 26 failed r003 alice 15 ready r004 kim 21 ready r005 kim 26 failed r006 alice 28 ready r007 chen 27 paused r008 kim 11 pending r009 chen 27 paused
paused failed ready ready failed ready paused pending paused
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025769
qwen/qwen3.7-plus
awkweave-0025770
The first row is a header. Print display_name for data rows whose score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 gus 25 failed r002 dina 16 active r003 chen 2 failed r004 dina 2 ready r005 lina 22 paused r006 eli 2 paused
gus dina lina
record_id display_name score state r001 alice 12 active r002 alice 14 closed r003 gus 12 pending r004 ivan 23 paused r005 alice 20 paused r006 ivan 12 failed r007 hana 17 paused r008 eli 13 active r009 farah 1 ready r010 chen 22 pending
alice alice gus ivan alice ivan hana eli chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025770-p1
Skip the header row, then output the display_name field for any data row where the score exceeds 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 gus 25 failed r002 dina 16 active r003 chen 2 failed r004 dina 2 ready r005 lina 22 paused r006 eli 2 paused
gus dina lina
record_id display_name score state r001 alice 12 active r002 alice 14 closed r003 gus 12 pending r004 ivan 23 paused r005 alice 20 paused r006 ivan 12 failed r007 hana 17 paused r008 eli 13 active r009 farah 1 ready r010 chen 22 pending
alice alice gus ivan alice ivan hana eli chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025770
qwen/qwen3.7-plus
awkweave-0025771
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 13 paused eli 15 pending dina 16 ready chen 30 failed eli 28 active ivan 8 pending dina 6 ready jules 14 failed
paused pending ready failed active pending ready failed
alice 25 pending hana 13 failed hana 10 pending jules 7 active kim 16 failed ivan 23 active alice 9 ready lina 26 ready bruno 27 closed kim 7 pending
pending failed pending active failed active ready ready closed pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null