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-0051112-p1
Extract and print a substring of 3 characters from the first column, beginning at character position 1.
{print substr($1,1,3)}
delta 2 amber 21 ember 5 indigo 32 indigo 4 delta 98 amber 77
del amb emb ind ind del amb
grove 111 indigo 87 amber 43 grove 116 fable 73 cobalt 74
gro ind amb gro fab cob
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051112
qwen/qwen3.7-plus
awkweave-0051113
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_harbor 55 juniper_harbor 26 harbor_harbor 52 delta_indigo 13 ember_delta 53 indigo_amber 108 cobalt_grove 27 harbor_juniper 37
ember harbor juniper harbor harbor harbor delta indigo ember delta indigo amber cobalt grove harbor juniper
delta_indigo 115 harbor_birch 84 harbor_grove 41 amber_delta 20 amber_cobalt 100 juniper_amber 2
delta indigo harbor birch harbor grove amber delta amber cobalt juniper amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051113-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_harbor 55 juniper_harbor 26 harbor_harbor 52 delta_indigo 13 ember_delta 53 indigo_amber 108 cobalt_grove 27 harbor_juniper 37
ember harbor juniper harbor harbor harbor delta indigo ember delta indigo amber cobalt grove harbor juniper
delta_indigo 115 harbor_birch 84 harbor_grove 41 amber_delta 20 amber_cobalt 100 juniper_amber 2
delta indigo harbor birch harbor grove amber delta amber cobalt juniper amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051113
qwen/qwen3.7-plus
awkweave-0051114
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)}
ivan birch 95 paused alice ember 34 closed eli fable 21 paused ivan amber 70 active kim delta 0 ready chen fable 103 ready farah fable 59 ready eli ember 78 paused
paused 95 birch ivan closed 34 ember alice paused 21 fable eli active 70 amber ivan ready 0 delta kim ready 103 fable chen ready 59 fable farah paused 78 ember eli
chen ember 63 pending lina cobalt 88 paused lina birch 6 ready farah fable 5 failed hana indigo 58 pending bruno harbor 19 closed farah amber 2 paused kim cobalt 36 ready
pending 63 ember chen paused 88 cobalt lina ready 6 birch lina failed 5 fable farah pending 58 indigo hana closed 19 harbor bruno paused 2 amber farah ready 36 cobalt kim
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051114-p1
Invert the sequence of fields for every line and print all fields in the new order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan birch 95 paused alice ember 34 closed eli fable 21 paused ivan amber 70 active kim delta 0 ready chen fable 103 ready farah fable 59 ready eli ember 78 paused
paused 95 birch ivan closed 34 ember alice paused 21 fable eli active 70 amber ivan ready 0 delta kim ready 103 fable chen ready 59 fable farah paused 78 ember eli
chen ember 63 pending lina cobalt 88 paused lina birch 6 ready farah fable 5 failed hana indigo 58 pending bruno harbor 19 closed farah amber 2 paused kim cobalt 36 ready
pending 63 ember chen paused 88 cobalt lina ready 6 birch lina failed 5 fable farah pending 58 indigo hana closed 19 harbor bruno paused 2 amber farah ready 36 cobalt kim
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051114
qwen/qwen3.7-plus
awkweave-0051115
Print the number of whitespace-separated fields on each line.
{print NF}
eli juniper 89 failed gus juniper 12 failed farah delta 31 paused lina delta 108 closed gus indigo 19 paused eli ember 108 pending farah grove 49 ready bruno birch 110 active gus ember 79 paused alice juniper 111 failed
4 4 4 4 4 4 4 4 4 4
jules juniper 98 pending jules delta 117 ready lina cobalt 12 active dina juniper 49 ready bruno fable 44 paused gus fable 77 failed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051115-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
eli juniper 89 failed gus juniper 12 failed farah delta 31 paused lina delta 108 closed gus indigo 19 paused eli ember 108 pending farah grove 49 ready bruno birch 110 active gus ember 79 paused alice juniper 111 failed
4 4 4 4 4 4 4 4 4 4
jules juniper 98 pending jules delta 117 ready lina cobalt 12 active dina juniper 49 ready bruno fable 44 paused gus fable 77 failed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051115
qwen/qwen3.7-plus
awkweave-0051116
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]]}
farah delta 1 dina gamma 82 dina alpha 115 dina gamma 15 eli gamma 97 gus delta 4 farah beta 80 ivan gamma 73
delta 2 gamma 4 alpha 1 beta 1
chen delta 113 eli beta 56 lina gamma 120 farah alpha 60 dina beta 53 eli gamma 65 dina gamma 77 kim gamma 85
delta 1 beta 2 gamma 4 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051116-p1
Tally the number of records for each distinct value in the second column, printing the 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]]}
farah delta 1 dina gamma 82 dina alpha 115 dina gamma 15 eli gamma 97 gus delta 4 farah beta 80 ivan gamma 73
delta 2 gamma 4 alpha 1 beta 1
chen delta 113 eli beta 56 lina gamma 120 farah alpha 60 dina beta 53 eli gamma 65 dina gamma 77 kim gamma 85
delta 1 beta 2 gamma 4 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051116
qwen/qwen3.7-plus
awkweave-0051117
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 delta 30 gus delta 15 jules gamma 16 farah delta 3 alice alpha 25 eli gamma 7 chen alpha 29
delta 48 gamma 23 alpha 54
ivan gamma 15 chen gamma 2 chen beta 24 eli gamma 8 jules delta 21 ivan delta 25
gamma 25 beta 24 delta 46
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051117-p1
Calculate the sum of the third column for each group defined by the second column, outputting the results in the order of the groups' 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 delta 30 gus delta 15 jules gamma 16 farah delta 3 alice alpha 25 eli gamma 7 chen alpha 29
delta 48 gamma 23 alpha 54
ivan gamma 15 chen gamma 2 chen beta 24 eli gamma 8 jules delta 21 ivan delta 25
gamma 25 beta 24 delta 46
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051117
qwen/qwen3.7-plus
awkweave-0051118
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 grove 57 delta juniper 24 beta grove 97 gamma juniper 115 gamma grove 112 delta juniper 28
gamma 3 delta 2
gamma grove 19 beta fable 46 delta harbor 30 gamma cobalt 32 beta amber 18 beta harbor 63 alpha delta 50 beta indigo 53
gamma 2 beta 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051118-p1
List each unique value from the first column alongside its frequency, ordered by when it first appears.
{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 grove 57 delta juniper 24 beta grove 97 gamma juniper 115 gamma grove 112 delta juniper 28
gamma 3 delta 2
gamma grove 19 beta fable 46 delta harbor 30 gamma cobalt 32 beta amber 18 beta harbor 63 alpha delta 50 beta indigo 53
gamma 2 beta 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051118
qwen/qwen3.7-plus
awkweave-0051119
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
score region note state r001 dina 6 ready r002 alice 2 ready r003 gus 11 paused r004 hana 26 pending r005 chen 5 closed r006 lina 19 active r007 hana 8 pending
6 2 11 26 5 19 8
score region note state r001 chen 13 paused r002 dina 28 active r003 ivan 12 failed r004 gus 1 ready r005 lina 22 ready r006 lina 18 active
13 28 12 1 22 18
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051119-p1
Ignoring the header row, output the contents of the note column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
score region note state r001 dina 6 ready r002 alice 2 ready r003 gus 11 paused r004 hana 26 pending r005 chen 5 closed r006 lina 19 active r007 hana 8 pending
6 2 11 26 5 19 8
score region note state r001 chen 13 paused r002 dina 28 active r003 ivan 12 failed r004 gus 1 ready r005 lina 22 ready r006 lina 18 active
13 28 12 1 22 18
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051119
qwen/qwen3.7-plus
awkweave-0051120
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 jules 17 ready r002 farah 5 failed r003 gus 30 active r004 alice 19 paused r005 hana 7 paused r006 bruno 14 pending r007 ivan 12 pending
jules gus alice
record_id display_name score state r001 gus 14 pending r002 eli 12 closed r003 farah 8 paused r004 dina 30 failed r005 eli 12 ready r006 farah 29 failed r007 alice 23 failed
dina farah alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051120-p1
Skip the header line and display the display_name field for any record where the score is strictly greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 jules 17 ready r002 farah 5 failed r003 gus 30 active r004 alice 19 paused r005 hana 7 paused r006 bruno 14 pending r007 ivan 12 pending
jules gus alice
record_id display_name score state r001 gus 14 pending r002 eli 12 closed r003 farah 8 paused r004 dina 30 failed r005 eli 12 ready r006 farah 29 failed r007 alice 23 failed
dina farah alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051120
qwen/qwen3.7-plus
awkweave-0051121
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
jules 7 closed ivan 25 ready gus 29 pending dina 9 failed alice 26 pending farah 9 paused ivan 9 paused gus 1 paused kim 6 ready
7 25 29 9 26 9 9 1 6
lina 6 active eli 1 pending farah 6 pending lina 3 ready jules 7 paused hana 4 pending ivan 28 ready kim 11 active
6 1 6 3 7 4 28 11
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051121-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
jules 7 closed ivan 25 ready gus 29 pending dina 9 failed alice 26 pending farah 9 paused ivan 9 paused gus 1 paused kim 6 ready
7 25 29 9 26 9 9 1 6
lina 6 active eli 1 pending farah 6 pending lina 3 ready jules 7 paused hana 4 pending ivan 28 ready kim 11 active
6 1 6 3 7 4 28 11
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0051121
qwen/qwen3.7-plus
awkweave-0051122
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17.
BEGIN{FS=OFS=","}$2>17{print $1}
eli,2,paused bruno,15,closed ivan,7,closed alice,27,ready kim,25,active gus,1,closed ivan,16,pending jules,6,active kim,30,closed lina,8,closed
alice kim kim
farah,25,pending gus,16,active hana,7,paused farah,22,active eli,15,failed lina,1,pending jules,23,pending dina,22,closed
farah farah jules dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051122-p1
For comma-separated input without quoted fields, output the first column only if the second column is greater than 17.
BEGIN{FS=OFS=","}$2>17{print $1}
eli,2,paused bruno,15,closed ivan,7,closed alice,27,ready kim,25,active gus,1,closed ivan,16,pending jules,6,active kim,30,closed lina,8,closed
alice kim kim
farah,25,pending gus,16,active hana,7,paused farah,22,active eli,15,failed lina,1,pending jules,23,pending dina,22,closed
farah farah jules dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051122
qwen/qwen3.7-plus
awkweave-0051123
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen ember 119 jules delta 24 hana birch 101 farah harbor 98 lina harbor 53 hana indigo 21
chen ember 119 jules delta 24 hana birch 101 farah harbor 98 lina harbor 53 hana indigo 21
dina amber 106 farah amber 84 eli amber 95 jules cobalt 103 jules delta 25 jules cobalt 17 kim ember 8 ivan fable 26 lina harbor 119
dina amber 106 farah amber 84 eli amber 95 jules cobalt 103 jules delta 25 jules cobalt 17 kim ember 8 ivan fable 26 lina harbor 119
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051123-p1
Remove leading and trailing spaces from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen ember 119 jules delta 24 hana birch 101 farah harbor 98 lina harbor 53 hana indigo 21
chen ember 119 jules delta 24 hana birch 101 farah harbor 98 lina harbor 53 hana indigo 21
dina amber 106 farah amber 84 eli amber 95 jules cobalt 103 jules delta 25 jules cobalt 17 kim ember 8 ivan fable 26 lina harbor 119
dina amber 106 farah amber 84 eli amber 95 jules cobalt 103 jules delta 25 jules cobalt 17 kim ember 8 ivan fable 26 lina harbor 119
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051123
qwen/qwen3.7-plus
awkweave-0051124
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana ember 108 paused chen juniper 32 paused farah harbor 110 pending hana ember 28 closed lina delta 111 failed eli harbor 15 failed
farah harbor 110 pending
gus grove 30 closed lina delta 114 paused dina indigo 119 ready bruno amber 107 ready gus juniper 112 paused jules amber 0 ready farah amber 72 closed kim juniper 32 pending lina indigo 102 failed chen fable 104 active
gus juniper 112 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051124-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
hana ember 108 paused chen juniper 32 paused farah harbor 110 pending hana ember 28 closed lina delta 111 failed eli harbor 15 failed
farah harbor 110 pending
gus grove 30 closed lina delta 114 paused dina indigo 119 ready bruno amber 107 ready gus juniper 112 paused jules amber 0 ready farah amber 72 closed kim juniper 32 pending lina indigo 102 failed chen fable 104 active
gus juniper 112 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051124
qwen/qwen3.7-plus
awkweave-0051125
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
farah 75 bruno 74 chen 59 kim 7 alice 57 ivan 24
bruno 74 ivan 24
chen 116 alice 35 lina 107 ivan 42 kim 40 dina 30
alice 35 dina 30
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051125-p1
Output every fourth line of the input, beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
farah 75 bruno 74 chen 59 kim 7 alice 57 ivan 24
bruno 74 ivan 24
chen 116 alice 35 lina 107 ivan 42 kim 40 dina 30
alice 35 dina 30
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051125
qwen/qwen3.7-plus
awkweave-0051126
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 50 delta harbor 14 alpha amber 21 beta cobalt 67 alpha ember 84 alpha birch 30 alpha delta 7
3
alpha grove 79 alpha harbor 14 delta grove 44 gamma indigo 43 delta indigo 86 beta birch 104 gamma indigo 22 alpha ember 85
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051126-p1
Calculate the number of unique entries in the first column and print just that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 50 delta harbor 14 alpha amber 21 beta cobalt 67 alpha ember 84 alpha birch 30 alpha delta 7
3
alpha grove 79 alpha harbor 14 delta grove 44 gamma indigo 43 delta indigo 86 beta birch 104 gamma indigo 22 alpha ember 85
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051126
qwen/qwen3.7-plus
awkweave-0051127
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}
hana 11 0 dina 12 13 bruno 19 13 kim 4 15 lina 10 21 bruno 15 9 bruno 26 25 dina 28 26
dina 0.92 bruno 1.46 kim 0.27 lina 0.48 bruno 1.67 bruno 1.04 dina 1.08
kim 26 0 jules 21 18 dina 20 20 farah 11 17 bruno 2 24 chen 10 23 kim 19 13
jules 1.17 dina 1.00 farah 0.65 bruno 0.08 chen 0.43 kim 1.46
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051127-p1
For each record, output the first column and the result of dividing the second column by the third (rounded to two decimal places), omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 11 0 dina 12 13 bruno 19 13 kim 4 15 lina 10 21 bruno 15 9 bruno 26 25 dina 28 26
dina 0.92 bruno 1.46 kim 0.27 lina 0.48 bruno 1.67 bruno 1.04 dina 1.08
kim 26 0 jules 21 18 dina 20 20 farah 11 17 bruno 2 24 chen 10 23 kim 19 13
jules 1.17 dina 1.00 farah 0.65 bruno 0.08 chen 0.43 kim 1.46
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051127
qwen/qwen3.7-plus
awkweave-0051128
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno fable 24 lina indigo 18 gus delta 29 alice ember 2 kim amber 11 chen birch 3 eli harbor 10
gus delta 29 bruno fable 24 lina indigo 18
jules harbor 5 dina amber 26 kim amber 20 lina juniper 9 ivan fable 26 kim juniper 18 chen delta 21
dina amber 26 ivan fable 26 chen delta 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051128-p1
Display the top three records based on the numeric value 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]}
bruno fable 24 lina indigo 18 gus delta 29 alice ember 2 kim amber 11 chen birch 3 eli harbor 10
gus delta 29 bruno fable 24 lina indigo 18
jules harbor 5 dina amber 26 kim amber 20 lina juniper 9 ivan fable 26 kim juniper 18 chen delta 21
dina amber 26 ivan fable 26 chen delta 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051128
qwen/qwen3.7-plus
awkweave-0051129
Print column 5 followed by column 4 for every record.
{print $5, $4}
amber gus cobalt farah juniper juniper eli amber gus indigo grove jules indigo gus ember indigo ivan fable eli juniper cobalt dina harbor kim juniper ember eli juniper gus fable indigo bruno amber kim grove birch kim ember eli birch harbor kim indigo ivan harbor
juniper farah indigo gus ember gus juniper eli juniper kim fable gus grove kim birch eli harbor ivan
grove eli delta bruno juniper birch lina juniper farah harbor amber kim juniper kim amber fable kim birch kim amber grove hana harbor hana cobalt delta lina harbor hana ember grove eli fable jules grove delta chen grove ivan harbor birch dina harbor chen delta cobalt chen grove dina fable
juniper bruno harbor farah amber kim amber kim cobalt hana ember hana grove jules harbor ivan delta chen fable dina
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051129-p1
For every record, print the fifth column followed immediately by the fourth column.
{print $5, $4}
amber gus cobalt farah juniper juniper eli amber gus indigo grove jules indigo gus ember indigo ivan fable eli juniper cobalt dina harbor kim juniper ember eli juniper gus fable indigo bruno amber kim grove birch kim ember eli birch harbor kim indigo ivan harbor
juniper farah indigo gus ember gus juniper eli juniper kim fable gus grove kim birch eli harbor ivan
grove eli delta bruno juniper birch lina juniper farah harbor amber kim juniper kim amber fable kim birch kim amber grove hana harbor hana cobalt delta lina harbor hana ember grove eli fable jules grove delta chen grove ivan harbor birch dina harbor chen delta cobalt chen grove dina fable
juniper bruno harbor farah amber kim amber kim cobalt hana ember hana grove jules harbor ivan delta chen fable dina
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051129
qwen/qwen3.7-plus
awkweave-0051130
Print the last field of every input line.
{print $NF}
lina paused indigo chen closed fable eli closed fable gus failed indigo jules active amber lina ready grove ivan active harbor
indigo fable fable indigo amber grove harbor
gus pending amber eli paused cobalt kim active delta ivan paused birch eli paused birch ivan pending delta kim failed delta lina active cobalt chen active cobalt eli failed juniper
amber cobalt delta birch birch delta delta cobalt cobalt juniper
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051130-p1
Output the final field from each line of input.
{print $NF}
lina paused indigo chen closed fable eli closed fable gus failed indigo jules active amber lina ready grove ivan active harbor
indigo fable fable indigo amber grove harbor
gus pending amber eli paused cobalt kim active delta ivan paused birch eli paused birch ivan pending delta kim failed delta lina active cobalt chen active cobalt eli failed juniper
amber cobalt delta birch birch delta delta cobalt cobalt juniper
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051130
qwen/qwen3.7-plus
awkweave-0051131
Print the complete records where column 2 is at most 38.
$2 <= 38
gus 75 ready cobalt fable dina 111 active delta harbor ivan 15 pending birch indigo gus 20 closed ember grove lina 73 failed cobalt indigo chen 68 paused juniper ember eli 106 paused ember harbor chen 10 failed fable ember kim 25 ready delta ember kim 63 paused indigo fable
ivan 15 pending birch indigo gus 20 closed ember grove chen 10 failed fable ember kim 25 ready delta ember
eli 74 pending harbor birch chen 17 ready birch delta lina 92 failed amber harbor hana 79 closed fable fable alice 56 failed ember grove alice 113 paused amber fable alice 109 ready cobalt grove ivan 41 closed indigo cobalt eli 93 active ember indigo bruno 7 active ember indigo
chen 17 ready birch delta bruno 7 active ember indigo
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051131-p1
Display full records where the value in the second column is less than or equal to 38.
$2 <= 38
gus 75 ready cobalt fable dina 111 active delta harbor ivan 15 pending birch indigo gus 20 closed ember grove lina 73 failed cobalt indigo chen 68 paused juniper ember eli 106 paused ember harbor chen 10 failed fable ember kim 25 ready delta ember kim 63 paused indigo fable
ivan 15 pending birch indigo gus 20 closed ember grove chen 10 failed fable ember kim 25 ready delta ember
eli 74 pending harbor birch chen 17 ready birch delta lina 92 failed amber harbor hana 79 closed fable fable alice 56 failed ember grove alice 113 paused amber fable alice 109 ready cobalt grove ivan 41 closed indigo cobalt eli 93 active ember indigo bruno 7 active ember indigo
chen 17 ready birch delta bruno 7 active ember indigo
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051131
qwen/qwen3.7-plus
awkweave-0051132
Show whole lines whose 3rd field is between 11 and 27, inclusive.
$3 >= 11 && $3 <= 27
closed alice 25 kim pending eli 9 chen closed dina 29 gus ready farah 27 farah pending dina 9 lina active lina 22 jules failed alice 2 gus paused dina 14 eli ready bruno 7 dina paused hana 2 jules
closed alice 25 kim ready farah 27 farah active lina 22 jules paused dina 14 eli
ready bruno 5 farah pending jules 29 kim ready bruno 3 bruno closed alice 26 lina paused alice 30 jules failed gus 18 gus ready dina 14 farah paused lina 4 eli failed chen 24 bruno pending eli 28 farah
closed alice 26 lina failed gus 18 gus ready dina 14 farah failed chen 24 bruno
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051132-p1
Show entire lines where the third field falls within the inclusive range of 11 to 27.
$3 >= 11 && $3 <= 27
closed alice 25 kim pending eli 9 chen closed dina 29 gus ready farah 27 farah pending dina 9 lina active lina 22 jules failed alice 2 gus paused dina 14 eli ready bruno 7 dina paused hana 2 jules
closed alice 25 kim ready farah 27 farah active lina 22 jules paused dina 14 eli
ready bruno 5 farah pending jules 29 kim ready bruno 3 bruno closed alice 26 lina paused alice 30 jules failed gus 18 gus ready dina 14 farah paused lina 4 eli failed chen 24 bruno pending eli 28 farah
closed alice 26 lina failed gus 18 gus ready dina 14 farah failed chen 24 bruno
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051132
qwen/qwen3.7-plus
awkweave-0051133
Print column 4 only for rows where column 1 is exactly failed.
$1 == "failed"{print $4}
active indigo 101 dina closed harbor 101 dina closed grove 105 alice failed amber 83 ivan closed cobalt 12 eli failed harbor 36 bruno paused harbor 28 alice paused grove 31 lina failed indigo 66 eli failed delta 65 kim
ivan bruno eli kim
pending harbor 49 kim paused birch 114 ivan failed harbor 28 jules pending delta 81 alice ready harbor 81 ivan failed ember 68 chen
jules chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051133-p1
Extract only the fourth column for rows where the first column matches the string failed exactly.
$1 == "failed"{print $4}
active indigo 101 dina closed harbor 101 dina closed grove 105 alice failed amber 83 ivan closed cobalt 12 eli failed harbor 36 bruno paused harbor 28 alice paused grove 31 lina failed indigo 66 eli failed delta 65 kim
ivan bruno eli kim
pending harbor 49 kim paused birch 114 ivan failed harbor 28 jules pending delta 81 alice ready harbor 81 ivan failed ember 68 chen
jules chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051133
qwen/qwen3.7-plus
awkweave-0051134
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
cobalt INFO 21 harbor WARN 48 cobalt INFO 85 fable DEBUG 29 fable INFO 40 indigo DEBUG 28 grove WARN 51 fable INFO 42 amber DEBUG 60
cobalt INFO 21 cobalt INFO 85 fable INFO 40 fable INFO 42
fable INFO 58 juniper INFO 42 indigo INFO 74 fable WARN 54 ember DEBUG 31 birch WARN 111 harbor WARN 50 birch INFO 47
fable INFO 58 juniper INFO 42 indigo INFO 74 birch INFO 47
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051134-p1
Print all fields from lines where the second field starts with INFO.
$2 ~ /^INFO/
cobalt INFO 21 harbor WARN 48 cobalt INFO 85 fable DEBUG 29 fable INFO 40 indigo DEBUG 28 grove WARN 51 fable INFO 42 amber DEBUG 60
cobalt INFO 21 cobalt INFO 85 fable INFO 40 fable INFO 42
fable INFO 58 juniper INFO 42 indigo INFO 74 fable WARN 54 ember DEBUG 31 birch WARN 111 harbor WARN 50 birch INFO 47
fable INFO 58 juniper INFO 42 indigo INFO 74 birch INFO 47
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051134
qwen/qwen3.7-plus
awkweave-0051135
Print every line except those containing the exact text ember.
$0 !~ /ember/
fable 81 failed indigo 30 active juniper 43 paused juniper 114 paused birch 3 active delta 71 ready delta 20 active juniper 54 closed ember 999 active
fable 81 failed indigo 30 active juniper 43 paused juniper 114 paused birch 3 active delta 71 ready delta 20 active juniper 54 closed
juniper 45 active delta 55 failed grove 40 active birch 56 active birch 74 failed cobalt 104 failed indigo 46 active ember 999 active
juniper 45 active delta 55 failed grove 40 active birch 56 active birch 74 failed cobalt 104 failed indigo 46 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051135-p1
Output every line that does not contain the exact substring ember.
$0 !~ /ember/
fable 81 failed indigo 30 active juniper 43 paused juniper 114 paused birch 3 active delta 71 ready delta 20 active juniper 54 closed ember 999 active
fable 81 failed indigo 30 active juniper 43 paused juniper 114 paused birch 3 active delta 71 ready delta 20 active juniper 54 closed
juniper 45 active delta 55 failed grove 40 active birch 56 active birch 74 failed cobalt 104 failed indigo 46 active ember 999 active
juniper 45 active delta 55 failed grove 40 active birch 56 active birch 74 failed cobalt 104 failed indigo 46 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051135
qwen/qwen3.7-plus
awkweave-0051136
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
kim amber 11 gus harbor 48 jules fable 65 ivan harbor 19 hana birch 18 alice amber 104 farah cobalt 107 dina juniper 97
ivan harbor 19 hana birch 18 alice amber 104 farah cobalt 107
lina harbor 23 hana indigo 119 alice harbor 100 kim indigo 17 ivan harbor 62 lina amber 78
kim indigo 17 ivan harbor 62 lina amber 78
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051136-p1
Print lines 4 through 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
kim amber 11 gus harbor 48 jules fable 65 ivan harbor 19 hana birch 18 alice amber 104 farah cobalt 107 dina juniper 97
ivan harbor 19 hana birch 18 alice amber 104 farah cobalt 107
lina harbor 23 hana indigo 119 alice harbor 100 kim indigo 17 ivan harbor 62 lina amber 78
kim indigo 17 ivan harbor 62 lina amber 78
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051136
qwen/qwen3.7-plus
awkweave-0051137
Output only the first 2 records.
NR <= 2
bruno 57 ember farah 69 indigo alice 40 delta lina 69 amber lina 25 harbor alice 68 delta chen 90 amber
bruno 57 ember farah 69 indigo
bruno 72 grove kim 35 cobalt lina 33 ember dina 81 grove alice 48 juniper bruno 24 delta eli 83 grove eli 36 delta kim 12 cobalt
bruno 72 grove kim 35 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051137-p1
Output only the first 2 records from the input.
NR <= 2
bruno 57 ember farah 69 indigo alice 40 delta lina 69 amber lina 25 harbor alice 68 delta chen 90 amber
bruno 57 ember farah 69 indigo
bruno 72 grove kim 35 cobalt lina 33 ember dina 81 grove alice 48 juniper bruno 24 delta eli 83 grove eli 36 delta kim 12 cobalt
bruno 72 grove kim 35 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051137
qwen/qwen3.7-plus
awkweave-0051138
Skip the first line and print every remaining line unchanged.
NR > 1
lina 113 juniper lina 74 harbor gus 77 indigo ivan 4 fable farah 93 harbor eli 5 ember bruno 63 delta lina 26 harbor alice 51 amber
lina 74 harbor gus 77 indigo ivan 4 fable farah 93 harbor eli 5 ember bruno 63 delta lina 26 harbor alice 51 amber
dina 83 fable bruno 95 birch bruno 46 amber ivan 76 delta kim 6 amber chen 58 cobalt bruno 43 amber eli 80 ember
bruno 95 birch bruno 46 amber ivan 76 delta kim 6 amber chen 58 cobalt bruno 43 amber eli 80 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051138-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
lina 113 juniper lina 74 harbor gus 77 indigo ivan 4 fable farah 93 harbor eli 5 ember bruno 63 delta lina 26 harbor alice 51 amber
lina 74 harbor gus 77 indigo ivan 4 fable farah 93 harbor eli 5 ember bruno 63 delta lina 26 harbor alice 51 amber
dina 83 fable bruno 95 birch bruno 46 amber ivan 76 delta kim 6 amber chen 58 cobalt bruno 43 amber eli 80 ember
bruno 95 birch bruno 46 amber ivan 76 delta kim 6 amber chen 58 cobalt bruno 43 amber eli 80 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051138
qwen/qwen3.7-plus
awkweave-0051139
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
eli failed 92 eli ready 4 lina pending 24 alice ready 47 gus pending 4 dina closed 47
0
bruno paused 2 jules active 40 kim active 84 hana ready 27 lina ready 71 chen closed 5 kim ready 103 lina paused 23 eli closed 70
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051139-p1
Count the number of records where the second column is paused; output 0 if the count is zero.
$2 == "paused"{n++}END{print n+0}
eli failed 92 eli ready 4 lina pending 24 alice ready 47 gus pending 4 dina closed 47
0
bruno paused 2 jules active 40 kim active 84 hana ready 27 lina ready 71 chen closed 5 kim ready 103 lina paused 23 eli closed 70
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051139
qwen/qwen3.7-plus
awkweave-0051140
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
delta gus 16 fable kim 8 fable dina 16 indigo alice 15 ember jules 17 birch kim 29 birch chen 17 delta lina 12 birch dina 20
150
harbor chen 30 juniper hana 4 indigo jules 27 birch jules 22 amber farah 6 delta dina 10 cobalt ivan 15 juniper gus 11 juniper lina 23 birch alice 29
177
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051140-p1
Compute and display the sum of all integer values found in the third column.
{s+=$3}END{print s+0}
delta gus 16 fable kim 8 fable dina 16 indigo alice 15 ember jules 17 birch kim 29 birch chen 17 delta lina 12 birch dina 20
150
harbor chen 30 juniper hana 4 indigo jules 27 birch jules 22 amber farah 6 delta dina 10 cobalt ivan 15 juniper gus 11 juniper lina 23 birch alice 29
177
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051140
qwen/qwen3.7-plus
awkweave-0051141
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
21 jules ember 13 ivan harbor 23 eli juniper 6 bruno amber 12 ivan indigo 13 dina indigo 9 jules grove
13.86
3 lina cobalt 9 bruno cobalt 26 dina birch 5 eli harbor 27 bruno cobalt 11 kim ember 6 ivan birch
12.43
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051141-p1
Calculate the average of the values in the first column and print it rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
21 jules ember 13 ivan harbor 23 eli juniper 6 bruno amber 12 ivan indigo 13 dina indigo 9 jules grove
13.86
3 lina cobalt 9 bruno cobalt 26 dina birch 5 eli harbor 27 bruno cobalt 11 kim ember 6 ivan birch
12.43
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051141
qwen/qwen3.7-plus
awkweave-0051142
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
18 kim cobalt 24 chen cobalt 26 dina indigo 10 hana harbor 18 kim birch 29 lina delta 21 dina birch
10
3 lina birch 4 jules birch 25 farah indigo 4 ivan cobalt 16 gus delta 12 eli birch
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051142-p1
Output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
18 kim cobalt 24 chen cobalt 26 dina indigo 10 hana harbor 18 kim birch 29 lina delta 21 dina birch
10
3 lina birch 4 jules birch 25 farah indigo 4 ivan cobalt 16 gus delta 12 eli birch
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051142
qwen/qwen3.7-plus
awkweave-0051143
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 11 jules ember 23 dina fable 27 kim amber 4 farah amber 27 bruno amber 30 dina harbor 19 alice ember 22 kim indigo 28 alice
30
ember 12 farah juniper 25 alice fable 11 hana harbor 25 jules amber 21 ivan birch 26 lina
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051143-p1
Output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 11 jules ember 23 dina fable 27 kim amber 4 farah amber 27 bruno amber 30 dina harbor 19 alice ember 22 kim indigo 28 alice
30
ember 12 farah juniper 25 alice fable 11 hana harbor 25 jules amber 21 ivan birch 26 lina
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051143
qwen/qwen3.7-plus
awkweave-0051144
Count all input records and print the total.
END{print NR}
alice 46 farah 16 gus 106 chen 13 farah 113 bruno 67 gus 1 kim 41
8
hana 15 dina 19 gus 43 chen 120 ivan 118 bruno 110 jules 90
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051144-p1
Calculate and display the total number of input records.
END{print NR}
alice 46 farah 16 gus 106 chen 13 farah 113 bruno 67 gus 1 kim 41
8
hana 15 dina 19 gus 43 chen 120 ivan 118 bruno 110 jules 90
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051144
qwen/qwen3.7-plus
awkweave-0051145
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli juniper 78 chen amber 80 alice delta 16 eli juniper 78 lina amber 73 kim birch 89 chen ember 70 eli juniper 46
eli juniper 78 chen amber 80 alice delta 16 lina amber 73 kim birch 89 chen ember 70 eli juniper 46
gus delta 106 eli grove 7 hana grove 102 lina birch 2 kim ember 48 ivan delta 105 eli grove 7 gus fable 84 farah grove 21
gus delta 106 eli grove 7 hana grove 102 lina birch 2 kim ember 48 ivan delta 105 gus fable 84 farah grove 21
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051145-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
eli juniper 78 chen amber 80 alice delta 16 eli juniper 78 lina amber 73 kim birch 89 chen ember 70 eli juniper 46
eli juniper 78 chen amber 80 alice delta 16 lina amber 73 kim birch 89 chen ember 70 eli juniper 46
gus delta 106 eli grove 7 hana grove 102 lina birch 2 kim ember 48 ivan delta 105 eli grove 7 gus fable 84 farah grove 21
gus delta 106 eli grove 7 hana grove 102 lina birch 2 kim ember 48 ivan delta 105 gus fable 84 farah grove 21
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051145
qwen/qwen3.7-plus
awkweave-0051146
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
lina delta 105 ivan ember 102 lina delta 14 jules indigo 102 ivan delta 108 chen cobalt 79 bruno cobalt 101 lina grove 87
lina delta 105 ivan ember 102 jules indigo 102 chen cobalt 79 bruno cobalt 101
hana delta 24 farah ember 80 gus fable 110 alice fable 55 hana indigo 87 alice delta 79 jules harbor 26 ivan ember 90
hana delta 24 farah ember 80 gus fable 110 alice fable 55 jules harbor 26 ivan ember 90
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051146-p1
Retain only the initial line for every unique value in the first column, keeping the original order.
!seen[$1]++
lina delta 105 ivan ember 102 lina delta 14 jules indigo 102 ivan delta 108 chen cobalt 79 bruno cobalt 101 lina grove 87
lina delta 105 ivan ember 102 jules indigo 102 chen cobalt 79 bruno cobalt 101
hana delta 24 farah ember 80 gus fable 110 alice fable 55 hana indigo 87 alice delta 79 jules harbor 26 ivan ember 90
hana delta 24 farah ember 80 gus fable 110 alice fable 55 jules harbor 26 ivan ember 90
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051146
qwen/qwen3.7-plus
awkweave-0051147
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 14 birch chen 16 juniper kim 16 amber chen 9 birch ivan 7 delta ivan 4 ember farah 10 birch kim 6 cobalt chen 29 juniper
kim 14 chen 30 kim 46 chen 55 ivan 62 ivan 66 farah 76 kim 82 chen 111
kim 14 ember lina 4 indigo dina 14 indigo gus 5 amber chen 5 fable dina 24 cobalt eli 7 cobalt dina 27 cobalt
kim 14 lina 18 dina 32 gus 37 chen 42 dina 66 eli 73 dina 100
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051147-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
kim 14 birch chen 16 juniper kim 16 amber chen 9 birch ivan 7 delta ivan 4 ember farah 10 birch kim 6 cobalt chen 29 juniper
kim 14 chen 30 kim 46 chen 55 ivan 62 ivan 66 farah 76 kim 82 chen 111
kim 14 ember lina 4 indigo dina 14 indigo gus 5 amber chen 5 fable dina 24 cobalt eli 7 cobalt dina 27 cobalt
kim 14 lina 18 dina 32 gus 37 chen 42 dina 66 eli 73 dina 100
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051147
qwen/qwen3.7-plus
awkweave-0051148
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 17 16 grove gus 28 19 ember alice 30 8 amber jules 30 12 grove jules 30 2 harbor bruno 17 7 ember lina 15 9 ember bruno 20 30 fable
chen 33 gus 47 alice 38 jules 42 jules 32 bruno 24 lina 24 bruno 50
farah 9 10 grove chen 2 15 grove chen 10 14 harbor ivan 22 14 cobalt lina 11 17 harbor jules 13 30 birch
farah 19 chen 17 chen 24 ivan 36 lina 28 jules 43
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051148-p1
Print the first field followed by the sum of the second and third fields for each row.
{print $1,$2+$3}
chen 17 16 grove gus 28 19 ember alice 30 8 amber jules 30 12 grove jules 30 2 harbor bruno 17 7 ember lina 15 9 ember bruno 20 30 fable
chen 33 gus 47 alice 38 jules 42 jules 32 bruno 24 lina 24 bruno 50
farah 9 10 grove chen 2 15 grove chen 10 14 harbor ivan 22 14 cobalt lina 11 17 harbor jules 13 30 birch
farah 19 chen 17 chen 24 ivan 36 lina 28 jules 43
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051148
qwen/qwen3.7-plus
awkweave-0051149
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
hana 26 farah 26 chen 24 dina 18 dina 17 farah 14
hana pass farah pass chen pass dina fail dina fail farah fail
hana 21 alice 17 kim 8 lina 23 lina 13 gus 16 farah 8
hana fail alice fail kim fail lina fail lina fail gus fail farah fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051149-p1
Display the first column along with 'pass' if the second column is 24 or greater, otherwise display 'fail'.
{print $1,($2>=24?"pass":"fail")}
hana 26 farah 26 chen 24 dina 18 dina 17 farah 14
hana pass farah pass chen pass dina fail dina fail farah fail
hana 21 alice 17 kim 8 lina 23 lina 13 gus 16 farah 8
hana fail alice fail kim fail lina fail lina fail gus fail farah fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051149
qwen/qwen3.7-plus
awkweave-0051150
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
lina cobalt 115 kim grove 78 bruno indigo 58 farah fable 98 hana fable 42 lina grove 114 jules cobalt 73 dina cobalt 119
LINA KIM BRUNO FARAH HANA LINA JULES DINA
kim harbor 28 gus juniper 84 bruno cobalt 10 jules grove 99 hana juniper 62 gus juniper 99 lina ember 24
KIM GUS BRUNO JULES HANA GUS LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051150-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
lina cobalt 115 kim grove 78 bruno indigo 58 farah fable 98 hana fable 42 lina grove 114 jules cobalt 73 dina cobalt 119
LINA KIM BRUNO FARAH HANA LINA JULES DINA
kim harbor 28 gus juniper 84 bruno cobalt 10 jules grove 99 hana juniper 62 gus juniper 99 lina ember 24
KIM GUS BRUNO JULES HANA GUS LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051150
qwen/qwen3.7-plus
awkweave-0051151
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
juniper 113 indigo 58 indigo 97 juniper 51 birch 75 delta 51 juniper 11
juni indi indi juni birc delt juni
grove 55 grove 12 indigo 10 birch 27 grove 48 fable 48
grov grov indi birc grov fabl
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051151-p1
Extract and print the first 4 characters from the first column.
{print substr($1,1,4)}
juniper 113 indigo 58 indigo 97 juniper 51 birch 75 delta 51 juniper 11
juni indi indi juni birc delt juni
grove 55 grove 12 indigo 10 birch 27 grove 48 fable 48
grov grov indi birc grov fabl
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051151
qwen/qwen3.7-plus
awkweave-0051152
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_amber 93 fable_grove 91 juniper_fable 85 indigo_delta 118 birch_juniper 6 harbor_harbor 76 cobalt_cobalt 64 fable_cobalt 85
birch amber fable grove juniper fable indigo delta birch juniper harbor harbor cobalt cobalt fable cobalt
birch_grove 69 amber_ember 8 amber_ember 29 harbor_juniper 15 fable_harbor 44 delta_grove 9
birch grove amber ember amber ember harbor juniper fable harbor delta grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051152-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_amber 93 fable_grove 91 juniper_fable 85 indigo_delta 118 birch_juniper 6 harbor_harbor 76 cobalt_cobalt 64 fable_cobalt 85
birch amber fable grove juniper fable indigo delta birch juniper harbor harbor cobalt cobalt fable cobalt
birch_grove 69 amber_ember 8 amber_ember 29 harbor_juniper 15 fable_harbor 44 delta_grove 9
birch grove amber ember amber ember harbor juniper fable harbor delta grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051152
qwen/qwen3.7-plus
awkweave-0051153
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana grove 113 pending alice fable 52 pending alice harbor 44 closed eli ember 116 paused alice harbor 41 active bruno fable 38 active
pending 113 grove hana pending 52 fable alice closed 44 harbor alice paused 116 ember eli active 41 harbor alice active 38 fable bruno
dina ember 96 active alice ember 91 paused gus birch 44 failed hana juniper 48 closed hana juniper 65 failed ivan fable 25 active
active 96 ember dina paused 91 ember alice failed 44 birch gus closed 48 juniper hana failed 65 juniper hana active 25 fable ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051153-p1
Reverse the sequence of fields in each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana grove 113 pending alice fable 52 pending alice harbor 44 closed eli ember 116 paused alice harbor 41 active bruno fable 38 active
pending 113 grove hana pending 52 fable alice closed 44 harbor alice paused 116 ember eli active 41 harbor alice active 38 fable bruno
dina ember 96 active alice ember 91 paused gus birch 44 failed hana juniper 48 closed hana juniper 65 failed ivan fable 25 active
active 96 ember dina paused 91 ember alice failed 44 birch gus closed 48 juniper hana failed 65 juniper hana active 25 fable ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051153
qwen/qwen3.7-plus
awkweave-0051154
Print the number of whitespace-separated fields on each line.
{print NF}
bruno fable 46 failed gus harbor 110 paused bruno fable 45 active gus grove 105 paused kim fable 6 pending alice harbor 67 closed
4 4 4 4 4 4
alice juniper 21 failed farah grove 60 closed gus delta 110 failed dina amber 76 pending bruno amber 46 closed bruno birch 23 closed chen delta 64 active ivan ember 77 paused chen birch 1 paused farah grove 100 paused
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051154-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
bruno fable 46 failed gus harbor 110 paused bruno fable 45 active gus grove 105 paused kim fable 6 pending alice harbor 67 closed
4 4 4 4 4 4
alice juniper 21 failed farah grove 60 closed gus delta 110 failed dina amber 76 pending bruno amber 46 closed bruno birch 23 closed chen delta 64 active ivan ember 77 paused chen birch 1 paused farah grove 100 paused
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051154
qwen/qwen3.7-plus
awkweave-0051155
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]]}
jules alpha 31 chen alpha 86 jules gamma 106 jules beta 37 eli gamma 39 ivan beta 71 hana alpha 97 ivan alpha 45 alice alpha 22
alpha 5 gamma 2 beta 2
kim gamma 46 farah beta 61 farah delta 11 farah delta 67 kim gamma 80 hana alpha 39 kim gamma 42 chen beta 113
gamma 3 beta 2 delta 2 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051155-p1
Tally the occurrences of each unique value in the second column and display the value alongside its frequency, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
jules alpha 31 chen alpha 86 jules gamma 106 jules beta 37 eli gamma 39 ivan beta 71 hana alpha 97 ivan alpha 45 alice alpha 22
alpha 5 gamma 2 beta 2
kim gamma 46 farah beta 61 farah delta 11 farah delta 67 kim gamma 80 hana alpha 39 kim gamma 42 chen beta 113
gamma 3 beta 2 delta 2 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051155
qwen/qwen3.7-plus
awkweave-0051156
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 beta 9 farah delta 8 bruno delta 25 dina alpha 14 alice beta 15 farah gamma 12 farah alpha 30 chen delta 9 bruno alpha 19
beta 24 delta 42 alpha 63 gamma 12
bruno alpha 9 alice alpha 20 farah delta 11 kim delta 3 kim alpha 30 jules delta 1
alpha 59 delta 15
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051156-p1
Calculate the total of values in column 3 grouped by the categories in column 2, listing the results in the order the 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]]}
bruno beta 9 farah delta 8 bruno delta 25 dina alpha 14 alice beta 15 farah gamma 12 farah alpha 30 chen delta 9 bruno alpha 19
beta 24 delta 42 alpha 63 gamma 12
bruno alpha 9 alice alpha 20 farah delta 11 kim delta 3 kim alpha 30 jules delta 1
alpha 59 delta 15
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051156
qwen/qwen3.7-plus
awkweave-0051157
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta delta 93 delta cobalt 21 alpha juniper 53 beta cobalt 9 delta ember 49 gamma ember 13 beta juniper 64 beta fable 89
delta 3 beta 3
beta indigo 77 alpha ember 62 delta ember 112 gamma indigo 33 gamma birch 65 delta grove 70 beta birch 120 beta indigo 28 delta delta 88
beta 3 delta 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051157-p1
List each duplicate entry from the first column along with its occurrence count, sorted by the order of first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta delta 93 delta cobalt 21 alpha juniper 53 beta cobalt 9 delta ember 49 gamma ember 13 beta juniper 64 beta fable 89
delta 3 beta 3
beta indigo 77 alpha ember 62 delta ember 112 gamma indigo 33 gamma birch 65 delta grove 70 beta birch 120 beta indigo 28 delta delta 88
beta 3 delta 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051157
qwen/qwen3.7-plus
awkweave-0051158
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
note region record_id score r001 eli 9 closed r002 eli 28 active r003 eli 27 closed r004 farah 28 paused r005 dina 27 failed r006 farah 18 pending r007 lina 17 ready r008 lina 30 active r009 farah 13 pending r010 farah 2 pending
closed active closed paused failed pending ready active pending pending
note region record_id score r001 eli 28 ready r002 ivan 15 ready r003 alice 11 active r004 eli 6 failed r005 dina 14 ready r006 eli 21 failed r007 farah 28 paused r008 lina 23 paused r009 alice 28 ready
ready ready active failed ready failed paused paused ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051158-p1
Skip the header row and output the values from the score column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
note region record_id score r001 eli 9 closed r002 eli 28 active r003 eli 27 closed r004 farah 28 paused r005 dina 27 failed r006 farah 18 pending r007 lina 17 ready r008 lina 30 active r009 farah 13 pending r010 farah 2 pending
closed active closed paused failed pending ready active pending pending
note region record_id score r001 eli 28 ready r002 ivan 15 ready r003 alice 11 active r004 eli 6 failed r005 dina 14 ready r006 eli 21 failed r007 farah 28 paused r008 lina 23 paused r009 alice 28 ready
ready ready active failed ready failed paused paused ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051158
qwen/qwen3.7-plus
awkweave-0051159
The first row is a header. Print display_name for data rows whose score is greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 hana 2 failed r002 ivan 20 paused r003 jules 27 failed r004 gus 26 paused r005 dina 29 pending r006 farah 26 failed r007 jules 22 pending r008 chen 17 ready
ivan jules gus dina farah jules
record_id display_name score state r001 eli 9 pending r002 eli 25 closed r003 farah 28 active r004 bruno 18 pending r005 jules 17 closed r006 lina 23 closed r007 chen 11 ready r008 ivan 6 pending
eli farah lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051159-p1
Ignoring the header row, output the display_name field for any record where the score is strictly greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 hana 2 failed r002 ivan 20 paused r003 jules 27 failed r004 gus 26 paused r005 dina 29 pending r006 farah 26 failed r007 jules 22 pending r008 chen 17 ready
ivan jules gus dina farah jules
record_id display_name score state r001 eli 9 pending r002 eli 25 closed r003 farah 28 active r004 bruno 18 pending r005 jules 17 closed r006 lina 23 closed r007 chen 11 ready r008 ivan 6 pending
eli farah lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051159
qwen/qwen3.7-plus
awkweave-0051160
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
hana 18 failed gus 7 failed ivan 28 active chen 17 active dina 20 closed eli 24 paused bruno 7 ready
hana gus ivan chen dina eli bruno
dina 1 closed alice 30 closed hana 26 failed chen 8 closed bruno 17 active alice 4 paused
dina alice hana chen bruno alice
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051160-p1
Given tab-separated input, extract and print the first column from each record.
BEGIN{FS=OFS="\t"}{print $1}
hana 18 failed gus 7 failed ivan 28 active chen 17 active dina 20 closed eli 24 paused bruno 7 ready
hana gus ivan chen dina eli bruno
dina 1 closed alice 30 closed hana 26 failed chen 8 closed bruno 17 active alice 4 paused
dina alice hana chen bruno alice
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051160
qwen/qwen3.7-plus
awkweave-0051161
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23.
BEGIN{FS=OFS=","}$2>23{print $1}
bruno,15,paused kim,17,active hana,15,active lina,20,paused lina,24,pending dina,9,ready
lina
gus,22,active bruno,13,pending bruno,6,active hana,9,failed alice,12,failed bruno,3,failed
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051161-p1
For simple comma-separated input without quoted fields, print the first column only if the value in the second column is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
bruno,15,paused kim,17,active hana,15,active lina,20,paused lina,24,pending dina,9,ready
lina
gus,22,active bruno,13,pending bruno,6,active hana,9,failed alice,12,failed bruno,3,failed
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051161
qwen/qwen3.7-plus
awkweave-0051162
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno ember 78 chen birch 90 chen indigo 20 farah indigo 86 ivan cobalt 102 chen delta 30
bruno ember 78 chen birch 90 chen indigo 20 farah indigo 86 ivan cobalt 102 chen delta 30
ivan birch 51 kim juniper 101 chen cobalt 115 alice fable 26 kim harbor 38 lina ember 1 lina grove 102 jules ember 42 jules harbor 91 chen fable 99
ivan birch 51 kim juniper 101 chen cobalt 115 alice fable 26 kim harbor 38 lina ember 1 lina grove 102 jules ember 42 jules harbor 91 chen fable 99
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null