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-0058003
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
lina paused 118 jules ready 118 farah pending 105 chen active 55 lina ready 31 gus pending 71 gus active 103
2
farah active 19 jules closed 73 lina pending 8 lina ready 43 dina ready 19 hana active 19 hana active 34
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058003-p1
Tally the records where column 2 is 'ready', printing 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
lina paused 118 jules ready 118 farah pending 105 chen active 55 lina ready 31 gus pending 71 gus active 103
2
farah active 19 jules closed 73 lina pending 8 lina ready 43 dina ready 19 hana active 19 hana active 34
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058003
qwen/qwen3.7-plus
awkweave-0058004
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
26 cobalt ivan 1 birch bruno 26 birch ivan 7 indigo eli 29 juniper bruno 3 harbor hana 25 grove alice 12 grove kim
129
4 ember hana 12 birch hana 26 fable alice 18 birch dina 4 juniper gus 13 birch gus 4 delta gus 13 juniper bruno 24 amber alice
118
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058004-p1
Compute and display the total sum of integer values in column 1.
{s+=$1}END{print s+0}
26 cobalt ivan 1 birch bruno 26 birch ivan 7 indigo eli 29 juniper bruno 3 harbor hana 25 grove alice 12 grove kim
129
4 ember hana 12 birch hana 26 fable alice 18 birch dina 4 juniper gus 13 birch gus 4 delta gus 13 juniper bruno 24 amber alice
118
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058004
qwen/qwen3.7-plus
awkweave-0058005
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 fable gus 11 grove eli 20 cobalt lina 22 fable dina 17 grove dina 4 indigo kim 10 juniper eli 17 amber alice
13.75
9 fable kim 17 amber dina 8 cobalt dina 21 juniper bruno 25 indigo chen 15 indigo hana 4 harbor ivan 23 amber eli 8 harbor ivan
14.44
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058005-p1
Print the average of column 1, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 fable gus 11 grove eli 20 cobalt lina 22 fable dina 17 grove dina 4 indigo kim 10 juniper eli 17 amber alice
13.75
9 fable kim 17 amber dina 8 cobalt dina 21 juniper bruno 25 indigo chen 15 indigo hana 4 harbor ivan 23 amber eli 8 harbor ivan
14.44
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058005
qwen/qwen3.7-plus
awkweave-0058006
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
10 grove kim 15 delta eli 5 birch gus 14 juniper dina 27 cobalt hana 26 birch kim 8 birch gus 26 birch alice 17 cobalt ivan
5
26 amber kim 22 indigo chen 19 birch chen 8 cobalt dina 3 delta farah 7 cobalt lina 19 amber bruno
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058006-p1
Identify and output the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
10 grove kim 15 delta eli 5 birch gus 14 juniper dina 27 cobalt hana 26 birch kim 8 birch gus 26 birch alice 17 cobalt ivan
5
26 amber kim 22 indigo chen 19 birch chen 8 cobalt dina 3 delta farah 7 cobalt lina 19 amber bruno
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058006
qwen/qwen3.7-plus
awkweave-0058007
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
6 fable lina 27 juniper chen 14 harbor kim 13 birch bruno 21 ember hana 9 juniper gus 22 juniper gus 7 birch chen 23 ember chen
27
14 amber eli 15 indigo hana 27 grove jules 27 indigo bruno 7 harbor alice 12 birch eli 20 amber ivan 12 indigo ivan
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058007-p1
Identify and output the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
6 fable lina 27 juniper chen 14 harbor kim 13 birch bruno 21 ember hana 9 juniper gus 22 juniper gus 7 birch chen 23 ember chen
27
14 amber eli 15 indigo hana 27 grove jules 27 indigo bruno 7 harbor alice 12 birch eli 20 amber ivan 12 indigo ivan
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058007
qwen/qwen3.7-plus
awkweave-0058008
Count all input records and print the total.
END{print NR}
bruno 3 gus 93 chen 106 hana 105 alice 77 chen 58 gus 35 eli 112
8
lina 40 bruno 59 hana 85 gus 98 gus 69 eli 2 jules 116 jules 36
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058008-p1
Count the total number of input records and print the result.
END{print NR}
bruno 3 gus 93 chen 106 hana 105 alice 77 chen 58 gus 35 eli 112
8
lina 40 bruno 59 hana 85 gus 98 gus 69 eli 2 jules 116 jules 36
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058008
qwen/qwen3.7-plus
awkweave-0058009
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina cobalt 73 hana indigo 3 chen indigo 2 bruno ember 1 jules indigo 112 hana indigo 3 farah cobalt 90
lina cobalt 73 hana indigo 3 chen indigo 2 bruno ember 1 jules indigo 112 farah cobalt 90
gus ember 107 alice ember 56 kim delta 90 hana cobalt 71 dina cobalt 16 alice ember 56 chen harbor 111 bruno harbor 13
gus ember 107 alice ember 56 kim delta 90 hana cobalt 71 dina cobalt 16 chen harbor 111 bruno harbor 13
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058009-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining original order.
!seen[$0]++
lina cobalt 73 hana indigo 3 chen indigo 2 bruno ember 1 jules indigo 112 hana indigo 3 farah cobalt 90
lina cobalt 73 hana indigo 3 chen indigo 2 bruno ember 1 jules indigo 112 farah cobalt 90
gus ember 107 alice ember 56 kim delta 90 hana cobalt 71 dina cobalt 16 alice ember 56 chen harbor 111 bruno harbor 13
gus ember 107 alice ember 56 kim delta 90 hana cobalt 71 dina cobalt 16 chen harbor 111 bruno harbor 13
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058009
qwen/qwen3.7-plus
awkweave-0058010
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
jules ember 27 farah ember 25 eli amber 117 jules ember 60 alice amber 16 bruno harbor 62 gus fable 87
jules ember 27 farah ember 25 eli amber 117 jules ember 60 alice amber 16 bruno harbor 62 gus fable 87
chen fable 95 alice cobalt 10 gus birch 16 eli grove 83 eli ember 58 kim juniper 7 hana ember 15 kim ember 16
chen fable 95 alice cobalt 10 gus birch 16 eli grove 83 eli ember 58 kim juniper 7 hana ember 15
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058010-p1
Retain only the first occurrence for each unique value in column 3, preserving the input sequence.
!seen[$3]++
jules ember 27 farah ember 25 eli amber 117 jules ember 60 alice amber 16 bruno harbor 62 gus fable 87
jules ember 27 farah ember 25 eli amber 117 jules ember 60 alice amber 16 bruno harbor 62 gus fable 87
chen fable 95 alice cobalt 10 gus birch 16 eli grove 83 eli ember 58 kim juniper 7 hana ember 15 kim ember 16
chen fable 95 alice cobalt 10 gus birch 16 eli grove 83 eli ember 58 kim juniper 7 hana ember 15
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058010
qwen/qwen3.7-plus
awkweave-0058011
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 9 cobalt chen 22 amber alice 16 harbor chen 14 amber dina 29 fable hana 21 fable hana 19 cobalt jules 21 harbor eli 11 ember ivan 21 birch
chen 9 chen 31 alice 47 chen 61 dina 90 hana 111 hana 130 jules 151 eli 162 ivan 183
dina 29 ember lina 18 fable alice 13 delta lina 28 cobalt hana 17 amber eli 28 ember jules 17 ember
dina 29 lina 47 alice 60 lina 88 hana 105 eli 133 jules 150
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058011-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 9 cobalt chen 22 amber alice 16 harbor chen 14 amber dina 29 fable hana 21 fable hana 19 cobalt jules 21 harbor eli 11 ember ivan 21 birch
chen 9 chen 31 alice 47 chen 61 dina 90 hana 111 hana 130 jules 151 eli 162 ivan 183
dina 29 ember lina 18 fable alice 13 delta lina 28 cobalt hana 17 amber eli 28 ember jules 17 ember
dina 29 lina 47 alice 60 lina 88 hana 105 eli 133 jules 150
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058011
qwen/qwen3.7-plus
awkweave-0058012
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 21 15 juniper hana 21 13 indigo hana 16 19 amber lina 13 4 juniper dina 27 27 juniper lina 27 13 delta alice 10 1 delta
lina 36 hana 34 hana 35 lina 17 dina 54 lina 40 alice 11
bruno 1 3 birch dina 12 10 fable alice 27 27 ember gus 21 17 grove chen 10 29 delta bruno 4 26 birch dina 1 10 ember jules 6 15 amber
bruno 4 dina 22 alice 54 gus 38 chen 39 bruno 30 dina 11 jules 21
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058012-p1
Output the first field and the total of the second and third fields for each row.
{print $1,$2+$3}
lina 21 15 juniper hana 21 13 indigo hana 16 19 amber lina 13 4 juniper dina 27 27 juniper lina 27 13 delta alice 10 1 delta
lina 36 hana 34 hana 35 lina 17 dina 54 lina 40 alice 11
bruno 1 3 birch dina 12 10 fable alice 27 27 ember gus 21 17 grove chen 10 29 delta bruno 4 26 birch dina 1 10 ember jules 6 15 amber
bruno 4 dina 22 alice 54 gus 38 chen 39 bruno 30 dina 11 jules 21
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058012
qwen/qwen3.7-plus
awkweave-0058013
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
ivan 5 lina 18 eli 4 kim 8 gus 15 ivan 14 alice 4 lina 6 dina 13
ivan fail lina fail eli fail kim fail gus fail ivan fail alice fail lina fail dina fail
dina 21 kim 1 jules 7 eli 28 hana 10 ivan 22 dina 30
dina fail kim fail jules fail eli pass hana fail ivan fail dina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058013-p1
Display the first column; if the second column is 27 or higher, output 'pass', otherwise output 'fail'.
{print $1,($2>=27?"pass":"fail")}
ivan 5 lina 18 eli 4 kim 8 gus 15 ivan 14 alice 4 lina 6 dina 13
ivan fail lina fail eli fail kim fail gus fail ivan fail alice fail lina fail dina fail
dina 21 kim 1 jules 7 eli 28 hana 10 ivan 22 dina 30
dina fail kim fail jules fail eli pass hana fail ivan fail dina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058013
qwen/qwen3.7-plus
awkweave-0058014
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice delta 42 lina grove 20 farah delta 48 ivan juniper 27 chen birch 53 chen amber 15 jules ember 22
DELTA GROVE DELTA JUNIPER BIRCH AMBER EMBER
dina birch 16 lina birch 102 eli indigo 88 ivan harbor 110 ivan harbor 114 chen delta 4 gus juniper 30
BIRCH BIRCH INDIGO HARBOR HARBOR DELTA JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058014-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
alice delta 42 lina grove 20 farah delta 48 ivan juniper 27 chen birch 53 chen amber 15 jules ember 22
DELTA GROVE DELTA JUNIPER BIRCH AMBER EMBER
dina birch 16 lina birch 102 eli indigo 88 ivan harbor 110 ivan harbor 114 chen delta 4 gus juniper 30
BIRCH BIRCH INDIGO HARBOR HARBOR DELTA JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058014
qwen/qwen3.7-plus
awkweave-0058015
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
cobalt 41 harbor 63 juniper 107 ember 104 grove 53 harbor 70 harbor 44 fable 43
co ha ju em gr ha ha fa
fable 33 cobalt 54 cobalt 94 fable 37 juniper 91 birch 61 juniper 34 cobalt 76
fa co co fa ju bi ju co
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058015-p1
Extract and print the first 2 characters from the first column.
{print substr($1,1,2)}
cobalt 41 harbor 63 juniper 107 ember 104 grove 53 harbor 70 harbor 44 fable 43
co ha ju em gr ha ha fa
fable 33 cobalt 54 cobalt 94 fable 37 juniper 91 birch 61 juniper 34 cobalt 76
fa co co fa ju bi ju co
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058015
qwen/qwen3.7-plus
awkweave-0058016
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_indigo 109 fable_ember 68 grove_harbor 27 fable_grove 105 ember_juniper 62 delta_indigo 76 harbor_cobalt 114
cobalt indigo fable ember grove harbor fable grove ember juniper delta indigo harbor cobalt
amber_ember 17 harbor_amber 75 cobalt_delta 29 grove_birch 24 grove_fable 81 cobalt_fable 22 grove_amber 90 harbor_birch 66
amber ember harbor amber cobalt delta grove birch grove fable cobalt fable grove amber harbor birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058016-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_indigo 109 fable_ember 68 grove_harbor 27 fable_grove 105 ember_juniper 62 delta_indigo 76 harbor_cobalt 114
cobalt indigo fable ember grove harbor fable grove ember juniper delta indigo harbor cobalt
amber_ember 17 harbor_amber 75 cobalt_delta 29 grove_birch 24 grove_fable 81 cobalt_fable 22 grove_amber 90 harbor_birch 66
amber ember harbor amber cobalt delta grove birch grove fable cobalt fable grove amber harbor birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058016
qwen/qwen3.7-plus
awkweave-0058017
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)}
bruno cobalt 46 paused eli delta 81 paused hana cobalt 48 closed bruno cobalt 102 failed bruno indigo 105 active ivan cobalt 32 ready
paused 46 cobalt bruno paused 81 delta eli closed 48 cobalt hana failed 102 cobalt bruno active 105 indigo bruno ready 32 cobalt ivan
dina juniper 90 paused dina birch 49 paused gus ember 108 ready hana harbor 91 pending lina fable 53 paused lina harbor 115 failed dina grove 74 ready
paused 90 juniper dina paused 49 birch dina ready 108 ember gus pending 91 harbor hana paused 53 fable lina failed 115 harbor lina ready 74 grove dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058017-p1
Reverse the sequence of fields on every line and output all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno cobalt 46 paused eli delta 81 paused hana cobalt 48 closed bruno cobalt 102 failed bruno indigo 105 active ivan cobalt 32 ready
paused 46 cobalt bruno paused 81 delta eli closed 48 cobalt hana failed 102 cobalt bruno active 105 indigo bruno ready 32 cobalt ivan
dina juniper 90 paused dina birch 49 paused gus ember 108 ready hana harbor 91 pending lina fable 53 paused lina harbor 115 failed dina grove 74 ready
paused 90 juniper dina paused 49 birch dina ready 108 ember gus pending 91 harbor hana paused 53 fable lina failed 115 harbor lina ready 74 grove dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058017
qwen/qwen3.7-plus
awkweave-0058018
Print the number of whitespace-separated fields on each line.
{print NF}
hana juniper 29 failed ivan fable 103 failed chen juniper 72 closed gus grove 69 paused eli grove 32 ready eli birch 115 paused jules ember 107 pending hana amber 74 pending alice juniper 38 ready dina indigo 34 closed
4 4 4 4 4 4 4 4 4 4
alice delta 33 closed jules juniper 17 pending eli juniper 70 pending hana indigo 34 failed dina grove 57 paused gus indigo 30 failed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058018-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
hana juniper 29 failed ivan fable 103 failed chen juniper 72 closed gus grove 69 paused eli grove 32 ready eli birch 115 paused jules ember 107 pending hana amber 74 pending alice juniper 38 ready dina indigo 34 closed
4 4 4 4 4 4 4 4 4 4
alice delta 33 closed jules juniper 17 pending eli juniper 70 pending hana indigo 34 failed dina grove 57 paused gus indigo 30 failed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058018
qwen/qwen3.7-plus
awkweave-0058019
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]]}
lina delta 110 chen alpha 45 hana gamma 45 alice gamma 74 kim delta 106 hana beta 57 hana beta 71 chen alpha 64 dina gamma 111
delta 2 alpha 2 gamma 3 beta 2
lina beta 110 kim delta 114 chen delta 58 jules beta 52 bruno delta 13 lina delta 93
beta 2 delta 4
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058019-p1
Tally records by the value in the second column. Output each 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]]}
lina delta 110 chen alpha 45 hana gamma 45 alice gamma 74 kim delta 106 hana beta 57 hana beta 71 chen alpha 64 dina gamma 111
delta 2 alpha 2 gamma 3 beta 2
lina beta 110 kim delta 114 chen delta 58 jules beta 52 bruno delta 13 lina delta 93
beta 2 delta 4
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058019
qwen/qwen3.7-plus
awkweave-0058020
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 alpha 11 farah alpha 23 eli gamma 4 hana delta 21 gus delta 25 farah beta 7 dina alpha 14 alice gamma 26 ivan delta 22
alpha 48 gamma 30 delta 68 beta 7
eli gamma 9 alice beta 7 eli alpha 11 gus delta 21 ivan beta 4 dina delta 6
gamma 9 beta 11 alpha 11 delta 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058020-p1
Calculate the sum of the third column for each group defined by the second column, printing results 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 alpha 11 farah alpha 23 eli gamma 4 hana delta 21 gus delta 25 farah beta 7 dina alpha 14 alice gamma 26 ivan delta 22
alpha 48 gamma 30 delta 68 beta 7
eli gamma 9 alice beta 7 eli alpha 11 gus delta 21 ivan beta 4 dina delta 6
gamma 9 beta 11 alpha 11 delta 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058020
qwen/qwen3.7-plus
awkweave-0058021
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 cobalt 53 delta grove 34 delta juniper 90 beta delta 79 beta cobalt 84 beta indigo 86 gamma grove 44 delta indigo 67
beta 4 delta 3
gamma ember 26 delta delta 21 delta indigo 62 gamma birch 20 alpha amber 111 alpha indigo 116
gamma 2 delta 2 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058021-p1
List each duplicate value from the first column along with its occurrence count, 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 cobalt 53 delta grove 34 delta juniper 90 beta delta 79 beta cobalt 84 beta indigo 86 gamma grove 44 delta indigo 67
beta 4 delta 3
gamma ember 26 delta delta 21 delta indigo 62 gamma birch 20 alpha amber 111 alpha indigo 116
gamma 2 delta 2 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058021
qwen/qwen3.7-plus
awkweave-0058022
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name region record_id state r001 dina 27 pending r002 kim 28 ready r003 alice 21 paused r004 hana 17 active r005 ivan 2 active r006 hana 9 closed
pending ready paused active active closed
display_name region record_id state r001 jules 5 active r002 eli 10 failed r003 chen 29 closed r004 eli 3 pending r005 farah 16 closed r006 gus 9 failed r007 lina 16 active r008 ivan 29 paused
active failed closed pending closed failed active paused
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058022-p1
Skip the header row and print the state column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name region record_id state r001 dina 27 pending r002 kim 28 ready r003 alice 21 paused r004 hana 17 active r005 ivan 2 active r006 hana 9 closed
pending ready paused active active closed
display_name region record_id state r001 jules 5 active r002 eli 10 failed r003 chen 29 closed r004 eli 3 pending r005 farah 16 closed r006 gus 9 failed r007 lina 16 active r008 ivan 29 paused
active failed closed pending closed failed active paused
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058022
qwen/qwen3.7-plus
awkweave-0058023
The first row is a header. Print display_name for data rows whose score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 bruno 6 ready r002 dina 3 closed r003 gus 1 paused r004 lina 23 closed r005 kim 3 ready r006 hana 1 ready r007 dina 14 ready r008 chen 16 paused r009 chen 23 failed
lina chen
record_id display_name score state r001 lina 25 ready r002 farah 15 ready r003 bruno 10 ready r004 alice 4 active r005 alice 5 pending r006 farah 17 ready r007 ivan 11 paused r008 hana 1 active r009 kim 6 pending
lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058023-p1
Ignore the header row and print the display_name for rows where the score exceeds 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 bruno 6 ready r002 dina 3 closed r003 gus 1 paused r004 lina 23 closed r005 kim 3 ready r006 hana 1 ready r007 dina 14 ready r008 chen 16 paused r009 chen 23 failed
lina chen
record_id display_name score state r001 lina 25 ready r002 farah 15 ready r003 bruno 10 ready r004 alice 4 active r005 alice 5 pending r006 farah 17 ready r007 ivan 11 paused r008 hana 1 active r009 kim 6 pending
lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058023
qwen/qwen3.7-plus
awkweave-0058024
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
alice 25 pending kim 10 paused hana 25 active bruno 15 closed chen 22 active dina 11 active
25 10 25 15 22 11
ivan 10 closed gus 3 active bruno 3 ready eli 11 failed ivan 6 closed bruno 14 closed dina 27 closed jules 28 pending
10 3 3 11 6 14 27 28
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058024-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
alice 25 pending kim 10 paused hana 25 active bruno 15 closed chen 22 active dina 11 active
25 10 25 15 22 11
ivan 10 closed gus 3 active bruno 3 ready eli 11 failed ivan 6 closed bruno 14 closed dina 27 closed jules 28 pending
10 3 3 11 6 14 27 28
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0058024
qwen/qwen3.7-plus
awkweave-0058025
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
ivan,20,paused bruno,4,pending farah,14,closed lina,17,paused bruno,21,pending farah,10,failed farah,30,active jules,27,paused kim,14,ready
ivan farah lina bruno farah farah jules kim
jules,19,active kim,14,paused eli,4,pending alice,13,ready farah,21,ready farah,22,closed bruno,6,closed chen,12,active bruno,10,closed
jules kim alice farah farah chen bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058025-p1
Output the first column of CSV data (without quoted commas) only if the second column is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
ivan,20,paused bruno,4,pending farah,14,closed lina,17,paused bruno,21,pending farah,10,failed farah,30,active jules,27,paused kim,14,ready
ivan farah lina bruno farah farah jules kim
jules,19,active kim,14,paused eli,4,pending alice,13,ready farah,21,ready farah,22,closed bruno,6,closed chen,12,active bruno,10,closed
jules kim alice farah farah chen bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058025
qwen/qwen3.7-plus
awkweave-0058026
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan grove 108 chen ember 114 ivan juniper 102 alice fable 51 gus cobalt 3 hana grove 28 lina birch 88 bruno ember 22
ivan grove 108 chen ember 114 ivan juniper 102 alice fable 51 gus cobalt 3 hana grove 28 lina birch 88 bruno ember 22
ivan cobalt 60 eli birch 53 hana delta 15 alice harbor 4 dina delta 54 ivan grove 52 eli ember 17
ivan cobalt 60 eli birch 53 hana delta 15 alice harbor 4 dina delta 54 ivan grove 52 eli ember 17
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058026-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
ivan grove 108 chen ember 114 ivan juniper 102 alice fable 51 gus cobalt 3 hana grove 28 lina birch 88 bruno ember 22
ivan grove 108 chen ember 114 ivan juniper 102 alice fable 51 gus cobalt 3 hana grove 28 lina birch 88 bruno ember 22
ivan cobalt 60 eli birch 53 hana delta 15 alice harbor 4 dina delta 54 ivan grove 52 eli ember 17
ivan cobalt 60 eli birch 53 hana delta 15 alice harbor 4 dina delta 54 ivan grove 52 eli ember 17
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058026
qwen/qwen3.7-plus
awkweave-0058027
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim cobalt 79 active ivan fable 0 failed kim cobalt 112 active bruno cobalt 28 pending lina ember 67 closed eli fable 13 closed
bruno cobalt 28 pending
chen grove 82 ready ivan amber 112 paused farah juniper 34 active gus indigo 49 active gus fable 95 closed bruno cobalt 20 failed
farah juniper 34 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058027-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, output the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
kim cobalt 79 active ivan fable 0 failed kim cobalt 112 active bruno cobalt 28 pending lina ember 67 closed eli fable 13 closed
bruno cobalt 28 pending
chen grove 82 ready ivan amber 112 paused farah juniper 34 active gus indigo 49 active gus fable 95 closed bruno cobalt 20 failed
farah juniper 34 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058027
qwen/qwen3.7-plus
awkweave-0058028
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
eli 65 alice 80 alice 56 jules 84 chen 42 lina 40 eli 116 ivan 58
eli 65 alice 56 chen 42 eli 116
dina 99 alice 16 eli 66 jules 14 ivan 1 bruno 99
dina 99 eli 66 ivan 1
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058028-p1
Print lines 1, 3, 5, and so on (every second line starting from the first).
NR%2==1
eli 65 alice 80 alice 56 jules 84 chen 42 lina 40 eli 116 ivan 58
eli 65 alice 56 chen 42 eli 116
dina 99 alice 16 eli 66 jules 14 ivan 1 bruno 99
dina 99 eli 66 ivan 1
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058028
qwen/qwen3.7-plus
awkweave-0058029
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma harbor 3 gamma fable 76 alpha harbor 82 gamma birch 95 delta birch 18 gamma indigo 110 alpha indigo 6 alpha harbor 31
3
beta delta 53 delta fable 100 alpha cobalt 1 delta indigo 20 gamma fable 101 gamma amber 96
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058029-p1
Calculate and output the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
gamma harbor 3 gamma fable 76 alpha harbor 82 gamma birch 95 delta birch 18 gamma indigo 110 alpha indigo 6 alpha harbor 31
3
beta delta 53 delta fable 100 alpha cobalt 1 delta indigo 20 gamma fable 101 gamma amber 96
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058029
qwen/qwen3.7-plus
awkweave-0058030
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 13 0 gus 24 27 kim 8 9 lina 6 20 chen 8 12 dina 6 10 bruno 17 26
gus 0.89 kim 0.89 lina 0.30 chen 0.67 dina 0.60 bruno 0.65
eli 17 0 gus 2 6 eli 15 18 ivan 26 14 alice 8 7 gus 4 4 chen 25 25 kim 20 4 gus 15 18 chen 18 20
gus 0.33 eli 0.83 ivan 1.86 alice 1.14 gus 1.00 chen 1.00 kim 5.00 gus 0.83 chen 0.90
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058030-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}
ivan 13 0 gus 24 27 kim 8 9 lina 6 20 chen 8 12 dina 6 10 bruno 17 26
gus 0.89 kim 0.89 lina 0.30 chen 0.67 dina 0.60 bruno 0.65
eli 17 0 gus 2 6 eli 15 18 ivan 26 14 alice 8 7 gus 4 4 chen 25 25 kim 20 4 gus 15 18 chen 18 20
gus 0.33 eli 0.83 ivan 1.86 alice 1.14 gus 1.00 chen 1.00 kim 5.00 gus 0.83 chen 0.90
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058030
qwen/qwen3.7-plus
awkweave-0058031
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim fable 16 chen indigo 17 alice ember 1 eli grove 2 bruno delta 25 dina cobalt 17
bruno delta 25 chen indigo 17 dina cobalt 17
farah birch 1 farah harbor 27 hana delta 12 alice fable 23 farah fable 10 ivan juniper 18 lina harbor 9 ivan juniper 4
farah harbor 27 alice fable 23 ivan juniper 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058031-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim fable 16 chen indigo 17 alice ember 1 eli grove 2 bruno delta 25 dina cobalt 17
bruno delta 25 chen indigo 17 dina cobalt 17
farah birch 1 farah harbor 27 hana delta 12 alice fable 23 farah fable 10 ivan juniper 18 lina harbor 9 ivan juniper 4
farah harbor 27 alice fable 23 ivan juniper 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058031
qwen/qwen3.7-plus
awkweave-0058032
For each line, output fields 5 and 2, in that order.
{print $5, $2}
active 23 57 78 delta pending 30 119 39 grove active 55 116 12 delta ready 69 77 57 cobalt paused 62 45 60 grove paused 25 11 50 ember active 55 55 81 indigo closed 41 99 87 harbor
delta 23 grove 30 delta 55 cobalt 69 grove 62 ember 25 indigo 55 harbor 41
pending 51 10 48 grove closed 29 44 34 amber ready 116 32 25 indigo pending 84 39 113 amber pending 50 70 96 indigo active 48 98 109 juniper active 38 43 67 harbor pending 88 19 9 amber
grove 51 amber 29 indigo 116 amber 84 indigo 50 juniper 48 harbor 38 amber 88
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058032-p1
For every line, print the fifth field followed by the second field.
{print $5, $2}
active 23 57 78 delta pending 30 119 39 grove active 55 116 12 delta ready 69 77 57 cobalt paused 62 45 60 grove paused 25 11 50 ember active 55 55 81 indigo closed 41 99 87 harbor
delta 23 grove 30 delta 55 cobalt 69 grove 62 ember 25 indigo 55 harbor 41
pending 51 10 48 grove closed 29 44 34 amber ready 116 32 25 indigo pending 84 39 113 amber pending 50 70 96 indigo active 48 98 109 juniper active 38 43 67 harbor pending 88 19 9 amber
grove 51 amber 29 indigo 116 amber 84 indigo 50 juniper 48 harbor 38 amber 88
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058032
qwen/qwen3.7-plus
awkweave-0058033
Print the last field of every input line.
{print $NF}
116 closed grove 17 closed indigo 28 failed juniper 106 pending juniper 98 closed delta 54 active grove 85 failed amber 21 active indigo 60 ready harbor
grove indigo juniper juniper delta grove amber indigo harbor
15 failed grove 57 active grove 19 failed birch 112 closed indigo 54 closed amber 98 ready amber 16 ready harbor 18 failed delta 22 ready fable
grove grove birch indigo amber amber harbor delta fable
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058033-p1
Display the final field from each input line.
{print $NF}
116 closed grove 17 closed indigo 28 failed juniper 106 pending juniper 98 closed delta 54 active grove 85 failed amber 21 active indigo 60 ready harbor
grove indigo juniper juniper delta grove amber indigo harbor
15 failed grove 57 active grove 19 failed birch 112 closed indigo 54 closed amber 98 ready amber 16 ready harbor 18 failed delta 22 ready fable
grove grove birch indigo amber amber harbor delta fable
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058033
qwen/qwen3.7-plus
awkweave-0058034
Print the complete records where column 2 is greater than 24.
$2 > 24
chen 32 grove eli 13 ember eli 70 indigo farah 31 fable ivan 99 fable alice 89 grove dina 87 ember
chen 32 grove eli 70 indigo farah 31 fable ivan 99 fable alice 89 grove dina 87 ember
bruno 43 grove jules 93 indigo hana 20 juniper gus 34 birch bruno 55 fable gus 43 cobalt hana 97 grove
bruno 43 grove jules 93 indigo gus 34 birch bruno 55 fable gus 43 cobalt hana 97 grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058034-p1
Print entire records where the value in the second column exceeds 24.
$2 > 24
chen 32 grove eli 13 ember eli 70 indigo farah 31 fable ivan 99 fable alice 89 grove dina 87 ember
chen 32 grove eli 70 indigo farah 31 fable ivan 99 fable alice 89 grove dina 87 ember
bruno 43 grove jules 93 indigo hana 20 juniper gus 34 birch bruno 55 fable gus 43 cobalt hana 97 grove
bruno 43 grove jules 93 indigo gus 34 birch bruno 55 fable gus 43 cobalt hana 97 grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058034
qwen/qwen3.7-plus
awkweave-0058035
Show whole lines whose 3rd field is between 3 and 27, inclusive.
$3 >= 3 && $3 <= 27
ivan ember 23 juniper eli cobalt 5 birch jules fable 1 ember hana amber 13 fable chen fable 11 harbor jules amber 24 birch jules harbor 11 juniper chen birch 16 birch eli juniper 29 grove kim delta 10 grove
ivan ember 23 juniper eli cobalt 5 birch hana amber 13 fable chen fable 11 harbor jules amber 24 birch jules harbor 11 juniper chen birch 16 birch kim delta 10 grove
bruno juniper 9 grove kim juniper 17 indigo kim delta 14 amber kim ember 23 indigo farah delta 3 grove farah ember 30 grove eli cobalt 13 cobalt ivan indigo 17 grove hana fable 10 harbor gus juniper 13 juniper
bruno juniper 9 grove kim juniper 17 indigo kim delta 14 amber kim ember 23 indigo farah delta 3 grove eli cobalt 13 cobalt ivan indigo 17 grove hana fable 10 harbor gus juniper 13 juniper
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058035-p1
Output full lines where the third field falls within the inclusive range of 3 to 27.
$3 >= 3 && $3 <= 27
ivan ember 23 juniper eli cobalt 5 birch jules fable 1 ember hana amber 13 fable chen fable 11 harbor jules amber 24 birch jules harbor 11 juniper chen birch 16 birch eli juniper 29 grove kim delta 10 grove
ivan ember 23 juniper eli cobalt 5 birch hana amber 13 fable chen fable 11 harbor jules amber 24 birch jules harbor 11 juniper chen birch 16 birch kim delta 10 grove
bruno juniper 9 grove kim juniper 17 indigo kim delta 14 amber kim ember 23 indigo farah delta 3 grove farah ember 30 grove eli cobalt 13 cobalt ivan indigo 17 grove hana fable 10 harbor gus juniper 13 juniper
bruno juniper 9 grove kim juniper 17 indigo kim delta 14 amber kim ember 23 indigo farah delta 3 grove eli cobalt 13 cobalt ivan indigo 17 grove hana fable 10 harbor gus juniper 13 juniper
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058035
qwen/qwen3.7-plus
awkweave-0058036
Print column 3 only for rows where column 2 is exactly active.
$2 == "active"{print $3}
68 pending hana juniper 32 ready gus ember 103 pending ivan fable 65 paused jules cobalt 101 active lina delta 59 active eli delta 52 pending alice grove 99 closed dina harbor
lina eli
68 pending lina amber 69 paused eli delta 34 pending kim ember 95 active ivan juniper 25 active lina juniper 110 closed alice ember 67 pending farah fable 75 closed gus amber 48 pending bruno harbor 86 paused kim cobalt
ivan lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058036-p1
Output only the third column for rows where the second column is exactly active.
$2 == "active"{print $3}
68 pending hana juniper 32 ready gus ember 103 pending ivan fable 65 paused jules cobalt 101 active lina delta 59 active eli delta 52 pending alice grove 99 closed dina harbor
lina eli
68 pending lina amber 69 paused eli delta 34 pending kim ember 95 active ivan juniper 25 active lina juniper 110 closed alice ember 67 pending farah fable 75 closed gus amber 48 pending bruno harbor 86 paused kim cobalt
ivan lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058036
qwen/qwen3.7-plus
awkweave-0058037
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
fable 54 DEBUG delta 92 DEBUG cobalt 62 ERROR fable 88 WARN harbor 96 INFO amber 25 INFO fable 100 INFO grove 40 WARN
cobalt 62 ERROR
fable 63 WARN harbor 47 DEBUG birch 88 ERROR fable 104 WARN indigo 81 INFO delta 65 WARN cobalt 102 WARN birch 48 WARN birch 99 INFO
birch 88 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058037-p1
Display all fields from lines where the third field starts with ERROR.
$3 ~ /^ERROR/
fable 54 DEBUG delta 92 DEBUG cobalt 62 ERROR fable 88 WARN harbor 96 INFO amber 25 INFO fable 100 INFO grove 40 WARN
cobalt 62 ERROR
fable 63 WARN harbor 47 DEBUG birch 88 ERROR fable 104 WARN indigo 81 INFO delta 65 WARN cobalt 102 WARN birch 48 WARN birch 99 INFO
birch 88 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058037
qwen/qwen3.7-plus
awkweave-0058038
Print every line except those containing the exact text grove.
$0 !~ /grove/
cobalt 34 active delta 86 ready delta 18 pending fable 59 failed cobalt 116 failed juniper 40 pending delta 54 pending grove 87 closed indigo 92 closed grove 999 active
cobalt 34 active delta 86 ready delta 18 pending fable 59 failed cobalt 116 failed juniper 40 pending delta 54 pending indigo 92 closed
juniper 36 pending birch 32 failed cobalt 56 paused fable 104 paused birch 93 active fable 7 ready grove 999 active
juniper 36 pending birch 32 failed cobalt 56 paused fable 104 paused birch 93 active fable 7 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058038-p1
Print every line that does not contain the exact string grove.
$0 !~ /grove/
cobalt 34 active delta 86 ready delta 18 pending fable 59 failed cobalt 116 failed juniper 40 pending delta 54 pending grove 87 closed indigo 92 closed grove 999 active
cobalt 34 active delta 86 ready delta 18 pending fable 59 failed cobalt 116 failed juniper 40 pending delta 54 pending indigo 92 closed
juniper 36 pending birch 32 failed cobalt 56 paused fable 104 paused birch 93 active fable 7 ready grove 999 active
juniper 36 pending birch 32 failed cobalt 56 paused fable 104 paused birch 93 active fable 7 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058038
qwen/qwen3.7-plus
awkweave-0058039
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
jules cobalt 72 kim juniper 107 eli grove 13 ivan ember 106 jules juniper 65 bruno delta 33 hana harbor 46
eli grove 13 ivan ember 106
alice cobalt 43 eli grove 34 kim ember 61 ivan indigo 40 eli amber 91 kim juniper 19 dina cobalt 117 ivan harbor 58 farah cobalt 71 kim ember 1
kim ember 61 ivan indigo 40
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058039-p1
Output lines 3 to 4, inclusive.
NR >= 3 && NR <= 4
jules cobalt 72 kim juniper 107 eli grove 13 ivan ember 106 jules juniper 65 bruno delta 33 hana harbor 46
eli grove 13 ivan ember 106
alice cobalt 43 eli grove 34 kim ember 61 ivan indigo 40 eli amber 91 kim juniper 19 dina cobalt 117 ivan harbor 58 farah cobalt 71 kim ember 1
kim ember 61 ivan indigo 40
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058039
qwen/qwen3.7-plus
awkweave-0058040
Output only the first 2 records.
NR <= 2
eli 68 delta lina 71 amber jules 49 harbor ivan 108 fable ivan 118 birch dina 77 delta alice 70 harbor kim 85 indigo
eli 68 delta lina 71 amber
ivan 87 harbor farah 20 ember jules 61 indigo bruno 119 amber dina 25 ember hana 70 indigo
ivan 87 harbor farah 20 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058040-p1
Display only the first 2 records.
NR <= 2
eli 68 delta lina 71 amber jules 49 harbor ivan 108 fable ivan 118 birch dina 77 delta alice 70 harbor kim 85 indigo
eli 68 delta lina 71 amber
ivan 87 harbor farah 20 ember jules 61 indigo bruno 119 amber dina 25 ember hana 70 indigo
ivan 87 harbor farah 20 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058040
qwen/qwen3.7-plus
awkweave-0058041
Skip the first line and print every remaining line unchanged.
NR > 1
jules 74 ember alice 9 cobalt lina 106 juniper kim 104 amber jules 119 indigo gus 112 birch ivan 10 birch dina 114 juniper hana 72 cobalt
alice 9 cobalt lina 106 juniper kim 104 amber jules 119 indigo gus 112 birch ivan 10 birch dina 114 juniper hana 72 cobalt
hana 105 cobalt alice 118 fable jules 24 fable lina 8 delta chen 116 indigo bruno 71 delta dina 19 cobalt alice 80 fable
alice 118 fable jules 24 fable lina 8 delta chen 116 indigo bruno 71 delta dina 19 cobalt alice 80 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058041-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
jules 74 ember alice 9 cobalt lina 106 juniper kim 104 amber jules 119 indigo gus 112 birch ivan 10 birch dina 114 juniper hana 72 cobalt
alice 9 cobalt lina 106 juniper kim 104 amber jules 119 indigo gus 112 birch ivan 10 birch dina 114 juniper hana 72 cobalt
hana 105 cobalt alice 118 fable jules 24 fable lina 8 delta chen 116 indigo bruno 71 delta dina 19 cobalt alice 80 fable
alice 118 fable jules 24 fable lina 8 delta chen 116 indigo bruno 71 delta dina 19 cobalt alice 80 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058041
qwen/qwen3.7-plus
awkweave-0058042
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
farah ready 69 dina failed 69 ivan ready 70 jules closed 58 eli pending 18 hana failed 0
1
lina pending 51 farah active 90 chen failed 96 lina closed 45 alice active 92 gus active 114 lina active 31 dina active 24 kim active 20 farah ready 2
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058042-p1
Count the number of records with closed in column 2; output 0 if none exist.
$2 == "closed"{n++}END{print n+0}
farah ready 69 dina failed 69 ivan ready 70 jules closed 58 eli pending 18 hana failed 0
1
lina pending 51 farah active 90 chen failed 96 lina closed 45 alice active 92 gus active 114 lina active 31 dina active 24 kim active 20 farah ready 2
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058042
qwen/qwen3.7-plus
awkweave-0058043
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
dina 5 juniper gus 12 harbor kim 27 cobalt kim 21 harbor alice 6 ember jules 6 ember ivan 10 juniper alice 25 amber
112
ivan 28 grove jules 20 amber jules 22 fable alice 27 juniper dina 1 harbor ivan 18 ember
116
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058043-p1
Compute and display the sum of integer values in column 2.
{s+=$2}END{print s+0}
dina 5 juniper gus 12 harbor kim 27 cobalt kim 21 harbor alice 6 ember jules 6 ember ivan 10 juniper alice 25 amber
112
ivan 28 grove jules 20 amber jules 22 fable alice 27 juniper dina 1 harbor ivan 18 ember
116
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058043
qwen/qwen3.7-plus
awkweave-0058044
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt farah 28 birch eli 12 fable alice 14 fable gus 14 fable chen 11 delta bruno 11 birch hana 14
14.86
amber farah 17 ember hana 15 fable bruno 3 grove jules 4 ember farah 23 cobalt jules 18 grove chen 20 grove alice 20 amber ivan 16 grove hana 2
13.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058044-p1
Print the average of column 3, rounded to 2 decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt farah 28 birch eli 12 fable alice 14 fable gus 14 fable chen 11 delta bruno 11 birch hana 14
14.86
amber farah 17 ember hana 15 fable bruno 3 grove jules 4 ember farah 23 cobalt jules 18 grove chen 20 grove alice 20 amber ivan 16 grove hana 2
13.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058044
qwen/qwen3.7-plus
awkweave-0058045
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 25 fable chen 16 cobalt ivan 26 ember dina 27 birch farah 7 amber alice 1 amber chen 18 delta dina 9 fable dina 15 cobalt bruno 28 juniper
1
alice 23 fable farah 19 fable alice 12 delta alice 27 birch dina 21 birch kim 3 indigo bruno 5 harbor alice 8 juniper dina 10 cobalt
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058045-p1
Identify and print the minimum numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 25 fable chen 16 cobalt ivan 26 ember dina 27 birch farah 7 amber alice 1 amber chen 18 delta dina 9 fable dina 15 cobalt bruno 28 juniper
1
alice 23 fable farah 19 fable alice 12 delta alice 27 birch dina 21 birch kim 3 indigo bruno 5 harbor alice 8 juniper dina 10 cobalt
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058045
qwen/qwen3.7-plus
awkweave-0058046
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
kim 21 delta dina 4 amber hana 1 juniper kim 21 grove gus 7 harbor ivan 24 indigo
24
ivan 14 ember chen 10 delta farah 18 cobalt gus 21 cobalt hana 23 grove lina 28 grove farah 10 juniper farah 23 delta farah 3 amber chen 13 delta
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058046-p1
Identify and print the maximum numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
kim 21 delta dina 4 amber hana 1 juniper kim 21 grove gus 7 harbor ivan 24 indigo
24
ivan 14 ember chen 10 delta farah 18 cobalt gus 21 cobalt hana 23 grove lina 28 grove farah 10 juniper farah 23 delta farah 3 amber chen 13 delta
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058046
qwen/qwen3.7-plus
awkweave-0058047
Count all input records and print the total.
END{print NR}
eli 24 jules 77 lina 27 kim 82 farah 103 hana 26 alice 93 eli 81 eli 74 gus 12
10
alice 81 chen 110 bruno 41 hana 1 kim 101 gus 99 lina 17 dina 99
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058047-p1
Count the total number of input records and print the result.
END{print NR}
eli 24 jules 77 lina 27 kim 82 farah 103 hana 26 alice 93 eli 81 eli 74 gus 12
10
alice 81 chen 110 bruno 41 hana 1 kim 101 gus 99 lina 17 dina 99
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058047
qwen/qwen3.7-plus
awkweave-0058048
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus grove 112 hana indigo 80 gus cobalt 28 gus grove 73 dina cobalt 5 hana harbor 51 hana harbor 51 hana harbor 83
gus grove 112 hana indigo 80 gus cobalt 28 gus grove 73 dina cobalt 5 hana harbor 51 hana harbor 83
hana ember 2 jules juniper 71 ivan amber 41 ivan delta 24 kim delta 46 kim birch 31 bruno birch 17 hana ember 2 jules delta 65
hana ember 2 jules juniper 71 ivan amber 41 ivan delta 24 kim delta 46 kim birch 31 bruno birch 17 jules delta 65
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058048-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
gus grove 112 hana indigo 80 gus cobalt 28 gus grove 73 dina cobalt 5 hana harbor 51 hana harbor 51 hana harbor 83
gus grove 112 hana indigo 80 gus cobalt 28 gus grove 73 dina cobalt 5 hana harbor 51 hana harbor 83
hana ember 2 jules juniper 71 ivan amber 41 ivan delta 24 kim delta 46 kim birch 31 bruno birch 17 hana ember 2 jules delta 65
hana ember 2 jules juniper 71 ivan amber 41 ivan delta 24 kim delta 46 kim birch 31 bruno birch 17 jules delta 65
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058048
qwen/qwen3.7-plus
awkweave-0058049
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
alice amber 102 alice juniper 119 kim fable 55 jules ember 83 lina fable 112 gus harbor 35 gus amber 111
alice amber 102 alice juniper 119 kim fable 55 jules ember 83 lina fable 112 gus harbor 35 gus amber 111
farah juniper 19 jules cobalt 94 hana grove 6 ivan ember 49 kim juniper 7 farah juniper 97 dina birch 28 lina harbor 50 hana harbor 109
farah juniper 19 jules cobalt 94 hana grove 6 ivan ember 49 kim juniper 7 farah juniper 97 dina birch 28 lina harbor 50 hana harbor 109
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058049-p1
Retain solely the initial line for every unique value found in the third column, ensuring the input order is preserved.
!seen[$3]++
alice amber 102 alice juniper 119 kim fable 55 jules ember 83 lina fable 112 gus harbor 35 gus amber 111
alice amber 102 alice juniper 119 kim fable 55 jules ember 83 lina fable 112 gus harbor 35 gus amber 111
farah juniper 19 jules cobalt 94 hana grove 6 ivan ember 49 kim juniper 7 farah juniper 97 dina birch 28 lina harbor 50 hana harbor 109
farah juniper 19 jules cobalt 94 hana grove 6 ivan ember 49 kim juniper 7 farah juniper 97 dina birch 28 lina harbor 50 hana harbor 109
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058049
qwen/qwen3.7-plus
awkweave-0058050
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 20 cobalt bruno 11 fable hana 6 juniper gus 9 fable hana 13 grove eli 12 harbor chen 24 indigo
farah 20 bruno 31 hana 37 gus 46 hana 59 eli 71 chen 95
hana 25 delta jules 8 amber bruno 21 ember jules 3 fable dina 18 cobalt kim 15 indigo gus 11 birch alice 14 birch
hana 25 jules 33 bruno 54 jules 57 dina 75 kim 90 gus 101 alice 115
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058050-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
farah 20 cobalt bruno 11 fable hana 6 juniper gus 9 fable hana 13 grove eli 12 harbor chen 24 indigo
farah 20 bruno 31 hana 37 gus 46 hana 59 eli 71 chen 95
hana 25 delta jules 8 amber bruno 21 ember jules 3 fable dina 18 cobalt kim 15 indigo gus 11 birch alice 14 birch
hana 25 jules 33 bruno 54 jules 57 dina 75 kim 90 gus 101 alice 115
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058050
qwen/qwen3.7-plus
awkweave-0058051
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 8 11 cobalt hana 26 13 fable kim 12 6 fable dina 6 9 birch eli 8 28 delta kim 29 11 amber bruno 25 2 fable kim 15 12 ember ivan 27 17 amber
dina 19 hana 39 kim 18 dina 15 eli 36 kim 40 bruno 27 kim 27 ivan 44
bruno 1 23 grove alice 27 15 indigo bruno 1 12 fable bruno 21 20 grove chen 23 23 amber gus 24 23 grove
bruno 24 alice 42 bruno 13 bruno 41 chen 46 gus 47
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058051-p1
For each row, display the first field followed by the total of the second and third fields.
{print $1,$2+$3}
dina 8 11 cobalt hana 26 13 fable kim 12 6 fable dina 6 9 birch eli 8 28 delta kim 29 11 amber bruno 25 2 fable kim 15 12 ember ivan 27 17 amber
dina 19 hana 39 kim 18 dina 15 eli 36 kim 40 bruno 27 kim 27 ivan 44
bruno 1 23 grove alice 27 15 indigo bruno 1 12 fable bruno 21 20 grove chen 23 23 amber gus 24 23 grove
bruno 24 alice 42 bruno 13 bruno 41 chen 46 gus 47
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058051
qwen/qwen3.7-plus
awkweave-0058052
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
jules 19 jules 4 kim 25 hana 27 alice 10 hana 30 chen 2
jules fail jules fail kim pass hana pass alice fail hana pass chen fail
eli 2 alice 9 alice 25 alice 4 eli 7 farah 27 dina 18 lina 10 eli 13 lina 14
eli fail alice fail alice pass alice fail eli fail farah pass dina fail lina fail eli fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0058052-p1
Output the first column; append 'pass' if the second column is 20 or greater, otherwise append 'fail'.
{print $1,($2>=20?"pass":"fail")}
jules 19 jules 4 kim 25 hana 27 alice 10 hana 30 chen 2
jules fail jules fail kim pass hana pass alice fail hana pass chen fail
eli 2 alice 9 alice 25 alice 4 eli 7 farah 27 dina 18 lina 10 eli 13 lina 14
eli fail alice fail alice pass alice fail eli fail farah pass dina fail lina fail eli fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0058052
qwen/qwen3.7-plus