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-0020331
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
5 dina amber 14 farah cobalt 30 lina cobalt 10 gus cobalt 29 alice juniper 20 gus birch 26 farah grove
19.14
6 lina grove 28 farah birch 27 farah harbor 23 dina harbor 2 chen delta 15 gus grove 8 ivan fable 5 ivan indigo
14.25
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020331-p1
Output the average of the values in column 1, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
5 dina amber 14 farah cobalt 30 lina cobalt 10 gus cobalt 29 alice juniper 20 gus birch 26 farah grove
19.14
6 lina grove 28 farah birch 27 farah harbor 23 dina harbor 2 chen delta 15 gus grove 8 ivan fable 5 ivan indigo
14.25
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020331
qwen/qwen3.7-plus
awkweave-0020332
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
kim harbor 19 kim delta 16 eli cobalt 24 gus fable 14 ivan delta 17 eli birch 11 dina amber 24 dina ember 22 dina ember 24
11
kim indigo 9 eli harbor 25 kim juniper 16 kim cobalt 7 chen birch 4 alice amber 9 dina harbor 17 hana cobalt 18 farah grove 4 hana cobalt 30
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020332-p1
Identify and display the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
kim harbor 19 kim delta 16 eli cobalt 24 gus fable 14 ivan delta 17 eli birch 11 dina amber 24 dina ember 22 dina ember 24
11
kim indigo 9 eli harbor 25 kim juniper 16 kim cobalt 7 chen birch 4 alice amber 9 dina harbor 17 hana cobalt 18 farah grove 4 hana cobalt 30
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020332
qwen/qwen3.7-plus
awkweave-0020333
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 21 ivan indigo 15 alice fable 19 ivan amber 7 dina ember 17 alice amber 7 hana delta 26 lina ember 8 bruno delta 3 eli
26
juniper 20 dina fable 25 eli harbor 3 hana indigo 27 kim harbor 2 bruno cobalt 20 kim grove 6 ivan delta 6 dina fable 9 gus grove 21 farah
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020333-p1
Identify and display the maximum numeric value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 21 ivan indigo 15 alice fable 19 ivan amber 7 dina ember 17 alice amber 7 hana delta 26 lina ember 8 bruno delta 3 eli
26
juniper 20 dina fable 25 eli harbor 3 hana indigo 27 kim harbor 2 bruno cobalt 20 kim grove 6 ivan delta 6 dina fable 9 gus grove 21 farah
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020333
qwen/qwen3.7-plus
awkweave-0020334
Count all input records and print the total.
END{print NR}
eli 82 dina 17 farah 65 chen 73 dina 115 dina 17 chen 74 gus 15 jules 117
9
gus 82 gus 68 gus 37 lina 98 bruno 98 gus 119
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020334-p1
Count the total number of input records and print the result.
END{print NR}
eli 82 dina 17 farah 65 chen 73 dina 115 dina 17 chen 74 gus 15 jules 117
9
gus 82 gus 68 gus 37 lina 98 bruno 98 gus 119
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020334
qwen/qwen3.7-plus
awkweave-0020335
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice amber 59 jules grove 69 chen cobalt 108 alice amber 59 alice amber 115 farah amber 37 kim fable 3 eli indigo 41 chen birch 52 eli ember 55
alice amber 59 jules grove 69 chen cobalt 108 alice amber 115 farah amber 37 kim fable 3 eli indigo 41 chen birch 52 eli ember 55
hana amber 46 lina harbor 26 farah indigo 23 hana delta 60 kim harbor 95 ivan ember 81 eli amber 26 hana amber 46 alice juniper 99 kim harbor 60
hana amber 46 lina harbor 26 farah indigo 23 hana delta 60 kim harbor 95 ivan ember 81 eli amber 26 alice juniper 99 kim harbor 60
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020335-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
alice amber 59 jules grove 69 chen cobalt 108 alice amber 59 alice amber 115 farah amber 37 kim fable 3 eli indigo 41 chen birch 52 eli ember 55
alice amber 59 jules grove 69 chen cobalt 108 alice amber 115 farah amber 37 kim fable 3 eli indigo 41 chen birch 52 eli ember 55
hana amber 46 lina harbor 26 farah indigo 23 hana delta 60 kim harbor 95 ivan ember 81 eli amber 26 hana amber 46 alice juniper 99 kim harbor 60
hana amber 46 lina harbor 26 farah indigo 23 hana delta 60 kim harbor 95 ivan ember 81 eli amber 26 alice juniper 99 kim harbor 60
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020335
qwen/qwen3.7-plus
awkweave-0020336
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
eli juniper 24 eli ember 85 kim delta 67 gus ember 117 dina birch 107 eli indigo 115 hana fable 91
eli juniper 24 eli ember 85 kim delta 67 dina birch 107 eli indigo 115 hana fable 91
kim cobalt 64 jules indigo 43 bruno indigo 69 lina fable 16 hana fable 92 eli indigo 6
kim cobalt 64 jules indigo 43 lina fable 16
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020336-p1
Retain only the initial line for every unique value in column 2, keeping the original input order.
!seen[$2]++
eli juniper 24 eli ember 85 kim delta 67 gus ember 117 dina birch 107 eli indigo 115 hana fable 91
eli juniper 24 eli ember 85 kim delta 67 dina birch 107 eli indigo 115 hana fable 91
kim cobalt 64 jules indigo 43 bruno indigo 69 lina fable 16 hana fable 92 eli indigo 6
kim cobalt 64 jules indigo 43 lina fable 16
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020336
qwen/qwen3.7-plus
awkweave-0020337
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 9 harbor alice 23 juniper dina 26 cobalt alice 4 ember alice 7 juniper gus 9 delta
farah 9 alice 32 dina 58 alice 62 alice 69 gus 78
hana 28 grove ivan 7 fable ivan 5 delta gus 18 birch eli 21 grove farah 29 cobalt
hana 28 ivan 35 ivan 40 gus 58 eli 79 farah 108
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020337-p1
For each entry, output the value from column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 9 harbor alice 23 juniper dina 26 cobalt alice 4 ember alice 7 juniper gus 9 delta
farah 9 alice 32 dina 58 alice 62 alice 69 gus 78
hana 28 grove ivan 7 fable ivan 5 delta gus 18 birch eli 21 grove farah 29 cobalt
hana 28 ivan 35 ivan 40 gus 58 eli 79 farah 108
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020337
qwen/qwen3.7-plus
awkweave-0020338
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 22 9 amber farah 6 1 fable chen 1 4 juniper gus 5 16 juniper eli 20 1 fable jules 27 4 fable dina 22 23 grove gus 21 18 harbor
jules 31 farah 7 chen 5 gus 21 eli 21 jules 31 dina 45 gus 39
alice 10 17 indigo lina 15 22 indigo bruno 10 7 ember kim 17 28 cobalt hana 9 15 delta hana 13 11 fable lina 23 9 birch ivan 26 16 grove alice 12 23 delta jules 10 19 delta
alice 27 lina 37 bruno 17 kim 45 hana 24 hana 24 lina 32 ivan 42 alice 35 jules 29
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020338-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 22 9 amber farah 6 1 fable chen 1 4 juniper gus 5 16 juniper eli 20 1 fable jules 27 4 fable dina 22 23 grove gus 21 18 harbor
jules 31 farah 7 chen 5 gus 21 eli 21 jules 31 dina 45 gus 39
alice 10 17 indigo lina 15 22 indigo bruno 10 7 ember kim 17 28 cobalt hana 9 15 delta hana 13 11 fable lina 23 9 birch ivan 26 16 grove alice 12 23 delta jules 10 19 delta
alice 27 lina 37 bruno 17 kim 45 hana 24 hana 24 lina 32 ivan 42 alice 35 jules 29
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020338
qwen/qwen3.7-plus
awkweave-0020339
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
kim 29 jules 4 farah 20 farah 12 kim 6 farah 7
kim pass jules fail farah fail farah fail kim fail farah fail
chen 13 hana 14 alice 7 eli 11 farah 2 eli 8 gus 2 eli 11 jules 26
chen fail hana fail alice fail eli fail farah fail eli fail gus fail eli fail jules pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020339-p1
Print the value from column 1, appending 'pass' if column 2 is 26 or greater, otherwise append 'fail'.
{print $1,($2>=26?"pass":"fail")}
kim 29 jules 4 farah 20 farah 12 kim 6 farah 7
kim pass jules fail farah fail farah fail kim fail farah fail
chen 13 hana 14 alice 7 eli 11 farah 2 eli 8 gus 2 eli 11 jules 26
chen fail hana fail alice fail eli fail farah fail eli fail gus fail eli fail jules pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020339
qwen/qwen3.7-plus
awkweave-0020340
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
hana harbor 115 alice harbor 120 hana delta 14 gus fable 46 farah grove 41 hana fable 24 lina harbor 20
HARBOR HARBOR DELTA FABLE GROVE FABLE HARBOR
ivan birch 26 ivan delta 18 bruno birch 18 kim fable 101 eli fable 67 gus birch 98 kim juniper 24 jules juniper 91 jules harbor 68
BIRCH DELTA BIRCH FABLE FABLE BIRCH JUNIPER JUNIPER HARBOR
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020340-p1
Transform the text in column 2 to uppercase and output only that modified column.
{print toupper($2)}
hana harbor 115 alice harbor 120 hana delta 14 gus fable 46 farah grove 41 hana fable 24 lina harbor 20
HARBOR HARBOR DELTA FABLE GROVE FABLE HARBOR
ivan birch 26 ivan delta 18 bruno birch 18 kim fable 101 eli fable 67 gus birch 98 kim juniper 24 jules juniper 91 jules harbor 68
BIRCH DELTA BIRCH FABLE FABLE BIRCH JUNIPER JUNIPER HARBOR
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020340
qwen/qwen3.7-plus
awkweave-0020341
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
delta 87 amber 8 amber 96 grove 6 indigo 12 delta 53
lta ber ber ove dig lta
fable 79 fable 47 ember 65 ember 104 amber 68 harbor 110 ember 109 indigo 94
ble ble ber ber ber rbo ber dig
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020341-p1
Extract and print a substring of length 3 from column 1, starting at the third character.
{print substr($1,3,3)}
delta 87 amber 8 amber 96 grove 6 indigo 12 delta 53
lta ber ber ove dig lta
fable 79 fable 47 ember 65 ember 104 amber 68 harbor 110 ember 109 indigo 94
ble ble ber ber ber rbo ber dig
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020341
qwen/qwen3.7-plus
awkweave-0020342
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_juniper 109 juniper_cobalt 78 delta_delta 53 juniper_juniper 112 cobalt_juniper 51 harbor_birch 32 harbor_birch 107 delta_amber 70
fable juniper juniper cobalt delta delta juniper juniper cobalt juniper harbor birch harbor birch delta amber
grove_ember 0 amber_amber 109 birch_ember 118 juniper_delta 77 juniper_fable 87 amber_birch 48 birch_harbor 0 amber_ember 56
grove ember amber amber birch ember juniper delta juniper fable amber birch birch harbor amber ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020342-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
fable_juniper 109 juniper_cobalt 78 delta_delta 53 juniper_juniper 112 cobalt_juniper 51 harbor_birch 32 harbor_birch 107 delta_amber 70
fable juniper juniper cobalt delta delta juniper juniper cobalt juniper harbor birch harbor birch delta amber
grove_ember 0 amber_amber 109 birch_ember 118 juniper_delta 77 juniper_fable 87 amber_birch 48 birch_harbor 0 amber_ember 56
grove ember amber amber birch ember juniper delta juniper fable amber birch birch harbor amber ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020342
qwen/qwen3.7-plus
awkweave-0020343
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)}
lina grove 8 pending alice amber 25 paused kim indigo 13 ready hana birch 91 paused eli harbor 10 pending hana juniper 17 ready
pending 8 grove lina paused 25 amber alice ready 13 indigo kim paused 91 birch hana pending 10 harbor eli ready 17 juniper hana
farah cobalt 60 closed kim amber 1 closed alice fable 110 active alice harbor 84 closed gus amber 45 failed gus harbor 90 ready
closed 60 cobalt farah closed 1 amber kim active 110 fable alice closed 84 harbor alice failed 45 amber gus ready 90 harbor gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020343-p1
Reverse the sequence of fields on each line and display every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
lina grove 8 pending alice amber 25 paused kim indigo 13 ready hana birch 91 paused eli harbor 10 pending hana juniper 17 ready
pending 8 grove lina paused 25 amber alice ready 13 indigo kim paused 91 birch hana pending 10 harbor eli ready 17 juniper hana
farah cobalt 60 closed kim amber 1 closed alice fable 110 active alice harbor 84 closed gus amber 45 failed gus harbor 90 ready
closed 60 cobalt farah closed 1 amber kim active 110 fable alice closed 84 harbor alice failed 45 amber gus ready 90 harbor gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020343
qwen/qwen3.7-plus
awkweave-0020344
Print the number of whitespace-separated fields on each line.
{print NF}
kim delta 37 paused eli juniper 87 closed hana delta 13 active hana juniper 115 failed farah amber 68 closed bruno delta 6 active ivan juniper 85 active eli amber 20 ready
4 4 4 4 4 4 4 4
kim ember 47 failed farah cobalt 82 active ivan fable 40 pending jules delta 29 failed jules amber 112 active bruno amber 65 paused
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020344-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
kim delta 37 paused eli juniper 87 closed hana delta 13 active hana juniper 115 failed farah amber 68 closed bruno delta 6 active ivan juniper 85 active eli amber 20 ready
4 4 4 4 4 4 4 4
kim ember 47 failed farah cobalt 82 active ivan fable 40 pending jules delta 29 failed jules amber 112 active bruno amber 65 paused
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020344
qwen/qwen3.7-plus
awkweave-0020345
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan alpha 13 dina gamma 30 chen beta 93 hana gamma 38 farah beta 13 jules gamma 39 eli beta 87 farah delta 6
alpha 1 gamma 3 beta 3 delta 1
ivan beta 68 chen alpha 61 dina alpha 8 kim gamma 35 jules delta 116 gus alpha 39 lina gamma 72 bruno delta 94
beta 1 alpha 3 gamma 2 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020345-p1
Tally the records for each unique value in the second column, then print each value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan alpha 13 dina gamma 30 chen beta 93 hana gamma 38 farah beta 13 jules gamma 39 eli beta 87 farah delta 6
alpha 1 gamma 3 beta 3 delta 1
ivan beta 68 chen alpha 61 dina alpha 8 kim gamma 35 jules delta 116 gus alpha 39 lina gamma 72 bruno delta 94
beta 1 alpha 3 gamma 2 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020345
qwen/qwen3.7-plus
awkweave-0020346
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]]}
lina beta 29 jules alpha 16 dina delta 8 hana beta 28 gus beta 18 alice gamma 25 hana delta 16 ivan alpha 8 chen alpha 12
beta 75 alpha 36 delta 24 gamma 25
gus gamma 21 bruno gamma 29 eli beta 28 gus alpha 11 hana beta 25 kim delta 24
gamma 50 beta 53 alpha 11 delta 24
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020346-p1
Calculate the sum of the third column grouped by the second column's categories, displaying the results in the order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
lina beta 29 jules alpha 16 dina delta 8 hana beta 28 gus beta 18 alice gamma 25 hana delta 16 ivan alpha 8 chen alpha 12
beta 75 alpha 36 delta 24 gamma 25
gus gamma 21 bruno gamma 29 eli beta 28 gus alpha 11 hana beta 25 kim delta 24
gamma 50 beta 53 alpha 11 delta 24
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020346
qwen/qwen3.7-plus
awkweave-0020347
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 fable 96 delta juniper 57 delta cobalt 10 alpha juniper 71 delta grove 12 gamma ember 88 gamma birch 50 beta birch 70
gamma 3 delta 3
delta birch 6 gamma grove 11 gamma indigo 69 beta ember 88 beta delta 1 alpha birch 87
gamma 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020347-p1
List each duplicate value from the first column along with its occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma fable 96 delta juniper 57 delta cobalt 10 alpha juniper 71 delta grove 12 gamma ember 88 gamma birch 50 beta birch 70
gamma 3 delta 3
delta birch 6 gamma grove 11 gamma indigo 69 beta ember 88 beta delta 1 alpha birch 87
gamma 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020347
qwen/qwen3.7-plus
awkweave-0020348
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"]}
display_name record_id region note r001 eli 16 pending r002 alice 22 active r003 jules 22 active r004 hana 10 paused r005 kim 19 failed r006 gus 20 failed r007 alice 20 pending r008 eli 25 ready r009 lina 18 pending
pending active active paused failed failed pending ready pending
display_name record_id region note r001 kim 17 ready r002 hana 18 active r003 jules 17 paused r004 farah 11 pending r005 hana 12 failed r006 farah 2 active r007 farah 30 failed
ready active paused pending failed active failed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020348-p1
Skip the header row and output the contents of the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name record_id region note r001 eli 16 pending r002 alice 22 active r003 jules 22 active r004 hana 10 paused r005 kim 19 failed r006 gus 20 failed r007 alice 20 pending r008 eli 25 ready r009 lina 18 pending
pending active active paused failed failed pending ready pending
display_name record_id region note r001 kim 17 ready r002 hana 18 active r003 jules 17 paused r004 farah 11 pending r005 hana 12 failed r006 farah 2 active r007 farah 30 failed
ready active paused pending failed active failed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020348
qwen/qwen3.7-plus
awkweave-0020349
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 lina 22 pending r002 bruno 7 failed r003 ivan 15 pending r004 eli 29 failed r005 eli 17 closed r006 gus 15 pending r007 farah 6 active r008 alice 27 ready r009 chen 16 paused
lina ivan eli eli gus alice chen
record_id display_name score state r001 eli 22 closed r002 farah 25 pending r003 hana 1 pending r004 hana 8 pending r005 eli 21 ready r006 farah 4 active r007 dina 13 pending r008 alice 3 closed r009 jules 10 paused r010 alice 3 failed
eli farah eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020349-p1
Ignore the header row and print the display_name field for data rows where the score is strictly greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 lina 22 pending r002 bruno 7 failed r003 ivan 15 pending r004 eli 29 failed r005 eli 17 closed r006 gus 15 pending r007 farah 6 active r008 alice 27 ready r009 chen 16 paused
lina ivan eli eli gus alice chen
record_id display_name score state r001 eli 22 closed r002 farah 25 pending r003 hana 1 pending r004 hana 8 pending r005 eli 21 ready r006 farah 4 active r007 dina 13 pending r008 alice 3 closed r009 jules 10 paused r010 alice 3 failed
eli farah eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020349
qwen/qwen3.7-plus
awkweave-0020350
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 3 active dina 13 closed kim 4 active gus 22 closed lina 28 ready jules 27 pending
3 13 4 22 28 27
chen 3 active farah 15 pending lina 29 paused chen 5 pending bruno 18 pending gus 14 closed gus 14 closed jules 4 pending
3 15 29 5 18 14 14 4
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020350-p1
Given tab-separated input, extract and print the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 3 active dina 13 closed kim 4 active gus 22 closed lina 28 ready jules 27 pending
3 13 4 22 28 27
chen 3 active farah 15 pending lina 29 paused chen 5 pending bruno 18 pending gus 14 closed gus 14 closed jules 4 pending
3 15 29 5 18 14 14 4
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020350
qwen/qwen3.7-plus
awkweave-0020351
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}
hana,8,ready eli,14,failed jules,26,closed dina,22,pending ivan,2,failed gus,21,failed kim,1,paused dina,21,failed dina,19,ready
jules
dina,4,active alice,18,active hana,12,paused kim,11,paused hana,12,paused bruno,1,closed
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020351-p1
For simple comma-separated input without quoted commas, print the first column whenever the second column value is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
hana,8,ready eli,14,failed jules,26,closed dina,22,pending ivan,2,failed gus,21,failed kim,1,paused dina,21,failed dina,19,ready
jules
dina,4,active alice,18,active hana,12,paused kim,11,paused hana,12,paused bruno,1,closed
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020351
qwen/qwen3.7-plus
awkweave-0020352
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli indigo 103 ivan harbor 114 bruno harbor 53 hana ember 29 dina juniper 113 ivan harbor 43 lina ember 64 alice grove 23 dina harbor 83 chen fable 93
eli indigo 103 ivan harbor 114 bruno harbor 53 hana ember 29 dina juniper 113 ivan harbor 43 lina ember 64 alice grove 23 dina harbor 83 chen fable 93
dina birch 42 lina amber 52 gus amber 41 hana birch 27 dina grove 34 chen grove 65 jules ember 71 chen juniper 109 lina amber 71 kim birch 6
dina birch 42 lina amber 52 gus amber 41 hana birch 27 dina grove 34 chen grove 65 jules ember 71 chen juniper 109 lina amber 71 kim birch 6
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020352-p1
Remove leading and trailing whitespace and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
eli indigo 103 ivan harbor 114 bruno harbor 53 hana ember 29 dina juniper 113 ivan harbor 43 lina ember 64 alice grove 23 dina harbor 83 chen fable 93
eli indigo 103 ivan harbor 114 bruno harbor 53 hana ember 29 dina juniper 113 ivan harbor 43 lina ember 64 alice grove 23 dina harbor 83 chen fable 93
dina birch 42 lina amber 52 gus amber 41 hana birch 27 dina grove 34 chen grove 65 jules ember 71 chen juniper 109 lina amber 71 kim birch 6
dina birch 42 lina amber 52 gus amber 41 hana birch 27 dina grove 34 chen grove 65 jules ember 71 chen juniper 109 lina amber 71 kim birch 6
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020352
qwen/qwen3.7-plus
awkweave-0020353
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus birch 2 active dina cobalt 2 pending chen fable 13 failed ivan fable 31 active dina birch 85 closed jules cobalt 88 ready hana indigo 21 pending farah delta 26 closed eli amber 4 pending dina harbor 82 active
hana indigo 21 pending
alice cobalt 84 closed ivan amber 50 failed kim juniper 71 pending farah harbor 15 failed bruno juniper 90 active alice grove 116 pending alice birch 54 paused lina harbor 8 pending lina fable 59 pending farah cobalt 0 paused
bruno juniper 90 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020353-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
gus birch 2 active dina cobalt 2 pending chen fable 13 failed ivan fable 31 active dina birch 85 closed jules cobalt 88 ready hana indigo 21 pending farah delta 26 closed eli amber 4 pending dina harbor 82 active
hana indigo 21 pending
alice cobalt 84 closed ivan amber 50 failed kim juniper 71 pending farah harbor 15 failed bruno juniper 90 active alice grove 116 pending alice birch 54 paused lina harbor 8 pending lina fable 59 pending farah cobalt 0 paused
bruno juniper 90 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020353
qwen/qwen3.7-plus
awkweave-0020354
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
eli 104 eli 3 bruno 45 bruno 119 hana 105 alice 68 hana 12 chen 62 gus 77
eli 104 bruno 45 hana 105 hana 12 gus 77
ivan 93 lina 54 lina 112 hana 7 jules 46 chen 2
ivan 93 lina 112 jules 46
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020354-p1
Output lines 1, 3, 5, and so on, effectively printing every second line starting from the first.
NR%2==1
eli 104 eli 3 bruno 45 bruno 119 hana 105 alice 68 hana 12 chen 62 gus 77
eli 104 bruno 45 hana 105 hana 12 gus 77
ivan 93 lina 54 lina 112 hana 7 jules 46 chen 2
ivan 93 lina 112 jules 46
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020354
qwen/qwen3.7-plus
awkweave-0020355
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 110 beta amber 59 delta delta 75 delta ember 67 alpha delta 85 beta juniper 92
3
delta birch 95 gamma juniper 31 alpha juniper 40 alpha delta 106 alpha juniper 44 alpha grove 3 gamma amber 54
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020355-p1
Calculate the number of unique entries in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 110 beta amber 59 delta delta 75 delta ember 67 alpha delta 85 beta juniper 92
3
delta birch 95 gamma juniper 31 alpha juniper 40 alpha delta 106 alpha juniper 44 alpha grove 3 gamma amber 54
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020355
qwen/qwen3.7-plus
awkweave-0020356
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 17 0 farah 21 22 kim 9 28 hana 10 21 alice 8 9 eli 2 2 gus 19 25 ivan 8 20
farah 0.95 kim 0.32 hana 0.48 alice 0.89 eli 1.00 gus 0.76 ivan 0.40
kim 5 0 dina 18 3 dina 3 13 kim 8 13 dina 12 4 ivan 16 10 hana 12 18 bruno 28 14
dina 6.00 dina 0.23 kim 0.62 dina 3.00 ivan 1.60 hana 0.67 bruno 2.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020356-p1
For each row where the third column is non-zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 17 0 farah 21 22 kim 9 28 hana 10 21 alice 8 9 eli 2 2 gus 19 25 ivan 8 20
farah 0.95 kim 0.32 hana 0.48 alice 0.89 eli 1.00 gus 0.76 ivan 0.40
kim 5 0 dina 18 3 dina 3 13 kim 8 13 dina 12 4 ivan 16 10 hana 12 18 bruno 28 14
dina 6.00 dina 0.23 kim 0.62 dina 3.00 ivan 1.60 hana 0.67 bruno 2.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020356
qwen/qwen3.7-plus
awkweave-0020357
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]}
eli ember 27 alice fable 24 hana indigo 6 kim amber 18 lina cobalt 2 ivan cobalt 14 alice indigo 16
eli ember 27 alice fable 24 kim amber 18
kim juniper 29 lina cobalt 5 hana harbor 19 farah juniper 13 hana ember 20 kim juniper 16 chen ember 4
kim juniper 29 hana ember 20 hana harbor 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020357-p1
Display the full records corresponding to the top three 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]}
eli ember 27 alice fable 24 hana indigo 6 kim amber 18 lina cobalt 2 ivan cobalt 14 alice indigo 16
eli ember 27 alice fable 24 kim amber 18
kim juniper 29 lina cobalt 5 hana harbor 19 farah juniper 13 hana ember 20 kim juniper 16 chen ember 4
kim juniper 29 hana ember 20 hana harbor 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020357
qwen/qwen3.7-plus
awkweave-0020358
Select the 4th and 3rd fields in that order.
{print $4, $3}
ivan dina 2 lina alice indigo kim jules 55 jules chen juniper jules kim 105 bruno gus juniper chen farah 20 ivan kim cobalt alice gus 73 alice kim ember dina lina 17 gus chen juniper gus jules 82 ivan eli harbor eli lina 62 ivan jules delta kim bruno 111 bruno alice birch
lina 2 jules 55 bruno 105 ivan 20 alice 73 gus 17 ivan 82 ivan 62 bruno 111
farah farah 2 gus lina grove lina kim 66 kim gus fable gus dina 78 hana lina cobalt chen alice 53 farah alice ember jules lina 11 jules gus ember jules lina 119 gus gus harbor farah dina 45 lina farah amber dina chen 20 bruno gus cobalt
gus 2 kim 66 hana 78 farah 53 jules 11 gus 119 lina 45 bruno 20
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020358-p1
Extract and print the fourth field followed by the third field.
{print $4, $3}
ivan dina 2 lina alice indigo kim jules 55 jules chen juniper jules kim 105 bruno gus juniper chen farah 20 ivan kim cobalt alice gus 73 alice kim ember dina lina 17 gus chen juniper gus jules 82 ivan eli harbor eli lina 62 ivan jules delta kim bruno 111 bruno alice birch
lina 2 jules 55 bruno 105 ivan 20 alice 73 gus 17 ivan 82 ivan 62 bruno 111
farah farah 2 gus lina grove lina kim 66 kim gus fable gus dina 78 hana lina cobalt chen alice 53 farah alice ember jules lina 11 jules gus ember jules lina 119 gus gus harbor farah dina 45 lina farah amber dina chen 20 bruno gus cobalt
gus 2 kim 66 hana 78 farah 53 jules 11 gus 119 lina 45 bruno 20
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020358
qwen/qwen3.7-plus
awkweave-0020359
Print the last field of every input line.
{print $NF}
ember pending juniper paused 24 98 juniper failed ember failed 56 66 grove active birch failed 68 96 cobalt pending fable ready 89 76 fable ready delta closed 89 70 indigo failed ember closed 11 115
98 66 96 76 70 115
grove paused delta pending 67 78 harbor active indigo pending 120 49 grove ready harbor closed 25 70 amber paused cobalt failed 18 2 juniper active harbor active 42 21 harbor paused amber active 13 48 cobalt pending harbor active 55 46
78 49 70 2 21 48 46
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020359-p1
Output the final field from every line of input.
{print $NF}
ember pending juniper paused 24 98 juniper failed ember failed 56 66 grove active birch failed 68 96 cobalt pending fable ready 89 76 fable ready delta closed 89 70 indigo failed ember closed 11 115
98 66 96 76 70 115
grove paused delta pending 67 78 harbor active indigo pending 120 49 grove ready harbor closed 25 70 amber paused cobalt failed 18 2 juniper active harbor active 42 21 harbor paused amber active 13 48 cobalt pending harbor active 55 46
78 49 70 2 21 48 46
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020359
qwen/qwen3.7-plus
awkweave-0020360
Print the complete records where column 1 is less than 63.
$1 < 63
60 fable ready 92 juniper failed 119 cobalt failed 20 fable pending 40 amber paused 106 amber pending 5 indigo ready
60 fable ready 20 fable pending 40 amber paused 5 indigo ready
7 birch closed 38 grove paused 80 birch ready 102 grove closed 80 ember pending 77 delta ready 26 juniper ready 78 fable failed 33 amber active
7 birch closed 38 grove paused 26 juniper ready 33 amber active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020360-p1
Print the entire record for any row where the value in the first column is strictly less than 63.
$1 < 63
60 fable ready 92 juniper failed 119 cobalt failed 20 fable pending 40 amber paused 106 amber pending 5 indigo ready
60 fable ready 20 fable pending 40 amber paused 5 indigo ready
7 birch closed 38 grove paused 80 birch ready 102 grove closed 80 ember pending 77 delta ready 26 juniper ready 78 fable failed 33 amber active
7 birch closed 38 grove paused 26 juniper ready 33 amber active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020360
qwen/qwen3.7-plus
awkweave-0020361
Show whole lines whose 3rd field is between 4 and 29, inclusive.
$3 >= 4 && $3 <= 29
eli lina 15 active gus alice 7 paused alice alice 10 closed lina lina 20 ready ivan alice 9 closed alice farah 17 pending
eli lina 15 active gus alice 7 paused alice alice 10 closed lina lina 20 ready ivan alice 9 closed alice farah 17 pending
chen lina 2 failed bruno eli 3 ready alice dina 7 active chen hana 12 closed gus farah 7 active farah dina 8 ready hana eli 19 paused alice bruno 20 ready eli gus 1 closed gus dina 28 active
alice dina 7 active chen hana 12 closed gus farah 7 active farah dina 8 ready hana eli 19 paused alice bruno 20 ready gus dina 28 active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020361-p1
Display complete lines where the value in the third field falls within the inclusive range of 4 to 29.
$3 >= 4 && $3 <= 29
eli lina 15 active gus alice 7 paused alice alice 10 closed lina lina 20 ready ivan alice 9 closed alice farah 17 pending
eli lina 15 active gus alice 7 paused alice alice 10 closed lina lina 20 ready ivan alice 9 closed alice farah 17 pending
chen lina 2 failed bruno eli 3 ready alice dina 7 active chen hana 12 closed gus farah 7 active farah dina 8 ready hana eli 19 paused alice bruno 20 ready eli gus 1 closed gus dina 28 active
alice dina 7 active chen hana 12 closed gus farah 7 active farah dina 8 ready hana eli 19 paused alice bruno 20 ready gus dina 28 active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020361
qwen/qwen3.7-plus
awkweave-0020362
Print column 4 only for rows where column 2 is exactly pending.
$2 == "pending"{print $4}
juniper failed 35 alice amber closed 15 alice harbor active 20 kim harbor paused 76 lina amber closed 103 farah birch pending 44 gus juniper pending 32 jules grove closed 67 bruno
gus jules
cobalt active 4 alice amber failed 1 lina harbor pending 8 ivan grove paused 106 dina cobalt ready 37 hana birch failed 115 farah amber closed 87 hana birch failed 111 jules amber paused 11 ivan harbor failed 27 kim
ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020362-p1
Output only the fourth column for rows where the second column matches the exact string 'pending'.
$2 == "pending"{print $4}
juniper failed 35 alice amber closed 15 alice harbor active 20 kim harbor paused 76 lina amber closed 103 farah birch pending 44 gus juniper pending 32 jules grove closed 67 bruno
gus jules
cobalt active 4 alice amber failed 1 lina harbor pending 8 ivan grove paused 106 dina cobalt ready 37 hana birch failed 115 farah amber closed 87 hana birch failed 111 jules amber paused 11 ivan harbor failed 27 kim
ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020362
qwen/qwen3.7-plus
awkweave-0020363
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
63 ERROR amber 118 WARN cobalt 17 ERROR ember 60 ERROR birch 38 INFO fable 79 INFO amber
118 WARN cobalt
26 WARN harbor 77 ERROR cobalt 59 INFO cobalt 27 ERROR harbor 48 ERROR indigo 33 WARN delta 8 ERROR indigo 64 INFO cobalt 50 WARN fable
26 WARN harbor 33 WARN delta 50 WARN fable
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020363-p1
Print all fields from lines where the second field starts with the prefix 'WARN'.
$2 ~ /^WARN/
63 ERROR amber 118 WARN cobalt 17 ERROR ember 60 ERROR birch 38 INFO fable 79 INFO amber
118 WARN cobalt
26 WARN harbor 77 ERROR cobalt 59 INFO cobalt 27 ERROR harbor 48 ERROR indigo 33 WARN delta 8 ERROR indigo 64 INFO cobalt 50 WARN fable
26 WARN harbor 33 WARN delta 50 WARN fable
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020363
qwen/qwen3.7-plus
awkweave-0020364
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
indigo 76 closed indigo 5 failed birch 43 pending birch 120 paused grove 85 pending grove 93 active ember 69 paused cobalt 75 failed delta 112 active cobalt 999 active
indigo 76 closed indigo 5 failed birch 43 pending birch 120 paused grove 85 pending grove 93 active ember 69 paused delta 112 active
amber 7 ready grove 60 failed grove 106 active harbor 19 paused amber 107 failed grove 58 paused juniper 20 ready cobalt 999 active
amber 7 ready grove 60 failed grove 106 active harbor 19 paused amber 107 failed grove 58 paused juniper 20 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020364-p1
Output every line that does not contain the exact string 'cobalt'.
$0 !~ /cobalt/
indigo 76 closed indigo 5 failed birch 43 pending birch 120 paused grove 85 pending grove 93 active ember 69 paused cobalt 75 failed delta 112 active cobalt 999 active
indigo 76 closed indigo 5 failed birch 43 pending birch 120 paused grove 85 pending grove 93 active ember 69 paused delta 112 active
amber 7 ready grove 60 failed grove 106 active harbor 19 paused amber 107 failed grove 58 paused juniper 20 ready cobalt 999 active
amber 7 ready grove 60 failed grove 106 active harbor 19 paused amber 107 failed grove 58 paused juniper 20 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020364
qwen/qwen3.7-plus
awkweave-0020365
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
lina delta 4 bruno grove 66 kim harbor 110 hana cobalt 28 gus ember 62 lina amber 74 jules fable 10 hana juniper 32
bruno grove 66 kim harbor 110
kim grove 113 hana amber 75 eli amber 17 hana juniper 89 chen birch 60 chen fable 103 farah harbor 109 bruno delta 93
hana amber 75 eli amber 17
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020365-p1
Print lines 2 and 3, inclusive.
NR >= 2 && NR <= 3
lina delta 4 bruno grove 66 kim harbor 110 hana cobalt 28 gus ember 62 lina amber 74 jules fable 10 hana juniper 32
bruno grove 66 kim harbor 110
kim grove 113 hana amber 75 eli amber 17 hana juniper 89 chen birch 60 chen fable 103 farah harbor 109 bruno delta 93
hana amber 75 eli amber 17
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020365
qwen/qwen3.7-plus
awkweave-0020366
Output only the first 2 records.
NR <= 2
eli 93 amber ivan 66 cobalt chen 111 amber ivan 37 grove hana 77 juniper gus 14 cobalt
eli 93 amber ivan 66 cobalt
chen 75 delta ivan 55 juniper hana 84 grove dina 18 cobalt hana 106 ember ivan 16 birch eli 21 birch ivan 18 fable
chen 75 delta ivan 55 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020366-p1
Display only the initial two entries.
NR <= 2
eli 93 amber ivan 66 cobalt chen 111 amber ivan 37 grove hana 77 juniper gus 14 cobalt
eli 93 amber ivan 66 cobalt
chen 75 delta ivan 55 juniper hana 84 grove dina 18 cobalt hana 106 ember ivan 16 birch eli 21 birch ivan 18 fable
chen 75 delta ivan 55 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020366
qwen/qwen3.7-plus
awkweave-0020367
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 94 indigo alice 75 cobalt chen 71 fable dina 28 indigo gus 2 juniper ivan 79 indigo alice 115 ember eli 17 amber
alice 75 cobalt chen 71 fable dina 28 indigo gus 2 juniper ivan 79 indigo alice 115 ember eli 17 amber
alice 35 fable jules 96 amber farah 28 birch farah 8 harbor bruno 55 indigo chen 118 indigo
jules 96 amber farah 28 birch farah 8 harbor bruno 55 indigo chen 118 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020367-p1
Omit the header line and output all subsequent lines exactly as they appear.
NR > 1
ivan 94 indigo alice 75 cobalt chen 71 fable dina 28 indigo gus 2 juniper ivan 79 indigo alice 115 ember eli 17 amber
alice 75 cobalt chen 71 fable dina 28 indigo gus 2 juniper ivan 79 indigo alice 115 ember eli 17 amber
alice 35 fable jules 96 amber farah 28 birch farah 8 harbor bruno 55 indigo chen 118 indigo
jules 96 amber farah 28 birch farah 8 harbor bruno 55 indigo chen 118 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020367
qwen/qwen3.7-plus
awkweave-0020368
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
lina active 44 hana paused 30 jules failed 25 chen active 31 chen closed 109 jules pending 47 farah active 119
1
eli ready 111 hana ready 64 jules paused 35 lina pending 61 bruno closed 29 bruno paused 2 lina paused 103
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020368-p1
Tally the number of entries where the second column contains 'pending', outputting 0 if no matches are found.
$2 == "pending"{n++}END{print n+0}
lina active 44 hana paused 30 jules failed 25 chen active 31 chen closed 109 jules pending 47 farah active 119
1
eli ready 111 hana ready 64 jules paused 35 lina pending 61 bruno closed 29 bruno paused 2 lina paused 103
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020368
qwen/qwen3.7-plus
awkweave-0020369
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
dina 24 grove jules 24 harbor bruno 26 fable alice 24 indigo kim 21 fable kim 21 cobalt jules 18 indigo bruno 24 cobalt
182
gus 17 cobalt eli 3 cobalt gus 14 fable eli 13 grove chen 14 juniper dina 25 delta bruno 7 harbor
93
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020369-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
dina 24 grove jules 24 harbor bruno 26 fable alice 24 indigo kim 21 fable kim 21 cobalt jules 18 indigo bruno 24 cobalt
182
gus 17 cobalt eli 3 cobalt gus 14 fable eli 13 grove chen 14 juniper dina 25 delta bruno 7 harbor
93
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020369
qwen/qwen3.7-plus
awkweave-0020370
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 dina fable 20 jules juniper 21 ivan juniper 21 chen juniper 20 alice grove 29 alice indigo
20.50
27 eli fable 2 eli grove 26 chen grove 9 dina harbor 3 lina fable 28 ivan fable
15.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020370-p1
Output the average of the first column, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 dina fable 20 jules juniper 21 ivan juniper 21 chen juniper 20 alice grove 29 alice indigo
20.50
27 eli fable 2 eli grove 26 chen grove 9 dina harbor 3 lina fable 28 ivan fable
15.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020370
qwen/qwen3.7-plus
awkweave-0020371
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 2 hana delta 8 chen delta 29 dina delta 20 bruno ember 4 eli ember 30 chen harbor 17 chen
2
grove 4 kim cobalt 16 gus ember 10 bruno delta 15 farah cobalt 8 alice ember 10 kim fable 2 chen cobalt 1 eli cobalt 24 jules amber 10 dina
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020371-p1
Identify and display the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 2 hana delta 8 chen delta 29 dina delta 20 bruno ember 4 eli ember 30 chen harbor 17 chen
2
grove 4 kim cobalt 16 gus ember 10 bruno delta 15 farah cobalt 8 alice ember 10 kim fable 2 chen cobalt 1 eli cobalt 24 jules amber 10 dina
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020371
qwen/qwen3.7-plus
awkweave-0020372
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
indigo 11 bruno indigo 21 gus delta 3 hana cobalt 30 jules amber 12 ivan birch 5 kim amber 17 hana
30
amber 1 dina ember 9 alice birch 14 kim indigo 24 ivan amber 29 hana indigo 10 hana cobalt 28 lina amber 22 eli birch 29 bruno
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020372-p1
Identify and display the maximum numeric value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
indigo 11 bruno indigo 21 gus delta 3 hana cobalt 30 jules amber 12 ivan birch 5 kim amber 17 hana
30
amber 1 dina ember 9 alice birch 14 kim indigo 24 ivan amber 29 hana indigo 10 hana cobalt 28 lina amber 22 eli birch 29 bruno
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020372
qwen/qwen3.7-plus
awkweave-0020373
Count all input records and print the total.
END{print NR}
eli 108 farah 74 gus 92 eli 45 kim 98 hana 102
6
bruno 26 ivan 6 dina 64 farah 57 hana 64 kim 111 chen 69
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020373-p1
Count the total number of input records and print the result.
END{print NR}
eli 108 farah 74 gus 92 eli 45 kim 98 hana 102
6
bruno 26 ivan 6 dina 64 farah 57 hana 64 kim 111 chen 69
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020373
qwen/qwen3.7-plus
awkweave-0020374
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli grove 45 alice birch 52 gus amber 8 eli indigo 82 lina grove 9 chen grove 101 hana amber 118 ivan juniper 109 chen harbor 52 farah juniper 2 eli indigo 82
eli grove 45 alice birch 52 gus amber 8 eli indigo 82 lina grove 9 chen grove 101 hana amber 118 ivan juniper 109 chen harbor 52 farah juniper 2
gus amber 71 lina grove 84 lina cobalt 8 chen delta 92 kim indigo 68 gus fable 118 gus fable 118
gus amber 71 lina grove 84 lina cobalt 8 chen delta 92 kim indigo 68 gus fable 118
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020374-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
eli grove 45 alice birch 52 gus amber 8 eli indigo 82 lina grove 9 chen grove 101 hana amber 118 ivan juniper 109 chen harbor 52 farah juniper 2 eli indigo 82
eli grove 45 alice birch 52 gus amber 8 eli indigo 82 lina grove 9 chen grove 101 hana amber 118 ivan juniper 109 chen harbor 52 farah juniper 2
gus amber 71 lina grove 84 lina cobalt 8 chen delta 92 kim indigo 68 gus fable 118 gus fable 118
gus amber 71 lina grove 84 lina cobalt 8 chen delta 92 kim indigo 68 gus fable 118
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020374
qwen/qwen3.7-plus
awkweave-0020375
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim amber 109 lina birch 104 hana juniper 82 lina amber 107 bruno fable 102 alice indigo 88
kim amber 109 lina birch 104 hana juniper 82 lina amber 107 bruno fable 102 alice indigo 88
lina fable 89 ivan indigo 63 eli delta 104 alice amber 32 farah juniper 100 eli ember 76 lina juniper 60 hana fable 36 eli harbor 71
lina fable 89 ivan indigo 63 eli delta 104 alice amber 32 farah juniper 100 eli ember 76 lina juniper 60 hana fable 36 eli harbor 71
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020375-p1
Retain only the first occurrence for every unique value in the third column, preserving the original sequence.
!seen[$3]++
kim amber 109 lina birch 104 hana juniper 82 lina amber 107 bruno fable 102 alice indigo 88
kim amber 109 lina birch 104 hana juniper 82 lina amber 107 bruno fable 102 alice indigo 88
lina fable 89 ivan indigo 63 eli delta 104 alice amber 32 farah juniper 100 eli ember 76 lina juniper 60 hana fable 36 eli harbor 71
lina fable 89 ivan indigo 63 eli delta 104 alice amber 32 farah juniper 100 eli ember 76 lina juniper 60 hana fable 36 eli harbor 71
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020375
qwen/qwen3.7-plus
awkweave-0020376
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 1 indigo chen 27 amber eli 19 grove gus 12 cobalt ivan 21 harbor kim 6 indigo jules 28 grove
kim 1 chen 28 eli 47 gus 59 ivan 80 kim 86 jules 114
dina 21 grove bruno 17 delta lina 17 juniper gus 5 cobalt lina 2 ember lina 13 birch dina 21 indigo
dina 21 bruno 38 lina 55 gus 60 lina 62 lina 75 dina 96
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020376-p1
For each entry, output the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
kim 1 indigo chen 27 amber eli 19 grove gus 12 cobalt ivan 21 harbor kim 6 indigo jules 28 grove
kim 1 chen 28 eli 47 gus 59 ivan 80 kim 86 jules 114
dina 21 grove bruno 17 delta lina 17 juniper gus 5 cobalt lina 2 ember lina 13 birch dina 21 indigo
dina 21 bruno 38 lina 55 gus 60 lina 62 lina 75 dina 96
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020376
qwen/qwen3.7-plus
awkweave-0020377
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 25 7 indigo hana 24 26 harbor ivan 29 25 ember hana 26 4 amber jules 13 30 cobalt lina 19 18 harbor chen 15 26 cobalt jules 25 23 delta
alice 32 hana 50 ivan 54 hana 30 jules 43 lina 37 chen 41 jules 48
farah 13 24 birch chen 3 7 cobalt dina 14 27 indigo bruno 28 25 harbor gus 19 3 juniper farah 26 2 delta hana 30 26 harbor
farah 37 chen 10 dina 41 bruno 53 gus 22 farah 28 hana 56
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020377-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
alice 25 7 indigo hana 24 26 harbor ivan 29 25 ember hana 26 4 amber jules 13 30 cobalt lina 19 18 harbor chen 15 26 cobalt jules 25 23 delta
alice 32 hana 50 ivan 54 hana 30 jules 43 lina 37 chen 41 jules 48
farah 13 24 birch chen 3 7 cobalt dina 14 27 indigo bruno 28 25 harbor gus 19 3 juniper farah 26 2 delta hana 30 26 harbor
farah 37 chen 10 dina 41 bruno 53 gus 22 farah 28 hana 56
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020377
qwen/qwen3.7-plus
awkweave-0020378
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
chen 20 jules 27 kim 11 bruno 28 farah 23 hana 10 kim 22 eli 30 bruno 1 eli 18
chen fail jules pass kim fail bruno pass farah fail hana fail kim fail eli pass bruno fail eli fail
dina 24 gus 18 gus 11 kim 21 alice 18 lina 6
dina fail gus fail gus fail kim fail alice fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020378-p1
Output the value of the first column; if the second column is 27 or higher, output 'pass', otherwise output 'fail'.
{print $1,($2>=27?"pass":"fail")}
chen 20 jules 27 kim 11 bruno 28 farah 23 hana 10 kim 22 eli 30 bruno 1 eli 18
chen fail jules pass kim fail bruno pass farah fail hana fail kim fail eli pass bruno fail eli fail
dina 24 gus 18 gus 11 kim 21 alice 18 lina 6
dina fail gus fail gus fail kim fail alice fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020378
qwen/qwen3.7-plus
awkweave-0020379
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
lina indigo 6 kim indigo 95 kim delta 58 kim indigo 80 eli harbor 5 dina harbor 26
LINA KIM KIM KIM ELI DINA
dina delta 68 jules cobalt 52 jules birch 75 kim fable 56 ivan grove 42 jules fable 90 ivan grove 31 ivan ember 119
DINA JULES JULES KIM IVAN JULES IVAN IVAN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020379-p1
Transform the first column to uppercase and display only that modified column.
{print toupper($1)}
lina indigo 6 kim indigo 95 kim delta 58 kim indigo 80 eli harbor 5 dina harbor 26
LINA KIM KIM KIM ELI DINA
dina delta 68 jules cobalt 52 jules birch 75 kim fable 56 ivan grove 42 jules fable 90 ivan grove 31 ivan ember 119
DINA JULES JULES KIM IVAN JULES IVAN IVAN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020379
qwen/qwen3.7-plus
awkweave-0020380
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
cobalt 108 juniper 86 birch 41 ember 25 amber 38 birch 106 grove 54
cob jun bir emb amb bir gro
birch 107 delta 20 fable 50 delta 30 harbor 90 amber 32 harbor 40 ember 48 amber 12
bir del fab del har amb har emb amb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020380-p1
Extract and print the first three characters from the first column, starting at position 1.
{print substr($1,1,3)}
cobalt 108 juniper 86 birch 41 ember 25 amber 38 birch 106 grove 54
cob jun bir emb amb bir gro
birch 107 delta 20 fable 50 delta 30 harbor 90 amber 32 harbor 40 ember 48 amber 12
bir del fab del har amb har emb amb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020380
qwen/qwen3.7-plus