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-0020161
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}
eli 18 0 ivan 21 13 bruno 19 22 dina 20 10 farah 16 2 dina 10 20 jules 6 20 bruno 14 11 farah 24 1 farah 8 2
ivan 1.62 bruno 0.86 dina 2.00 farah 8.00 dina 0.50 jules 0.30 bruno 1.27 farah 24.00 farah 4.00
alice 20 0 ivan 8 18 gus 5 20 lina 21 16 kim 20 21 lina 6 18 alice 28 1 alice 27 25
ivan 0.44 gus 0.25 lina 1.31 kim 0.95 lina 0.33 alice 28.00 alice 1.08
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020161-p1
For each row, output the first column and the result of dividing the second column by the third, formatted to two decimal places. Exclude rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 18 0 ivan 21 13 bruno 19 22 dina 20 10 farah 16 2 dina 10 20 jules 6 20 bruno 14 11 farah 24 1 farah 8 2
ivan 1.62 bruno 0.86 dina 2.00 farah 8.00 dina 0.50 jules 0.30 bruno 1.27 farah 24.00 farah 4.00
alice 20 0 ivan 8 18 gus 5 20 lina 21 16 kim 20 21 lina 6 18 alice 28 1 alice 27 25
ivan 0.44 gus 0.25 lina 1.31 kim 0.95 lina 0.33 alice 28.00 alice 1.08
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020161
qwen/qwen3.7-plus
awkweave-0020162
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]}
hana birch 11 eli cobalt 4 lina indigo 24 gus delta 20 alice indigo 5 lina fable 4
lina indigo 24 gus delta 20 hana birch 11
hana fable 21 farah delta 12 bruno birch 16 kim harbor 12 jules ember 15 eli birch 14
hana fable 21 bruno birch 16 jules ember 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020162-p1
Output the three full records with the highest numeric values in column 3, sorted in descending order. Maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana birch 11 eli cobalt 4 lina indigo 24 gus delta 20 alice indigo 5 lina fable 4
lina indigo 24 gus delta 20 hana birch 11
hana fable 21 farah delta 12 bruno birch 16 kim harbor 12 jules ember 15 eli birch 14
hana fable 21 bruno birch 16 jules ember 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020162
qwen/qwen3.7-plus
awkweave-0020163
For each line, output fields 5 and 3, in that order.
{print $5, $3}
bruno ready ready pending amber eli failed paused pending birch ivan failed closed active amber gus ready active paused birch alice closed paused ready fable dina ready ready pending amber farah pending closed failed ember
amber ready birch paused amber closed birch active fable paused amber ready ember closed
chen ready ready pending ember kim ready ready failed amber ivan paused failed paused harbor dina failed paused active indigo kim ready pending pending delta eli failed ready pending grove
ember ready amber ready harbor failed indigo paused delta pending grove ready
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020163-p1
For each line, print fields 5 and 3 in that specific order.
{print $5, $3}
bruno ready ready pending amber eli failed paused pending birch ivan failed closed active amber gus ready active paused birch alice closed paused ready fable dina ready ready pending amber farah pending closed failed ember
amber ready birch paused amber closed birch active fable paused amber ready ember closed
chen ready ready pending ember kim ready ready failed amber ivan paused failed paused harbor dina failed paused active indigo kim ready pending pending delta eli failed ready pending grove
ember ready amber ready harbor failed indigo paused delta pending grove ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020163
qwen/qwen3.7-plus
awkweave-0020164
Print the last field of every input line.
{print $NF}
10 indigo pending alice alice cobalt alice 12 cobalt failed lina alice harbor gus 74 fable active gus gus indigo kim 95 juniper failed ivan hana cobalt gus 30 indigo active ivan jules harbor kim 7 cobalt pending lina kim birch ivan 29 grove closed kim alice fable farah 4 ember failed gus alice delta jules 38 grove read...
alice gus kim gus kim ivan farah jules gus
48 cobalt paused eli lina birch chen 27 juniper failed hana lina grove farah 46 indigo closed eli ivan cobalt lina 58 harbor ready kim dina cobalt farah 15 delta failed ivan lina grove eli 35 cobalt pending gus hana amber chen 78 harbor paused alice bruno harbor alice 91 indigo active eli kim indigo eli
chen farah lina farah eli chen alice eli
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020164-p1
Output the last field from every line of input.
{print $NF}
10 indigo pending alice alice cobalt alice 12 cobalt failed lina alice harbor gus 74 fable active gus gus indigo kim 95 juniper failed ivan hana cobalt gus 30 indigo active ivan jules harbor kim 7 cobalt pending lina kim birch ivan 29 grove closed kim alice fable farah 4 ember failed gus alice delta jules 38 grove read...
alice gus kim gus kim ivan farah jules gus
48 cobalt paused eli lina birch chen 27 juniper failed hana lina grove farah 46 indigo closed eli ivan cobalt lina 58 harbor ready kim dina cobalt farah 15 delta failed ivan lina grove eli 35 cobalt pending gus hana amber chen 78 harbor paused alice bruno harbor alice 91 indigo active eli kim indigo eli
chen farah lina farah eli chen alice eli
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020164
qwen/qwen3.7-plus
awkweave-0020165
Print the complete records where column 3 is at most 56.
$3 <= 56
hana fable 20 closed gus cobalt 34 paused bruno harbor 56 failed kim grove 111 paused gus ember 92 ready dina grove 7 paused jules amber 18 closed
hana fable 20 closed gus cobalt 34 paused bruno harbor 56 failed dina grove 7 paused jules amber 18 closed
chen juniper 36 closed jules ember 110 ready lina cobalt 19 pending eli amber 4 paused lina indigo 1 pending eli ember 113 failed farah amber 16 closed eli amber 50 closed gus ember 108 pending eli ember 41 failed
chen juniper 36 closed lina cobalt 19 pending eli amber 4 paused lina indigo 1 pending farah amber 16 closed eli amber 50 closed eli ember 41 failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020165-p1
Print all complete records where the value in column 3 is less than or equal to 56.
$3 <= 56
hana fable 20 closed gus cobalt 34 paused bruno harbor 56 failed kim grove 111 paused gus ember 92 ready dina grove 7 paused jules amber 18 closed
hana fable 20 closed gus cobalt 34 paused bruno harbor 56 failed dina grove 7 paused jules amber 18 closed
chen juniper 36 closed jules ember 110 ready lina cobalt 19 pending eli amber 4 paused lina indigo 1 pending eli ember 113 failed farah amber 16 closed eli amber 50 closed gus ember 108 pending eli ember 41 failed
chen juniper 36 closed lina cobalt 19 pending eli amber 4 paused lina indigo 1 pending farah amber 16 closed eli amber 50 closed eli ember 41 failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020165
qwen/qwen3.7-plus
awkweave-0020166
Show whole lines whose 1st field is between 8 and 28, inclusive.
$1 >= 8 && $1 <= 28
2 eli dina indigo 27 ivan jules cobalt 1 chen kim indigo 13 farah farah grove 2 bruno hana delta 24 chen farah juniper
27 ivan jules cobalt 13 farah farah grove 24 chen farah juniper
21 gus kim indigo 10 farah eli indigo 1 alice alice delta 10 dina hana birch 21 hana farah delta 13 jules alice delta 15 bruno kim harbor 29 kim kim fable
21 gus kim indigo 10 farah eli indigo 10 dina hana birch 21 hana farah delta 13 jules alice delta 15 bruno kim harbor
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020166-p1
Display entire lines where the first field falls within the inclusive range of 8 to 28.
$1 >= 8 && $1 <= 28
2 eli dina indigo 27 ivan jules cobalt 1 chen kim indigo 13 farah farah grove 2 bruno hana delta 24 chen farah juniper
27 ivan jules cobalt 13 farah farah grove 24 chen farah juniper
21 gus kim indigo 10 farah eli indigo 1 alice alice delta 10 dina hana birch 21 hana farah delta 13 jules alice delta 15 bruno kim harbor 29 kim kim fable
21 gus kim indigo 10 farah eli indigo 10 dina hana birch 21 hana farah delta 13 jules alice delta 15 bruno kim harbor
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020166
qwen/qwen3.7-plus
awkweave-0020167
Print column 2 only for rows where column 1 is exactly failed.
$1 == "failed"{print $2}
active dina 43 harbor ready kim 89 amber closed hana 96 ember pending jules 94 cobalt active jules 88 birch closed chen 11 delta failed dina 81 harbor failed farah 44 delta ready eli 20 indigo
dina farah
pending gus 37 birch closed farah 18 birch active bruno 72 harbor active bruno 31 fable ready ivan 49 fable pending chen 80 fable
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020167-p1
Output only the second column for rows where the first column is exactly 'failed'.
$1 == "failed"{print $2}
active dina 43 harbor ready kim 89 amber closed hana 96 ember pending jules 94 cobalt active jules 88 birch closed chen 11 delta failed dina 81 harbor failed farah 44 delta ready eli 20 indigo
dina farah
pending gus 37 birch closed farah 18 birch active bruno 72 harbor active bruno 31 fable ready ivan 49 fable pending chen 80 fable
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020167
qwen/qwen3.7-plus
awkweave-0020168
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
91 delta DEBUG 62 delta INFO 47 delta ERROR 61 juniper INFO 2 amber WARN 86 cobalt ERROR 108 grove INFO 94 cobalt ERROR 8 birch DEBUG
47 delta ERROR 86 cobalt ERROR 94 cobalt ERROR
14 fable ERROR 102 amber DEBUG 20 juniper INFO 36 juniper INFO 85 birch ERROR 68 delta WARN 35 cobalt ERROR 87 grove DEBUG
14 fable ERROR 85 birch ERROR 35 cobalt ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020168-p1
Print all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
91 delta DEBUG 62 delta INFO 47 delta ERROR 61 juniper INFO 2 amber WARN 86 cobalt ERROR 108 grove INFO 94 cobalt ERROR 8 birch DEBUG
47 delta ERROR 86 cobalt ERROR 94 cobalt ERROR
14 fable ERROR 102 amber DEBUG 20 juniper INFO 36 juniper INFO 85 birch ERROR 68 delta WARN 35 cobalt ERROR 87 grove DEBUG
14 fable ERROR 85 birch ERROR 35 cobalt ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020168
qwen/qwen3.7-plus
awkweave-0020169
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
amber 47 ready ember 37 active birch 15 pending indigo 72 active grove 112 pending birch 79 paused indigo 999 active
amber 47 ready ember 37 active birch 15 pending grove 112 pending birch 79 paused
ember 49 closed birch 42 pending juniper 32 closed ember 36 pending amber 70 paused harbor 103 failed indigo 999 active
ember 49 closed birch 42 pending juniper 32 closed ember 36 pending amber 70 paused harbor 103 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020169-p1
Print every line that does not contain the exact string 'indigo'.
$0 !~ /indigo/
amber 47 ready ember 37 active birch 15 pending indigo 72 active grove 112 pending birch 79 paused indigo 999 active
amber 47 ready ember 37 active birch 15 pending grove 112 pending birch 79 paused
ember 49 closed birch 42 pending juniper 32 closed ember 36 pending amber 70 paused harbor 103 failed indigo 999 active
ember 49 closed birch 42 pending juniper 32 closed ember 36 pending amber 70 paused harbor 103 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020169
qwen/qwen3.7-plus
awkweave-0020170
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
jules indigo 10 bruno delta 77 kim delta 11 dina harbor 33 lina indigo 108 kim indigo 119
bruno delta 77 kim delta 11
farah cobalt 83 dina cobalt 31 gus cobalt 87 kim birch 15 dina birch 10 chen grove 7 dina cobalt 32 alice amber 117
dina cobalt 31 gus cobalt 87
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020170-p1
Output lines 2 through 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
jules indigo 10 bruno delta 77 kim delta 11 dina harbor 33 lina indigo 108 kim indigo 119
bruno delta 77 kim delta 11
farah cobalt 83 dina cobalt 31 gus cobalt 87 kim birch 15 dina birch 10 chen grove 7 dina cobalt 32 alice amber 117
dina cobalt 31 gus cobalt 87
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020170
qwen/qwen3.7-plus
awkweave-0020171
Output only the first 2 records.
NR <= 2
bruno 96 grove jules 27 grove chen 35 juniper lina 55 harbor farah 70 grove chen 20 fable lina 117 birch jules 93 ember ivan 78 juniper
bruno 96 grove jules 27 grove
alice 19 grove chen 60 birch bruno 94 harbor ivan 101 harbor eli 74 ember alice 53 juniper lina 17 indigo chen 74 birch
alice 19 grove chen 60 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020171-p1
Display only the first 2 records.
NR <= 2
bruno 96 grove jules 27 grove chen 35 juniper lina 55 harbor farah 70 grove chen 20 fable lina 117 birch jules 93 ember ivan 78 juniper
bruno 96 grove jules 27 grove
alice 19 grove chen 60 birch bruno 94 harbor ivan 101 harbor eli 74 ember alice 53 juniper lina 17 indigo chen 74 birch
alice 19 grove chen 60 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020171
qwen/qwen3.7-plus
awkweave-0020172
Skip the first line and print every remaining line unchanged.
NR > 1
jules 97 birch farah 102 fable ivan 99 harbor bruno 27 ember dina 120 birch gus 21 juniper
farah 102 fable ivan 99 harbor bruno 27 ember dina 120 birch gus 21 juniper
hana 0 juniper alice 64 ember dina 83 fable kim 105 grove bruno 53 indigo lina 42 ember bruno 86 birch dina 86 grove ivan 113 ember
alice 64 ember dina 83 fable kim 105 grove bruno 53 indigo lina 42 ember bruno 86 birch dina 86 grove ivan 113 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020172-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
jules 97 birch farah 102 fable ivan 99 harbor bruno 27 ember dina 120 birch gus 21 juniper
farah 102 fable ivan 99 harbor bruno 27 ember dina 120 birch gus 21 juniper
hana 0 juniper alice 64 ember dina 83 fable kim 105 grove bruno 53 indigo lina 42 ember bruno 86 birch dina 86 grove ivan 113 ember
alice 64 ember dina 83 fable kim 105 grove bruno 53 indigo lina 42 ember bruno 86 birch dina 86 grove ivan 113 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020172
qwen/qwen3.7-plus
awkweave-0020173
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
jules closed 68 jules paused 64 bruno ready 33 eli ready 79 alice pending 52 chen paused 25
2
lina failed 18 alice paused 57 eli pending 83 gus closed 0 chen closed 69 lina pending 48 hana active 78
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020173-p1
Count the number of records with 'ready' in the second column; output 0 if none exist.
$2 == "ready"{n++}END{print n+0}
jules closed 68 jules paused 64 bruno ready 33 eli ready 79 alice pending 52 chen paused 25
2
lina failed 18 alice paused 57 eli pending 83 gus closed 0 chen closed 69 lina pending 48 hana active 78
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020173
qwen/qwen3.7-plus
awkweave-0020174
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
27 farah birch 23 eli birch 16 jules amber 27 dina cobalt 22 jules indigo 14 gus juniper 1 bruno fable 16 alice birch 26 jules cobalt
172
7 hana cobalt 20 jules harbor 17 kim fable 4 jules delta 4 alice fable 23 kim birch 16 eli birch 26 farah birch
117
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020174-p1
Compute and display the sum of integer values in the first column.
{s+=$1}END{print s+0}
27 farah birch 23 eli birch 16 jules amber 27 dina cobalt 22 jules indigo 14 gus juniper 1 bruno fable 16 alice birch 26 jules cobalt
172
7 hana cobalt 20 jules harbor 17 kim fable 4 jules delta 4 alice fable 23 kim birch 16 eli birch 26 farah birch
117
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020174
qwen/qwen3.7-plus
awkweave-0020175
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 bruno birch 26 farah cobalt 24 bruno indigo 20 jules fable 9 lina delta 20 jules delta 22 ivan birch 15 gus birch
19.00
12 eli ember 25 bruno juniper 12 ivan delta 21 chen birch 13 jules harbor 13 chen harbor 26 lina cobalt 20 eli harbor 16 farah amber 20 kim amber
17.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020175-p1
Print the average of the values in the first column, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 bruno birch 26 farah cobalt 24 bruno indigo 20 jules fable 9 lina delta 20 jules delta 22 ivan birch 15 gus birch
19.00
12 eli ember 25 bruno juniper 12 ivan delta 21 chen birch 13 jules harbor 13 chen harbor 26 lina cobalt 20 eli harbor 16 farah amber 20 kim amber
17.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020175
qwen/qwen3.7-plus
awkweave-0020176
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 birch hana 9 birch chen 15 amber dina 1 amber eli 5 harbor bruno 4 birch bruno 9 ember bruno 3 indigo kim
1
1 ember kim 17 cobalt farah 3 birch jules 8 birch alice 8 ember ivan 4 fable chen 11 ember hana 16 indigo alice 16 fable eli 24 delta ivan
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020176-p1
Identify and print the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 birch hana 9 birch chen 15 amber dina 1 amber eli 5 harbor bruno 4 birch bruno 9 ember bruno 3 indigo kim
1
1 ember kim 17 cobalt farah 3 birch jules 8 birch alice 8 ember ivan 4 fable chen 11 ember hana 16 indigo alice 16 fable eli 24 delta ivan
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020176
qwen/qwen3.7-plus
awkweave-0020177
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
11 hana amber 19 lina birch 7 kim amber 29 alice amber 14 gus indigo 8 eli amber 6 kim ember 24 alice indigo 27 bruno delta 19 alice cobalt
29
3 gus fable 18 bruno grove 7 farah cobalt 25 kim fable 23 alice ember 14 kim juniper 26 ivan cobalt 25 farah amber 18 farah birch 26 lina birch
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020177-p1
Identify and print the maximum numeric value found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
11 hana amber 19 lina birch 7 kim amber 29 alice amber 14 gus indigo 8 eli amber 6 kim ember 24 alice indigo 27 bruno delta 19 alice cobalt
29
3 gus fable 18 bruno grove 7 farah cobalt 25 kim fable 23 alice ember 14 kim juniper 26 ivan cobalt 25 farah amber 18 farah birch 26 lina birch
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020177
qwen/qwen3.7-plus
awkweave-0020178
Count all input records and print the total.
END{print NR}
kim 53 dina 80 gus 105 farah 60 jules 13 kim 73 gus 80
7
farah 19 lina 49 lina 103 gus 89 hana 13 lina 78 bruno 48 kim 91
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020178-p1
Output the total count of all input records.
END{print NR}
kim 53 dina 80 gus 105 farah 60 jules 13 kim 73 gus 80
7
farah 19 lina 49 lina 103 gus 89 hana 13 lina 78 bruno 48 kim 91
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020178
qwen/qwen3.7-plus
awkweave-0020179
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice delta 55 kim ember 8 dina birch 27 dina birch 6 hana cobalt 30 chen delta 96 kim ember 8
alice delta 55 kim ember 8 dina birch 27 dina birch 6 hana cobalt 30 chen delta 96
hana grove 34 dina ember 93 alice amber 49 lina fable 112 lina birch 16 eli birch 47 jules juniper 14 lina birch 16 hana grove 63
hana grove 34 dina ember 93 alice amber 49 lina fable 112 lina birch 16 eli birch 47 jules juniper 14 hana grove 63
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020179-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice delta 55 kim ember 8 dina birch 27 dina birch 6 hana cobalt 30 chen delta 96 kim ember 8
alice delta 55 kim ember 8 dina birch 27 dina birch 6 hana cobalt 30 chen delta 96
hana grove 34 dina ember 93 alice amber 49 lina fable 112 lina birch 16 eli birch 47 jules juniper 14 lina birch 16 hana grove 63
hana grove 34 dina ember 93 alice amber 49 lina fable 112 lina birch 16 eli birch 47 jules juniper 14 hana grove 63
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020179
qwen/qwen3.7-plus
awkweave-0020180
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim harbor 7 gus juniper 106 farah ember 13 gus amber 31 lina juniper 85 eli ember 88 lina ember 90
kim harbor 7 gus juniper 106 farah ember 13 gus amber 31 lina juniper 85 eli ember 88 lina ember 90
lina juniper 85 bruno delta 86 gus cobalt 43 hana birch 23 hana birch 38 bruno grove 78 jules cobalt 111 farah harbor 37 kim indigo 76 bruno indigo 82
lina juniper 85 bruno delta 86 gus cobalt 43 hana birch 23 hana birch 38 bruno grove 78 jules cobalt 111 farah harbor 37 kim indigo 76 bruno indigo 82
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020180-p1
Retain only the initial line for every unique value found in column 3, preserving the input order.
!seen[$3]++
kim harbor 7 gus juniper 106 farah ember 13 gus amber 31 lina juniper 85 eli ember 88 lina ember 90
kim harbor 7 gus juniper 106 farah ember 13 gus amber 31 lina juniper 85 eli ember 88 lina ember 90
lina juniper 85 bruno delta 86 gus cobalt 43 hana birch 23 hana birch 38 bruno grove 78 jules cobalt 111 farah harbor 37 kim indigo 76 bruno indigo 82
lina juniper 85 bruno delta 86 gus cobalt 43 hana birch 23 hana birch 38 bruno grove 78 jules cobalt 111 farah harbor 37 kim indigo 76 bruno indigo 82
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020180
qwen/qwen3.7-plus
awkweave-0020181
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 1 birch ivan 10 delta hana 12 birch ivan 3 grove ivan 16 amber kim 19 delta
alice 1 ivan 11 hana 23 ivan 26 ivan 42 kim 61
alice 20 juniper chen 17 indigo farah 27 delta ivan 20 indigo gus 6 fable gus 5 cobalt alice 19 ember bruno 5 cobalt ivan 2 delta hana 16 birch
alice 20 chen 37 farah 64 ivan 84 gus 90 gus 95 alice 114 bruno 119 ivan 121 hana 137
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020181-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 1 birch ivan 10 delta hana 12 birch ivan 3 grove ivan 16 amber kim 19 delta
alice 1 ivan 11 hana 23 ivan 26 ivan 42 kim 61
alice 20 juniper chen 17 indigo farah 27 delta ivan 20 indigo gus 6 fable gus 5 cobalt alice 19 ember bruno 5 cobalt ivan 2 delta hana 16 birch
alice 20 chen 37 farah 64 ivan 84 gus 90 gus 95 alice 114 bruno 119 ivan 121 hana 137
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020181
qwen/qwen3.7-plus
awkweave-0020182
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 9 16 harbor eli 11 11 delta kim 18 17 fable hana 9 9 harbor hana 22 14 fable jules 22 7 birch chen 17 25 harbor
eli 25 eli 22 kim 35 hana 18 hana 36 jules 29 chen 42
hana 17 7 amber farah 3 16 ember dina 13 20 grove alice 8 16 cobalt lina 17 6 fable eli 3 21 cobalt kim 30 24 indigo eli 4 17 grove eli 13 20 delta
hana 24 farah 19 dina 33 alice 24 lina 23 eli 24 kim 54 eli 21 eli 33
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020182-p1
For every row, display field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 9 16 harbor eli 11 11 delta kim 18 17 fable hana 9 9 harbor hana 22 14 fable jules 22 7 birch chen 17 25 harbor
eli 25 eli 22 kim 35 hana 18 hana 36 jules 29 chen 42
hana 17 7 amber farah 3 16 ember dina 13 20 grove alice 8 16 cobalt lina 17 6 fable eli 3 21 cobalt kim 30 24 indigo eli 4 17 grove eli 13 20 delta
hana 24 farah 19 dina 33 alice 24 lina 23 eli 24 kim 54 eli 21 eli 33
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020182
qwen/qwen3.7-plus
awkweave-0020183
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
gus 2 dina 22 kim 16 bruno 7 lina 26 gus 9
gus fail dina fail kim fail bruno fail lina fail gus fail
lina 26 ivan 11 alice 14 chen 13 hana 17 jules 12 ivan 1 chen 17
lina fail ivan fail alice fail chen fail hana fail jules fail ivan fail chen fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020183-p1
Output column 1 and print 'pass' if column 2 is greater than or equal to 27; otherwise, print 'fail'.
{print $1,($2>=27?"pass":"fail")}
gus 2 dina 22 kim 16 bruno 7 lina 26 gus 9
gus fail dina fail kim fail bruno fail lina fail gus fail
lina 26 ivan 11 alice 14 chen 13 hana 17 jules 12 ivan 1 chen 17
lina fail ivan fail alice fail chen fail hana fail jules fail ivan fail chen fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020183
qwen/qwen3.7-plus
awkweave-0020184
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
hana harbor 88 eli indigo 26 lina indigo 50 jules harbor 83 alice harbor 46 hana delta 63 gus harbor 105 chen amber 51
HARBOR INDIGO INDIGO HARBOR HARBOR DELTA HARBOR AMBER
hana birch 83 eli birch 58 bruno cobalt 24 farah ember 89 lina ember 102 eli amber 97
BIRCH BIRCH COBALT EMBER EMBER AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020184-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
hana harbor 88 eli indigo 26 lina indigo 50 jules harbor 83 alice harbor 46 hana delta 63 gus harbor 105 chen amber 51
HARBOR INDIGO INDIGO HARBOR HARBOR DELTA HARBOR AMBER
hana birch 83 eli birch 58 bruno cobalt 24 farah ember 89 lina ember 102 eli amber 97
BIRCH BIRCH COBALT EMBER EMBER AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020184
qwen/qwen3.7-plus
awkweave-0020185
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
harbor 44 grove 104 juniper 74 indigo 106 fable 114 birch 16 ember 25 ember 84 ember 83
harb grov juni indi fabl birc embe embe embe
delta 82 birch 38 delta 90 ember 94 harbor 43 juniper 18
delt birc delt embe harb juni
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020185-p1
Extract and print the first 4 characters from column 1, starting at position 1.
{print substr($1,1,4)}
harbor 44 grove 104 juniper 74 indigo 106 fable 114 birch 16 ember 25 ember 84 ember 83
harb grov juni indi fabl birc embe embe embe
delta 82 birch 38 delta 90 ember 94 harbor 43 juniper 18
delt birc delt embe harb juni
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020185
qwen/qwen3.7-plus
awkweave-0020186
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_juniper 70 amber_grove 57 delta_juniper 91 fable_indigo 33 cobalt_fable 90 ember_grove 99 birch_indigo 78 birch_cobalt 61 amber_juniper 6
ember juniper amber grove delta juniper fable indigo cobalt fable ember grove birch indigo birch cobalt amber juniper
amber_indigo 20 birch_delta 85 harbor_harbor 55 fable_grove 30 grove_grove 1 delta_cobalt 95 cobalt_fable 103 juniper_indigo 21 juniper_birch 119
amber indigo birch delta harbor harbor fable grove grove grove delta cobalt cobalt fable juniper indigo juniper birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020186-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
ember_juniper 70 amber_grove 57 delta_juniper 91 fable_indigo 33 cobalt_fable 90 ember_grove 99 birch_indigo 78 birch_cobalt 61 amber_juniper 6
ember juniper amber grove delta juniper fable indigo cobalt fable ember grove birch indigo birch cobalt amber juniper
amber_indigo 20 birch_delta 85 harbor_harbor 55 fable_grove 30 grove_grove 1 delta_cobalt 95 cobalt_fable 103 juniper_indigo 21 juniper_birch 119
amber indigo birch delta harbor harbor fable grove grove grove delta cobalt cobalt fable juniper indigo juniper birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020186
qwen/qwen3.7-plus
awkweave-0020187
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)}
eli amber 1 pending bruno indigo 18 active gus juniper 113 paused ivan grove 118 ready bruno indigo 61 ready hana delta 72 paused ivan birch 59 ready farah harbor 15 active kim delta 80 pending lina harbor 3 closed
pending 1 amber eli active 18 indigo bruno paused 113 juniper gus ready 118 grove ivan ready 61 indigo bruno paused 72 delta hana ready 59 birch ivan active 15 harbor farah pending 80 delta kim closed 3 harbor lina
eli harbor 10 ready jules fable 36 pending ivan indigo 103 pending lina ember 54 paused alice delta 92 paused alice harbor 24 closed
ready 10 harbor eli pending 36 fable jules pending 103 indigo ivan paused 54 ember lina paused 92 delta alice closed 24 harbor alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020187-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
eli amber 1 pending bruno indigo 18 active gus juniper 113 paused ivan grove 118 ready bruno indigo 61 ready hana delta 72 paused ivan birch 59 ready farah harbor 15 active kim delta 80 pending lina harbor 3 closed
pending 1 amber eli active 18 indigo bruno paused 113 juniper gus ready 118 grove ivan ready 61 indigo bruno paused 72 delta hana ready 59 birch ivan active 15 harbor farah pending 80 delta kim closed 3 harbor lina
eli harbor 10 ready jules fable 36 pending ivan indigo 103 pending lina ember 54 paused alice delta 92 paused alice harbor 24 closed
ready 10 harbor eli pending 36 fable jules pending 103 indigo ivan paused 54 ember lina paused 92 delta alice closed 24 harbor alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020187
qwen/qwen3.7-plus
awkweave-0020188
Print the number of whitespace-separated fields on each line.
{print NF}
gus birch 87 failed dina birch 54 failed alice grove 12 active hana harbor 87 ready dina birch 46 active jules cobalt 24 closed dina indigo 83 ready
4 4 4 4 4 4 4
hana delta 16 failed ivan harbor 71 pending ivan juniper 84 active alice fable 85 paused chen ember 24 active dina fable 17 paused hana juniper 65 paused
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020188-p1
Print the count of whitespace-delimited fields for each line.
{print NF}
gus birch 87 failed dina birch 54 failed alice grove 12 active hana harbor 87 ready dina birch 46 active jules cobalt 24 closed dina indigo 83 ready
4 4 4 4 4 4 4
hana delta 16 failed ivan harbor 71 pending ivan juniper 84 active alice fable 85 paused chen ember 24 active dina fable 17 paused hana juniper 65 paused
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020188
qwen/qwen3.7-plus
awkweave-0020189
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]]}
kim gamma 47 alice delta 120 jules delta 101 alice beta 12 gus alpha 32 gus gamma 29
gamma 2 delta 2 beta 1 alpha 1
gus beta 105 bruno beta 105 eli beta 19 alice beta 106 eli gamma 87 kim beta 86 kim gamma 45
beta 5 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020189-p1
Tally the number of records for each distinct value in column 2, printing each value and its count in the 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]]}
kim gamma 47 alice delta 120 jules delta 101 alice beta 12 gus alpha 32 gus gamma 29
gamma 2 delta 2 beta 1 alpha 1
gus beta 105 bruno beta 105 eli beta 19 alice beta 106 eli gamma 87 kim beta 86 kim gamma 45
beta 5 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020189
qwen/qwen3.7-plus
awkweave-0020200
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}
dina 1 0 hana 20 4 dina 28 17 alice 15 23 kim 9 8 dina 7 8
hana 5.00 dina 1.65 alice 0.65 kim 1.12 dina 0.88
alice 18 0 hana 2 9 ivan 14 16 dina 16 2 hana 12 10 farah 9 30
hana 0.22 ivan 0.88 dina 8.00 hana 1.20 farah 0.30
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020200-p1
For each 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}
dina 1 0 hana 20 4 dina 28 17 alice 15 23 kim 9 8 dina 7 8
hana 5.00 dina 1.65 alice 0.65 kim 1.12 dina 0.88
alice 18 0 hana 2 9 ivan 14 16 dina 16 2 hana 12 10 farah 9 30
hana 0.22 ivan 0.88 dina 8.00 hana 1.20 farah 0.30
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020200
qwen/qwen3.7-plus
awkweave-0020201
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]}
farah indigo 26 kim indigo 30 kim birch 5 ivan ember 26 dina grove 16 hana delta 21 hana amber 8
kim indigo 30 farah indigo 26 ivan ember 26
lina harbor 17 gus birch 14 farah juniper 2 lina amber 26 kim harbor 15 hana cobalt 8 farah amber 12
lina amber 26 lina harbor 17 kim harbor 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020201-p1
Display the three full records with the largest numeric values in the third column, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah indigo 26 kim indigo 30 kim birch 5 ivan ember 26 dina grove 16 hana delta 21 hana amber 8
kim indigo 30 farah indigo 26 ivan ember 26
lina harbor 17 gus birch 14 farah juniper 2 lina amber 26 kim harbor 15 hana cobalt 8 farah amber 12
lina amber 26 lina harbor 17 kim harbor 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020201
qwen/qwen3.7-plus
awkweave-0020202
Select the 3rd and 2nd fields in that order.
{print $3, $2}
ivan 86 eli grove kim 0 kim harbor chen 109 gus birch ivan 114 bruno amber kim 44 lina juniper kim 47 alice cobalt
eli 86 kim 0 gus 109 bruno 114 lina 44 alice 47
chen 89 jules cobalt ivan 49 alice fable alice 9 jules juniper gus 101 alice birch lina 107 kim harbor gus 84 alice juniper eli 52 dina fable lina 88 bruno ember gus 70 bruno indigo
jules 89 alice 49 jules 9 alice 101 kim 107 alice 84 dina 52 bruno 88 bruno 70
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020202-p1
Extract and display the third field followed by the second field.
{print $3, $2}
ivan 86 eli grove kim 0 kim harbor chen 109 gus birch ivan 114 bruno amber kim 44 lina juniper kim 47 alice cobalt
eli 86 kim 0 gus 109 bruno 114 lina 44 alice 47
chen 89 jules cobalt ivan 49 alice fable alice 9 jules juniper gus 101 alice birch lina 107 kim harbor gus 84 alice juniper eli 52 dina fable lina 88 bruno ember gus 70 bruno indigo
jules 89 alice 49 jules 9 alice 101 kim 107 alice 84 dina 52 bruno 88 bruno 70
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020202
qwen/qwen3.7-plus
awkweave-0020203
Print the last field of every input line.
{print $NF}
eli chen jules 88 active 3 chen dina chen kim 76 pending 74 farah eli chen hana 17 paused 79 lina chen chen lina 11 ready 115 farah kim ivan gus 102 failed 79 kim hana hana chen 62 failed 77 alice eli alice bruno 23 ready 63 farah
chen farah lina farah kim alice farah
chen hana lina 82 pending 93 chen dina bruno kim 10 pending 46 farah ivan chen farah 54 active 12 dina gus eli lina 25 closed 49 kim farah hana kim 83 failed 61 dina chen eli farah 46 ready 70 eli
chen farah dina kim dina eli
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020203-p1
Output the final field from every line of input.
{print $NF}
eli chen jules 88 active 3 chen dina chen kim 76 pending 74 farah eli chen hana 17 paused 79 lina chen chen lina 11 ready 115 farah kim ivan gus 102 failed 79 kim hana hana chen 62 failed 77 alice eli alice bruno 23 ready 63 farah
chen farah lina farah kim alice farah
chen hana lina 82 pending 93 chen dina bruno kim 10 pending 46 farah ivan chen farah 54 active 12 dina gus eli lina 25 closed 49 kim farah hana kim 83 failed 61 dina chen eli farah 46 ready 70 eli
chen farah dina kim dina eli
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020203
qwen/qwen3.7-plus
awkweave-0020204
Print the complete records where column 2 is greater than 31.
$2 > 31
juniper 111 paused indigo 93 active cobalt 85 closed amber 44 ready fable 17 ready fable 89 ready indigo 77 active
juniper 111 paused indigo 93 active cobalt 85 closed amber 44 ready fable 89 ready indigo 77 active
harbor 102 closed grove 3 pending ember 111 failed birch 4 failed ember 112 ready harbor 17 ready ember 47 closed
harbor 102 closed ember 111 failed ember 112 ready ember 47 closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020204-p1
Print the entire records where the value in the second column exceeds 31.
$2 > 31
juniper 111 paused indigo 93 active cobalt 85 closed amber 44 ready fable 17 ready fable 89 ready indigo 77 active
juniper 111 paused indigo 93 active cobalt 85 closed amber 44 ready fable 89 ready indigo 77 active
harbor 102 closed grove 3 pending ember 111 failed birch 4 failed ember 112 ready harbor 17 ready ember 47 closed
harbor 102 closed ember 111 failed ember 112 ready ember 47 closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020204
qwen/qwen3.7-plus
awkweave-0020205
Show whole lines whose 2nd field is between 6 and 20, inclusive.
$2 >= 6 && $2 <= 20
lina 13 chen farah kim 12 lina alice kim 15 lina lina dina 18 eli dina alice 16 eli bruno alice 26 kim gus hana 19 chen farah lina 17 chen ivan dina 26 hana alice
lina 13 chen farah kim 12 lina alice kim 15 lina lina dina 18 eli dina alice 16 eli bruno hana 19 chen farah lina 17 chen ivan
jules 13 alice kim farah 6 farah dina gus 14 dina ivan hana 23 chen dina ivan 28 bruno chen lina 21 dina dina
jules 13 alice kim farah 6 farah dina gus 14 dina ivan
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020205-p1
Display complete lines where the second field falls within the inclusive range of 6 to 20.
$2 >= 6 && $2 <= 20
lina 13 chen farah kim 12 lina alice kim 15 lina lina dina 18 eli dina alice 16 eli bruno alice 26 kim gus hana 19 chen farah lina 17 chen ivan dina 26 hana alice
lina 13 chen farah kim 12 lina alice kim 15 lina lina dina 18 eli dina alice 16 eli bruno hana 19 chen farah lina 17 chen ivan
jules 13 alice kim farah 6 farah dina gus 14 dina ivan hana 23 chen dina ivan 28 bruno chen lina 21 dina dina
jules 13 alice kim farah 6 farah dina gus 14 dina ivan
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020205
qwen/qwen3.7-plus
awkweave-0020206
Print column 1 only for rows where column 3 is exactly failed.
$3 == "failed"{print $1}
gus 89 ready fable eli 94 closed amber eli 29 ready birch jules 88 failed fable alice 65 paused fable chen 78 failed fable jules 3 failed delta
jules chen jules
alice 103 closed birch hana 37 paused indigo bruno 92 ready fable ivan 19 active amber chen 48 pending juniper dina 97 paused fable chen 45 closed juniper eli 120 closed ember gus 56 ready indigo
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020206-p1
Output only the first column for rows where the third column contains the exact string 'failed'.
$3 == "failed"{print $1}
gus 89 ready fable eli 94 closed amber eli 29 ready birch jules 88 failed fable alice 65 paused fable chen 78 failed fable jules 3 failed delta
jules chen jules
alice 103 closed birch hana 37 paused indigo bruno 92 ready fable ivan 19 active amber chen 48 pending juniper dina 97 paused fable chen 45 closed juniper eli 120 closed ember gus 56 ready indigo
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020206
qwen/qwen3.7-plus
awkweave-0020207
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
DEBUG 32 indigo INFO 32 grove WARN 17 juniper INFO 10 fable DEBUG 53 delta ERROR 94 birch WARN 55 amber
INFO 32 grove INFO 10 fable
DEBUG 63 delta DEBUG 13 grove ERROR 46 grove ERROR 45 harbor ERROR 22 fable ERROR 47 cobalt INFO 0 juniper DEBUG 46 harbor ERROR 51 harbor
INFO 0 juniper
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020207-p1
Print all fields from lines where the first field starts with the prefix 'INFO'.
$1 ~ /^INFO/
DEBUG 32 indigo INFO 32 grove WARN 17 juniper INFO 10 fable DEBUG 53 delta ERROR 94 birch WARN 55 amber
INFO 32 grove INFO 10 fable
DEBUG 63 delta DEBUG 13 grove ERROR 46 grove ERROR 45 harbor ERROR 22 fable ERROR 47 cobalt INFO 0 juniper DEBUG 46 harbor ERROR 51 harbor
INFO 0 juniper
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020207
qwen/qwen3.7-plus
awkweave-0020208
Print every line except those containing the exact text delta.
$0 !~ /delta/
delta 51 active birch 50 failed cobalt 117 active fable 51 paused juniper 47 failed fable 2 pending cobalt 37 ready ember 58 pending harbor 119 pending delta 999 active
birch 50 failed cobalt 117 active fable 51 paused juniper 47 failed fable 2 pending cobalt 37 ready ember 58 pending harbor 119 pending
indigo 38 active amber 55 closed juniper 115 pending juniper 107 pending amber 51 closed juniper 70 closed indigo 2 pending amber 84 ready ember 39 closed delta 999 active
indigo 38 active amber 55 closed juniper 115 pending juniper 107 pending amber 51 closed juniper 70 closed indigo 2 pending amber 84 ready ember 39 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020208-p1
Print every line that does not contain the exact string 'delta'.
$0 !~ /delta/
delta 51 active birch 50 failed cobalt 117 active fable 51 paused juniper 47 failed fable 2 pending cobalt 37 ready ember 58 pending harbor 119 pending delta 999 active
birch 50 failed cobalt 117 active fable 51 paused juniper 47 failed fable 2 pending cobalt 37 ready ember 58 pending harbor 119 pending
indigo 38 active amber 55 closed juniper 115 pending juniper 107 pending amber 51 closed juniper 70 closed indigo 2 pending amber 84 ready ember 39 closed delta 999 active
indigo 38 active amber 55 closed juniper 115 pending juniper 107 pending amber 51 closed juniper 70 closed indigo 2 pending amber 84 ready ember 39 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020208
qwen/qwen3.7-plus
awkweave-0020209
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
dina juniper 81 gus juniper 108 dina juniper 80 jules birch 21 chen ember 82 kim juniper 103 eli amber 70 farah amber 16
gus juniper 108 dina juniper 80 jules birch 21 chen ember 82
jules birch 49 eli amber 15 jules cobalt 62 gus birch 57 lina juniper 17 jules fable 104 farah harbor 23 dina indigo 54 hana ember 111
eli amber 15 jules cobalt 62 gus birch 57 lina juniper 17
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020209-p1
Output lines 2 through 5, inclusive of both endpoints.
NR >= 2 && NR <= 5
dina juniper 81 gus juniper 108 dina juniper 80 jules birch 21 chen ember 82 kim juniper 103 eli amber 70 farah amber 16
gus juniper 108 dina juniper 80 jules birch 21 chen ember 82
jules birch 49 eli amber 15 jules cobalt 62 gus birch 57 lina juniper 17 jules fable 104 farah harbor 23 dina indigo 54 hana ember 111
eli amber 15 jules cobalt 62 gus birch 57 lina juniper 17
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020209
qwen/qwen3.7-plus
awkweave-0020210
Output only the first 2 records.
NR <= 2
lina 31 juniper ivan 51 fable alice 26 fable hana 25 juniper lina 28 indigo ivan 92 amber alice 55 harbor kim 115 delta
lina 31 juniper ivan 51 fable
dina 88 juniper bruno 30 birch dina 41 delta eli 52 cobalt lina 91 ember ivan 106 grove gus 17 cobalt gus 68 delta
dina 88 juniper bruno 30 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020210-p1
Print only the first two records.
NR <= 2
lina 31 juniper ivan 51 fable alice 26 fable hana 25 juniper lina 28 indigo ivan 92 amber alice 55 harbor kim 115 delta
lina 31 juniper ivan 51 fable
dina 88 juniper bruno 30 birch dina 41 delta eli 52 cobalt lina 91 ember ivan 106 grove gus 17 cobalt gus 68 delta
dina 88 juniper bruno 30 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020210
qwen/qwen3.7-plus
awkweave-0020211
Skip the first line and print every remaining line unchanged.
NR > 1
eli 50 harbor bruno 13 fable chen 2 harbor lina 10 juniper ivan 15 delta farah 33 indigo lina 80 birch lina 106 amber eli 43 ember dina 75 birch
bruno 13 fable chen 2 harbor lina 10 juniper ivan 15 delta farah 33 indigo lina 80 birch lina 106 amber eli 43 ember dina 75 birch
dina 23 harbor eli 37 ember dina 53 harbor alice 69 cobalt hana 110 juniper gus 82 indigo
eli 37 ember dina 53 harbor alice 69 cobalt hana 110 juniper gus 82 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020211-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
eli 50 harbor bruno 13 fable chen 2 harbor lina 10 juniper ivan 15 delta farah 33 indigo lina 80 birch lina 106 amber eli 43 ember dina 75 birch
bruno 13 fable chen 2 harbor lina 10 juniper ivan 15 delta farah 33 indigo lina 80 birch lina 106 amber eli 43 ember dina 75 birch
dina 23 harbor eli 37 ember dina 53 harbor alice 69 cobalt hana 110 juniper gus 82 indigo
eli 37 ember dina 53 harbor alice 69 cobalt hana 110 juniper gus 82 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020211
qwen/qwen3.7-plus
awkweave-0020212
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
bruno paused 34 chen ready 117 ivan paused 79 farah paused 118 jules ready 34 bruno ready 102 bruno active 118
0
farah active 90 dina pending 35 eli pending 110 bruno failed 76 kim failed 36 bruno failed 13
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020212-p1
Output the count of entries in column 2 that are 'closed', defaulting to 0 if none exist.
$2 == "closed"{n++}END{print n+0}
bruno paused 34 chen ready 117 ivan paused 79 farah paused 118 jules ready 34 bruno ready 102 bruno active 118
0
farah active 90 dina pending 35 eli pending 110 bruno failed 76 kim failed 36 bruno failed 13
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020212
qwen/qwen3.7-plus
awkweave-0020213
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
alice 5 delta dina 2 ember jules 29 grove chen 13 amber chen 3 cobalt kim 21 ember alice 21 ember gus 29 fable
123
dina 14 delta eli 16 fable ivan 11 grove alice 15 delta eli 24 harbor dina 9 delta bruno 18 delta
107
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020213-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
alice 5 delta dina 2 ember jules 29 grove chen 13 amber chen 3 cobalt kim 21 ember alice 21 ember gus 29 fable
123
dina 14 delta eli 16 fable ivan 11 grove alice 15 delta eli 24 harbor dina 9 delta bruno 18 delta
107
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020213
qwen/qwen3.7-plus
awkweave-0020214
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan harbor 9 lina harbor 2 lina ember 30 farah cobalt 24 bruno ember 21 gus fable 11 hana delta 20 alice delta 5
15.25
alice indigo 1 gus ember 4 ivan cobalt 26 ivan grove 10 alice birch 16 kim delta 28 eli birch 13
14.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020214-p1
Display the average of values in column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan harbor 9 lina harbor 2 lina ember 30 farah cobalt 24 bruno ember 21 gus fable 11 hana delta 20 alice delta 5
15.25
alice indigo 1 gus ember 4 ivan cobalt 26 ivan grove 10 alice birch 16 kim delta 28 eli birch 13
14.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020214
qwen/qwen3.7-plus
awkweave-0020215
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
juniper alice 19 indigo eli 1 harbor gus 3 juniper eli 17 cobalt farah 24 birch eli 22 delta gus 14
1
harbor dina 4 amber eli 14 cobalt gus 9 amber hana 26 delta chen 20 indigo gus 19 ember chen 11 amber alice 1 delta dina 28 ember kim 20
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020215-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
juniper alice 19 indigo eli 1 harbor gus 3 juniper eli 17 cobalt farah 24 birch eli 22 delta gus 14
1
harbor dina 4 amber eli 14 cobalt gus 9 amber hana 26 delta chen 20 indigo gus 19 ember chen 11 amber alice 1 delta dina 28 ember kim 20
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020215
qwen/qwen3.7-plus
awkweave-0020216
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
gus 13 ember bruno 25 fable hana 28 harbor farah 25 grove gus 22 birch alice 12 juniper hana 17 juniper
28
ivan 22 amber lina 12 cobalt jules 28 delta chen 21 birch chen 10 amber ivan 6 indigo eli 10 juniper
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020216-p1
Identify and output the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
gus 13 ember bruno 25 fable hana 28 harbor farah 25 grove gus 22 birch alice 12 juniper hana 17 juniper
28
ivan 22 amber lina 12 cobalt jules 28 delta chen 21 birch chen 10 amber ivan 6 indigo eli 10 juniper
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020216
qwen/qwen3.7-plus
awkweave-0020217
Count all input records and print the total.
END{print NR}
chen 62 lina 36 ivan 80 jules 51 kim 0 dina 21 ivan 44 chen 104 gus 23 jules 63
10
hana 95 gus 66 dina 29 alice 83 farah 38 chen 34 jules 114 dina 117 farah 58 gus 20
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020217-p1
Count the total number of input records and print the result.
END{print NR}
chen 62 lina 36 ivan 80 jules 51 kim 0 dina 21 ivan 44 chen 104 gus 23 jules 63
10
hana 95 gus 66 dina 29 alice 83 farah 38 chen 34 jules 114 dina 117 farah 58 gus 20
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020217
qwen/qwen3.7-plus
awkweave-0020218
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus birch 78 alice delta 90 jules ember 68 kim birch 47 kim birch 47 bruno ember 62 farah ember 102 farah birch 56 dina harbor 62 chen grove 52
gus birch 78 alice delta 90 jules ember 68 kim birch 47 bruno ember 62 farah ember 102 farah birch 56 dina harbor 62 chen grove 52
eli ember 64 hana indigo 115 hana harbor 73 kim juniper 2 hana amber 98 kim fable 109 hana harbor 73 chen delta 112
eli ember 64 hana indigo 115 hana harbor 73 kim juniper 2 hana amber 98 kim fable 109 chen delta 112
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020218-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance.
!seen[$0]++
gus birch 78 alice delta 90 jules ember 68 kim birch 47 kim birch 47 bruno ember 62 farah ember 102 farah birch 56 dina harbor 62 chen grove 52
gus birch 78 alice delta 90 jules ember 68 kim birch 47 bruno ember 62 farah ember 102 farah birch 56 dina harbor 62 chen grove 52
eli ember 64 hana indigo 115 hana harbor 73 kim juniper 2 hana amber 98 kim fable 109 hana harbor 73 chen delta 112
eli ember 64 hana indigo 115 hana harbor 73 kim juniper 2 hana amber 98 kim fable 109 chen delta 112
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020218
qwen/qwen3.7-plus
awkweave-0020219
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
ivan fable 117 dina amber 4 kim fable 90 kim birch 65 gus birch 43 farah delta 37 bruno harbor 3 dina grove 72 kim fable 114 lina birch 54
ivan fable 117 dina amber 4 kim fable 90 gus birch 43 farah delta 37 bruno harbor 3 lina birch 54
gus ember 17 kim ember 39 kim harbor 53 alice amber 109 chen harbor 29 alice birch 20 kim indigo 94 jules birch 45 alice amber 10
gus ember 17 kim ember 39 alice amber 109 chen harbor 29 jules birch 45
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020219-p1
Retain only the first occurrence of each unique value in column 1, preserving the original sequence.
!seen[$1]++
ivan fable 117 dina amber 4 kim fable 90 kim birch 65 gus birch 43 farah delta 37 bruno harbor 3 dina grove 72 kim fable 114 lina birch 54
ivan fable 117 dina amber 4 kim fable 90 gus birch 43 farah delta 37 bruno harbor 3 lina birch 54
gus ember 17 kim ember 39 kim harbor 53 alice amber 109 chen harbor 29 alice birch 20 kim indigo 94 jules birch 45 alice amber 10
gus ember 17 kim ember 39 alice amber 109 chen harbor 29 jules birch 45
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020219
qwen/qwen3.7-plus
awkweave-0020220
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 23 fable kim 30 fable gus 24 grove kim 27 ember bruno 12 birch gus 15 ember lina 10 delta gus 27 indigo bruno 13 amber hana 8 delta
hana 23 kim 53 gus 77 kim 104 bruno 116 gus 131 lina 141 gus 168 bruno 181 hana 189
lina 20 delta ivan 21 harbor bruno 8 ember chen 4 harbor jules 10 fable kim 3 harbor dina 24 fable lina 19 cobalt alice 17 harbor
lina 20 ivan 41 bruno 49 chen 53 jules 63 kim 66 dina 90 lina 109 alice 126
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020220-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 23 fable kim 30 fable gus 24 grove kim 27 ember bruno 12 birch gus 15 ember lina 10 delta gus 27 indigo bruno 13 amber hana 8 delta
hana 23 kim 53 gus 77 kim 104 bruno 116 gus 131 lina 141 gus 168 bruno 181 hana 189
lina 20 delta ivan 21 harbor bruno 8 ember chen 4 harbor jules 10 fable kim 3 harbor dina 24 fable lina 19 cobalt alice 17 harbor
lina 20 ivan 41 bruno 49 chen 53 jules 63 kim 66 dina 90 lina 109 alice 126
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020220
qwen/qwen3.7-plus