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-0051222-p1
Count the total number of input records and print the result.
END{print NR}
lina 0 eli 34 hana 27 chen 99 farah 115 hana 4 dina 18 farah 72
8
alice 63 farah 96 farah 41 jules 13 gus 30 eli 79 eli 112 dina 45 alice 85 eli 66
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051222
qwen/qwen3.7-plus
awkweave-0051223
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah amber 101 hana indigo 83 farah indigo 90 hana ember 94 eli delta 23 farah indigo 90 farah harbor 44 dina cobalt 58 jules birch 46 bruno ember 31 jules fable 56
farah amber 101 hana indigo 83 farah indigo 90 hana ember 94 eli delta 23 farah harbor 44 dina cobalt 58 jules birch 46 bruno ember 31 jules fable 56
lina ember 45 jules amber 2 dina birch 80 alice ember 97 gus cobalt 1 dina birch 80 alice amber 113
lina ember 45 jules amber 2 dina birch 80 alice ember 97 gus cobalt 1 alice amber 113
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051223-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
farah amber 101 hana indigo 83 farah indigo 90 hana ember 94 eli delta 23 farah indigo 90 farah harbor 44 dina cobalt 58 jules birch 46 bruno ember 31 jules fable 56
farah amber 101 hana indigo 83 farah indigo 90 hana ember 94 eli delta 23 farah harbor 44 dina cobalt 58 jules birch 46 bruno ember 31 jules fable 56
lina ember 45 jules amber 2 dina birch 80 alice ember 97 gus cobalt 1 dina birch 80 alice amber 113
lina ember 45 jules amber 2 dina birch 80 alice ember 97 gus cobalt 1 alice amber 113
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051223
qwen/qwen3.7-plus
awkweave-0051224
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
chen indigo 19 alice ember 68 dina cobalt 44 bruno indigo 29 eli ember 60 jules juniper 28
chen indigo 19 alice ember 68 dina cobalt 44 bruno indigo 29 eli ember 60 jules juniper 28
hana delta 23 lina amber 120 hana grove 98 kim fable 87 alice fable 24 eli birch 70 jules fable 13 jules fable 57 chen grove 37
hana delta 23 lina amber 120 kim fable 87 alice fable 24 eli birch 70 jules fable 13 chen grove 37
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051224-p1
Retain only the initial occurrence of each unique value in column 1, maintaining the original input sequence.
!seen[$1]++
chen indigo 19 alice ember 68 dina cobalt 44 bruno indigo 29 eli ember 60 jules juniper 28
chen indigo 19 alice ember 68 dina cobalt 44 bruno indigo 29 eli ember 60 jules juniper 28
hana delta 23 lina amber 120 hana grove 98 kim fable 87 alice fable 24 eli birch 70 jules fable 13 jules fable 57 chen grove 37
hana delta 23 lina amber 120 kim fable 87 alice fable 24 eli birch 70 jules fable 13 chen grove 37
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051224
qwen/qwen3.7-plus
awkweave-0051225
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 17 indigo eli 25 juniper dina 6 birch jules 15 amber eli 26 delta eli 6 harbor jules 18 cobalt
farah 17 eli 42 dina 48 jules 63 eli 89 eli 95 jules 113
alice 27 harbor farah 19 juniper lina 26 grove alice 1 fable eli 6 delta jules 11 ember chen 18 fable farah 23 amber
alice 27 farah 46 lina 72 alice 73 eli 79 jules 90 chen 108 farah 131
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051225-p1
Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter.
{s+=$2;print $1,s}
farah 17 indigo eli 25 juniper dina 6 birch jules 15 amber eli 26 delta eli 6 harbor jules 18 cobalt
farah 17 eli 42 dina 48 jules 63 eli 89 eli 95 jules 113
alice 27 harbor farah 19 juniper lina 26 grove alice 1 fable eli 6 delta jules 11 ember chen 18 fable farah 23 amber
alice 27 farah 46 lina 72 alice 73 eli 79 jules 90 chen 108 farah 131
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051225
qwen/qwen3.7-plus
awkweave-0051226
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 26 3 juniper gus 20 19 amber ivan 9 17 birch gus 6 23 harbor jules 16 20 grove gus 4 20 juniper
chen 29 gus 39 ivan 26 gus 29 jules 36 gus 24
hana 26 26 grove eli 26 11 grove lina 7 27 juniper dina 23 20 cobalt gus 4 8 delta bruno 13 27 fable bruno 12 25 indigo
hana 52 eli 37 lina 34 dina 43 gus 12 bruno 40 bruno 37
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051226-p1
For each row, display field 1 followed by the aggregate of fields 2 and 3.
{print $1,$2+$3}
chen 26 3 juniper gus 20 19 amber ivan 9 17 birch gus 6 23 harbor jules 16 20 grove gus 4 20 juniper
chen 29 gus 39 ivan 26 gus 29 jules 36 gus 24
hana 26 26 grove eli 26 11 grove lina 7 27 juniper dina 23 20 cobalt gus 4 8 delta bruno 13 27 fable bruno 12 25 indigo
hana 52 eli 37 lina 34 dina 43 gus 12 bruno 40 bruno 37
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051226
qwen/qwen3.7-plus
awkweave-0051227
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
alice 29 kim 18 ivan 30 gus 4 jules 15 ivan 5 eli 1
alice pass kim fail ivan pass gus fail jules fail ivan fail eli fail
ivan 30 chen 7 ivan 25 chen 4 bruno 23 bruno 20 lina 27 gus 23
ivan pass chen fail ivan pass chen fail bruno pass bruno pass lina pass gus pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051227-p1
Output column 1 with 'pass' if column 2 is 20 or greater; otherwise, output 'fail'.
{print $1,($2>=20?"pass":"fail")}
alice 29 kim 18 ivan 30 gus 4 jules 15 ivan 5 eli 1
alice pass kim fail ivan pass gus fail jules fail ivan fail eli fail
ivan 30 chen 7 ivan 25 chen 4 bruno 23 bruno 20 lina 27 gus 23
ivan pass chen fail ivan pass chen fail bruno pass bruno pass lina pass gus pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051227
qwen/qwen3.7-plus
awkweave-0051228
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno harbor 58 eli juniper 69 hana cobalt 39 kim harbor 38 hana amber 63 ivan birch 114 bruno delta 40 ivan birch 88 lina delta 116 eli grove 24
BRUNO ELI HANA KIM HANA IVAN BRUNO IVAN LINA ELI
dina juniper 47 farah birch 53 eli cobalt 89 kim juniper 5 alice amber 8 gus amber 72
DINA FARAH ELI KIM ALICE GUS
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051228-p1
Transform column 1 to uppercase letters and print exclusively that column.
{print toupper($1)}
bruno harbor 58 eli juniper 69 hana cobalt 39 kim harbor 38 hana amber 63 ivan birch 114 bruno delta 40 ivan birch 88 lina delta 116 eli grove 24
BRUNO ELI HANA KIM HANA IVAN BRUNO IVAN LINA ELI
dina juniper 47 farah birch 53 eli cobalt 89 kim juniper 5 alice amber 8 gus amber 72
DINA FARAH ELI KIM ALICE GUS
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051228
qwen/qwen3.7-plus
awkweave-0051229
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
grove 4 birch 65 indigo 117 grove 69 delta 92 delta 113 amber 92 harbor 94
gro bir ind gro del del amb har
delta 37 ember 1 juniper 97 amber 55 indigo 97 fable 113 indigo 24 amber 112 delta 10
del emb jun amb ind fab ind amb del
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051229-p1
Extract and print the first 3 characters from column 1, beginning at position 1.
{print substr($1,1,3)}
grove 4 birch 65 indigo 117 grove 69 delta 92 delta 113 amber 92 harbor 94
gro bir ind gro del del amb har
delta 37 ember 1 juniper 97 amber 55 indigo 97 fable 113 indigo 24 amber 112 delta 10
del emb jun amb ind fab ind amb del
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051229
qwen/qwen3.7-plus
awkweave-0051230
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_fable 109 juniper_cobalt 28 indigo_amber 88 birch_cobalt 109 grove_indigo 83 delta_juniper 17 fable_fable 1 harbor_birch 25 birch_fable 87 juniper_delta 45
birch fable juniper cobalt indigo amber birch cobalt grove indigo delta juniper fable fable harbor birch birch fable juniper delta
juniper_grove 69 juniper_amber 68 harbor_amber 99 grove_juniper 64 indigo_harbor 1 amber_ember 14 delta_delta 68
juniper grove juniper amber harbor amber grove juniper indigo harbor amber ember delta delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051230-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_fable 109 juniper_cobalt 28 indigo_amber 88 birch_cobalt 109 grove_indigo 83 delta_juniper 17 fable_fable 1 harbor_birch 25 birch_fable 87 juniper_delta 45
birch fable juniper cobalt indigo amber birch cobalt grove indigo delta juniper fable fable harbor birch birch fable juniper delta
juniper_grove 69 juniper_amber 68 harbor_amber 99 grove_juniper 64 indigo_harbor 1 amber_ember 14 delta_delta 68
juniper grove juniper amber harbor amber grove juniper indigo harbor amber ember delta delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051230
qwen/qwen3.7-plus
awkweave-0051231
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 fable 14 ready alice harbor 61 active hana ember 87 closed ivan harbor 78 paused gus ember 57 paused gus juniper 73 paused chen cobalt 17 active farah juniper 68 closed kim fable 48 paused
ready 14 fable dina active 61 harbor alice closed 87 ember hana paused 78 harbor ivan paused 57 ember gus paused 73 juniper gus active 17 cobalt chen closed 68 juniper farah paused 48 fable kim
chen juniper 83 paused ivan indigo 118 active hana grove 10 closed chen indigo 119 failed chen delta 84 pending dina birch 27 paused farah ember 76 pending kim harbor 119 active
paused 83 juniper chen active 118 indigo ivan closed 10 grove hana failed 119 indigo chen pending 84 delta chen paused 27 birch dina pending 76 ember farah active 119 harbor kim
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051231-p1
Invert the sequence of fields on each line and print the entire set of fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina fable 14 ready alice harbor 61 active hana ember 87 closed ivan harbor 78 paused gus ember 57 paused gus juniper 73 paused chen cobalt 17 active farah juniper 68 closed kim fable 48 paused
ready 14 fable dina active 61 harbor alice closed 87 ember hana paused 78 harbor ivan paused 57 ember gus paused 73 juniper gus active 17 cobalt chen closed 68 juniper farah paused 48 fable kim
chen juniper 83 paused ivan indigo 118 active hana grove 10 closed chen indigo 119 failed chen delta 84 pending dina birch 27 paused farah ember 76 pending kim harbor 119 active
paused 83 juniper chen active 118 indigo ivan closed 10 grove hana failed 119 indigo chen pending 84 delta chen paused 27 birch dina pending 76 ember farah active 119 harbor kim
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051231
qwen/qwen3.7-plus
awkweave-0051232
Print the number of whitespace-separated fields on each line.
{print NF}
eli cobalt 39 closed jules cobalt 109 failed bruno fable 43 active jules grove 91 paused dina grove 90 failed hana grove 16 paused eli indigo 58 paused
4 4 4 4 4 4 4
alice cobalt 57 active eli birch 78 active farah grove 7 active farah grove 1 ready ivan ember 17 closed lina delta 52 active hana indigo 16 paused eli delta 61 failed kim indigo 101 pending alice fable 11 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051232-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
eli cobalt 39 closed jules cobalt 109 failed bruno fable 43 active jules grove 91 paused dina grove 90 failed hana grove 16 paused eli indigo 58 paused
4 4 4 4 4 4 4
alice cobalt 57 active eli birch 78 active farah grove 7 active farah grove 1 ready ivan ember 17 closed lina delta 52 active hana indigo 16 paused eli delta 61 failed kim indigo 101 pending alice fable 11 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051232
qwen/qwen3.7-plus
awkweave-0051233
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice alpha 27 gus alpha 0 bruno gamma 16 alice delta 53 farah gamma 110 dina beta 32
alpha 2 gamma 2 delta 1 beta 1
bruno beta 106 jules beta 118 farah beta 16 eli gamma 91 hana gamma 87 bruno beta 53 farah delta 14 ivan alpha 60 eli delta 81 chen gamma 14
beta 4 gamma 3 delta 2 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051233-p1
Tally the number of records for every distinct value in column 2, listing each value and its frequency in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice alpha 27 gus alpha 0 bruno gamma 16 alice delta 53 farah gamma 110 dina beta 32
alpha 2 gamma 2 delta 1 beta 1
bruno beta 106 jules beta 118 farah beta 16 eli gamma 91 hana gamma 87 bruno beta 53 farah delta 14 ivan alpha 60 eli delta 81 chen gamma 14
beta 4 gamma 3 delta 2 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051233
qwen/qwen3.7-plus
awkweave-0051234
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli beta 9 alice delta 22 alice delta 25 eli alpha 20 farah gamma 27 hana alpha 14 hana alpha 23
beta 9 delta 47 alpha 57 gamma 27
kim gamma 21 alice gamma 8 kim delta 15 gus beta 12 eli beta 9 alice alpha 19 jules delta 8 lina delta 14
gamma 29 delta 37 beta 21 alpha 19
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051234-p1
Calculate the sum of column 3 grouped by categories in column 2, presenting the groups in the order of their first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli beta 9 alice delta 22 alice delta 25 eli alpha 20 farah gamma 27 hana alpha 14 hana alpha 23
beta 9 delta 47 alpha 57 gamma 27
kim gamma 21 alice gamma 8 kim delta 15 gus beta 12 eli beta 9 alice alpha 19 jules delta 8 lina delta 14
gamma 29 delta 37 beta 21 alpha 19
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051234
qwen/qwen3.7-plus
awkweave-0051235
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 juniper 114 gamma amber 108 beta indigo 10 alpha birch 60 beta juniper 56 gamma harbor 33 delta juniper 74
delta 2 gamma 2 beta 2
alpha ember 12 beta fable 66 beta juniper 86 alpha birch 35 gamma indigo 81 beta delta 11 alpha grove 109 beta cobalt 27 gamma cobalt 69 gamma amber 119
alpha 3 beta 4 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051235-p1
List each duplicate value from column 1 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 juniper 114 gamma amber 108 beta indigo 10 alpha birch 60 beta juniper 56 gamma harbor 33 delta juniper 74
delta 2 gamma 2 beta 2
alpha ember 12 beta fable 66 beta juniper 86 alpha birch 35 gamma indigo 81 beta delta 11 alpha grove 109 beta cobalt 27 gamma cobalt 69 gamma amber 119
alpha 3 beta 4 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051235
qwen/qwen3.7-plus
awkweave-0051236
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state record_id region score r001 dina 12 closed r002 eli 20 pending r003 lina 27 pending r004 farah 21 pending r005 kim 21 pending r006 gus 9 pending r007 chen 12 ready
12 20 27 21 21 9 12
state record_id region score r001 jules 5 paused r002 jules 6 failed r003 lina 14 ready r004 ivan 1 pending r005 gus 30 active r006 chen 15 paused r007 alice 11 pending r008 farah 15 failed r009 farah 18 failed r010 chen 12 pending
5 6 14 1 30 15 11 15 18 12
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051236-p1
Skip the header row and output the region column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state record_id region score r001 dina 12 closed r002 eli 20 pending r003 lina 27 pending r004 farah 21 pending r005 kim 21 pending r006 gus 9 pending r007 chen 12 ready
12 20 27 21 21 9 12
state record_id region score r001 jules 5 paused r002 jules 6 failed r003 lina 14 ready r004 ivan 1 pending r005 gus 30 active r006 chen 15 paused r007 alice 11 pending r008 farah 15 failed r009 farah 18 failed r010 chen 12 pending
5 6 14 1 30 15 11 15 18 12
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051236
qwen/qwen3.7-plus
awkweave-0051237
The first row is a header. Print display_name for data rows whose score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 alice 25 closed r002 bruno 23 paused r003 eli 5 closed r004 chen 30 pending r005 lina 22 failed r006 lina 17 paused r007 lina 7 ready
alice bruno chen lina lina
record_id display_name score state r001 farah 6 failed r002 hana 23 closed r003 alice 17 closed r004 farah 26 active r005 farah 9 active r006 chen 1 closed r007 chen 6 active r008 ivan 22 ready
hana alice farah farah ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051237-p1
Ignore the header, then print the display_name for any data row where the score is strictly greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 alice 25 closed r002 bruno 23 paused r003 eli 5 closed r004 chen 30 pending r005 lina 22 failed r006 lina 17 paused r007 lina 7 ready
alice bruno chen lina lina
record_id display_name score state r001 farah 6 failed r002 hana 23 closed r003 alice 17 closed r004 farah 26 active r005 farah 9 active r006 chen 1 closed r007 chen 6 active r008 ivan 22 ready
hana alice farah farah ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051237
qwen/qwen3.7-plus
awkweave-0051238
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
alice 23 active bruno 2 failed chen 21 pending eli 4 pending lina 29 ready ivan 3 pending jules 28 failed gus 1 failed jules 8 ready chen 28 failed
alice bruno chen eli lina ivan jules gus jules chen
ivan 24 failed ivan 21 paused alice 27 paused alice 7 active dina 12 paused ivan 13 active alice 18 active chen 3 failed ivan 7 failed lina 30 ready
ivan ivan alice alice dina ivan alice chen ivan lina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051238-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
alice 23 active bruno 2 failed chen 21 pending eli 4 pending lina 29 ready ivan 3 pending jules 28 failed gus 1 failed jules 8 ready chen 28 failed
alice bruno chen eli lina ivan jules gus jules chen
ivan 24 failed ivan 21 paused alice 27 paused alice 7 active dina 12 paused ivan 13 active alice 18 active chen 3 failed ivan 7 failed lina 30 ready
ivan ivan alice alice dina ivan alice chen ivan lina
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051238
qwen/qwen3.7-plus
awkweave-0051239
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
jules,21,active ivan,4,paused chen,28,pending eli,13,active jules,14,closed bruno,15,paused
jules chen
dina,16,paused jules,28,failed lina,20,ready bruno,27,closed kim,20,ready eli,2,closed gus,20,paused chen,24,pending ivan,2,pending
dina jules lina bruno kim gus chen
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051239-p1
For simple comma-separated input without quoted commas, print the first column only if the second column value is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
jules,21,active ivan,4,paused chen,28,pending eli,13,active jules,14,closed bruno,15,paused
jules chen
dina,16,paused jules,28,failed lina,20,ready bruno,27,closed kim,20,ready eli,2,closed gus,20,paused chen,24,pending ivan,2,pending
dina jules lina bruno kim gus chen
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051239
qwen/qwen3.7-plus
awkweave-0051240
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen delta 25 gus birch 21 jules harbor 107 gus harbor 30 alice grove 12 kim amber 72 alice ember 34 kim fable 33 ivan fable 68
chen delta 25 gus birch 21 jules harbor 107 gus harbor 30 alice grove 12 kim amber 72 alice ember 34 kim fable 33 ivan fable 68
jules delta 87 alice juniper 26 hana amber 15 chen cobalt 87 lina indigo 59 dina cobalt 87 ivan indigo 20 bruno grove 92 chen amber 54 bruno juniper 67
jules delta 87 alice juniper 26 hana amber 15 chen cobalt 87 lina indigo 59 dina cobalt 87 ivan indigo 20 bruno grove 92 chen amber 54 bruno juniper 67
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051240-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
chen delta 25 gus birch 21 jules harbor 107 gus harbor 30 alice grove 12 kim amber 72 alice ember 34 kim fable 33 ivan fable 68
chen delta 25 gus birch 21 jules harbor 107 gus harbor 30 alice grove 12 kim amber 72 alice ember 34 kim fable 33 ivan fable 68
jules delta 87 alice juniper 26 hana amber 15 chen cobalt 87 lina indigo 59 dina cobalt 87 ivan indigo 20 bruno grove 92 chen amber 54 bruno juniper 67
jules delta 87 alice juniper 26 hana amber 15 chen cobalt 87 lina indigo 59 dina cobalt 87 ivan indigo 20 bruno grove 92 chen amber 54 bruno juniper 67
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051240
qwen/qwen3.7-plus
awkweave-0051241
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno harbor 85 closed bruno indigo 99 pending ivan amber 0 active ivan indigo 3 ready jules juniper 12 closed lina harbor 66 failed alice birch 52 paused jules amber 98 pending
bruno indigo 99 pending
gus delta 90 pending ivan amber 118 paused hana birch 10 pending lina amber 80 failed gus juniper 109 active ivan juniper 103 closed gus ember 116 failed jules amber 33 closed
ivan juniper 103 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051241-p1
Identify and print the longest line from the input; in case of a tie in length, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
bruno harbor 85 closed bruno indigo 99 pending ivan amber 0 active ivan indigo 3 ready jules juniper 12 closed lina harbor 66 failed alice birch 52 paused jules amber 98 pending
bruno indigo 99 pending
gus delta 90 pending ivan amber 118 paused hana birch 10 pending lina amber 80 failed gus juniper 109 active ivan juniper 103 closed gus ember 116 failed jules amber 33 closed
ivan juniper 103 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051241
qwen/qwen3.7-plus
awkweave-0051242
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
ivan 38 ivan 102 kim 61 chen 114 lina 80 chen 29 chen 72 lina 102
kim 61 chen 29
lina 31 ivan 73 farah 8 jules 30 ivan 65 ivan 84 bruno 35 bruno 16 eli 21
farah 8 ivan 84 eli 21
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051242-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
ivan 38 ivan 102 kim 61 chen 114 lina 80 chen 29 chen 72 lina 102
kim 61 chen 29
lina 31 ivan 73 farah 8 jules 30 ivan 65 ivan 84 bruno 35 bruno 16 eli 21
farah 8 ivan 84 eli 21
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051242
qwen/qwen3.7-plus
awkweave-0051243
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 11 gamma cobalt 37 gamma ember 91 delta ember 81 alpha cobalt 57 beta fable 113 delta delta 107 delta harbor 104 beta juniper 83
4
gamma juniper 84 delta juniper 116 delta amber 109 delta juniper 50 beta ember 45 beta birch 46 beta amber 46 delta indigo 71
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051243-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 11 gamma cobalt 37 gamma ember 91 delta ember 81 alpha cobalt 57 beta fable 113 delta delta 107 delta harbor 104 beta juniper 83
4
gamma juniper 84 delta juniper 116 delta amber 109 delta juniper 50 beta ember 45 beta birch 46 beta amber 46 delta indigo 71
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051243
qwen/qwen3.7-plus
awkweave-0051244
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 3 0 alice 18 13 jules 16 16 bruno 14 13 eli 22 24 farah 24 7 ivan 9 17
alice 1.38 jules 1.00 bruno 1.08 eli 0.92 farah 3.43 ivan 0.53
dina 3 0 farah 22 20 hana 23 29 farah 9 17 eli 24 12 dina 16 11
farah 1.10 hana 0.79 farah 0.53 eli 2.00 dina 1.45
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051244-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 3 0 alice 18 13 jules 16 16 bruno 14 13 eli 22 24 farah 24 7 ivan 9 17
alice 1.38 jules 1.00 bruno 1.08 eli 0.92 farah 3.43 ivan 0.53
dina 3 0 farah 22 20 hana 23 29 farah 9 17 eli 24 12 dina 16 11
farah 1.10 hana 0.79 farah 0.53 eli 2.00 dina 1.45
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051244
qwen/qwen3.7-plus
awkweave-0051245
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]}
kim cobalt 19 eli grove 10 kim ember 1 bruno grove 15 hana ember 14 jules birch 11
kim cobalt 19 bruno grove 15 hana ember 14
farah indigo 4 bruno grove 1 chen amber 16 farah harbor 14 gus indigo 25 farah indigo 5 farah birch 17 lina ember 16
gus indigo 25 farah birch 17 chen amber 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051245-p1
Select the top three records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim cobalt 19 eli grove 10 kim ember 1 bruno grove 15 hana ember 14 jules birch 11
kim cobalt 19 bruno grove 15 hana ember 14
farah indigo 4 bruno grove 1 chen amber 16 farah harbor 14 gus indigo 25 farah indigo 5 farah birch 17 lina ember 16
gus indigo 25 farah birch 17 chen amber 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051245
qwen/qwen3.7-plus
awkweave-0051246
For each line, output fields 3 and 1, in that order.
{print $3, $1}
failed hana fable 107 closed farah juniper 109 ready eli harbor 42 active eli delta 60 closed dina harbor 26 ready dina birch 101 ready eli indigo 64 pending hana ember 32 failed hana birch 45
fable failed juniper closed harbor ready delta active harbor closed birch ready indigo ready ember pending birch failed
ready eli amber 88 active farah amber 85 ready lina indigo 6 closed ivan juniper 106 pending eli birch 54 paused hana cobalt 76
amber ready amber active indigo ready juniper closed birch pending cobalt paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051246-p1
For every line, rearrange and print the fields such that field 3 comes first, followed by field 1.
{print $3, $1}
failed hana fable 107 closed farah juniper 109 ready eli harbor 42 active eli delta 60 closed dina harbor 26 ready dina birch 101 ready eli indigo 64 pending hana ember 32 failed hana birch 45
fable failed juniper closed harbor ready delta active harbor closed birch ready indigo ready ember pending birch failed
ready eli amber 88 active farah amber 85 ready lina indigo 6 closed ivan juniper 106 pending eli birch 54 paused hana cobalt 76
amber ready amber active indigo ready juniper closed birch pending cobalt paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051246
qwen/qwen3.7-plus
awkweave-0051247
Print the last field of every input line.
{print $NF}
delta 34 juniper 70 closed farah ember 70 ember 98 paused chen juniper 58 delta 88 active gus grove 31 fable 103 ready jules ember 92 juniper 38 closed bruno cobalt 52 fable 0 active lina indigo 61 amber 13 paused bruno grove 5 cobalt 56 ready chen
farah chen gus jules bruno lina bruno chen
birch 44 delta 11 ready gus amber 48 delta 55 ready dina birch 85 cobalt 2 failed gus indigo 85 birch 51 pending alice indigo 40 amber 5 active hana juniper 102 ember 42 pending bruno indigo 111 ember 113 ready eli juniper 87 grove 104 failed dina indigo 60 birch 24 pending kim birch 97 birch 120 failed jules
gus dina gus alice hana bruno eli dina kim jules
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051247-p1
Extract and print the final field from each line of the input.
{print $NF}
delta 34 juniper 70 closed farah ember 70 ember 98 paused chen juniper 58 delta 88 active gus grove 31 fable 103 ready jules ember 92 juniper 38 closed bruno cobalt 52 fable 0 active lina indigo 61 amber 13 paused bruno grove 5 cobalt 56 ready chen
farah chen gus jules bruno lina bruno chen
birch 44 delta 11 ready gus amber 48 delta 55 ready dina birch 85 cobalt 2 failed gus indigo 85 birch 51 pending alice indigo 40 amber 5 active hana juniper 102 ember 42 pending bruno indigo 111 ember 113 ready eli juniper 87 grove 104 failed dina indigo 60 birch 24 pending kim birch 97 birch 120 failed jules
gus dina gus alice hana bruno eli dina kim jules
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051247
qwen/qwen3.7-plus
awkweave-0051248
Print the complete records where column 1 is at most 45.
$1 <= 45
43 ready pending 95 ready paused 19 ready closed 66 closed failed 52 ready pending 38 failed failed 23 failed failed 30 paused ready 24 failed ready 20 ready paused
43 ready pending 19 ready closed 38 failed failed 23 failed failed 30 paused ready 24 failed ready 20 ready paused
14 paused closed 78 failed closed 74 paused paused 28 ready closed 97 closed active 7 failed closed
14 paused closed 28 ready closed 7 failed closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051248-p1
Output full records where the value in the first column is less than or equal to 45.
$1 <= 45
43 ready pending 95 ready paused 19 ready closed 66 closed failed 52 ready pending 38 failed failed 23 failed failed 30 paused ready 24 failed ready 20 ready paused
43 ready pending 19 ready closed 38 failed failed 23 failed failed 30 paused ready 24 failed ready 20 ready paused
14 paused closed 78 failed closed 74 paused paused 28 ready closed 97 closed active 7 failed closed
14 paused closed 28 ready closed 7 failed closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051248
qwen/qwen3.7-plus
awkweave-0051249
Show whole lines whose 1st field is between 6 and 18, inclusive.
$1 >= 6 && $1 <= 18
27 paused paused ready 9 pending active paused 22 pending failed closed 6 ready paused ready 12 ready pending pending 26 ready closed failed 22 closed closed failed 14 pending ready ready 30 failed paused active
9 pending active paused 6 ready paused ready 12 ready pending pending 14 pending ready ready
20 closed active active 5 pending pending active 1 ready failed active 5 ready pending ready 9 pending failed closed 16 failed pending closed 1 ready ready ready 4 active paused paused 22 pending ready paused
9 pending failed closed 16 failed pending closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051249-p1
Display entire lines where the first field falls within the inclusive range of 6 to 18.
$1 >= 6 && $1 <= 18
27 paused paused ready 9 pending active paused 22 pending failed closed 6 ready paused ready 12 ready pending pending 26 ready closed failed 22 closed closed failed 14 pending ready ready 30 failed paused active
9 pending active paused 6 ready paused ready 12 ready pending pending 14 pending ready ready
20 closed active active 5 pending pending active 1 ready failed active 5 ready pending ready 9 pending failed closed 16 failed pending closed 1 ready ready ready 4 active paused paused 22 pending ready paused
9 pending failed closed 16 failed pending closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051249
qwen/qwen3.7-plus
awkweave-0051250
Print column 1 only for rows where column 3 is exactly active.
$3 == "active"{print $1}
gus indigo active 50 hana harbor paused 15 ivan indigo failed 65 farah fable paused 9 alice grove ready 16 gus birch closed 31 farah indigo pending 13 ivan cobalt failed 78
gus
kim delta ready 43 kim amber closed 116 farah delta failed 36 gus juniper paused 23 alice juniper ready 119 gus fable pending 90 farah harbor closed 77
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051250-p1
Extract and print only the first column for rows where the third column equals active.
$3 == "active"{print $1}
gus indigo active 50 hana harbor paused 15 ivan indigo failed 65 farah fable paused 9 alice grove ready 16 gus birch closed 31 farah indigo pending 13 ivan cobalt failed 78
gus
kim delta ready 43 kim amber closed 116 farah delta failed 36 gus juniper paused 23 alice juniper ready 119 gus fable pending 90 farah harbor closed 77
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051250
qwen/qwen3.7-plus
awkweave-0051251
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO grove 54 WARN harbor 18 DEBUG indigo 17 DEBUG birch 108 ERROR juniper 2 ERROR grove 25
INFO grove 54
INFO delta 22 WARN delta 101 DEBUG grove 30 ERROR delta 95 WARN indigo 7 INFO birch 2 DEBUG cobalt 6
INFO delta 22 INFO birch 2
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051251-p1
Print all fields from lines where the first field starts with the prefix INFO.
$1 ~ /^INFO/
INFO grove 54 WARN harbor 18 DEBUG indigo 17 DEBUG birch 108 ERROR juniper 2 ERROR grove 25
INFO grove 54
INFO delta 22 WARN delta 101 DEBUG grove 30 ERROR delta 95 WARN indigo 7 INFO birch 2 DEBUG cobalt 6
INFO delta 22 INFO birch 2
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051251
qwen/qwen3.7-plus
awkweave-0051252
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
birch 120 ready cobalt 98 closed delta 56 pending amber 58 pending birch 74 active indigo 82 active ember 5 closed harbor 999 active
birch 120 ready cobalt 98 closed delta 56 pending amber 58 pending birch 74 active indigo 82 active ember 5 closed
grove 49 paused birch 18 closed birch 12 ready juniper 92 ready birch 92 pending juniper 15 failed cobalt 5 pending fable 116 closed cobalt 27 paused amber 12 failed harbor 999 active
grove 49 paused birch 18 closed birch 12 ready juniper 92 ready birch 92 pending juniper 15 failed cobalt 5 pending fable 116 closed cobalt 27 paused amber 12 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051252-p1
Output every line that does not contain the exact string harbor.
$0 !~ /harbor/
birch 120 ready cobalt 98 closed delta 56 pending amber 58 pending birch 74 active indigo 82 active ember 5 closed harbor 999 active
birch 120 ready cobalt 98 closed delta 56 pending amber 58 pending birch 74 active indigo 82 active ember 5 closed
grove 49 paused birch 18 closed birch 12 ready juniper 92 ready birch 92 pending juniper 15 failed cobalt 5 pending fable 116 closed cobalt 27 paused amber 12 failed harbor 999 active
grove 49 paused birch 18 closed birch 12 ready juniper 92 ready birch 92 pending juniper 15 failed cobalt 5 pending fable 116 closed cobalt 27 paused amber 12 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051252
qwen/qwen3.7-plus
awkweave-0051253
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
chen juniper 104 dina delta 62 kim delta 52 dina juniper 93 lina birch 29 chen ember 44 kim cobalt 27 eli amber 6 bruno juniper 54 dina fable 20
dina delta 62 kim delta 52 dina juniper 93 lina birch 29
lina indigo 3 ivan cobalt 78 kim indigo 21 jules delta 112 ivan fable 50 ivan harbor 117 jules indigo 15
ivan cobalt 78 kim indigo 21 jules delta 112 ivan fable 50
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051253-p1
Print lines numbered 2 through 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
chen juniper 104 dina delta 62 kim delta 52 dina juniper 93 lina birch 29 chen ember 44 kim cobalt 27 eli amber 6 bruno juniper 54 dina fable 20
dina delta 62 kim delta 52 dina juniper 93 lina birch 29
lina indigo 3 ivan cobalt 78 kim indigo 21 jules delta 112 ivan fable 50 ivan harbor 117 jules indigo 15
ivan cobalt 78 kim indigo 21 jules delta 112 ivan fable 50
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051253
qwen/qwen3.7-plus
awkweave-0051254
Output only the first 4 records.
NR <= 4
hana 90 birch lina 75 ember alice 16 delta jules 60 harbor gus 101 juniper dina 20 birch jules 39 juniper
hana 90 birch lina 75 ember alice 16 delta jules 60 harbor
kim 22 grove eli 80 ember farah 59 birch kim 0 harbor gus 37 ember chen 113 harbor alice 115 juniper jules 90 indigo
kim 22 grove eli 80 ember farah 59 birch kim 0 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051254-p1
Output only the initial 4 records from the input.
NR <= 4
hana 90 birch lina 75 ember alice 16 delta jules 60 harbor gus 101 juniper dina 20 birch jules 39 juniper
hana 90 birch lina 75 ember alice 16 delta jules 60 harbor
kim 22 grove eli 80 ember farah 59 birch kim 0 harbor gus 37 ember chen 113 harbor alice 115 juniper jules 90 indigo
kim 22 grove eli 80 ember farah 59 birch kim 0 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051254
qwen/qwen3.7-plus
awkweave-0051255
Skip the first line and print every remaining line unchanged.
NR > 1
jules 54 delta alice 65 birch chen 34 fable gus 94 juniper bruno 26 fable kim 4 fable ivan 31 birch eli 101 fable hana 114 juniper
alice 65 birch chen 34 fable gus 94 juniper bruno 26 fable kim 4 fable ivan 31 birch eli 101 fable hana 114 juniper
eli 1 cobalt hana 2 amber chen 15 ember kim 98 grove farah 32 cobalt dina 18 indigo alice 90 indigo hana 111 cobalt ivan 104 harbor
hana 2 amber chen 15 ember kim 98 grove farah 32 cobalt dina 18 indigo alice 90 indigo hana 111 cobalt ivan 104 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051255-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
jules 54 delta alice 65 birch chen 34 fable gus 94 juniper bruno 26 fable kim 4 fable ivan 31 birch eli 101 fable hana 114 juniper
alice 65 birch chen 34 fable gus 94 juniper bruno 26 fable kim 4 fable ivan 31 birch eli 101 fable hana 114 juniper
eli 1 cobalt hana 2 amber chen 15 ember kim 98 grove farah 32 cobalt dina 18 indigo alice 90 indigo hana 111 cobalt ivan 104 harbor
hana 2 amber chen 15 ember kim 98 grove farah 32 cobalt dina 18 indigo alice 90 indigo hana 111 cobalt ivan 104 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051255
qwen/qwen3.7-plus
awkweave-0051256
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
lina ready 34 farah ready 1 alice failed 66 ivan closed 12 eli pending 32 jules pending 114 dina closed 35 hana closed 62 farah failed 50 hana active 107
3
dina failed 16 chen active 24 lina paused 93 lina failed 73 jules paused 7 ivan pending 78 lina ready 81 alice pending 13 farah active 102
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051256-p1
Count the number of records where the second column is closed, outputting 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
lina ready 34 farah ready 1 alice failed 66 ivan closed 12 eli pending 32 jules pending 114 dina closed 35 hana closed 62 farah failed 50 hana active 107
3
dina failed 16 chen active 24 lina paused 93 lina failed 73 jules paused 7 ivan pending 78 lina ready 81 alice pending 13 farah active 102
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051256
qwen/qwen3.7-plus
awkweave-0051257
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
eli 12 indigo alice 26 grove lina 30 birch farah 2 juniper dina 3 amber hana 11 ember jules 26 juniper dina 10 indigo bruno 8 fable
128
dina 15 cobalt ivan 20 ember gus 25 fable hana 29 amber bruno 26 delta lina 27 harbor
142
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051257-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
eli 12 indigo alice 26 grove lina 30 birch farah 2 juniper dina 3 amber hana 11 ember jules 26 juniper dina 10 indigo bruno 8 fable
128
dina 15 cobalt ivan 20 ember gus 25 fable hana 29 amber bruno 26 delta lina 27 harbor
142
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051257
qwen/qwen3.7-plus
awkweave-0051258
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan harbor 29 ivan birch 5 jules indigo 13 ivan indigo 7 alice cobalt 15 alice amber 10 dina juniper 1
11.43
lina harbor 5 lina amber 14 ivan indigo 5 kim delta 3 kim harbor 3 farah juniper 16 dina fable 11
8.14
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051258-p1
Calculate and print the average of the third column, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan harbor 29 ivan birch 5 jules indigo 13 ivan indigo 7 alice cobalt 15 alice amber 10 dina juniper 1
11.43
lina harbor 5 lina amber 14 ivan indigo 5 kim delta 3 kim harbor 3 farah juniper 16 dina fable 11
8.14
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051258
qwen/qwen3.7-plus
awkweave-0051259
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 12 kim harbor 23 ivan amber 27 bruno harbor 23 eli delta 24 hana harbor 21 farah
12
delta 18 alice ember 18 gus grove 7 bruno juniper 11 chen birch 16 farah ember 25 farah grove 2 dina
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051259-p1
Identify and output the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 12 kim harbor 23 ivan amber 27 bruno harbor 23 eli delta 24 hana harbor 21 farah
12
delta 18 alice ember 18 gus grove 7 bruno juniper 11 chen birch 16 farah ember 25 farah grove 2 dina
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051259
qwen/qwen3.7-plus
awkweave-0051260
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ivan 4 amber ivan 11 grove alice 29 cobalt lina 20 harbor gus 17 delta lina 19 cobalt eli 5 indigo eli 13 grove bruno 6 delta
29
hana 5 harbor jules 18 indigo farah 24 juniper farah 1 birch chen 30 cobalt lina 14 grove jules 3 ember eli 29 fable dina 29 amber
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051260-p1
Identify and output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ivan 4 amber ivan 11 grove alice 29 cobalt lina 20 harbor gus 17 delta lina 19 cobalt eli 5 indigo eli 13 grove bruno 6 delta
29
hana 5 harbor jules 18 indigo farah 24 juniper farah 1 birch chen 30 cobalt lina 14 grove jules 3 ember eli 29 fable dina 29 amber
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051260
qwen/qwen3.7-plus
awkweave-0051261
Count all input records and print the total.
END{print NR}
gus 92 bruno 16 ivan 78 alice 77 chen 17 farah 38
6
lina 106 lina 53 dina 55 alice 99 ivan 34 ivan 112 dina 14 bruno 86 lina 120
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051261-p1
Calculate the total number of input records and display the count.
END{print NR}
gus 92 bruno 16 ivan 78 alice 77 chen 17 farah 38
6
lina 106 lina 53 dina 55 alice 99 ivan 34 ivan 112 dina 14 bruno 86 lina 120
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051261
qwen/qwen3.7-plus
awkweave-0051262
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen birch 91 farah amber 97 ivan juniper 91 chen birch 91 farah ember 115 farah harbor 73 jules ember 9 jules fable 109 gus harbor 95
chen birch 91 farah amber 97 ivan juniper 91 farah ember 115 farah harbor 73 jules ember 9 jules fable 109 gus harbor 95
dina delta 52 dina ember 37 kim harbor 85 eli harbor 113 farah amber 77 hana indigo 109 kim ember 3 lina grove 9 kim harbor 85 hana harbor 28
dina delta 52 dina ember 37 kim harbor 85 eli harbor 113 farah amber 77 hana indigo 109 kim ember 3 lina grove 9 hana harbor 28
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051262-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
chen birch 91 farah amber 97 ivan juniper 91 chen birch 91 farah ember 115 farah harbor 73 jules ember 9 jules fable 109 gus harbor 95
chen birch 91 farah amber 97 ivan juniper 91 farah ember 115 farah harbor 73 jules ember 9 jules fable 109 gus harbor 95
dina delta 52 dina ember 37 kim harbor 85 eli harbor 113 farah amber 77 hana indigo 109 kim ember 3 lina grove 9 kim harbor 85 hana harbor 28
dina delta 52 dina ember 37 kim harbor 85 eli harbor 113 farah amber 77 hana indigo 109 kim ember 3 lina grove 9 hana harbor 28
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051262
qwen/qwen3.7-plus
awkweave-0051263
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
lina juniper 65 jules indigo 63 alice juniper 4 gus birch 13 farah harbor 106 chen fable 72
lina juniper 65 jules indigo 63 alice juniper 4 gus birch 13 farah harbor 106 chen fable 72
alice ember 27 jules cobalt 1 bruno delta 5 ivan indigo 69 dina grove 88 gus indigo 6 chen ember 71
alice ember 27 jules cobalt 1 bruno delta 5 ivan indigo 69 dina grove 88 gus indigo 6 chen ember 71
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051263-p1
Retain only the initial line for every unique value in the first column, keeping the input order intact.
!seen[$1]++
lina juniper 65 jules indigo 63 alice juniper 4 gus birch 13 farah harbor 106 chen fable 72
lina juniper 65 jules indigo 63 alice juniper 4 gus birch 13 farah harbor 106 chen fable 72
alice ember 27 jules cobalt 1 bruno delta 5 ivan indigo 69 dina grove 88 gus indigo 6 chen ember 71
alice ember 27 jules cobalt 1 bruno delta 5 ivan indigo 69 dina grove 88 gus indigo 6 chen ember 71
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051263
qwen/qwen3.7-plus
awkweave-0051264
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 2 ember bruno 28 cobalt kim 28 juniper chen 20 cobalt lina 7 juniper eli 29 ember hana 24 cobalt hana 5 juniper dina 13 harbor bruno 15 amber
jules 2 bruno 30 kim 58 chen 78 lina 85 eli 114 hana 138 hana 143 dina 156 bruno 171
alice 26 cobalt chen 3 juniper farah 16 grove jules 17 harbor lina 20 cobalt chen 6 grove dina 2 juniper gus 2 juniper lina 20 delta jules 1 fable
alice 26 chen 29 farah 45 jules 62 lina 82 chen 88 dina 90 gus 92 lina 112 jules 113
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051264-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
jules 2 ember bruno 28 cobalt kim 28 juniper chen 20 cobalt lina 7 juniper eli 29 ember hana 24 cobalt hana 5 juniper dina 13 harbor bruno 15 amber
jules 2 bruno 30 kim 58 chen 78 lina 85 eli 114 hana 138 hana 143 dina 156 bruno 171
alice 26 cobalt chen 3 juniper farah 16 grove jules 17 harbor lina 20 cobalt chen 6 grove dina 2 juniper gus 2 juniper lina 20 delta jules 1 fable
alice 26 chen 29 farah 45 jules 62 lina 82 chen 88 dina 90 gus 92 lina 112 jules 113
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051264
qwen/qwen3.7-plus
awkweave-0051265
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 26 27 cobalt bruno 24 28 delta kim 6 15 juniper jules 29 2 amber ivan 7 5 delta kim 10 1 cobalt jules 8 17 ember
dina 53 bruno 52 kim 21 jules 31 ivan 12 kim 11 jules 25
alice 10 1 birch kim 20 22 amber hana 28 14 ember alice 29 25 ember kim 3 14 grove gus 29 5 ember bruno 25 28 juniper
alice 11 kim 42 hana 42 alice 54 kim 17 gus 34 bruno 53
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051265-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
dina 26 27 cobalt bruno 24 28 delta kim 6 15 juniper jules 29 2 amber ivan 7 5 delta kim 10 1 cobalt jules 8 17 ember
dina 53 bruno 52 kim 21 jules 31 ivan 12 kim 11 jules 25
alice 10 1 birch kim 20 22 amber hana 28 14 ember alice 29 25 ember kim 3 14 grove gus 29 5 ember bruno 25 28 juniper
alice 11 kim 42 hana 42 alice 54 kim 17 gus 34 bruno 53
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051265
qwen/qwen3.7-plus
awkweave-0051266
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
alice 15 dina 21 farah 14 kim 3 gus 29 kim 5 dina 29 chen 10
alice fail dina pass farah fail kim fail gus pass kim fail dina pass chen fail
eli 4 hana 11 gus 12 alice 19 gus 6 farah 22 gus 11 kim 25
eli fail hana fail gus fail alice fail gus fail farah pass gus fail kim pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051266-p1
Output the first column with 'pass' if the second column is 20 or greater, and 'fail' otherwise.
{print $1,($2>=20?"pass":"fail")}
alice 15 dina 21 farah 14 kim 3 gus 29 kim 5 dina 29 chen 10
alice fail dina pass farah fail kim fail gus pass kim fail dina pass chen fail
eli 4 hana 11 gus 12 alice 19 gus 6 farah 22 gus 11 kim 25
eli fail hana fail gus fail alice fail gus fail farah pass gus fail kim pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051266
qwen/qwen3.7-plus
awkweave-0051267
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
gus indigo 17 dina cobalt 21 farah juniper 27 farah birch 115 farah harbor 73 hana indigo 9 chen fable 54 hana indigo 89 dina grove 120 bruno grove 35
GUS DINA FARAH FARAH FARAH HANA CHEN HANA DINA BRUNO
farah amber 23 kim grove 63 bruno cobalt 108 eli ember 40 hana birch 47 bruno amber 47 hana amber 100 farah harbor 67
FARAH KIM BRUNO ELI HANA BRUNO HANA FARAH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051267-p1
Transform the first column to uppercase letters and print only that modified column.
{print toupper($1)}
gus indigo 17 dina cobalt 21 farah juniper 27 farah birch 115 farah harbor 73 hana indigo 9 chen fable 54 hana indigo 89 dina grove 120 bruno grove 35
GUS DINA FARAH FARAH FARAH HANA CHEN HANA DINA BRUNO
farah amber 23 kim grove 63 bruno cobalt 108 eli ember 40 hana birch 47 bruno amber 47 hana amber 100 farah harbor 67
FARAH KIM BRUNO ELI HANA BRUNO HANA FARAH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051267
qwen/qwen3.7-plus
awkweave-0051268
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
juniper 39 delta 68 cobalt 106 grove 62 grove 82 delta 117 delta 6
uni elt oba rov rov elt elt
juniper 88 harbor 0 juniper 84 grove 113 juniper 32 juniper 80 cobalt 113 amber 79 amber 100 delta 10
uni arb uni rov uni uni oba mbe mbe elt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051268-p1
Extract and print a substring of 3 characters from the first column, beginning at the second character position.
{print substr($1,2,3)}
juniper 39 delta 68 cobalt 106 grove 62 grove 82 delta 117 delta 6
uni elt oba rov rov elt elt
juniper 88 harbor 0 juniper 84 grove 113 juniper 32 juniper 80 cobalt 113 amber 79 amber 100 delta 10
uni arb uni rov uni uni oba mbe mbe elt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051268
qwen/qwen3.7-plus
awkweave-0051269
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_harbor 24 amber_delta 17 birch_harbor 18 cobalt_delta 82 grove_indigo 10 juniper_amber 104 delta_cobalt 83
ember harbor amber delta birch harbor cobalt delta grove indigo juniper amber delta cobalt
ember_cobalt 53 grove_amber 19 indigo_birch 46 ember_delta 15 delta_birch 24 delta_delta 78
ember cobalt grove amber indigo birch ember delta delta birch delta delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051269-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_harbor 24 amber_delta 17 birch_harbor 18 cobalt_delta 82 grove_indigo 10 juniper_amber 104 delta_cobalt 83
ember harbor amber delta birch harbor cobalt delta grove indigo juniper amber delta cobalt
ember_cobalt 53 grove_amber 19 indigo_birch 46 ember_delta 15 delta_birch 24 delta_delta 78
ember cobalt grove amber indigo birch ember delta delta birch delta delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051269
qwen/qwen3.7-plus
awkweave-0051270
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim harbor 34 paused jules cobalt 10 active chen fable 2 ready kim amber 0 paused farah harbor 29 pending hana grove 95 closed
paused 34 harbor kim active 10 cobalt jules ready 2 fable chen paused 0 amber kim pending 29 harbor farah closed 95 grove hana
alice amber 97 pending eli grove 18 paused ivan delta 114 closed eli harbor 78 pending ivan amber 87 paused ivan harbor 57 paused ivan delta 106 paused lina harbor 40 failed hana delta 86 failed dina delta 47 failed
pending 97 amber alice paused 18 grove eli closed 114 delta ivan pending 78 harbor eli paused 87 amber ivan paused 57 harbor ivan paused 106 delta ivan failed 40 harbor lina failed 86 delta hana failed 47 delta dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051270-p1
Reverse the sequence of fields for every line and print all resulting fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim harbor 34 paused jules cobalt 10 active chen fable 2 ready kim amber 0 paused farah harbor 29 pending hana grove 95 closed
paused 34 harbor kim active 10 cobalt jules ready 2 fable chen paused 0 amber kim pending 29 harbor farah closed 95 grove hana
alice amber 97 pending eli grove 18 paused ivan delta 114 closed eli harbor 78 pending ivan amber 87 paused ivan harbor 57 paused ivan delta 106 paused lina harbor 40 failed hana delta 86 failed dina delta 47 failed
pending 97 amber alice paused 18 grove eli closed 114 delta ivan pending 78 harbor eli paused 87 amber ivan paused 57 harbor ivan paused 106 delta ivan failed 40 harbor lina failed 86 delta hana failed 47 delta dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051270
qwen/qwen3.7-plus
awkweave-0051271
Print the number of whitespace-separated fields on each line.
{print NF}
jules indigo 71 paused dina juniper 37 pending hana indigo 52 active eli fable 64 active alice amber 77 active jules amber 102 paused
4 4 4 4 4 4
bruno fable 51 ready kim grove 10 ready hana grove 85 pending eli ember 4 active chen delta 74 active farah cobalt 54 active alice delta 55 paused hana delta 107 failed hana grove 89 failed eli harbor 82 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051271-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
jules indigo 71 paused dina juniper 37 pending hana indigo 52 active eli fable 64 active alice amber 77 active jules amber 102 paused
4 4 4 4 4 4
bruno fable 51 ready kim grove 10 ready hana grove 85 pending eli ember 4 active chen delta 74 active farah cobalt 54 active alice delta 55 paused hana delta 107 failed hana grove 89 failed eli harbor 82 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051271
qwen/qwen3.7-plus
awkweave-0051272
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]]}
bruno delta 73 eli beta 85 alice gamma 74 jules gamma 51 ivan gamma 108 jules beta 117 alice alpha 84 kim beta 80 lina beta 19 gus gamma 89
delta 1 beta 4 gamma 4 alpha 1
kim delta 112 farah alpha 94 alice gamma 89 lina beta 84 gus beta 103 jules gamma 42 gus beta 48 ivan delta 44
delta 2 alpha 1 gamma 2 beta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null