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-0047272-p1
Display only the fourth column for rows where the third column matches 'pending' exactly.
$3 == "pending"{print $4}
indigo 12 failed dina harbor 71 closed farah delta 52 pending ivan birch 41 ready bruno fable 97 failed ivan amber 114 paused gus
ivan
grove 102 paused chen harbor 33 ready jules indigo 13 ready hana delta 88 pending hana indigo 3 failed dina harbor 49 pending chen delta 102 paused farah
hana chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047272
qwen/qwen3.7-plus
awkweave-0047273
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
ERROR 56 harbor INFO 31 cobalt ERROR 42 amber ERROR 120 indigo ERROR 110 amber WARN 97 birch DEBUG 1 juniper ERROR 37 delta INFO 37 indigo ERROR 74 harbor
INFO 31 cobalt INFO 37 indigo
ERROR 0 delta DEBUG 78 juniper INFO 87 harbor DEBUG 79 amber DEBUG 113 cobalt DEBUG 8 indigo WARN 89 grove DEBUG 59 delta WARN 82 birch ERROR 24 fable
INFO 87 harbor
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047273-p1
Output all fields from lines where the first field starts with 'INFO'.
$1 ~ /^INFO/
ERROR 56 harbor INFO 31 cobalt ERROR 42 amber ERROR 120 indigo ERROR 110 amber WARN 97 birch DEBUG 1 juniper ERROR 37 delta INFO 37 indigo ERROR 74 harbor
INFO 31 cobalt INFO 37 indigo
ERROR 0 delta DEBUG 78 juniper INFO 87 harbor DEBUG 79 amber DEBUG 113 cobalt DEBUG 8 indigo WARN 89 grove DEBUG 59 delta WARN 82 birch ERROR 24 fable
INFO 87 harbor
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047273
qwen/qwen3.7-plus
awkweave-0047274
Print every line except those containing the exact text grove.
$0 !~ /grove/
ember 36 ready harbor 43 failed birch 70 closed harbor 37 ready ember 86 failed juniper 9 paused indigo 100 paused birch 35 ready amber 68 failed delta 35 failed grove 999 active
ember 36 ready harbor 43 failed birch 70 closed harbor 37 ready ember 86 failed juniper 9 paused indigo 100 paused birch 35 ready amber 68 failed delta 35 failed
amber 81 paused birch 89 closed delta 50 ready grove 37 active birch 10 active fable 3 paused delta 46 pending juniper 102 paused indigo 54 paused amber 56 failed grove 999 active
amber 81 paused birch 89 closed delta 50 ready birch 10 active fable 3 paused delta 46 pending juniper 102 paused indigo 54 paused amber 56 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047274-p1
Print every line that does not contain the exact string 'grove'.
$0 !~ /grove/
ember 36 ready harbor 43 failed birch 70 closed harbor 37 ready ember 86 failed juniper 9 paused indigo 100 paused birch 35 ready amber 68 failed delta 35 failed grove 999 active
ember 36 ready harbor 43 failed birch 70 closed harbor 37 ready ember 86 failed juniper 9 paused indigo 100 paused birch 35 ready amber 68 failed delta 35 failed
amber 81 paused birch 89 closed delta 50 ready grove 37 active birch 10 active fable 3 paused delta 46 pending juniper 102 paused indigo 54 paused amber 56 failed grove 999 active
amber 81 paused birch 89 closed delta 50 ready birch 10 active fable 3 paused delta 46 pending juniper 102 paused indigo 54 paused amber 56 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047274
qwen/qwen3.7-plus
awkweave-0047275
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
alice harbor 81 eli grove 61 lina delta 11 alice amber 97 farah harbor 117 jules birch 68 hana fable 6 ivan birch 63 jules amber 85 bruno juniper 14
eli grove 61 lina delta 11
chen harbor 99 hana fable 76 ivan cobalt 109 chen grove 7 lina harbor 97 hana grove 80 jules delta 28 alice juniper 109 gus grove 70
hana fable 76 ivan cobalt 109
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047275-p1
Output lines 2 to 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
alice harbor 81 eli grove 61 lina delta 11 alice amber 97 farah harbor 117 jules birch 68 hana fable 6 ivan birch 63 jules amber 85 bruno juniper 14
eli grove 61 lina delta 11
chen harbor 99 hana fable 76 ivan cobalt 109 chen grove 7 lina harbor 97 hana grove 80 jules delta 28 alice juniper 109 gus grove 70
hana fable 76 ivan cobalt 109
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047275
qwen/qwen3.7-plus
awkweave-0047276
Output only the first 5 records.
NR <= 5
bruno 32 juniper eli 54 juniper ivan 35 birch kim 49 ember gus 56 amber gus 30 cobalt hana 75 fable lina 18 delta lina 51 grove hana 56 cobalt
bruno 32 juniper eli 54 juniper ivan 35 birch kim 49 ember gus 56 amber
chen 72 indigo bruno 68 ember bruno 28 ember dina 107 birch gus 13 ember lina 30 harbor farah 33 ember
chen 72 indigo bruno 68 ember bruno 28 ember dina 107 birch gus 13 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047276-p1
Display only the first 5 records.
NR <= 5
bruno 32 juniper eli 54 juniper ivan 35 birch kim 49 ember gus 56 amber gus 30 cobalt hana 75 fable lina 18 delta lina 51 grove hana 56 cobalt
bruno 32 juniper eli 54 juniper ivan 35 birch kim 49 ember gus 56 amber
chen 72 indigo bruno 68 ember bruno 28 ember dina 107 birch gus 13 ember lina 30 harbor farah 33 ember
chen 72 indigo bruno 68 ember bruno 28 ember dina 107 birch gus 13 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047276
qwen/qwen3.7-plus
awkweave-0047277
Skip the first line and print every remaining line unchanged.
NR > 1
lina 9 ember lina 56 amber jules 2 birch kim 45 juniper lina 86 amber jules 30 delta dina 59 harbor
lina 56 amber jules 2 birch kim 45 juniper lina 86 amber jules 30 delta dina 59 harbor
ivan 54 birch lina 54 grove farah 72 grove lina 103 cobalt alice 90 delta gus 36 birch lina 114 fable kim 18 birch
lina 54 grove farah 72 grove lina 103 cobalt alice 90 delta gus 36 birch lina 114 fable kim 18 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047277-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
lina 9 ember lina 56 amber jules 2 birch kim 45 juniper lina 86 amber jules 30 delta dina 59 harbor
lina 56 amber jules 2 birch kim 45 juniper lina 86 amber jules 30 delta dina 59 harbor
ivan 54 birch lina 54 grove farah 72 grove lina 103 cobalt alice 90 delta gus 36 birch lina 114 fable kim 18 birch
lina 54 grove farah 72 grove lina 103 cobalt alice 90 delta gus 36 birch lina 114 fable kim 18 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047277
qwen/qwen3.7-plus
awkweave-0047278
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
kim paused 59 alice closed 82 eli pending 18 kim paused 110 dina pending 19 dina ready 63 farah failed 58 chen ready 16 farah paused 28
3
lina ready 31 hana failed 118 eli closed 78 farah active 74 hana active 3 dina ready 64 hana paused 16
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047278-p1
Count the number of records with 'paused' in column 2, printing 0 if none exist.
$2 == "paused"{n++}END{print n+0}
kim paused 59 alice closed 82 eli pending 18 kim paused 110 dina pending 19 dina ready 63 farah failed 58 chen ready 16 farah paused 28
3
lina ready 31 hana failed 118 eli closed 78 farah active 74 hana active 3 dina ready 64 hana paused 16
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047278
qwen/qwen3.7-plus
awkweave-0047279
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
jules cobalt 14 farah indigo 20 gus grove 9 lina indigo 22 dina delta 20 gus indigo 17
102
lina indigo 20 alice fable 8 lina ember 29 jules amber 12 ivan birch 24 hana cobalt 12
105
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047279-p1
Compute and output the sum of integer values in column 3.
{s+=$3}END{print s+0}
jules cobalt 14 farah indigo 20 gus grove 9 lina indigo 22 dina delta 20 gus indigo 17
102
lina indigo 20 alice fable 8 lina ember 29 jules amber 12 ivan birch 24 hana cobalt 12
105
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047279
qwen/qwen3.7-plus
awkweave-0047280
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
dina indigo 18 dina indigo 2 lina ember 3 jules fable 22 lina harbor 1 gus ember 14 gus juniper 23 alice indigo 11 farah amber 24
13.11
lina delta 16 jules amber 26 bruno birch 14 kim birch 19 alice indigo 12 chen birch 23 lina birch 24 kim grove 19 bruno birch 17 gus grove 23
19.30
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047280-p1
Print the average of column 3, rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
dina indigo 18 dina indigo 2 lina ember 3 jules fable 22 lina harbor 1 gus ember 14 gus juniper 23 alice indigo 11 farah amber 24
13.11
lina delta 16 jules amber 26 bruno birch 14 kim birch 19 alice indigo 12 chen birch 23 lina birch 24 kim grove 19 bruno birch 17 gus grove 23
19.30
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047280
qwen/qwen3.7-plus
awkweave-0047281
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 23 eli amber 12 gus amber 12 lina cobalt 12 kim delta 20 bruno juniper 19 bruno fable 13 gus delta 19 jules grove 27 eli fable 30 ivan
12
delta 16 alice grove 13 lina grove 13 lina indigo 2 ivan cobalt 15 lina juniper 2 ivan fable 29 eli fable 29 lina
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047281-p1
Identify and print the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 23 eli amber 12 gus amber 12 lina cobalt 12 kim delta 20 bruno juniper 19 bruno fable 13 gus delta 19 jules grove 27 eli fable 30 ivan
12
delta 16 alice grove 13 lina grove 13 lina indigo 2 ivan cobalt 15 lina juniper 2 ivan fable 29 eli fable 29 lina
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047281
qwen/qwen3.7-plus
awkweave-0047282
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
10 amber chen 23 grove jules 22 delta ivan 23 delta chen 21 ember bruno 26 grove eli 17 juniper kim 18 harbor farah 7 fable hana
26
16 fable chen 4 delta bruno 4 indigo alice 16 fable alice 25 ember bruno 24 grove bruno 30 delta ivan 26 grove lina 3 amber gus 12 ember farah
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047282-p1
Identify and print the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
10 amber chen 23 grove jules 22 delta ivan 23 delta chen 21 ember bruno 26 grove eli 17 juniper kim 18 harbor farah 7 fable hana
26
16 fable chen 4 delta bruno 4 indigo alice 16 fable alice 25 ember bruno 24 grove bruno 30 delta ivan 26 grove lina 3 amber gus 12 ember farah
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047282
qwen/qwen3.7-plus
awkweave-0047283
Count all input records and print the total.
END{print NR}
alice 26 chen 44 bruno 56 hana 50 alice 105 chen 113
6
kim 35 ivan 56 ivan 71 ivan 41 dina 67 lina 7 chen 120 alice 78 chen 68 jules 109
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047283-p1
Count the total number of input records and print the result.
END{print NR}
alice 26 chen 44 bruno 56 hana 50 alice 105 chen 113
6
kim 35 ivan 56 ivan 71 ivan 41 dina 67 lina 7 chen 120 alice 78 chen 68 jules 109
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047283
qwen/qwen3.7-plus
awkweave-0047284
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim ember 117 eli cobalt 84 eli birch 7 farah juniper 31 eli birch 7 kim indigo 56 chen grove 6
kim ember 117 eli cobalt 84 eli birch 7 farah juniper 31 kim indigo 56 chen grove 6
alice harbor 70 alice juniper 64 chen birch 42 alice fable 67 dina fable 60 kim harbor 18 dina indigo 120 kim harbor 18 jules birch 16
alice harbor 70 alice juniper 64 chen birch 42 alice fable 67 dina fable 60 kim harbor 18 dina indigo 120 jules birch 16
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047284-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
kim ember 117 eli cobalt 84 eli birch 7 farah juniper 31 eli birch 7 kim indigo 56 chen grove 6
kim ember 117 eli cobalt 84 eli birch 7 farah juniper 31 kim indigo 56 chen grove 6
alice harbor 70 alice juniper 64 chen birch 42 alice fable 67 dina fable 60 kim harbor 18 dina indigo 120 kim harbor 18 jules birch 16
alice harbor 70 alice juniper 64 chen birch 42 alice fable 67 dina fable 60 kim harbor 18 dina indigo 120 jules birch 16
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047284
qwen/qwen3.7-plus
awkweave-0047285
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
ivan juniper 10 jules cobalt 31 jules delta 51 dina grove 44 jules harbor 58 hana harbor 89 gus juniper 14 gus delta 72
ivan juniper 10 jules cobalt 31 dina grove 44 hana harbor 89 gus juniper 14
farah harbor 48 hana juniper 13 dina grove 97 ivan ember 43 eli amber 14 chen delta 82 ivan grove 39
farah harbor 48 hana juniper 13 dina grove 97 ivan ember 43 eli amber 14 chen delta 82
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047285-p1
Retain only the initial line for every unique value found in column 1, ensuring the original input order is preserved.
!seen[$1]++
ivan juniper 10 jules cobalt 31 jules delta 51 dina grove 44 jules harbor 58 hana harbor 89 gus juniper 14 gus delta 72
ivan juniper 10 jules cobalt 31 dina grove 44 hana harbor 89 gus juniper 14
farah harbor 48 hana juniper 13 dina grove 97 ivan ember 43 eli amber 14 chen delta 82 ivan grove 39
farah harbor 48 hana juniper 13 dina grove 97 ivan ember 43 eli amber 14 chen delta 82
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047285
qwen/qwen3.7-plus
awkweave-0047286
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 17 harbor lina 10 indigo alice 29 birch alice 20 cobalt bruno 12 delta ivan 14 delta chen 2 indigo gus 28 juniper dina 13 amber dina 16 grove
hana 17 lina 27 alice 56 alice 76 bruno 88 ivan 102 chen 104 gus 132 dina 145 dina 161
eli 28 ember alice 19 ember farah 14 harbor hana 5 harbor ivan 4 delta gus 4 delta gus 11 fable hana 3 juniper farah 8 ember
eli 28 alice 47 farah 61 hana 66 ivan 70 gus 74 gus 85 hana 88 farah 96
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047286-p1
Output column 1 alongside the cumulative total of column 2 for each record, using a space as the delimiter.
{s+=$2;print $1,s}
hana 17 harbor lina 10 indigo alice 29 birch alice 20 cobalt bruno 12 delta ivan 14 delta chen 2 indigo gus 28 juniper dina 13 amber dina 16 grove
hana 17 lina 27 alice 56 alice 76 bruno 88 ivan 102 chen 104 gus 132 dina 145 dina 161
eli 28 ember alice 19 ember farah 14 harbor hana 5 harbor ivan 4 delta gus 4 delta gus 11 fable hana 3 juniper farah 8 ember
eli 28 alice 47 farah 61 hana 66 ivan 70 gus 74 gus 85 hana 88 farah 96
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047286
qwen/qwen3.7-plus
awkweave-0047287
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 8 16 harbor dina 27 13 juniper ivan 10 19 amber alice 8 9 amber lina 23 29 grove jules 30 13 birch chen 23 4 harbor
farah 24 dina 40 ivan 29 alice 17 lina 52 jules 43 chen 27
lina 6 18 juniper hana 25 30 juniper farah 1 9 grove eli 25 8 fable kim 18 10 juniper bruno 8 12 harbor hana 21 29 indigo eli 14 30 cobalt
lina 24 hana 55 farah 10 eli 33 kim 28 bruno 20 hana 50 eli 44
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047287-p1
For each row, display field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 8 16 harbor dina 27 13 juniper ivan 10 19 amber alice 8 9 amber lina 23 29 grove jules 30 13 birch chen 23 4 harbor
farah 24 dina 40 ivan 29 alice 17 lina 52 jules 43 chen 27
lina 6 18 juniper hana 25 30 juniper farah 1 9 grove eli 25 8 fable kim 18 10 juniper bruno 8 12 harbor hana 21 29 indigo eli 14 30 cobalt
lina 24 hana 55 farah 10 eli 33 kim 28 bruno 20 hana 50 eli 44
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047287
qwen/qwen3.7-plus
awkweave-0047288
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
kim 10 lina 21 alice 6 hana 19 jules 11 ivan 12 jules 30 lina 2 gus 9 dina 19
kim fail lina fail alice fail hana fail jules fail ivan fail jules pass lina fail gus fail dina fail
lina 11 gus 27 hana 13 alice 14 farah 30 jules 17 kim 2 gus 23
lina fail gus pass hana fail alice fail farah pass jules fail kim fail gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047288-p1
Output column 1 with the label 'pass' if column 2 is 27 or greater; otherwise, output 'fail'.
{print $1,($2>=27?"pass":"fail")}
kim 10 lina 21 alice 6 hana 19 jules 11 ivan 12 jules 30 lina 2 gus 9 dina 19
kim fail lina fail alice fail hana fail jules fail ivan fail jules pass lina fail gus fail dina fail
lina 11 gus 27 hana 13 alice 14 farah 30 jules 17 kim 2 gus 23
lina fail gus pass hana fail alice fail farah pass jules fail kim fail gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047288
qwen/qwen3.7-plus
awkweave-0047289
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli fable 82 eli cobalt 98 bruno indigo 47 jules birch 117 ivan indigo 102 hana birch 7 dina grove 71 ivan grove 47 dina fable 31
ELI ELI BRUNO JULES IVAN HANA DINA IVAN DINA
farah birch 118 jules delta 97 chen grove 27 alice fable 58 alice fable 104 kim ember 37 chen birch 56
FARAH JULES CHEN ALICE ALICE KIM CHEN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047289-p1
Transform column 1 to uppercase and output only that specific column.
{print toupper($1)}
eli fable 82 eli cobalt 98 bruno indigo 47 jules birch 117 ivan indigo 102 hana birch 7 dina grove 71 ivan grove 47 dina fable 31
ELI ELI BRUNO JULES IVAN HANA DINA IVAN DINA
farah birch 118 jules delta 97 chen grove 27 alice fable 58 alice fable 104 kim ember 37 chen birch 56
FARAH JULES CHEN ALICE ALICE KIM CHEN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047289
qwen/qwen3.7-plus
awkweave-0047300
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14.
BEGIN{FS=OFS=","}$2>14{print $1}
bruno,4,paused kim,26,failed jules,29,closed chen,6,paused kim,9,active gus,20,failed alice,12,failed gus,11,closed lina,5,ready
kim jules gus
alice,14,ready chen,7,active ivan,28,closed farah,1,failed eli,17,closed kim,9,active ivan,27,failed bruno,15,ready lina,12,pending
ivan eli ivan bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047300-p1
Given simple comma-separated input without quoted commas, output column 1 whenever column 2 is greater than 14.
BEGIN{FS=OFS=","}$2>14{print $1}
bruno,4,paused kim,26,failed jules,29,closed chen,6,paused kim,9,active gus,20,failed alice,12,failed gus,11,closed lina,5,ready
kim jules gus
alice,14,ready chen,7,active ivan,28,closed farah,1,failed eli,17,closed kim,9,active ivan,27,failed bruno,15,ready lina,12,pending
ivan eli ivan bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047300
qwen/qwen3.7-plus
awkweave-0047301
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
hana amber 65 bruno indigo 104 alice amber 30 bruno indigo 72 kim cobalt 3 jules juniper 99
hana amber 65 bruno indigo 104 alice amber 30 bruno indigo 72 kim cobalt 3 jules juniper 99
chen cobalt 57 eli ember 117 lina harbor 21 gus grove 91 alice juniper 15 bruno fable 8
chen cobalt 57 eli ember 117 lina harbor 21 gus grove 91 alice juniper 15 bruno fable 8
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047301-p1
Remove leading and trailing whitespace and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
hana amber 65 bruno indigo 104 alice amber 30 bruno indigo 72 kim cobalt 3 jules juniper 99
hana amber 65 bruno indigo 104 alice amber 30 bruno indigo 72 kim cobalt 3 jules juniper 99
chen cobalt 57 eli ember 117 lina harbor 21 gus grove 91 alice juniper 15 bruno fable 8
chen cobalt 57 eli ember 117 lina harbor 21 gus grove 91 alice juniper 15 bruno fable 8
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047301
qwen/qwen3.7-plus
awkweave-0047302
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana cobalt 55 failed gus birch 36 closed dina juniper 88 active farah birch 70 paused bruno delta 43 ready bruno ember 24 failed chen ember 54 active chen cobalt 113 failed bruno juniper 58 failed
bruno juniper 58 failed
farah delta 20 failed chen indigo 99 failed ivan fable 41 closed alice indigo 80 active alice amber 22 closed eli cobalt 7 closed hana indigo 105 failed eli fable 72 closed chen delta 18 paused eli amber 21 failed
alice indigo 80 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047302-p1
Identify and print the longest line from the input; in case of a tie, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana cobalt 55 failed gus birch 36 closed dina juniper 88 active farah birch 70 paused bruno delta 43 ready bruno ember 24 failed chen ember 54 active chen cobalt 113 failed bruno juniper 58 failed
bruno juniper 58 failed
farah delta 20 failed chen indigo 99 failed ivan fable 41 closed alice indigo 80 active alice amber 22 closed eli cobalt 7 closed hana indigo 105 failed eli fable 72 closed chen delta 18 paused eli amber 21 failed
alice indigo 80 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047302
qwen/qwen3.7-plus
awkweave-0047303
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
ivan 22 alice 112 dina 65 kim 26 kim 18 chen 10 farah 2
dina 65 chen 10
chen 68 lina 23 hana 88 lina 56 alice 7 chen 46 eli 2 alice 116
hana 88 chen 46
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047303-p1
Output every third line, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
ivan 22 alice 112 dina 65 kim 26 kim 18 chen 10 farah 2
dina 65 chen 10
chen 68 lina 23 hana 88 lina 56 alice 7 chen 46 eli 2 alice 116
hana 88 chen 46
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047303
qwen/qwen3.7-plus
awkweave-0047304
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 55 beta fable 66 delta birch 29 gamma delta 104 delta harbor 59 delta harbor 109 delta juniper 1 gamma indigo 40
6
gamma indigo 110 gamma cobalt 59 alpha indigo 49 beta amber 40 alpha grove 62 beta juniper 63 beta amber 39 beta harbor 95 delta birch 11
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047304-p1
Calculate the number of unique values in column 2 and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 55 beta fable 66 delta birch 29 gamma delta 104 delta harbor 59 delta harbor 109 delta juniper 1 gamma indigo 40
6
gamma indigo 110 gamma cobalt 59 alpha indigo 49 beta amber 40 alpha grove 62 beta juniper 63 beta amber 39 beta harbor 95 delta birch 11
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047304
qwen/qwen3.7-plus
awkweave-0047305
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 22 0 gus 6 9 lina 11 19 alice 27 29 eli 16 1 bruno 20 19 eli 2 17 hana 29 6 chen 1 13
gus 0.67 lina 0.58 alice 0.93 eli 16.00 bruno 1.05 eli 0.12 hana 4.83 chen 0.08
gus 7 0 farah 28 19 chen 8 12 ivan 7 7 gus 13 5 lina 26 17 alice 12 13 hana 30 28
farah 1.47 chen 0.67 ivan 1.00 gus 2.60 lina 1.53 alice 0.92 hana 1.07
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047305-p1
For each row, print column 1 and the result of column 2 divided by column 3 formatted to two decimal places, omitting rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 22 0 gus 6 9 lina 11 19 alice 27 29 eli 16 1 bruno 20 19 eli 2 17 hana 29 6 chen 1 13
gus 0.67 lina 0.58 alice 0.93 eli 16.00 bruno 1.05 eli 0.12 hana 4.83 chen 0.08
gus 7 0 farah 28 19 chen 8 12 ivan 7 7 gus 13 5 lina 26 17 alice 12 13 hana 30 28
farah 1.47 chen 0.67 ivan 1.00 gus 2.60 lina 1.53 alice 0.92 hana 1.07
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047305
qwen/qwen3.7-plus
awkweave-0047306
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 harbor 21 hana delta 27 hana birch 11 eli indigo 30 eli grove 6 alice juniper 15 ivan birch 21 kim delta 24
eli indigo 30 hana delta 27 kim delta 24
kim grove 2 lina fable 16 lina fable 18 alice indigo 22 dina grove 5 alice ember 23
alice ember 23 alice indigo 22 lina fable 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047306-p1
Output the top three full records based on the highest numeric values in the third column, sorted in descending order; maintain the original input sequence 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 harbor 21 hana delta 27 hana birch 11 eli indigo 30 eli grove 6 alice juniper 15 ivan birch 21 kim delta 24
eli indigo 30 hana delta 27 kim delta 24
kim grove 2 lina fable 16 lina fable 18 alice indigo 22 dina grove 5 alice ember 23
alice ember 23 alice indigo 22 lina fable 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047306
qwen/qwen3.7-plus
awkweave-0047307
Print column 6 followed by column 4 for every record.
{print $6, $4}
hana 17 alice pending 42 hana farah 31 chen ready 29 ivan dina 63 alice closed 41 lina ivan 48 farah failed 24 hana eli 97 ivan paused 50 hana lina 82 kim pending 34 ivan chen 24 lina active 80 ivan
hana pending ivan ready lina closed hana failed hana paused ivan pending ivan active
bruno 47 lina pending 11 eli hana 50 lina failed 3 gus gus 61 hana failed 9 bruno jules 76 dina failed 114 alice jules 111 ivan paused 8 farah chen 111 bruno failed 84 jules
eli pending gus failed bruno failed alice failed farah paused jules failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047307-p1
For each record, display the value from column 6 followed by the value from column 4.
{print $6, $4}
hana 17 alice pending 42 hana farah 31 chen ready 29 ivan dina 63 alice closed 41 lina ivan 48 farah failed 24 hana eli 97 ivan paused 50 hana lina 82 kim pending 34 ivan chen 24 lina active 80 ivan
hana pending ivan ready lina closed hana failed hana paused ivan pending ivan active
bruno 47 lina pending 11 eli hana 50 lina failed 3 gus gus 61 hana failed 9 bruno jules 76 dina failed 114 alice jules 111 ivan paused 8 farah chen 111 bruno failed 84 jules
eli pending gus failed bruno failed alice failed farah paused jules failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047307
qwen/qwen3.7-plus
awkweave-0047308
Print the last field of every input line.
{print $NF}
102 lina birch ember 79 farah grove harbor 52 lina birch delta 74 eli juniper amber 33 lina grove amber 25 jules cobalt cobalt 60 jules birch harbor 40 jules harbor harbor 68 alice delta delta
ember harbor delta amber amber cobalt harbor harbor delta
99 jules grove delta 32 lina delta ember 5 gus harbor birch 94 farah delta ember 70 bruno juniper ember 58 lina grove birch 91 farah cobalt harbor 111 chen amber harbor 29 alice cobalt amber 40 jules birch grove
delta ember birch ember ember birch harbor harbor amber grove
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047308-p1
Display the final field of every line in the input.
{print $NF}
102 lina birch ember 79 farah grove harbor 52 lina birch delta 74 eli juniper amber 33 lina grove amber 25 jules cobalt cobalt 60 jules birch harbor 40 jules harbor harbor 68 alice delta delta
ember harbor delta amber amber cobalt harbor harbor delta
99 jules grove delta 32 lina delta ember 5 gus harbor birch 94 farah delta ember 70 bruno juniper ember 58 lina grove birch 91 farah cobalt harbor 111 chen amber harbor 29 alice cobalt amber 40 jules birch grove
delta ember birch ember ember birch harbor harbor amber grove
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047308
qwen/qwen3.7-plus
awkweave-0047309
Print the complete records where column 3 is at least 64.
$3 >= 64
harbor jules 116 kim ember farah 34 bruno delta farah 49 eli amber eli 56 kim grove bruno 111 chen cobalt jules 3 ivan
harbor jules 116 kim grove bruno 111 chen
indigo lina 63 chen harbor gus 50 ivan grove ivan 39 jules delta ivan 29 bruno harbor bruno 40 farah indigo dina 104 alice cobalt hana 3 lina
indigo dina 104 alice
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047309-p1
Output the entire records where the value in the third column is greater than or equal to 64.
$3 >= 64
harbor jules 116 kim ember farah 34 bruno delta farah 49 eli amber eli 56 kim grove bruno 111 chen cobalt jules 3 ivan
harbor jules 116 kim grove bruno 111 chen
indigo lina 63 chen harbor gus 50 ivan grove ivan 39 jules delta ivan 29 bruno harbor bruno 40 farah indigo dina 104 alice cobalt hana 3 lina
indigo dina 104 alice
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047309
qwen/qwen3.7-plus
awkweave-0047310
Show whole lines whose 1st field is between 5 and 28, inclusive.
$1 >= 5 && $1 <= 28
22 dina delta birch 24 eli cobalt cobalt 29 farah juniper fable 29 gus cobalt harbor 26 gus amber cobalt 18 alice cobalt birch 5 chen indigo juniper 13 bruno indigo delta 23 hana fable cobalt
22 dina delta birch 24 eli cobalt cobalt 26 gus amber cobalt 18 alice cobalt birch 5 chen indigo juniper 13 bruno indigo delta 23 hana fable cobalt
18 chen birch grove 5 gus fable ember 19 bruno grove fable 11 dina grove harbor 9 lina harbor grove 22 chen indigo birch 21 ivan amber harbor 17 bruno cobalt fable 19 lina fable delta
18 chen birch grove 5 gus fable ember 19 bruno grove fable 11 dina grove harbor 9 lina harbor grove 22 chen indigo birch 21 ivan amber harbor 17 bruno cobalt fable 19 lina fable delta
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047310-p1
Display complete lines where the first field falls within the inclusive range of 5 to 28.
$1 >= 5 && $1 <= 28
22 dina delta birch 24 eli cobalt cobalt 29 farah juniper fable 29 gus cobalt harbor 26 gus amber cobalt 18 alice cobalt birch 5 chen indigo juniper 13 bruno indigo delta 23 hana fable cobalt
22 dina delta birch 24 eli cobalt cobalt 26 gus amber cobalt 18 alice cobalt birch 5 chen indigo juniper 13 bruno indigo delta 23 hana fable cobalt
18 chen birch grove 5 gus fable ember 19 bruno grove fable 11 dina grove harbor 9 lina harbor grove 22 chen indigo birch 21 ivan amber harbor 17 bruno cobalt fable 19 lina fable delta
18 chen birch grove 5 gus fable ember 19 bruno grove fable 11 dina grove harbor 9 lina harbor grove 22 chen indigo birch 21 ivan amber harbor 17 bruno cobalt fable 19 lina fable delta
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047310
qwen/qwen3.7-plus
awkweave-0047311
Print column 3 only for rows where column 2 is exactly closed.
$2 == "closed"{print $3}
2 paused gus ember 25 closed chen harbor 19 paused kim amber 65 closed bruno indigo 81 closed ivan cobalt 41 pending alice ember 36 ready kim juniper 85 ready jules ember
chen bruno ivan
93 closed gus ember 23 ready bruno juniper 51 active lina harbor 102 active dina grove 58 closed gus grove 30 closed dina juniper 75 closed dina juniper 73 closed chen juniper 59 paused lina grove 5 active eli harbor
gus gus dina dina chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047311-p1
Output only the third column for rows where the second column matches the exact string 'closed'.
$2 == "closed"{print $3}
2 paused gus ember 25 closed chen harbor 19 paused kim amber 65 closed bruno indigo 81 closed ivan cobalt 41 pending alice ember 36 ready kim juniper 85 ready jules ember
chen bruno ivan
93 closed gus ember 23 ready bruno juniper 51 active lina harbor 102 active dina grove 58 closed gus grove 30 closed dina juniper 75 closed dina juniper 73 closed chen juniper 59 paused lina grove 5 active eli harbor
gus gus dina dina chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047311
qwen/qwen3.7-plus
awkweave-0047312
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
delta WARN 79 harbor ERROR 39 amber INFO 11 fable INFO 115 amber ERROR 73 grove WARN 103 grove ERROR 6 indigo WARN 103 birch DEBUG 61 harbor ERROR 16
harbor ERROR 39 amber ERROR 73 grove ERROR 6 harbor ERROR 16
amber WARN 14 harbor WARN 100 birch DEBUG 81 grove DEBUG 119 amber DEBUG 58 fable INFO 22 fable INFO 103 indigo ERROR 67 grove DEBUG 2
indigo ERROR 67
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047312-p1
Print all fields from any line where the second field starts with the prefix 'ERROR'.
$2 ~ /^ERROR/
delta WARN 79 harbor ERROR 39 amber INFO 11 fable INFO 115 amber ERROR 73 grove WARN 103 grove ERROR 6 indigo WARN 103 birch DEBUG 61 harbor ERROR 16
harbor ERROR 39 amber ERROR 73 grove ERROR 6 harbor ERROR 16
amber WARN 14 harbor WARN 100 birch DEBUG 81 grove DEBUG 119 amber DEBUG 58 fable INFO 22 fable INFO 103 indigo ERROR 67 grove DEBUG 2
indigo ERROR 67
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047312
qwen/qwen3.7-plus
awkweave-0047313
Print every line except those containing the exact text delta.
$0 !~ /delta/
harbor 93 paused cobalt 102 closed birch 5 paused juniper 25 failed ember 32 closed birch 7 ready ember 51 closed delta 999 active
harbor 93 paused cobalt 102 closed birch 5 paused juniper 25 failed ember 32 closed birch 7 ready ember 51 closed
ember 20 pending cobalt 25 closed amber 118 active delta 10 closed fable 118 pending grove 37 pending fable 34 ready delta 52 paused ember 32 ready ember 6 closed delta 999 active
ember 20 pending cobalt 25 closed amber 118 active fable 118 pending grove 37 pending fable 34 ready ember 32 ready ember 6 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047313-p1
Output every line that does not contain the exact substring 'delta'.
$0 !~ /delta/
harbor 93 paused cobalt 102 closed birch 5 paused juniper 25 failed ember 32 closed birch 7 ready ember 51 closed delta 999 active
harbor 93 paused cobalt 102 closed birch 5 paused juniper 25 failed ember 32 closed birch 7 ready ember 51 closed
ember 20 pending cobalt 25 closed amber 118 active delta 10 closed fable 118 pending grove 37 pending fable 34 ready delta 52 paused ember 32 ready ember 6 closed delta 999 active
ember 20 pending cobalt 25 closed amber 118 active fable 118 pending grove 37 pending fable 34 ready ember 32 ready ember 6 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047313
qwen/qwen3.7-plus
awkweave-0047314
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
chen birch 49 dina grove 61 dina ember 90 farah grove 95 alice ember 111 bruno amber 63 lina cobalt 43 alice indigo 32 dina cobalt 55 dina birch 76
farah grove 95 alice ember 111
ivan delta 109 jules fable 2 jules indigo 98 alice amber 38 kim delta 70 gus harbor 18
alice amber 38 kim delta 70
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047314-p1
Print lines 4 through 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
chen birch 49 dina grove 61 dina ember 90 farah grove 95 alice ember 111 bruno amber 63 lina cobalt 43 alice indigo 32 dina cobalt 55 dina birch 76
farah grove 95 alice ember 111
ivan delta 109 jules fable 2 jules indigo 98 alice amber 38 kim delta 70 gus harbor 18
alice amber 38 kim delta 70
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047314
qwen/qwen3.7-plus
awkweave-0047315
Output only the first 2 records.
NR <= 2
ivan 83 grove gus 58 delta dina 77 birch farah 82 juniper alice 82 delta hana 72 delta jules 60 cobalt
ivan 83 grove gus 58 delta
hana 69 delta kim 91 grove kim 16 fable dina 78 grove farah 113 ember chen 65 amber
hana 69 delta kim 91 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047315-p1
Output only the first 2 records from the input.
NR <= 2
ivan 83 grove gus 58 delta dina 77 birch farah 82 juniper alice 82 delta hana 72 delta jules 60 cobalt
ivan 83 grove gus 58 delta
hana 69 delta kim 91 grove kim 16 fable dina 78 grove farah 113 ember chen 65 amber
hana 69 delta kim 91 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047315
qwen/qwen3.7-plus
awkweave-0047316
Skip the first line and print every remaining line unchanged.
NR > 1
lina 104 delta chen 62 juniper dina 31 amber farah 52 indigo jules 38 amber lina 54 fable jules 42 indigo eli 70 grove dina 45 grove ivan 86 fable
chen 62 juniper dina 31 amber farah 52 indigo jules 38 amber lina 54 fable jules 42 indigo eli 70 grove dina 45 grove ivan 86 fable
bruno 26 grove eli 45 ember dina 85 harbor chen 107 cobalt lina 86 cobalt alice 14 amber alice 75 birch farah 9 juniper
eli 45 ember dina 85 harbor chen 107 cobalt lina 86 cobalt alice 14 amber alice 75 birch farah 9 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047316-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
lina 104 delta chen 62 juniper dina 31 amber farah 52 indigo jules 38 amber lina 54 fable jules 42 indigo eli 70 grove dina 45 grove ivan 86 fable
chen 62 juniper dina 31 amber farah 52 indigo jules 38 amber lina 54 fable jules 42 indigo eli 70 grove dina 45 grove ivan 86 fable
bruno 26 grove eli 45 ember dina 85 harbor chen 107 cobalt lina 86 cobalt alice 14 amber alice 75 birch farah 9 juniper
eli 45 ember dina 85 harbor chen 107 cobalt lina 86 cobalt alice 14 amber alice 75 birch farah 9 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047316
qwen/qwen3.7-plus
awkweave-0047317
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
alice active 74 alice active 36 gus paused 12 bruno closed 101 gus failed 26 eli ready 2 dina closed 92 alice ready 116 lina pending 120
2
ivan pending 89 alice active 36 hana closed 56 alice ready 43 kim closed 59 alice pending 3 jules failed 75 chen active 84 dina failed 101
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047317-p1
Count the number of records where the second column contains 'ready', and output 0 if no such records exist.
$2 == "ready"{n++}END{print n+0}
alice active 74 alice active 36 gus paused 12 bruno closed 101 gus failed 26 eli ready 2 dina closed 92 alice ready 116 lina pending 120
2
ivan pending 89 alice active 36 hana closed 56 alice ready 43 kim closed 59 alice pending 3 jules failed 75 chen active 84 dina failed 101
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047317
qwen/qwen3.7-plus
awkweave-0047318
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
ember kim 19 delta chen 8 grove lina 3 amber jules 8 delta bruno 6 ember hana 19 indigo jules 9 indigo eli 26 amber bruno 13
111
cobalt kim 13 fable hana 16 cobalt alice 21 amber kim 17 ember dina 4 juniper bruno 19 grove hana 9
99
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047318-p1
Compute the total of all integer values found in the third column and output the result.
{s+=$3}END{print s+0}
ember kim 19 delta chen 8 grove lina 3 amber jules 8 delta bruno 6 ember hana 19 indigo jules 9 indigo eli 26 amber bruno 13
111
cobalt kim 13 fable hana 16 cobalt alice 21 amber kim 17 ember dina 4 juniper bruno 19 grove hana 9
99
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047318
qwen/qwen3.7-plus
awkweave-0047319
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
22 kim juniper 8 alice amber 1 alice grove 6 alice fable 12 alice grove 27 eli amber 8 bruno amber
12.00
6 kim grove 28 gus juniper 26 chen indigo 21 eli juniper 29 ivan indigo 27 bruno delta 15 eli harbor 8 chen harbor
20.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047319-p1
Output the average of the values in the first column, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
22 kim juniper 8 alice amber 1 alice grove 6 alice fable 12 alice grove 27 eli amber 8 bruno amber
12.00
6 kim grove 28 gus juniper 26 chen indigo 21 eli juniper 29 ivan indigo 27 bruno delta 15 eli harbor 8 chen harbor
20.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047319
qwen/qwen3.7-plus
awkweave-0047320
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
eli harbor 28 hana grove 27 eli fable 2 bruno fable 11 hana delta 21 jules cobalt 27 bruno delta 8 gus amber 27 ivan ember 25 kim juniper 30
2
ivan birch 30 ivan grove 9 bruno delta 13 dina fable 16 lina cobalt 28 bruno grove 23 chen indigo 23
9
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047320-p1
Identify and display the minimum numerical value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
eli harbor 28 hana grove 27 eli fable 2 bruno fable 11 hana delta 21 jules cobalt 27 bruno delta 8 gus amber 27 ivan ember 25 kim juniper 30
2
ivan birch 30 ivan grove 9 bruno delta 13 dina fable 16 lina cobalt 28 bruno grove 23 chen indigo 23
9
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047320
qwen/qwen3.7-plus
awkweave-0047321
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
cobalt eli 1 cobalt ivan 14 juniper eli 30 amber dina 13 fable gus 23 delta ivan 14 indigo hana 25 ember jules 12 indigo gus 2
30
indigo eli 28 indigo gus 26 ember alice 28 indigo bruno 7 grove lina 20 fable eli 26 amber dina 23 grove ivan 20 birch gus 27
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047321-p1
Identify and display the maximum numerical value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
cobalt eli 1 cobalt ivan 14 juniper eli 30 amber dina 13 fable gus 23 delta ivan 14 indigo hana 25 ember jules 12 indigo gus 2
30
indigo eli 28 indigo gus 26 ember alice 28 indigo bruno 7 grove lina 20 fable eli 26 amber dina 23 grove ivan 20 birch gus 27
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047321
qwen/qwen3.7-plus
awkweave-0047322
Count all input records and print the total.
END{print NR}
kim 67 farah 11 ivan 51 alice 41 dina 44 hana 93 chen 12 bruno 51
8
ivan 70 farah 71 lina 83 alice 6 ivan 112 chen 32
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047322-p1
Determine the total number of input records and print this count.
END{print NR}
kim 67 farah 11 ivan 51 alice 41 dina 44 hana 93 chen 12 bruno 51
8
ivan 70 farah 71 lina 83 alice 6 ivan 112 chen 32
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047322
qwen/qwen3.7-plus
awkweave-0047323
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina indigo 102 ivan fable 72 hana juniper 58 jules grove 0 lina grove 37 ivan indigo 113 lina grove 37 farah grove 85
dina indigo 102 ivan fable 72 hana juniper 58 jules grove 0 lina grove 37 ivan indigo 113 farah grove 85
jules harbor 5 lina delta 47 farah grove 36 eli fable 44 lina cobalt 36 gus harbor 7 kim ember 81 kim ember 81 eli ember 64 alice birch 91
jules harbor 5 lina delta 47 farah grove 36 eli fable 44 lina cobalt 36 gus harbor 7 kim ember 81 eli ember 64 alice birch 91
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047323-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
dina indigo 102 ivan fable 72 hana juniper 58 jules grove 0 lina grove 37 ivan indigo 113 lina grove 37 farah grove 85
dina indigo 102 ivan fable 72 hana juniper 58 jules grove 0 lina grove 37 ivan indigo 113 farah grove 85
jules harbor 5 lina delta 47 farah grove 36 eli fable 44 lina cobalt 36 gus harbor 7 kim ember 81 kim ember 81 eli ember 64 alice birch 91
jules harbor 5 lina delta 47 farah grove 36 eli fable 44 lina cobalt 36 gus harbor 7 kim ember 81 eli ember 64 alice birch 91
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047323
qwen/qwen3.7-plus
awkweave-0047324
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
hana juniper 69 dina grove 10 farah indigo 21 bruno indigo 82 bruno harbor 78 eli grove 69 chen indigo 115 ivan delta 59
hana juniper 69 dina grove 10 farah indigo 21 bruno indigo 82 bruno harbor 78 chen indigo 115 ivan delta 59
farah ember 58 farah birch 59 eli amber 8 kim amber 93 farah grove 81 chen delta 92 kim birch 86 jules cobalt 52 eli ember 111 gus cobalt 57
farah ember 58 farah birch 59 eli amber 8 kim amber 93 farah grove 81 chen delta 92 kim birch 86 jules cobalt 52 eli ember 111 gus cobalt 57
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047324-p1
Retain only the initial line for every unique value in the third column, ensuring the original input order is preserved.
!seen[$3]++
hana juniper 69 dina grove 10 farah indigo 21 bruno indigo 82 bruno harbor 78 eli grove 69 chen indigo 115 ivan delta 59
hana juniper 69 dina grove 10 farah indigo 21 bruno indigo 82 bruno harbor 78 chen indigo 115 ivan delta 59
farah ember 58 farah birch 59 eli amber 8 kim amber 93 farah grove 81 chen delta 92 kim birch 86 jules cobalt 52 eli ember 111 gus cobalt 57
farah ember 58 farah birch 59 eli amber 8 kim amber 93 farah grove 81 chen delta 92 kim birch 86 jules cobalt 52 eli ember 111 gus cobalt 57
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047324
qwen/qwen3.7-plus
awkweave-0047325
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 6 harbor gus 1 delta gus 25 ember chen 9 fable gus 19 indigo lina 14 cobalt hana 22 grove hana 7 cobalt hana 5 ember ivan 18 harbor
dina 6 gus 7 gus 32 chen 41 gus 60 lina 74 hana 96 hana 103 hana 108 ivan 126
hana 9 delta chen 26 indigo bruno 22 indigo kim 27 amber lina 23 ember gus 12 juniper lina 6 harbor
hana 9 chen 35 bruno 57 kim 84 lina 107 gus 119 lina 125
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047325-p1
For each entry, output the first column value alongside the cumulative sum of the second column, using a space as the delimiter.
{s+=$2;print $1,s}
dina 6 harbor gus 1 delta gus 25 ember chen 9 fable gus 19 indigo lina 14 cobalt hana 22 grove hana 7 cobalt hana 5 ember ivan 18 harbor
dina 6 gus 7 gus 32 chen 41 gus 60 lina 74 hana 96 hana 103 hana 108 ivan 126
hana 9 delta chen 26 indigo bruno 22 indigo kim 27 amber lina 23 ember gus 12 juniper lina 6 harbor
hana 9 chen 35 bruno 57 kim 84 lina 107 gus 119 lina 125
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047325
qwen/qwen3.7-plus
awkweave-0047326
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 29 19 cobalt alice 11 5 ember jules 26 15 indigo gus 28 12 grove bruno 11 3 cobalt chen 7 16 fable hana 28 17 fable farah 28 18 indigo
farah 48 alice 16 jules 41 gus 40 bruno 14 chen 23 hana 45 farah 46
chen 5 12 grove bruno 17 22 amber chen 7 21 fable gus 5 30 ember eli 12 16 birch ivan 23 24 harbor farah 2 27 ember lina 10 30 birch kim 7 6 delta bruno 24 6 juniper
chen 17 bruno 39 chen 28 gus 35 eli 28 ivan 47 farah 29 lina 40 kim 13 bruno 30
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047326-p1
For every row, output the first field followed by the combined sum of the second and third fields.
{print $1,$2+$3}
farah 29 19 cobalt alice 11 5 ember jules 26 15 indigo gus 28 12 grove bruno 11 3 cobalt chen 7 16 fable hana 28 17 fable farah 28 18 indigo
farah 48 alice 16 jules 41 gus 40 bruno 14 chen 23 hana 45 farah 46
chen 5 12 grove bruno 17 22 amber chen 7 21 fable gus 5 30 ember eli 12 16 birch ivan 23 24 harbor farah 2 27 ember lina 10 30 birch kim 7 6 delta bruno 24 6 juniper
chen 17 bruno 39 chen 28 gus 35 eli 28 ivan 47 farah 29 lina 40 kim 13 bruno 30
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047326
qwen/qwen3.7-plus
awkweave-0047327
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
alice 25 gus 10 chen 4 dina 25 bruno 9 lina 19 ivan 27
alice pass gus fail chen fail dina pass bruno fail lina fail ivan pass
jules 13 gus 5 hana 18 chen 3 jules 10 kim 17 jules 22 alice 28 eli 17
jules fail gus fail hana fail chen fail jules fail kim fail jules pass alice pass eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047327-p1
Display the first column; if the second column value is 20 or higher, append 'pass', otherwise append 'fail'.
{print $1,($2>=20?"pass":"fail")}
alice 25 gus 10 chen 4 dina 25 bruno 9 lina 19 ivan 27
alice pass gus fail chen fail dina pass bruno fail lina fail ivan pass
jules 13 gus 5 hana 18 chen 3 jules 10 kim 17 jules 22 alice 28 eli 17
jules fail gus fail hana fail chen fail jules fail kim fail jules pass alice pass eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047327
qwen/qwen3.7-plus
awkweave-0047328
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice amber 87 lina indigo 85 eli ember 108 farah ember 0 ivan amber 28 hana ember 120 lina juniper 98 lina indigo 91 lina cobalt 24 jules ember 108
AMBER INDIGO EMBER EMBER AMBER EMBER JUNIPER INDIGO COBALT EMBER
gus fable 42 ivan juniper 62 farah fable 116 ivan fable 27 hana indigo 105 jules juniper 12
FABLE JUNIPER FABLE FABLE INDIGO JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047328-p1
Transform the content of the second column to uppercase letters and print only this modified column.
{print toupper($2)}
alice amber 87 lina indigo 85 eli ember 108 farah ember 0 ivan amber 28 hana ember 120 lina juniper 98 lina indigo 91 lina cobalt 24 jules ember 108
AMBER INDIGO EMBER EMBER AMBER EMBER JUNIPER INDIGO COBALT EMBER
gus fable 42 ivan juniper 62 farah fable 116 ivan fable 27 hana indigo 105 jules juniper 12
FABLE JUNIPER FABLE FABLE INDIGO JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047328
qwen/qwen3.7-plus
awkweave-0047329
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
fable 76 grove 55 ember 56 fable 56 amber 54 cobalt 96 delta 103 juniper 44 indigo 64
abl rov mbe abl mbe oba elt uni ndi
cobalt 12 delta 8 grove 64 harbor 8 delta 81 grove 29
oba elt rov arb elt rov
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047329-p1
Extract and print a substring of length 3 from the first column, beginning at the second character.
{print substr($1,2,3)}
fable 76 grove 55 ember 56 fable 56 amber 54 cobalt 96 delta 103 juniper 44 indigo 64
abl rov mbe abl mbe oba elt uni ndi
cobalt 12 delta 8 grove 64 harbor 8 delta 81 grove 29
oba elt rov arb elt rov
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047329
qwen/qwen3.7-plus
awkweave-0047330
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 68 cobalt_harbor 55 grove_juniper 84 fable_juniper 104 harbor_birch 56 grove_juniper 119 juniper_delta 60
delta cobalt cobalt harbor grove juniper fable juniper harbor birch grove juniper juniper delta
grove_harbor 22 cobalt_grove 44 indigo_indigo 64 juniper_ember 73 juniper_ember 102 birch_juniper 69 indigo_grove 12 birch_cobalt 39 indigo_indigo 49 cobalt_ember 66
grove harbor cobalt grove indigo indigo juniper ember juniper ember birch juniper indigo grove birch cobalt indigo indigo cobalt ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047330-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 68 cobalt_harbor 55 grove_juniper 84 fable_juniper 104 harbor_birch 56 grove_juniper 119 juniper_delta 60
delta cobalt cobalt harbor grove juniper fable juniper harbor birch grove juniper juniper delta
grove_harbor 22 cobalt_grove 44 indigo_indigo 64 juniper_ember 73 juniper_ember 102 birch_juniper 69 indigo_grove 12 birch_cobalt 39 indigo_indigo 49 cobalt_ember 66
grove harbor cobalt grove indigo indigo juniper ember juniper ember birch juniper indigo grove birch cobalt indigo indigo cobalt ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047330
qwen/qwen3.7-plus
awkweave-0047331
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)}
jules birch 111 failed ivan amber 79 failed jules grove 71 paused eli birch 103 pending kim amber 25 ready gus indigo 31 ready hana amber 118 ready kim grove 17 failed ivan harbor 101 active chen cobalt 49 paused
failed 111 birch jules failed 79 amber ivan paused 71 grove jules pending 103 birch eli ready 25 amber kim ready 31 indigo gus ready 118 amber hana failed 17 grove kim active 101 harbor ivan paused 49 cobalt chen
farah birch 70 ready ivan indigo 52 pending kim harbor 72 active eli birch 117 ready dina indigo 80 pending jules fable 71 pending gus harbor 49 closed
ready 70 birch farah pending 52 indigo ivan active 72 harbor kim ready 117 birch eli pending 80 indigo dina pending 71 fable jules closed 49 harbor gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047331-p1
Reverse the sequence of fields for each line and display every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules birch 111 failed ivan amber 79 failed jules grove 71 paused eli birch 103 pending kim amber 25 ready gus indigo 31 ready hana amber 118 ready kim grove 17 failed ivan harbor 101 active chen cobalt 49 paused
failed 111 birch jules failed 79 amber ivan paused 71 grove jules pending 103 birch eli ready 25 amber kim ready 31 indigo gus ready 118 amber hana failed 17 grove kim active 101 harbor ivan paused 49 cobalt chen
farah birch 70 ready ivan indigo 52 pending kim harbor 72 active eli birch 117 ready dina indigo 80 pending jules fable 71 pending gus harbor 49 closed
ready 70 birch farah pending 52 indigo ivan active 72 harbor kim ready 117 birch eli pending 80 indigo dina pending 71 fable jules closed 49 harbor gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047331
qwen/qwen3.7-plus
awkweave-0047332
Print the number of whitespace-separated fields on each line.
{print NF}
gus delta 2 pending gus fable 22 active chen harbor 95 closed eli indigo 24 active farah delta 6 active chen ember 117 paused kim amber 75 closed gus delta 15 paused
4 4 4 4 4 4 4 4
alice ember 17 active kim harbor 116 closed gus fable 46 failed jules juniper 10 active lina grove 9 paused lina juniper 75 paused jules juniper 97 failed lina grove 65 closed
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null