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-0035771-p1
Display only the first three records.
NR <= 3
farah 25 amber kim 86 birch bruno 117 amber dina 118 birch lina 47 delta chen 78 cobalt dina 86 ember lina 17 fable
farah 25 amber kim 86 birch bruno 117 amber
alice 28 harbor ivan 97 indigo farah 40 fable ivan 4 harbor chen 103 grove eli 104 grove
alice 28 harbor ivan 97 indigo farah 40 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035771
qwen/qwen3.7-plus
awkweave-0035772
Skip the first line and print every remaining line unchanged.
NR > 1
hana 96 harbor farah 116 birch alice 84 grove dina 68 cobalt alice 80 indigo eli 43 delta ivan 59 grove
farah 116 birch alice 84 grove dina 68 cobalt alice 80 indigo eli 43 delta ivan 59 grove
farah 5 cobalt eli 58 birch hana 72 grove hana 100 harbor hana 63 juniper farah 52 indigo
eli 58 birch hana 72 grove hana 100 harbor hana 63 juniper farah 52 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035772-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
hana 96 harbor farah 116 birch alice 84 grove dina 68 cobalt alice 80 indigo eli 43 delta ivan 59 grove
farah 116 birch alice 84 grove dina 68 cobalt alice 80 indigo eli 43 delta ivan 59 grove
farah 5 cobalt eli 58 birch hana 72 grove hana 100 harbor hana 63 juniper farah 52 indigo
eli 58 birch hana 72 grove hana 100 harbor hana 63 juniper farah 52 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035772
qwen/qwen3.7-plus
awkweave-0035773
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
gus closed 44 eli ready 22 alice closed 99 lina closed 89 lina pending 79 chen paused 78 jules ready 86 hana active 41
1
hana paused 90 ivan active 116 hana pending 1 eli failed 88 hana pending 101 alice paused 46 jules failed 31
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035773-p1
Count the number of records with 'pending' in the second column; output 0 if none exist.
$2 == "pending"{n++}END{print n+0}
gus closed 44 eli ready 22 alice closed 99 lina closed 89 lina pending 79 chen paused 78 jules ready 86 hana active 41
1
hana paused 90 ivan active 116 hana pending 1 eli failed 88 hana pending 101 alice paused 46 jules failed 31
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035773
qwen/qwen3.7-plus
awkweave-0035774
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
cobalt 17 gus juniper 9 hana cobalt 22 alice indigo 22 farah delta 28 farah indigo 9 jules amber 2 alice cobalt 17 bruno delta 15 jules
141
amber 24 bruno indigo 18 hana ember 24 bruno juniper 9 jules grove 20 kim juniper 16 hana ember 11 chen harbor 25 dina birch 9 hana
156
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035774-p1
Compute and display the sum of integer values in the second column.
{s+=$2}END{print s+0}
cobalt 17 gus juniper 9 hana cobalt 22 alice indigo 22 farah delta 28 farah indigo 9 jules amber 2 alice cobalt 17 bruno delta 15 jules
141
amber 24 bruno indigo 18 hana ember 24 bruno juniper 9 jules grove 20 kim juniper 16 hana ember 11 chen harbor 25 dina birch 9 hana
156
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035774
qwen/qwen3.7-plus
awkweave-0035775
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
bruno delta 22 bruno ember 23 gus fable 18 jules amber 27 dina amber 19 chen birch 12 bruno cobalt 10
18.71
chen delta 4 kim birch 18 chen grove 24 farah cobalt 19 eli grove 17 kim grove 6 kim juniper 13
14.43
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035775-p1
Print the arithmetic mean of the third column, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
bruno delta 22 bruno ember 23 gus fable 18 jules amber 27 dina amber 19 chen birch 12 bruno cobalt 10
18.71
chen delta 4 kim birch 18 chen grove 24 farah cobalt 19 eli grove 17 kim grove 6 kim juniper 13
14.43
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035775
qwen/qwen3.7-plus
awkweave-0035776
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
21 bruno delta 30 lina harbor 4 alice harbor 30 alice juniper 4 eli indigo 4 farah juniper 17 kim amber 4 hana birch 4 kim cobalt 15 bruno grove
4
27 hana juniper 2 alice indigo 26 lina ember 17 ivan juniper 12 alice ember 7 alice juniper
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035776-p1
Identify and print the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
21 bruno delta 30 lina harbor 4 alice harbor 30 alice juniper 4 eli indigo 4 farah juniper 17 kim amber 4 hana birch 4 kim cobalt 15 bruno grove
4
27 hana juniper 2 alice indigo 26 lina ember 17 ivan juniper 12 alice ember 7 alice juniper
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035776
qwen/qwen3.7-plus
awkweave-0035777
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 harbor kim 2 indigo eli 5 indigo kim 11 delta chen 19 juniper chen 30 grove alice
30
11 cobalt lina 21 ember dina 12 grove chen 1 grove jules 9 delta gus 17 grove chen 5 birch jules 22 amber gus
22
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035777-p1
Identify and print the maximum numeric value found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 harbor kim 2 indigo eli 5 indigo kim 11 delta chen 19 juniper chen 30 grove alice
30
11 cobalt lina 21 ember dina 12 grove chen 1 grove jules 9 delta gus 17 grove chen 5 birch jules 22 amber gus
22
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035777
qwen/qwen3.7-plus
awkweave-0035778
Count all input records and print the total.
END{print NR}
lina 112 jules 85 hana 117 gus 20 jules 91 gus 4 ivan 9 chen 60 kim 37 jules 14
10
chen 63 eli 52 chen 103 gus 57 bruno 95 gus 57 alice 35 hana 79 ivan 70 gus 94
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035778-p1
Calculate the total number of input records and output the count.
END{print NR}
lina 112 jules 85 hana 117 gus 20 jules 91 gus 4 ivan 9 chen 60 kim 37 jules 14
10
chen 63 eli 52 chen 103 gus 57 bruno 95 gus 57 alice 35 hana 79 ivan 70 gus 94
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035778
qwen/qwen3.7-plus
awkweave-0035779
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice amber 68 jules cobalt 12 ivan grove 81 dina harbor 11 gus grove 106 ivan delta 86 eli juniper 107 alice amber 68 eli birch 115
alice amber 68 jules cobalt 12 ivan grove 81 dina harbor 11 gus grove 106 ivan delta 86 eli juniper 107 eli birch 115
bruno harbor 21 eli indigo 60 hana harbor 59 eli fable 14 dina delta 2 gus birch 20 jules grove 118 chen harbor 30 jules harbor 12 jules juniper 116 gus birch 20
bruno harbor 21 eli indigo 60 hana harbor 59 eli fable 14 dina delta 2 gus birch 20 jules grove 118 chen harbor 30 jules harbor 12 jules juniper 116
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035779-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
alice amber 68 jules cobalt 12 ivan grove 81 dina harbor 11 gus grove 106 ivan delta 86 eli juniper 107 alice amber 68 eli birch 115
alice amber 68 jules cobalt 12 ivan grove 81 dina harbor 11 gus grove 106 ivan delta 86 eli juniper 107 eli birch 115
bruno harbor 21 eli indigo 60 hana harbor 59 eli fable 14 dina delta 2 gus birch 20 jules grove 118 chen harbor 30 jules harbor 12 jules juniper 116 gus birch 20
bruno harbor 21 eli indigo 60 hana harbor 59 eli fable 14 dina delta 2 gus birch 20 jules grove 118 chen harbor 30 jules harbor 12 jules juniper 116
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035779
qwen/qwen3.7-plus
awkweave-0035780
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
hana birch 89 gus ember 68 kim indigo 59 ivan amber 44 gus amber 72 gus fable 86 lina birch 91 jules juniper 73 farah grove 45 jules amber 98
hana birch 89 gus ember 68 kim indigo 59 ivan amber 44 gus fable 86 jules juniper 73 farah grove 45
jules birch 17 ivan cobalt 15 dina indigo 31 eli fable 13 ivan ember 64 dina harbor 26 dina juniper 98 jules fable 67 chen harbor 112 jules indigo 51
jules birch 17 ivan cobalt 15 dina indigo 31 eli fable 13 ivan ember 64 dina harbor 26 dina juniper 98
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035780-p1
Retain only the initial line for every unique value found in the second column, ensuring the original input order is preserved.
!seen[$2]++
hana birch 89 gus ember 68 kim indigo 59 ivan amber 44 gus amber 72 gus fable 86 lina birch 91 jules juniper 73 farah grove 45 jules amber 98
hana birch 89 gus ember 68 kim indigo 59 ivan amber 44 gus fable 86 jules juniper 73 farah grove 45
jules birch 17 ivan cobalt 15 dina indigo 31 eli fable 13 ivan ember 64 dina harbor 26 dina juniper 98 jules fable 67 chen harbor 112 jules indigo 51
jules birch 17 ivan cobalt 15 dina indigo 31 eli fable 13 ivan ember 64 dina harbor 26 dina juniper 98
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035780
qwen/qwen3.7-plus
awkweave-0035781
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 22 delta alice 22 delta alice 16 grove bruno 30 birch bruno 21 ember bruno 21 amber kim 8 ember farah 22 grove chen 20 grove
bruno 22 alice 44 alice 60 bruno 90 bruno 111 bruno 132 kim 140 farah 162 chen 182
jules 4 amber eli 12 harbor bruno 20 juniper gus 27 harbor lina 23 delta jules 19 delta bruno 8 birch
jules 4 eli 16 bruno 36 gus 63 lina 86 jules 105 bruno 113
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035781-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
bruno 22 delta alice 22 delta alice 16 grove bruno 30 birch bruno 21 ember bruno 21 amber kim 8 ember farah 22 grove chen 20 grove
bruno 22 alice 44 alice 60 bruno 90 bruno 111 bruno 132 kim 140 farah 162 chen 182
jules 4 amber eli 12 harbor bruno 20 juniper gus 27 harbor lina 23 delta jules 19 delta bruno 8 birch
jules 4 eli 16 bruno 36 gus 63 lina 86 jules 105 bruno 113
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035781
qwen/qwen3.7-plus
awkweave-0035782
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 28 29 delta jules 21 2 indigo hana 1 3 birch eli 21 8 birch eli 22 30 ember lina 9 15 juniper jules 26 2 harbor bruno 22 12 ember hana 24 6 indigo alice 1 20 juniper
kim 57 jules 23 hana 4 eli 29 eli 52 lina 24 jules 28 bruno 34 hana 30 alice 21
eli 29 22 amber ivan 2 18 juniper kim 21 6 juniper farah 19 12 ember eli 21 22 ember farah 1 26 delta bruno 14 12 harbor
eli 51 ivan 20 kim 27 farah 31 eli 43 farah 27 bruno 26
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035782-p1
For each row, display the first field followed by the total of the second and third fields.
{print $1,$2+$3}
kim 28 29 delta jules 21 2 indigo hana 1 3 birch eli 21 8 birch eli 22 30 ember lina 9 15 juniper jules 26 2 harbor bruno 22 12 ember hana 24 6 indigo alice 1 20 juniper
kim 57 jules 23 hana 4 eli 29 eli 52 lina 24 jules 28 bruno 34 hana 30 alice 21
eli 29 22 amber ivan 2 18 juniper kim 21 6 juniper farah 19 12 ember eli 21 22 ember farah 1 26 delta bruno 14 12 harbor
eli 51 ivan 20 kim 27 farah 31 eli 43 farah 27 bruno 26
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035782
qwen/qwen3.7-plus
awkweave-0035783
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
bruno 5 hana 5 dina 13 alice 22 eli 4 farah 29 lina 28 ivan 15 ivan 16
bruno fail hana fail dina fail alice pass eli fail farah pass lina pass ivan fail ivan fail
gus 3 hana 15 gus 12 gus 7 eli 7 ivan 7
gus fail hana fail gus fail gus fail eli fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035783-p1
Output the first column along with 'pass' if the second column is 21 or greater; otherwise, output 'fail'.
{print $1,($2>=21?"pass":"fail")}
bruno 5 hana 5 dina 13 alice 22 eli 4 farah 29 lina 28 ivan 15 ivan 16
bruno fail hana fail dina fail alice pass eli fail farah pass lina pass ivan fail ivan fail
gus 3 hana 15 gus 12 gus 7 eli 7 ivan 7
gus fail hana fail gus fail gus fail eli fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035783
qwen/qwen3.7-plus
awkweave-0035784
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
lina grove 109 hana ember 101 lina grove 114 gus delta 63 ivan cobalt 17 gus harbor 69 chen birch 15 gus amber 59 jules amber 98 kim harbor 77
LINA HANA LINA GUS IVAN GUS CHEN GUS JULES KIM
eli grove 41 hana grove 52 hana birch 61 ivan harbor 116 ivan harbor 53 hana ember 22 eli indigo 100 hana indigo 40
ELI HANA HANA IVAN IVAN HANA ELI HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035784-p1
Transform the first column to uppercase and display only that modified column.
{print toupper($1)}
lina grove 109 hana ember 101 lina grove 114 gus delta 63 ivan cobalt 17 gus harbor 69 chen birch 15 gus amber 59 jules amber 98 kim harbor 77
LINA HANA LINA GUS IVAN GUS CHEN GUS JULES KIM
eli grove 41 hana grove 52 hana birch 61 ivan harbor 116 ivan harbor 53 hana ember 22 eli indigo 100 hana indigo 40
ELI HANA HANA IVAN IVAN HANA ELI HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035784
qwen/qwen3.7-plus
awkweave-0035785
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
cobalt 97 ember 63 harbor 110 amber 19 harbor 111 delta 63 harbor 105 birch 119 grove 46
balt ber rbor ber rbor lta rbor rch ove
amber 109 harbor 11 delta 65 amber 73 amber 38 juniper 80 harbor 72 amber 51 juniper 106 juniper 0
ber rbor lta ber ber nipe rbor ber nipe nipe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035785-p1
Extract and print a substring of 4 characters from the first column, beginning at the third character position.
{print substr($1,3,4)}
cobalt 97 ember 63 harbor 110 amber 19 harbor 111 delta 63 harbor 105 birch 119 grove 46
balt ber rbor ber rbor lta rbor rch ove
amber 109 harbor 11 delta 65 amber 73 amber 38 juniper 80 harbor 72 amber 51 juniper 106 juniper 0
ber rbor lta ber ber nipe rbor ber nipe nipe
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035785
qwen/qwen3.7-plus
awkweave-0035786
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_grove 48 delta_harbor 97 indigo_cobalt 99 amber_indigo 96 amber_delta 71 birch_delta 110 juniper_harbor 37
amber grove delta harbor indigo cobalt amber indigo amber delta birch delta juniper harbor
juniper_indigo 83 fable_fable 79 harbor_birch 86 grove_grove 40 grove_harbor 66 fable_grove 20
juniper indigo fable fable harbor birch grove grove grove harbor fable grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035786-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
amber_grove 48 delta_harbor 97 indigo_cobalt 99 amber_indigo 96 amber_delta 71 birch_delta 110 juniper_harbor 37
amber grove delta harbor indigo cobalt amber indigo amber delta birch delta juniper harbor
juniper_indigo 83 fable_fable 79 harbor_birch 86 grove_grove 40 grove_harbor 66 fable_grove 20
juniper indigo fable fable harbor birch grove grove grove harbor fable grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035786
qwen/qwen3.7-plus
awkweave-0035787
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim grove 76 closed ivan grove 51 failed bruno amber 116 pending kim amber 54 closed gus juniper 8 active bruno fable 2 closed gus birch 19 failed lina delta 74 pending eli fable 15 closed kim grove 91 ready
closed 76 grove kim failed 51 grove ivan pending 116 amber bruno closed 54 amber kim active 8 juniper gus closed 2 fable bruno failed 19 birch gus pending 74 delta lina closed 15 fable eli ready 91 grove kim
chen delta 94 failed ivan grove 79 ready dina indigo 36 paused chen harbor 23 paused chen amber 50 pending kim delta 77 active bruno ember 60 pending hana amber 17 ready lina grove 11 ready hana juniper 49 ready
failed 94 delta chen ready 79 grove ivan paused 36 indigo dina paused 23 harbor chen pending 50 amber chen active 77 delta kim pending 60 ember bruno ready 17 amber hana ready 11 grove lina ready 49 juniper hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035787-p1
Invert the sequence of fields for every line and print all fields in the reversed order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim grove 76 closed ivan grove 51 failed bruno amber 116 pending kim amber 54 closed gus juniper 8 active bruno fable 2 closed gus birch 19 failed lina delta 74 pending eli fable 15 closed kim grove 91 ready
closed 76 grove kim failed 51 grove ivan pending 116 amber bruno closed 54 amber kim active 8 juniper gus closed 2 fable bruno failed 19 birch gus pending 74 delta lina closed 15 fable eli ready 91 grove kim
chen delta 94 failed ivan grove 79 ready dina indigo 36 paused chen harbor 23 paused chen amber 50 pending kim delta 77 active bruno ember 60 pending hana amber 17 ready lina grove 11 ready hana juniper 49 ready
failed 94 delta chen ready 79 grove ivan paused 36 indigo dina paused 23 harbor chen pending 50 amber chen active 77 delta kim pending 60 ember bruno ready 17 amber hana ready 11 grove lina ready 49 juniper hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035787
qwen/qwen3.7-plus
awkweave-0035788
Print the number of whitespace-separated fields on each line.
{print NF}
ivan cobalt 43 closed lina grove 61 pending eli delta 107 active bruno juniper 105 closed bruno grove 48 paused alice ember 118 pending gus birch 35 ready
4 4 4 4 4 4 4
ivan ember 75 active ivan juniper 55 paused chen grove 101 pending hana ember 80 active lina amber 81 closed lina amber 41 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035788-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
ivan cobalt 43 closed lina grove 61 pending eli delta 107 active bruno juniper 105 closed bruno grove 48 paused alice ember 118 pending gus birch 35 ready
4 4 4 4 4 4 4
ivan ember 75 active ivan juniper 55 paused chen grove 101 pending hana ember 80 active lina amber 81 closed lina amber 41 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035788
qwen/qwen3.7-plus
awkweave-0035789
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]]}
dina beta 23 chen alpha 112 bruno beta 63 gus delta 92 gus gamma 10 chen gamma 41 dina alpha 31
beta 2 alpha 2 delta 1 gamma 2
bruno delta 47 chen alpha 27 chen delta 74 chen alpha 17 lina beta 74 lina gamma 115
delta 2 alpha 2 beta 1 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035789-p1
Tally the number of records for each distinct value in the second column, then print each value and its corresponding 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]]}
dina beta 23 chen alpha 112 bruno beta 63 gus delta 92 gus gamma 10 chen gamma 41 dina alpha 31
beta 2 alpha 2 delta 1 gamma 2
bruno delta 47 chen alpha 27 chen delta 74 chen alpha 17 lina beta 74 lina gamma 115
delta 2 alpha 2 beta 1 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035789
qwen/qwen3.7-plus
awkweave-0035800
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}
jules 18 0 ivan 28 2 farah 15 30 farah 22 4 bruno 20 5 bruno 13 6 kim 2 12
ivan 14.00 farah 0.50 farah 5.50 bruno 4.00 bruno 2.17 kim 0.17
lina 10 0 chen 2 6 alice 16 29 gus 20 18 farah 14 11 hana 7 27 jules 2 28 chen 17 23 ivan 23 21
chen 0.33 alice 0.55 gus 1.11 farah 1.27 hana 0.26 jules 0.07 chen 0.74 ivan 1.10
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035800-p1
For every row, output the first and second columns along with the result of dividing the second column by the third, formatted to two decimal places; exclude any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 18 0 ivan 28 2 farah 15 30 farah 22 4 bruno 20 5 bruno 13 6 kim 2 12
ivan 14.00 farah 0.50 farah 5.50 bruno 4.00 bruno 2.17 kim 0.17
lina 10 0 chen 2 6 alice 16 29 gus 20 18 farah 14 11 hana 7 27 jules 2 28 chen 17 23 ivan 23 21
chen 0.33 alice 0.55 gus 1.11 farah 1.27 hana 0.26 jules 0.07 chen 0.74 ivan 1.10
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035800
qwen/qwen3.7-plus
awkweave-0035801
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 juniper 7 gus indigo 23 ivan juniper 23 ivan grove 13 lina juniper 23 jules fable 11 eli juniper 12
gus indigo 23 ivan juniper 23 lina juniper 23
dina harbor 19 alice delta 20 eli indigo 3 farah birch 12 hana birch 24 hana harbor 29 farah birch 25 hana grove 19
hana harbor 29 farah birch 25 hana birch 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035801-p1
Display the top three records based on the highest numeric values in the third column, sorted in descending order, while maintaining the original input order for any tied values.
{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 juniper 7 gus indigo 23 ivan juniper 23 ivan grove 13 lina juniper 23 jules fable 11 eli juniper 12
gus indigo 23 ivan juniper 23 lina juniper 23
dina harbor 19 alice delta 20 eli indigo 3 farah birch 12 hana birch 24 hana harbor 29 farah birch 25 hana grove 19
hana harbor 29 farah birch 25 hana birch 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035801
qwen/qwen3.7-plus
awkweave-0035802
For each line, output fields 5 and 4, in that order.
{print $5, $4}
pending harbor 120 farah ready failed juniper 49 dina paused paused cobalt 108 alice pending ready birch 75 jules ready paused grove 6 bruno failed pending delta 43 dina closed ready harbor 97 kim failed paused amber 105 eli paused
ready farah paused dina pending alice ready jules failed bruno closed dina failed kim paused eli
failed grove 30 dina ready pending birch 6 alice paused paused grove 34 hana pending closed birch 40 farah ready paused amber 9 eli paused ready delta 30 eli failed active harbor 11 dina ready
ready dina paused alice pending hana ready farah paused eli failed eli ready dina
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035802-p1
Output the fifth and fourth fields for each line, preserving that specific sequence.
{print $5, $4}
pending harbor 120 farah ready failed juniper 49 dina paused paused cobalt 108 alice pending ready birch 75 jules ready paused grove 6 bruno failed pending delta 43 dina closed ready harbor 97 kim failed paused amber 105 eli paused
ready farah paused dina pending alice ready jules failed bruno closed dina failed kim paused eli
failed grove 30 dina ready pending birch 6 alice paused paused grove 34 hana pending closed birch 40 farah ready paused amber 9 eli paused ready delta 30 eli failed active harbor 11 dina ready
ready dina paused alice pending hana ready farah paused eli failed eli ready dina
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035802
qwen/qwen3.7-plus
awkweave-0035803
Print the last field of every input line.
{print $NF}
22 indigo 60 25 jules active 71 indigo 56 49 chen closed 28 ember 38 58 eli pending 73 fable 81 45 chen paused 5 harbor 119 27 ivan pending 116 birch 20 75 alice failed 27 birch 2 80 ivan active 91 ember 64 31 jules paused
active closed pending paused pending failed active paused
42 cobalt 93 62 bruno ready 115 birch 88 23 chen active 70 birch 113 10 hana paused 88 cobalt 101 77 jules active 94 birch 39 119 alice pending 32 ember 53 28 gus closed
ready active paused active pending closed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035803-p1
Print the final field from every line of input.
{print $NF}
22 indigo 60 25 jules active 71 indigo 56 49 chen closed 28 ember 38 58 eli pending 73 fable 81 45 chen paused 5 harbor 119 27 ivan pending 116 birch 20 75 alice failed 27 birch 2 80 ivan active 91 ember 64 31 jules paused
active closed pending paused pending failed active paused
42 cobalt 93 62 bruno ready 115 birch 88 23 chen active 70 birch 113 10 hana paused 88 cobalt 101 77 jules active 94 birch 39 119 alice pending 32 ember 53 28 gus closed
ready active paused active pending closed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035803
qwen/qwen3.7-plus
awkweave-0035804
Print the complete records where column 1 is at least 29.
$1 >= 29
89 juniper ivan 23 fable jules 48 fable bruno 90 harbor alice 31 harbor chen 73 harbor kim 27 grove jules 26 cobalt dina 23 indigo chen 52 grove chen
89 juniper ivan 48 fable bruno 90 harbor alice 31 harbor chen 73 harbor kim 52 grove chen
22 cobalt alice 81 cobalt alice 66 fable gus 110 indigo ivan 71 fable lina 46 amber jules
81 cobalt alice 66 fable gus 110 indigo ivan 71 fable lina 46 amber jules
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035804-p1
Display full records where the value in the first column is greater than or equal to 29.
$1 >= 29
89 juniper ivan 23 fable jules 48 fable bruno 90 harbor alice 31 harbor chen 73 harbor kim 27 grove jules 26 cobalt dina 23 indigo chen 52 grove chen
89 juniper ivan 48 fable bruno 90 harbor alice 31 harbor chen 73 harbor kim 52 grove chen
22 cobalt alice 81 cobalt alice 66 fable gus 110 indigo ivan 71 fable lina 46 amber jules
81 cobalt alice 66 fable gus 110 indigo ivan 71 fable lina 46 amber jules
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035804
qwen/qwen3.7-plus
awkweave-0035805
Show whole lines whose 2nd field is between 7 and 21, inclusive.
$2 >= 7 && $2 <= 21
pending 26 gus ivan active 7 alice lina failed 1 kim hana paused 1 gus eli closed 17 alice chen pending 11 dina alice pending 1 farah kim
active 7 alice lina closed 17 alice chen pending 11 dina alice
closed 1 eli hana pending 15 dina jules active 4 lina lina pending 9 gus lina closed 4 dina jules ready 14 lina alice paused 12 gus alice active 21 kim eli closed 12 gus farah
pending 15 dina jules pending 9 gus lina ready 14 lina alice paused 12 gus alice active 21 kim eli closed 12 gus farah
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035805-p1
Show entire lines where the second field falls within the inclusive range of 7 to 21.
$2 >= 7 && $2 <= 21
pending 26 gus ivan active 7 alice lina failed 1 kim hana paused 1 gus eli closed 17 alice chen pending 11 dina alice pending 1 farah kim
active 7 alice lina closed 17 alice chen pending 11 dina alice
closed 1 eli hana pending 15 dina jules active 4 lina lina pending 9 gus lina closed 4 dina jules ready 14 lina alice paused 12 gus alice active 21 kim eli closed 12 gus farah
pending 15 dina jules pending 9 gus lina ready 14 lina alice paused 12 gus alice active 21 kim eli closed 12 gus farah
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035805
qwen/qwen3.7-plus
awkweave-0035806
Print column 4 only for rows where column 1 is exactly active.
$1 == "active"{print $4}
active birch 47 gus closed grove 17 ivan ready cobalt 13 gus ready delta 33 eli active harbor 82 chen paused delta 113 eli active cobalt 58 kim closed harbor 101 kim pending amber 112 gus
gus chen kim
failed grove 103 bruno paused ember 76 jules ready indigo 72 farah active juniper 109 alice failed delta 89 lina active harbor 22 farah failed birch 62 hana active indigo 120 farah failed fable 38 kim
alice farah farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035806-p1
Output only the fourth column for rows where the first column matches the exact string 'active'.
$1 == "active"{print $4}
active birch 47 gus closed grove 17 ivan ready cobalt 13 gus ready delta 33 eli active harbor 82 chen paused delta 113 eli active cobalt 58 kim closed harbor 101 kim pending amber 112 gus
gus chen kim
failed grove 103 bruno paused ember 76 jules ready indigo 72 farah active juniper 109 alice failed delta 89 lina active harbor 22 farah failed birch 62 hana active indigo 120 farah failed fable 38 kim
alice farah farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035806
qwen/qwen3.7-plus
awkweave-0035807
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
108 INFO grove 59 DEBUG fable 82 DEBUG fable 94 DEBUG amber 29 DEBUG amber 89 INFO harbor 37 WARN indigo
108 INFO grove 89 INFO harbor
33 INFO cobalt 111 ERROR indigo 53 INFO amber 37 INFO juniper 51 INFO birch 68 DEBUG grove 102 DEBUG amber
33 INFO cobalt 53 INFO amber 37 INFO juniper 51 INFO birch
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035807-p1
Print all fields from lines where the second field starts with the prefix 'INFO'.
$2 ~ /^INFO/
108 INFO grove 59 DEBUG fable 82 DEBUG fable 94 DEBUG amber 29 DEBUG amber 89 INFO harbor 37 WARN indigo
108 INFO grove 89 INFO harbor
33 INFO cobalt 111 ERROR indigo 53 INFO amber 37 INFO juniper 51 INFO birch 68 DEBUG grove 102 DEBUG amber
33 INFO cobalt 53 INFO amber 37 INFO juniper 51 INFO birch
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035807
qwen/qwen3.7-plus
awkweave-0035808
Print every line except those containing the exact text fable.
$0 !~ /fable/
juniper 36 active cobalt 88 closed amber 120 paused indigo 31 closed juniper 74 pending cobalt 4 pending fable 999 active
juniper 36 active cobalt 88 closed amber 120 paused indigo 31 closed juniper 74 pending cobalt 4 pending
delta 104 failed ember 73 closed juniper 28 pending ember 12 pending grove 79 closed harbor 107 paused amber 19 ready harbor 101 closed fable 999 active
delta 104 failed ember 73 closed juniper 28 pending ember 12 pending grove 79 closed harbor 107 paused amber 19 ready harbor 101 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035808-p1
Print every line except those that contain the exact substring 'fable'.
$0 !~ /fable/
juniper 36 active cobalt 88 closed amber 120 paused indigo 31 closed juniper 74 pending cobalt 4 pending fable 999 active
juniper 36 active cobalt 88 closed amber 120 paused indigo 31 closed juniper 74 pending cobalt 4 pending
delta 104 failed ember 73 closed juniper 28 pending ember 12 pending grove 79 closed harbor 107 paused amber 19 ready harbor 101 closed fable 999 active
delta 104 failed ember 73 closed juniper 28 pending ember 12 pending grove 79 closed harbor 107 paused amber 19 ready harbor 101 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035808
qwen/qwen3.7-plus
awkweave-0035809
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
kim ember 47 jules delta 80 dina delta 70 kim harbor 15 jules harbor 37 kim grove 118 lina birch 20 gus delta 92 farah indigo 92
kim harbor 15 jules harbor 37
dina indigo 1 jules amber 83 lina grove 95 eli delta 56 jules juniper 8 gus ember 73
eli delta 56 jules juniper 8
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035809-p1
Output lines 4 through 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
kim ember 47 jules delta 80 dina delta 70 kim harbor 15 jules harbor 37 kim grove 118 lina birch 20 gus delta 92 farah indigo 92
kim harbor 15 jules harbor 37
dina indigo 1 jules amber 83 lina grove 95 eli delta 56 jules juniper 8 gus ember 73
eli delta 56 jules juniper 8
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035809
qwen/qwen3.7-plus
awkweave-0035810
Output only the first 4 records.
NR <= 4
eli 108 juniper chen 81 fable kim 63 birch gus 64 juniper bruno 82 grove dina 50 amber kim 67 cobalt jules 28 cobalt dina 46 fable
eli 108 juniper chen 81 fable kim 63 birch gus 64 juniper
bruno 102 cobalt gus 76 harbor bruno 85 birch farah 45 cobalt alice 112 ember jules 63 amber gus 25 ember bruno 38 indigo lina 111 fable
bruno 102 cobalt gus 76 harbor bruno 85 birch farah 45 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035810-p1
Display only the first four records.
NR <= 4
eli 108 juniper chen 81 fable kim 63 birch gus 64 juniper bruno 82 grove dina 50 amber kim 67 cobalt jules 28 cobalt dina 46 fable
eli 108 juniper chen 81 fable kim 63 birch gus 64 juniper
bruno 102 cobalt gus 76 harbor bruno 85 birch farah 45 cobalt alice 112 ember jules 63 amber gus 25 ember bruno 38 indigo lina 111 fable
bruno 102 cobalt gus 76 harbor bruno 85 birch farah 45 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035810
qwen/qwen3.7-plus
awkweave-0035811
Skip the first line and print every remaining line unchanged.
NR > 1
eli 83 delta bruno 120 harbor lina 33 amber lina 41 harbor lina 101 fable hana 11 delta
bruno 120 harbor lina 33 amber lina 41 harbor lina 101 fable hana 11 delta
lina 25 harbor lina 89 juniper eli 28 indigo jules 27 juniper alice 0 ember bruno 26 harbor alice 99 ember bruno 106 cobalt hana 62 grove
lina 89 juniper eli 28 indigo jules 27 juniper alice 0 ember bruno 26 harbor alice 99 ember bruno 106 cobalt hana 62 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035811-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
eli 83 delta bruno 120 harbor lina 33 amber lina 41 harbor lina 101 fable hana 11 delta
bruno 120 harbor lina 33 amber lina 41 harbor lina 101 fable hana 11 delta
lina 25 harbor lina 89 juniper eli 28 indigo jules 27 juniper alice 0 ember bruno 26 harbor alice 99 ember bruno 106 cobalt hana 62 grove
lina 89 juniper eli 28 indigo jules 27 juniper alice 0 ember bruno 26 harbor alice 99 ember bruno 106 cobalt hana 62 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035811
qwen/qwen3.7-plus
awkweave-0035812
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
lina pending 97 lina active 66 gus active 60 dina paused 104 chen closed 67 bruno paused 112 chen failed 70 bruno closed 60 bruno active 120 bruno active 23
4
farah failed 71 farah paused 11 lina ready 120 dina ready 8 alice active 12 bruno ready 16 kim ready 95 kim failed 49 bruno failed 25
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035812-p1
Output the count of records where column 2 is 'active', defaulting to 0 if no matches are found.
$2 == "active"{n++}END{print n+0}
lina pending 97 lina active 66 gus active 60 dina paused 104 chen closed 67 bruno paused 112 chen failed 70 bruno closed 60 bruno active 120 bruno active 23
4
farah failed 71 farah paused 11 lina ready 120 dina ready 8 alice active 12 bruno ready 16 kim ready 95 kim failed 49 bruno failed 25
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035812
qwen/qwen3.7-plus
awkweave-0035813
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ivan 26 ember eli 27 ember jules 4 cobalt farah 16 grove jules 20 grove gus 27 ember dina 13 ember gus 26 indigo gus 1 cobalt
160
jules 24 birch ivan 30 birch eli 2 juniper lina 13 harbor farah 28 indigo gus 6 indigo jules 16 juniper jules 5 birch kim 13 ember
137
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035813-p1
Compute and display the total sum of all integer values found in column 2.
{s+=$2}END{print s+0}
ivan 26 ember eli 27 ember jules 4 cobalt farah 16 grove jules 20 grove gus 27 ember dina 13 ember gus 26 indigo gus 1 cobalt
160
jules 24 birch ivan 30 birch eli 2 juniper lina 13 harbor farah 28 indigo gus 6 indigo jules 16 juniper jules 5 birch kim 13 ember
137
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035813
qwen/qwen3.7-plus
awkweave-0035814
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 2 grove hana 17 ember alice 26 indigo hana 3 juniper ivan 4 cobalt kim 8 cobalt alice 1 delta gus 15 juniper ivan 29 birch
11.67
eli 4 amber kim 15 cobalt gus 5 amber bruno 17 ember eli 22 cobalt jules 13 grove ivan 14 grove
12.86
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035814-p1
Display the average of column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 2 grove hana 17 ember alice 26 indigo hana 3 juniper ivan 4 cobalt kim 8 cobalt alice 1 delta gus 15 juniper ivan 29 birch
11.67
eli 4 amber kim 15 cobalt gus 5 amber bruno 17 ember eli 22 cobalt jules 13 grove ivan 14 grove
12.86
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035814
qwen/qwen3.7-plus
awkweave-0035815
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor alice 2 juniper ivan 24 fable lina 13 ember gus 7 harbor kim 1 indigo jules 1 indigo dina 5
1
delta ivan 18 amber bruno 4 indigo jules 16 cobalt jules 29 grove hana 10 grove eli 4 fable kim 25 harbor eli 2
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035815-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor alice 2 juniper ivan 24 fable lina 13 ember gus 7 harbor kim 1 indigo jules 1 indigo dina 5
1
delta ivan 18 amber bruno 4 indigo jules 16 cobalt jules 29 grove hana 10 grove eli 4 fable kim 25 harbor eli 2
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035815
qwen/qwen3.7-plus
awkweave-0035816
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
8 gus amber 26 alice cobalt 11 chen ember 24 jules grove 19 jules fable 29 alice delta 7 ivan birch 27 dina indigo 28 lina fable 23 gus amber
29
15 farah amber 28 eli grove 3 kim delta 20 eli grove 2 eli amber 21 chen delta 24 bruno fable 11 chen birch
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035816-p1
Identify and output the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
8 gus amber 26 alice cobalt 11 chen ember 24 jules grove 19 jules fable 29 alice delta 7 ivan birch 27 dina indigo 28 lina fable 23 gus amber
29
15 farah amber 28 eli grove 3 kim delta 20 eli grove 2 eli amber 21 chen delta 24 bruno fable 11 chen birch
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035816
qwen/qwen3.7-plus
awkweave-0035817
Count all input records and print the total.
END{print NR}
lina 96 ivan 25 alice 68 eli 23 dina 73 kim 80 ivan 47 hana 21
8
kim 78 hana 116 bruno 118 hana 119 eli 5 dina 13 jules 5
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035817-p1
Count the total number of input lines and print the result.
END{print NR}
lina 96 ivan 25 alice 68 eli 23 dina 73 kim 80 ivan 47 hana 21
8
kim 78 hana 116 bruno 118 hana 119 eli 5 dina 13 jules 5
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035817
qwen/qwen3.7-plus
awkweave-0035818
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules birch 67 alice harbor 50 chen harbor 26 alice harbor 50 lina indigo 32 lina grove 101 kim ember 28
jules birch 67 alice harbor 50 chen harbor 26 lina indigo 32 lina grove 101 kim ember 28
eli delta 76 ivan grove 64 lina birch 38 ivan fable 42 jules cobalt 100 eli indigo 109 lina delta 12 hana amber 13 kim delta 71 lina harbor 59 jules cobalt 100
eli delta 76 ivan grove 64 lina birch 38 ivan fable 42 jules cobalt 100 eli indigo 109 lina delta 12 hana amber 13 kim delta 71 lina harbor 59
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035818-p1
Eliminate duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
jules birch 67 alice harbor 50 chen harbor 26 alice harbor 50 lina indigo 32 lina grove 101 kim ember 28
jules birch 67 alice harbor 50 chen harbor 26 lina indigo 32 lina grove 101 kim ember 28
eli delta 76 ivan grove 64 lina birch 38 ivan fable 42 jules cobalt 100 eli indigo 109 lina delta 12 hana amber 13 kim delta 71 lina harbor 59 jules cobalt 100
eli delta 76 ivan grove 64 lina birch 38 ivan fable 42 jules cobalt 100 eli indigo 109 lina delta 12 hana amber 13 kim delta 71 lina harbor 59
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035818
qwen/qwen3.7-plus
awkweave-0035819
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
bruno cobalt 35 kim delta 83 dina ember 42 hana ember 100 kim grove 108 gus cobalt 98 chen ember 66 gus birch 99
bruno cobalt 35 kim delta 83 dina ember 42 hana ember 100 kim grove 108 gus cobalt 98 chen ember 66 gus birch 99
lina cobalt 73 jules birch 78 chen grove 90 alice grove 47 lina cobalt 44 alice grove 93 gus delta 4 dina fable 38 alice harbor 19
lina cobalt 73 jules birch 78 chen grove 90 alice grove 47 lina cobalt 44 alice grove 93 gus delta 4 dina fable 38 alice harbor 19
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035819-p1
Retain only the first occurrence for every unique value in column 3, preserving the original sequence.
!seen[$3]++
bruno cobalt 35 kim delta 83 dina ember 42 hana ember 100 kim grove 108 gus cobalt 98 chen ember 66 gus birch 99
bruno cobalt 35 kim delta 83 dina ember 42 hana ember 100 kim grove 108 gus cobalt 98 chen ember 66 gus birch 99
lina cobalt 73 jules birch 78 chen grove 90 alice grove 47 lina cobalt 44 alice grove 93 gus delta 4 dina fable 38 alice harbor 19
lina cobalt 73 jules birch 78 chen grove 90 alice grove 47 lina cobalt 44 alice grove 93 gus delta 4 dina fable 38 alice harbor 19
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035819
qwen/qwen3.7-plus
awkweave-0035820
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 7 cobalt eli 25 indigo kim 5 juniper chen 28 ember lina 27 cobalt hana 23 birch hana 14 birch jules 18 juniper ivan 30 indigo
farah 7 eli 32 kim 37 chen 65 lina 92 hana 115 hana 129 jules 147 ivan 177
bruno 21 harbor hana 3 amber farah 20 harbor dina 20 indigo chen 22 ember bruno 4 harbor ivan 28 grove kim 16 harbor
bruno 21 hana 24 farah 44 dina 64 chen 86 bruno 90 ivan 118 kim 134
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035820-p1
For each line, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 7 cobalt eli 25 indigo kim 5 juniper chen 28 ember lina 27 cobalt hana 23 birch hana 14 birch jules 18 juniper ivan 30 indigo
farah 7 eli 32 kim 37 chen 65 lina 92 hana 115 hana 129 jules 147 ivan 177
bruno 21 harbor hana 3 amber farah 20 harbor dina 20 indigo chen 22 ember bruno 4 harbor ivan 28 grove kim 16 harbor
bruno 21 hana 24 farah 44 dina 64 chen 86 bruno 90 ivan 118 kim 134
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035820
qwen/qwen3.7-plus
awkweave-0035821
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 14 4 birch gus 30 11 delta bruno 6 28 fable jules 24 1 birch alice 17 30 cobalt alice 9 27 birch eli 2 20 ember chen 3 29 birch
chen 18 gus 41 bruno 34 jules 25 alice 47 alice 36 eli 22 chen 32
bruno 30 12 cobalt dina 6 17 amber jules 20 23 fable alice 21 20 ember bruno 16 28 delta hana 9 21 grove bruno 10 7 ember
bruno 42 dina 23 jules 43 alice 41 bruno 44 hana 30 bruno 17
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035821-p1
Output field 1 followed by the sum of fields 2 and 3 for each row.
{print $1,$2+$3}
chen 14 4 birch gus 30 11 delta bruno 6 28 fable jules 24 1 birch alice 17 30 cobalt alice 9 27 birch eli 2 20 ember chen 3 29 birch
chen 18 gus 41 bruno 34 jules 25 alice 47 alice 36 eli 22 chen 32
bruno 30 12 cobalt dina 6 17 amber jules 20 23 fable alice 21 20 ember bruno 16 28 delta hana 9 21 grove bruno 10 7 ember
bruno 42 dina 23 jules 43 alice 41 bruno 44 hana 30 bruno 17
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035821
qwen/qwen3.7-plus
awkweave-0035822
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
ivan 13 dina 15 hana 5 ivan 25 lina 6 farah 23
ivan fail dina fail hana fail ivan pass lina fail farah pass
jules 27 alice 10 gus 7 chen 16 eli 28 hana 11 hana 14
jules pass alice fail gus fail chen fail eli pass hana fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035822-p1
Print column 1 with 'pass' if column 2 is 20 or greater, otherwise print 'fail'.
{print $1,($2>=20?"pass":"fail")}
ivan 13 dina 15 hana 5 ivan 25 lina 6 farah 23
ivan fail dina fail hana fail ivan pass lina fail farah pass
jules 27 alice 10 gus 7 chen 16 eli 28 hana 11 hana 14
jules pass alice fail gus fail chen fail eli pass hana fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035822
qwen/qwen3.7-plus
awkweave-0035823
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli amber 88 ivan grove 36 lina amber 89 chen harbor 68 chen grove 63 hana fable 76 lina birch 81 bruno cobalt 86 alice delta 39
AMBER GROVE AMBER HARBOR GROVE FABLE BIRCH COBALT DELTA
kim ember 68 hana indigo 79 dina cobalt 39 alice amber 40 bruno cobalt 60 hana cobalt 67 gus cobalt 100 dina fable 75
EMBER INDIGO COBALT AMBER COBALT COBALT COBALT FABLE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035823-p1
Transform column 2 to uppercase and output only that modified column.
{print toupper($2)}
eli amber 88 ivan grove 36 lina amber 89 chen harbor 68 chen grove 63 hana fable 76 lina birch 81 bruno cobalt 86 alice delta 39
AMBER GROVE AMBER HARBOR GROVE FABLE BIRCH COBALT DELTA
kim ember 68 hana indigo 79 dina cobalt 39 alice amber 40 bruno cobalt 60 hana cobalt 67 gus cobalt 100 dina fable 75
EMBER INDIGO COBALT AMBER COBALT COBALT COBALT FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035823
qwen/qwen3.7-plus
awkweave-0035824
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
indigo 7 amber 85 harbor 109 juniper 11 birch 100 harbor 31 birch 114 indigo 78 juniper 98
dig ber rbo nip rch rbo rch dig nip
indigo 50 ember 33 juniper 56 harbor 78 cobalt 16 ember 7 juniper 61
dig ber nip rbo bal ber nip
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035824-p1
Extract a 3-character substring from the first column, beginning at the third character position.
{print substr($1,3,3)}
indigo 7 amber 85 harbor 109 juniper 11 birch 100 harbor 31 birch 114 indigo 78 juniper 98
dig ber rbo nip rch rbo rch dig nip
indigo 50 ember 33 juniper 56 harbor 78 cobalt 16 ember 7 juniper 61
dig ber nip rbo bal ber nip
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035824
qwen/qwen3.7-plus
awkweave-0035825
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_juniper 95 birch_harbor 33 ember_harbor 112 juniper_fable 107 indigo_birch 107 birch_birch 25 fable_grove 90 fable_amber 28
birch juniper birch harbor ember harbor juniper fable indigo birch birch birch fable grove fable amber
indigo_cobalt 45 fable_delta 10 amber_birch 34 harbor_juniper 32 amber_indigo 92 juniper_ember 81 juniper_delta 105 fable_birch 112 amber_cobalt 25
indigo cobalt fable delta amber birch harbor juniper amber indigo juniper ember juniper delta fable birch amber cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035825-p1
Substitute all underscores with spaces in the first column and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_juniper 95 birch_harbor 33 ember_harbor 112 juniper_fable 107 indigo_birch 107 birch_birch 25 fable_grove 90 fable_amber 28
birch juniper birch harbor ember harbor juniper fable indigo birch birch birch fable grove fable amber
indigo_cobalt 45 fable_delta 10 amber_birch 34 harbor_juniper 32 amber_indigo 92 juniper_ember 81 juniper_delta 105 fable_birch 112 amber_cobalt 25
indigo cobalt fable delta amber birch harbor juniper amber indigo juniper ember juniper delta fable birch amber cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035825
qwen/qwen3.7-plus
awkweave-0035826
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)}
chen indigo 115 paused alice fable 75 failed hana birch 29 paused ivan grove 0 active bruno indigo 22 pending hana amber 74 active farah grove 115 ready
paused 115 indigo chen failed 75 fable alice paused 29 birch hana active 0 grove ivan pending 22 indigo bruno active 74 amber hana ready 115 grove farah
hana amber 70 pending bruno cobalt 68 paused eli cobalt 18 ready chen amber 30 closed ivan harbor 90 active jules fable 56 closed
pending 70 amber hana paused 68 cobalt bruno ready 18 cobalt eli closed 30 amber chen active 90 harbor ivan closed 56 fable jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035826-p1
Output all fields for each line after reversing their original sequence.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen indigo 115 paused alice fable 75 failed hana birch 29 paused ivan grove 0 active bruno indigo 22 pending hana amber 74 active farah grove 115 ready
paused 115 indigo chen failed 75 fable alice paused 29 birch hana active 0 grove ivan pending 22 indigo bruno active 74 amber hana ready 115 grove farah
hana amber 70 pending bruno cobalt 68 paused eli cobalt 18 ready chen amber 30 closed ivan harbor 90 active jules fable 56 closed
pending 70 amber hana paused 68 cobalt bruno ready 18 cobalt eli closed 30 amber chen active 90 harbor ivan closed 56 fable jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035826
qwen/qwen3.7-plus
awkweave-0035827
Print the number of whitespace-separated fields on each line.
{print NF}
alice indigo 84 paused eli indigo 63 failed alice amber 32 active lina amber 48 paused alice cobalt 37 closed dina ember 45 active
4 4 4 4 4 4
chen fable 58 ready ivan juniper 7 active eli harbor 16 pending ivan cobalt 80 active dina fable 46 failed bruno cobalt 51 closed eli amber 108 ready ivan birch 61 failed lina grove 75 paused
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035827-p1
Display the count of whitespace-delimited fields present on every line.
{print NF}
alice indigo 84 paused eli indigo 63 failed alice amber 32 active lina amber 48 paused alice cobalt 37 closed dina ember 45 active
4 4 4 4 4 4
chen fable 58 ready ivan juniper 7 active eli harbor 16 pending ivan cobalt 80 active dina fable 46 failed bruno cobalt 51 closed eli amber 108 ready ivan birch 61 failed lina grove 75 paused
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035827
qwen/qwen3.7-plus
awkweave-0035828
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]]}
eli delta 49 bruno alpha 66 jules beta 6 eli gamma 67 ivan delta 31 ivan delta 61 eli beta 35
delta 3 alpha 1 beta 2 gamma 1
jules alpha 57 alice alpha 79 dina gamma 12 bruno gamma 113 chen alpha 65 jules beta 47 hana alpha 71 lina gamma 61 bruno beta 7
alpha 4 gamma 3 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035828-p1
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]]}
eli delta 49 bruno alpha 66 jules beta 6 eli gamma 67 ivan delta 31 ivan delta 61 eli beta 35
delta 3 alpha 1 beta 2 gamma 1
jules alpha 57 alice alpha 79 dina gamma 12 bruno gamma 113 chen alpha 65 jules beta 47 hana alpha 71 lina gamma 61 bruno beta 7
alpha 4 gamma 3 beta 2
count_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0035828
qwen/qwen3.7-plus
awkweave-0035829
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]]}
kim alpha 24 ivan beta 17 ivan gamma 29 lina beta 25 hana gamma 17 gus delta 8 hana delta 14 gus alpha 18 ivan alpha 8
alpha 50 beta 42 gamma 46 delta 22
bruno alpha 20 eli beta 9 bruno alpha 2 kim gamma 10 chen beta 21 kim beta 26 bruno gamma 28
alpha 22 beta 56 gamma 38
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035829-p1
Calculate the sum of the third column grouped by the second column, presenting the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
kim alpha 24 ivan beta 17 ivan gamma 29 lina beta 25 hana gamma 17 gus delta 8 hana delta 14 gus alpha 18 ivan alpha 8
alpha 50 beta 42 gamma 46 delta 22
bruno alpha 20 eli beta 9 bruno alpha 2 kim gamma 10 chen beta 21 kim beta 26 bruno gamma 28
alpha 22 beta 56 gamma 38
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035829
qwen/qwen3.7-plus
awkweave-0035830
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 ember 22 gamma cobalt 110 delta indigo 56 gamma harbor 12 beta delta 41 alpha cobalt 39 gamma amber 61 beta delta 26
gamma 4 beta 2
gamma cobalt 60 delta indigo 50 gamma cobalt 27 alpha ember 35 alpha ember 4 gamma grove 107 alpha cobalt 15 alpha grove 32
gamma 3 alpha 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035830-p1
List each duplicate value from the first column alongside its frequency, sorted by the order of first occurrence.
{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 ember 22 gamma cobalt 110 delta indigo 56 gamma harbor 12 beta delta 41 alpha cobalt 39 gamma amber 61 beta delta 26
gamma 4 beta 2
gamma cobalt 60 delta indigo 50 gamma cobalt 27 alpha ember 35 alpha ember 4 gamma grove 107 alpha cobalt 15 alpha grove 32
gamma 3 alpha 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035830
qwen/qwen3.7-plus
awkweave-0035831
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"]}
display_name state note record_id r001 jules 26 pending r002 hana 16 paused r003 jules 5 paused r004 eli 29 paused r005 ivan 13 closed r006 dina 15 pending
pending paused paused paused closed pending
display_name state note record_id r001 dina 24 active r002 chen 1 closed r003 lina 18 active r004 gus 4 paused r005 chen 28 closed r006 farah 23 pending r007 farah 9 ready
active closed active paused closed pending ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null