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-0046222-p1
Print lines 4 through 5, inclusive.
NR >= 4 && NR <= 5
lina birch 109 chen fable 67 chen ember 39 dina grove 79 kim amber 118 chen harbor 23 kim juniper 23
dina grove 79 kim amber 118
dina ember 68 alice amber 56 ivan cobalt 83 jules cobalt 65 hana indigo 11 alice birch 54
jules cobalt 65 hana indigo 11
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046222
qwen/qwen3.7-plus
awkweave-0046223
Output only the first 3 records.
NR <= 3
dina 111 fable lina 84 ember lina 106 amber gus 106 delta gus 6 fable jules 18 ember gus 46 delta hana 97 cobalt hana 17 birch eli 38 fable
dina 111 fable lina 84 ember lina 106 amber
chen 49 amber bruno 41 grove alice 61 harbor eli 73 delta hana 0 ember gus 47 fable dina 13 indigo farah 21 delta eli 35 indigo
chen 49 amber bruno 41 grove alice 61 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046223-p1
Display only the first 3 records.
NR <= 3
dina 111 fable lina 84 ember lina 106 amber gus 106 delta gus 6 fable jules 18 ember gus 46 delta hana 97 cobalt hana 17 birch eli 38 fable
dina 111 fable lina 84 ember lina 106 amber
chen 49 amber bruno 41 grove alice 61 harbor eli 73 delta hana 0 ember gus 47 fable dina 13 indigo farah 21 delta eli 35 indigo
chen 49 amber bruno 41 grove alice 61 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046223
qwen/qwen3.7-plus
awkweave-0046224
Skip the first line and print every remaining line unchanged.
NR > 1
alice 104 delta bruno 81 harbor alice 95 delta dina 23 birch gus 47 juniper hana 51 birch eli 120 fable
bruno 81 harbor alice 95 delta dina 23 birch gus 47 juniper hana 51 birch eli 120 fable
jules 14 indigo alice 88 delta ivan 111 harbor bruno 62 fable eli 59 juniper alice 22 delta chen 81 delta bruno 77 amber
alice 88 delta ivan 111 harbor bruno 62 fable eli 59 juniper alice 22 delta chen 81 delta bruno 77 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046224-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
alice 104 delta bruno 81 harbor alice 95 delta dina 23 birch gus 47 juniper hana 51 birch eli 120 fable
bruno 81 harbor alice 95 delta dina 23 birch gus 47 juniper hana 51 birch eli 120 fable
jules 14 indigo alice 88 delta ivan 111 harbor bruno 62 fable eli 59 juniper alice 22 delta chen 81 delta bruno 77 amber
alice 88 delta ivan 111 harbor bruno 62 fable eli 59 juniper alice 22 delta chen 81 delta bruno 77 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046224
qwen/qwen3.7-plus
awkweave-0046225
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
ivan pending 15 bruno paused 86 ivan ready 8 jules closed 54 gus closed 67 kim paused 118 dina active 95 lina paused 93 chen paused 90 dina failed 80
1
gus ready 28 ivan active 74 alice active 57 jules failed 85 chen failed 72 ivan pending 84 dina pending 120
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046225-p1
Tally the number of entries marked as failed in the second column, outputting 0 if the count is zero.
$2 == "failed"{n++}END{print n+0}
ivan pending 15 bruno paused 86 ivan ready 8 jules closed 54 gus closed 67 kim paused 118 dina active 95 lina paused 93 chen paused 90 dina failed 80
1
gus ready 28 ivan active 74 alice active 57 jules failed 85 chen failed 72 ivan pending 84 dina pending 120
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046225
qwen/qwen3.7-plus
awkweave-0046226
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
cobalt 27 bruno juniper 19 gus cobalt 27 jules harbor 29 kim fable 17 dina juniper 2 lina delta 20 eli fable 18 dina grove 11 kim
170
juniper 28 chen indigo 9 gus delta 13 ivan juniper 4 jules delta 3 ivan fable 7 gus indigo 21 farah
85
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046226-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
cobalt 27 bruno juniper 19 gus cobalt 27 jules harbor 29 kim fable 17 dina juniper 2 lina delta 20 eli fable 18 dina grove 11 kim
170
juniper 28 chen indigo 9 gus delta 13 ivan juniper 4 jules delta 3 ivan fable 7 gus indigo 21 farah
85
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046226
qwen/qwen3.7-plus
awkweave-0046227
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
chen 10 amber alice 5 delta lina 18 indigo jules 3 cobalt alice 4 grove ivan 19 fable
9.83
dina 30 ember ivan 20 juniper lina 10 cobalt jules 14 harbor lina 3 delta ivan 9 ember
14.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046227-p1
Output the average of the values in the second column, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
chen 10 amber alice 5 delta lina 18 indigo jules 3 cobalt alice 4 grove ivan 19 fable
9.83
dina 30 ember ivan 20 juniper lina 10 cobalt jules 14 harbor lina 3 delta ivan 9 ember
14.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046227
qwen/qwen3.7-plus
awkweave-0046228
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 26 jules cobalt 25 farah birch 12 ivan cobalt 25 hana harbor 29 bruno grove 28 gus harbor 25 chen amber 9 hana fable 30 lina
9
delta 1 lina fable 30 chen harbor 15 dina cobalt 30 jules ember 22 lina harbor 28 dina
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046228-p1
Identify and display the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 26 jules cobalt 25 farah birch 12 ivan cobalt 25 hana harbor 29 bruno grove 28 gus harbor 25 chen amber 9 hana fable 30 lina
9
delta 1 lina fable 30 chen harbor 15 dina cobalt 30 jules ember 22 lina harbor 28 dina
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046228
qwen/qwen3.7-plus
awkweave-0046229
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina delta 16 kim indigo 2 alice fable 21 hana birch 7 dina fable 2 hana harbor 5 eli birch 9 lina amber 11
21
eli indigo 19 gus amber 21 ivan delta 23 hana fable 28 lina harbor 14 dina ember 7
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046229-p1
Identify and display the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina delta 16 kim indigo 2 alice fable 21 hana birch 7 dina fable 2 hana harbor 5 eli birch 9 lina amber 11
21
eli indigo 19 gus amber 21 ivan delta 23 hana fable 28 lina harbor 14 dina ember 7
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046229
qwen/qwen3.7-plus
awkweave-0046230
Count all input records and print the total.
END{print NR}
farah 71 hana 50 jules 12 alice 11 bruno 90 jules 18
6
gus 118 chen 111 lina 16 jules 55 eli 80 jules 103 chen 36
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046230-p1
Count the total number of input records and print the result.
END{print NR}
farah 71 hana 50 jules 12 alice 11 bruno 90 jules 18
6
gus 118 chen 111 lina 16 jules 55 eli 80 jules 103 chen 36
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046230
qwen/qwen3.7-plus
awkweave-0046231
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice grove 109 farah cobalt 9 lina juniper 92 farah amber 35 lina grove 45 dina fable 118 dina fable 118
alice grove 109 farah cobalt 9 lina juniper 92 farah amber 35 lina grove 45 dina fable 118
farah amber 37 farah birch 55 bruno delta 80 hana cobalt 9 hana cobalt 9 gus amber 100 dina amber 36 alice delta 91 hana grove 113 lina juniper 92 bruno cobalt 15
farah amber 37 farah birch 55 bruno delta 80 hana cobalt 9 gus amber 100 dina amber 36 alice delta 91 hana grove 113 lina juniper 92 bruno cobalt 15
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046231-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
alice grove 109 farah cobalt 9 lina juniper 92 farah amber 35 lina grove 45 dina fable 118 dina fable 118
alice grove 109 farah cobalt 9 lina juniper 92 farah amber 35 lina grove 45 dina fable 118
farah amber 37 farah birch 55 bruno delta 80 hana cobalt 9 hana cobalt 9 gus amber 100 dina amber 36 alice delta 91 hana grove 113 lina juniper 92 bruno cobalt 15
farah amber 37 farah birch 55 bruno delta 80 hana cobalt 9 gus amber 100 dina amber 36 alice delta 91 hana grove 113 lina juniper 92 bruno cobalt 15
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046231
qwen/qwen3.7-plus
awkweave-0046232
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
lina delta 98 eli grove 92 alice birch 8 alice juniper 94 gus ember 118 ivan fable 65
lina delta 98 eli grove 92 alice birch 8 alice juniper 94 gus ember 118 ivan fable 65
bruno fable 99 gus amber 91 lina grove 64 hana cobalt 100 bruno grove 116 alice ember 44 gus delta 31
bruno fable 99 gus amber 91 lina grove 64 hana cobalt 100 bruno grove 116 alice ember 44 gus delta 31
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046232-p1
Retain only the first occurrence for every unique value in the third column, preserving the original sequence.
!seen[$3]++
lina delta 98 eli grove 92 alice birch 8 alice juniper 94 gus ember 118 ivan fable 65
lina delta 98 eli grove 92 alice birch 8 alice juniper 94 gus ember 118 ivan fable 65
bruno fable 99 gus amber 91 lina grove 64 hana cobalt 100 bruno grove 116 alice ember 44 gus delta 31
bruno fable 99 gus amber 91 lina grove 64 hana cobalt 100 bruno grove 116 alice ember 44 gus delta 31
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046232
qwen/qwen3.7-plus
awkweave-0046233
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 15 ember lina 17 harbor eli 30 indigo jules 22 cobalt chen 13 indigo hana 9 juniper dina 6 grove farah 10 harbor bruno 16 indigo
jules 15 lina 32 eli 62 jules 84 chen 97 hana 106 dina 112 farah 122 bruno 138
alice 6 grove eli 26 birch alice 22 fable ivan 15 birch ivan 23 fable lina 27 amber ivan 16 cobalt kim 24 amber jules 1 cobalt
alice 6 eli 32 alice 54 ivan 69 ivan 92 lina 119 ivan 135 kim 159 jules 160
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046233-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
jules 15 ember lina 17 harbor eli 30 indigo jules 22 cobalt chen 13 indigo hana 9 juniper dina 6 grove farah 10 harbor bruno 16 indigo
jules 15 lina 32 eli 62 jules 84 chen 97 hana 106 dina 112 farah 122 bruno 138
alice 6 grove eli 26 birch alice 22 fable ivan 15 birch ivan 23 fable lina 27 amber ivan 16 cobalt kim 24 amber jules 1 cobalt
alice 6 eli 32 alice 54 ivan 69 ivan 92 lina 119 ivan 135 kim 159 jules 160
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046233
qwen/qwen3.7-plus
awkweave-0046234
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 5 20 juniper farah 23 9 birch ivan 20 14 amber gus 12 14 indigo bruno 7 1 fable farah 13 8 cobalt
bruno 25 farah 32 ivan 34 gus 26 bruno 8 farah 21
gus 23 21 birch kim 23 5 juniper kim 11 6 delta ivan 28 9 grove alice 4 26 birch alice 15 6 ember kim 20 25 harbor eli 2 3 juniper gus 19 18 delta kim 30 7 grove
gus 44 kim 28 kim 17 ivan 37 alice 30 alice 21 kim 45 eli 5 gus 37 kim 37
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046234-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
bruno 5 20 juniper farah 23 9 birch ivan 20 14 amber gus 12 14 indigo bruno 7 1 fable farah 13 8 cobalt
bruno 25 farah 32 ivan 34 gus 26 bruno 8 farah 21
gus 23 21 birch kim 23 5 juniper kim 11 6 delta ivan 28 9 grove alice 4 26 birch alice 15 6 ember kim 20 25 harbor eli 2 3 juniper gus 19 18 delta kim 30 7 grove
gus 44 kim 28 kim 17 ivan 37 alice 30 alice 21 kim 45 eli 5 gus 37 kim 37
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046234
qwen/qwen3.7-plus
awkweave-0046235
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
hana 22 eli 19 gus 8 hana 3 chen 29 ivan 21
hana fail eli fail gus fail hana fail chen pass ivan fail
farah 29 alice 8 eli 3 gus 19 kim 22 bruno 30 farah 1 eli 5 ivan 28
farah pass alice fail eli fail gus fail kim fail bruno pass farah fail eli fail ivan pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046235-p1
Output the first column along with 'pass' if the second column is 26 or greater, otherwise output 'fail'.
{print $1,($2>=26?"pass":"fail")}
hana 22 eli 19 gus 8 hana 3 chen 29 ivan 21
hana fail eli fail gus fail hana fail chen pass ivan fail
farah 29 alice 8 eli 3 gus 19 kim 22 bruno 30 farah 1 eli 5 ivan 28
farah pass alice fail eli fail gus fail kim fail bruno pass farah fail eli fail ivan pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046235
qwen/qwen3.7-plus
awkweave-0046236
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
kim indigo 3 alice grove 7 chen delta 107 alice grove 87 eli harbor 50 dina birch 120 ivan fable 111 gus juniper 69
KIM ALICE CHEN ALICE ELI DINA IVAN GUS
hana birch 17 hana delta 59 eli amber 22 chen grove 23 ivan harbor 76 alice amber 51 gus birch 87 lina indigo 19
HANA HANA ELI CHEN IVAN ALICE GUS LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046236-p1
Transform the first field to uppercase and output only that field.
{print toupper($1)}
kim indigo 3 alice grove 7 chen delta 107 alice grove 87 eli harbor 50 dina birch 120 ivan fable 111 gus juniper 69
KIM ALICE CHEN ALICE ELI DINA IVAN GUS
hana birch 17 hana delta 59 eli amber 22 chen grove 23 ivan harbor 76 alice amber 51 gus birch 87 lina indigo 19
HANA HANA ELI CHEN IVAN ALICE GUS LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046236
qwen/qwen3.7-plus
awkweave-0046237
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
ember 93 amber 57 amber 55 harbor 38 amber 18 harbor 77 fable 68
ber ber ber rbo ber rbo ble
cobalt 88 indigo 70 fable 47 fable 83 juniper 95 indigo 101 indigo 103 birch 44
bal dig ble ble nip dig dig rch
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046237-p1
Extract a 3-character substring from the first field, beginning at the third character, and print it.
{print substr($1,3,3)}
ember 93 amber 57 amber 55 harbor 38 amber 18 harbor 77 fable 68
ber ber ber rbo ber rbo ble
cobalt 88 indigo 70 fable 47 fable 83 juniper 95 indigo 101 indigo 103 birch 44
bal dig ble ble nip dig dig rch
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046237
qwen/qwen3.7-plus
awkweave-0046238
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_ember 86 birch_ember 39 birch_grove 60 delta_juniper 79 cobalt_delta 40 indigo_cobalt 95 amber_indigo 51 grove_grove 12 harbor_birch 41
birch ember birch ember birch grove delta juniper cobalt delta indigo cobalt amber indigo grove grove harbor birch
indigo_cobalt 88 harbor_juniper 104 amber_grove 74 juniper_delta 101 juniper_grove 96 delta_cobalt 118 indigo_fable 79 juniper_ember 8 indigo_delta 85 birch_juniper 104
indigo cobalt harbor juniper amber grove juniper delta juniper grove delta cobalt indigo fable juniper ember indigo delta birch juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046238-p1
Substitute all underscores with spaces in the first field and display the modified values.
{gsub(/_/," ",$1);print $1}
birch_ember 86 birch_ember 39 birch_grove 60 delta_juniper 79 cobalt_delta 40 indigo_cobalt 95 amber_indigo 51 grove_grove 12 harbor_birch 41
birch ember birch ember birch grove delta juniper cobalt delta indigo cobalt amber indigo grove grove harbor birch
indigo_cobalt 88 harbor_juniper 104 amber_grove 74 juniper_delta 101 juniper_grove 96 delta_cobalt 118 indigo_fable 79 juniper_ember 8 indigo_delta 85 birch_juniper 104
indigo cobalt harbor juniper amber grove juniper delta juniper grove delta cobalt indigo fable juniper ember indigo delta birch juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046238
qwen/qwen3.7-plus
awkweave-0046239
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim amber 115 pending alice birch 9 active alice birch 62 paused eli cobalt 116 failed farah birch 53 failed kim juniper 108 closed kim cobalt 46 paused
pending 115 amber kim active 9 birch alice paused 62 birch alice failed 116 cobalt eli failed 53 birch farah closed 108 juniper kim paused 46 cobalt kim
kim amber 79 ready gus indigo 75 closed chen ember 7 paused lina amber 81 closed gus cobalt 44 ready chen grove 34 failed alice amber 24 failed farah fable 66 pending jules juniper 34 failed
ready 79 amber kim closed 75 indigo gus paused 7 ember chen closed 81 amber lina ready 44 cobalt gus failed 34 grove chen failed 24 amber alice pending 66 fable farah failed 34 juniper jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046239-p1
Reverse the sequence of fields on each line and output the entire line.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim amber 115 pending alice birch 9 active alice birch 62 paused eli cobalt 116 failed farah birch 53 failed kim juniper 108 closed kim cobalt 46 paused
pending 115 amber kim active 9 birch alice paused 62 birch alice failed 116 cobalt eli failed 53 birch farah closed 108 juniper kim paused 46 cobalt kim
kim amber 79 ready gus indigo 75 closed chen ember 7 paused lina amber 81 closed gus cobalt 44 ready chen grove 34 failed alice amber 24 failed farah fable 66 pending jules juniper 34 failed
ready 79 amber kim closed 75 indigo gus paused 7 ember chen closed 81 amber lina ready 44 cobalt gus failed 34 grove chen failed 24 amber alice pending 66 fable farah failed 34 juniper jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046239
qwen/qwen3.7-plus
awkweave-0046240
Print the number of whitespace-separated fields on each line.
{print NF}
bruno ember 5 active alice birch 113 paused jules fable 42 active ivan birch 0 failed alice birch 2 failed bruno delta 81 active kim grove 91 ready gus fable 111 pending ivan harbor 2 active
4 4 4 4 4 4 4 4 4
alice birch 44 paused ivan juniper 56 closed lina amber 94 pending farah harbor 0 paused gus indigo 69 active chen ember 106 paused
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046240-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
bruno ember 5 active alice birch 113 paused jules fable 42 active ivan birch 0 failed alice birch 2 failed bruno delta 81 active kim grove 91 ready gus fable 111 pending ivan harbor 2 active
4 4 4 4 4 4 4 4 4
alice birch 44 paused ivan juniper 56 closed lina amber 94 pending farah harbor 0 paused gus indigo 69 active chen ember 106 paused
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046240
qwen/qwen3.7-plus
awkweave-0046241
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]]}
farah delta 109 gus gamma 66 eli gamma 37 ivan beta 44 lina alpha 113 lina beta 16 kim beta 77 alice gamma 81 ivan alpha 48
delta 1 gamma 3 beta 3 alpha 2
hana delta 59 eli beta 100 alice gamma 20 jules beta 57 gus gamma 80 chen gamma 8 dina alpha 3
delta 1 beta 2 gamma 3 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046241-p1
Tally the occurrences of each unique value in the second field and print the value alongside its count, maintaining the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
farah delta 109 gus gamma 66 eli gamma 37 ivan beta 44 lina alpha 113 lina beta 16 kim beta 77 alice gamma 81 ivan alpha 48
delta 1 gamma 3 beta 3 alpha 2
hana delta 59 eli beta 100 alice gamma 20 jules beta 57 gus gamma 80 chen gamma 8 dina alpha 3
delta 1 beta 2 gamma 3 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046241
qwen/qwen3.7-plus
awkweave-0046242
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
kim delta 17 alice alpha 2 bruno delta 3 chen alpha 22 kim delta 17 alice delta 19 jules alpha 14 dina delta 1 eli beta 21
delta 57 alpha 38 beta 21
alice beta 7 dina beta 13 jules gamma 17 chen alpha 15 ivan gamma 25 lina beta 13 eli delta 7 eli beta 24
beta 57 gamma 42 alpha 15 delta 7
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046242-p1
Calculate the sum of the third field grouped by the second field, printing the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
kim delta 17 alice alpha 2 bruno delta 3 chen alpha 22 kim delta 17 alice delta 19 jules alpha 14 dina delta 1 eli beta 21
delta 57 alpha 38 beta 21
alice beta 7 dina beta 13 jules gamma 17 chen alpha 15 ivan gamma 25 lina beta 13 eli delta 7 eli beta 24
beta 57 gamma 42 alpha 15 delta 7
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046242
qwen/qwen3.7-plus
awkweave-0046243
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]]}
alpha ember 21 gamma delta 31 delta grove 63 delta fable 119 delta harbor 62 delta indigo 49
delta 4
delta indigo 0 gamma juniper 87 gamma cobalt 73 alpha delta 11 delta amber 46 delta indigo 2 gamma birch 75
delta 3 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046243-p1
List each duplicate value from the first field along with its frequency, ordered 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]]}
alpha ember 21 gamma delta 31 delta grove 63 delta fable 119 delta harbor 62 delta indigo 49
delta 4
delta indigo 0 gamma juniper 87 gamma cobalt 73 alpha delta 11 delta amber 46 delta indigo 2 gamma birch 75
delta 3 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046243
qwen/qwen3.7-plus
awkweave-0046244
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name score record_id note r001 jules 16 ready r002 gus 12 active r003 lina 15 ready r004 lina 28 paused r005 gus 8 failed r006 hana 14 paused r007 jules 1 paused r008 dina 17 pending
ready active ready paused failed paused paused pending
display_name score record_id note r001 dina 12 paused r002 hana 9 failed r003 ivan 21 closed r004 ivan 15 paused r005 jules 9 ready r006 alice 5 ready r007 gus 2 paused r008 chen 9 active
paused failed closed paused ready ready paused active
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046244-p1
Skip the header row and output the contents of the note column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name score record_id note r001 jules 16 ready r002 gus 12 active r003 lina 15 ready r004 lina 28 paused r005 gus 8 failed r006 hana 14 paused r007 jules 1 paused r008 dina 17 pending
ready active ready paused failed paused paused pending
display_name score record_id note r001 dina 12 paused r002 hana 9 failed r003 ivan 21 closed r004 ivan 15 paused r005 jules 9 ready r006 alice 5 ready r007 gus 2 paused r008 chen 9 active
paused failed closed paused ready ready paused active
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046244
qwen/qwen3.7-plus
awkweave-0046245
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 farah 16 failed r002 gus 4 closed r003 lina 9 active r004 chen 17 ready r005 ivan 19 active r006 hana 13 pending r007 hana 23 active r008 bruno 21 closed r009 farah 16 ready
farah chen ivan hana bruno farah
record_id display_name score state r001 ivan 3 paused r002 chen 18 paused r003 dina 3 active r004 farah 20 pending r005 dina 15 closed r006 chen 1 paused
chen farah dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046245-p1
Ignoring the header, print the display_name column for rows where the score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 farah 16 failed r002 gus 4 closed r003 lina 9 active r004 chen 17 ready r005 ivan 19 active r006 hana 13 pending r007 hana 23 active r008 bruno 21 closed r009 farah 16 ready
farah chen ivan hana bruno farah
record_id display_name score state r001 ivan 3 paused r002 chen 18 paused r003 dina 3 active r004 farah 20 pending r005 dina 15 closed r006 chen 1 paused
chen farah dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046245
qwen/qwen3.7-plus
awkweave-0046246
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 17 ready ivan 4 active bruno 3 paused kim 11 active jules 25 paused eli 28 failed alice 22 paused gus 30 ready chen 29 paused
17 4 3 11 25 28 22 30 29
alice 8 closed kim 24 paused farah 7 paused gus 9 closed lina 26 failed hana 7 active gus 28 pending
8 24 7 9 26 7 28
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046246-p1
Given tab-separated input, output the second column for every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 17 ready ivan 4 active bruno 3 paused kim 11 active jules 25 paused eli 28 failed alice 22 paused gus 30 ready chen 29 paused
17 4 3 11 25 28 22 30 29
alice 8 closed kim 24 paused farah 7 paused gus 9 closed lina 26 failed hana 7 active gus 28 pending
8 24 7 9 26 7 28
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046246
qwen/qwen3.7-plus
awkweave-0046247
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23.
BEGIN{FS=OFS=","}$2>23{print $1}
chen,9,closed chen,10,active jules,1,closed hana,26,failed farah,25,paused eli,18,closed jules,8,ready kim,21,pending lina,2,pending
hana farah
jules,28,ready dina,5,pending gus,16,paused ivan,24,active hana,20,active eli,27,closed gus,7,ready kim,19,paused kim,2,closed
jules ivan eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046247-p1
For simple comma-separated input without quoted commas, print the first column if the second column is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
chen,9,closed chen,10,active jules,1,closed hana,26,failed farah,25,paused eli,18,closed jules,8,ready kim,21,pending lina,2,pending
hana farah
jules,28,ready dina,5,pending gus,16,paused ivan,24,active hana,20,active eli,27,closed gus,7,ready kim,19,paused kim,2,closed
jules ivan eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046247
qwen/qwen3.7-plus
awkweave-0046248
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli juniper 69 hana delta 90 lina grove 114 chen ember 1 alice harbor 8 eli grove 42
eli juniper 69 hana delta 90 lina grove 114 chen ember 1 alice harbor 8 eli grove 42
kim delta 48 jules juniper 115 ivan grove 98 bruno indigo 9 bruno delta 0 lina grove 94 ivan cobalt 80 gus birch 43
kim delta 48 jules juniper 115 ivan grove 98 bruno indigo 9 bruno delta 0 lina grove 94 ivan cobalt 80 gus birch 43
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046248-p1
Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
eli juniper 69 hana delta 90 lina grove 114 chen ember 1 alice harbor 8 eli grove 42
eli juniper 69 hana delta 90 lina grove 114 chen ember 1 alice harbor 8 eli grove 42
kim delta 48 jules juniper 115 ivan grove 98 bruno indigo 9 bruno delta 0 lina grove 94 ivan cobalt 80 gus birch 43
kim delta 48 jules juniper 115 ivan grove 98 bruno indigo 9 bruno delta 0 lina grove 94 ivan cobalt 80 gus birch 43
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046248
qwen/qwen3.7-plus
awkweave-0046249
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice grove 38 ready hana grove 71 pending lina amber 26 paused eli juniper 108 ready dina indigo 94 ready kim cobalt 66 paused eli juniper 106 closed
eli juniper 106 closed
ivan delta 72 closed bruno grove 92 pending gus fable 71 pending alice indigo 27 closed bruno delta 109 active eli ember 113 failed hana harbor 39 pending bruno amber 80 active
bruno grove 92 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046249-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
alice grove 38 ready hana grove 71 pending lina amber 26 paused eli juniper 108 ready dina indigo 94 ready kim cobalt 66 paused eli juniper 106 closed
eli juniper 106 closed
ivan delta 72 closed bruno grove 92 pending gus fable 71 pending alice indigo 27 closed bruno delta 109 active eli ember 113 failed hana harbor 39 pending bruno amber 80 active
bruno grove 92 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046249
qwen/qwen3.7-plus
awkweave-0046250
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
farah 103 jules 28 alice 67 eli 53 jules 28 lina 20 alice 29 dina 61 bruno 69
jules 28 lina 20
kim 19 bruno 61 dina 91 lina 80 alice 76 alice 4
bruno 61 alice 4
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046250-p1
Output every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
farah 103 jules 28 alice 67 eli 53 jules 28 lina 20 alice 29 dina 61 bruno 69
jules 28 lina 20
kim 19 bruno 61 dina 91 lina 80 alice 76 alice 4
bruno 61 alice 4
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046250
qwen/qwen3.7-plus
awkweave-0046251
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha juniper 101 delta cobalt 100 gamma grove 93 alpha fable 38 gamma ember 24 gamma birch 79 beta birch 40 delta grove 9 gamma grove 82
4
delta harbor 66 delta grove 107 alpha cobalt 9 gamma birch 110 gamma delta 5 alpha delta 46 beta delta 107 beta harbor 3
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046251-p1
Calculate the number of unique values in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha juniper 101 delta cobalt 100 gamma grove 93 alpha fable 38 gamma ember 24 gamma birch 79 beta birch 40 delta grove 9 gamma grove 82
4
delta harbor 66 delta grove 107 alpha cobalt 9 gamma birch 110 gamma delta 5 alpha delta 46 beta delta 107 beta harbor 3
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046251
qwen/qwen3.7-plus
awkweave-0046252
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}
hana 21 0 jules 12 29 chen 20 26 gus 15 22 kim 10 6 alice 8 19 jules 20 29
jules 0.41 chen 0.77 gus 0.68 kim 1.67 alice 0.42 jules 0.69
bruno 9 0 eli 18 18 dina 4 9 dina 25 2 hana 8 27 hana 10 18 gus 12 30
eli 1.00 dina 0.44 dina 12.50 hana 0.30 hana 0.56 gus 0.40
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046252-p1
For each row, output the value of 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}
hana 21 0 jules 12 29 chen 20 26 gus 15 22 kim 10 6 alice 8 19 jules 20 29
jules 0.41 chen 0.77 gus 0.68 kim 1.67 alice 0.42 jules 0.69
bruno 9 0 eli 18 18 dina 4 9 dina 25 2 hana 8 27 hana 10 18 gus 12 30
eli 1.00 dina 0.44 dina 12.50 hana 0.30 hana 0.56 gus 0.40
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046252
qwen/qwen3.7-plus
awkweave-0046253
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana grove 9 dina indigo 21 lina fable 25 lina fable 18 farah birch 21 jules ember 1 jules cobalt 25 kim birch 29
kim birch 29 lina fable 25 jules cobalt 25
kim grove 13 gus indigo 9 bruno ember 26 lina fable 11 gus fable 7 gus grove 16 ivan delta 28
ivan delta 28 bruno ember 26 gus grove 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046253-p1
Display the full records corresponding to the three highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana grove 9 dina indigo 21 lina fable 25 lina fable 18 farah birch 21 jules ember 1 jules cobalt 25 kim birch 29
kim birch 29 lina fable 25 jules cobalt 25
kim grove 13 gus indigo 9 bruno ember 26 lina fable 11 gus fable 7 gus grove 16 ivan delta 28
ivan delta 28 bruno ember 26 gus grove 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046253
qwen/qwen3.7-plus
awkweave-0046254
Print column 3 followed by column 2 for every record.
{print $3, $2}
juniper fable pending birch gus delta juniper pending juniper bruno cobalt juniper active juniper chen birch juniper failed indigo alice cobalt juniper ready grove dina delta indigo active juniper eli amber birch active grove farah harbor amber pending fable jules amber harbor ready grove gus ember birch pending indigo...
pending fable pending juniper active juniper failed juniper ready juniper active indigo active birch pending amber ready harbor pending birch
grove amber failed juniper dina cobalt cobalt ready harbor kim indigo ember paused delta ivan grove indigo active fable gus juniper ember pending harbor hana fable birch closed juniper alice amber cobalt closed delta alice fable delta ready amber gus
failed amber ready cobalt paused ember active indigo pending ember closed birch closed cobalt ready delta
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046254-p1
Output column 3 followed by column 2 for every record in the dataset.
{print $3, $2}
juniper fable pending birch gus delta juniper pending juniper bruno cobalt juniper active juniper chen birch juniper failed indigo alice cobalt juniper ready grove dina delta indigo active juniper eli amber birch active grove farah harbor amber pending fable jules amber harbor ready grove gus ember birch pending indigo...
pending fable pending juniper active juniper failed juniper ready juniper active indigo active birch pending amber ready harbor pending birch
grove amber failed juniper dina cobalt cobalt ready harbor kim indigo ember paused delta ivan grove indigo active fable gus juniper ember pending harbor hana fable birch closed juniper alice amber cobalt closed delta alice fable delta ready amber gus
failed amber ready cobalt paused ember active indigo pending ember closed birch closed cobalt ready delta
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046254
qwen/qwen3.7-plus
awkweave-0046255
Print the last field of every input line.
{print $NF}
90 failed indigo 8 closed juniper 107 pending fable 75 pending indigo 115 ready cobalt 98 active grove 56 failed cobalt 64 closed harbor 73 active fable 119 active cobalt
indigo juniper fable indigo cobalt grove cobalt harbor fable cobalt
46 paused delta 81 failed ember 112 pending juniper 9 paused grove 11 paused harbor 77 active birch 28 ready juniper 81 paused ember 117 paused grove 52 failed juniper
delta ember juniper grove harbor birch juniper ember grove juniper
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046255-p1
Print the final field from each input line.
{print $NF}
90 failed indigo 8 closed juniper 107 pending fable 75 pending indigo 115 ready cobalt 98 active grove 56 failed cobalt 64 closed harbor 73 active fable 119 active cobalt
indigo juniper fable indigo cobalt grove cobalt harbor fable cobalt
46 paused delta 81 failed ember 112 pending juniper 9 paused grove 11 paused harbor 77 active birch 28 ready juniper 81 paused ember 117 paused grove 52 failed juniper
delta ember juniper grove harbor birch juniper ember grove juniper
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046255
qwen/qwen3.7-plus
awkweave-0046256
Print the complete records where column 2 is greater than 80.
$2 > 80
delta 69 closed active indigo 10 pending pending birch 3 closed ready fable 64 pending pending fable 77 closed paused amber 20 failed active fable 85 closed closed
fable 85 closed closed
fable 39 closed ready harbor 80 failed paused harbor 75 active active juniper 74 pending active cobalt 92 failed closed grove 25 pending closed delta 105 active active
cobalt 92 failed closed delta 105 active active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046256-p1
Output the full records for all rows where the value in column 2 exceeds 80.
$2 > 80
delta 69 closed active indigo 10 pending pending birch 3 closed ready fable 64 pending pending fable 77 closed paused amber 20 failed active fable 85 closed closed
fable 85 closed closed
fable 39 closed ready harbor 80 failed paused harbor 75 active active juniper 74 pending active cobalt 92 failed closed grove 25 pending closed delta 105 active active
cobalt 92 failed closed delta 105 active active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046256
qwen/qwen3.7-plus
awkweave-0046257
Show whole lines whose 1st field is between 10 and 25, inclusive.
$1 >= 10 && $1 <= 25
4 alice alice dina 2 chen hana dina 20 farah lina jules 22 eli alice ivan 29 ivan eli chen 23 bruno dina dina
20 farah lina jules 22 eli alice ivan 23 bruno dina dina
14 lina alice chen 11 jules kim ivan 8 farah lina ivan 24 chen dina lina 20 bruno ivan ivan 16 alice eli chen 4 ivan farah lina 3 eli dina ivan 28 lina alice alice 22 eli alice gus
14 lina alice chen 11 jules kim ivan 24 chen dina lina 20 bruno ivan ivan 16 alice eli chen 22 eli alice gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046257-p1
Display entire lines where the first field falls within the inclusive range of 10 to 25.
$1 >= 10 && $1 <= 25
4 alice alice dina 2 chen hana dina 20 farah lina jules 22 eli alice ivan 29 ivan eli chen 23 bruno dina dina
20 farah lina jules 22 eli alice ivan 23 bruno dina dina
14 lina alice chen 11 jules kim ivan 8 farah lina ivan 24 chen dina lina 20 bruno ivan ivan 16 alice eli chen 4 ivan farah lina 3 eli dina ivan 28 lina alice alice 22 eli alice gus
14 lina alice chen 11 jules kim ivan 24 chen dina lina 20 bruno ivan ivan 16 alice eli chen 22 eli alice gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046257
qwen/qwen3.7-plus
awkweave-0046258
Print column 4 only for rows where column 1 is exactly closed.
$1 == "closed"{print $4}
ready amber 37 dina pending delta 119 gus pending delta 82 jules closed harbor 118 jules active juniper 60 lina pending ember 88 kim ready harbor 70 alice failed delta 100 bruno
jules
active amber 0 farah ready harbor 117 hana ready indigo 77 alice active fable 36 jules failed harbor 104 hana failed delta 49 farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046258-p1
Output only the fourth column for rows where the first column contains the exact value 'closed'.
$1 == "closed"{print $4}
ready amber 37 dina pending delta 119 gus pending delta 82 jules closed harbor 118 jules active juniper 60 lina pending ember 88 kim ready harbor 70 alice failed delta 100 bruno
jules
active amber 0 farah ready harbor 117 hana ready indigo 77 alice active fable 36 jules failed harbor 104 hana failed delta 49 farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046258
qwen/qwen3.7-plus
awkweave-0046259
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
75 birch WARN 66 delta ERROR 14 fable ERROR 37 delta INFO 35 juniper WARN 16 indigo WARN 111 indigo ERROR 60 delta DEBUG 27 grove ERROR
37 delta INFO
21 amber INFO 21 delta INFO 52 grove WARN 80 fable DEBUG 19 amber ERROR 61 harbor DEBUG
21 amber INFO 21 delta INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046259-p1
Print all fields from any line where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
75 birch WARN 66 delta ERROR 14 fable ERROR 37 delta INFO 35 juniper WARN 16 indigo WARN 111 indigo ERROR 60 delta DEBUG 27 grove ERROR
37 delta INFO
21 amber INFO 21 delta INFO 52 grove WARN 80 fable DEBUG 19 amber ERROR 61 harbor DEBUG
21 amber INFO 21 delta INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046259
qwen/qwen3.7-plus
awkweave-0046260
Print every line except those containing the exact text ember.
$0 !~ /ember/
fable 26 closed delta 28 failed harbor 54 failed amber 88 ready juniper 29 pending juniper 9 closed ember 27 failed ember 22 paused ember 999 active
fable 26 closed delta 28 failed harbor 54 failed amber 88 ready juniper 29 pending juniper 9 closed
amber 61 pending juniper 118 failed amber 0 closed indigo 24 pending grove 52 ready juniper 38 active amber 19 ready harbor 82 pending ember 999 active
amber 61 pending juniper 118 failed amber 0 closed indigo 24 pending grove 52 ready juniper 38 active amber 19 ready harbor 82 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046260-p1
Output all lines that do not contain the exact string ember.
$0 !~ /ember/
fable 26 closed delta 28 failed harbor 54 failed amber 88 ready juniper 29 pending juniper 9 closed ember 27 failed ember 22 paused ember 999 active
fable 26 closed delta 28 failed harbor 54 failed amber 88 ready juniper 29 pending juniper 9 closed
amber 61 pending juniper 118 failed amber 0 closed indigo 24 pending grove 52 ready juniper 38 active amber 19 ready harbor 82 pending ember 999 active
amber 61 pending juniper 118 failed amber 0 closed indigo 24 pending grove 52 ready juniper 38 active amber 19 ready harbor 82 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046260
qwen/qwen3.7-plus
awkweave-0046261
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
lina cobalt 105 kim harbor 78 lina indigo 90 ivan harbor 100 dina cobalt 84 farah juniper 21 hana cobalt 68
ivan harbor 100 dina cobalt 84 farah juniper 21 hana cobalt 68
alice cobalt 72 dina ember 82 dina cobalt 89 hana juniper 76 farah fable 62 bruno grove 24 eli delta 73 ivan cobalt 68 dina birch 36 bruno harbor 31
hana juniper 76 farah fable 62 bruno grove 24 eli delta 73
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046261-p1
Display lines 4 to 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
lina cobalt 105 kim harbor 78 lina indigo 90 ivan harbor 100 dina cobalt 84 farah juniper 21 hana cobalt 68
ivan harbor 100 dina cobalt 84 farah juniper 21 hana cobalt 68
alice cobalt 72 dina ember 82 dina cobalt 89 hana juniper 76 farah fable 62 bruno grove 24 eli delta 73 ivan cobalt 68 dina birch 36 bruno harbor 31
hana juniper 76 farah fable 62 bruno grove 24 eli delta 73
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046261
qwen/qwen3.7-plus
awkweave-0046262
Output only the first 4 records.
NR <= 4
kim 22 ember eli 86 ember chen 95 indigo bruno 116 cobalt kim 68 juniper farah 83 indigo chen 118 delta jules 115 birch
kim 22 ember eli 86 ember chen 95 indigo bruno 116 cobalt
chen 41 indigo ivan 94 amber eli 112 delta chen 16 grove farah 44 harbor chen 62 birch ivan 114 grove lina 96 fable
chen 41 indigo ivan 94 amber eli 112 delta chen 16 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046262-p1
Show only the initial 4 records from the input.
NR <= 4
kim 22 ember eli 86 ember chen 95 indigo bruno 116 cobalt kim 68 juniper farah 83 indigo chen 118 delta jules 115 birch
kim 22 ember eli 86 ember chen 95 indigo bruno 116 cobalt
chen 41 indigo ivan 94 amber eli 112 delta chen 16 grove farah 44 harbor chen 62 birch ivan 114 grove lina 96 fable
chen 41 indigo ivan 94 amber eli 112 delta chen 16 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046262
qwen/qwen3.7-plus
awkweave-0046263
Skip the first line and print every remaining line unchanged.
NR > 1
lina 89 amber alice 9 fable lina 0 birch jules 20 delta alice 97 delta chen 25 cobalt
alice 9 fable lina 0 birch jules 20 delta alice 97 delta chen 25 cobalt
chen 96 amber lina 65 cobalt kim 16 harbor dina 23 delta chen 86 indigo hana 6 grove gus 32 delta alice 77 grove
lina 65 cobalt kim 16 harbor dina 23 delta chen 86 indigo hana 6 grove gus 32 delta alice 77 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046263-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
lina 89 amber alice 9 fable lina 0 birch jules 20 delta alice 97 delta chen 25 cobalt
alice 9 fable lina 0 birch jules 20 delta alice 97 delta chen 25 cobalt
chen 96 amber lina 65 cobalt kim 16 harbor dina 23 delta chen 86 indigo hana 6 grove gus 32 delta alice 77 grove
lina 65 cobalt kim 16 harbor dina 23 delta chen 86 indigo hana 6 grove gus 32 delta alice 77 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046263
qwen/qwen3.7-plus
awkweave-0046264
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
lina active 90 gus pending 6 ivan closed 20 kim paused 95 dina pending 19 chen paused 28 bruno paused 85 ivan pending 15
0
lina closed 47 chen pending 76 hana active 46 chen active 83 farah failed 47 alice failed 112 lina failed 96 farah active 103 dina closed 17 chen failed 65
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046264-p1
Count the records where column 2 contains ready; output 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
lina active 90 gus pending 6 ivan closed 20 kim paused 95 dina pending 19 chen paused 28 bruno paused 85 ivan pending 15
0
lina closed 47 chen pending 76 hana active 46 chen active 83 farah failed 47 alice failed 112 lina failed 96 farah active 103 dina closed 17 chen failed 65
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046264
qwen/qwen3.7-plus
awkweave-0046265
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
harbor 10 hana harbor 29 eli juniper 28 farah juniper 7 jules cobalt 5 farah indigo 24 dina
103
amber 24 alice cobalt 17 bruno harbor 10 hana indigo 16 lina birch 7 lina birch 29 alice grove 30 bruno
133
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046265-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
harbor 10 hana harbor 29 eli juniper 28 farah juniper 7 jules cobalt 5 farah indigo 24 dina
103
amber 24 alice cobalt 17 bruno harbor 10 hana indigo 16 lina birch 7 lina birch 29 alice grove 30 bruno
133
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046265
qwen/qwen3.7-plus
awkweave-0046266
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
30 jules amber 22 farah harbor 16 bruno amber 18 lina fable 27 lina ember 12 dina amber 2 dina ember 18 lina fable 29 jules grove
19.33
13 gus amber 14 lina fable 8 eli juniper 16 alice fable 3 farah ember 7 ivan juniper 21 alice grove 4 farah harbor 17 bruno juniper 12 eli fable
11.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046266-p1
Calculate the average of column 1 and print it rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
30 jules amber 22 farah harbor 16 bruno amber 18 lina fable 27 lina ember 12 dina amber 2 dina ember 18 lina fable 29 jules grove
19.33
13 gus amber 14 lina fable 8 eli juniper 16 alice fable 3 farah ember 7 ivan juniper 21 alice grove 4 farah harbor 17 bruno juniper 12 eli fable
11.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046266
qwen/qwen3.7-plus
awkweave-0046267
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 4 fable farah 9 amber eli 25 fable farah 19 amber alice 3 birch kim 23 indigo
3
dina 18 fable alice 20 indigo bruno 23 juniper alice 20 cobalt lina 17 harbor lina 12 fable bruno 17 harbor farah 2 birch
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046267-p1
Identify and output the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 4 fable farah 9 amber eli 25 fable farah 19 amber alice 3 birch kim 23 indigo
3
dina 18 fable alice 20 indigo bruno 23 juniper alice 20 cobalt lina 17 harbor lina 12 fable bruno 17 harbor farah 2 birch
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046267
qwen/qwen3.7-plus
awkweave-0046268
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
17 gus birch 17 kim fable 16 kim birch 10 alice harbor 12 alice grove 15 alice harbor 18 gus grove 29 jules amber 6 chen juniper 23 dina harbor
29
8 kim grove 18 dina juniper 29 ivan cobalt 9 jules cobalt 28 bruno grove 15 farah birch 13 farah amber 4 jules harbor 21 alice juniper 2 gus birch
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046268-p1
Identify and output the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
17 gus birch 17 kim fable 16 kim birch 10 alice harbor 12 alice grove 15 alice harbor 18 gus grove 29 jules amber 6 chen juniper 23 dina harbor
29
8 kim grove 18 dina juniper 29 ivan cobalt 9 jules cobalt 28 bruno grove 15 farah birch 13 farah amber 4 jules harbor 21 alice juniper 2 gus birch
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046268
qwen/qwen3.7-plus
awkweave-0046269
Count all input records and print the total.
END{print NR}
hana 16 jules 40 alice 68 jules 50 jules 52 dina 68 hana 91 bruno 84
8
lina 16 dina 84 eli 66 farah 89 hana 106 eli 25 lina 40 kim 54 bruno 43
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046269-p1
Count the total number of input records and print the result.
END{print NR}
hana 16 jules 40 alice 68 jules 50 jules 52 dina 68 hana 91 bruno 84
8
lina 16 dina 84 eli 66 farah 89 hana 106 eli 25 lina 40 kim 54 bruno 43
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046269
qwen/qwen3.7-plus
awkweave-0046270
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina cobalt 113 hana indigo 95 lina grove 118 alice indigo 101 gus grove 0 kim cobalt 78 alice indigo 101 ivan grove 8
lina cobalt 113 hana indigo 95 lina grove 118 alice indigo 101 gus grove 0 kim cobalt 78 ivan grove 8
kim indigo 19 eli delta 50 gus fable 73 eli grove 38 chen harbor 16 alice indigo 25 kim birch 59 hana juniper 95 chen juniper 63 chen harbor 16
kim indigo 19 eli delta 50 gus fable 73 eli grove 38 chen harbor 16 alice indigo 25 kim birch 59 hana juniper 95 chen juniper 63
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046270-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
lina cobalt 113 hana indigo 95 lina grove 118 alice indigo 101 gus grove 0 kim cobalt 78 alice indigo 101 ivan grove 8
lina cobalt 113 hana indigo 95 lina grove 118 alice indigo 101 gus grove 0 kim cobalt 78 ivan grove 8
kim indigo 19 eli delta 50 gus fable 73 eli grove 38 chen harbor 16 alice indigo 25 kim birch 59 hana juniper 95 chen juniper 63 chen harbor 16
kim indigo 19 eli delta 50 gus fable 73 eli grove 38 chen harbor 16 alice indigo 25 kim birch 59 hana juniper 95 chen juniper 63
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046270
qwen/qwen3.7-plus
awkweave-0046271
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
alice grove 80 gus indigo 102 jules harbor 34 jules juniper 72 kim amber 0 dina ember 1 jules harbor 73
alice grove 80 gus indigo 102 jules harbor 34 kim amber 0 dina ember 1
jules juniper 60 ivan grove 88 dina amber 87 eli fable 113 hana delta 66 kim juniper 110 bruno harbor 95 kim juniper 65
jules juniper 60 ivan grove 88 dina amber 87 eli fable 113 hana delta 66 kim juniper 110 bruno harbor 95
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0046271-p1
Retain only the first occurrence for each unique value in column 1, keeping the original input order.
!seen[$1]++
alice grove 80 gus indigo 102 jules harbor 34 jules juniper 72 kim amber 0 dina ember 1 jules harbor 73
alice grove 80 gus indigo 102 jules harbor 34 kim amber 0 dina ember 1
jules juniper 60 ivan grove 88 dina amber 87 eli fable 113 hana delta 66 kim juniper 110 bruno harbor 95 kim juniper 65
jules juniper 60 ivan grove 88 dina amber 87 eli fable 113 hana delta 66 kim juniper 110 bruno harbor 95
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0046271
qwen/qwen3.7-plus
awkweave-0046272
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 18 harbor alice 14 fable lina 14 birch hana 7 grove eli 18 grove ivan 13 cobalt
kim 18 alice 32 lina 46 hana 53 eli 71 ivan 84
bruno 30 delta farah 22 amber lina 23 fable jules 16 harbor dina 1 birch lina 11 cobalt dina 17 amber
bruno 30 farah 52 lina 75 jules 91 dina 92 lina 103 dina 120
running_total
2
train
original-grammar
CC-BY-4.0
null
null