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-0044052-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
bruno harbor 66 ivan indigo 14 chen juniper 76 chen juniper 10 jules harbor 18 ivan juniper 115 ivan harbor 49 dina cobalt 103 chen birch 92
HARBOR INDIGO JUNIPER JUNIPER HARBOR JUNIPER HARBOR COBALT BIRCH
hana grove 92 gus delta 3 lina fable 64 eli delta 41 eli ember 55 gus grove 52 kim harbor 27 alice fable 71
GROVE DELTA FABLE DELTA EMBER GROVE HARBOR FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044052
qwen/qwen3.7-plus
awkweave-0044053
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
ember 62 cobalt 62 cobalt 120 birch 80 harbor 30 fable 89 harbor 48 indigo 95 juniper 80 cobalt 91
mbe oba oba irc arb abl arb ndi uni oba
indigo 114 grove 4 grove 61 grove 99 fable 62 amber 59 ember 54 fable 41 fable 63 grove 77
ndi rov rov rov abl mbe mbe abl abl rov
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044053-p1
Extract and print a substring of 3 characters from column 1, starting at position 2.
{print substr($1,2,3)}
ember 62 cobalt 62 cobalt 120 birch 80 harbor 30 fable 89 harbor 48 indigo 95 juniper 80 cobalt 91
mbe oba oba irc arb abl arb ndi uni oba
indigo 114 grove 4 grove 61 grove 99 fable 62 amber 59 ember 54 fable 41 fable 63 grove 77
ndi rov rov rov abl mbe mbe abl abl rov
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044053
qwen/qwen3.7-plus
awkweave-0044054
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_delta 69 fable_indigo 99 fable_amber 47 birch_harbor 72 delta_juniper 85 indigo_fable 26 amber_juniper 109 juniper_amber 118 juniper_juniper 114
indigo delta fable indigo fable amber birch harbor delta juniper indigo fable amber juniper juniper amber juniper juniper
delta_cobalt 51 juniper_grove 15 ember_fable 44 juniper_harbor 29 birch_harbor 72 amber_harbor 38 fable_juniper 34 grove_juniper 70 fable_amber 49
delta cobalt juniper grove ember fable juniper harbor birch harbor amber harbor fable juniper grove juniper fable amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044054-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
indigo_delta 69 fable_indigo 99 fable_amber 47 birch_harbor 72 delta_juniper 85 indigo_fable 26 amber_juniper 109 juniper_amber 118 juniper_juniper 114
indigo delta fable indigo fable amber birch harbor delta juniper indigo fable amber juniper juniper amber juniper juniper
delta_cobalt 51 juniper_grove 15 ember_fable 44 juniper_harbor 29 birch_harbor 72 amber_harbor 38 fable_juniper 34 grove_juniper 70 fable_amber 49
delta cobalt juniper grove ember fable juniper harbor birch harbor amber harbor fable juniper grove juniper fable amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044054
qwen/qwen3.7-plus
awkweave-0044055
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 ember 24 active gus delta 75 pending gus indigo 48 failed lina cobalt 11 paused kim fable 42 failed lina birch 76 pending alice juniper 81 ready
active 24 ember kim pending 75 delta gus failed 48 indigo gus paused 11 cobalt lina failed 42 fable kim pending 76 birch lina ready 81 juniper alice
eli harbor 59 pending jules grove 97 closed chen cobalt 3 pending gus indigo 51 pending eli cobalt 58 paused farah birch 78 closed chen grove 101 ready dina grove 17 closed farah grove 63 closed dina birch 94 active
pending 59 harbor eli closed 97 grove jules pending 3 cobalt chen pending 51 indigo gus paused 58 cobalt eli closed 78 birch farah ready 101 grove chen closed 17 grove dina closed 63 grove farah active 94 birch dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044055-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)}
kim ember 24 active gus delta 75 pending gus indigo 48 failed lina cobalt 11 paused kim fable 42 failed lina birch 76 pending alice juniper 81 ready
active 24 ember kim pending 75 delta gus failed 48 indigo gus paused 11 cobalt lina failed 42 fable kim pending 76 birch lina ready 81 juniper alice
eli harbor 59 pending jules grove 97 closed chen cobalt 3 pending gus indigo 51 pending eli cobalt 58 paused farah birch 78 closed chen grove 101 ready dina grove 17 closed farah grove 63 closed dina birch 94 active
pending 59 harbor eli closed 97 grove jules pending 3 cobalt chen pending 51 indigo gus paused 58 cobalt eli closed 78 birch farah ready 101 grove chen closed 17 grove dina closed 63 grove farah active 94 birch dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044055
qwen/qwen3.7-plus
awkweave-0044056
Print the number of whitespace-separated fields on each line.
{print NF}
alice ember 114 pending hana amber 10 paused kim juniper 106 paused hana harbor 116 pending eli fable 103 active chen grove 80 closed ivan delta 17 failed farah grove 116 failed
4 4 4 4 4 4 4 4
alice birch 73 paused jules birch 93 failed chen harbor 15 ready eli delta 77 active bruno delta 94 closed alice fable 105 ready bruno juniper 13 paused gus harbor 3 paused farah juniper 69 closed gus grove 117 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044056-p1
Display the count of whitespace-delimited fields for each line.
{print NF}
alice ember 114 pending hana amber 10 paused kim juniper 106 paused hana harbor 116 pending eli fable 103 active chen grove 80 closed ivan delta 17 failed farah grove 116 failed
4 4 4 4 4 4 4 4
alice birch 73 paused jules birch 93 failed chen harbor 15 ready eli delta 77 active bruno delta 94 closed alice fable 105 ready bruno juniper 13 paused gus harbor 3 paused farah juniper 69 closed gus grove 117 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044056
qwen/qwen3.7-plus
awkweave-0044057
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]]}
dina alpha 78 hana beta 46 bruno beta 23 lina beta 32 bruno delta 34 ivan delta 31 ivan alpha 108 gus alpha 6 kim beta 114
alpha 3 beta 4 delta 2
gus beta 69 eli gamma 1 hana alpha 41 dina alpha 24 dina gamma 19 chen gamma 46
beta 1 gamma 3 alpha 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044057-p1
Tally the number of records for each distinct value in column 2, listing 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]]}
dina alpha 78 hana beta 46 bruno beta 23 lina beta 32 bruno delta 34 ivan delta 31 ivan alpha 108 gus alpha 6 kim beta 114
alpha 3 beta 4 delta 2
gus beta 69 eli gamma 1 hana alpha 41 dina alpha 24 dina gamma 19 chen gamma 46
beta 1 gamma 3 alpha 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044057
qwen/qwen3.7-plus
awkweave-0044058
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]]}
bruno delta 5 ivan delta 1 gus delta 6 lina delta 9 dina delta 25 ivan gamma 23
delta 46 gamma 23
gus gamma 25 gus alpha 30 eli beta 16 farah beta 28 gus alpha 20 eli gamma 13 eli beta 23
gamma 38 alpha 50 beta 67
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044058-p1
Calculate the sum of column 3 grouped by column 2 categories, presenting the groups in the order of their 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]]}
bruno delta 5 ivan delta 1 gus delta 6 lina delta 9 dina delta 25 ivan gamma 23
delta 46 gamma 23
gus gamma 25 gus alpha 30 eli beta 16 farah beta 28 gus alpha 20 eli gamma 13 eli beta 23
gamma 38 alpha 50 beta 67
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044058
qwen/qwen3.7-plus
awkweave-0044059
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 35 alpha juniper 31 alpha indigo 27 delta indigo 117 delta grove 10 gamma birch 19 beta cobalt 55
alpha 3 delta 2
alpha indigo 54 gamma cobalt 47 beta harbor 9 gamma harbor 52 alpha cobalt 91 alpha birch 82 alpha amber 77 beta cobalt 10
alpha 4 gamma 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044059-p1
List each duplicated value from column 1 along with its frequency, 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 35 alpha juniper 31 alpha indigo 27 delta indigo 117 delta grove 10 gamma birch 19 beta cobalt 55
alpha 3 delta 2
alpha indigo 54 gamma cobalt 47 beta harbor 9 gamma harbor 52 alpha cobalt 91 alpha birch 82 alpha amber 77 beta cobalt 10
alpha 4 gamma 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044059
qwen/qwen3.7-plus
awkweave-0044060
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"]}
note display_name score state r001 lina 5 failed r002 chen 27 closed r003 farah 23 closed r004 kim 30 ready r005 ivan 21 failed r006 farah 12 failed r007 lina 23 active r008 alice 17 active r009 eli 13 ready r010 hana 30 pending
failed closed closed ready failed failed active active ready pending
note display_name score state r001 farah 18 closed r002 kim 2 pending r003 farah 7 active r004 ivan 11 closed r005 jules 18 paused r006 eli 29 ready r007 eli 12 active r008 gus 6 failed r009 lina 21 failed r010 dina 10 closed
closed pending active closed paused ready active failed failed closed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044060-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"]}
note display_name score state r001 lina 5 failed r002 chen 27 closed r003 farah 23 closed r004 kim 30 ready r005 ivan 21 failed r006 farah 12 failed r007 lina 23 active r008 alice 17 active r009 eli 13 ready r010 hana 30 pending
failed closed closed ready failed failed active active ready pending
note display_name score state r001 farah 18 closed r002 kim 2 pending r003 farah 7 active r004 ivan 11 closed r005 jules 18 paused r006 eli 29 ready r007 eli 12 active r008 gus 6 failed r009 lina 21 failed r010 dina 10 closed
closed pending active closed paused ready active failed failed closed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044060
qwen/qwen3.7-plus
awkweave-0044061
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 dina 5 paused r002 lina 16 paused r003 gus 15 closed r004 alice 6 closed r005 alice 10 closed r006 chen 5 active r007 ivan 17 failed r008 bruno 26 ready
lina gus ivan bruno
record_id display_name score state r001 hana 13 ready r002 jules 21 failed r003 farah 17 pending r004 kim 11 failed r005 bruno 23 pending r006 chen 16 closed r007 eli 2 active r008 jules 10 failed r009 dina 2 failed r010 farah 24 pending
hana jules farah bruno chen farah
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044061-p1
Ignore the header line, then print the display_name field for any record where the score is strictly greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 dina 5 paused r002 lina 16 paused r003 gus 15 closed r004 alice 6 closed r005 alice 10 closed r006 chen 5 active r007 ivan 17 failed r008 bruno 26 ready
lina gus ivan bruno
record_id display_name score state r001 hana 13 ready r002 jules 21 failed r003 farah 17 pending r004 kim 11 failed r005 bruno 23 pending r006 chen 16 closed r007 eli 2 active r008 jules 10 failed r009 dina 2 failed r010 farah 24 pending
hana jules farah bruno chen farah
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044061
qwen/qwen3.7-plus
awkweave-0044062
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 16 active alice 3 closed dina 30 paused ivan 28 pending kim 17 pending chen 21 ready hana 15 failed farah 22 closed kim 28 ready
chen alice dina ivan kim chen hana farah kim
kim 28 closed hana 24 closed alice 17 closed gus 10 pending alice 7 failed jules 9 closed kim 1 active alice 23 pending jules 20 pending
kim hana alice gus alice jules kim alice jules
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044062-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 16 active alice 3 closed dina 30 paused ivan 28 pending kim 17 pending chen 21 ready hana 15 failed farah 22 closed kim 28 ready
chen alice dina ivan kim chen hana farah kim
kim 28 closed hana 24 closed alice 17 closed gus 10 pending alice 7 failed jules 9 closed kim 1 active alice 23 pending jules 20 pending
kim hana alice gus alice jules kim alice jules
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0044062
qwen/qwen3.7-plus
awkweave-0044063
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24.
BEGIN{FS=OFS=","}$2>24{print $1}
bruno,28,ready gus,27,pending ivan,29,active ivan,24,paused farah,27,failed alice,1,pending dina,2,paused gus,25,failed chen,23,paused jules,21,closed
bruno gus ivan farah gus
farah,2,ready kim,20,pending farah,15,closed lina,18,failed gus,7,pending lina,29,active dina,22,failed
lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044063-p1
Process simple CSV data without quoted commas; output the first column only if the second column value is greater than 24.
BEGIN{FS=OFS=","}$2>24{print $1}
bruno,28,ready gus,27,pending ivan,29,active ivan,24,paused farah,27,failed alice,1,pending dina,2,paused gus,25,failed chen,23,paused jules,21,closed
bruno gus ivan farah gus
farah,2,ready kim,20,pending farah,15,closed lina,18,failed gus,7,pending lina,29,active dina,22,failed
lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044063
qwen/qwen3.7-plus
awkweave-0044064
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus harbor 108 chen harbor 80 chen ember 8 lina amber 103 gus indigo 114 dina cobalt 95 jules juniper 62
gus harbor 108 chen harbor 80 chen ember 8 lina amber 103 gus indigo 114 dina cobalt 95 jules juniper 62
chen amber 52 eli juniper 31 kim cobalt 3 bruno harbor 10 chen cobalt 118 eli juniper 112 eli fable 66 dina harbor 85 bruno birch 108 alice ember 18
chen amber 52 eli juniper 31 kim cobalt 3 bruno harbor 10 chen cobalt 118 eli juniper 112 eli fable 66 dina harbor 85 bruno birch 108 alice ember 18
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044064-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
gus harbor 108 chen harbor 80 chen ember 8 lina amber 103 gus indigo 114 dina cobalt 95 jules juniper 62
gus harbor 108 chen harbor 80 chen ember 8 lina amber 103 gus indigo 114 dina cobalt 95 jules juniper 62
chen amber 52 eli juniper 31 kim cobalt 3 bruno harbor 10 chen cobalt 118 eli juniper 112 eli fable 66 dina harbor 85 bruno birch 108 alice ember 18
chen amber 52 eli juniper 31 kim cobalt 3 bruno harbor 10 chen cobalt 118 eli juniper 112 eli fable 66 dina harbor 85 bruno birch 108 alice ember 18
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044064
qwen/qwen3.7-plus
awkweave-0044065
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 30 paused ivan cobalt 4 ready ivan juniper 43 failed jules ember 46 active bruno cobalt 23 active eli indigo 77 closed hana cobalt 68 closed dina juniper 23 failed gus grove 37 paused
hana juniper 30 paused
chen amber 57 ready gus fable 112 paused eli juniper 33 active jules harbor 18 failed kim juniper 69 closed dina indigo 5 pending hana harbor 27 failed kim grove 43 pending
jules harbor 18 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044065-p1
Identify and output the longest line in the input; in case of a tie in length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 30 paused ivan cobalt 4 ready ivan juniper 43 failed jules ember 46 active bruno cobalt 23 active eli indigo 77 closed hana cobalt 68 closed dina juniper 23 failed gus grove 37 paused
hana juniper 30 paused
chen amber 57 ready gus fable 112 paused eli juniper 33 active jules harbor 18 failed kim juniper 69 closed dina indigo 5 pending hana harbor 27 failed kim grove 43 pending
jules harbor 18 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044065
qwen/qwen3.7-plus
awkweave-0044066
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
hana 62 hana 62 alice 2 ivan 119 jules 72 jules 117 alice 101 eli 111 gus 66 eli 58
hana 62 ivan 119 jules 117 eli 111 eli 58
jules 60 eli 13 hana 106 hana 34 ivan 78 dina 72 gus 71 lina 18 farah 116
eli 13 hana 34 dina 72 lina 18
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044066-p1
Output every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, ...).
NR%2==0
hana 62 hana 62 alice 2 ivan 119 jules 72 jules 117 alice 101 eli 111 gus 66 eli 58
hana 62 ivan 119 jules 117 eli 111 eli 58
jules 60 eli 13 hana 106 hana 34 ivan 78 dina 72 gus 71 lina 18 farah 116
eli 13 hana 34 dina 72 lina 18
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044066
qwen/qwen3.7-plus
awkweave-0044067
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 110 alpha cobalt 47 gamma juniper 36 delta harbor 56 delta ember 70 alpha fable 119 gamma delta 20 delta juniper 51 alpha birch 9
3
beta amber 15 gamma juniper 27 gamma grove 10 alpha juniper 88 gamma delta 36 delta harbor 116 delta juniper 17 beta harbor 120 delta amber 7
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044067-p1
Calculate the number of unique values found in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 110 alpha cobalt 47 gamma juniper 36 delta harbor 56 delta ember 70 alpha fable 119 gamma delta 20 delta juniper 51 alpha birch 9
3
beta amber 15 gamma juniper 27 gamma grove 10 alpha juniper 88 gamma delta 36 delta harbor 116 delta juniper 17 beta harbor 120 delta amber 7
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044067
qwen/qwen3.7-plus
awkweave-0044068
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 1 0 kim 12 1 dina 10 7 chen 2 10 kim 8 19 hana 4 22 gus 28 30 jules 22 6
kim 12.00 dina 1.43 chen 0.20 kim 0.42 hana 0.18 gus 0.93 jules 3.67
kim 20 0 lina 17 1 eli 20 9 dina 29 10 lina 28 29 farah 8 29 ivan 22 30 gus 25 6
lina 17.00 eli 2.22 dina 2.90 lina 0.97 farah 0.28 ivan 0.73 gus 4.17
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044068-p1
For each row, output the first column and the result of dividing the second column by the third column rounded to two decimal places, excluding rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 1 0 kim 12 1 dina 10 7 chen 2 10 kim 8 19 hana 4 22 gus 28 30 jules 22 6
kim 12.00 dina 1.43 chen 0.20 kim 0.42 hana 0.18 gus 0.93 jules 3.67
kim 20 0 lina 17 1 eli 20 9 dina 29 10 lina 28 29 farah 8 29 ivan 22 30 gus 25 6
lina 17.00 eli 2.22 dina 2.90 lina 0.97 farah 0.28 ivan 0.73 gus 4.17
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044068
qwen/qwen3.7-plus
awkweave-0044069
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen cobalt 28 dina cobalt 6 eli cobalt 24 dina amber 9 chen cobalt 22 jules juniper 12 kim harbor 22
chen cobalt 28 eli cobalt 24 chen cobalt 22
bruno amber 22 lina harbor 9 dina ember 16 ivan juniper 25 gus amber 1 hana amber 13
ivan juniper 25 bruno amber 22 dina ember 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044069-p1
Output the top three records based on 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]}
chen cobalt 28 dina cobalt 6 eli cobalt 24 dina amber 9 chen cobalt 22 jules juniper 12 kim harbor 22
chen cobalt 28 eli cobalt 24 chen cobalt 22
bruno amber 22 lina harbor 9 dina ember 16 ivan juniper 25 gus amber 1 hana amber 13
ivan juniper 25 bruno amber 22 dina ember 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044069
qwen/qwen3.7-plus
awkweave-0044070
Select the 5th and 3rd fields in that order.
{print $5, $3}
delta failed juniper juniper 84 grove active cobalt grove 112 delta paused amber delta 107 juniper active fable delta 55 ember failed harbor cobalt 113 birch paused grove juniper 63 fable failed birch juniper 117 amber pending ember grove 95 ember failed delta birch 60
84 juniper 112 cobalt 107 amber 55 fable 113 harbor 63 grove 117 birch 95 ember 60 delta
indigo failed ember juniper 102 harbor paused amber cobalt 47 birch pending birch cobalt 78 birch pending ember indigo 84 birch closed birch birch 52 juniper active ember delta 46 harbor active amber amber 67 delta failed fable delta 17 fable pending amber harbor 13 cobalt closed indigo birch 7
102 ember 47 amber 78 birch 84 ember 52 birch 46 ember 67 amber 17 fable 13 amber 7 indigo
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044070-p1
Extract and print the 5th field followed by the 3rd field for each record.
{print $5, $3}
delta failed juniper juniper 84 grove active cobalt grove 112 delta paused amber delta 107 juniper active fable delta 55 ember failed harbor cobalt 113 birch paused grove juniper 63 fable failed birch juniper 117 amber pending ember grove 95 ember failed delta birch 60
84 juniper 112 cobalt 107 amber 55 fable 113 harbor 63 grove 117 birch 95 ember 60 delta
indigo failed ember juniper 102 harbor paused amber cobalt 47 birch pending birch cobalt 78 birch pending ember indigo 84 birch closed birch birch 52 juniper active ember delta 46 harbor active amber amber 67 delta failed fable delta 17 fable pending amber harbor 13 cobalt closed indigo birch 7
102 ember 47 amber 78 birch 84 ember 52 birch 46 ember 67 amber 17 fable 13 amber 7 indigo
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044070
qwen/qwen3.7-plus
awkweave-0044071
Print the last field of every input line.
{print $NF}
106 indigo delta chen 26 harbor indigo chen 75 harbor amber lina 26 delta harbor kim 3 harbor ember chen 0 delta indigo jules 83 delta indigo alice
chen chen lina kim chen jules alice
40 harbor ember chen 0 harbor juniper hana 95 indigo harbor ivan 111 harbor grove chen 20 birch harbor bruno 69 ember juniper ivan 56 harbor harbor jules 22 juniper delta jules 65 harbor juniper lina 73 harbor birch dina
chen hana ivan chen bruno ivan jules jules lina dina
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044071-p1
Print the final field from every line of the input.
{print $NF}
106 indigo delta chen 26 harbor indigo chen 75 harbor amber lina 26 delta harbor kim 3 harbor ember chen 0 delta indigo jules 83 delta indigo alice
chen chen lina kim chen jules alice
40 harbor ember chen 0 harbor juniper hana 95 indigo harbor ivan 111 harbor grove chen 20 birch harbor bruno 69 ember juniper ivan 56 harbor harbor jules 22 juniper delta jules 65 harbor juniper lina 73 harbor birch dina
chen hana ivan chen bruno ivan jules jules lina dina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044071
qwen/qwen3.7-plus
awkweave-0044072
Print the complete records where column 1 is at least 41.
$1 >= 41
38 ember ready 3 grove active 99 delta paused 11 birch closed 49 birch active 97 ember pending 43 juniper ready 13 cobalt paused 107 delta paused
99 delta paused 49 birch active 97 ember pending 43 juniper ready 107 delta paused
50 indigo closed 16 amber ready 65 juniper active 118 birch active 33 juniper pending 76 delta active
50 indigo closed 65 juniper active 118 birch active 76 delta active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044072-p1
Display full records where the value in the first column is greater than or equal to 41.
$1 >= 41
38 ember ready 3 grove active 99 delta paused 11 birch closed 49 birch active 97 ember pending 43 juniper ready 13 cobalt paused 107 delta paused
99 delta paused 49 birch active 97 ember pending 43 juniper ready 107 delta paused
50 indigo closed 16 amber ready 65 juniper active 118 birch active 33 juniper pending 76 delta active
50 indigo closed 65 juniper active 118 birch active 76 delta active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044072
qwen/qwen3.7-plus
awkweave-0044073
Show whole lines whose 3rd field is between 5 and 22, inclusive.
$3 >= 5 && $3 <= 22
failed chen 10 cobalt closed farah 28 harbor closed bruno 4 ember failed hana 29 juniper closed hana 19 delta ready gus 7 cobalt active farah 9 birch closed lina 4 delta ready farah 16 grove paused kim 2 fable
failed chen 10 cobalt closed hana 19 delta ready gus 7 cobalt active farah 9 birch ready farah 16 grove
closed jules 2 indigo active lina 12 amber paused alice 9 cobalt ready lina 21 cobalt active dina 23 harbor paused chen 12 juniper paused lina 10 cobalt closed dina 24 amber
active lina 12 amber paused alice 9 cobalt ready lina 21 cobalt paused chen 12 juniper paused lina 10 cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044073-p1
Output entire lines where the third field falls within the range of 5 to 22, inclusive.
$3 >= 5 && $3 <= 22
failed chen 10 cobalt closed farah 28 harbor closed bruno 4 ember failed hana 29 juniper closed hana 19 delta ready gus 7 cobalt active farah 9 birch closed lina 4 delta ready farah 16 grove paused kim 2 fable
failed chen 10 cobalt closed hana 19 delta ready gus 7 cobalt active farah 9 birch ready farah 16 grove
closed jules 2 indigo active lina 12 amber paused alice 9 cobalt ready lina 21 cobalt active dina 23 harbor paused chen 12 juniper paused lina 10 cobalt closed dina 24 amber
active lina 12 amber paused alice 9 cobalt ready lina 21 cobalt paused chen 12 juniper paused lina 10 cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044073
qwen/qwen3.7-plus
awkweave-0044074
Print column 1 only for rows where column 2 is exactly failed.
$2 == "failed"{print $1}
lina pending 49 ember jules paused 58 fable alice pending 20 amber bruno pending 30 birch eli paused 49 delta eli pending 116 birch kim active 67 fable farah active 101 fable gus active 18 grove hana failed 96 grove
hana
bruno paused 75 grove farah active 38 fable kim failed 18 juniper chen pending 104 birch dina paused 22 ember farah pending 65 fable dina closed 4 indigo
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044074-p1
Extract and print only the first column for rows where the second column equals failed.
$2 == "failed"{print $1}
lina pending 49 ember jules paused 58 fable alice pending 20 amber bruno pending 30 birch eli paused 49 delta eli pending 116 birch kim active 67 fable farah active 101 fable gus active 18 grove hana failed 96 grove
hana
bruno paused 75 grove farah active 38 fable kim failed 18 juniper chen pending 104 birch dina paused 22 ember farah pending 65 fable dina closed 4 indigo
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044074
qwen/qwen3.7-plus
awkweave-0044075
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
grove 54 DEBUG cobalt 21 WARN ember 87 INFO juniper 63 ERROR amber 77 INFO amber 29 DEBUG juniper 39 ERROR
cobalt 21 WARN
indigo 92 ERROR birch 56 ERROR indigo 99 INFO indigo 41 DEBUG fable 98 WARN ember 94 INFO delta 43 DEBUG ember 39 WARN
fable 98 WARN ember 39 WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044075-p1
Print all fields from any line where the third field starts with the string WARN.
$3 ~ /^WARN/
grove 54 DEBUG cobalt 21 WARN ember 87 INFO juniper 63 ERROR amber 77 INFO amber 29 DEBUG juniper 39 ERROR
cobalt 21 WARN
indigo 92 ERROR birch 56 ERROR indigo 99 INFO indigo 41 DEBUG fable 98 WARN ember 94 INFO delta 43 DEBUG ember 39 WARN
fable 98 WARN ember 39 WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044075
qwen/qwen3.7-plus
awkweave-0044076
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
harbor 65 active amber 100 active juniper 61 active ember 48 ready harbor 103 closed fable 100 active grove 40 active birch 24 closed fable 50 pending juniper 999 active
harbor 65 active amber 100 active ember 48 ready harbor 103 closed fable 100 active grove 40 active birch 24 closed fable 50 pending
grove 116 pending ember 6 failed delta 98 paused grove 13 active cobalt 12 pending indigo 0 failed birch 93 failed juniper 96 paused harbor 9 failed juniper 999 active
grove 116 pending ember 6 failed delta 98 paused grove 13 active cobalt 12 pending indigo 0 failed birch 93 failed harbor 9 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044076-p1
Output every line that does not contain the exact substring juniper.
$0 !~ /juniper/
harbor 65 active amber 100 active juniper 61 active ember 48 ready harbor 103 closed fable 100 active grove 40 active birch 24 closed fable 50 pending juniper 999 active
harbor 65 active amber 100 active ember 48 ready harbor 103 closed fable 100 active grove 40 active birch 24 closed fable 50 pending
grove 116 pending ember 6 failed delta 98 paused grove 13 active cobalt 12 pending indigo 0 failed birch 93 failed juniper 96 paused harbor 9 failed juniper 999 active
grove 116 pending ember 6 failed delta 98 paused grove 13 active cobalt 12 pending indigo 0 failed birch 93 failed harbor 9 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044076
qwen/qwen3.7-plus
awkweave-0044077
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
dina delta 90 eli harbor 38 farah harbor 74 dina amber 58 eli cobalt 86 dina fable 66 gus birch 106
dina amber 58 eli cobalt 86
farah amber 13 alice grove 4 jules cobalt 59 bruno juniper 41 alice birch 58 alice delta 95 bruno fable 86 alice harbor 118
bruno juniper 41 alice birch 58
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044077-p1
Display lines 4 through 5, inclusive of both line numbers.
NR >= 4 && NR <= 5
dina delta 90 eli harbor 38 farah harbor 74 dina amber 58 eli cobalt 86 dina fable 66 gus birch 106
dina amber 58 eli cobalt 86
farah amber 13 alice grove 4 jules cobalt 59 bruno juniper 41 alice birch 58 alice delta 95 bruno fable 86 alice harbor 118
bruno juniper 41 alice birch 58
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044077
qwen/qwen3.7-plus
awkweave-0044078
Output only the first 2 records.
NR <= 2
chen 116 indigo chen 71 indigo farah 49 indigo dina 35 harbor lina 72 harbor eli 85 delta alice 4 birch bruno 10 amber jules 78 indigo lina 82 ember
chen 116 indigo chen 71 indigo
kim 37 cobalt eli 96 indigo dina 92 juniper ivan 25 fable dina 117 ember dina 74 grove lina 96 birch
kim 37 cobalt eli 96 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044078-p1
Print only the first 2 records from the input.
NR <= 2
chen 116 indigo chen 71 indigo farah 49 indigo dina 35 harbor lina 72 harbor eli 85 delta alice 4 birch bruno 10 amber jules 78 indigo lina 82 ember
chen 116 indigo chen 71 indigo
kim 37 cobalt eli 96 indigo dina 92 juniper ivan 25 fable dina 117 ember dina 74 grove lina 96 birch
kim 37 cobalt eli 96 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044078
qwen/qwen3.7-plus
awkweave-0044079
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 44 amber eli 41 fable dina 61 birch gus 114 amber alice 117 harbor gus 47 grove farah 112 harbor lina 61 grove chen 86 harbor
eli 41 fable dina 61 birch gus 114 amber alice 117 harbor gus 47 grove farah 112 harbor lina 61 grove chen 86 harbor
alice 94 ember eli 19 birch lina 19 amber bruno 112 fable alice 87 amber alice 0 cobalt
eli 19 birch lina 19 amber bruno 112 fable alice 87 amber alice 0 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044079-p1
Ignore the first line and output all subsequent lines exactly as they appear.
NR > 1
bruno 44 amber eli 41 fable dina 61 birch gus 114 amber alice 117 harbor gus 47 grove farah 112 harbor lina 61 grove chen 86 harbor
eli 41 fable dina 61 birch gus 114 amber alice 117 harbor gus 47 grove farah 112 harbor lina 61 grove chen 86 harbor
alice 94 ember eli 19 birch lina 19 amber bruno 112 fable alice 87 amber alice 0 cobalt
eli 19 birch lina 19 amber bruno 112 fable alice 87 amber alice 0 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044079
qwen/qwen3.7-plus
awkweave-0044080
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
chen failed 6 dina failed 116 ivan closed 91 chen ready 26 farah pending 98 gus ready 49
0
lina active 117 jules ready 117 bruno active 17 ivan ready 35 bruno active 34 alice pending 46 kim active 15
4
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044080-p1
Count the number of records where the second column is active; output 0 if no such records exist.
$2 == "active"{n++}END{print n+0}
chen failed 6 dina failed 116 ivan closed 91 chen ready 26 farah pending 98 gus ready 49
0
lina active 117 jules ready 117 bruno active 17 ivan ready 35 bruno active 34 alice pending 46 kim active 15
4
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044080
qwen/qwen3.7-plus
awkweave-0044081
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
farah 1 amber ivan 24 birch kim 30 delta kim 29 juniper farah 29 juniper alice 17 cobalt lina 28 cobalt
158
chen 7 harbor chen 8 birch alice 12 ember bruno 19 amber lina 16 juniper bruno 10 cobalt gus 25 fable farah 5 indigo
102
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044081-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
farah 1 amber ivan 24 birch kim 30 delta kim 29 juniper farah 29 juniper alice 17 cobalt lina 28 cobalt
158
chen 7 harbor chen 8 birch alice 12 ember bruno 19 amber lina 16 juniper bruno 10 cobalt gus 25 fable farah 5 indigo
102
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044081
qwen/qwen3.7-plus
awkweave-0044082
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
chen 28 harbor bruno 15 ember ivan 16 harbor lina 25 birch dina 18 ember gus 14 delta eli 10 fable alice 6 delta
16.50
ivan 29 cobalt dina 27 amber bruno 4 harbor dina 17 indigo kim 13 fable dina 27 indigo gus 20 indigo
19.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044082-p1
Calculate the average of values in the second column and print it rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
chen 28 harbor bruno 15 ember ivan 16 harbor lina 25 birch dina 18 ember gus 14 delta eli 10 fable alice 6 delta
16.50
ivan 29 cobalt dina 27 amber bruno 4 harbor dina 17 indigo kim 13 fable dina 27 indigo gus 20 indigo
19.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044082
qwen/qwen3.7-plus
awkweave-0044083
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 indigo jules 25 juniper lina 21 delta lina 29 delta chen 16 grove alice 26 birch ivan 25 ember jules 5 ember chen
5
29 harbor eli 29 cobalt jules 7 delta ivan 12 fable hana 8 fable lina 24 harbor gus 16 cobalt gus 5 ember ivan 5 cobalt farah 17 delta farah
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044083-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 indigo jules 25 juniper lina 21 delta lina 29 delta chen 16 grove alice 26 birch ivan 25 ember jules 5 ember chen
5
29 harbor eli 29 cobalt jules 7 delta ivan 12 fable hana 8 fable lina 24 harbor gus 16 cobalt gus 5 ember ivan 5 cobalt farah 17 delta farah
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044083
qwen/qwen3.7-plus
awkweave-0044084
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
juniper bruno 17 grove kim 30 birch gus 21 grove chen 1 fable eli 12 cobalt hana 18 grove ivan 24 ember chen 15 birch bruno 14 harbor lina 27
30
fable chen 11 fable gus 13 fable dina 7 delta farah 9 amber farah 19 fable hana 12
19
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044084-p1
Identify and output the maximum number found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
juniper bruno 17 grove kim 30 birch gus 21 grove chen 1 fable eli 12 cobalt hana 18 grove ivan 24 ember chen 15 birch bruno 14 harbor lina 27
30
fable chen 11 fable gus 13 fable dina 7 delta farah 9 amber farah 19 fable hana 12
19
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044084
qwen/qwen3.7-plus
awkweave-0044085
Count all input records and print the total.
END{print NR}
gus 52 jules 13 hana 110 chen 79 chen 47 chen 38 lina 108 lina 9 ivan 102
9
ivan 52 lina 74 lina 111 bruno 79 jules 70 chen 94 farah 111
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044085-p1
Calculate the total number of input records and display the count.
END{print NR}
gus 52 jules 13 hana 110 chen 79 chen 47 chen 38 lina 108 lina 9 ivan 102
9
ivan 52 lina 74 lina 111 bruno 79 jules 70 chen 94 farah 111
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044085
qwen/qwen3.7-plus
awkweave-0044086
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana grove 39 jules harbor 102 gus ember 17 farah grove 27 farah grove 27 ivan harbor 7 alice birch 33 eli delta 46 farah harbor 101 dina cobalt 41 dina birch 111
hana grove 39 jules harbor 102 gus ember 17 farah grove 27 ivan harbor 7 alice birch 33 eli delta 46 farah harbor 101 dina cobalt 41 dina birch 111
gus delta 25 kim fable 11 farah cobalt 87 lina ember 47 lina indigo 118 gus delta 18 gus delta 18 ivan delta 42 lina juniper 40 chen fable 116
gus delta 25 kim fable 11 farah cobalt 87 lina ember 47 lina indigo 118 gus delta 18 ivan delta 42 lina juniper 40 chen fable 116
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044086-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
hana grove 39 jules harbor 102 gus ember 17 farah grove 27 farah grove 27 ivan harbor 7 alice birch 33 eli delta 46 farah harbor 101 dina cobalt 41 dina birch 111
hana grove 39 jules harbor 102 gus ember 17 farah grove 27 ivan harbor 7 alice birch 33 eli delta 46 farah harbor 101 dina cobalt 41 dina birch 111
gus delta 25 kim fable 11 farah cobalt 87 lina ember 47 lina indigo 118 gus delta 18 gus delta 18 ivan delta 42 lina juniper 40 chen fable 116
gus delta 25 kim fable 11 farah cobalt 87 lina ember 47 lina indigo 118 gus delta 18 ivan delta 42 lina juniper 40 chen fable 116
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044086
qwen/qwen3.7-plus
awkweave-0044087
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
hana cobalt 61 bruno harbor 7 ivan grove 10 farah harbor 18 gus amber 63 bruno grove 31 farah birch 54 alice delta 61
hana cobalt 61 bruno harbor 7 ivan grove 10 farah harbor 18 gus amber 63 alice delta 61
jules delta 47 ivan indigo 94 dina ember 5 ivan grove 0 ivan ember 10 chen amber 52 farah ember 96
jules delta 47 ivan indigo 94 dina ember 5 chen amber 52 farah ember 96
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044087-p1
Retain only the initial line for every unique value in the first column, ensuring the original order is preserved.
!seen[$1]++
hana cobalt 61 bruno harbor 7 ivan grove 10 farah harbor 18 gus amber 63 bruno grove 31 farah birch 54 alice delta 61
hana cobalt 61 bruno harbor 7 ivan grove 10 farah harbor 18 gus amber 63 alice delta 61
jules delta 47 ivan indigo 94 dina ember 5 ivan grove 0 ivan ember 10 chen amber 52 farah ember 96
jules delta 47 ivan indigo 94 dina ember 5 chen amber 52 farah ember 96
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044087
qwen/qwen3.7-plus
awkweave-0044088
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 18 juniper chen 5 harbor farah 29 cobalt alice 14 harbor bruno 8 harbor lina 6 harbor kim 14 fable gus 29 delta jules 4 delta
dina 18 chen 23 farah 52 alice 66 bruno 74 lina 80 kim 94 gus 123 jules 127
jules 6 harbor chen 3 amber alice 1 cobalt kim 18 juniper kim 15 birch farah 10 birch hana 27 indigo farah 9 grove alice 4 amber farah 2 grove
jules 6 chen 9 alice 10 kim 28 kim 43 farah 53 hana 80 farah 89 alice 93 farah 95
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044088-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
dina 18 juniper chen 5 harbor farah 29 cobalt alice 14 harbor bruno 8 harbor lina 6 harbor kim 14 fable gus 29 delta jules 4 delta
dina 18 chen 23 farah 52 alice 66 bruno 74 lina 80 kim 94 gus 123 jules 127
jules 6 harbor chen 3 amber alice 1 cobalt kim 18 juniper kim 15 birch farah 10 birch hana 27 indigo farah 9 grove alice 4 amber farah 2 grove
jules 6 chen 9 alice 10 kim 28 kim 43 farah 53 hana 80 farah 89 alice 93 farah 95
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044088
qwen/qwen3.7-plus
awkweave-0044089
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 17 19 cobalt ivan 26 12 indigo kim 26 25 cobalt jules 12 2 birch kim 9 20 fable dina 15 17 indigo chen 20 30 birch lina 22 27 juniper alice 26 12 harbor eli 14 5 indigo
kim 36 ivan 38 kim 51 jules 14 kim 29 dina 32 chen 50 lina 49 alice 38 eli 19
hana 23 29 birch jules 21 15 ember gus 30 24 grove hana 9 26 fable hana 12 20 grove gus 9 30 delta kim 4 20 cobalt bruno 24 29 delta chen 20 3 birch kim 4 26 grove
hana 52 jules 36 gus 54 hana 35 hana 32 gus 39 kim 24 bruno 53 chen 23 kim 30
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044089-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 17 19 cobalt ivan 26 12 indigo kim 26 25 cobalt jules 12 2 birch kim 9 20 fable dina 15 17 indigo chen 20 30 birch lina 22 27 juniper alice 26 12 harbor eli 14 5 indigo
kim 36 ivan 38 kim 51 jules 14 kim 29 dina 32 chen 50 lina 49 alice 38 eli 19
hana 23 29 birch jules 21 15 ember gus 30 24 grove hana 9 26 fable hana 12 20 grove gus 9 30 delta kim 4 20 cobalt bruno 24 29 delta chen 20 3 birch kim 4 26 grove
hana 52 jules 36 gus 54 hana 35 hana 32 gus 39 kim 24 bruno 53 chen 23 kim 30
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044089
qwen/qwen3.7-plus
awkweave-0044100
The first row is a header. Print display_name for data rows whose score is greater than 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 kim 1 pending r002 kim 20 closed r003 farah 29 ready r004 farah 24 closed r005 hana 12 active r006 dina 29 active r007 bruno 2 active r008 kim 28 active r009 eli 26 ready
kim farah farah dina kim eli
record_id display_name score state r001 kim 20 paused r002 ivan 22 failed r003 gus 29 failed r004 lina 26 paused r005 chen 17 failed r006 dina 14 pending
kim ivan gus lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044100-p1
Skip the header row and print the display_name for any data rows where the score is strictly greater than 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 kim 1 pending r002 kim 20 closed r003 farah 29 ready r004 farah 24 closed r005 hana 12 active r006 dina 29 active r007 bruno 2 active r008 kim 28 active r009 eli 26 ready
kim farah farah dina kim eli
record_id display_name score state r001 kim 20 paused r002 ivan 22 failed r003 gus 29 failed r004 lina 26 paused r005 chen 17 failed r006 dina 14 pending
kim ivan gus lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044100
qwen/qwen3.7-plus
awkweave-0044101
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 17 failed chen 6 pending chen 26 closed eli 10 ready lina 7 active bruno 7 closed
failed pending closed ready active closed
gus 12 closed jules 17 active jules 24 closed lina 26 pending ivan 18 active kim 9 failed farah 15 active
closed active closed pending active failed active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044101-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 17 failed chen 6 pending chen 26 closed eli 10 ready lina 7 active bruno 7 closed
failed pending closed ready active closed
gus 12 closed jules 17 active jules 24 closed lina 26 pending ivan 18 active kim 9 failed farah 15 active
closed active closed pending active failed active
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044101
qwen/qwen3.7-plus
awkweave-0044102
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
ivan,11,paused bruno,27,closed lina,22,ready bruno,3,closed dina,11,closed jules,17,failed gus,10,closed kim,14,closed bruno,26,paused
bruno lina jules kim bruno
farah,23,active farah,5,closed ivan,12,pending lina,29,paused bruno,26,active chen,15,failed
farah lina bruno chen
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044102-p1
Process simple comma-separated values without quoted commas; print the first column if the second column is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
ivan,11,paused bruno,27,closed lina,22,ready bruno,3,closed dina,11,closed jules,17,failed gus,10,closed kim,14,closed bruno,26,paused
bruno lina jules kim bruno
farah,23,active farah,5,closed ivan,12,pending lina,29,paused bruno,26,active chen,15,failed
farah lina bruno chen
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044102
qwen/qwen3.7-plus
awkweave-0044103
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
hana indigo 78 farah birch 27 dina birch 70 dina birch 33 jules delta 96 jules fable 102 farah ember 42 lina ember 68
hana indigo 78 farah birch 27 dina birch 70 dina birch 33 jules delta 96 jules fable 102 farah ember 42 lina ember 68
dina cobalt 89 lina birch 20 gus juniper 49 ivan ember 26 eli grove 19 chen birch 120
dina cobalt 89 lina birch 20 gus juniper 49 ivan ember 26 eli grove 19 chen birch 120
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044103-p1
Strip leading and trailing whitespace and replace sequences of internal whitespace with a single space.
{$1=$1;print}
hana indigo 78 farah birch 27 dina birch 70 dina birch 33 jules delta 96 jules fable 102 farah ember 42 lina ember 68
hana indigo 78 farah birch 27 dina birch 70 dina birch 33 jules delta 96 jules fable 102 farah ember 42 lina ember 68
dina cobalt 89 lina birch 20 gus juniper 49 ivan ember 26 eli grove 19 chen birch 120
dina cobalt 89 lina birch 20 gus juniper 49 ivan ember 26 eli grove 19 chen birch 120
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044103
qwen/qwen3.7-plus
awkweave-0044104
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim cobalt 92 closed ivan ember 9 ready ivan fable 36 paused alice grove 17 closed hana amber 49 ready farah indigo 61 pending chen birch 41 paused ivan ember 34 pending ivan birch 15 pending
farah indigo 61 pending
ivan juniper 45 pending jules juniper 107 ready kim delta 110 paused hana grove 112 pending hana amber 6 active eli indigo 9 pending eli birch 11 failed
ivan juniper 45 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044104-p1
Locate and print the longest line from the input, selecting the earliest one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
kim cobalt 92 closed ivan ember 9 ready ivan fable 36 paused alice grove 17 closed hana amber 49 ready farah indigo 61 pending chen birch 41 paused ivan ember 34 pending ivan birch 15 pending
farah indigo 61 pending
ivan juniper 45 pending jules juniper 107 ready kim delta 110 paused hana grove 112 pending hana amber 6 active eli indigo 9 pending eli birch 11 failed
ivan juniper 45 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044104
qwen/qwen3.7-plus
awkweave-0044105
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
lina 12 kim 55 hana 93 chen 63 lina 109 farah 0
lina 12 chen 63
eli 15 eli 98 dina 6 hana 69 lina 100 hana 58 ivan 75 ivan 103
eli 15 hana 69 ivan 75
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044105-p1
Output every third line beginning with the first line (i.e., lines 1, 4, 7, etc.).
NR%3==1
lina 12 kim 55 hana 93 chen 63 lina 109 farah 0
lina 12 chen 63
eli 15 eli 98 dina 6 hana 69 lina 100 hana 58 ivan 75 ivan 103
eli 15 hana 69 ivan 75
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044105
qwen/qwen3.7-plus
awkweave-0044106
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha birch 16 delta indigo 84 delta indigo 60 delta amber 77 gamma harbor 99 gamma grove 111
3
alpha harbor 13 alpha harbor 3 alpha indigo 10 delta grove 72 alpha grove 45 beta juniper 85
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044106-p1
Output just the number of unique entries found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
alpha birch 16 delta indigo 84 delta indigo 60 delta amber 77 gamma harbor 99 gamma grove 111
3
alpha harbor 13 alpha harbor 3 alpha indigo 10 delta grove 72 alpha grove 45 beta juniper 85
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044106
qwen/qwen3.7-plus
awkweave-0044107
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 10 0 ivan 28 30 alice 4 15 farah 1 3 farah 3 2 bruno 11 8 chen 8 20
ivan 0.93 alice 0.27 farah 0.33 farah 1.50 bruno 1.38 chen 0.40
jules 20 0 chen 17 29 jules 7 30 chen 19 25 kim 8 8 ivan 19 1
chen 0.59 jules 0.23 chen 0.76 kim 1.00 ivan 19.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044107-p1
For every row where the third column is not zero, display the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 10 0 ivan 28 30 alice 4 15 farah 1 3 farah 3 2 bruno 11 8 chen 8 20
ivan 0.93 alice 0.27 farah 0.33 farah 1.50 bruno 1.38 chen 0.40
jules 20 0 chen 17 29 jules 7 30 chen 19 25 kim 8 8 ivan 19 1
chen 0.59 jules 0.23 chen 0.76 kim 1.00 ivan 19.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044107
qwen/qwen3.7-plus
awkweave-0044108
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen fable 21 kim amber 21 ivan ember 28 ivan fable 21 dina delta 16 gus juniper 19
ivan ember 28 chen fable 21 kim amber 21
gus birch 1 alice cobalt 3 dina harbor 1 gus birch 14 farah fable 1 kim harbor 8 alice grove 2 hana cobalt 21
hana cobalt 21 gus birch 14 kim harbor 8
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044108-p1
Display the top three full records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen fable 21 kim amber 21 ivan ember 28 ivan fable 21 dina delta 16 gus juniper 19
ivan ember 28 chen fable 21 kim amber 21
gus birch 1 alice cobalt 3 dina harbor 1 gus birch 14 farah fable 1 kim harbor 8 alice grove 2 hana cobalt 21
hana cobalt 21 gus birch 14 kim harbor 8
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044108
qwen/qwen3.7-plus
awkweave-0044109
Print column 2 followed by column 1 for every record.
{print $2, $1}
paused kim 66 harbor paused lina 81 fable paused eli 26 juniper closed jules 10 juniper closed bruno 15 ember paused dina 65 ember active dina 8 harbor failed gus 118 cobalt closed ivan 54 cobalt ready gus 11 harbor
kim paused lina paused eli paused jules closed bruno closed dina paused dina active gus failed ivan closed gus ready
active chen 42 delta closed ivan 95 amber pending eli 77 birch paused jules 48 cobalt ready jules 44 ember closed ivan 9 fable failed ivan 116 ember paused chen 0 cobalt
chen active ivan closed eli pending jules paused jules ready ivan closed ivan failed chen paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044109-p1
Output the second column followed by the first column for each record.
{print $2, $1}
paused kim 66 harbor paused lina 81 fable paused eli 26 juniper closed jules 10 juniper closed bruno 15 ember paused dina 65 ember active dina 8 harbor failed gus 118 cobalt closed ivan 54 cobalt ready gus 11 harbor
kim paused lina paused eli paused jules closed bruno closed dina paused dina active gus failed ivan closed gus ready
active chen 42 delta closed ivan 95 amber pending eli 77 birch paused jules 48 cobalt ready jules 44 ember closed ivan 9 fable failed ivan 116 ember paused chen 0 cobalt
chen active ivan closed eli pending jules paused jules ready ivan closed ivan failed chen paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044109
qwen/qwen3.7-plus
awkweave-0044110
Print the last field of every input line.
{print $NF}
delta bruno 4 eli indigo birch bruno 81 eli grove birch gus 84 ivan juniper harbor chen 40 dina delta amber farah 46 eli delta fable kim 24 chen indigo birch hana 74 jules indigo
indigo grove juniper delta delta indigo indigo
ember gus 109 chen delta delta kim 71 hana harbor birch dina 116 eli ember birch bruno 97 jules indigo indigo bruno 34 gus indigo amber bruno 72 kim fable
delta harbor ember indigo indigo fable
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044110-p1
Print the final field from every line of input.
{print $NF}
delta bruno 4 eli indigo birch bruno 81 eli grove birch gus 84 ivan juniper harbor chen 40 dina delta amber farah 46 eli delta fable kim 24 chen indigo birch hana 74 jules indigo
indigo grove juniper delta delta indigo indigo
ember gus 109 chen delta delta kim 71 hana harbor birch dina 116 eli ember birch bruno 97 jules indigo indigo bruno 34 gus indigo amber bruno 72 kim fable
delta harbor ember indigo indigo fable
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044110
qwen/qwen3.7-plus
awkweave-0044111
Print the complete records where column 2 is at most 32.
$2 <= 32
hana 19 paused gus eli farah 25 paused ivan alice jules 71 closed eli eli dina 85 failed lina bruno gus 111 ready gus hana ivan 101 active ivan bruno jules 53 pending bruno gus
hana 19 paused gus eli farah 25 paused ivan alice
dina 77 active eli bruno hana 74 active chen bruno farah 55 closed hana dina lina 17 pending chen farah hana 46 active eli farah alice 72 active chen chen ivan 115 ready eli kim jules 14 failed chen eli
lina 17 pending chen farah jules 14 failed chen eli
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044111-p1
Display full records where the value in column 2 is less than or equal to 32.
$2 <= 32
hana 19 paused gus eli farah 25 paused ivan alice jules 71 closed eli eli dina 85 failed lina bruno gus 111 ready gus hana ivan 101 active ivan bruno jules 53 pending bruno gus
hana 19 paused gus eli farah 25 paused ivan alice
dina 77 active eli bruno hana 74 active chen bruno farah 55 closed hana dina lina 17 pending chen farah hana 46 active eli farah alice 72 active chen chen ivan 115 ready eli kim jules 14 failed chen eli
lina 17 pending chen farah jules 14 failed chen eli
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044111
qwen/qwen3.7-plus
awkweave-0044112
Show whole lines whose 3rd field is between 8 and 25, inclusive.
$3 >= 8 && $3 <= 25
ivan harbor 17 chen ivan indigo 13 eli eli fable 9 hana eli fable 9 farah hana juniper 24 kim eli fable 11 dina ivan amber 8 gus jules juniper 15 eli
ivan harbor 17 chen ivan indigo 13 eli eli fable 9 hana eli fable 9 farah hana juniper 24 kim eli fable 11 dina ivan amber 8 gus jules juniper 15 eli
bruno harbor 8 hana gus birch 10 ivan kim harbor 28 farah chen amber 4 gus dina birch 10 alice dina indigo 4 hana alice birch 5 dina gus grove 4 lina gus grove 30 ivan ivan delta 19 lina
bruno harbor 8 hana gus birch 10 ivan dina birch 10 alice ivan delta 19 lina
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null