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-0013110-p1
Print every line that does not contain the exact string 'cobalt'.
$0 !~ /cobalt/
birch 9 closed harbor 70 failed grove 33 active grove 52 pending cobalt 72 active grove 108 closed cobalt 999 active
birch 9 closed harbor 70 failed grove 33 active grove 52 pending grove 108 closed
delta 42 ready indigo 35 active indigo 29 failed indigo 4 closed delta 77 paused amber 59 pending cobalt 117 closed juniper 5 paused grove 25 active cobalt 999 active
delta 42 ready indigo 35 active indigo 29 failed indigo 4 closed delta 77 paused amber 59 pending juniper 5 paused grove 25 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013110
qwen/qwen3.7-plus
awkweave-0013111
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
hana grove 60 gus juniper 20 alice fable 7 kim amber 41 chen delta 26 dina cobalt 42 eli grove 69 eli juniper 15 jules ember 49
kim amber 41 chen delta 26 dina cobalt 42
eli harbor 77 eli fable 61 eli indigo 34 lina cobalt 120 farah birch 49 kim ember 45 farah delta 86 dina amber 56 jules birch 107 dina amber 89
lina cobalt 120 farah birch 49 kim ember 45
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013111-p1
Output lines 4 through 6, inclusive of both the start and end lines.
NR >= 4 && NR <= 6
hana grove 60 gus juniper 20 alice fable 7 kim amber 41 chen delta 26 dina cobalt 42 eli grove 69 eli juniper 15 jules ember 49
kim amber 41 chen delta 26 dina cobalt 42
eli harbor 77 eli fable 61 eli indigo 34 lina cobalt 120 farah birch 49 kim ember 45 farah delta 86 dina amber 56 jules birch 107 dina amber 89
lina cobalt 120 farah birch 49 kim ember 45
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013111
qwen/qwen3.7-plus
awkweave-0013112
Output only the first 3 records.
NR <= 3
kim 64 juniper dina 84 ember ivan 81 amber gus 29 ember gus 9 birch eli 78 amber gus 67 cobalt jules 94 indigo alice 75 birch lina 46 harbor
kim 64 juniper dina 84 ember ivan 81 amber
dina 51 ember jules 107 cobalt hana 49 grove dina 93 grove gus 17 juniper bruno 10 fable bruno 70 juniper lina 0 birch
dina 51 ember jules 107 cobalt hana 49 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013112-p1
Display only the first three records from the input.
NR <= 3
kim 64 juniper dina 84 ember ivan 81 amber gus 29 ember gus 9 birch eli 78 amber gus 67 cobalt jules 94 indigo alice 75 birch lina 46 harbor
kim 64 juniper dina 84 ember ivan 81 amber
dina 51 ember jules 107 cobalt hana 49 grove dina 93 grove gus 17 juniper bruno 10 fable bruno 70 juniper lina 0 birch
dina 51 ember jules 107 cobalt hana 49 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013112
qwen/qwen3.7-plus
awkweave-0013113
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 32 juniper lina 79 cobalt dina 119 fable gus 41 harbor ivan 68 harbor alice 114 harbor lina 110 ember
lina 79 cobalt dina 119 fable gus 41 harbor ivan 68 harbor alice 114 harbor lina 110 ember
ivan 50 delta hana 60 grove hana 89 fable alice 52 indigo farah 8 grove gus 21 ember
hana 60 grove hana 89 fable alice 52 indigo farah 8 grove gus 21 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013113-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
bruno 32 juniper lina 79 cobalt dina 119 fable gus 41 harbor ivan 68 harbor alice 114 harbor lina 110 ember
lina 79 cobalt dina 119 fable gus 41 harbor ivan 68 harbor alice 114 harbor lina 110 ember
ivan 50 delta hana 60 grove hana 89 fable alice 52 indigo farah 8 grove gus 21 ember
hana 60 grove hana 89 fable alice 52 indigo farah 8 grove gus 21 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013113
qwen/qwen3.7-plus
awkweave-0013114
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
lina failed 92 chen ready 119 bruno paused 42 eli active 100 jules failed 33 ivan closed 3 jules closed 34 kim closed 82 farah paused 32
0
chen paused 20 eli pending 79 alice failed 45 jules active 47 jules failed 115 alice failed 40 dina failed 34
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013114-p1
Count the number of records where the second column is 'pending', outputting 0 if no matches are found.
$2 == "pending"{n++}END{print n+0}
lina failed 92 chen ready 119 bruno paused 42 eli active 100 jules failed 33 ivan closed 3 jules closed 34 kim closed 82 farah paused 32
0
chen paused 20 eli pending 79 alice failed 45 jules active 47 jules failed 115 alice failed 40 dina failed 34
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013114
qwen/qwen3.7-plus
awkweave-0013115
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
29 grove chen 30 fable farah 6 grove alice 30 delta kim 20 indigo alice 1 harbor alice 29 ember gus 5 grove kim 23 birch eli
173
15 ember alice 8 juniper lina 24 indigo kim 17 birch jules 1 juniper chen 30 indigo chen 18 harbor alice 16 birch eli 26 delta eli
155
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013115-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
29 grove chen 30 fable farah 6 grove alice 30 delta kim 20 indigo alice 1 harbor alice 29 ember gus 5 grove kim 23 birch eli
173
15 ember alice 8 juniper lina 24 indigo kim 17 birch jules 1 juniper chen 30 indigo chen 18 harbor alice 16 birch eli 26 delta eli
155
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013115
qwen/qwen3.7-plus
awkweave-0013116
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
21 gus indigo 30 kim delta 30 hana harbor 20 bruno delta 11 chen fable 16 gus indigo 4 ivan cobalt 11 eli birch 13 farah amber 10 jules cobalt
16.60
6 alice delta 17 jules amber 28 chen juniper 23 hana birch 21 eli cobalt 10 bruno grove
17.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013116-p1
Calculate the average of the values in the first column and print it rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
21 gus indigo 30 kim delta 30 hana harbor 20 bruno delta 11 chen fable 16 gus indigo 4 ivan cobalt 11 eli birch 13 farah amber 10 jules cobalt
16.60
6 alice delta 17 jules amber 28 chen juniper 23 hana birch 21 eli cobalt 10 bruno grove
17.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013116
qwen/qwen3.7-plus
awkweave-0013117
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
hana juniper 19 jules birch 30 lina ember 24 jules amber 23 ivan juniper 10 gus birch 25 lina ember 20 chen cobalt 29 lina harbor 29
10
lina juniper 18 hana delta 6 alice amber 15 ivan delta 25 hana birch 2 farah ember 29 chen amber 27 gus fable 10 eli fable 21
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013117-p1
Identify and output the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
hana juniper 19 jules birch 30 lina ember 24 jules amber 23 ivan juniper 10 gus birch 25 lina ember 20 chen cobalt 29 lina harbor 29
10
lina juniper 18 hana delta 6 alice amber 15 ivan delta 25 hana birch 2 farah ember 29 chen amber 27 gus fable 10 eli fable 21
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013117
qwen/qwen3.7-plus
awkweave-0013118
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 ember bruno 29 fable dina 11 ember lina 17 ember bruno 12 ember hana 3 ember kim 1 amber lina 13 birch lina 6 ember chen
29
5 juniper farah 18 cobalt eli 2 grove ivan 28 harbor chen 25 cobalt eli 10 harbor bruno 8 cobalt hana 12 indigo farah 1 cobalt alice
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013118-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 ember bruno 29 fable dina 11 ember lina 17 ember bruno 12 ember hana 3 ember kim 1 amber lina 13 birch lina 6 ember chen
29
5 juniper farah 18 cobalt eli 2 grove ivan 28 harbor chen 25 cobalt eli 10 harbor bruno 8 cobalt hana 12 indigo farah 1 cobalt alice
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013118
qwen/qwen3.7-plus
awkweave-0013119
Count all input records and print the total.
END{print NR}
farah 110 ivan 113 eli 81 farah 44 gus 99 kim 59 chen 2 alice 23 jules 77 lina 13
10
lina 80 bruno 75 hana 44 bruno 113 dina 63 eli 85 lina 91
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013119-p1
Calculate the total number of input records and display the count.
END{print NR}
farah 110 ivan 113 eli 81 farah 44 gus 99 kim 59 chen 2 alice 23 jules 77 lina 13
10
lina 80 bruno 75 hana 44 bruno 113 dina 63 eli 85 lina 91
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013119
qwen/qwen3.7-plus
awkweave-0013120
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice juniper 88 eli birch 37 dina grove 10 dina birch 70 kim indigo 69 dina grove 10 chen indigo 41
alice juniper 88 eli birch 37 dina grove 10 dina birch 70 kim indigo 69 chen indigo 41
eli juniper 4 hana juniper 71 jules juniper 72 kim grove 83 farah juniper 52 jules juniper 72 farah grove 107 kim cobalt 62 hana birch 57 kim delta 104
eli juniper 4 hana juniper 71 jules juniper 72 kim grove 83 farah juniper 52 farah grove 107 kim cobalt 62 hana birch 57 kim delta 104
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013120-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice juniper 88 eli birch 37 dina grove 10 dina birch 70 kim indigo 69 dina grove 10 chen indigo 41
alice juniper 88 eli birch 37 dina grove 10 dina birch 70 kim indigo 69 chen indigo 41
eli juniper 4 hana juniper 71 jules juniper 72 kim grove 83 farah juniper 52 jules juniper 72 farah grove 107 kim cobalt 62 hana birch 57 kim delta 104
eli juniper 4 hana juniper 71 jules juniper 72 kim grove 83 farah juniper 52 farah grove 107 kim cobalt 62 hana birch 57 kim delta 104
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013120
qwen/qwen3.7-plus
awkweave-0013121
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
eli birch 64 alice ember 28 hana harbor 62 kim birch 21 alice birch 120 kim delta 32
eli birch 64 alice ember 28 hana harbor 62 kim birch 21 alice birch 120 kim delta 32
dina delta 3 ivan indigo 100 alice fable 30 gus amber 58 eli birch 24 bruno fable 39 farah cobalt 12 jules indigo 39 chen amber 101
dina delta 3 ivan indigo 100 alice fable 30 gus amber 58 eli birch 24 bruno fable 39 farah cobalt 12 chen amber 101
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013121-p1
Retain only the initial line for every unique value in the third column, keeping the input order intact.
!seen[$3]++
eli birch 64 alice ember 28 hana harbor 62 kim birch 21 alice birch 120 kim delta 32
eli birch 64 alice ember 28 hana harbor 62 kim birch 21 alice birch 120 kim delta 32
dina delta 3 ivan indigo 100 alice fable 30 gus amber 58 eli birch 24 bruno fable 39 farah cobalt 12 jules indigo 39 chen amber 101
dina delta 3 ivan indigo 100 alice fable 30 gus amber 58 eli birch 24 bruno fable 39 farah cobalt 12 chen amber 101
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013121
qwen/qwen3.7-plus
awkweave-0013122
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 23 birch kim 10 ember dina 3 grove alice 29 birch hana 26 fable lina 19 juniper lina 29 grove lina 13 delta farah 19 delta
bruno 23 kim 33 dina 36 alice 65 hana 91 lina 110 lina 139 lina 152 farah 171
lina 3 delta ivan 4 juniper eli 6 cobalt hana 2 delta bruno 8 delta chen 21 cobalt alice 26 delta bruno 24 cobalt dina 20 indigo
lina 3 ivan 7 eli 13 hana 15 bruno 23 chen 44 alice 70 bruno 94 dina 114
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013122-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
bruno 23 birch kim 10 ember dina 3 grove alice 29 birch hana 26 fable lina 19 juniper lina 29 grove lina 13 delta farah 19 delta
bruno 23 kim 33 dina 36 alice 65 hana 91 lina 110 lina 139 lina 152 farah 171
lina 3 delta ivan 4 juniper eli 6 cobalt hana 2 delta bruno 8 delta chen 21 cobalt alice 26 delta bruno 24 cobalt dina 20 indigo
lina 3 ivan 7 eli 13 hana 15 bruno 23 chen 44 alice 70 bruno 94 dina 114
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013122
qwen/qwen3.7-plus
awkweave-0013123
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 5 22 amber hana 4 15 delta jules 10 30 harbor hana 28 18 indigo jules 5 6 harbor bruno 10 24 fable gus 26 23 birch
lina 27 hana 19 jules 40 hana 46 jules 11 bruno 34 gus 49
chen 1 22 delta farah 13 5 fable jules 5 2 delta alice 9 14 birch eli 15 20 delta chen 7 2 amber kim 21 25 harbor
chen 23 farah 18 jules 7 alice 23 eli 35 chen 9 kim 46
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013123-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
lina 5 22 amber hana 4 15 delta jules 10 30 harbor hana 28 18 indigo jules 5 6 harbor bruno 10 24 fable gus 26 23 birch
lina 27 hana 19 jules 40 hana 46 jules 11 bruno 34 gus 49
chen 1 22 delta farah 13 5 fable jules 5 2 delta alice 9 14 birch eli 15 20 delta chen 7 2 amber kim 21 25 harbor
chen 23 farah 18 jules 7 alice 23 eli 35 chen 9 kim 46
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013123
qwen/qwen3.7-plus
awkweave-0013124
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
ivan 20 eli 17 farah 4 lina 19 farah 1 lina 25 hana 7
ivan fail eli fail farah fail lina fail farah fail lina pass hana fail
kim 5 ivan 6 dina 1 eli 18 chen 20 gus 22
kim fail ivan fail dina fail eli fail chen fail gus pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013124-p1
Output the first column and print 'pass' if the second column is 22 or greater; otherwise, print 'fail'.
{print $1,($2>=22?"pass":"fail")}
ivan 20 eli 17 farah 4 lina 19 farah 1 lina 25 hana 7
ivan fail eli fail farah fail lina fail farah fail lina pass hana fail
kim 5 ivan 6 dina 1 eli 18 chen 20 gus 22
kim fail ivan fail dina fail eli fail chen fail gus pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013124
qwen/qwen3.7-plus
awkweave-0013125
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina ember 16 eli delta 111 lina delta 66 kim grove 103 eli harbor 5 jules fable 84 farah fable 28 alice cobalt 17
DINA ELI LINA KIM ELI JULES FARAH ALICE
hana amber 8 bruno juniper 29 ivan delta 45 farah birch 108 eli birch 43 dina grove 15 alice grove 115 eli amber 63 kim juniper 44 ivan delta 24
HANA BRUNO IVAN FARAH ELI DINA ALICE ELI KIM IVAN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013125-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
dina ember 16 eli delta 111 lina delta 66 kim grove 103 eli harbor 5 jules fable 84 farah fable 28 alice cobalt 17
DINA ELI LINA KIM ELI JULES FARAH ALICE
hana amber 8 bruno juniper 29 ivan delta 45 farah birch 108 eli birch 43 dina grove 15 alice grove 115 eli amber 63 kim juniper 44 ivan delta 24
HANA BRUNO IVAN FARAH ELI DINA ALICE ELI KIM IVAN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013125
qwen/qwen3.7-plus
awkweave-0013126
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
grove 15 juniper 13 harbor 34 grove 115 birch 120 indigo 70
rov uni arb rov irc ndi
juniper 16 harbor 95 harbor 5 grove 78 ember 15 cobalt 80 delta 52 cobalt 92
uni arb arb rov mbe oba elt oba
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013126-p1
Extract and print a 3-character substring from the first column, starting at the second character.
{print substr($1,2,3)}
grove 15 juniper 13 harbor 34 grove 115 birch 120 indigo 70
rov uni arb rov irc ndi
juniper 16 harbor 95 harbor 5 grove 78 ember 15 cobalt 80 delta 52 cobalt 92
uni arb arb rov mbe oba elt oba
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013126
qwen/qwen3.7-plus
awkweave-0013127
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_grove 32 cobalt_birch 97 juniper_grove 34 juniper_delta 112 harbor_ember 83 juniper_juniper 114 amber_harbor 100 birch_cobalt 89 harbor_delta 49 ember_grove 39
fable grove cobalt birch juniper grove juniper delta harbor ember juniper juniper amber harbor birch cobalt harbor delta ember grove
indigo_fable 55 juniper_grove 108 delta_ember 37 amber_harbor 88 harbor_birch 77 ember_delta 114 grove_amber 13 cobalt_cobalt 96
indigo fable juniper grove delta ember amber harbor harbor birch ember delta grove amber cobalt cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013127-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
fable_grove 32 cobalt_birch 97 juniper_grove 34 juniper_delta 112 harbor_ember 83 juniper_juniper 114 amber_harbor 100 birch_cobalt 89 harbor_delta 49 ember_grove 39
fable grove cobalt birch juniper grove juniper delta harbor ember juniper juniper amber harbor birch cobalt harbor delta ember grove
indigo_fable 55 juniper_grove 108 delta_ember 37 amber_harbor 88 harbor_birch 77 ember_delta 114 grove_amber 13 cobalt_cobalt 96
indigo fable juniper grove delta ember amber harbor harbor birch ember delta grove amber cobalt cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013127
qwen/qwen3.7-plus
awkweave-0013128
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)}
farah harbor 58 paused dina delta 10 pending bruno harbor 10 pending kim indigo 73 active dina grove 54 active dina juniper 83 ready gus amber 36 failed
paused 58 harbor farah pending 10 delta dina pending 10 harbor bruno active 73 indigo kim active 54 grove dina ready 83 juniper dina failed 36 amber gus
dina amber 16 failed ivan indigo 119 failed gus indigo 4 pending gus fable 60 closed dina birch 89 active jules birch 116 pending dina ember 95 active dina harbor 43 failed eli juniper 72 failed
failed 16 amber dina failed 119 indigo ivan pending 4 indigo gus closed 60 fable gus active 89 birch dina pending 116 birch jules active 95 ember dina failed 43 harbor dina failed 72 juniper eli
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013128-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
farah harbor 58 paused dina delta 10 pending bruno harbor 10 pending kim indigo 73 active dina grove 54 active dina juniper 83 ready gus amber 36 failed
paused 58 harbor farah pending 10 delta dina pending 10 harbor bruno active 73 indigo kim active 54 grove dina ready 83 juniper dina failed 36 amber gus
dina amber 16 failed ivan indigo 119 failed gus indigo 4 pending gus fable 60 closed dina birch 89 active jules birch 116 pending dina ember 95 active dina harbor 43 failed eli juniper 72 failed
failed 16 amber dina failed 119 indigo ivan pending 4 indigo gus closed 60 fable gus active 89 birch dina pending 116 birch jules active 95 ember dina failed 43 harbor dina failed 72 juniper eli
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013128
qwen/qwen3.7-plus
awkweave-0013129
Print the number of whitespace-separated fields on each line.
{print NF}
alice grove 61 active hana birch 80 paused dina juniper 113 closed jules birch 31 ready dina delta 5 closed hana juniper 69 closed gus indigo 47 failed kim indigo 46 paused eli harbor 57 closed kim delta 95 failed
4 4 4 4 4 4 4 4 4 4
eli juniper 23 active ivan amber 111 ready jules fable 114 ready farah harbor 45 failed hana grove 77 failed alice birch 78 ready farah birch 28 closed alice fable 99 failed kim grove 100 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013129-p1
Display the count of whitespace-delimited fields for each line.
{print NF}
alice grove 61 active hana birch 80 paused dina juniper 113 closed jules birch 31 ready dina delta 5 closed hana juniper 69 closed gus indigo 47 failed kim indigo 46 paused eli harbor 57 closed kim delta 95 failed
4 4 4 4 4 4 4 4 4 4
eli juniper 23 active ivan amber 111 ready jules fable 114 ready farah harbor 45 failed hana grove 77 failed alice birch 78 ready farah birch 28 closed alice fable 99 failed kim grove 100 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013129
qwen/qwen3.7-plus
awkweave-0013130
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
dina beta 28 alice alpha 70 kim delta 41 eli delta 57 chen alpha 46 jules delta 104 hana gamma 40 bruno delta 57 hana beta 117
beta 2 alpha 2 delta 4 gamma 1
gus alpha 8 alice beta 87 jules alpha 93 lina beta 85 hana delta 64 dina alpha 53 farah delta 109 kim gamma 79 chen beta 115
alpha 3 beta 3 delta 2 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013130-p1
Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
dina beta 28 alice alpha 70 kim delta 41 eli delta 57 chen alpha 46 jules delta 104 hana gamma 40 bruno delta 57 hana beta 117
beta 2 alpha 2 delta 4 gamma 1
gus alpha 8 alice beta 87 jules alpha 93 lina beta 85 hana delta 64 dina alpha 53 farah delta 109 kim gamma 79 chen beta 115
alpha 3 beta 3 delta 2 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013130
qwen/qwen3.7-plus
awkweave-0013131
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
jules alpha 5 bruno beta 5 dina delta 23 eli gamma 20 alice gamma 4 lina beta 15 bruno gamma 6 eli delta 19 bruno alpha 30 eli gamma 1
alpha 35 beta 20 delta 42 gamma 31
chen beta 25 bruno beta 22 farah delta 15 ivan delta 17 eli alpha 7 farah beta 6
beta 53 delta 32 alpha 7
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013131-p1
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
jules alpha 5 bruno beta 5 dina delta 23 eli gamma 20 alice gamma 4 lina beta 15 bruno gamma 6 eli delta 19 bruno alpha 30 eli gamma 1
alpha 35 beta 20 delta 42 gamma 31
chen beta 25 bruno beta 22 farah delta 15 ivan delta 17 eli alpha 7 farah beta 6
beta 53 delta 32 alpha 7
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0013131
qwen/qwen3.7-plus
awkweave-0013132
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta amber 21 delta indigo 80 beta harbor 74 delta cobalt 12 beta juniper 40 alpha cobalt 77 gamma birch 10 beta grove 116 alpha juniper 58 delta harbor 110
beta 4 delta 3 alpha 2
alpha ember 96 beta grove 100 beta delta 79 delta delta 85 alpha harbor 54 alpha fable 86 alpha indigo 20 beta ember 48 delta grove 106
alpha 4 beta 3 delta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013132-p1
Identify values in column 1 that appear more than once, then list each repeated value with its total occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta amber 21 delta indigo 80 beta harbor 74 delta cobalt 12 beta juniper 40 alpha cobalt 77 gamma birch 10 beta grove 116 alpha juniper 58 delta harbor 110
beta 4 delta 3 alpha 2
alpha ember 96 beta grove 100 beta delta 79 delta delta 85 alpha harbor 54 alpha fable 86 alpha indigo 20 beta ember 48 delta grove 106
alpha 4 beta 3 delta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013132
qwen/qwen3.7-plus
awkweave-0013133
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
score region record_id display_name r001 alice 30 failed r002 kim 13 pending r003 farah 25 closed r004 eli 11 paused r005 chen 13 ready r006 lina 27 closed r007 ivan 24 failed r008 bruno 13 failed r009 dina 10 paused
30 13 25 11 13 27 24 13 10
score region record_id display_name r001 lina 8 active r002 farah 15 paused r003 bruno 19 pending r004 farah 5 closed r005 dina 8 ready r006 gus 25 pending r007 dina 2 ready
8 15 19 5 8 25 2
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013133-p1
Treating the first line as a header, extract and print the record_id field from all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
score region record_id display_name r001 alice 30 failed r002 kim 13 pending r003 farah 25 closed r004 eli 11 paused r005 chen 13 ready r006 lina 27 closed r007 ivan 24 failed r008 bruno 13 failed r009 dina 10 paused
30 13 25 11 13 27 24 13 10
score region record_id display_name r001 lina 8 active r002 farah 15 paused r003 bruno 19 pending r004 farah 5 closed r005 dina 8 ready r006 gus 25 pending r007 dina 2 ready
8 15 19 5 8 25 2
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013133
qwen/qwen3.7-plus
awkweave-0013134
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 jules 29 ready r002 bruno 29 active r003 eli 1 closed r004 eli 19 closed r005 lina 8 closed r006 alice 15 failed
jules bruno eli alice
record_id display_name score state r001 eli 6 active r002 chen 2 paused r003 ivan 29 pending r004 lina 1 closed r005 gus 10 closed r006 ivan 29 failed r007 jules 15 paused r008 jules 23 closed
ivan ivan jules jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013134-p1
Ignoring the header row, output the display_name field for any data row where the score value is strictly greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 jules 29 ready r002 bruno 29 active r003 eli 1 closed r004 eli 19 closed r005 lina 8 closed r006 alice 15 failed
jules bruno eli alice
record_id display_name score state r001 eli 6 active r002 chen 2 paused r003 ivan 29 pending r004 lina 1 closed r005 gus 10 closed r006 ivan 29 failed r007 jules 15 paused r008 jules 23 closed
ivan ivan jules jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013134
qwen/qwen3.7-plus
awkweave-0013135
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 13 closed farah 21 active farah 21 paused kim 20 pending kim 30 active alice 3 closed farah 24 failed farah 13 paused farah 12 ready
lina farah farah kim kim alice farah farah farah
lina 26 failed gus 6 paused alice 22 failed kim 26 closed hana 23 closed ivan 15 ready bruno 23 ready kim 13 closed ivan 30 active lina 24 closed
lina gus alice kim hana ivan bruno kim ivan lina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013135-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 13 closed farah 21 active farah 21 paused kim 20 pending kim 30 active alice 3 closed farah 24 failed farah 13 paused farah 12 ready
lina farah farah kim kim alice farah farah farah
lina 26 failed gus 6 paused alice 22 failed kim 26 closed hana 23 closed ivan 15 ready bruno 23 ready kim 13 closed ivan 30 active lina 24 closed
lina gus alice kim hana ivan bruno kim ivan lina
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0013135
qwen/qwen3.7-plus
awkweave-0013136
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
kim,1,failed lina,21,failed lina,13,paused chen,5,paused ivan,18,closed ivan,15,failed gus,5,pending eli,18,closed
lina lina ivan ivan eli
alice,24,paused ivan,9,closed chen,16,active gus,17,paused dina,3,ready bruno,24,pending
alice chen gus bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013136-p1
For simple comma-separated input without quoted fields, print the first column only if the value in the second column is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
kim,1,failed lina,21,failed lina,13,paused chen,5,paused ivan,18,closed ivan,15,failed gus,5,pending eli,18,closed
lina lina ivan ivan eli
alice,24,paused ivan,9,closed chen,16,active gus,17,paused dina,3,ready bruno,24,pending
alice chen gus bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013136
qwen/qwen3.7-plus
awkweave-0013137
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah amber 104 bruno fable 108 lina ember 83 eli delta 25 eli harbor 49 dina juniper 51 ivan indigo 107 jules cobalt 119 hana fable 29
farah amber 104 bruno fable 108 lina ember 83 eli delta 25 eli harbor 49 dina juniper 51 ivan indigo 107 jules cobalt 119 hana fable 29
gus ember 17 alice ember 31 gus delta 73 eli cobalt 25 kim harbor 46 chen delta 25 bruno delta 107 lina ember 89 kim cobalt 25
gus ember 17 alice ember 31 gus delta 73 eli cobalt 25 kim harbor 46 chen delta 25 bruno delta 107 lina ember 89 kim cobalt 25
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013137-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
farah amber 104 bruno fable 108 lina ember 83 eli delta 25 eli harbor 49 dina juniper 51 ivan indigo 107 jules cobalt 119 hana fable 29
farah amber 104 bruno fable 108 lina ember 83 eli delta 25 eli harbor 49 dina juniper 51 ivan indigo 107 jules cobalt 119 hana fable 29
gus ember 17 alice ember 31 gus delta 73 eli cobalt 25 kim harbor 46 chen delta 25 bruno delta 107 lina ember 89 kim cobalt 25
gus ember 17 alice ember 31 gus delta 73 eli cobalt 25 kim harbor 46 chen delta 25 bruno delta 107 lina ember 89 kim cobalt 25
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013137
qwen/qwen3.7-plus
awkweave-0013138
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina ember 64 active gus ember 104 failed hana harbor 4 pending bruno grove 115 failed chen indigo 110 pending jules amber 24 paused ivan fable 31 failed lina fable 88 closed
chen indigo 110 pending
jules harbor 52 closed alice grove 62 failed gus grove 95 pending chen indigo 112 paused ivan indigo 109 active gus amber 18 ready
jules harbor 52 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013138-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina ember 64 active gus ember 104 failed hana harbor 4 pending bruno grove 115 failed chen indigo 110 pending jules amber 24 paused ivan fable 31 failed lina fable 88 closed
chen indigo 110 pending
jules harbor 52 closed alice grove 62 failed gus grove 95 pending chen indigo 112 paused ivan indigo 109 active gus amber 18 ready
jules harbor 52 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013138
qwen/qwen3.7-plus
awkweave-0013139
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
bruno 78 alice 41 gus 32 ivan 2 lina 96 lina 47 jules 107
alice 41 lina 47
kim 43 ivan 10 eli 85 kim 12 gus 44 dina 75 bruno 37 bruno 25 lina 33 ivan 80
ivan 10 dina 75 ivan 80
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013139-p1
Output every fourth line of the input, beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
bruno 78 alice 41 gus 32 ivan 2 lina 96 lina 47 jules 107
alice 41 lina 47
kim 43 ivan 10 eli 85 kim 12 gus 44 dina 75 bruno 37 bruno 25 lina 33 ivan 80
ivan 10 dina 75 ivan 80
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013139
qwen/qwen3.7-plus
awkweave-0013140
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha birch 106 alpha birch 102 gamma grove 114 beta indigo 13 alpha birch 68 delta indigo 52 beta juniper 26 alpha harbor 16 delta indigo 42
5
beta cobalt 106 alpha juniper 87 delta cobalt 56 alpha juniper 86 alpha fable 68 gamma fable 67 gamma grove 54
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013140-p1
Determine the number of unique values present in column 2 and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha birch 106 alpha birch 102 gamma grove 114 beta indigo 13 alpha birch 68 delta indigo 52 beta juniper 26 alpha harbor 16 delta indigo 42
5
beta cobalt 106 alpha juniper 87 delta cobalt 56 alpha juniper 86 alpha fable 68 gamma fable 67 gamma grove 54
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013140
qwen/qwen3.7-plus
awkweave-0013141
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}
kim 15 0 jules 9 29 bruno 20 15 ivan 23 29 kim 8 29 eli 5 10
jules 0.31 bruno 1.33 ivan 0.79 kim 0.28 eli 0.50
gus 16 0 lina 9 5 alice 29 3 chen 19 23 alice 20 13 dina 12 12
lina 1.80 alice 9.67 chen 0.83 alice 1.54 dina 1.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013141-p1
For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, omitting any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 15 0 jules 9 29 bruno 20 15 ivan 23 29 kim 8 29 eli 5 10
jules 0.31 bruno 1.33 ivan 0.79 kim 0.28 eli 0.50
gus 16 0 lina 9 5 alice 29 3 chen 19 23 alice 20 13 dina 12 12
lina 1.80 alice 9.67 chen 0.83 alice 1.54 dina 1.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013141
qwen/qwen3.7-plus
awkweave-0013142
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]}
ivan indigo 24 jules birch 6 hana harbor 2 gus delta 12 ivan birch 14 alice cobalt 4 gus indigo 30
gus indigo 30 ivan indigo 24 ivan birch 14
chen delta 8 chen amber 30 farah birch 28 dina grove 7 hana grove 1 dina grove 14 ivan amber 13 bruno grove 2 gus birch 24 bruno grove 3
chen amber 30 farah birch 28 gus birch 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013142-p1
Output the top 3 full records based on the highest numeric values in column 3, 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]}
ivan indigo 24 jules birch 6 hana harbor 2 gus delta 12 ivan birch 14 alice cobalt 4 gus indigo 30
gus indigo 30 ivan indigo 24 ivan birch 14
chen delta 8 chen amber 30 farah birch 28 dina grove 7 hana grove 1 dina grove 14 ivan amber 13 bruno grove 2 gus birch 24 bruno grove 3
chen amber 30 farah birch 28 gus birch 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013142
qwen/qwen3.7-plus
awkweave-0013143
Select the 6th and 2nd fields in that order.
{print $6, $2}
45 active juniper paused indigo juniper 23 pending cobalt paused amber ember 1 closed cobalt active juniper indigo 47 paused harbor failed harbor harbor 70 closed indigo pending birch amber 68 closed cobalt active indigo juniper 62 paused cobalt paused fable cobalt 32 paused grove failed cobalt birch 75 pending indigo ...
juniper active ember pending indigo closed harbor paused amber closed juniper closed cobalt paused birch paused indigo pending fable pending
99 closed cobalt paused ember fable 6 paused grove failed ember amber 58 ready harbor closed birch amber 35 pending juniper active ember birch 75 ready amber ready juniper birch 33 active grove paused amber birch 2 ready ember closed fable harbor 66 failed birch pending fable cobalt 92 closed grove active cobalt indigo...
fable closed amber paused amber ready birch pending birch ready birch active harbor ready cobalt failed indigo closed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013143-p1
Extract and display the 6th field followed by the 2nd field.
{print $6, $2}
45 active juniper paused indigo juniper 23 pending cobalt paused amber ember 1 closed cobalt active juniper indigo 47 paused harbor failed harbor harbor 70 closed indigo pending birch amber 68 closed cobalt active indigo juniper 62 paused cobalt paused fable cobalt 32 paused grove failed cobalt birch 75 pending indigo ...
juniper active ember pending indigo closed harbor paused amber closed juniper closed cobalt paused birch paused indigo pending fable pending
99 closed cobalt paused ember fable 6 paused grove failed ember amber 58 ready harbor closed birch amber 35 pending juniper active ember birch 75 ready amber ready juniper birch 33 active grove paused amber birch 2 ready ember closed fable harbor 66 failed birch pending fable cobalt 92 closed grove active cobalt indigo...
fable closed amber paused amber ready birch pending birch ready birch active harbor ready cobalt failed indigo closed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013143
qwen/qwen3.7-plus
awkweave-0013144
Print the last field of every input line.
{print $NF}
47 17 118 paused 60 84 75 ready 80 31 87 closed 16 120 10 paused 73 94 36 pending 23 69 79 ready
paused ready closed paused pending ready
76 0 77 failed 118 105 55 paused 118 66 47 closed 62 49 50 ready 115 53 108 closed 39 6 40 ready
failed paused closed ready closed ready
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013144-p1
Print the final field from each input line.
{print $NF}
47 17 118 paused 60 84 75 ready 80 31 87 closed 16 120 10 paused 73 94 36 pending 23 69 79 ready
paused ready closed paused pending ready
76 0 77 failed 118 105 55 paused 118 66 47 closed 62 49 50 ready 115 53 108 closed 39 6 40 ready
failed paused closed ready closed ready
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013144
qwen/qwen3.7-plus
awkweave-0013145
Print the complete records where column 2 is at least 63.
$2 >= 63
alice 88 harbor juniper eli 53 juniper cobalt jules 118 harbor indigo farah 84 cobalt indigo bruno 64 fable grove hana 109 indigo amber ivan 113 indigo ember bruno 23 fable birch
alice 88 harbor juniper jules 118 harbor indigo farah 84 cobalt indigo bruno 64 fable grove hana 109 indigo amber ivan 113 indigo ember
jules 16 amber harbor eli 32 amber grove kim 73 indigo grove eli 76 indigo ember dina 75 harbor ember kim 43 birch cobalt farah 89 ember grove eli 67 juniper fable eli 106 grove cobalt
kim 73 indigo grove eli 76 indigo ember dina 75 harbor ember farah 89 ember grove eli 67 juniper fable eli 106 grove cobalt
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013145-p1
Display all complete records where the value in column 2 is greater than or equal to 63.
$2 >= 63
alice 88 harbor juniper eli 53 juniper cobalt jules 118 harbor indigo farah 84 cobalt indigo bruno 64 fable grove hana 109 indigo amber ivan 113 indigo ember bruno 23 fable birch
alice 88 harbor juniper jules 118 harbor indigo farah 84 cobalt indigo bruno 64 fable grove hana 109 indigo amber ivan 113 indigo ember
jules 16 amber harbor eli 32 amber grove kim 73 indigo grove eli 76 indigo ember dina 75 harbor ember kim 43 birch cobalt farah 89 ember grove eli 67 juniper fable eli 106 grove cobalt
kim 73 indigo grove eli 76 indigo ember dina 75 harbor ember farah 89 ember grove eli 67 juniper fable eli 106 grove cobalt
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013145
qwen/qwen3.7-plus
awkweave-0013146
Show whole lines whose 2nd field is between 12 and 28, inclusive.
$2 >= 12 && $2 <= 28
alice 27 kim kim lina 16 bruno farah chen 8 chen lina farah 22 ivan lina ivan 30 kim ivan farah 8 eli chen lina 17 lina dina chen 17 eli kim kim 26 jules bruno
alice 27 kim kim lina 16 bruno farah farah 22 ivan lina lina 17 lina dina chen 17 eli kim kim 26 jules bruno
ivan 3 chen hana jules 4 gus chen farah 6 kim gus hana 28 kim dina lina 24 kim jules dina 25 hana dina
hana 28 kim dina lina 24 kim jules dina 25 hana dina
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013146-p1
Show entire lines where the second field falls within the inclusive range of 12 to 28.
$2 >= 12 && $2 <= 28
alice 27 kim kim lina 16 bruno farah chen 8 chen lina farah 22 ivan lina ivan 30 kim ivan farah 8 eli chen lina 17 lina dina chen 17 eli kim kim 26 jules bruno
alice 27 kim kim lina 16 bruno farah farah 22 ivan lina lina 17 lina dina chen 17 eli kim kim 26 jules bruno
ivan 3 chen hana jules 4 gus chen farah 6 kim gus hana 28 kim dina lina 24 kim jules dina 25 hana dina
hana 28 kim dina lina 24 kim jules dina 25 hana dina
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013146
qwen/qwen3.7-plus
awkweave-0013147
Print column 4 only for rows where column 3 is exactly active.
$3 == "active"{print $4}
88 birch failed jules 108 delta failed farah 14 birch failed dina 99 juniper active farah 62 harbor active ivan 65 indigo active jules 9 delta paused chen 114 grove failed dina 8 ember active gus 2 fable closed hana
farah ivan jules gus
49 indigo closed farah 18 harbor ready lina 15 juniper failed ivan 5 indigo pending alice 65 fable closed kim 77 indigo closed farah 80 amber closed chen 51 harbor ready chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013147-p1
Output only the fourth column for rows where the third column matches the exact string 'active'.
$3 == "active"{print $4}
88 birch failed jules 108 delta failed farah 14 birch failed dina 99 juniper active farah 62 harbor active ivan 65 indigo active jules 9 delta paused chen 114 grove failed dina 8 ember active gus 2 fable closed hana
farah ivan jules gus
49 indigo closed farah 18 harbor ready lina 15 juniper failed ivan 5 indigo pending alice 65 fable closed kim 77 indigo closed farah 80 amber closed chen 51 harbor ready chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013147
qwen/qwen3.7-plus
awkweave-0013148
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
harbor INFO 18 delta DEBUG 48 delta INFO 53 grove DEBUG 20 harbor WARN 8 amber DEBUG 68 juniper DEBUG 110
harbor WARN 8
juniper ERROR 56 cobalt DEBUG 47 cobalt DEBUG 45 grove INFO 105 grove ERROR 1 ember DEBUG 67 delta DEBUG 114 grove DEBUG 96
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013148-p1
Print all fields from lines where the second field starts with the prefix 'WARN'.
$2 ~ /^WARN/
harbor INFO 18 delta DEBUG 48 delta INFO 53 grove DEBUG 20 harbor WARN 8 amber DEBUG 68 juniper DEBUG 110
harbor WARN 8
juniper ERROR 56 cobalt DEBUG 47 cobalt DEBUG 45 grove INFO 105 grove ERROR 1 ember DEBUG 67 delta DEBUG 114 grove DEBUG 96
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013148
qwen/qwen3.7-plus
awkweave-0013149
Print every line except those containing the exact text ember.
$0 !~ /ember/
ember 50 ready indigo 34 closed grove 103 active birch 82 closed harbor 108 pending harbor 51 pending indigo 73 paused birch 23 paused juniper 26 active ember 999 active
indigo 34 closed grove 103 active birch 82 closed harbor 108 pending harbor 51 pending indigo 73 paused birch 23 paused juniper 26 active
juniper 45 active cobalt 1 failed birch 3 closed delta 97 paused indigo 22 ready birch 10 pending ember 999 active
juniper 45 active cobalt 1 failed birch 3 closed delta 97 paused indigo 22 ready birch 10 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013149-p1
Print every line that does not contain the exact substring 'ember'.
$0 !~ /ember/
ember 50 ready indigo 34 closed grove 103 active birch 82 closed harbor 108 pending harbor 51 pending indigo 73 paused birch 23 paused juniper 26 active ember 999 active
indigo 34 closed grove 103 active birch 82 closed harbor 108 pending harbor 51 pending indigo 73 paused birch 23 paused juniper 26 active
juniper 45 active cobalt 1 failed birch 3 closed delta 97 paused indigo 22 ready birch 10 pending ember 999 active
juniper 45 active cobalt 1 failed birch 3 closed delta 97 paused indigo 22 ready birch 10 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013149
qwen/qwen3.7-plus
awkweave-0013150
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
eli indigo 17 jules delta 27 farah juniper 89 jules grove 23 gus harbor 95 dina juniper 37 dina cobalt 70 kim cobalt 47 jules birch 60 gus birch 116
farah juniper 89 jules grove 23
jules grove 18 chen fable 16 lina ember 63 alice harbor 112 kim delta 44 gus indigo 90 chen birch 66
lina ember 63 alice harbor 112
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013150-p1
Output lines 3 through 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
eli indigo 17 jules delta 27 farah juniper 89 jules grove 23 gus harbor 95 dina juniper 37 dina cobalt 70 kim cobalt 47 jules birch 60 gus birch 116
farah juniper 89 jules grove 23
jules grove 18 chen fable 16 lina ember 63 alice harbor 112 kim delta 44 gus indigo 90 chen birch 66
lina ember 63 alice harbor 112
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013150
qwen/qwen3.7-plus
awkweave-0013151
Output only the first 3 records.
NR <= 3
ivan 108 ember eli 91 ember dina 41 indigo chen 50 fable ivan 40 cobalt gus 42 ember hana 72 birch jules 44 harbor alice 85 delta
ivan 108 ember eli 91 ember dina 41 indigo
chen 108 harbor lina 60 juniper hana 117 harbor kim 116 indigo chen 53 juniper farah 52 fable farah 27 indigo hana 86 delta dina 29 juniper
chen 108 harbor lina 60 juniper hana 117 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013151-p1
Display only the first 3 records.
NR <= 3
ivan 108 ember eli 91 ember dina 41 indigo chen 50 fable ivan 40 cobalt gus 42 ember hana 72 birch jules 44 harbor alice 85 delta
ivan 108 ember eli 91 ember dina 41 indigo
chen 108 harbor lina 60 juniper hana 117 harbor kim 116 indigo chen 53 juniper farah 52 fable farah 27 indigo hana 86 delta dina 29 juniper
chen 108 harbor lina 60 juniper hana 117 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013151
qwen/qwen3.7-plus
awkweave-0013152
Skip the first line and print every remaining line unchanged.
NR > 1
eli 98 ember lina 89 amber hana 34 harbor chen 63 amber dina 92 ember bruno 70 juniper gus 25 cobalt eli 89 indigo eli 92 fable gus 118 indigo
lina 89 amber hana 34 harbor chen 63 amber dina 92 ember bruno 70 juniper gus 25 cobalt eli 89 indigo eli 92 fable gus 118 indigo
farah 58 birch jules 91 harbor dina 71 harbor bruno 28 juniper eli 81 birch ivan 13 grove hana 65 juniper
jules 91 harbor dina 71 harbor bruno 28 juniper eli 81 birch ivan 13 grove hana 65 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013152-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
eli 98 ember lina 89 amber hana 34 harbor chen 63 amber dina 92 ember bruno 70 juniper gus 25 cobalt eli 89 indigo eli 92 fable gus 118 indigo
lina 89 amber hana 34 harbor chen 63 amber dina 92 ember bruno 70 juniper gus 25 cobalt eli 89 indigo eli 92 fable gus 118 indigo
farah 58 birch jules 91 harbor dina 71 harbor bruno 28 juniper eli 81 birch ivan 13 grove hana 65 juniper
jules 91 harbor dina 71 harbor bruno 28 juniper eli 81 birch ivan 13 grove hana 65 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013152
qwen/qwen3.7-plus
awkweave-0013153
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
jules pending 28 dina active 109 ivan ready 104 bruno pending 96 bruno paused 97 eli closed 40 chen active 46 chen closed 112 chen active 12 dina failed 28
1
eli paused 116 hana failed 117 ivan ready 120 gus ready 61 dina pending 19 ivan failed 104 chen paused 32 kim ready 51
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013153-p1
Count the number of records where column 2 contains 'failed', and output 0 if no such records exist.
$2 == "failed"{n++}END{print n+0}
jules pending 28 dina active 109 ivan ready 104 bruno pending 96 bruno paused 97 eli closed 40 chen active 46 chen closed 112 chen active 12 dina failed 28
1
eli paused 116 hana failed 117 ivan ready 120 gus ready 61 dina pending 19 ivan failed 104 chen paused 32 kim ready 51
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013153
qwen/qwen3.7-plus
awkweave-0013154
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
5 dina indigo 14 lina amber 23 eli amber 12 kim amber 27 chen indigo 2 eli ember 15 bruno birch 10 hana cobalt 7 dina ember
115
12 farah birch 26 gus cobalt 19 farah fable 2 ivan ember 7 eli fable 23 bruno ember 17 gus delta
106
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013154-p1
Compute the total of all integer values in the first column and output the result.
{s+=$1}END{print s+0}
5 dina indigo 14 lina amber 23 eli amber 12 kim amber 27 chen indigo 2 eli ember 15 bruno birch 10 hana cobalt 7 dina ember
115
12 farah birch 26 gus cobalt 19 farah fable 2 ivan ember 7 eli fable 23 bruno ember 17 gus delta
106
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013154
qwen/qwen3.7-plus
awkweave-0013155
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
30 birch chen 9 juniper gus 29 juniper kim 2 juniper gus 12 cobalt eli 24 indigo lina
17.67
12 harbor ivan 10 harbor lina 13 cobalt hana 18 grove kim 17 harbor eli 5 harbor gus 15 fable hana 7 grove lina
12.12
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013155-p1
Output the average of the values in column 1, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
30 birch chen 9 juniper gus 29 juniper kim 2 juniper gus 12 cobalt eli 24 indigo lina
17.67
12 harbor ivan 10 harbor lina 13 cobalt hana 18 grove kim 17 harbor eli 5 harbor gus 15 fable hana 7 grove lina
12.12
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013155
qwen/qwen3.7-plus
awkweave-0013156
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ember lina 2 ember chen 20 amber gus 9 harbor alice 3 indigo alice 4 harbor jules 26 indigo jules 7 grove alice 26 indigo kim 13
2
cobalt gus 27 indigo alice 18 juniper bruno 8 birch lina 2 birch kim 25 juniper farah 21 grove bruno 16
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013156-p1
Identify and display the minimum numeric value found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ember lina 2 ember chen 20 amber gus 9 harbor alice 3 indigo alice 4 harbor jules 26 indigo jules 7 grove alice 26 indigo kim 13
2
cobalt gus 27 indigo alice 18 juniper bruno 8 birch lina 2 birch kim 25 juniper farah 21 grove bruno 16
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013156
qwen/qwen3.7-plus
awkweave-0013157
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 dina grove 18 dina birch 19 bruno juniper 19 ivan cobalt 18 bruno birch 11 bruno amber 2 hana fable
19
3 bruno indigo 4 hana ember 3 chen harbor 10 lina grove 10 farah harbor 6 ivan ember 4 ivan juniper
10
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013157-p1
Determine and output the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 dina grove 18 dina birch 19 bruno juniper 19 ivan cobalt 18 bruno birch 11 bruno amber 2 hana fable
19
3 bruno indigo 4 hana ember 3 chen harbor 10 lina grove 10 farah harbor 6 ivan ember 4 ivan juniper
10
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013157
qwen/qwen3.7-plus
awkweave-0013158
Count all input records and print the total.
END{print NR}
bruno 27 alice 72 bruno 26 jules 62 alice 60 dina 8 chen 106 farah 54
8
jules 30 hana 24 gus 57 ivan 106 dina 118 alice 119 lina 109 kim 90 kim 36 gus 104
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013158-p1
Count the total number of input records and print that count.
END{print NR}
bruno 27 alice 72 bruno 26 jules 62 alice 60 dina 8 chen 106 farah 54
8
jules 30 hana 24 gus 57 ivan 106 dina 118 alice 119 lina 109 kim 90 kim 36 gus 104
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013158
qwen/qwen3.7-plus
awkweave-0013159
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno harbor 36 bruno cobalt 11 lina ember 109 lina ember 109 bruno fable 63 hana ember 40 chen indigo 80 chen delta 100 chen grove 94
bruno harbor 36 bruno cobalt 11 lina ember 109 bruno fable 63 hana ember 40 chen indigo 80 chen delta 100 chen grove 94
kim birch 5 bruno ember 71 gus harbor 40 ivan fable 98 jules cobalt 110 gus harbor 40 chen grove 10
kim birch 5 bruno ember 71 gus harbor 40 ivan fable 98 jules cobalt 110 chen grove 10
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013159-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
bruno harbor 36 bruno cobalt 11 lina ember 109 lina ember 109 bruno fable 63 hana ember 40 chen indigo 80 chen delta 100 chen grove 94
bruno harbor 36 bruno cobalt 11 lina ember 109 bruno fable 63 hana ember 40 chen indigo 80 chen delta 100 chen grove 94
kim birch 5 bruno ember 71 gus harbor 40 ivan fable 98 jules cobalt 110 gus harbor 40 chen grove 10
kim birch 5 bruno ember 71 gus harbor 40 ivan fable 98 jules cobalt 110 chen grove 10
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013159
qwen/qwen3.7-plus
awkweave-0013160
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
jules amber 97 bruno birch 43 ivan indigo 64 gus ember 15 jules indigo 104 ivan harbor 30 ivan cobalt 101
jules amber 97 bruno birch 43 ivan indigo 64 gus ember 15 ivan harbor 30 ivan cobalt 101
ivan grove 13 lina indigo 25 hana indigo 63 chen grove 25 chen birch 11 lina delta 94
ivan grove 13 lina indigo 25 chen birch 11 lina delta 94
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null