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-0035501-p1
Compute and display the sum of all integer values found in column 1.
{s+=$1}END{print s+0}
28 jules ember 17 alice harbor 23 gus grove 17 jules harbor 13 dina birch 18 jules indigo 26 gus juniper 15 gus grove 15 alice grove
172
5 chen indigo 22 jules birch 10 alice juniper 15 eli ember 18 ivan amber 10 hana ember 17 jules juniper 12 farah fable 23 eli grove 11 dina ember
143
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035501
qwen/qwen3.7-plus
awkweave-0035502
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 14 farah amber 16 dina grove 15 alice birch 12 eli delta 17 gus harbor 30 farah cobalt 24 kim cobalt 13 lina fable 1 bruno
15.78
fable 12 hana indigo 29 ivan amber 9 gus grove 25 chen juniper 12 hana fable 9 ivan cobalt 14 dina juniper 15 kim
15.62
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035502-p1
Calculate the arithmetic mean of the values in column 2 and print it rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 14 farah amber 16 dina grove 15 alice birch 12 eli delta 17 gus harbor 30 farah cobalt 24 kim cobalt 13 lina fable 1 bruno
15.78
fable 12 hana indigo 29 ivan amber 9 gus grove 25 chen juniper 12 hana fable 9 ivan cobalt 14 dina juniper 15 kim
15.62
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035502
qwen/qwen3.7-plus
awkweave-0035503
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
birch gus 14 fable alice 24 juniper eli 30 delta ivan 15 ember gus 30 indigo jules 25
14
indigo hana 15 amber farah 6 birch farah 3 delta alice 26 cobalt hana 12 juniper kim 30 birch bruno 24
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035503-p1
Identify and print the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
birch gus 14 fable alice 24 juniper eli 30 delta ivan 15 ember gus 30 indigo jules 25
14
indigo hana 15 amber farah 6 birch farah 3 delta alice 26 cobalt hana 12 juniper kim 30 birch bruno 24
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035503
qwen/qwen3.7-plus
awkweave-0035504
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim indigo 9 farah harbor 18 hana ember 21 jules ember 17 bruno birch 27 ivan grove 22
27
chen harbor 9 hana juniper 16 kim ember 28 chen delta 2 gus cobalt 9 bruno harbor 14 hana indigo 28 hana cobalt 10 chen birch 8 chen fable 17
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035504-p1
Identify and print the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim indigo 9 farah harbor 18 hana ember 21 jules ember 17 bruno birch 27 ivan grove 22
27
chen harbor 9 hana juniper 16 kim ember 28 chen delta 2 gus cobalt 9 bruno harbor 14 hana indigo 28 hana cobalt 10 chen birch 8 chen fable 17
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035504
qwen/qwen3.7-plus
awkweave-0035505
Count all input records and print the total.
END{print NR}
chen 1 ivan 68 eli 25 farah 67 lina 120 lina 61
6
bruno 79 bruno 69 ivan 102 ivan 30 gus 84 farah 12 jules 109 jules 16 chen 27
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035505-p1
Count the total number of input records and print the result.
END{print NR}
chen 1 ivan 68 eli 25 farah 67 lina 120 lina 61
6
bruno 79 bruno 69 ivan 102 ivan 30 gus 84 farah 12 jules 109 jules 16 chen 27
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035505
qwen/qwen3.7-plus
awkweave-0035506
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana cobalt 48 bruno juniper 67 bruno amber 32 farah birch 51 gus fable 46 lina grove 56 bruno juniper 67 farah birch 22 dina amber 116 dina amber 81 bruno grove 93
hana cobalt 48 bruno juniper 67 bruno amber 32 farah birch 51 gus fable 46 lina grove 56 farah birch 22 dina amber 116 dina amber 81 bruno grove 93
farah fable 75 bruno indigo 73 gus grove 65 chen delta 27 farah fable 75 jules delta 119 dina delta 80 ivan harbor 71 kim harbor 92 alice birch 78 chen grove 79
farah fable 75 bruno indigo 73 gus grove 65 chen delta 27 jules delta 119 dina delta 80 ivan harbor 71 kim harbor 92 alice birch 78 chen grove 79
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035506-p1
Deduplicate lines by keeping the first instance of each unique line while maintaining the original sequence.
!seen[$0]++
hana cobalt 48 bruno juniper 67 bruno amber 32 farah birch 51 gus fable 46 lina grove 56 bruno juniper 67 farah birch 22 dina amber 116 dina amber 81 bruno grove 93
hana cobalt 48 bruno juniper 67 bruno amber 32 farah birch 51 gus fable 46 lina grove 56 farah birch 22 dina amber 116 dina amber 81 bruno grove 93
farah fable 75 bruno indigo 73 gus grove 65 chen delta 27 farah fable 75 jules delta 119 dina delta 80 ivan harbor 71 kim harbor 92 alice birch 78 chen grove 79
farah fable 75 bruno indigo 73 gus grove 65 chen delta 27 jules delta 119 dina delta 80 ivan harbor 71 kim harbor 92 alice birch 78 chen grove 79
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035506
qwen/qwen3.7-plus
awkweave-0035507
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
eli amber 1 ivan indigo 93 gus juniper 44 farah birch 37 chen grove 68 lina harbor 38
eli amber 1 ivan indigo 93 gus juniper 44 farah birch 37 chen grove 68 lina harbor 38
farah delta 37 eli juniper 36 chen amber 117 jules amber 35 alice delta 41 lina amber 39 ivan birch 84
farah delta 37 eli juniper 36 chen amber 117 jules amber 35 alice delta 41 lina amber 39 ivan birch 84
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035507-p1
Retain only the initial row for every unique value found in the third column, ensuring the original input order is preserved.
!seen[$3]++
eli amber 1 ivan indigo 93 gus juniper 44 farah birch 37 chen grove 68 lina harbor 38
eli amber 1 ivan indigo 93 gus juniper 44 farah birch 37 chen grove 68 lina harbor 38
farah delta 37 eli juniper 36 chen amber 117 jules amber 35 alice delta 41 lina amber 39 ivan birch 84
farah delta 37 eli juniper 36 chen amber 117 jules amber 35 alice delta 41 lina amber 39 ivan birch 84
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035507
qwen/qwen3.7-plus
awkweave-0035508
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 14 cobalt alice 10 delta kim 23 amber alice 12 indigo chen 16 delta jules 4 indigo lina 24 birch
jules 14 alice 24 kim 47 alice 59 chen 75 jules 79 lina 103
jules 9 ember farah 4 cobalt lina 29 indigo hana 7 amber eli 9 fable ivan 2 grove gus 16 delta alice 11 indigo eli 17 harbor
jules 9 farah 13 lina 42 hana 49 eli 58 ivan 60 gus 76 alice 87 eli 104
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035508-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}
jules 14 cobalt alice 10 delta kim 23 amber alice 12 indigo chen 16 delta jules 4 indigo lina 24 birch
jules 14 alice 24 kim 47 alice 59 chen 75 jules 79 lina 103
jules 9 ember farah 4 cobalt lina 29 indigo hana 7 amber eli 9 fable ivan 2 grove gus 16 delta alice 11 indigo eli 17 harbor
jules 9 farah 13 lina 42 hana 49 eli 58 ivan 60 gus 76 alice 87 eli 104
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035508
qwen/qwen3.7-plus
awkweave-0035509
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 16 3 juniper bruno 29 4 indigo farah 26 5 fable hana 7 20 fable alice 3 30 harbor eli 29 11 indigo
jules 19 bruno 33 farah 31 hana 27 alice 33 eli 40
gus 29 27 amber jules 15 16 indigo lina 25 13 harbor alice 22 11 cobalt alice 11 9 delta kim 17 1 ember farah 6 1 juniper alice 12 23 fable eli 20 16 juniper bruno 21 9 ember
gus 56 jules 31 lina 38 alice 33 alice 20 kim 18 farah 7 alice 35 eli 36 bruno 30
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035509-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
jules 16 3 juniper bruno 29 4 indigo farah 26 5 fable hana 7 20 fable alice 3 30 harbor eli 29 11 indigo
jules 19 bruno 33 farah 31 hana 27 alice 33 eli 40
gus 29 27 amber jules 15 16 indigo lina 25 13 harbor alice 22 11 cobalt alice 11 9 delta kim 17 1 ember farah 6 1 juniper alice 12 23 fable eli 20 16 juniper bruno 21 9 ember
gus 56 jules 31 lina 38 alice 33 alice 20 kim 18 farah 7 alice 35 eli 36 bruno 30
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035509
qwen/qwen3.7-plus
awkweave-0035510
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
bruno 14 bruno 19 eli 2 gus 29 bruno 18 kim 6 alice 27 chen 6 dina 4 bruno 25
bruno fail bruno fail eli fail gus pass bruno fail kim fail alice pass chen fail dina fail bruno pass
jules 26 hana 26 gus 9 lina 7 farah 14 ivan 1 ivan 9 kim 26 ivan 9
jules pass hana pass gus fail lina fail farah fail ivan fail ivan fail kim pass ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035510-p1
Output the first column; if the second column is 23 or greater, append 'pass', otherwise append 'fail'.
{print $1,($2>=23?"pass":"fail")}
bruno 14 bruno 19 eli 2 gus 29 bruno 18 kim 6 alice 27 chen 6 dina 4 bruno 25
bruno fail bruno fail eli fail gus pass bruno fail kim fail alice pass chen fail dina fail bruno pass
jules 26 hana 26 gus 9 lina 7 farah 14 ivan 1 ivan 9 kim 26 ivan 9
jules pass hana pass gus fail lina fail farah fail ivan fail ivan fail kim pass ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035510
qwen/qwen3.7-plus
awkweave-0035511
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
chen cobalt 95 farah indigo 105 bruno grove 51 bruno juniper 63 jules cobalt 118 chen juniper 82 chen amber 6 hana amber 8
COBALT INDIGO GROVE JUNIPER COBALT JUNIPER AMBER AMBER
jules delta 25 farah cobalt 46 hana cobalt 54 dina indigo 26 chen indigo 47 alice cobalt 8
DELTA COBALT COBALT INDIGO INDIGO COBALT
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035511-p1
Transform the second column to uppercase letters and output only this modified column.
{print toupper($2)}
chen cobalt 95 farah indigo 105 bruno grove 51 bruno juniper 63 jules cobalt 118 chen juniper 82 chen amber 6 hana amber 8
COBALT INDIGO GROVE JUNIPER COBALT JUNIPER AMBER AMBER
jules delta 25 farah cobalt 46 hana cobalt 54 dina indigo 26 chen indigo 47 alice cobalt 8
DELTA COBALT COBALT INDIGO INDIGO COBALT
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035511
qwen/qwen3.7-plus
awkweave-0035512
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
juniper 56 birch 61 birch 59 cobalt 86 delta 36 cobalt 118 indigo 110 harbor 39 amber 113 amber 9
uni irc irc oba elt oba ndi arb mbe mbe
indigo 117 amber 76 ember 24 juniper 29 grove 6 harbor 4 indigo 40 indigo 39 grove 26 indigo 73
ndi mbe mbe uni rov arb ndi ndi rov ndi
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035512-p1
Extract and print a substring of length 3 from the first column, beginning at the second character.
{print substr($1,2,3)}
juniper 56 birch 61 birch 59 cobalt 86 delta 36 cobalt 118 indigo 110 harbor 39 amber 113 amber 9
uni irc irc oba elt oba ndi arb mbe mbe
indigo 117 amber 76 ember 24 juniper 29 grove 6 harbor 4 indigo 40 indigo 39 grove 26 indigo 73
ndi mbe mbe uni rov arb ndi ndi rov ndi
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035512
qwen/qwen3.7-plus
awkweave-0035513
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_harbor 26 birch_birch 0 ember_juniper 52 birch_ember 75 juniper_harbor 61 birch_cobalt 94 juniper_indigo 50 ember_amber 48
harbor harbor birch birch ember juniper birch ember juniper harbor birch cobalt juniper indigo ember amber
delta_grove 65 harbor_delta 50 grove_cobalt 99 amber_juniper 33 birch_fable 54 birch_delta 60
delta grove harbor delta grove cobalt amber juniper birch fable birch delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035513-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
harbor_harbor 26 birch_birch 0 ember_juniper 52 birch_ember 75 juniper_harbor 61 birch_cobalt 94 juniper_indigo 50 ember_amber 48
harbor harbor birch birch ember juniper birch ember juniper harbor birch cobalt juniper indigo ember amber
delta_grove 65 harbor_delta 50 grove_cobalt 99 amber_juniper 33 birch_fable 54 birch_delta 60
delta grove harbor delta grove cobalt amber juniper birch fable birch delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035513
qwen/qwen3.7-plus
awkweave-0035514
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 grove 106 active ivan birch 33 active lina fable 63 active jules amber 111 ready hana juniper 119 closed farah indigo 75 failed
active 106 grove ivan active 33 birch ivan active 63 fable lina ready 111 amber jules closed 119 juniper hana failed 75 indigo farah
kim juniper 62 paused dina harbor 2 ready farah harbor 43 active ivan amber 21 ready bruno fable 44 ready jules indigo 108 ready gus cobalt 20 closed
paused 62 juniper kim ready 2 harbor dina active 43 harbor farah ready 21 amber ivan ready 44 fable bruno ready 108 indigo jules closed 20 cobalt gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035514-p1
Invert the sequence of fields for every line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan grove 106 active ivan birch 33 active lina fable 63 active jules amber 111 ready hana juniper 119 closed farah indigo 75 failed
active 106 grove ivan active 33 birch ivan active 63 fable lina ready 111 amber jules closed 119 juniper hana failed 75 indigo farah
kim juniper 62 paused dina harbor 2 ready farah harbor 43 active ivan amber 21 ready bruno fable 44 ready jules indigo 108 ready gus cobalt 20 closed
paused 62 juniper kim ready 2 harbor dina active 43 harbor farah ready 21 amber ivan ready 44 fable bruno ready 108 indigo jules closed 20 cobalt gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035514
qwen/qwen3.7-plus
awkweave-0035515
Print the number of whitespace-separated fields on each line.
{print NF}
chen amber 56 paused eli indigo 7 paused dina amber 107 active ivan indigo 81 closed jules amber 93 pending ivan juniper 77 pending
4 4 4 4 4 4
dina cobalt 4 ready farah amber 7 ready ivan juniper 66 closed kim juniper 92 closed lina grove 76 active bruno cobalt 114 failed jules ember 9 failed gus indigo 95 active hana ember 64 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035515-p1
Display the count of whitespace-delimited fields present in each line.
{print NF}
chen amber 56 paused eli indigo 7 paused dina amber 107 active ivan indigo 81 closed jules amber 93 pending ivan juniper 77 pending
4 4 4 4 4 4
dina cobalt 4 ready farah amber 7 ready ivan juniper 66 closed kim juniper 92 closed lina grove 76 active bruno cobalt 114 failed jules ember 9 failed gus indigo 95 active hana ember 64 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035515
qwen/qwen3.7-plus
awkweave-0035516
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 95 hana delta 44 bruno beta 47 hana beta 38 alice alpha 102 chen gamma 75 gus delta 45
delta 3 beta 2 alpha 1 gamma 1
dina delta 103 farah delta 36 bruno beta 6 ivan beta 77 lina alpha 96 alice gamma 4 eli gamma 91 farah alpha 54 hana delta 103 gus gamma 3
delta 3 beta 2 alpha 2 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035516-p1
Tally the number of records for each unique value in the second column, printing the value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
lina delta 95 hana delta 44 bruno beta 47 hana beta 38 alice alpha 102 chen gamma 75 gus delta 45
delta 3 beta 2 alpha 1 gamma 1
dina delta 103 farah delta 36 bruno beta 6 ivan beta 77 lina alpha 96 alice gamma 4 eli gamma 91 farah alpha 54 hana delta 103 gus gamma 3
delta 3 beta 2 alpha 2 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035516
qwen/qwen3.7-plus
awkweave-0035517
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]]}
dina delta 3 farah beta 1 chen delta 16 ivan gamma 27 alice delta 30 gus gamma 19 dina alpha 28
delta 49 beta 1 gamma 46 alpha 28
alice delta 15 alice beta 13 jules delta 23 gus gamma 7 jules beta 30 kim delta 17 ivan alpha 13 eli alpha 24 lina beta 4
delta 55 beta 47 gamma 7 alpha 37
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035517-p1
Calculate the sum of the third column for each group defined by the second column, outputting the results in the order of the groups' first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
dina delta 3 farah beta 1 chen delta 16 ivan gamma 27 alice delta 30 gus gamma 19 dina alpha 28
delta 49 beta 1 gamma 46 alpha 28
alice delta 15 alice beta 13 jules delta 23 gus gamma 7 jules beta 30 kim delta 17 ivan alpha 13 eli alpha 24 lina beta 4
delta 55 beta 47 gamma 7 alpha 37
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035517
qwen/qwen3.7-plus
awkweave-0035518
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma harbor 48 gamma harbor 104 alpha fable 91 delta amber 73 gamma juniper 94 alpha grove 120 alpha grove 115 alpha juniper 21 delta ember 18 delta fable 64
gamma 3 alpha 4 delta 3
beta delta 88 delta birch 106 gamma delta 19 gamma indigo 26 gamma birch 35 alpha fable 30 gamma juniper 105
gamma 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035518-p1
List each unique value from the first column alongside its frequency count, maintaining the order in which they first appear.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma harbor 48 gamma harbor 104 alpha fable 91 delta amber 73 gamma juniper 94 alpha grove 120 alpha grove 115 alpha juniper 21 delta ember 18 delta fable 64
gamma 3 alpha 4 delta 3
beta delta 88 delta birch 106 gamma delta 19 gamma indigo 26 gamma birch 35 alpha fable 30 gamma juniper 105
gamma 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035518
qwen/qwen3.7-plus
awkweave-0035519
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
note record_id state score r001 hana 28 closed r002 alice 11 closed r003 hana 30 closed r004 jules 21 ready r005 alice 3 ready r006 chen 17 active r007 kim 4 active r008 chen 29 ready r009 ivan 28 failed r010 bruno 22 closed
hana alice hana jules alice chen kim chen ivan bruno
note record_id state score r001 kim 10 active r002 ivan 25 ready r003 eli 14 ready r004 kim 10 ready r005 lina 13 paused r006 gus 23 failed r007 jules 16 closed r008 ivan 1 pending r009 jules 7 pending
kim ivan eli kim lina gus jules ivan jules
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035519-p1
Treating the initial row as a header, output the values from the record_id field for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
note record_id state score r001 hana 28 closed r002 alice 11 closed r003 hana 30 closed r004 jules 21 ready r005 alice 3 ready r006 chen 17 active r007 kim 4 active r008 chen 29 ready r009 ivan 28 failed r010 bruno 22 closed
hana alice hana jules alice chen kim chen ivan bruno
note record_id state score r001 kim 10 active r002 ivan 25 ready r003 eli 14 ready r004 kim 10 ready r005 lina 13 paused r006 gus 23 failed r007 jules 16 closed r008 ivan 1 pending r009 jules 7 pending
kim ivan eli kim lina gus jules ivan jules
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035519
qwen/qwen3.7-plus
awkweave-0035520
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 eli 7 ready r002 kim 21 active r003 gus 26 failed r004 jules 23 active r005 hana 4 ready r006 gus 10 closed r007 lina 25 active
kim gus jules lina
record_id display_name score state r001 eli 7 active r002 lina 19 failed r003 gus 16 pending r004 bruno 16 ready r005 jules 24 ready r006 lina 8 paused r007 eli 15 paused
lina gus bruno jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035520-p1
With the first line serving as a header, display the display_name field for any data entry where the score exceeds 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 eli 7 ready r002 kim 21 active r003 gus 26 failed r004 jules 23 active r005 hana 4 ready r006 gus 10 closed r007 lina 25 active
kim gus jules lina
record_id display_name score state r001 eli 7 active r002 lina 19 failed r003 gus 16 pending r004 bruno 16 ready r005 jules 24 ready r006 lina 8 paused r007 eli 15 paused
lina gus bruno jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035520
qwen/qwen3.7-plus
awkweave-0035521
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
dina 4 paused gus 22 paused dina 12 ready jules 19 ready dina 20 paused chen 9 ready ivan 19 failed chen 14 pending alice 22 closed
paused paused ready ready paused ready failed pending closed
alice 17 ready eli 12 closed lina 24 active farah 18 closed jules 7 pending bruno 8 paused chen 21 ready
ready closed active closed pending paused ready
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035521-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
dina 4 paused gus 22 paused dina 12 ready jules 19 ready dina 20 paused chen 9 ready ivan 19 failed chen 14 pending alice 22 closed
paused paused ready ready paused ready failed pending closed
alice 17 ready eli 12 closed lina 24 active farah 18 closed jules 7 pending bruno 8 paused chen 21 ready
ready closed active closed pending paused ready
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0035521
qwen/qwen3.7-plus
awkweave-0035522
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8.
BEGIN{FS=OFS=","}$2>8{print $1}
lina,23,active dina,26,failed dina,22,ready hana,26,closed gus,22,failed dina,2,ready hana,16,pending dina,2,paused
lina dina dina hana gus hana
bruno,21,paused ivan,4,ready farah,19,closed lina,9,closed kim,4,ready chen,3,closed alice,25,paused
bruno farah lina alice
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035522-p1
For simple CSV data without quoted commas, output the first column only if the second column's value is greater than 8.
BEGIN{FS=OFS=","}$2>8{print $1}
lina,23,active dina,26,failed dina,22,ready hana,26,closed gus,22,failed dina,2,ready hana,16,pending dina,2,paused
lina dina dina hana gus hana
bruno,21,paused ivan,4,ready farah,19,closed lina,9,closed kim,4,ready chen,3,closed alice,25,paused
bruno farah lina alice
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035522
qwen/qwen3.7-plus
awkweave-0035523
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus birch 76 bruno birch 29 hana indigo 36 hana grove 33 gus juniper 116 eli birch 81 dina indigo 25 dina amber 96
gus birch 76 bruno birch 29 hana indigo 36 hana grove 33 gus juniper 116 eli birch 81 dina indigo 25 dina amber 96
lina amber 116 alice cobalt 28 jules harbor 79 ivan ember 84 hana juniper 33 lina amber 59 alice juniper 33 bruno juniper 34 ivan juniper 88
lina amber 116 alice cobalt 28 jules harbor 79 ivan ember 84 hana juniper 33 lina amber 59 alice juniper 33 bruno juniper 34 ivan juniper 88
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035523-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus birch 76 bruno birch 29 hana indigo 36 hana grove 33 gus juniper 116 eli birch 81 dina indigo 25 dina amber 96
gus birch 76 bruno birch 29 hana indigo 36 hana grove 33 gus juniper 116 eli birch 81 dina indigo 25 dina amber 96
lina amber 116 alice cobalt 28 jules harbor 79 ivan ember 84 hana juniper 33 lina amber 59 alice juniper 33 bruno juniper 34 ivan juniper 88
lina amber 116 alice cobalt 28 jules harbor 79 ivan ember 84 hana juniper 33 lina amber 59 alice juniper 33 bruno juniper 34 ivan juniper 88
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035523
qwen/qwen3.7-plus
awkweave-0035524
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina delta 4 closed dina harbor 72 pending eli delta 16 active jules indigo 98 failed eli ember 20 closed chen indigo 84 ready kim fable 30 ready jules ember 62 closed dina harbor 91 closed eli amber 2 closed
dina harbor 72 pending
eli indigo 24 failed alice delta 107 pending kim grove 20 pending kim delta 43 closed eli juniper 115 pending hana indigo 3 closed
alice delta 107 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035524-p1
Identify and output the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina delta 4 closed dina harbor 72 pending eli delta 16 active jules indigo 98 failed eli ember 20 closed chen indigo 84 ready kim fable 30 ready jules ember 62 closed dina harbor 91 closed eli amber 2 closed
dina harbor 72 pending
eli indigo 24 failed alice delta 107 pending kim grove 20 pending kim delta 43 closed eli juniper 115 pending hana indigo 3 closed
alice delta 107 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035524
qwen/qwen3.7-plus
awkweave-0035525
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
lina 111 lina 95 jules 47 dina 79 bruno 37 chen 66 bruno 113 bruno 85
jules 47 chen 66
bruno 89 alice 57 eli 8 dina 88 lina 62 jules 109 ivan 102 hana 73 gus 59 gus 25
eli 8 jules 109 gus 59
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035525-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
lina 111 lina 95 jules 47 dina 79 bruno 37 chen 66 bruno 113 bruno 85
jules 47 chen 66
bruno 89 alice 57 eli 8 dina 88 lina 62 jules 109 ivan 102 hana 73 gus 59 gus 25
eli 8 jules 109 gus 59
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035525
qwen/qwen3.7-plus
awkweave-0035526
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 83 beta delta 61 gamma amber 76 beta indigo 19 alpha indigo 104 gamma cobalt 45 delta cobalt 65 beta birch 40
6
beta fable 27 beta harbor 35 delta ember 64 gamma ember 35 beta grove 92 delta birch 65 beta ember 13 delta birch 110
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035526-p1
Calculate the number of unique values present in the second column and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 83 beta delta 61 gamma amber 76 beta indigo 19 alpha indigo 104 gamma cobalt 45 delta cobalt 65 beta birch 40
6
beta fable 27 beta harbor 35 delta ember 64 gamma ember 35 beta grove 92 delta birch 65 beta ember 13 delta birch 110
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035526
qwen/qwen3.7-plus
awkweave-0035527
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 kim 14 18 alice 11 29 hana 27 14 ivan 11 18 lina 6 2 hana 2 7 bruno 29 27 eli 7 23 chen 23 7
kim 0.78 alice 0.38 hana 1.93 ivan 0.61 lina 3.00 hana 0.29 bruno 1.07 eli 0.30 chen 3.29
bruno 14 0 jules 14 30 gus 10 2 bruno 21 12 gus 24 5 jules 30 9 lina 21 15 gus 19 14 farah 11 9
jules 0.47 gus 5.00 bruno 1.75 gus 4.80 jules 3.33 lina 1.40 gus 1.36 farah 1.22
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035527-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 kim 14 18 alice 11 29 hana 27 14 ivan 11 18 lina 6 2 hana 2 7 bruno 29 27 eli 7 23 chen 23 7
kim 0.78 alice 0.38 hana 1.93 ivan 0.61 lina 3.00 hana 0.29 bruno 1.07 eli 0.30 chen 3.29
bruno 14 0 jules 14 30 gus 10 2 bruno 21 12 gus 24 5 jules 30 9 lina 21 15 gus 19 14 farah 11 9
jules 0.47 gus 5.00 bruno 1.75 gus 4.80 jules 3.33 lina 1.40 gus 1.36 farah 1.22
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035527
qwen/qwen3.7-plus
awkweave-0035528
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
eli harbor 15 eli indigo 17 bruno harbor 19 eli harbor 5 ivan birch 11 alice amber 21 lina indigo 12 kim cobalt 18 farah delta 26 chen birch 1
farah delta 26 alice amber 21 bruno harbor 19
farah amber 4 dina harbor 7 chen juniper 7 farah harbor 22 lina fable 12 hana grove 17 gus harbor 19 hana harbor 4
farah harbor 22 gus harbor 19 hana grove 17
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035528-p1
Display the top three records based on 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]}
eli harbor 15 eli indigo 17 bruno harbor 19 eli harbor 5 ivan birch 11 alice amber 21 lina indigo 12 kim cobalt 18 farah delta 26 chen birch 1
farah delta 26 alice amber 21 bruno harbor 19
farah amber 4 dina harbor 7 chen juniper 7 farah harbor 22 lina fable 12 hana grove 17 gus harbor 19 hana harbor 4
farah harbor 22 gus harbor 19 hana grove 17
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035528
qwen/qwen3.7-plus
awkweave-0035529
Print column 2 followed by column 1 for every record.
{print $2, $1}
kim paused closed chen ember 4 gus pending paused hana harbor 98 farah paused ready farah fable 72 gus paused paused hana cobalt 74 chen closed paused eli indigo 66 kim ready active jules ember 68 chen failed ready jules grove 58 bruno closed failed hana harbor 9
paused kim pending gus paused farah paused gus closed chen ready kim failed chen closed bruno
alice pending ready jules delta 38 bruno failed active bruno cobalt 41 kim failed paused gus indigo 84 gus active pending kim fable 64 kim active failed eli cobalt 70 eli failed ready eli delta 94 alice pending ready gus delta 24
pending alice failed bruno failed kim active gus active kim failed eli pending alice
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035529-p1
For every record, output the value from column 2 followed by the value from column 1.
{print $2, $1}
kim paused closed chen ember 4 gus pending paused hana harbor 98 farah paused ready farah fable 72 gus paused paused hana cobalt 74 chen closed paused eli indigo 66 kim ready active jules ember 68 chen failed ready jules grove 58 bruno closed failed hana harbor 9
paused kim pending gus paused farah paused gus closed chen ready kim failed chen closed bruno
alice pending ready jules delta 38 bruno failed active bruno cobalt 41 kim failed paused gus indigo 84 gus active pending kim fable 64 kim active failed eli cobalt 70 eli failed ready eli delta 94 alice pending ready gus delta 24
pending alice failed bruno failed kim active gus active kim failed eli pending alice
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035529
qwen/qwen3.7-plus
awkweave-0035530
Print the last field of every input line.
{print $NF}
bruno birch 27 97 chen fable 78 23 lina grove 86 99 eli birch 3 54 alice fable 78 44 hana birch 6 44 lina grove 52 94 kim delta 55 82 hana fable 88 88 alice indigo 28 58
97 23 99 54 44 44 94 82 88 58
bruno birch 15 63 jules ember 92 106 eli indigo 98 44 hana ember 37 43 gus delta 72 116 farah grove 101 58 alice ember 53 21
63 106 44 43 116 58 21
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035530-p1
Output the final field from each line of input.
{print $NF}
bruno birch 27 97 chen fable 78 23 lina grove 86 99 eli birch 3 54 alice fable 78 44 hana birch 6 44 lina grove 52 94 kim delta 55 82 hana fable 88 88 alice indigo 28 58
97 23 99 54 44 44 94 82 88 58
bruno birch 15 63 jules ember 92 106 eli indigo 98 44 hana ember 37 43 gus delta 72 116 farah grove 101 58 alice ember 53 21
63 106 44 43 116 58 21
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035530
qwen/qwen3.7-plus
awkweave-0035531
Print the complete records where column 1 is less than 21.
$1 < 21
92 cobalt juniper 117 birch amber 95 amber amber 18 amber fable 9 delta juniper 20 cobalt cobalt
18 amber fable 9 delta juniper 20 cobalt cobalt
72 birch amber 79 juniper indigo 63 grove amber 68 birch fable 114 harbor cobalt 118 birch harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035531-p1
Display full records where the value in the first column is strictly less than 21.
$1 < 21
92 cobalt juniper 117 birch amber 95 amber amber 18 amber fable 9 delta juniper 20 cobalt cobalt
18 amber fable 9 delta juniper 20 cobalt cobalt
72 birch amber 79 juniper indigo 63 grove amber 68 birch fable 114 harbor cobalt 118 birch harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035531
qwen/qwen3.7-plus
awkweave-0035532
Show whole lines whose 2nd field is between 4 and 24, inclusive.
$2 >= 4 && $2 <= 24
pending 26 jules closed pending 28 ivan ready active 30 farah pending active 13 farah closed pending 2 kim active failed 1 eli active failed 23 eli ready ready 6 ivan failed
active 13 farah closed failed 23 eli ready ready 6 ivan failed
paused 5 bruno active active 1 gus paused paused 15 alice active failed 19 kim active ready 22 alice closed paused 9 bruno ready paused 4 dina closed failed 23 farah active pending 14 chen paused
paused 5 bruno active paused 15 alice active failed 19 kim active ready 22 alice closed paused 9 bruno ready paused 4 dina closed failed 23 farah active pending 14 chen paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035532-p1
Show entire lines where the second field falls within the inclusive range of 4 to 24.
$2 >= 4 && $2 <= 24
pending 26 jules closed pending 28 ivan ready active 30 farah pending active 13 farah closed pending 2 kim active failed 1 eli active failed 23 eli ready ready 6 ivan failed
active 13 farah closed failed 23 eli ready ready 6 ivan failed
paused 5 bruno active active 1 gus paused paused 15 alice active failed 19 kim active ready 22 alice closed paused 9 bruno ready paused 4 dina closed failed 23 farah active pending 14 chen paused
paused 5 bruno active paused 15 alice active failed 19 kim active ready 22 alice closed paused 9 bruno ready paused 4 dina closed failed 23 farah active pending 14 chen paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035532
qwen/qwen3.7-plus
awkweave-0035533
Print column 2 only for rows where column 3 is exactly failed.
$3 == "failed"{print $2}
55 jules ready cobalt 94 jules failed grove 32 kim active amber 113 farah failed birch 28 lina ready grove 13 jules paused harbor 83 gus ready juniper
jules farah
89 ivan pending delta 51 bruno ready cobalt 34 alice active birch 11 ivan active juniper 7 dina pending cobalt 114 chen active fable 30 jules closed fable 39 dina active harbor 16 alice failed ember 106 alice closed harbor
alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035533-p1
Print only the second column for rows where the third column matches the string failed exactly.
$3 == "failed"{print $2}
55 jules ready cobalt 94 jules failed grove 32 kim active amber 113 farah failed birch 28 lina ready grove 13 jules paused harbor 83 gus ready juniper
jules farah
89 ivan pending delta 51 bruno ready cobalt 34 alice active birch 11 ivan active juniper 7 dina pending cobalt 114 chen active fable 30 jules closed fable 39 dina active harbor 16 alice failed ember 106 alice closed harbor
alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035533
qwen/qwen3.7-plus
awkweave-0035534
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR cobalt 34 WARN grove 17 INFO indigo 83 ERROR cobalt 18 WARN juniper 22 ERROR cobalt 53 INFO ember 88 WARN delta 62 INFO indigo 58
ERROR cobalt 34 ERROR cobalt 18 ERROR cobalt 53
WARN birch 10 ERROR amber 91 DEBUG harbor 115 DEBUG indigo 11 DEBUG amber 24 DEBUG grove 74 WARN amber 13 DEBUG grove 112
ERROR amber 91
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035534-p1
Output all fields from lines where the first field starts with the prefix ERROR.
$1 ~ /^ERROR/
ERROR cobalt 34 WARN grove 17 INFO indigo 83 ERROR cobalt 18 WARN juniper 22 ERROR cobalt 53 INFO ember 88 WARN delta 62 INFO indigo 58
ERROR cobalt 34 ERROR cobalt 18 ERROR cobalt 53
WARN birch 10 ERROR amber 91 DEBUG harbor 115 DEBUG indigo 11 DEBUG amber 24 DEBUG grove 74 WARN amber 13 DEBUG grove 112
ERROR amber 91
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035534
qwen/qwen3.7-plus
awkweave-0035535
Print every line except those containing the exact text birch.
$0 !~ /birch/
grove 14 active ember 96 paused delta 46 active grove 33 ready cobalt 8 active cobalt 38 active ember 13 active birch 999 active
grove 14 active ember 96 paused delta 46 active grove 33 ready cobalt 8 active cobalt 38 active ember 13 active
ember 88 paused fable 102 failed harbor 103 closed harbor 98 paused birch 60 closed indigo 35 closed ember 58 failed harbor 87 active cobalt 49 failed birch 999 active
ember 88 paused fable 102 failed harbor 103 closed harbor 98 paused indigo 35 closed ember 58 failed harbor 87 active cobalt 49 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035535-p1
Print every line that does not contain the exact substring birch.
$0 !~ /birch/
grove 14 active ember 96 paused delta 46 active grove 33 ready cobalt 8 active cobalt 38 active ember 13 active birch 999 active
grove 14 active ember 96 paused delta 46 active grove 33 ready cobalt 8 active cobalt 38 active ember 13 active
ember 88 paused fable 102 failed harbor 103 closed harbor 98 paused birch 60 closed indigo 35 closed ember 58 failed harbor 87 active cobalt 49 failed birch 999 active
ember 88 paused fable 102 failed harbor 103 closed harbor 98 paused indigo 35 closed ember 58 failed harbor 87 active cobalt 49 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035535
qwen/qwen3.7-plus
awkweave-0035536
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
alice grove 40 chen grove 79 eli grove 95 dina juniper 22 eli amber 38 bruno amber 69
chen grove 79 eli grove 95 dina juniper 22
chen indigo 65 gus indigo 73 eli grove 115 ivan delta 80 alice cobalt 43 jules juniper 117
gus indigo 73 eli grove 115 ivan delta 80
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035536-p1
Output lines 2 through 4, inclusive of both the start and end lines.
NR >= 2 && NR <= 4
alice grove 40 chen grove 79 eli grove 95 dina juniper 22 eli amber 38 bruno amber 69
chen grove 79 eli grove 95 dina juniper 22
chen indigo 65 gus indigo 73 eli grove 115 ivan delta 80 alice cobalt 43 jules juniper 117
gus indigo 73 eli grove 115 ivan delta 80
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035536
qwen/qwen3.7-plus
awkweave-0035537
Output only the first 3 records.
NR <= 3
ivan 75 birch ivan 40 birch eli 95 harbor ivan 2 grove chen 93 juniper gus 103 cobalt lina 101 ember
ivan 75 birch ivan 40 birch eli 95 harbor
ivan 21 juniper jules 74 grove gus 48 cobalt alice 11 ember kim 59 amber kim 19 harbor bruno 40 grove gus 80 cobalt
ivan 21 juniper jules 74 grove gus 48 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035537-p1
Display only the first 3 records from the input.
NR <= 3
ivan 75 birch ivan 40 birch eli 95 harbor ivan 2 grove chen 93 juniper gus 103 cobalt lina 101 ember
ivan 75 birch ivan 40 birch eli 95 harbor
ivan 21 juniper jules 74 grove gus 48 cobalt alice 11 ember kim 59 amber kim 19 harbor bruno 40 grove gus 80 cobalt
ivan 21 juniper jules 74 grove gus 48 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035537
qwen/qwen3.7-plus
awkweave-0035538
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 44 grove eli 85 delta eli 92 amber bruno 6 ember jules 116 grove eli 66 birch lina 104 fable
eli 85 delta eli 92 amber bruno 6 ember jules 116 grove eli 66 birch lina 104 fable
gus 53 birch hana 99 birch bruno 20 harbor lina 107 cobalt jules 27 juniper farah 62 juniper gus 12 indigo
hana 99 birch bruno 20 harbor lina 107 cobalt jules 27 juniper farah 62 juniper gus 12 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035538-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
ivan 44 grove eli 85 delta eli 92 amber bruno 6 ember jules 116 grove eli 66 birch lina 104 fable
eli 85 delta eli 92 amber bruno 6 ember jules 116 grove eli 66 birch lina 104 fable
gus 53 birch hana 99 birch bruno 20 harbor lina 107 cobalt jules 27 juniper farah 62 juniper gus 12 indigo
hana 99 birch bruno 20 harbor lina 107 cobalt jules 27 juniper farah 62 juniper gus 12 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035538
qwen/qwen3.7-plus
awkweave-0035539
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
ivan failed 59 alice ready 4 kim active 14 lina ready 23 lina pending 10 eli paused 114 gus pending 56 dina closed 45 farah paused 55 dina closed 45
2
hana failed 17 lina paused 0 dina paused 78 chen closed 42 chen paused 113 dina paused 91 hana active 102 jules paused 116 jules closed 59
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035539-p1
Count the number of records where the second column is closed; output 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
ivan failed 59 alice ready 4 kim active 14 lina ready 23 lina pending 10 eli paused 114 gus pending 56 dina closed 45 farah paused 55 dina closed 45
2
hana failed 17 lina paused 0 dina paused 78 chen closed 42 chen paused 113 dina paused 91 hana active 102 jules paused 116 jules closed 59
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035539
qwen/qwen3.7-plus
awkweave-0035540
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ember 21 ivan fable 18 bruno grove 2 eli amber 26 eli indigo 22 gus delta 25 eli birch 9 bruno ember 13 kim
136
grove 29 eli indigo 21 bruno amber 22 kim amber 26 farah grove 4 chen indigo 30 eli birch 16 alice fable 8 kim juniper 6 jules
162
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035540-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
ember 21 ivan fable 18 bruno grove 2 eli amber 26 eli indigo 22 gus delta 25 eli birch 9 bruno ember 13 kim
136
grove 29 eli indigo 21 bruno amber 22 kim amber 26 farah grove 4 chen indigo 30 eli birch 16 alice fable 8 kim juniper 6 jules
162
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035540
qwen/qwen3.7-plus
awkweave-0035541
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan fable 9 alice fable 12 ivan cobalt 13 dina fable 4 alice fable 2 jules delta 28 alice birch 9
11.00
dina fable 14 eli grove 6 eli cobalt 3 jules cobalt 25 eli cobalt 5 alice harbor 24
12.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035541-p1
Calculate the average of the values in the third column and print it rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan fable 9 alice fable 12 ivan cobalt 13 dina fable 4 alice fable 2 jules delta 28 alice birch 9
11.00
dina fable 14 eli grove 6 eli cobalt 3 jules cobalt 25 eli cobalt 5 alice harbor 24
12.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035541
qwen/qwen3.7-plus
awkweave-0035542
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
13 eli ember 10 lina cobalt 10 eli amber 30 bruno cobalt 4 farah fable 5 alice juniper 22 lina delta 6 lina fable 8 dina indigo
4
28 bruno birch 2 alice ember 8 gus delta 25 ivan cobalt 14 alice birch 6 hana fable
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035542-p1
Identify and output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
13 eli ember 10 lina cobalt 10 eli amber 30 bruno cobalt 4 farah fable 5 alice juniper 22 lina delta 6 lina fable 8 dina indigo
4
28 bruno birch 2 alice ember 8 gus delta 25 ivan cobalt 14 alice birch 6 hana fable
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035542
qwen/qwen3.7-plus
awkweave-0035543
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor gus 1 indigo gus 18 juniper dina 26 amber chen 10 birch alice 6 amber dina 16 fable bruno 15 amber bruno 7 grove farah 6 harbor gus 23
26
cobalt eli 2 delta lina 7 delta jules 9 cobalt eli 17 amber eli 26 indigo kim 27 delta farah 29 harbor kim 24 harbor gus 17 cobalt farah 18
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035543-p1
Determine and display the maximum numeric value located in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor gus 1 indigo gus 18 juniper dina 26 amber chen 10 birch alice 6 amber dina 16 fable bruno 15 amber bruno 7 grove farah 6 harbor gus 23
26
cobalt eli 2 delta lina 7 delta jules 9 cobalt eli 17 amber eli 26 indigo kim 27 delta farah 29 harbor kim 24 harbor gus 17 cobalt farah 18
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035543
qwen/qwen3.7-plus
awkweave-0035544
Count all input records and print the total.
END{print NR}
bruno 103 lina 32 bruno 69 farah 119 eli 93 chen 46 ivan 66
7
farah 19 jules 97 gus 92 eli 111 hana 102 farah 119 alice 1 jules 16
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035544-p1
Calculate the total number of input records and print the count.
END{print NR}
bruno 103 lina 32 bruno 69 farah 119 eli 93 chen 46 ivan 66
7
farah 19 jules 97 gus 92 eli 111 hana 102 farah 119 alice 1 jules 16
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035544
qwen/qwen3.7-plus
awkweave-0035545
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus cobalt 83 ivan cobalt 81 jules fable 6 jules fable 6 chen ember 114 kim ember 113 jules ember 95 eli indigo 74 gus ember 102 bruno juniper 13
gus cobalt 83 ivan cobalt 81 jules fable 6 chen ember 114 kim ember 113 jules ember 95 eli indigo 74 gus ember 102 bruno juniper 13
chen juniper 7 dina indigo 25 jules ember 68 jules juniper 106 hana juniper 43 kim harbor 49 jules juniper 106 chen juniper 38 dina cobalt 93
chen juniper 7 dina indigo 25 jules ember 68 jules juniper 106 hana juniper 43 kim harbor 49 chen juniper 38 dina cobalt 93
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035545-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
gus cobalt 83 ivan cobalt 81 jules fable 6 jules fable 6 chen ember 114 kim ember 113 jules ember 95 eli indigo 74 gus ember 102 bruno juniper 13
gus cobalt 83 ivan cobalt 81 jules fable 6 chen ember 114 kim ember 113 jules ember 95 eli indigo 74 gus ember 102 bruno juniper 13
chen juniper 7 dina indigo 25 jules ember 68 jules juniper 106 hana juniper 43 kim harbor 49 jules juniper 106 chen juniper 38 dina cobalt 93
chen juniper 7 dina indigo 25 jules ember 68 jules juniper 106 hana juniper 43 kim harbor 49 chen juniper 38 dina cobalt 93
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035545
qwen/qwen3.7-plus
awkweave-0035546
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
lina birch 56 dina fable 77 chen fable 8 alice amber 11 bruno amber 66 ivan indigo 46 dina harbor 99 kim juniper 80 gus ember 15
lina birch 56 dina fable 77 chen fable 8 alice amber 11 bruno amber 66 ivan indigo 46 kim juniper 80 gus ember 15
eli juniper 110 farah birch 88 dina harbor 79 ivan harbor 29 eli ember 74 alice cobalt 32 bruno ember 30
eli juniper 110 farah birch 88 dina harbor 79 ivan harbor 29 alice cobalt 32 bruno ember 30
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035546-p1
Retain only the initial line for every unique value in the first column, preserving the input order.
!seen[$1]++
lina birch 56 dina fable 77 chen fable 8 alice amber 11 bruno amber 66 ivan indigo 46 dina harbor 99 kim juniper 80 gus ember 15
lina birch 56 dina fable 77 chen fable 8 alice amber 11 bruno amber 66 ivan indigo 46 kim juniper 80 gus ember 15
eli juniper 110 farah birch 88 dina harbor 79 ivan harbor 29 eli ember 74 alice cobalt 32 bruno ember 30
eli juniper 110 farah birch 88 dina harbor 79 ivan harbor 29 alice cobalt 32 bruno ember 30
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035546
qwen/qwen3.7-plus
awkweave-0035547
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 28 indigo ivan 6 harbor chen 12 delta jules 28 ember chen 1 fable chen 16 juniper farah 11 indigo
hana 28 ivan 34 chen 46 jules 74 chen 75 chen 91 farah 102
chen 1 amber chen 28 fable jules 26 birch ivan 23 ember gus 23 harbor kim 26 harbor chen 17 fable
chen 1 chen 29 jules 55 ivan 78 gus 101 kim 127 chen 144
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035547-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}
hana 28 indigo ivan 6 harbor chen 12 delta jules 28 ember chen 1 fable chen 16 juniper farah 11 indigo
hana 28 ivan 34 chen 46 jules 74 chen 75 chen 91 farah 102
chen 1 amber chen 28 fable jules 26 birch ivan 23 ember gus 23 harbor kim 26 harbor chen 17 fable
chen 1 chen 29 jules 55 ivan 78 gus 101 kim 127 chen 144
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035547
qwen/qwen3.7-plus
awkweave-0035548
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 8 4 fable jules 28 12 fable bruno 30 4 birch eli 13 18 fable jules 19 20 harbor jules 15 13 indigo eli 11 16 grove
farah 12 jules 40 bruno 34 eli 31 jules 39 jules 28 eli 27
dina 3 26 delta bruno 11 10 fable kim 5 19 juniper farah 1 23 harbor lina 9 5 harbor hana 8 27 delta
dina 29 bruno 21 kim 24 farah 24 lina 14 hana 35
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035548-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
farah 8 4 fable jules 28 12 fable bruno 30 4 birch eli 13 18 fable jules 19 20 harbor jules 15 13 indigo eli 11 16 grove
farah 12 jules 40 bruno 34 eli 31 jules 39 jules 28 eli 27
dina 3 26 delta bruno 11 10 fable kim 5 19 juniper farah 1 23 harbor lina 9 5 harbor hana 8 27 delta
dina 29 bruno 21 kim 24 farah 24 lina 14 hana 35
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035548
qwen/qwen3.7-plus
awkweave-0035549
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
jules 11 gus 2 ivan 6 gus 16 gus 12 jules 23 kim 15 farah 3 hana 28 alice 10
jules fail gus fail ivan fail gus fail gus fail jules fail kim fail farah fail hana pass alice fail
dina 13 bruno 29 farah 14 farah 29 bruno 29 eli 21 gus 16 alice 28 eli 30
dina fail bruno pass farah fail farah pass bruno pass eli fail gus fail alice pass eli pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035549-p1
Output the first column and print 'pass' if the second column is 26 or greater; otherwise, print 'fail'.
{print $1,($2>=26?"pass":"fail")}
jules 11 gus 2 ivan 6 gus 16 gus 12 jules 23 kim 15 farah 3 hana 28 alice 10
jules fail gus fail ivan fail gus fail gus fail jules fail kim fail farah fail hana pass alice fail
dina 13 bruno 29 farah 14 farah 29 bruno 29 eli 21 gus 16 alice 28 eli 30
dina fail bruno pass farah fail farah pass bruno pass eli fail gus fail alice pass eli pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035549
qwen/qwen3.7-plus
awkweave-0035550
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules grove 27 lina harbor 30 lina birch 48 kim delta 57 alice ember 61 dina amber 87 bruno juniper 69 farah ember 100
JULES LINA LINA KIM ALICE DINA BRUNO FARAH
kim birch 84 bruno harbor 34 chen juniper 55 hana harbor 119 gus delta 72 alice indigo 119 kim indigo 74
KIM BRUNO CHEN HANA GUS ALICE KIM
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035550-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
jules grove 27 lina harbor 30 lina birch 48 kim delta 57 alice ember 61 dina amber 87 bruno juniper 69 farah ember 100
JULES LINA LINA KIM ALICE DINA BRUNO FARAH
kim birch 84 bruno harbor 34 chen juniper 55 hana harbor 119 gus delta 72 alice indigo 119 kim indigo 74
KIM BRUNO CHEN HANA GUS ALICE KIM
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035550
qwen/qwen3.7-plus
awkweave-0035551
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
juniper 33 cobalt 65 amber 93 fable 106 indigo 43 birch 54 delta 37 ember 19
juni coba ambe fabl indi birc delt embe
fable 69 fable 64 ember 35 amber 59 fable 93 grove 35
fabl fabl embe ambe fabl grov
substring
1
train
original-grammar
CC-BY-4.0
null
null