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-0012220-p1
Identify and output the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
28 ember dina 29 indigo eli 13 fable alice 20 juniper gus 1 birch farah 27 cobalt kim 3 birch ivan 20 indigo jules 11 ember chen 16 juniper farah
1
14 harbor jules 27 delta farah 14 grove dina 24 grove farah 18 juniper chen 26 amber alice 22 juniper kim 18 amber ivan 16 grove ivan
14
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012220
qwen/qwen3.7-plus
awkweave-0012221
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 cobalt lina 2 fable hana 3 indigo eli 6 amber alice 14 harbor hana 19 delta lina
28
15 juniper hana 29 delta gus 29 delta alice 27 birch farah 20 cobalt jules 29 harbor eli 24 grove eli
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012221-p1
Identify and output the maximum numeric value found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 cobalt lina 2 fable hana 3 indigo eli 6 amber alice 14 harbor hana 19 delta lina
28
15 juniper hana 29 delta gus 29 delta alice 27 birch farah 20 cobalt jules 29 harbor eli 24 grove eli
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012221
qwen/qwen3.7-plus
awkweave-0012222
Count all input records and print the total.
END{print NR}
dina 66 bruno 36 bruno 105 kim 69 hana 53 kim 42 ivan 78 hana 59 bruno 43 farah 19
10
eli 90 kim 26 ivan 115 lina 83 gus 26 hana 44 ivan 75
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012222-p1
Count the total number of input records and print the result.
END{print NR}
dina 66 bruno 36 bruno 105 kim 69 hana 53 kim 42 ivan 78 hana 59 bruno 43 farah 19
10
eli 90 kim 26 ivan 115 lina 83 gus 26 hana 44 ivan 75
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012222
qwen/qwen3.7-plus
awkweave-0012223
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana delta 36 kim delta 33 bruno cobalt 90 dina birch 49 ivan amber 83 eli indigo 19 ivan amber 83 ivan cobalt 31
hana delta 36 kim delta 33 bruno cobalt 90 dina birch 49 ivan amber 83 eli indigo 19 ivan cobalt 31
jules cobalt 13 ivan delta 94 ivan juniper 39 hana harbor 36 ivan amber 38 jules indigo 111 ivan juniper 39 jules ember 43 farah cobalt 55 jules birch 60
jules cobalt 13 ivan delta 94 ivan juniper 39 hana harbor 36 ivan amber 38 jules indigo 111 jules ember 43 farah cobalt 55 jules birch 60
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012223-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
hana delta 36 kim delta 33 bruno cobalt 90 dina birch 49 ivan amber 83 eli indigo 19 ivan amber 83 ivan cobalt 31
hana delta 36 kim delta 33 bruno cobalt 90 dina birch 49 ivan amber 83 eli indigo 19 ivan cobalt 31
jules cobalt 13 ivan delta 94 ivan juniper 39 hana harbor 36 ivan amber 38 jules indigo 111 ivan juniper 39 jules ember 43 farah cobalt 55 jules birch 60
jules cobalt 13 ivan delta 94 ivan juniper 39 hana harbor 36 ivan amber 38 jules indigo 111 jules ember 43 farah cobalt 55 jules birch 60
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012223
qwen/qwen3.7-plus
awkweave-0012224
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
bruno grove 11 eli fable 90 ivan fable 96 bruno grove 91 gus ember 62 chen grove 17
bruno grove 11 eli fable 90 ivan fable 96 gus ember 62 chen grove 17
dina harbor 102 ivan ember 71 alice grove 28 eli birch 9 gus indigo 72 bruno indigo 114 gus grove 94 dina amber 48 kim cobalt 10
dina harbor 102 ivan ember 71 alice grove 28 eli birch 9 gus indigo 72 bruno indigo 114 kim cobalt 10
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012224-p1
Retain only the first occurrence of each unique value in column 1, maintaining the original input sequence.
!seen[$1]++
bruno grove 11 eli fable 90 ivan fable 96 bruno grove 91 gus ember 62 chen grove 17
bruno grove 11 eli fable 90 ivan fable 96 gus ember 62 chen grove 17
dina harbor 102 ivan ember 71 alice grove 28 eli birch 9 gus indigo 72 bruno indigo 114 gus grove 94 dina amber 48 kim cobalt 10
dina harbor 102 ivan ember 71 alice grove 28 eli birch 9 gus indigo 72 bruno indigo 114 kim cobalt 10
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012224
qwen/qwen3.7-plus
awkweave-0012225
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 11 cobalt kim 23 indigo ivan 9 harbor alice 11 birch farah 8 harbor chen 23 grove ivan 25 juniper hana 8 juniper gus 2 juniper
jules 11 kim 34 ivan 43 alice 54 farah 62 chen 85 ivan 110 hana 118 gus 120
alice 3 amber bruno 23 fable gus 28 delta bruno 23 fable hana 1 indigo dina 13 amber lina 16 cobalt alice 27 birch eli 8 harbor
alice 3 bruno 26 gus 54 bruno 77 hana 78 dina 91 lina 107 alice 134 eli 142
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012225-p1
Output column 1 alongside the cumulative total of column 2 for each record, using a space as the delimiter.
{s+=$2;print $1,s}
jules 11 cobalt kim 23 indigo ivan 9 harbor alice 11 birch farah 8 harbor chen 23 grove ivan 25 juniper hana 8 juniper gus 2 juniper
jules 11 kim 34 ivan 43 alice 54 farah 62 chen 85 ivan 110 hana 118 gus 120
alice 3 amber bruno 23 fable gus 28 delta bruno 23 fable hana 1 indigo dina 13 amber lina 16 cobalt alice 27 birch eli 8 harbor
alice 3 bruno 26 gus 54 bruno 77 hana 78 dina 91 lina 107 alice 134 eli 142
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012225
qwen/qwen3.7-plus
awkweave-0012226
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 26 11 indigo farah 25 11 fable dina 8 12 indigo dina 13 7 harbor alice 5 17 fable gus 4 10 harbor jules 12 7 fable
hana 37 farah 36 dina 20 dina 20 alice 22 gus 14 jules 19
eli 13 20 grove hana 10 13 fable alice 12 11 juniper gus 12 5 amber bruno 21 9 fable ivan 26 22 delta chen 10 11 cobalt chen 10 9 birch ivan 14 5 harbor
eli 33 hana 23 alice 23 gus 17 bruno 30 ivan 48 chen 21 chen 19 ivan 19
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012226-p1
For every row, display field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 26 11 indigo farah 25 11 fable dina 8 12 indigo dina 13 7 harbor alice 5 17 fable gus 4 10 harbor jules 12 7 fable
hana 37 farah 36 dina 20 dina 20 alice 22 gus 14 jules 19
eli 13 20 grove hana 10 13 fable alice 12 11 juniper gus 12 5 amber bruno 21 9 fable ivan 26 22 delta chen 10 11 cobalt chen 10 9 birch ivan 14 5 harbor
eli 33 hana 23 alice 23 gus 17 bruno 30 ivan 48 chen 21 chen 19 ivan 19
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012226
qwen/qwen3.7-plus
awkweave-0012227
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
hana 6 gus 25 gus 29 hana 30 eli 27 farah 21
hana fail gus pass gus pass hana pass eli pass farah pass
chen 18 farah 12 jules 15 chen 12 lina 29 eli 17 ivan 25 gus 23 ivan 24
chen fail farah fail jules fail chen fail lina pass eli fail ivan pass gus pass ivan pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012227-p1
Output column 1 with 'pass' if column 2 is 20 or greater; otherwise, output 'fail'.
{print $1,($2>=20?"pass":"fail")}
hana 6 gus 25 gus 29 hana 30 eli 27 farah 21
hana fail gus pass gus pass hana pass eli pass farah pass
chen 18 farah 12 jules 15 chen 12 lina 29 eli 17 ivan 25 gus 23 ivan 24
chen fail farah fail jules fail chen fail lina pass eli fail ivan pass gus pass ivan pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012227
qwen/qwen3.7-plus
awkweave-0012228
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
chen juniper 41 chen juniper 1 kim fable 50 farah ember 30 bruno harbor 83 chen fable 9
JUNIPER JUNIPER FABLE EMBER HARBOR FABLE
jules juniper 31 hana birch 2 gus cobalt 29 farah birch 81 lina grove 85 ivan juniper 78 hana juniper 43 farah fable 59 lina ember 14
JUNIPER BIRCH COBALT BIRCH GROVE JUNIPER JUNIPER FABLE EMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012228-p1
Transform column 2 to uppercase letters and print exclusively that column.
{print toupper($2)}
chen juniper 41 chen juniper 1 kim fable 50 farah ember 30 bruno harbor 83 chen fable 9
JUNIPER JUNIPER FABLE EMBER HARBOR FABLE
jules juniper 31 hana birch 2 gus cobalt 29 farah birch 81 lina grove 85 ivan juniper 78 hana juniper 43 farah fable 59 lina ember 14
JUNIPER BIRCH COBALT BIRCH GROVE JUNIPER JUNIPER FABLE EMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012228
qwen/qwen3.7-plus
awkweave-0012229
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
harbor 65 amber 79 cobalt 110 harbor 96 birch 87 amber 11 delta 89 harbor 62
rbo ber bal rbo rch ber lta rbo
ember 74 juniper 21 harbor 118 birch 66 delta 15 amber 61
ber nip rbo rch lta ber
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012229-p1
Extract and print a 3-character substring from column 1, beginning at the 3rd character.
{print substr($1,3,3)}
harbor 65 amber 79 cobalt 110 harbor 96 birch 87 amber 11 delta 89 harbor 62
rbo ber bal rbo rch ber lta rbo
ember 74 juniper 21 harbor 118 birch 66 delta 15 amber 61
ber nip rbo rch lta ber
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012229
qwen/qwen3.7-plus
awkweave-0012230
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_ember 2 birch_juniper 96 fable_grove 105 harbor_grove 98 delta_juniper 20 birch_harbor 17 cobalt_ember 14 indigo_fable 108 grove_juniper 69
birch ember birch juniper fable grove harbor grove delta juniper birch harbor cobalt ember indigo fable grove juniper
ember_amber 41 amber_amber 52 birch_grove 94 amber_ember 7 indigo_juniper 75 harbor_ember 36 grove_amber 72
ember amber amber amber birch grove amber ember indigo juniper harbor ember grove amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012230-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_ember 2 birch_juniper 96 fable_grove 105 harbor_grove 98 delta_juniper 20 birch_harbor 17 cobalt_ember 14 indigo_fable 108 grove_juniper 69
birch ember birch juniper fable grove harbor grove delta juniper birch harbor cobalt ember indigo fable grove juniper
ember_amber 41 amber_amber 52 birch_grove 94 amber_ember 7 indigo_juniper 75 harbor_ember 36 grove_amber 72
ember amber amber amber birch grove amber ember indigo juniper harbor ember grove amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012230
qwen/qwen3.7-plus
awkweave-0012231
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan ember 82 active eli grove 13 failed hana cobalt 99 ready kim fable 29 ready gus cobalt 79 active chen harbor 42 failed eli birch 84 pending
active 82 ember ivan failed 13 grove eli ready 99 cobalt hana ready 29 fable kim active 79 cobalt gus failed 42 harbor chen pending 84 birch eli
lina grove 109 active jules fable 88 pending alice grove 116 paused gus indigo 34 closed chen juniper 41 active alice grove 68 pending
active 109 grove lina pending 88 fable jules paused 116 grove alice closed 34 indigo gus active 41 juniper chen pending 68 grove alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012231-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan ember 82 active eli grove 13 failed hana cobalt 99 ready kim fable 29 ready gus cobalt 79 active chen harbor 42 failed eli birch 84 pending
active 82 ember ivan failed 13 grove eli ready 99 cobalt hana ready 29 fable kim active 79 cobalt gus failed 42 harbor chen pending 84 birch eli
lina grove 109 active jules fable 88 pending alice grove 116 paused gus indigo 34 closed chen juniper 41 active alice grove 68 pending
active 109 grove lina pending 88 fable jules paused 116 grove alice closed 34 indigo gus active 41 juniper chen pending 68 grove alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012231
qwen/qwen3.7-plus
awkweave-0012232
Print the number of whitespace-separated fields on each line.
{print NF}
jules harbor 38 active bruno cobalt 61 closed kim indigo 27 failed gus fable 90 ready jules grove 0 pending ivan amber 41 paused
4 4 4 4 4 4
lina ember 32 closed bruno fable 29 paused chen cobalt 53 failed bruno amber 118 ready kim delta 82 closed hana birch 113 closed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012232-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
jules harbor 38 active bruno cobalt 61 closed kim indigo 27 failed gus fable 90 ready jules grove 0 pending ivan amber 41 paused
4 4 4 4 4 4
lina ember 32 closed bruno fable 29 paused chen cobalt 53 failed bruno amber 118 ready kim delta 82 closed hana birch 113 closed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012232
qwen/qwen3.7-plus
awkweave-0012233
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 delta 0 ivan delta 106 chen beta 102 hana delta 17 chen delta 70 dina gamma 43
delta 4 beta 1 gamma 1
alice beta 59 chen alpha 93 eli alpha 25 ivan beta 29 hana delta 54 bruno alpha 41
beta 2 alpha 3 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012233-p1
Tally the number of records for each distinct value in column 2, printing the value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice delta 0 ivan delta 106 chen beta 102 hana delta 17 chen delta 70 dina gamma 43
delta 4 beta 1 gamma 1
alice beta 59 chen alpha 93 eli alpha 25 ivan beta 29 hana delta 54 bruno alpha 41
beta 2 alpha 3 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012233
qwen/qwen3.7-plus
awkweave-0012234
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]]}
hana gamma 18 alice gamma 1 chen alpha 17 jules beta 24 farah alpha 9 ivan alpha 26 eli beta 26 bruno beta 16 alice delta 4
gamma 19 alpha 52 beta 66 delta 4
dina alpha 11 gus gamma 22 alice alpha 15 gus beta 2 chen gamma 5 hana gamma 18 chen delta 8 chen alpha 2 ivan alpha 27
alpha 55 gamma 45 beta 2 delta 8
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012234-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]]}
hana gamma 18 alice gamma 1 chen alpha 17 jules beta 24 farah alpha 9 ivan alpha 26 eli beta 26 bruno beta 16 alice delta 4
gamma 19 alpha 52 beta 66 delta 4
dina alpha 11 gus gamma 22 alice alpha 15 gus beta 2 chen gamma 5 hana gamma 18 chen delta 8 chen alpha 2 ivan alpha 27
alpha 55 gamma 45 beta 2 delta 8
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012234
qwen/qwen3.7-plus
awkweave-0012235
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]]}
beta harbor 18 gamma indigo 58 alpha amber 78 delta grove 8 delta delta 13 alpha indigo 59 beta cobalt 62 beta cobalt 83
beta 3 alpha 2 delta 2
delta cobalt 40 delta amber 50 delta grove 15 alpha delta 89 gamma fable 40 alpha ember 66 delta grove 52 beta juniper 13
delta 4 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012235-p1
List each duplicate value from column 1 along with its frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta harbor 18 gamma indigo 58 alpha amber 78 delta grove 8 delta delta 13 alpha indigo 59 beta cobalt 62 beta cobalt 83
beta 3 alpha 2 delta 2
delta cobalt 40 delta amber 50 delta grove 15 alpha delta 89 gamma fable 40 alpha ember 66 delta grove 52 beta juniper 13
delta 4 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012235
qwen/qwen3.7-plus
awkweave-0012236
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
score state note region r001 bruno 26 failed r002 gus 27 pending r003 farah 4 paused r004 ivan 4 closed r005 alice 30 pending r006 jules 2 pending r007 dina 5 failed r008 jules 25 closed r009 farah 13 pending
26 27 4 4 30 2 5 25 13
score state note region r001 bruno 6 closed r002 hana 17 ready r003 hana 26 failed r004 gus 21 closed r005 alice 23 failed r006 farah 7 pending
6 17 26 21 23 7
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012236-p1
Skip the header row and output the note column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
score state note region r001 bruno 26 failed r002 gus 27 pending r003 farah 4 paused r004 ivan 4 closed r005 alice 30 pending r006 jules 2 pending r007 dina 5 failed r008 jules 25 closed r009 farah 13 pending
26 27 4 4 30 2 5 25 13
score state note region r001 bruno 6 closed r002 hana 17 ready r003 hana 26 failed r004 gus 21 closed r005 alice 23 failed r006 farah 7 pending
6 17 26 21 23 7
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012236
qwen/qwen3.7-plus
awkweave-0012237
The first row is a header. Print display_name for data rows whose score is greater than 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 chen 2 closed r002 hana 10 paused r003 farah 24 paused r004 bruno 22 ready r005 dina 28 paused r006 farah 25 ready
hana farah bruno dina farah
record_id display_name score state r001 lina 6 failed r002 kim 23 pending r003 ivan 29 active r004 farah 7 failed r005 hana 3 closed r006 farah 23 pending r007 eli 28 closed r008 eli 16 failed
kim ivan farah eli eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012237-p1
Ignoring the header, print the display_name field for records where the score exceeds 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 chen 2 closed r002 hana 10 paused r003 farah 24 paused r004 bruno 22 ready r005 dina 28 paused r006 farah 25 ready
hana farah bruno dina farah
record_id display_name score state r001 lina 6 failed r002 kim 23 pending r003 ivan 29 active r004 farah 7 failed r005 hana 3 closed r006 farah 23 pending r007 eli 28 closed r008 eli 16 failed
kim ivan farah eli eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012237
qwen/qwen3.7-plus
awkweave-0012238
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 12 failed alice 1 ready hana 17 ready eli 12 pending lina 4 closed farah 16 active gus 11 failed hana 3 pending
farah alice hana eli lina farah gus hana
farah 2 ready dina 4 failed lina 7 pending alice 11 failed chen 21 active hana 6 ready chen 18 pending
farah dina lina alice chen hana chen
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012238-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 12 failed alice 1 ready hana 17 ready eli 12 pending lina 4 closed farah 16 active gus 11 failed hana 3 pending
farah alice hana eli lina farah gus hana
farah 2 ready dina 4 failed lina 7 pending alice 11 failed chen 21 active hana 6 ready chen 18 pending
farah dina lina alice chen hana chen
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0012238
qwen/qwen3.7-plus
awkweave-0012239
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 22.
BEGIN{FS=OFS=","}$2>22{print $1}
ivan,28,paused kim,12,paused alice,23,paused chen,13,active gus,16,closed eli,22,pending lina,18,pending jules,23,ready ivan,17,pending
ivan alice jules
ivan,21,closed kim,27,failed bruno,11,pending chen,6,active eli,27,active hana,3,ready alice,21,active
kim eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012239-p1
For simple CSV data without quoted commas, print the first column if the second column is greater than 22.
BEGIN{FS=OFS=","}$2>22{print $1}
ivan,28,paused kim,12,paused alice,23,paused chen,13,active gus,16,closed eli,22,pending lina,18,pending jules,23,ready ivan,17,pending
ivan alice jules
ivan,21,closed kim,27,failed bruno,11,pending chen,6,active eli,27,active hana,3,ready alice,21,active
kim eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012239
qwen/qwen3.7-plus
awkweave-0012240
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules birch 78 kim grove 23 farah juniper 55 hana grove 32 ivan indigo 90 hana delta 56 gus harbor 2 eli indigo 103 ivan fable 69 dina delta 108
jules birch 78 kim grove 23 farah juniper 55 hana grove 32 ivan indigo 90 hana delta 56 gus harbor 2 eli indigo 103 ivan fable 69 dina delta 108
kim cobalt 108 bruno delta 80 bruno fable 24 bruno delta 35 chen ember 12 chen harbor 75 alice indigo 25 hana harbor 103 eli juniper 57 lina harbor 118
kim cobalt 108 bruno delta 80 bruno fable 24 bruno delta 35 chen ember 12 chen harbor 75 alice indigo 25 hana harbor 103 eli juniper 57 lina harbor 118
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012240-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
jules birch 78 kim grove 23 farah juniper 55 hana grove 32 ivan indigo 90 hana delta 56 gus harbor 2 eli indigo 103 ivan fable 69 dina delta 108
jules birch 78 kim grove 23 farah juniper 55 hana grove 32 ivan indigo 90 hana delta 56 gus harbor 2 eli indigo 103 ivan fable 69 dina delta 108
kim cobalt 108 bruno delta 80 bruno fable 24 bruno delta 35 chen ember 12 chen harbor 75 alice indigo 25 hana harbor 103 eli juniper 57 lina harbor 118
kim cobalt 108 bruno delta 80 bruno fable 24 bruno delta 35 chen ember 12 chen harbor 75 alice indigo 25 hana harbor 103 eli juniper 57 lina harbor 118
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012240
qwen/qwen3.7-plus
awkweave-0012241
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus grove 9 active farah indigo 110 pending kim indigo 89 paused dina indigo 73 failed bruno amber 69 closed dina birch 17 closed kim harbor 44 pending gus ember 113 active kim amber 19 pending
farah indigo 110 pending
kim birch 30 paused dina grove 69 paused farah ember 114 paused chen fable 91 closed chen amber 105 active chen ember 105 closed farah cobalt 9 paused lina delta 110 closed bruno delta 2 paused
farah ember 114 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012241-p1
Output 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 grove 9 active farah indigo 110 pending kim indigo 89 paused dina indigo 73 failed bruno amber 69 closed dina birch 17 closed kim harbor 44 pending gus ember 113 active kim amber 19 pending
farah indigo 110 pending
kim birch 30 paused dina grove 69 paused farah ember 114 paused chen fable 91 closed chen amber 105 active chen ember 105 closed farah cobalt 9 paused lina delta 110 closed bruno delta 2 paused
farah ember 114 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012241
qwen/qwen3.7-plus
awkweave-0012242
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
farah 31 kim 100 bruno 18 bruno 75 dina 64 dina 39 jules 69 farah 43 chen 58 dina 111
bruno 18 dina 39 chen 58
jules 71 hana 88 hana 41 dina 85 alice 65 ivan 76
hana 41 ivan 76
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012242-p1
Print every third line, beginning with line 3 (i.e., lines 3, 6, 9, ...).
NR%3==0
farah 31 kim 100 bruno 18 bruno 75 dina 64 dina 39 jules 69 farah 43 chen 58 dina 111
bruno 18 dina 39 chen 58
jules 71 hana 88 hana 41 dina 85 alice 65 ivan 76
hana 41 ivan 76
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012242
qwen/qwen3.7-plus
awkweave-0012243
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha juniper 68 alpha juniper 77 delta juniper 70 beta grove 23 beta birch 19 gamma grove 54 gamma fable 21 delta birch 87
4
delta ember 64 delta indigo 3 delta harbor 15 delta ember 52 beta harbor 54 delta fable 100
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012243-p1
Calculate and print only the number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
alpha juniper 68 alpha juniper 77 delta juniper 70 beta grove 23 beta birch 19 gamma grove 54 gamma fable 21 delta birch 87
4
delta ember 64 delta indigo 3 delta harbor 15 delta ember 52 beta harbor 54 delta fable 100
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012243
qwen/qwen3.7-plus
awkweave-0012244
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}
kim 14 0 hana 4 28 kim 12 9 gus 15 14 hana 29 13 bruno 29 14 farah 8 9 chen 30 13
hana 0.14 kim 1.33 gus 1.07 hana 2.23 bruno 2.07 farah 0.89 chen 2.31
chen 10 0 jules 22 12 chen 25 2 kim 24 25 jules 22 26 jules 6 18 dina 8 21
jules 1.83 chen 12.50 kim 0.96 jules 0.85 jules 0.33 dina 0.38
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012244-p1
For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 14 0 hana 4 28 kim 12 9 gus 15 14 hana 29 13 bruno 29 14 farah 8 9 chen 30 13
hana 0.14 kim 1.33 gus 1.07 hana 2.23 bruno 2.07 farah 0.89 chen 2.31
chen 10 0 jules 22 12 chen 25 2 kim 24 25 jules 22 26 jules 6 18 dina 8 21
jules 1.83 chen 12.50 kim 0.96 jules 0.85 jules 0.33 dina 0.38
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012244
qwen/qwen3.7-plus
awkweave-0012245
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]}
jules delta 19 eli grove 23 kim indigo 21 bruno fable 27 hana delta 19 ivan delta 3 kim delta 25 hana indigo 12 alice juniper 1
bruno fable 27 kim delta 25 eli grove 23
gus delta 26 farah juniper 9 gus cobalt 17 lina delta 25 alice ember 13 dina harbor 18 hana grove 29 eli indigo 30
eli indigo 30 hana grove 29 gus delta 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012245-p1
Output the three full records with the highest values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules delta 19 eli grove 23 kim indigo 21 bruno fable 27 hana delta 19 ivan delta 3 kim delta 25 hana indigo 12 alice juniper 1
bruno fable 27 kim delta 25 eli grove 23
gus delta 26 farah juniper 9 gus cobalt 17 lina delta 25 alice ember 13 dina harbor 18 hana grove 29 eli indigo 30
eli indigo 30 hana grove 29 gus delta 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012245
qwen/qwen3.7-plus
awkweave-0012246
Select the 4th and 3rd fields in that order.
{print $4, $3}
pending 94 ember 27 closed closed pending 92 harbor 29 pending ready paused 23 juniper 118 active active active 96 fable 96 failed failed pending 80 ember 28 active ready closed 59 cobalt 113 active active ready 16 juniper 21 pending ready ready 33 juniper 50 ready ready
27 ember 29 harbor 118 juniper 96 fable 28 ember 113 cobalt 21 juniper 50 juniper
closed 89 juniper 61 ready closed pending 120 fable 72 failed failed pending 40 delta 93 pending paused paused 82 harbor 120 paused active ready 66 juniper 97 closed active failed 80 delta 116 ready closed failed 115 juniper 103 ready closed pending 112 juniper 10 active closed paused 107 juniper 10 active failed pendi...
61 juniper 72 fable 93 delta 120 harbor 97 juniper 116 delta 103 juniper 10 juniper 10 juniper 22 juniper
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012246-p1
Extract and print the 4th field followed by the 3rd field.
{print $4, $3}
pending 94 ember 27 closed closed pending 92 harbor 29 pending ready paused 23 juniper 118 active active active 96 fable 96 failed failed pending 80 ember 28 active ready closed 59 cobalt 113 active active ready 16 juniper 21 pending ready ready 33 juniper 50 ready ready
27 ember 29 harbor 118 juniper 96 fable 28 ember 113 cobalt 21 juniper 50 juniper
closed 89 juniper 61 ready closed pending 120 fable 72 failed failed pending 40 delta 93 pending paused paused 82 harbor 120 paused active ready 66 juniper 97 closed active failed 80 delta 116 ready closed failed 115 juniper 103 ready closed pending 112 juniper 10 active closed paused 107 juniper 10 active failed pendi...
61 juniper 72 fable 93 delta 120 harbor 97 juniper 116 delta 103 juniper 10 juniper 10 juniper 22 juniper
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012246
qwen/qwen3.7-plus
awkweave-0012247
Print the last field of every input line.
{print $NF}
82 18 ember juniper 55 eli 43 95 91 cobalt delta 79 farah 87 68 51 delta fable 85 farah 48 109 20 delta ember 26 dina 44 91 60 indigo fable 113 gus 81 22 90 amber birch 11 farah 65 26 41 grove cobalt 29 ivan 43 25 109 ember grove 40 kim 76 25 90 ember delta 19 ivan 112 89 77 cobalt harbor 82 eli 57
43 87 48 44 81 65 43 76 112 57
73 93 cobalt birch 30 farah 95 72 64 birch birch 17 hana 16 97 46 harbor harbor 75 eli 87 10 69 ember fable 16 ivan 55 0 119 grove harbor 15 eli 91 41 18 delta juniper 50 farah 61 31 19 indigo delta 41 jules 19 67 80 cobalt indigo 72 alice 90 41 59 birch delta 83 lina 8
95 16 87 55 91 61 19 90 8
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012247-p1
Print the final field from every line of input.
{print $NF}
82 18 ember juniper 55 eli 43 95 91 cobalt delta 79 farah 87 68 51 delta fable 85 farah 48 109 20 delta ember 26 dina 44 91 60 indigo fable 113 gus 81 22 90 amber birch 11 farah 65 26 41 grove cobalt 29 ivan 43 25 109 ember grove 40 kim 76 25 90 ember delta 19 ivan 112 89 77 cobalt harbor 82 eli 57
43 87 48 44 81 65 43 76 112 57
73 93 cobalt birch 30 farah 95 72 64 birch birch 17 hana 16 97 46 harbor harbor 75 eli 87 10 69 ember fable 16 ivan 55 0 119 grove harbor 15 eli 91 41 18 delta juniper 50 farah 61 31 19 indigo delta 41 jules 19 67 80 cobalt indigo 72 alice 90 41 59 birch delta 83 lina 8
95 16 87 55 91 61 19 90 8
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012247
qwen/qwen3.7-plus
awkweave-0012248
Print the complete records where column 1 is less than 62.
$1 < 62
90 lina fable 13 ivan cobalt 41 dina cobalt 33 chen fable 31 bruno birch 74 eli amber 50 farah cobalt 74 ivan birch 60 ivan delta 56 dina delta
13 ivan cobalt 41 dina cobalt 33 chen fable 31 bruno birch 50 farah cobalt 60 ivan delta 56 dina delta
15 hana grove 87 ivan juniper 102 hana harbor 107 chen grove 60 gus juniper 74 hana indigo 25 chen juniper 93 bruno delta 97 lina harbor 49 dina grove
15 hana grove 60 gus juniper 25 chen juniper 49 dina grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012248-p1
Output full records where the value in the first column is strictly less than 62.
$1 < 62
90 lina fable 13 ivan cobalt 41 dina cobalt 33 chen fable 31 bruno birch 74 eli amber 50 farah cobalt 74 ivan birch 60 ivan delta 56 dina delta
13 ivan cobalt 41 dina cobalt 33 chen fable 31 bruno birch 50 farah cobalt 60 ivan delta 56 dina delta
15 hana grove 87 ivan juniper 102 hana harbor 107 chen grove 60 gus juniper 74 hana indigo 25 chen juniper 93 bruno delta 97 lina harbor 49 dina grove
15 hana grove 60 gus juniper 25 chen juniper 49 dina grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012248
qwen/qwen3.7-plus
awkweave-0012249
Show whole lines whose 2nd field is between 11 and 22, inclusive.
$2 >= 11 && $2 <= 22
active 29 failed hana failed 16 pending dina paused 26 paused ivan paused 20 active lina pending 26 ready kim ready 13 pending eli closed 6 paused jules ready 16 failed gus closed 3 active chen failed 17 closed ivan
failed 16 pending dina paused 20 active lina ready 13 pending eli ready 16 failed gus failed 17 closed ivan
closed 8 closed kim active 25 failed alice paused 15 paused ivan paused 5 active dina active 27 paused bruno failed 28 ready chen pending 8 closed alice failed 18 pending alice ready 19 ready jules ready 21 paused farah
paused 15 paused ivan failed 18 pending alice ready 19 ready jules ready 21 paused farah
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012249-p1
Display entire lines where the second field falls within the inclusive range of 11 to 22.
$2 >= 11 && $2 <= 22
active 29 failed hana failed 16 pending dina paused 26 paused ivan paused 20 active lina pending 26 ready kim ready 13 pending eli closed 6 paused jules ready 16 failed gus closed 3 active chen failed 17 closed ivan
failed 16 pending dina paused 20 active lina ready 13 pending eli ready 16 failed gus failed 17 closed ivan
closed 8 closed kim active 25 failed alice paused 15 paused ivan paused 5 active dina active 27 paused bruno failed 28 ready chen pending 8 closed alice failed 18 pending alice ready 19 ready jules ready 21 paused farah
paused 15 paused ivan failed 18 pending alice ready 19 ready jules ready 21 paused farah
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012249
qwen/qwen3.7-plus
awkweave-0012250
Print column 4 only for rows where column 1 is exactly closed.
$1 == "closed"{print $4}
paused 76 harbor eli paused 16 harbor eli ready 83 ember alice paused 21 juniper ivan active 99 harbor alice paused 52 birch gus ready 20 birch gus paused 117 amber alice closed 40 grove chen
chen
ready 20 ember eli failed 12 delta chen pending 37 cobalt alice pending 109 juniper ivan closed 106 cobalt eli ready 96 delta chen paused 33 indigo alice failed 66 cobalt jules
eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012250-p1
Extract and print only the fourth column for rows where the first column equals 'closed'.
$1 == "closed"{print $4}
paused 76 harbor eli paused 16 harbor eli ready 83 ember alice paused 21 juniper ivan active 99 harbor alice paused 52 birch gus ready 20 birch gus paused 117 amber alice closed 40 grove chen
chen
ready 20 ember eli failed 12 delta chen pending 37 cobalt alice pending 109 juniper ivan closed 106 cobalt eli ready 96 delta chen paused 33 indigo alice failed 66 cobalt jules
eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012250
qwen/qwen3.7-plus
awkweave-0012251
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
WARN ember 32 INFO juniper 59 WARN fable 109 WARN ember 30 WARN juniper 37 INFO birch 50 ERROR ember 11 INFO ember 114 ERROR amber 57 WARN harbor 15
INFO juniper 59 INFO birch 50 INFO ember 114
WARN delta 45 WARN fable 44 WARN harbor 41 WARN juniper 6 WARN juniper 60 WARN grove 10
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012251-p1
Print all fields from lines where the first field starts with the string 'INFO'.
$1 ~ /^INFO/
WARN ember 32 INFO juniper 59 WARN fable 109 WARN ember 30 WARN juniper 37 INFO birch 50 ERROR ember 11 INFO ember 114 ERROR amber 57 WARN harbor 15
INFO juniper 59 INFO birch 50 INFO ember 114
WARN delta 45 WARN fable 44 WARN harbor 41 WARN juniper 6 WARN juniper 60 WARN grove 10
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012251
qwen/qwen3.7-plus
awkweave-0012252
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
grove 15 ready juniper 45 ready indigo 112 failed grove 35 pending delta 110 paused juniper 29 paused amber 78 paused indigo 999 active
grove 15 ready juniper 45 ready grove 35 pending delta 110 paused juniper 29 paused amber 78 paused
indigo 7 failed grove 62 closed juniper 76 paused grove 5 paused birch 60 closed delta 1 failed ember 53 paused juniper 49 active juniper 45 active indigo 20 active indigo 999 active
grove 62 closed juniper 76 paused grove 5 paused birch 60 closed delta 1 failed ember 53 paused juniper 49 active juniper 45 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012252-p1
Output every line that does not contain the exact substring 'indigo'.
$0 !~ /indigo/
grove 15 ready juniper 45 ready indigo 112 failed grove 35 pending delta 110 paused juniper 29 paused amber 78 paused indigo 999 active
grove 15 ready juniper 45 ready grove 35 pending delta 110 paused juniper 29 paused amber 78 paused
indigo 7 failed grove 62 closed juniper 76 paused grove 5 paused birch 60 closed delta 1 failed ember 53 paused juniper 49 active juniper 45 active indigo 20 active indigo 999 active
grove 62 closed juniper 76 paused grove 5 paused birch 60 closed delta 1 failed ember 53 paused juniper 49 active juniper 45 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012252
qwen/qwen3.7-plus
awkweave-0012253
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
hana delta 98 kim delta 28 hana delta 75 kim amber 24 dina harbor 36 eli cobalt 87 hana birch 95 kim fable 112 kim juniper 31 ivan fable 111
kim delta 28 hana delta 75 kim amber 24
jules indigo 120 eli birch 90 gus indigo 108 lina cobalt 45 kim fable 94 bruno juniper 64 bruno indigo 81 farah fable 66
eli birch 90 gus indigo 108 lina cobalt 45
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012253-p1
Print lines numbered 2 through 4, inclusive of both the start and end lines.
NR >= 2 && NR <= 4
hana delta 98 kim delta 28 hana delta 75 kim amber 24 dina harbor 36 eli cobalt 87 hana birch 95 kim fable 112 kim juniper 31 ivan fable 111
kim delta 28 hana delta 75 kim amber 24
jules indigo 120 eli birch 90 gus indigo 108 lina cobalt 45 kim fable 94 bruno juniper 64 bruno indigo 81 farah fable 66
eli birch 90 gus indigo 108 lina cobalt 45
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012253
qwen/qwen3.7-plus
awkweave-0012254
Output only the first 2 records.
NR <= 2
bruno 118 delta eli 76 ember kim 36 fable dina 39 indigo eli 18 ember ivan 91 birch hana 25 delta lina 7 harbor
bruno 118 delta eli 76 ember
jules 29 delta lina 15 harbor eli 3 grove bruno 2 grove eli 66 harbor chen 18 juniper dina 44 ember
jules 29 delta lina 15 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012254-p1
Output only the first two records from the input.
NR <= 2
bruno 118 delta eli 76 ember kim 36 fable dina 39 indigo eli 18 ember ivan 91 birch hana 25 delta lina 7 harbor
bruno 118 delta eli 76 ember
jules 29 delta lina 15 harbor eli 3 grove bruno 2 grove eli 66 harbor chen 18 juniper dina 44 ember
jules 29 delta lina 15 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012254
qwen/qwen3.7-plus
awkweave-0012255
Skip the first line and print every remaining line unchanged.
NR > 1
lina 33 indigo alice 21 ember farah 84 cobalt lina 61 cobalt jules 46 fable bruno 55 ember chen 11 delta dina 96 juniper jules 1 indigo
alice 21 ember farah 84 cobalt lina 61 cobalt jules 46 fable bruno 55 ember chen 11 delta dina 96 juniper jules 1 indigo
eli 14 juniper farah 51 indigo ivan 35 harbor bruno 107 cobalt ivan 105 indigo gus 51 juniper gus 60 fable dina 23 delta
farah 51 indigo ivan 35 harbor bruno 107 cobalt ivan 105 indigo gus 51 juniper gus 60 fable dina 23 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012255-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
lina 33 indigo alice 21 ember farah 84 cobalt lina 61 cobalt jules 46 fable bruno 55 ember chen 11 delta dina 96 juniper jules 1 indigo
alice 21 ember farah 84 cobalt lina 61 cobalt jules 46 fable bruno 55 ember chen 11 delta dina 96 juniper jules 1 indigo
eli 14 juniper farah 51 indigo ivan 35 harbor bruno 107 cobalt ivan 105 indigo gus 51 juniper gus 60 fable dina 23 delta
farah 51 indigo ivan 35 harbor bruno 107 cobalt ivan 105 indigo gus 51 juniper gus 60 fable dina 23 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012255
qwen/qwen3.7-plus
awkweave-0012256
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
farah failed 78 lina active 119 eli ready 46 lina active 47 farah failed 46 eli paused 93 eli pending 87 hana closed 55
1
farah paused 96 eli failed 22 jules pending 49 dina active 25 hana closed 34 ivan pending 54 jules closed 26 bruno paused 88
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012256-p1
Count the number of records where the second column contains 'paused', outputting 0 if the count is zero.
$2 == "paused"{n++}END{print n+0}
farah failed 78 lina active 119 eli ready 46 lina active 47 farah failed 46 eli paused 93 eli pending 87 hana closed 55
1
farah paused 96 eli failed 22 jules pending 49 dina active 25 hana closed 34 ivan pending 54 jules closed 26 bruno paused 88
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012256
qwen/qwen3.7-plus
awkweave-0012257
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
delta lina 23 fable alice 28 amber hana 24 juniper ivan 22 fable gus 11 amber hana 25 ember farah 13 amber ivan 19 indigo lina 8 ember bruno 27
200
juniper gus 6 birch alice 19 harbor hana 5 juniper jules 16 fable hana 28 juniper jules 24 ember kim 27
125
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012257-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
delta lina 23 fable alice 28 amber hana 24 juniper ivan 22 fable gus 11 amber hana 25 ember farah 13 amber ivan 19 indigo lina 8 ember bruno 27
200
juniper gus 6 birch alice 19 harbor hana 5 juniper jules 16 fable hana 28 juniper jules 24 ember kim 27
125
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012257
qwen/qwen3.7-plus
awkweave-0012258
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
gus juniper 23 ivan grove 20 chen cobalt 12 jules indigo 23 eli indigo 26 bruno ember 25 gus juniper 21 lina harbor 8 eli birch 15
19.22
kim juniper 17 eli grove 1 dina amber 3 eli harbor 10 ivan grove 23 bruno harbor 4 lina indigo 27 dina harbor 10
11.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012258-p1
Calculate the average of values in the third column and print the result rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
gus juniper 23 ivan grove 20 chen cobalt 12 jules indigo 23 eli indigo 26 bruno ember 25 gus juniper 21 lina harbor 8 eli birch 15
19.22
kim juniper 17 eli grove 1 dina amber 3 eli harbor 10 ivan grove 23 bruno harbor 4 lina indigo 27 dina harbor 10
11.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012258
qwen/qwen3.7-plus
awkweave-0012259
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor alice 14 amber kim 12 indigo jules 15 grove kim 6 indigo hana 19 cobalt kim 25 harbor kim 17 ember kim 8
6
juniper jules 2 birch kim 18 cobalt kim 8 fable kim 30 juniper eli 1 indigo kim 4 harbor bruno 30 cobalt chen 11
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012259-p1
Identify and print the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor alice 14 amber kim 12 indigo jules 15 grove kim 6 indigo hana 19 cobalt kim 25 harbor kim 17 ember kim 8
6
juniper jules 2 birch kim 18 cobalt kim 8 fable kim 30 juniper eli 1 indigo kim 4 harbor bruno 30 cobalt chen 11
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012259
qwen/qwen3.7-plus
awkweave-0012260
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
eli 25 juniper hana 16 juniper jules 23 birch eli 14 amber eli 27 juniper kim 9 delta jules 23 indigo bruno 6 cobalt
27
lina 30 delta alice 11 ember dina 28 harbor farah 2 amber ivan 7 ember gus 1 harbor hana 5 ember lina 21 ember
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012260-p1
Identify and output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
eli 25 juniper hana 16 juniper jules 23 birch eli 14 amber eli 27 juniper kim 9 delta jules 23 indigo bruno 6 cobalt
27
lina 30 delta alice 11 ember dina 28 harbor farah 2 amber ivan 7 ember gus 1 harbor hana 5 ember lina 21 ember
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012260
qwen/qwen3.7-plus
awkweave-0012261
Count all input records and print the total.
END{print NR}
dina 103 jules 34 alice 73 alice 12 alice 3 farah 62 ivan 97 ivan 108 alice 44 lina 92
10
dina 12 jules 21 hana 110 bruno 117 kim 2 farah 40 farah 38
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012261-p1
Calculate the total number of input records and display the count.
END{print NR}
dina 103 jules 34 alice 73 alice 12 alice 3 farah 62 ivan 97 ivan 108 alice 44 lina 92
10
dina 12 jules 21 hana 110 bruno 117 kim 2 farah 40 farah 38
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012261
qwen/qwen3.7-plus
awkweave-0012262
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus amber 69 kim cobalt 43 bruno birch 83 hana birch 52 kim cobalt 73 ivan birch 87 kim cobalt 43 jules cobalt 2 lina fable 50
gus amber 69 kim cobalt 43 bruno birch 83 hana birch 52 kim cobalt 73 ivan birch 87 jules cobalt 2 lina fable 50
lina cobalt 47 eli fable 5 eli fable 5 farah juniper 65 farah amber 3 ivan juniper 95 ivan grove 60
lina cobalt 47 eli fable 5 farah juniper 65 farah amber 3 ivan juniper 95 ivan grove 60
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012262-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
gus amber 69 kim cobalt 43 bruno birch 83 hana birch 52 kim cobalt 73 ivan birch 87 kim cobalt 43 jules cobalt 2 lina fable 50
gus amber 69 kim cobalt 43 bruno birch 83 hana birch 52 kim cobalt 73 ivan birch 87 jules cobalt 2 lina fable 50
lina cobalt 47 eli fable 5 eli fable 5 farah juniper 65 farah amber 3 ivan juniper 95 ivan grove 60
lina cobalt 47 eli fable 5 farah juniper 65 farah amber 3 ivan juniper 95 ivan grove 60
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012262
qwen/qwen3.7-plus
awkweave-0012263
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
ivan cobalt 117 ivan delta 73 gus amber 97 chen grove 63 bruno delta 20 eli birch 84 jules grove 52 bruno indigo 94 alice amber 6
ivan cobalt 117 ivan delta 73 gus amber 97 chen grove 63 bruno delta 20 eli birch 84 jules grove 52 bruno indigo 94 alice amber 6
kim delta 28 dina birch 85 farah amber 108 kim ember 120 hana delta 95 eli cobalt 1 dina amber 98
kim delta 28 dina birch 85 farah amber 108 kim ember 120 hana delta 95 eli cobalt 1 dina amber 98
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012263-p1
Retain only the initial line for every unique value in the third column, keeping the original order.
!seen[$3]++
ivan cobalt 117 ivan delta 73 gus amber 97 chen grove 63 bruno delta 20 eli birch 84 jules grove 52 bruno indigo 94 alice amber 6
ivan cobalt 117 ivan delta 73 gus amber 97 chen grove 63 bruno delta 20 eli birch 84 jules grove 52 bruno indigo 94 alice amber 6
kim delta 28 dina birch 85 farah amber 108 kim ember 120 hana delta 95 eli cobalt 1 dina amber 98
kim delta 28 dina birch 85 farah amber 108 kim ember 120 hana delta 95 eli cobalt 1 dina amber 98
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012263
qwen/qwen3.7-plus
awkweave-0012264
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 24 delta hana 12 cobalt hana 7 ember farah 8 indigo bruno 5 cobalt farah 27 amber gus 4 grove ivan 6 fable jules 19 birch eli 26 ember
jules 24 hana 36 hana 43 farah 51 bruno 56 farah 83 gus 87 ivan 93 jules 112 eli 138
dina 21 indigo kim 5 delta bruno 28 ember jules 14 delta eli 14 cobalt lina 3 amber hana 22 harbor kim 30 indigo chen 30 fable dina 1 harbor
dina 21 kim 26 bruno 54 jules 68 eli 82 lina 85 hana 107 kim 137 chen 167 dina 168
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012264-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
jules 24 delta hana 12 cobalt hana 7 ember farah 8 indigo bruno 5 cobalt farah 27 amber gus 4 grove ivan 6 fable jules 19 birch eli 26 ember
jules 24 hana 36 hana 43 farah 51 bruno 56 farah 83 gus 87 ivan 93 jules 112 eli 138
dina 21 indigo kim 5 delta bruno 28 ember jules 14 delta eli 14 cobalt lina 3 amber hana 22 harbor kim 30 indigo chen 30 fable dina 1 harbor
dina 21 kim 26 bruno 54 jules 68 eli 82 lina 85 hana 107 kim 137 chen 167 dina 168
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012264
qwen/qwen3.7-plus
awkweave-0012265
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 27 1 fable dina 28 23 grove hana 3 22 grove eli 22 15 ember hana 2 27 harbor lina 30 9 fable alice 20 19 cobalt gus 24 20 harbor kim 13 22 cobalt jules 8 15 amber
dina 28 dina 51 hana 25 eli 37 hana 29 lina 39 alice 39 gus 44 kim 35 jules 23
alice 30 14 ember ivan 24 30 delta jules 22 11 amber jules 4 14 harbor ivan 7 5 amber alice 25 8 delta lina 1 21 grove eli 29 7 ember ivan 28 2 delta
alice 44 ivan 54 jules 33 jules 18 ivan 12 alice 33 lina 22 eli 36 ivan 30
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012265-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
dina 27 1 fable dina 28 23 grove hana 3 22 grove eli 22 15 ember hana 2 27 harbor lina 30 9 fable alice 20 19 cobalt gus 24 20 harbor kim 13 22 cobalt jules 8 15 amber
dina 28 dina 51 hana 25 eli 37 hana 29 lina 39 alice 39 gus 44 kim 35 jules 23
alice 30 14 ember ivan 24 30 delta jules 22 11 amber jules 4 14 harbor ivan 7 5 amber alice 25 8 delta lina 1 21 grove eli 29 7 ember ivan 28 2 delta
alice 44 ivan 54 jules 33 jules 18 ivan 12 alice 33 lina 22 eli 36 ivan 30
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012265
qwen/qwen3.7-plus
awkweave-0012266
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
lina 18 ivan 12 lina 29 gus 20 alice 18 chen 22 bruno 4 jules 3 dina 27
lina fail ivan fail lina pass gus fail alice fail chen fail bruno fail jules fail dina pass
kim 22 bruno 30 gus 10 chen 24 dina 26 kim 3 gus 5 gus 13 gus 13
kim fail bruno pass gus fail chen pass dina pass kim fail gus fail gus fail gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012266-p1
Output the first column with 'pass' if the second column is 23 or greater, otherwise output 'fail'.
{print $1,($2>=23?"pass":"fail")}
lina 18 ivan 12 lina 29 gus 20 alice 18 chen 22 bruno 4 jules 3 dina 27
lina fail ivan fail lina pass gus fail alice fail chen fail bruno fail jules fail dina pass
kim 22 bruno 30 gus 10 chen 24 dina 26 kim 3 gus 5 gus 13 gus 13
kim fail bruno pass gus fail chen pass dina pass kim fail gus fail gus fail gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012266
qwen/qwen3.7-plus
awkweave-0012267
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules grove 38 kim birch 115 hana cobalt 58 dina indigo 105 lina juniper 64 bruno harbor 1
JULES KIM HANA DINA LINA BRUNO
jules fable 80 alice cobalt 95 chen harbor 113 lina fable 4 kim ember 9 farah birch 16 bruno fable 2 hana birch 93 eli harbor 47 lina harbor 50
JULES ALICE CHEN LINA KIM FARAH BRUNO HANA ELI LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012267-p1
Transform the first column to uppercase and print only that column.
{print toupper($1)}
jules grove 38 kim birch 115 hana cobalt 58 dina indigo 105 lina juniper 64 bruno harbor 1
JULES KIM HANA DINA LINA BRUNO
jules fable 80 alice cobalt 95 chen harbor 113 lina fable 4 kim ember 9 farah birch 16 bruno fable 2 hana birch 93 eli harbor 47 lina harbor 50
JULES ALICE CHEN LINA KIM FARAH BRUNO HANA ELI LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012267
qwen/qwen3.7-plus
awkweave-0012268
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
birch 24 fable 41 delta 59 ember 6 amber 92 juniper 59 juniper 32 fable 51
rc bl lt be be ni ni bl
amber 9 juniper 5 grove 75 juniper 117 fable 116 cobalt 103 ember 103
be ni ov ni bl ba be
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012268-p1
Extract and print a 2-character substring from the first column, starting at the third character.
{print substr($1,3,2)}
birch 24 fable 41 delta 59 ember 6 amber 92 juniper 59 juniper 32 fable 51
rc bl lt be be ni ni bl
amber 9 juniper 5 grove 75 juniper 117 fable 116 cobalt 103 ember 103
be ni ov ni bl ba be
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012268
qwen/qwen3.7-plus
awkweave-0012269
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_birch 44 fable_harbor 39 ember_delta 28 fable_amber 61 cobalt_delta 16 grove_harbor 0
cobalt birch fable harbor ember delta fable amber cobalt delta grove harbor
cobalt_juniper 109 indigo_ember 115 amber_indigo 35 delta_ember 72 delta_juniper 8 harbor_indigo 58 delta_indigo 43 fable_juniper 73
cobalt juniper indigo ember amber indigo delta ember delta juniper harbor indigo delta indigo fable juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012269-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_birch 44 fable_harbor 39 ember_delta 28 fable_amber 61 cobalt_delta 16 grove_harbor 0
cobalt birch fable harbor ember delta fable amber cobalt delta grove harbor
cobalt_juniper 109 indigo_ember 115 amber_indigo 35 delta_ember 72 delta_juniper 8 harbor_indigo 58 delta_indigo 43 fable_juniper 73
cobalt juniper indigo ember amber indigo delta ember delta juniper harbor indigo delta indigo fable juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012269
qwen/qwen3.7-plus
awkweave-0012270
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)}
farah ember 36 closed gus grove 29 ready kim birch 77 pending eli birch 14 active bruno indigo 16 ready farah indigo 113 active ivan birch 108 pending gus harbor 41 pending farah fable 26 paused
closed 36 ember farah ready 29 grove gus pending 77 birch kim active 14 birch eli ready 16 indigo bruno active 113 indigo farah pending 108 birch ivan pending 41 harbor gus paused 26 fable farah
bruno cobalt 46 pending alice amber 34 failed chen ember 118 pending bruno grove 16 pending hana indigo 7 ready alice juniper 83 paused
pending 46 cobalt bruno failed 34 amber alice pending 118 ember chen pending 16 grove bruno ready 7 indigo hana paused 83 juniper alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null