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-0054503
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
lina 27 alice 20 bruno 5 chen 2 farah 28 alice 1
lina pass alice fail bruno fail chen fail farah pass alice fail
alice 16 ivan 22 eli 18 farah 30 hana 1 kim 26 ivan 16 jules 15 lina 24
alice fail ivan pass eli fail farah pass hana fail kim pass ivan fail jules fail lina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054503-p1
Output the first column and 'pass' if the second column is at least 22; otherwise, output 'fail'.
{print $1,($2>=22?"pass":"fail")}
lina 27 alice 20 bruno 5 chen 2 farah 28 alice 1
lina pass alice fail bruno fail chen fail farah pass alice fail
alice 16 ivan 22 eli 18 farah 30 hana 1 kim 26 ivan 16 jules 15 lina 24
alice fail ivan pass eli fail farah pass hana fail kim pass ivan fail jules fail lina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054503
qwen/qwen3.7-plus
awkweave-0054504
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
alice delta 26 gus delta 16 chen delta 83 chen ember 111 lina ember 104 dina cobalt 40 jules birch 39 farah harbor 78 alice grove 69
ALICE GUS CHEN CHEN LINA DINA JULES FARAH ALICE
bruno juniper 84 lina juniper 6 kim indigo 71 farah juniper 106 hana amber 7 hana harbor 112 dina birch 116 dina fable 14 eli indigo 55
BRUNO LINA KIM FARAH HANA HANA DINA DINA ELI
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054504-p1
Transform the first column to uppercase and print only that column.
{print toupper($1)}
alice delta 26 gus delta 16 chen delta 83 chen ember 111 lina ember 104 dina cobalt 40 jules birch 39 farah harbor 78 alice grove 69
ALICE GUS CHEN CHEN LINA DINA JULES FARAH ALICE
bruno juniper 84 lina juniper 6 kim indigo 71 farah juniper 106 hana amber 7 hana harbor 112 dina birch 116 dina fable 14 eli indigo 55
BRUNO LINA KIM FARAH HANA HANA DINA DINA ELI
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054504
qwen/qwen3.7-plus
awkweave-0054505
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
harbor 19 amber 111 amber 32 juniper 100 birch 83 ember 17 fable 73
arbo mber mber unip irch mber able
indigo 83 cobalt 42 juniper 60 fable 95 delta 81 fable 43 harbor 35 grove 89 indigo 11
ndig obal unip able elta able arbo rove ndig
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054505-p1
Extract and print 4 characters from the first column, starting at the second character.
{print substr($1,2,4)}
harbor 19 amber 111 amber 32 juniper 100 birch 83 ember 17 fable 73
arbo mber mber unip irch mber able
indigo 83 cobalt 42 juniper 60 fable 95 delta 81 fable 43 harbor 35 grove 89 indigo 11
ndig obal unip able elta able arbo rove ndig
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054505
qwen/qwen3.7-plus
awkweave-0054506
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 82 harbor_juniper 86 ember_grove 48 fable_birch 75 cobalt_delta 49 indigo_harbor 40 grove_ember 106 grove_amber 72 birch_delta 74
delta cobalt harbor juniper ember grove fable birch cobalt delta indigo harbor grove ember grove amber birch delta
amber_fable 42 fable_harbor 102 ember_cobalt 76 delta_indigo 86 harbor_birch 69 indigo_harbor 13
amber fable fable harbor ember cobalt delta indigo harbor birch indigo harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054506-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 82 harbor_juniper 86 ember_grove 48 fable_birch 75 cobalt_delta 49 indigo_harbor 40 grove_ember 106 grove_amber 72 birch_delta 74
delta cobalt harbor juniper ember grove fable birch cobalt delta indigo harbor grove ember grove amber birch delta
amber_fable 42 fable_harbor 102 ember_cobalt 76 delta_indigo 86 harbor_birch 69 indigo_harbor 13
amber fable fable harbor ember cobalt delta indigo harbor birch indigo harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054506
qwen/qwen3.7-plus
awkweave-0054507
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)}
eli fable 45 paused lina harbor 101 failed alice fable 4 paused dina ember 25 paused gus ember 33 failed jules delta 48 failed kim harbor 43 paused eli birch 67 active
paused 45 fable eli failed 101 harbor lina paused 4 fable alice paused 25 ember dina failed 33 ember gus failed 48 delta jules paused 43 harbor kim active 67 birch eli
jules juniper 64 closed ivan fable 104 ready hana harbor 66 paused bruno grove 90 active eli fable 103 active eli ember 88 pending jules fable 16 failed gus delta 20 active
closed 64 juniper jules ready 104 fable ivan paused 66 harbor hana active 90 grove bruno active 103 fable eli pending 88 ember eli failed 16 fable jules active 20 delta gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054507-p1
Reverse the sequence of fields for each line and display all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
eli fable 45 paused lina harbor 101 failed alice fable 4 paused dina ember 25 paused gus ember 33 failed jules delta 48 failed kim harbor 43 paused eli birch 67 active
paused 45 fable eli failed 101 harbor lina paused 4 fable alice paused 25 ember dina failed 33 ember gus failed 48 delta jules paused 43 harbor kim active 67 birch eli
jules juniper 64 closed ivan fable 104 ready hana harbor 66 paused bruno grove 90 active eli fable 103 active eli ember 88 pending jules fable 16 failed gus delta 20 active
closed 64 juniper jules ready 104 fable ivan paused 66 harbor hana active 90 grove bruno active 103 fable eli pending 88 ember eli failed 16 fable jules active 20 delta gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054507
qwen/qwen3.7-plus
awkweave-0054508
Print the number of whitespace-separated fields on each line.
{print NF}
eli amber 26 failed ivan delta 75 closed lina juniper 15 closed alice fable 34 ready chen delta 33 failed farah amber 94 failed kim fable 61 pending lina delta 33 active
4 4 4 4 4 4 4 4
alice amber 60 ready lina harbor 17 ready chen indigo 67 failed farah grove 41 failed chen ember 29 pending hana birch 48 pending alice indigo 61 failed dina amber 107 active
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054508-p1
Output the count of whitespace-delimited fields present on every line.
{print NF}
eli amber 26 failed ivan delta 75 closed lina juniper 15 closed alice fable 34 ready chen delta 33 failed farah amber 94 failed kim fable 61 pending lina delta 33 active
4 4 4 4 4 4 4 4
alice amber 60 ready lina harbor 17 ready chen indigo 67 failed farah grove 41 failed chen ember 29 pending hana birch 48 pending alice indigo 61 failed dina amber 107 active
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054508
qwen/qwen3.7-plus
awkweave-0054509
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 115 jules alpha 33 alice gamma 55 eli beta 110 eli beta 88 jules delta 72 ivan delta 64
delta 3 alpha 1 gamma 1 beta 2
kim gamma 65 jules gamma 118 bruno delta 40 farah beta 107 chen beta 33 dina alpha 82 alice gamma 39 bruno delta 6 farah gamma 32 gus gamma 57
gamma 5 delta 2 beta 2 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054509-p1
Tally the records for each unique value in column 2, then print each value alongside 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]]}
chen delta 115 jules alpha 33 alice gamma 55 eli beta 110 eli beta 88 jules delta 72 ivan delta 64
delta 3 alpha 1 gamma 1 beta 2
kim gamma 65 jules gamma 118 bruno delta 40 farah beta 107 chen beta 33 dina alpha 82 alice gamma 39 bruno delta 6 farah gamma 32 gus gamma 57
gamma 5 delta 2 beta 2 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054509
qwen/qwen3.7-plus
awkweave-0054510
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]]}
farah delta 29 bruno alpha 10 jules gamma 8 alice beta 16 chen gamma 8 eli alpha 17 lina gamma 17 bruno gamma 13 chen delta 30
delta 59 alpha 27 gamma 46 beta 16
kim beta 22 farah delta 8 chen gamma 3 alice alpha 30 alice alpha 7 hana beta 29 chen gamma 10
beta 51 delta 8 gamma 13 alpha 37
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054510-p1
Calculate the sum of column 3 grouped by the categories in column 2, displaying 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]]}
farah delta 29 bruno alpha 10 jules gamma 8 alice beta 16 chen gamma 8 eli alpha 17 lina gamma 17 bruno gamma 13 chen delta 30
delta 59 alpha 27 gamma 46 beta 16
kim beta 22 farah delta 8 chen gamma 3 alice alpha 30 alice alpha 7 hana beta 29 chen gamma 10
beta 51 delta 8 gamma 13 alpha 37
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054510
qwen/qwen3.7-plus
awkweave-0054511
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]]}
gamma ember 18 alpha amber 95 delta juniper 45 gamma fable 72 gamma delta 62 delta amber 101 gamma birch 86 beta delta 75 gamma amber 66
gamma 5 delta 2
delta delta 62 alpha juniper 119 gamma indigo 64 delta cobalt 20 alpha birch 42 gamma amber 53 beta fable 79 gamma grove 24
delta 2 alpha 2 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054511-p1
List each duplicate value from column 1 along with its frequency, sorted by the order of first occurrence.
{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]]}
gamma ember 18 alpha amber 95 delta juniper 45 gamma fable 72 gamma delta 62 delta amber 101 gamma birch 86 beta delta 75 gamma amber 66
gamma 5 delta 2
delta delta 62 alpha juniper 119 gamma indigo 64 delta cobalt 20 alpha birch 42 gamma amber 53 beta fable 79 gamma grove 24
delta 2 alpha 2 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054511
qwen/qwen3.7-plus
awkweave-0054512
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
record_id state region score r001 eli 5 ready r002 hana 5 pending r003 farah 5 failed r004 kim 14 active r005 gus 24 failed r006 eli 24 active r007 dina 21 paused r008 alice 20 closed r009 jules 2 paused
5 5 5 14 24 24 21 20 2
record_id state region score r001 hana 1 paused r002 gus 27 closed r003 bruno 2 paused r004 gus 5 pending r005 ivan 18 ready r006 alice 28 failed r007 jules 3 ready
1 27 2 5 18 28 3
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054512-p1
Treating the first row as a header, output the region column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
record_id state region score r001 eli 5 ready r002 hana 5 pending r003 farah 5 failed r004 kim 14 active r005 gus 24 failed r006 eli 24 active r007 dina 21 paused r008 alice 20 closed r009 jules 2 paused
5 5 5 14 24 24 21 20 2
record_id state region score r001 hana 1 paused r002 gus 27 closed r003 bruno 2 paused r004 gus 5 pending r005 ivan 18 ready r006 alice 28 failed r007 jules 3 ready
1 27 2 5 18 28 3
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054512
qwen/qwen3.7-plus
awkweave-0054513
The first row is a header. Print display_name for data rows whose score is greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 farah 25 active r002 bruno 5 failed r003 farah 21 active r004 kim 4 closed r005 bruno 10 closed r006 eli 5 ready
farah farah
record_id display_name score state r001 hana 12 ready r002 kim 16 pending r003 eli 19 paused r004 dina 11 pending r005 ivan 25 ready r006 jules 2 pending r007 hana 5 active r008 dina 26 ready
hana kim eli ivan dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054513-p1
With the first row as a header, print the display_name for data rows where the score is strictly greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 farah 25 active r002 bruno 5 failed r003 farah 21 active r004 kim 4 closed r005 bruno 10 closed r006 eli 5 ready
farah farah
record_id display_name score state r001 hana 12 ready r002 kim 16 pending r003 eli 19 paused r004 dina 11 pending r005 ivan 25 ready r006 jules 2 pending r007 hana 5 active r008 dina 26 ready
hana kim eli ivan dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054513
qwen/qwen3.7-plus
awkweave-0054514
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 20 pending ivan 29 active chen 16 paused dina 21 failed bruno 15 ready farah 24 pending jules 20 closed bruno 13 paused bruno 12 active
chen ivan chen dina bruno farah jules bruno bruno
farah 13 failed kim 24 paused hana 18 paused chen 12 closed ivan 14 failed eli 10 pending gus 28 pending
farah kim hana chen ivan eli gus
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054514-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 20 pending ivan 29 active chen 16 paused dina 21 failed bruno 15 ready farah 24 pending jules 20 closed bruno 13 paused bruno 12 active
chen ivan chen dina bruno farah jules bruno bruno
farah 13 failed kim 24 paused hana 18 paused chen 12 closed ivan 14 failed eli 10 pending gus 28 pending
farah kim hana chen ivan eli gus
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054514
qwen/qwen3.7-plus
awkweave-0054515
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}
alice,2,pending hana,19,active chen,29,paused kim,11,paused bruno,29,closed kim,29,failed ivan,17,pending
chen bruno kim
alice,20,closed hana,21,failed alice,16,paused eli,13,ready chen,29,paused kim,2,failed ivan,2,pending lina,29,failed
chen lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054515-p1
For simple comma-separated input without quoted commas, print the first column whenever the second column value is greater than 24.
BEGIN{FS=OFS=","}$2>24{print $1}
alice,2,pending hana,19,active chen,29,paused kim,11,paused bruno,29,closed kim,29,failed ivan,17,pending
chen bruno kim
alice,20,closed hana,21,failed alice,16,paused eli,13,ready chen,29,paused kim,2,failed ivan,2,pending lina,29,failed
chen lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054515
qwen/qwen3.7-plus
awkweave-0054516
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan amber 110 bruno fable 100 kim indigo 84 dina fable 104 farah fable 96 dina fable 68 chen cobalt 31 hana delta 112
ivan amber 110 bruno fable 100 kim indigo 84 dina fable 104 farah fable 96 dina fable 68 chen cobalt 31 hana delta 112
eli ember 63 gus birch 84 jules delta 84 chen indigo 109 dina indigo 116 jules delta 10 ivan fable 88 lina grove 118
eli ember 63 gus birch 84 jules delta 84 chen indigo 109 dina indigo 116 jules delta 10 ivan fable 88 lina grove 118
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054516-p1
Remove leading and trailing whitespace, and replace any internal sequences of whitespace with a single space.
{$1=$1;print}
ivan amber 110 bruno fable 100 kim indigo 84 dina fable 104 farah fable 96 dina fable 68 chen cobalt 31 hana delta 112
ivan amber 110 bruno fable 100 kim indigo 84 dina fable 104 farah fable 96 dina fable 68 chen cobalt 31 hana delta 112
eli ember 63 gus birch 84 jules delta 84 chen indigo 109 dina indigo 116 jules delta 10 ivan fable 88 lina grove 118
eli ember 63 gus birch 84 jules delta 84 chen indigo 109 dina indigo 116 jules delta 10 ivan fable 88 lina grove 118
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054516
qwen/qwen3.7-plus
awkweave-0054517
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah harbor 41 closed bruno birch 47 failed eli grove 37 failed dina harbor 60 failed lina birch 71 active hana harbor 63 pending dina delta 101 closed
farah harbor 41 closed
hana amber 106 paused farah amber 114 active eli indigo 29 pending alice delta 1 failed kim cobalt 118 active jules grove 0 active lina cobalt 107 active ivan indigo 54 ready
farah amber 114 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054517-p1
Identify and print the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah harbor 41 closed bruno birch 47 failed eli grove 37 failed dina harbor 60 failed lina birch 71 active hana harbor 63 pending dina delta 101 closed
farah harbor 41 closed
hana amber 106 paused farah amber 114 active eli indigo 29 pending alice delta 1 failed kim cobalt 118 active jules grove 0 active lina cobalt 107 active ivan indigo 54 ready
farah amber 114 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054517
qwen/qwen3.7-plus
awkweave-0054518
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
ivan 68 bruno 84 jules 26 farah 67 chen 12 bruno 74 eli 67 ivan 91 kim 48 kim 92
ivan 68 farah 67 eli 67 kim 92
farah 18 kim 89 farah 61 lina 81 hana 39 gus 24
farah 18 lina 81
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054518-p1
Output every third line beginning with the first line (i.e., lines 1, 4, etc.).
NR%3==1
ivan 68 bruno 84 jules 26 farah 67 chen 12 bruno 74 eli 67 ivan 91 kim 48 kim 92
ivan 68 farah 67 eli 67 kim 92
farah 18 kim 89 farah 61 lina 81 hana 39 gus 24
farah 18 lina 81
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054518
qwen/qwen3.7-plus
awkweave-0054519
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma indigo 60 alpha fable 37 gamma fable 120 gamma indigo 16 beta fable 93 alpha ember 14 gamma harbor 103 beta birch 72 alpha grove 54 delta birch 66
6
delta delta 41 gamma fable 12 alpha delta 19 alpha fable 68 alpha birch 26 beta harbor 16 delta juniper 114
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054519-p1
Calculate and display only the number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma indigo 60 alpha fable 37 gamma fable 120 gamma indigo 16 beta fable 93 alpha ember 14 gamma harbor 103 beta birch 72 alpha grove 54 delta birch 66
6
delta delta 41 gamma fable 12 alpha delta 19 alpha fable 68 alpha birch 26 beta harbor 16 delta juniper 114
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054519
qwen/qwen3.7-plus
awkweave-0054520
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}
ivan 30 0 chen 28 5 gus 8 21 farah 10 15 gus 6 15 ivan 27 17 farah 17 6 bruno 17 6
chen 5.60 gus 0.38 farah 0.67 gus 0.40 ivan 1.59 farah 2.83 bruno 2.83
chen 20 0 jules 29 9 jules 23 17 dina 30 27 kim 27 14 jules 2 17
jules 3.22 jules 1.35 dina 1.11 kim 1.93 jules 0.12
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054520-p1
For each row where the third column is not zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 30 0 chen 28 5 gus 8 21 farah 10 15 gus 6 15 ivan 27 17 farah 17 6 bruno 17 6
chen 5.60 gus 0.38 farah 0.67 gus 0.40 ivan 1.59 farah 2.83 bruno 2.83
chen 20 0 jules 29 9 jules 23 17 dina 30 27 kim 27 14 jules 2 17
jules 3.22 jules 1.35 dina 1.11 kim 1.93 jules 0.12
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054520
qwen/qwen3.7-plus
awkweave-0054521
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
alice juniper 20 kim cobalt 8 alice amber 17 gus fable 18 gus birch 25 ivan birch 23 farah fable 23
gus birch 25 ivan birch 23 farah fable 23
dina harbor 4 jules birch 3 alice harbor 12 bruno indigo 13 dina harbor 20 bruno cobalt 15 ivan birch 20 alice juniper 8 jules delta 11
dina harbor 20 ivan birch 20 bruno cobalt 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054521-p1
Display 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]}
alice juniper 20 kim cobalt 8 alice amber 17 gus fable 18 gus birch 25 ivan birch 23 farah fable 23
gus birch 25 ivan birch 23 farah fable 23
dina harbor 4 jules birch 3 alice harbor 12 bruno indigo 13 dina harbor 20 bruno cobalt 15 ivan birch 20 alice juniper 8 jules delta 11
dina harbor 20 ivan birch 20 bruno cobalt 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054521
qwen/qwen3.7-plus
awkweave-0054522
For each line, output fields 4 and 2, in that order.
{print $4, $2}
dina eli birch delta lina hana birch grove dina jules cobalt birch kim ivan birch birch ivan dina cobalt birch chen jules birch cobalt alice gus delta cobalt
delta eli grove hana birch jules birch ivan birch dina cobalt jules cobalt gus
farah alice cobalt delta hana ivan delta grove ivan bruno juniper grove chen kim birch amber gus dina juniper juniper ivan gus birch delta chen dina cobalt delta jules bruno ember cobalt bruno bruno delta delta
delta alice grove ivan grove bruno amber kim juniper dina delta gus delta dina cobalt bruno delta bruno
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054522-p1
Output the fourth field followed by the second field for each line.
{print $4, $2}
dina eli birch delta lina hana birch grove dina jules cobalt birch kim ivan birch birch ivan dina cobalt birch chen jules birch cobalt alice gus delta cobalt
delta eli grove hana birch jules birch ivan birch dina cobalt jules cobalt gus
farah alice cobalt delta hana ivan delta grove ivan bruno juniper grove chen kim birch amber gus dina juniper juniper ivan gus birch delta chen dina cobalt delta jules bruno ember cobalt bruno bruno delta delta
delta alice grove ivan grove bruno amber kim juniper dina delta gus delta dina cobalt bruno delta bruno
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054522
qwen/qwen3.7-plus
awkweave-0054523
Print the last field of every input line.
{print $NF}
delta amber fable pending active grove ember amber paused pending cobalt juniper indigo pending closed indigo juniper grove failed paused juniper juniper cobalt failed ready harbor birch harbor failed active amber indigo juniper paused closed cobalt cobalt fable paused pending indigo delta birch paused pending grove fa...
active pending closed paused ready active closed pending pending pending
ember harbor grove active closed delta harbor grove paused active indigo amber birch pending ready amber juniper cobalt failed ready fable juniper juniper pending active harbor grove fable failed closed
closed active ready ready active closed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054523-p1
Print the final field from every line of input.
{print $NF}
delta amber fable pending active grove ember amber paused pending cobalt juniper indigo pending closed indigo juniper grove failed paused juniper juniper cobalt failed ready harbor birch harbor failed active amber indigo juniper paused closed cobalt cobalt fable paused pending indigo delta birch paused pending grove fa...
active pending closed paused ready active closed pending pending pending
ember harbor grove active closed delta harbor grove paused active indigo amber birch pending ready amber juniper cobalt failed ready fable juniper juniper pending active harbor grove fable failed closed
closed active ready ready active closed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054523
qwen/qwen3.7-plus
awkweave-0054524
Print the complete records where column 2 is at least 48.
$2 >= 48
ivan 76 paused ivan ivan 19 closed ivan jules 116 closed bruno farah 79 active hana farah 115 failed dina bruno 99 failed hana
ivan 76 paused ivan jules 116 closed bruno farah 79 active hana farah 115 failed dina bruno 99 failed hana
hana 60 closed kim gus 30 paused ivan bruno 54 failed lina gus 91 active hana ivan 62 ready eli lina 96 pending chen ivan 2 pending bruno alice 35 paused bruno alice 99 closed dina
hana 60 closed kim bruno 54 failed lina gus 91 active hana ivan 62 ready eli lina 96 pending chen alice 99 closed dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054524-p1
Output full records where the value in the second column is greater than or equal to 48.
$2 >= 48
ivan 76 paused ivan ivan 19 closed ivan jules 116 closed bruno farah 79 active hana farah 115 failed dina bruno 99 failed hana
ivan 76 paused ivan jules 116 closed bruno farah 79 active hana farah 115 failed dina bruno 99 failed hana
hana 60 closed kim gus 30 paused ivan bruno 54 failed lina gus 91 active hana ivan 62 ready eli lina 96 pending chen ivan 2 pending bruno alice 35 paused bruno alice 99 closed dina
hana 60 closed kim bruno 54 failed lina gus 91 active hana ivan 62 ready eli lina 96 pending chen alice 99 closed dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054524
qwen/qwen3.7-plus
awkweave-0054525
Show whole lines whose 3rd field is between 9 and 18, inclusive.
$3 >= 9 && $3 <= 18
bruno failed 29 delta eli active 23 ember ivan failed 26 indigo bruno failed 20 ember hana pending 8 indigo bruno paused 30 fable hana closed 23 delta gus failed 12 juniper ivan closed 12 indigo kim ready 29 amber
gus failed 12 juniper ivan closed 12 indigo
ivan failed 25 juniper dina ready 18 cobalt lina ready 14 fable dina pending 7 indigo lina paused 10 ember hana ready 14 grove
dina ready 18 cobalt lina ready 14 fable lina paused 10 ember hana ready 14 grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054525-p1
Display entire lines where the third field falls within the inclusive range of 9 to 18.
$3 >= 9 && $3 <= 18
bruno failed 29 delta eli active 23 ember ivan failed 26 indigo bruno failed 20 ember hana pending 8 indigo bruno paused 30 fable hana closed 23 delta gus failed 12 juniper ivan closed 12 indigo kim ready 29 amber
gus failed 12 juniper ivan closed 12 indigo
ivan failed 25 juniper dina ready 18 cobalt lina ready 14 fable dina pending 7 indigo lina paused 10 ember hana ready 14 grove
dina ready 18 cobalt lina ready 14 fable lina paused 10 ember hana ready 14 grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054525
qwen/qwen3.7-plus
awkweave-0054526
Print column 1 only for rows where column 2 is exactly pending.
$2 == "pending"{print $1}
hana pending delta 29 dina closed cobalt 84 gus active birch 79 bruno closed delta 112 gus paused fable 99 lina pending harbor 67 kim failed birch 13 jules failed delta 61 farah pending amber 78 eli pending delta 28
hana lina farah eli
farah active delta 37 hana ready delta 90 gus failed juniper 62 kim failed grove 30 alice pending juniper 69 lina ready delta 13 eli paused birch 27 bruno paused juniper 101 lina active fable 36
alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054526-p1
Print only the first column for rows where the second column is exactly 'pending'.
$2 == "pending"{print $1}
hana pending delta 29 dina closed cobalt 84 gus active birch 79 bruno closed delta 112 gus paused fable 99 lina pending harbor 67 kim failed birch 13 jules failed delta 61 farah pending amber 78 eli pending delta 28
hana lina farah eli
farah active delta 37 hana ready delta 90 gus failed juniper 62 kim failed grove 30 alice pending juniper 69 lina ready delta 13 eli paused birch 27 bruno paused juniper 101 lina active fable 36
alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054526
qwen/qwen3.7-plus
awkweave-0054527
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO indigo 24 INFO ember 100 DEBUG cobalt 71 ERROR harbor 23 INFO delta 58 ERROR amber 114 INFO amber 6
INFO indigo 24 INFO ember 100 INFO delta 58 INFO amber 6
ERROR delta 29 DEBUG fable 84 INFO ember 40 ERROR harbor 10 DEBUG amber 39 ERROR juniper 58 WARN juniper 13 ERROR cobalt 40
INFO ember 40
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054527-p1
Output all fields from lines where the first field starts with 'INFO'.
$1 ~ /^INFO/
INFO indigo 24 INFO ember 100 DEBUG cobalt 71 ERROR harbor 23 INFO delta 58 ERROR amber 114 INFO amber 6
INFO indigo 24 INFO ember 100 INFO delta 58 INFO amber 6
ERROR delta 29 DEBUG fable 84 INFO ember 40 ERROR harbor 10 DEBUG amber 39 ERROR juniper 58 WARN juniper 13 ERROR cobalt 40
INFO ember 40
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054527
qwen/qwen3.7-plus
awkweave-0054528
Print every line except those containing the exact text ember.
$0 !~ /ember/
juniper 36 closed indigo 35 failed ember 43 closed fable 48 active harbor 22 paused delta 95 ready delta 40 closed ember 999 active
juniper 36 closed indigo 35 failed fable 48 active harbor 22 paused delta 95 ready delta 40 closed
fable 90 pending ember 70 failed grove 76 closed cobalt 115 pending birch 96 pending juniper 48 active cobalt 35 closed ember 999 active
fable 90 pending grove 76 closed cobalt 115 pending birch 96 pending juniper 48 active cobalt 35 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054528-p1
Print all lines that do not contain the exact string 'ember'.
$0 !~ /ember/
juniper 36 closed indigo 35 failed ember 43 closed fable 48 active harbor 22 paused delta 95 ready delta 40 closed ember 999 active
juniper 36 closed indigo 35 failed fable 48 active harbor 22 paused delta 95 ready delta 40 closed
fable 90 pending ember 70 failed grove 76 closed cobalt 115 pending birch 96 pending juniper 48 active cobalt 35 closed ember 999 active
fable 90 pending grove 76 closed cobalt 115 pending birch 96 pending juniper 48 active cobalt 35 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054528
qwen/qwen3.7-plus
awkweave-0054529
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
kim amber 21 bruno juniper 2 chen cobalt 83 gus fable 19 jules harbor 55 hana cobalt 49 alice amber 65 eli grove 98 dina amber 67
chen cobalt 83 gus fable 19 jules harbor 55
gus juniper 21 chen amber 30 jules ember 91 alice grove 74 alice grove 95 alice cobalt 65 farah harbor 2
jules ember 91 alice grove 74 alice grove 95
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054529-p1
Output lines 3 through 5, inclusive.
NR >= 3 && NR <= 5
kim amber 21 bruno juniper 2 chen cobalt 83 gus fable 19 jules harbor 55 hana cobalt 49 alice amber 65 eli grove 98 dina amber 67
chen cobalt 83 gus fable 19 jules harbor 55
gus juniper 21 chen amber 30 jules ember 91 alice grove 74 alice grove 95 alice cobalt 65 farah harbor 2
jules ember 91 alice grove 74 alice grove 95
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054529
qwen/qwen3.7-plus
awkweave-0054530
Output only the first 5 records.
NR <= 5
gus 85 juniper alice 47 indigo farah 94 ember chen 65 indigo ivan 83 fable ivan 77 fable alice 85 ember ivan 101 ember
gus 85 juniper alice 47 indigo farah 94 ember chen 65 indigo ivan 83 fable
bruno 90 fable farah 40 delta lina 77 grove eli 66 birch dina 118 ember jules 57 delta chen 66 fable eli 34 fable gus 40 harbor alice 36 ember
bruno 90 fable farah 40 delta lina 77 grove eli 66 birch dina 118 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054530-p1
Display only the initial 5 entries.
NR <= 5
gus 85 juniper alice 47 indigo farah 94 ember chen 65 indigo ivan 83 fable ivan 77 fable alice 85 ember ivan 101 ember
gus 85 juniper alice 47 indigo farah 94 ember chen 65 indigo ivan 83 fable
bruno 90 fable farah 40 delta lina 77 grove eli 66 birch dina 118 ember jules 57 delta chen 66 fable eli 34 fable gus 40 harbor alice 36 ember
bruno 90 fable farah 40 delta lina 77 grove eli 66 birch dina 118 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054530
qwen/qwen3.7-plus
awkweave-0054531
Skip the first line and print every remaining line unchanged.
NR > 1
gus 8 birch eli 36 amber eli 92 juniper ivan 106 harbor ivan 61 grove jules 21 birch jules 75 harbor
eli 36 amber eli 92 juniper ivan 106 harbor ivan 61 grove jules 21 birch jules 75 harbor
hana 99 cobalt dina 114 fable alice 63 grove chen 95 ember hana 111 birch chen 110 amber farah 87 grove dina 12 ember lina 61 indigo dina 76 cobalt
dina 114 fable alice 63 grove chen 95 ember hana 111 birch chen 110 amber farah 87 grove dina 12 ember lina 61 indigo dina 76 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054531-p1
Omit the header line and output all subsequent lines exactly as they appear.
NR > 1
gus 8 birch eli 36 amber eli 92 juniper ivan 106 harbor ivan 61 grove jules 21 birch jules 75 harbor
eli 36 amber eli 92 juniper ivan 106 harbor ivan 61 grove jules 21 birch jules 75 harbor
hana 99 cobalt dina 114 fable alice 63 grove chen 95 ember hana 111 birch chen 110 amber farah 87 grove dina 12 ember lina 61 indigo dina 76 cobalt
dina 114 fable alice 63 grove chen 95 ember hana 111 birch chen 110 amber farah 87 grove dina 12 ember lina 61 indigo dina 76 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054531
qwen/qwen3.7-plus
awkweave-0054532
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
kim active 16 farah active 67 hana pending 37 gus ready 61 dina closed 44 dina active 38 dina failed 120 kim failed 34 kim pending 10
2
ivan pending 63 gus pending 27 jules pending 97 hana ready 29 bruno pending 40 ivan pending 76
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054532-p1
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
kim active 16 farah active 67 hana pending 37 gus ready 61 dina closed 44 dina active 38 dina failed 120 kim failed 34 kim pending 10
2
ivan pending 63 gus pending 27 jules pending 97 hana ready 29 bruno pending 40 ivan pending 76
0
count_matches
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0054532
qwen/qwen3.7-plus
awkweave-0054533
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
4 juniper chen 23 delta chen 21 harbor kim 22 birch bruno 21 harbor chen 27 amber dina 20 birch eli 15 delta kim 27 birch lina 29 amber jules
209
26 indigo chen 19 delta farah 18 birch lina 25 grove alice 12 fable alice 13 birch bruno 14 cobalt hana 20 grove dina 5 harbor kim 4 grove farah
156
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054533-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
4 juniper chen 23 delta chen 21 harbor kim 22 birch bruno 21 harbor chen 27 amber dina 20 birch eli 15 delta kim 27 birch lina 29 amber jules
209
26 indigo chen 19 delta farah 18 birch lina 25 grove alice 12 fable alice 13 birch bruno 14 cobalt hana 20 grove dina 5 harbor kim 4 grove farah
156
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054533
qwen/qwen3.7-plus
awkweave-0054534
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah harbor 24 hana delta 10 hana cobalt 15 eli birch 17 hana delta 2 farah juniper 14 chen cobalt 12 bruno harbor 19 lina ember 11
13.78
kim amber 26 bruno ember 14 eli grove 5 hana grove 27 kim fable 15 kim delta 13 jules cobalt 29
18.43
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054534-p1
Output the average value of the third column, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah harbor 24 hana delta 10 hana cobalt 15 eli birch 17 hana delta 2 farah juniper 14 chen cobalt 12 bruno harbor 19 lina ember 11
13.78
kim amber 26 bruno ember 14 eli grove 5 hana grove 27 kim fable 15 kim delta 13 jules cobalt 29
18.43
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054534
qwen/qwen3.7-plus
awkweave-0054535
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 chen ember 24 lina grove 18 lina delta 3 kim grove 13 kim juniper 28 kim grove 24 farah cobalt
1
26 ivan ember 11 lina harbor 15 eli fable 3 eli amber 8 gus delta 7 dina grove 21 eli birch 19 ivan cobalt
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054535-p1
Identify and display the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 chen ember 24 lina grove 18 lina delta 3 kim grove 13 kim juniper 28 kim grove 24 farah cobalt
1
26 ivan ember 11 lina harbor 15 eli fable 3 eli amber 8 gus delta 7 dina grove 21 eli birch 19 ivan cobalt
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054535
qwen/qwen3.7-plus
awkweave-0054536
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim birch 30 chen grove 5 jules harbor 3 bruno ember 1 jules fable 29 alice grove 4
30
bruno fable 16 alice harbor 2 lina grove 28 gus fable 2 farah delta 8 eli cobalt 22
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054536-p1
Identify and display the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim birch 30 chen grove 5 jules harbor 3 bruno ember 1 jules fable 29 alice grove 4
30
bruno fable 16 alice harbor 2 lina grove 28 gus fable 2 farah delta 8 eli cobalt 22
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054536
qwen/qwen3.7-plus
awkweave-0054537
Count all input records and print the total.
END{print NR}
farah 31 lina 99 farah 11 kim 98 lina 120 hana 80 bruno 106 hana 115
8
ivan 96 hana 116 hana 57 jules 83 hana 100 eli 31 dina 63 gus 22 dina 1 lina 119
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054537-p1
Count the total number of input records and print the result.
END{print NR}
farah 31 lina 99 farah 11 kim 98 lina 120 hana 80 bruno 106 hana 115
8
ivan 96 hana 116 hana 57 jules 83 hana 100 eli 31 dina 63 gus 22 dina 1 lina 119
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054537
qwen/qwen3.7-plus
awkweave-0054538
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen indigo 93 bruno cobalt 15 ivan fable 49 chen juniper 14 chen juniper 14 chen ember 30 jules indigo 18 lina ember 120 kim harbor 90 dina ember 71
chen indigo 93 bruno cobalt 15 ivan fable 49 chen juniper 14 chen ember 30 jules indigo 18 lina ember 120 kim harbor 90 dina ember 71
alice grove 84 eli delta 63 alice delta 70 alice grove 84 dina birch 18 dina grove 112 bruno juniper 66 chen delta 47 bruno juniper 50
alice grove 84 eli delta 63 alice delta 70 dina birch 18 dina grove 112 bruno juniper 66 chen delta 47 bruno juniper 50
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054538-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
chen indigo 93 bruno cobalt 15 ivan fable 49 chen juniper 14 chen juniper 14 chen ember 30 jules indigo 18 lina ember 120 kim harbor 90 dina ember 71
chen indigo 93 bruno cobalt 15 ivan fable 49 chen juniper 14 chen ember 30 jules indigo 18 lina ember 120 kim harbor 90 dina ember 71
alice grove 84 eli delta 63 alice delta 70 alice grove 84 dina birch 18 dina grove 112 bruno juniper 66 chen delta 47 bruno juniper 50
alice grove 84 eli delta 63 alice delta 70 dina birch 18 dina grove 112 bruno juniper 66 chen delta 47 bruno juniper 50
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054538
qwen/qwen3.7-plus
awkweave-0054539
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
ivan indigo 68 gus fable 41 eli juniper 107 kim ember 35 alice harbor 80 chen harbor 79 bruno indigo 100 eli grove 2
ivan indigo 68 gus fable 41 eli juniper 107 kim ember 35 alice harbor 80 chen harbor 79 bruno indigo 100
alice delta 3 hana grove 22 dina fable 61 gus ember 83 eli cobalt 21 jules grove 95 lina grove 39 lina fable 100 farah fable 120 bruno indigo 118
alice delta 3 hana grove 22 dina fable 61 gus ember 83 eli cobalt 21 jules grove 95 lina grove 39 farah fable 120 bruno indigo 118
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054539-p1
Retain only the first occurrence for every unique value in the first column, preserving the original input order.
!seen[$1]++
ivan indigo 68 gus fable 41 eli juniper 107 kim ember 35 alice harbor 80 chen harbor 79 bruno indigo 100 eli grove 2
ivan indigo 68 gus fable 41 eli juniper 107 kim ember 35 alice harbor 80 chen harbor 79 bruno indigo 100
alice delta 3 hana grove 22 dina fable 61 gus ember 83 eli cobalt 21 jules grove 95 lina grove 39 lina fable 100 farah fable 120 bruno indigo 118
alice delta 3 hana grove 22 dina fable 61 gus ember 83 eli cobalt 21 jules grove 95 lina grove 39 farah fable 120 bruno indigo 118
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054539
qwen/qwen3.7-plus
awkweave-0054540
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 24 amber jules 18 birch gus 12 indigo hana 18 amber lina 16 fable ivan 5 grove jules 9 fable hana 3 cobalt gus 8 ember
bruno 24 jules 42 gus 54 hana 72 lina 88 ivan 93 jules 102 hana 105 gus 113
bruno 23 cobalt lina 12 delta chen 25 ember kim 19 indigo eli 13 juniper alice 19 birch jules 11 juniper eli 26 cobalt
bruno 23 lina 35 chen 60 kim 79 eli 92 alice 111 jules 122 eli 148
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054540-p1
For each entry, output the value from the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
bruno 24 amber jules 18 birch gus 12 indigo hana 18 amber lina 16 fable ivan 5 grove jules 9 fable hana 3 cobalt gus 8 ember
bruno 24 jules 42 gus 54 hana 72 lina 88 ivan 93 jules 102 hana 105 gus 113
bruno 23 cobalt lina 12 delta chen 25 ember kim 19 indigo eli 13 juniper alice 19 birch jules 11 juniper eli 26 cobalt
bruno 23 lina 35 chen 60 kim 79 eli 92 alice 111 jules 122 eli 148
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054540
qwen/qwen3.7-plus
awkweave-0054541
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 1 18 grove chen 7 23 grove gus 7 21 fable alice 24 26 fable bruno 3 2 amber lina 9 8 delta chen 9 30 cobalt bruno 6 29 amber
eli 19 chen 30 gus 28 alice 50 bruno 5 lina 17 chen 39 bruno 35
chen 20 2 birch lina 20 25 birch hana 18 9 grove gus 26 3 indigo dina 23 13 cobalt jules 20 5 cobalt chen 22 1 ember
chen 22 lina 45 hana 27 gus 29 dina 36 jules 25 chen 23
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054541-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
eli 1 18 grove chen 7 23 grove gus 7 21 fable alice 24 26 fable bruno 3 2 amber lina 9 8 delta chen 9 30 cobalt bruno 6 29 amber
eli 19 chen 30 gus 28 alice 50 bruno 5 lina 17 chen 39 bruno 35
chen 20 2 birch lina 20 25 birch hana 18 9 grove gus 26 3 indigo dina 23 13 cobalt jules 20 5 cobalt chen 22 1 ember
chen 22 lina 45 hana 27 gus 29 dina 36 jules 25 chen 23
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054541
qwen/qwen3.7-plus
awkweave-0054542
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
gus 19 ivan 20 gus 1 bruno 10 chen 24 dina 12 dina 15 hana 3 kim 6
gus fail ivan fail gus fail bruno fail chen fail dina fail dina fail hana fail kim fail
hana 4 kim 16 hana 6 dina 16 dina 21 farah 21 hana 4 gus 26 jules 9 bruno 14
hana fail kim fail hana fail dina fail dina fail farah fail hana fail gus pass jules fail bruno fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054542-p1
Output the value in column 1; if column 2 is 25 or greater, print 'pass', otherwise print 'fail'.
{print $1,($2>=25?"pass":"fail")}
gus 19 ivan 20 gus 1 bruno 10 chen 24 dina 12 dina 15 hana 3 kim 6
gus fail ivan fail gus fail bruno fail chen fail dina fail dina fail hana fail kim fail
hana 4 kim 16 hana 6 dina 16 dina 21 farah 21 hana 4 gus 26 jules 9 bruno 14
hana fail kim fail hana fail dina fail dina fail farah fail hana fail gus pass jules fail bruno fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054542
qwen/qwen3.7-plus
awkweave-0054543
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
ivan fable 95 hana juniper 28 chen amber 100 eli harbor 57 kim delta 58 chen delta 62 chen birch 109
FABLE JUNIPER AMBER HARBOR DELTA DELTA BIRCH
jules indigo 101 chen fable 78 lina fable 22 alice fable 94 chen fable 41 eli delta 30
INDIGO FABLE FABLE FABLE FABLE DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054543-p1
Transform column 2 to uppercase and output only that modified column.
{print toupper($2)}
ivan fable 95 hana juniper 28 chen amber 100 eli harbor 57 kim delta 58 chen delta 62 chen birch 109
FABLE JUNIPER AMBER HARBOR DELTA DELTA BIRCH
jules indigo 101 chen fable 78 lina fable 22 alice fable 94 chen fable 41 eli delta 30
INDIGO FABLE FABLE FABLE FABLE DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054543
qwen/qwen3.7-plus
awkweave-0054544
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
juniper 18 harbor 36 juniper 3 fable 93 fable 27 amber 37 birch 61 ember 28 birch 83 grove 0
nip rbo nip ble ble ber rch ber rch ove
cobalt 18 delta 111 birch 97 ember 113 fable 27 indigo 111 indigo 12
bal lta rch ber ble dig dig
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054544-p1
Extract and print a substring of length 3 from column 1, starting at the 3rd character.
{print substr($1,3,3)}
juniper 18 harbor 36 juniper 3 fable 93 fable 27 amber 37 birch 61 ember 28 birch 83 grove 0
nip rbo nip ble ble ber rch ber rch ove
cobalt 18 delta 111 birch 97 ember 113 fable 27 indigo 111 indigo 12
bal lta rch ber ble dig dig
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054544
qwen/qwen3.7-plus
awkweave-0054545
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_indigo 55 juniper_juniper 91 indigo_fable 96 fable_indigo 36 birch_harbor 48 fable_juniper 85 amber_grove 70 grove_birch 75
harbor indigo juniper juniper indigo fable fable indigo birch harbor fable juniper amber grove grove birch
fable_fable 42 harbor_indigo 85 delta_cobalt 74 delta_cobalt 10 fable_delta 59 juniper_harbor 15 birch_fable 106
fable fable harbor indigo delta cobalt delta cobalt fable delta juniper harbor birch fable
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054545-p1
Substitute all underscores with spaces in column 1 and display the result.
{gsub(/_/," ",$1);print $1}
harbor_indigo 55 juniper_juniper 91 indigo_fable 96 fable_indigo 36 birch_harbor 48 fable_juniper 85 amber_grove 70 grove_birch 75
harbor indigo juniper juniper indigo fable fable indigo birch harbor fable juniper amber grove grove birch
fable_fable 42 harbor_indigo 85 delta_cobalt 74 delta_cobalt 10 fable_delta 59 juniper_harbor 15 birch_fable 106
fable fable harbor indigo delta cobalt delta cobalt fable delta juniper harbor birch fable
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054545
qwen/qwen3.7-plus
awkweave-0054546
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina delta 18 ready gus amber 80 ready dina amber 3 pending farah birch 22 closed bruno amber 15 pending alice grove 80 paused kim juniper 26 pending jules grove 28 closed
ready 18 delta dina ready 80 amber gus pending 3 amber dina closed 22 birch farah pending 15 amber bruno paused 80 grove alice pending 26 juniper kim closed 28 grove jules
jules indigo 92 failed ivan amber 3 ready eli grove 113 active alice ember 7 paused kim juniper 18 pending kim ember 52 failed
failed 92 indigo jules ready 3 amber ivan active 113 grove eli paused 7 ember alice pending 18 juniper kim failed 52 ember kim
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054546-p1
Reverse the sequence of fields for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina delta 18 ready gus amber 80 ready dina amber 3 pending farah birch 22 closed bruno amber 15 pending alice grove 80 paused kim juniper 26 pending jules grove 28 closed
ready 18 delta dina ready 80 amber gus pending 3 amber dina closed 22 birch farah pending 15 amber bruno paused 80 grove alice pending 26 juniper kim closed 28 grove jules
jules indigo 92 failed ivan amber 3 ready eli grove 113 active alice ember 7 paused kim juniper 18 pending kim ember 52 failed
failed 92 indigo jules ready 3 amber ivan active 113 grove eli paused 7 ember alice pending 18 juniper kim failed 52 ember kim
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054546
qwen/qwen3.7-plus
awkweave-0054547
Print the number of whitespace-separated fields on each line.
{print NF}
ivan amber 13 active farah amber 63 paused kim harbor 8 failed bruno ember 103 paused gus grove 120 active kim indigo 98 closed bruno delta 57 ready farah indigo 90 ready chen fable 7 closed bruno ember 116 active
4 4 4 4 4 4 4 4 4 4
eli fable 7 active jules birch 108 failed dina delta 104 ready ivan cobalt 44 active chen fable 14 paused jules delta 59 active alice cobalt 34 paused dina delta 69 ready lina fable 49 paused alice harbor 112 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054547-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
ivan amber 13 active farah amber 63 paused kim harbor 8 failed bruno ember 103 paused gus grove 120 active kim indigo 98 closed bruno delta 57 ready farah indigo 90 ready chen fable 7 closed bruno ember 116 active
4 4 4 4 4 4 4 4 4 4
eli fable 7 active jules birch 108 failed dina delta 104 ready ivan cobalt 44 active chen fable 14 paused jules delta 59 active alice cobalt 34 paused dina delta 69 ready lina fable 49 paused alice harbor 112 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054547
qwen/qwen3.7-plus
awkweave-0054548
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]]}
ivan gamma 15 eli gamma 8 kim gamma 65 kim delta 0 lina gamma 58 chen beta 51 jules gamma 30 eli beta 103
gamma 5 delta 1 beta 2
farah beta 50 eli alpha 7 farah gamma 81 lina gamma 106 dina beta 47 eli alpha 13 hana alpha 109
beta 2 alpha 3 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054548-p1
Tally the occurrences of each unique value in column 2 and print the value alongside its count, maintaining the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan gamma 15 eli gamma 8 kim gamma 65 kim delta 0 lina gamma 58 chen beta 51 jules gamma 30 eli beta 103
gamma 5 delta 1 beta 2
farah beta 50 eli alpha 7 farah gamma 81 lina gamma 106 dina beta 47 eli alpha 13 hana alpha 109
beta 2 alpha 3 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054548
qwen/qwen3.7-plus
awkweave-0054549
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]]}
ivan beta 30 gus beta 17 lina alpha 3 chen delta 14 kim gamma 17 hana beta 3
beta 50 alpha 3 delta 14 gamma 17
chen gamma 27 lina delta 6 ivan alpha 23 hana alpha 12 dina delta 20 dina gamma 4 hana alpha 22
gamma 31 delta 26 alpha 57
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054549-p1
Calculate the sum of column 3 grouped by column 2 values, displaying the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan beta 30 gus beta 17 lina alpha 3 chen delta 14 kim gamma 17 hana beta 3
beta 50 alpha 3 delta 14 gamma 17
chen gamma 27 lina delta 6 ivan alpha 23 hana alpha 12 dina delta 20 dina gamma 4 hana alpha 22
gamma 31 delta 26 alpha 57
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054549
qwen/qwen3.7-plus
awkweave-0054550
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 grove 81 alpha cobalt 31 gamma amber 36 gamma harbor 105 alpha delta 110 beta delta 19 alpha amber 1
alpha 4 gamma 2
alpha delta 120 delta harbor 53 delta cobalt 75 beta ember 10 alpha birch 31 alpha juniper 60 delta cobalt 73
alpha 3 delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054550-p1
Identify duplicate values in column 1 and print each repeated value 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 grove 81 alpha cobalt 31 gamma amber 36 gamma harbor 105 alpha delta 110 beta delta 19 alpha amber 1
alpha 4 gamma 2
alpha delta 120 delta harbor 53 delta cobalt 75 beta ember 10 alpha birch 31 alpha juniper 60 delta cobalt 73
alpha 3 delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054550
qwen/qwen3.7-plus
awkweave-0054551
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name region score record_id r001 jules 2 active r002 hana 25 pending r003 jules 29 failed r004 ivan 18 ready r005 lina 17 failed r006 gus 24 ready r007 kim 26 ready r008 chen 7 closed r009 bruno 18 closed
active pending failed ready failed ready ready closed closed
display_name region score record_id r001 eli 18 ready r002 jules 16 ready r003 gus 6 active r004 gus 6 active r005 kim 21 ready r006 chen 14 closed r007 ivan 27 paused
ready ready active active ready closed paused
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054551-p1
Treating the first row as a header, output the 'record_id' field for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name region score record_id r001 jules 2 active r002 hana 25 pending r003 jules 29 failed r004 ivan 18 ready r005 lina 17 failed r006 gus 24 ready r007 kim 26 ready r008 chen 7 closed r009 bruno 18 closed
active pending failed ready failed ready ready closed closed
display_name region score record_id r001 eli 18 ready r002 jules 16 ready r003 gus 6 active r004 gus 6 active r005 kim 21 ready r006 chen 14 closed r007 ivan 27 paused
ready ready active active ready closed paused
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054551
qwen/qwen3.7-plus
awkweave-0054552
The first row is a header. Print display_name for data rows whose score is greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 lina 21 closed r002 kim 22 failed r003 eli 17 paused r004 farah 22 paused r005 eli 26 ready r006 hana 16 paused r007 alice 18 closed r008 chen 6 pending r009 hana 1 pending
eli
record_id display_name score state r001 farah 19 paused r002 farah 21 ready r003 kim 30 closed r004 chen 4 pending r005 hana 2 pending r006 kim 23 pending r007 farah 24 failed r008 farah 30 pending r009 dina 10 active
kim kim farah farah
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054552-p1
With the first row as a header, output the 'display_name' for data rows where the 'score' exceeds 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 lina 21 closed r002 kim 22 failed r003 eli 17 paused r004 farah 22 paused r005 eli 26 ready r006 hana 16 paused r007 alice 18 closed r008 chen 6 pending r009 hana 1 pending
eli
record_id display_name score state r001 farah 19 paused r002 farah 21 ready r003 kim 30 closed r004 chen 4 pending r005 hana 2 pending r006 kim 23 pending r007 farah 24 failed r008 farah 30 pending r009 dina 10 active
kim kim farah farah
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054552
qwen/qwen3.7-plus