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-0021611
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
78 ember WARN 73 fable ERROR 47 harbor DEBUG 35 fable WARN 85 cobalt INFO 46 harbor WARN 31 harbor ERROR 37 delta WARN
73 fable ERROR 31 harbor ERROR
32 harbor DEBUG 98 fable ERROR 101 delta ERROR 108 cobalt WARN 42 birch DEBUG 64 birch ERROR 23 birch WARN 42 amber WARN
98 fable ERROR 101 delta ERROR 64 birch ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021611-p1
Print all fields from lines where the third field starts with the string 'ERROR'.
$3 ~ /^ERROR/
78 ember WARN 73 fable ERROR 47 harbor DEBUG 35 fable WARN 85 cobalt INFO 46 harbor WARN 31 harbor ERROR 37 delta WARN
73 fable ERROR 31 harbor ERROR
32 harbor DEBUG 98 fable ERROR 101 delta ERROR 108 cobalt WARN 42 birch DEBUG 64 birch ERROR 23 birch WARN 42 amber WARN
98 fable ERROR 101 delta ERROR 64 birch ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021611
qwen/qwen3.7-plus
awkweave-0021612
Print every line except those containing the exact text delta.
$0 !~ /delta/
ember 36 pending delta 36 pending birch 90 failed ember 61 closed harbor 10 active indigo 91 failed harbor 103 paused delta 999 active
ember 36 pending birch 90 failed ember 61 closed harbor 10 active indigo 91 failed harbor 103 paused
fable 73 paused grove 9 ready cobalt 78 failed delta 19 paused delta 63 ready amber 29 paused harbor 68 active birch 1 failed delta 999 active
fable 73 paused grove 9 ready cobalt 78 failed amber 29 paused harbor 68 active birch 1 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021612-p1
Display all lines that do not contain the exact string delta.
$0 !~ /delta/
ember 36 pending delta 36 pending birch 90 failed ember 61 closed harbor 10 active indigo 91 failed harbor 103 paused delta 999 active
ember 36 pending birch 90 failed ember 61 closed harbor 10 active indigo 91 failed harbor 103 paused
fable 73 paused grove 9 ready cobalt 78 failed delta 19 paused delta 63 ready amber 29 paused harbor 68 active birch 1 failed delta 999 active
fable 73 paused grove 9 ready cobalt 78 failed amber 29 paused harbor 68 active birch 1 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021612
qwen/qwen3.7-plus
awkweave-0021613
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
ivan grove 91 jules grove 42 lina fable 95 kim delta 1 jules indigo 58 lina juniper 90 farah ember 81 eli amber 81
kim delta 1 jules indigo 58 lina juniper 90
hana harbor 24 hana ember 120 lina fable 91 eli indigo 70 bruno cobalt 99 jules birch 5 gus ember 67 chen birch 12 kim grove 3
eli indigo 70 bruno cobalt 99 jules birch 5
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021613-p1
Output lines 4 to 6, inclusive of both the start and end lines.
NR >= 4 && NR <= 6
ivan grove 91 jules grove 42 lina fable 95 kim delta 1 jules indigo 58 lina juniper 90 farah ember 81 eli amber 81
kim delta 1 jules indigo 58 lina juniper 90
hana harbor 24 hana ember 120 lina fable 91 eli indigo 70 bruno cobalt 99 jules birch 5 gus ember 67 chen birch 12 kim grove 3
eli indigo 70 bruno cobalt 99 jules birch 5
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021613
qwen/qwen3.7-plus
awkweave-0021614
Output only the first 5 records.
NR <= 5
gus 111 fable eli 10 delta chen 59 harbor hana 48 juniper farah 86 ember jules 104 fable hana 50 juniper jules 72 juniper lina 80 birch bruno 116 fable
gus 111 fable eli 10 delta chen 59 harbor hana 48 juniper farah 86 ember
eli 33 birch farah 3 ember ivan 68 juniper farah 24 grove gus 69 amber kim 82 grove lina 18 grove farah 78 cobalt dina 107 delta gus 48 fable
eli 33 birch farah 3 ember ivan 68 juniper farah 24 grove gus 69 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021614-p1
Show only the initial 5 records from the input.
NR <= 5
gus 111 fable eli 10 delta chen 59 harbor hana 48 juniper farah 86 ember jules 104 fable hana 50 juniper jules 72 juniper lina 80 birch bruno 116 fable
gus 111 fable eli 10 delta chen 59 harbor hana 48 juniper farah 86 ember
eli 33 birch farah 3 ember ivan 68 juniper farah 24 grove gus 69 amber kim 82 grove lina 18 grove farah 78 cobalt dina 107 delta gus 48 fable
eli 33 birch farah 3 ember ivan 68 juniper farah 24 grove gus 69 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021614
qwen/qwen3.7-plus
awkweave-0021615
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 83 indigo gus 92 indigo jules 44 amber eli 67 grove hana 27 birch lina 117 fable kim 24 grove
gus 92 indigo jules 44 amber eli 67 grove hana 27 birch lina 117 fable kim 24 grove
farah 96 fable bruno 37 delta lina 2 ember jules 69 grove kim 77 indigo ivan 65 cobalt farah 35 amber jules 73 cobalt farah 32 harbor lina 89 cobalt
bruno 37 delta lina 2 ember jules 69 grove kim 77 indigo ivan 65 cobalt farah 35 amber jules 73 cobalt farah 32 harbor lina 89 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021615-p1
Omit the first line and print the rest of the lines as they are.
NR > 1
ivan 83 indigo gus 92 indigo jules 44 amber eli 67 grove hana 27 birch lina 117 fable kim 24 grove
gus 92 indigo jules 44 amber eli 67 grove hana 27 birch lina 117 fable kim 24 grove
farah 96 fable bruno 37 delta lina 2 ember jules 69 grove kim 77 indigo ivan 65 cobalt farah 35 amber jules 73 cobalt farah 32 harbor lina 89 cobalt
bruno 37 delta lina 2 ember jules 69 grove kim 77 indigo ivan 65 cobalt farah 35 amber jules 73 cobalt farah 32 harbor lina 89 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021615
qwen/qwen3.7-plus
awkweave-0021616
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
jules failed 72 eli ready 103 gus failed 108 jules paused 87 farah paused 6 ivan closed 87
2
chen paused 89 jules pending 55 alice pending 81 farah ready 12 jules active 63 dina pending 111 lina failed 115 alice failed 52
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021616-p1
Count the number of records where column 2 is 'failed', printing 0 if no such records exist.
$2 == "failed"{n++}END{print n+0}
jules failed 72 eli ready 103 gus failed 108 jules paused 87 farah paused 6 ivan closed 87
2
chen paused 89 jules pending 55 alice pending 81 farah ready 12 jules active 63 dina pending 111 lina failed 115 alice failed 52
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021616
qwen/qwen3.7-plus
awkweave-0021617
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
29 delta kim 19 delta bruno 11 fable lina 21 amber jules 20 ember farah 17 amber alice 1 birch farah 21 cobalt alice 20 birch bruno
159
2 harbor chen 4 delta eli 27 harbor alice 13 cobalt bruno 10 harbor eli 14 cobalt eli 19 birch dina 27 fable farah 22 harbor gus
138
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021617-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
29 delta kim 19 delta bruno 11 fable lina 21 amber jules 20 ember farah 17 amber alice 1 birch farah 21 cobalt alice 20 birch bruno
159
2 harbor chen 4 delta eli 27 harbor alice 13 cobalt bruno 10 harbor eli 14 cobalt eli 19 birch dina 27 fable farah 22 harbor gus
138
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021617
qwen/qwen3.7-plus
awkweave-0021618
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ember gus 24 harbor jules 22 juniper dina 9 indigo dina 20 amber ivan 6 grove ivan 1 juniper farah 21 harbor chen 28
16.38
ember alice 17 juniper eli 4 cobalt jules 8 amber bruno 22 amber dina 13 birch bruno 1 delta eli 26 cobalt alice 20 indigo lina 3
12.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021618-p1
Calculate the average of values in column 3 and format the result to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ember gus 24 harbor jules 22 juniper dina 9 indigo dina 20 amber ivan 6 grove ivan 1 juniper farah 21 harbor chen 28
16.38
ember alice 17 juniper eli 4 cobalt jules 8 amber bruno 22 amber dina 13 birch bruno 1 delta eli 26 cobalt alice 20 indigo lina 3
12.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021618
qwen/qwen3.7-plus
awkweave-0021619
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta bruno 7 ember kim 6 fable eli 24 grove eli 14 harbor lina 27 delta eli 14 delta dina 16 harbor jules 23 grove gus 26 indigo alice 28
6
fable hana 11 fable chen 24 amber bruno 13 grove jules 26 amber jules 16 ember eli 1 grove dina 28 juniper jules 8 fable kim 5
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021619-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta bruno 7 ember kim 6 fable eli 24 grove eli 14 harbor lina 27 delta eli 14 delta dina 16 harbor jules 23 grove gus 26 indigo alice 28
6
fable hana 11 fable chen 24 amber bruno 13 grove jules 26 amber jules 16 ember eli 1 grove dina 28 juniper jules 8 fable kim 5
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021619
qwen/qwen3.7-plus
awkweave-0021620
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 12 ember jules 3 birch jules 19 grove farah 7 amber gus 29 harbor hana 25 harbor
29
bruno 7 indigo hana 22 delta kim 3 delta kim 23 fable ivan 16 fable farah 29 juniper kim 8 birch
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021620-p1
Identify and output the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 12 ember jules 3 birch jules 19 grove farah 7 amber gus 29 harbor hana 25 harbor
29
bruno 7 indigo hana 22 delta kim 3 delta kim 23 fable ivan 16 fable farah 29 juniper kim 8 birch
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021620
qwen/qwen3.7-plus
awkweave-0021621
Count all input records and print the total.
END{print NR}
gus 86 bruno 38 chen 99 eli 4 chen 55 dina 37 hana 75 chen 99 alice 112 ivan 28
10
lina 49 alice 24 bruno 4 bruno 16 jules 1 kim 51 kim 72 chen 12
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021621-p1
Determine the total number of input records and print this count.
END{print NR}
gus 86 bruno 38 chen 99 eli 4 chen 55 dina 37 hana 75 chen 99 alice 112 ivan 28
10
lina 49 alice 24 bruno 4 bruno 16 jules 1 kim 51 kim 72 chen 12
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021621
qwen/qwen3.7-plus
awkweave-0021622
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina amber 55 chen amber 12 kim indigo 45 hana ember 113 lina indigo 90 ivan grove 84 dina fable 75 ivan grove 84 dina amber 92 eli cobalt 6 eli fable 49
dina amber 55 chen amber 12 kim indigo 45 hana ember 113 lina indigo 90 ivan grove 84 dina fable 75 dina amber 92 eli cobalt 6 eli fable 49
alice ember 75 farah indigo 98 farah birch 72 bruno birch 74 gus indigo 78 dina ember 112 dina ember 112 chen harbor 90 kim harbor 32 gus cobalt 44
alice ember 75 farah indigo 98 farah birch 72 bruno birch 74 gus indigo 78 dina ember 112 chen harbor 90 kim harbor 32 gus cobalt 44
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021622-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
dina amber 55 chen amber 12 kim indigo 45 hana ember 113 lina indigo 90 ivan grove 84 dina fable 75 ivan grove 84 dina amber 92 eli cobalt 6 eli fable 49
dina amber 55 chen amber 12 kim indigo 45 hana ember 113 lina indigo 90 ivan grove 84 dina fable 75 dina amber 92 eli cobalt 6 eli fable 49
alice ember 75 farah indigo 98 farah birch 72 bruno birch 74 gus indigo 78 dina ember 112 dina ember 112 chen harbor 90 kim harbor 32 gus cobalt 44
alice ember 75 farah indigo 98 farah birch 72 bruno birch 74 gus indigo 78 dina ember 112 chen harbor 90 kim harbor 32 gus cobalt 44
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021622
qwen/qwen3.7-plus
awkweave-0021623
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
lina indigo 120 dina juniper 55 ivan ember 43 ivan amber 24 alice indigo 99 ivan harbor 53 farah indigo 36
lina indigo 120 dina juniper 55 ivan ember 43 ivan amber 24 alice indigo 99 ivan harbor 53 farah indigo 36
hana amber 103 hana amber 87 gus juniper 49 eli ember 91 gus amber 25 chen indigo 29 kim delta 58 kim cobalt 65
hana amber 103 hana amber 87 gus juniper 49 eli ember 91 gus amber 25 chen indigo 29 kim delta 58 kim cobalt 65
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021623-p1
Retain only the first occurrence of each unique value in column 3, keeping the original input order.
!seen[$3]++
lina indigo 120 dina juniper 55 ivan ember 43 ivan amber 24 alice indigo 99 ivan harbor 53 farah indigo 36
lina indigo 120 dina juniper 55 ivan ember 43 ivan amber 24 alice indigo 99 ivan harbor 53 farah indigo 36
hana amber 103 hana amber 87 gus juniper 49 eli ember 91 gus amber 25 chen indigo 29 kim delta 58 kim cobalt 65
hana amber 103 hana amber 87 gus juniper 49 eli ember 91 gus amber 25 chen indigo 29 kim delta 58 kim cobalt 65
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021623
qwen/qwen3.7-plus
awkweave-0021624
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 12 fable hana 22 indigo ivan 17 delta farah 17 delta bruno 12 fable chen 30 amber dina 6 delta bruno 9 birch gus 4 harbor hana 11 grove
hana 12 hana 34 ivan 51 farah 68 bruno 80 chen 110 dina 116 bruno 125 gus 129 hana 140
jules 5 fable kim 27 juniper lina 9 ember alice 2 harbor eli 12 indigo bruno 27 juniper hana 22 cobalt alice 8 indigo
jules 5 kim 32 lina 41 alice 43 eli 55 bruno 82 hana 104 alice 112
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021624-p1
Output the first column and the cumulative total of the second column for each record, separated by a space.
{s+=$2;print $1,s}
hana 12 fable hana 22 indigo ivan 17 delta farah 17 delta bruno 12 fable chen 30 amber dina 6 delta bruno 9 birch gus 4 harbor hana 11 grove
hana 12 hana 34 ivan 51 farah 68 bruno 80 chen 110 dina 116 bruno 125 gus 129 hana 140
jules 5 fable kim 27 juniper lina 9 ember alice 2 harbor eli 12 indigo bruno 27 juniper hana 22 cobalt alice 8 indigo
jules 5 kim 32 lina 41 alice 43 eli 55 bruno 82 hana 104 alice 112
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021624
qwen/qwen3.7-plus
awkweave-0021625
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 16 15 delta eli 19 23 fable jules 18 25 indigo gus 5 6 fable lina 24 2 delta gus 3 6 harbor
farah 31 eli 42 jules 43 gus 11 lina 26 gus 9
gus 8 11 harbor dina 9 2 amber gus 13 29 harbor bruno 17 1 harbor alice 15 3 cobalt eli 26 4 grove jules 12 7 indigo
gus 19 dina 11 gus 42 bruno 18 alice 18 eli 30 jules 19
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021625-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
farah 16 15 delta eli 19 23 fable jules 18 25 indigo gus 5 6 fable lina 24 2 delta gus 3 6 harbor
farah 31 eli 42 jules 43 gus 11 lina 26 gus 9
gus 8 11 harbor dina 9 2 amber gus 13 29 harbor bruno 17 1 harbor alice 15 3 cobalt eli 26 4 grove jules 12 7 indigo
gus 19 dina 11 gus 42 bruno 18 alice 18 eli 30 jules 19
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021625
qwen/qwen3.7-plus
awkweave-0021626
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
chen 10 bruno 6 kim 24 gus 5 dina 14 gus 3
chen fail bruno fail kim fail gus fail dina fail gus fail
dina 29 dina 5 jules 3 hana 20 jules 21 lina 12 farah 27 ivan 18 farah 24
dina pass dina fail jules fail hana fail jules fail lina fail farah pass ivan fail farah fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021626-p1
Print the first column; output 'pass' if the second column is 25 or greater, otherwise output 'fail'.
{print $1,($2>=25?"pass":"fail")}
chen 10 bruno 6 kim 24 gus 5 dina 14 gus 3
chen fail bruno fail kim fail gus fail dina fail gus fail
dina 29 dina 5 jules 3 hana 20 jules 21 lina 12 farah 27 ivan 18 farah 24
dina pass dina fail jules fail hana fail jules fail lina fail farah pass ivan fail farah fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021626
qwen/qwen3.7-plus
awkweave-0021627
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
ivan juniper 24 dina harbor 32 gus grove 101 alice harbor 16 jules amber 76 ivan juniper 28 farah ember 2 gus delta 81 hana amber 15 ivan indigo 16
IVAN DINA GUS ALICE JULES IVAN FARAH GUS HANA IVAN
lina ember 47 gus harbor 47 bruno delta 94 farah grove 12 ivan indigo 48 ivan cobalt 115
LINA GUS BRUNO FARAH IVAN IVAN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021627-p1
Transform the first column to uppercase and print only that column.
{print toupper($1)}
ivan juniper 24 dina harbor 32 gus grove 101 alice harbor 16 jules amber 76 ivan juniper 28 farah ember 2 gus delta 81 hana amber 15 ivan indigo 16
IVAN DINA GUS ALICE JULES IVAN FARAH GUS HANA IVAN
lina ember 47 gus harbor 47 bruno delta 94 farah grove 12 ivan indigo 48 ivan cobalt 115
LINA GUS BRUNO FARAH IVAN IVAN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021627
qwen/qwen3.7-plus
awkweave-0021628
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
cobalt 67 cobalt 83 fable 74 birch 84 birch 49 indigo 119 birch 118 indigo 87 harbor 91 harbor 89
bal bal ble rch rch dig rch dig rbo rbo
cobalt 107 cobalt 78 grove 7 delta 4 juniper 29 indigo 27 delta 65
bal bal ove lta nip dig lta
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021628-p1
Extract and print 3 characters from the first column, starting at position 3.
{print substr($1,3,3)}
cobalt 67 cobalt 83 fable 74 birch 84 birch 49 indigo 119 birch 118 indigo 87 harbor 91 harbor 89
bal bal ble rch rch dig rch dig rbo rbo
cobalt 107 cobalt 78 grove 7 delta 4 juniper 29 indigo 27 delta 65
bal bal ove lta nip dig lta
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021628
qwen/qwen3.7-plus
awkweave-0021629
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_fable 36 cobalt_grove 75 indigo_cobalt 73 harbor_birch 83 delta_indigo 31 harbor_harbor 72 harbor_ember 59
ember fable cobalt grove indigo cobalt harbor birch delta indigo harbor harbor harbor ember
harbor_ember 73 grove_grove 93 fable_juniper 4 indigo_harbor 26 delta_fable 92 grove_birch 8 delta_juniper 103
harbor ember grove grove fable juniper indigo harbor delta fable grove birch delta juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021629-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
ember_fable 36 cobalt_grove 75 indigo_cobalt 73 harbor_birch 83 delta_indigo 31 harbor_harbor 72 harbor_ember 59
ember fable cobalt grove indigo cobalt harbor birch delta indigo harbor harbor harbor ember
harbor_ember 73 grove_grove 93 fable_juniper 4 indigo_harbor 26 delta_fable 92 grove_birch 8 delta_juniper 103
harbor ember grove grove fable juniper indigo harbor delta fable grove birch delta juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021629
qwen/qwen3.7-plus
awkweave-0021630
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)}
ivan indigo 2 active hana birch 41 ready bruno cobalt 79 ready lina ember 72 closed gus delta 88 paused eli grove 27 closed
active 2 indigo ivan ready 41 birch hana ready 79 cobalt bruno closed 72 ember lina paused 88 delta gus closed 27 grove eli
gus indigo 2 ready jules harbor 105 ready lina amber 66 active farah fable 102 active kim amber 49 closed bruno ember 0 failed chen ember 92 paused dina delta 117 ready dina grove 69 pending
ready 2 indigo gus ready 105 harbor jules active 66 amber lina active 102 fable farah closed 49 amber kim failed 0 ember bruno paused 92 ember chen ready 117 delta dina pending 69 grove dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021630-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan indigo 2 active hana birch 41 ready bruno cobalt 79 ready lina ember 72 closed gus delta 88 paused eli grove 27 closed
active 2 indigo ivan ready 41 birch hana ready 79 cobalt bruno closed 72 ember lina paused 88 delta gus closed 27 grove eli
gus indigo 2 ready jules harbor 105 ready lina amber 66 active farah fable 102 active kim amber 49 closed bruno ember 0 failed chen ember 92 paused dina delta 117 ready dina grove 69 pending
ready 2 indigo gus ready 105 harbor jules active 66 amber lina active 102 fable farah closed 49 amber kim failed 0 ember bruno paused 92 ember chen ready 117 delta dina pending 69 grove dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021630
qwen/qwen3.7-plus
awkweave-0021631
Print the number of whitespace-separated fields on each line.
{print NF}
farah juniper 27 ready alice harbor 50 ready gus amber 6 paused ivan juniper 27 active eli amber 75 active kim ember 52 paused
4 4 4 4 4 4
kim indigo 18 closed gus harbor 36 pending gus harbor 107 paused dina juniper 59 closed hana juniper 76 ready bruno fable 85 paused jules ember 6 active gus cobalt 90 failed bruno birch 49 pending chen ember 78 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021631-p1
Print the count of whitespace-delimited fields for every line.
{print NF}
farah juniper 27 ready alice harbor 50 ready gus amber 6 paused ivan juniper 27 active eli amber 75 active kim ember 52 paused
4 4 4 4 4 4
kim indigo 18 closed gus harbor 36 pending gus harbor 107 paused dina juniper 59 closed hana juniper 76 ready bruno fable 85 paused jules ember 6 active gus cobalt 90 failed bruno birch 49 pending chen ember 78 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021631
qwen/qwen3.7-plus
awkweave-0021632
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 43 kim alpha 56 lina alpha 33 alice alpha 3 jules delta 25 kim gamma 31 farah beta 50 farah gamma 78
beta 2 alpha 3 delta 1 gamma 2
dina delta 66 dina alpha 87 jules gamma 105 hana delta 87 hana beta 33 kim alpha 72 eli delta 80
delta 3 alpha 2 gamma 1 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021632-p1
Tally the records for each unique value in the second column. Print each value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
dina beta 43 kim alpha 56 lina alpha 33 alice alpha 3 jules delta 25 kim gamma 31 farah beta 50 farah gamma 78
beta 2 alpha 3 delta 1 gamma 2
dina delta 66 dina alpha 87 jules gamma 105 hana delta 87 hana beta 33 kim alpha 72 eli delta 80
delta 3 alpha 2 gamma 1 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021632
qwen/qwen3.7-plus
awkweave-0021633
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]]}
chen alpha 10 jules alpha 9 hana alpha 28 hana alpha 4 kim delta 6 ivan alpha 6 farah gamma 28 kim delta 14 farah delta 26 jules beta 24
alpha 57 delta 46 gamma 28 beta 24
bruno beta 28 ivan gamma 13 bruno delta 2 gus gamma 14 hana gamma 21 eli delta 9 eli gamma 20
beta 28 gamma 68 delta 11
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021633-p1
Calculate the sum of the third column for each group defined by the second column, printing results 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]]}
chen alpha 10 jules alpha 9 hana alpha 28 hana alpha 4 kim delta 6 ivan alpha 6 farah gamma 28 kim delta 14 farah delta 26 jules beta 24
alpha 57 delta 46 gamma 28 beta 24
bruno beta 28 ivan gamma 13 bruno delta 2 gus gamma 14 hana gamma 21 eli delta 9 eli gamma 20
beta 28 gamma 68 delta 11
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021633
qwen/qwen3.7-plus
awkweave-0021634
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 harbor 116 beta grove 63 alpha amber 87 alpha cobalt 15 gamma grove 106 beta grove 63 alpha fable 46 gamma grove 79
beta 3 alpha 3 gamma 2
alpha ember 36 delta cobalt 53 delta ember 12 delta delta 32 delta delta 107 delta birch 31 alpha harbor 39 beta cobalt 30 delta harbor 89 alpha harbor 109
alpha 3 delta 6
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021634-p1
List each duplicate value from the first column along with its occurrence count, 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]]}
beta harbor 116 beta grove 63 alpha amber 87 alpha cobalt 15 gamma grove 106 beta grove 63 alpha fable 46 gamma grove 79
beta 3 alpha 3 gamma 2
alpha ember 36 delta cobalt 53 delta ember 12 delta delta 32 delta delta 107 delta birch 31 alpha harbor 39 beta cobalt 30 delta harbor 89 alpha harbor 109
alpha 3 delta 6
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021634
qwen/qwen3.7-plus
awkweave-0021635
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name state record_id note r001 kim 16 failed r002 lina 29 paused r003 bruno 4 closed r004 chen 17 closed r005 hana 28 paused r006 lina 12 closed r007 dina 10 ready r008 chen 24 active r009 farah 26 ready
kim lina bruno chen hana lina dina chen farah
display_name state record_id note r001 lina 23 pending r002 farah 8 pending r003 alice 10 paused r004 alice 19 paused r005 hana 26 pending r006 chen 12 ready r007 hana 26 closed r008 chen 11 failed r009 farah 27 ready
lina farah alice alice hana chen hana chen farah
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021635-p1
Skip the header row and print the state column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name state record_id note r001 kim 16 failed r002 lina 29 paused r003 bruno 4 closed r004 chen 17 closed r005 hana 28 paused r006 lina 12 closed r007 dina 10 ready r008 chen 24 active r009 farah 26 ready
kim lina bruno chen hana lina dina chen farah
display_name state record_id note r001 lina 23 pending r002 farah 8 pending r003 alice 10 paused r004 alice 19 paused r005 hana 26 pending r006 chen 12 ready r007 hana 26 closed r008 chen 11 failed r009 farah 27 ready
lina farah alice alice hana chen hana chen farah
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021635
qwen/qwen3.7-plus
awkweave-0021636
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 kim 6 active r002 gus 13 ready r003 alice 14 failed r004 dina 20 paused r005 ivan 7 failed r006 jules 3 active r007 eli 16 paused
dina eli
record_id display_name score state r001 ivan 24 pending r002 farah 28 ready r003 gus 13 ready r004 hana 12 closed r005 alice 3 ready r006 hana 2 active
ivan farah
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021636-p1
Skip the header row and output the display_name field for any data row where the score exceeds 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 kim 6 active r002 gus 13 ready r003 alice 14 failed r004 dina 20 paused r005 ivan 7 failed r006 jules 3 active r007 eli 16 paused
dina eli
record_id display_name score state r001 ivan 24 pending r002 farah 28 ready r003 gus 13 ready r004 hana 12 closed r005 alice 3 ready r006 hana 2 active
ivan farah
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021636
qwen/qwen3.7-plus
awkweave-0021637
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 4 pending gus 11 ready dina 20 pending kim 26 paused jules 24 ready bruno 30 active ivan 29 failed jules 11 failed hana 4 paused alice 8 failed
pending ready pending paused ready active failed failed paused failed
farah 8 active alice 5 ready lina 7 active ivan 26 active lina 9 ready alice 19 ready kim 11 closed kim 24 active ivan 10 failed
active ready active active ready ready closed active failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021637-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 4 pending gus 11 ready dina 20 pending kim 26 paused jules 24 ready bruno 30 active ivan 29 failed jules 11 failed hana 4 paused alice 8 failed
pending ready pending paused ready active failed failed paused failed
farah 8 active alice 5 ready lina 7 active ivan 26 active lina 9 ready alice 19 ready kim 11 closed kim 24 active ivan 10 failed
active ready active active ready ready closed active failed
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0021637
qwen/qwen3.7-plus
awkweave-0021638
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
hana,12,pending hana,11,ready bruno,11,paused eli,5,pending ivan,1,paused dina,17,active lina,7,ready ivan,15,failed farah,2,paused
dina ivan
chen,2,active dina,15,ready chen,16,failed farah,7,ready dina,23,closed hana,15,closed eli,20,paused
dina chen dina hana eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021638-p1
For simple comma-separated values without quoted commas, output the first column whenever the second column is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
hana,12,pending hana,11,ready bruno,11,paused eli,5,pending ivan,1,paused dina,17,active lina,7,ready ivan,15,failed farah,2,paused
dina ivan
chen,2,active dina,15,ready chen,16,failed farah,7,ready dina,23,closed hana,15,closed eli,20,paused
dina chen dina hana eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021638
qwen/qwen3.7-plus
awkweave-0021639
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
hana harbor 19 gus harbor 76 alice juniper 7 farah amber 105 dina birch 100 hana grove 75 ivan delta 18 lina ember 104
hana harbor 19 gus harbor 76 alice juniper 7 farah amber 105 dina birch 100 hana grove 75 ivan delta 18 lina ember 104
ivan grove 29 lina cobalt 7 chen birch 111 bruno juniper 105 chen birch 61 alice fable 78 gus amber 63 eli grove 15 hana harbor 120
ivan grove 29 lina cobalt 7 chen birch 111 bruno juniper 105 chen birch 61 alice fable 78 gus amber 63 eli grove 15 hana harbor 120
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021639-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
hana harbor 19 gus harbor 76 alice juniper 7 farah amber 105 dina birch 100 hana grove 75 ivan delta 18 lina ember 104
hana harbor 19 gus harbor 76 alice juniper 7 farah amber 105 dina birch 100 hana grove 75 ivan delta 18 lina ember 104
ivan grove 29 lina cobalt 7 chen birch 111 bruno juniper 105 chen birch 61 alice fable 78 gus amber 63 eli grove 15 hana harbor 120
ivan grove 29 lina cobalt 7 chen birch 111 bruno juniper 105 chen birch 61 alice fable 78 gus amber 63 eli grove 15 hana harbor 120
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021639
qwen/qwen3.7-plus
awkweave-0021640
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina delta 61 paused farah birch 79 pending jules ember 9 ready eli ember 17 closed bruno indigo 63 closed jules juniper 69 closed jules ember 77 active farah amber 103 closed jules ember 30 failed
jules juniper 69 closed
dina cobalt 87 active alice juniper 58 closed bruno juniper 12 failed gus ember 29 failed eli grove 116 pending lina amber 0 closed ivan grove 64 failed
alice juniper 58 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021640-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
dina delta 61 paused farah birch 79 pending jules ember 9 ready eli ember 17 closed bruno indigo 63 closed jules juniper 69 closed jules ember 77 active farah amber 103 closed jules ember 30 failed
jules juniper 69 closed
dina cobalt 87 active alice juniper 58 closed bruno juniper 12 failed gus ember 29 failed eli grove 116 pending lina amber 0 closed ivan grove 64 failed
alice juniper 58 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021640
qwen/qwen3.7-plus
awkweave-0021641
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
bruno 14 chen 31 kim 98 dina 65 alice 32 ivan 88 farah 23
kim 98 ivan 88
chen 48 jules 86 jules 11 gus 86 chen 11 kim 109 dina 7 chen 27 bruno 49
jules 11 kim 109 bruno 49
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021641-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
bruno 14 chen 31 kim 98 dina 65 alice 32 ivan 88 farah 23
kim 98 ivan 88
chen 48 jules 86 jules 11 gus 86 chen 11 kim 109 dina 7 chen 27 bruno 49
jules 11 kim 109 bruno 49
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021641
qwen/qwen3.7-plus
awkweave-0021642
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha grove 0 delta delta 56 beta harbor 114 beta ember 47 gamma amber 51 beta amber 77 beta indigo 53
4
gamma amber 7 delta indigo 59 beta cobalt 26 gamma harbor 33 delta birch 110 gamma juniper 40 delta harbor 101 delta delta 110 beta fable 2 beta delta 60
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021642-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha grove 0 delta delta 56 beta harbor 114 beta ember 47 gamma amber 51 beta amber 77 beta indigo 53
4
gamma amber 7 delta indigo 59 beta cobalt 26 gamma harbor 33 delta birch 110 gamma juniper 40 delta harbor 101 delta delta 110 beta fable 2 beta delta 60
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021642
qwen/qwen3.7-plus
awkweave-0021643
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}
farah 9 0 jules 4 23 dina 28 5 gus 17 15 gus 24 30 gus 11 17 kim 23 21 hana 16 30 dina 29 9 bruno 3 23
jules 0.17 dina 5.60 gus 1.13 gus 0.80 gus 0.65 kim 1.10 hana 0.53 dina 3.22 bruno 0.13
eli 20 0 alice 21 5 jules 9 6 alice 10 30 alice 1 13 farah 30 12 eli 13 13 farah 8 19 jules 14 5
alice 4.20 jules 1.50 alice 0.33 alice 0.08 farah 2.50 eli 1.00 farah 0.42 jules 2.80
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021643-p1
For each row where the third column is non-zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 9 0 jules 4 23 dina 28 5 gus 17 15 gus 24 30 gus 11 17 kim 23 21 hana 16 30 dina 29 9 bruno 3 23
jules 0.17 dina 5.60 gus 1.13 gus 0.80 gus 0.65 kim 1.10 hana 0.53 dina 3.22 bruno 0.13
eli 20 0 alice 21 5 jules 9 6 alice 10 30 alice 1 13 farah 30 12 eli 13 13 farah 8 19 jules 14 5
alice 4.20 jules 1.50 alice 0.33 alice 0.08 farah 2.50 eli 1.00 farah 0.42 jules 2.80
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021643
qwen/qwen3.7-plus
awkweave-0021644
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim cobalt 2 jules amber 4 eli indigo 19 dina grove 21 farah fable 5 hana ember 30 alice birch 8 chen cobalt 21
hana ember 30 dina grove 21 chen cobalt 21
bruno grove 1 chen delta 23 ivan amber 18 bruno grove 28 alice harbor 10 kim grove 5 bruno grove 3 alice harbor 21 gus grove 17 farah grove 16
bruno grove 28 chen delta 23 alice harbor 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021644-p1
Output the top three records based on the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim cobalt 2 jules amber 4 eli indigo 19 dina grove 21 farah fable 5 hana ember 30 alice birch 8 chen cobalt 21
hana ember 30 dina grove 21 chen cobalt 21
bruno grove 1 chen delta 23 ivan amber 18 bruno grove 28 alice harbor 10 kim grove 5 bruno grove 3 alice harbor 21 gus grove 17 farah grove 16
bruno grove 28 chen delta 23 alice harbor 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021644
qwen/qwen3.7-plus
awkweave-0021645
Select the 5th and 4th fields in that order.
{print $5, $4}
gus fable 30 birch 64 pending eli indigo 120 fable 113 ready dina cobalt 55 birch 26 pending farah ember 38 delta 57 active alice amber 54 fable 80 closed eli cobalt 119 harbor 86 paused eli delta 41 cobalt 52 paused
64 birch 113 fable 26 birch 57 delta 80 fable 86 harbor 52 cobalt
ivan amber 92 juniper 8 active jules cobalt 24 ember 22 ready bruno indigo 65 delta 110 closed eli ember 30 juniper 80 pending dina ember 80 indigo 41 closed jules ember 59 delta 17 ready
8 juniper 22 ember 110 delta 80 juniper 41 indigo 17 delta
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021645-p1
Extract and print the 5th field followed by the 4th field, in that specific order.
{print $5, $4}
gus fable 30 birch 64 pending eli indigo 120 fable 113 ready dina cobalt 55 birch 26 pending farah ember 38 delta 57 active alice amber 54 fable 80 closed eli cobalt 119 harbor 86 paused eli delta 41 cobalt 52 paused
64 birch 113 fable 26 birch 57 delta 80 fable 86 harbor 52 cobalt
ivan amber 92 juniper 8 active jules cobalt 24 ember 22 ready bruno indigo 65 delta 110 closed eli ember 30 juniper 80 pending dina ember 80 indigo 41 closed jules ember 59 delta 17 ready
8 juniper 22 ember 110 delta 80 juniper 41 indigo 17 delta
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021645
qwen/qwen3.7-plus
awkweave-0021646
Print the last field of every input line.
{print $NF}
paused 29 jules active 38 chen paused 55 alice failed 40 dina failed 110 hana paused 1 chen paused 54 gus
jules chen alice dina hana chen gus
ready 56 jules ready 65 alice ready 71 gus ready 33 chen ready 56 chen active 67 lina
jules alice gus chen chen lina
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021646-p1
Print the final field from every line of the input.
{print $NF}
paused 29 jules active 38 chen paused 55 alice failed 40 dina failed 110 hana paused 1 chen paused 54 gus
jules chen alice dina hana chen gus
ready 56 jules ready 65 alice ready 71 gus ready 33 chen ready 56 chen active 67 lina
jules alice gus chen chen lina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021646
qwen/qwen3.7-plus
awkweave-0021647
Print the complete records where column 2 is greater than 23.
$2 > 23
ivan 118 eli dina 62 hana ivan 79 chen hana 100 eli jules 18 kim dina 43 chen gus 41 bruno chen 57 bruno dina 83 bruno
ivan 118 eli dina 62 hana ivan 79 chen hana 100 eli dina 43 chen gus 41 bruno chen 57 bruno dina 83 bruno
ivan 14 chen kim 2 lina chen 70 gus eli 44 lina dina 53 dina kim 49 lina
chen 70 gus eli 44 lina dina 53 dina kim 49 lina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021647-p1
Output the full records for all rows where the value in column 2 is strictly greater than 23.
$2 > 23
ivan 118 eli dina 62 hana ivan 79 chen hana 100 eli jules 18 kim dina 43 chen gus 41 bruno chen 57 bruno dina 83 bruno
ivan 118 eli dina 62 hana ivan 79 chen hana 100 eli dina 43 chen gus 41 bruno chen 57 bruno dina 83 bruno
ivan 14 chen kim 2 lina chen 70 gus eli 44 lina dina 53 dina kim 49 lina
chen 70 gus eli 44 lina dina 53 dina kim 49 lina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021647
qwen/qwen3.7-plus
awkweave-0021648
Show whole lines whose 1st field is between 9 and 29, inclusive.
$1 >= 9 && $1 <= 29
25 pending fable ready 3 pending cobalt active 2 failed cobalt active 26 closed birch pending 16 failed cobalt failed 14 active harbor ready 15 active grove failed
25 pending fable ready 26 closed birch pending 16 failed cobalt failed 14 active harbor ready 15 active grove failed
30 closed fable failed 3 ready cobalt pending 16 pending birch pending 3 active fable failed 18 active harbor active 1 active amber pending 11 ready juniper pending 17 paused ember closed
16 pending birch pending 18 active harbor active 11 ready juniper pending 17 paused ember closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021648-p1
Display entire lines where the first field falls within the inclusive range of 9 to 29.
$1 >= 9 && $1 <= 29
25 pending fable ready 3 pending cobalt active 2 failed cobalt active 26 closed birch pending 16 failed cobalt failed 14 active harbor ready 15 active grove failed
25 pending fable ready 26 closed birch pending 16 failed cobalt failed 14 active harbor ready 15 active grove failed
30 closed fable failed 3 ready cobalt pending 16 pending birch pending 3 active fable failed 18 active harbor active 1 active amber pending 11 ready juniper pending 17 paused ember closed
16 pending birch pending 18 active harbor active 11 ready juniper pending 17 paused ember closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021648
qwen/qwen3.7-plus
awkweave-0021649
Print column 3 only for rows where column 4 is exactly ready.
$4 == "ready"{print $3}
amber 91 hana pending birch 29 chen ready cobalt 26 ivan paused harbor 120 hana closed delta 89 bruno failed birch 111 eli active
chen
juniper 74 farah active amber 9 jules closed birch 17 hana paused birch 120 alice active amber 62 eli closed grove 55 kim pending amber 0 farah pending delta 60 hana ready juniper 71 jules closed ember 16 alice paused
hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021649-p1
Output only the third column for rows where the fourth column is exactly 'ready'.
$4 == "ready"{print $3}
amber 91 hana pending birch 29 chen ready cobalt 26 ivan paused harbor 120 hana closed delta 89 bruno failed birch 111 eli active
chen
juniper 74 farah active amber 9 jules closed birch 17 hana paused birch 120 alice active amber 62 eli closed grove 55 kim pending amber 0 farah pending delta 60 hana ready juniper 71 jules closed ember 16 alice paused
hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021649
qwen/qwen3.7-plus
awkweave-0021650
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
fable 81 WARN fable 91 ERROR indigo 55 DEBUG birch 26 ERROR indigo 6 INFO cobalt 30 ERROR
fable 91 ERROR birch 26 ERROR cobalt 30 ERROR
birch 23 INFO juniper 15 DEBUG birch 34 DEBUG birch 111 WARN ember 10 INFO cobalt 56 ERROR
cobalt 56 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021650-p1
Print all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
fable 81 WARN fable 91 ERROR indigo 55 DEBUG birch 26 ERROR indigo 6 INFO cobalt 30 ERROR
fable 91 ERROR birch 26 ERROR cobalt 30 ERROR
birch 23 INFO juniper 15 DEBUG birch 34 DEBUG birch 111 WARN ember 10 INFO cobalt 56 ERROR
cobalt 56 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021650
qwen/qwen3.7-plus
awkweave-0021651
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
birch 87 pending birch 103 failed fable 8 failed juniper 54 active harbor 31 paused fable 120 paused juniper 999 active
birch 87 pending birch 103 failed fable 8 failed harbor 31 paused fable 120 paused
delta 100 failed birch 97 failed birch 10 paused harbor 104 ready delta 43 active juniper 117 ready fable 114 closed fable 46 paused grove 64 active juniper 999 active
delta 100 failed birch 97 failed birch 10 paused harbor 104 ready delta 43 active fable 114 closed fable 46 paused grove 64 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021651-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
birch 87 pending birch 103 failed fable 8 failed juniper 54 active harbor 31 paused fable 120 paused juniper 999 active
birch 87 pending birch 103 failed fable 8 failed harbor 31 paused fable 120 paused
delta 100 failed birch 97 failed birch 10 paused harbor 104 ready delta 43 active juniper 117 ready fable 114 closed fable 46 paused grove 64 active juniper 999 active
delta 100 failed birch 97 failed birch 10 paused harbor 104 ready delta 43 active fable 114 closed fable 46 paused grove 64 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021651
qwen/qwen3.7-plus
awkweave-0021652
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
lina juniper 1 chen harbor 74 lina cobalt 25 farah ember 109 bruno birch 93 bruno amber 70 kim delta 82 lina ember 99
lina cobalt 25 farah ember 109 bruno birch 93
kim fable 98 farah grove 112 ivan cobalt 76 eli harbor 2 farah birch 111 kim indigo 47 eli indigo 94
ivan cobalt 76 eli harbor 2 farah birch 111
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021652-p1
Print lines 3 through 5, inclusive of both endpoints.
NR >= 3 && NR <= 5
lina juniper 1 chen harbor 74 lina cobalt 25 farah ember 109 bruno birch 93 bruno amber 70 kim delta 82 lina ember 99
lina cobalt 25 farah ember 109 bruno birch 93
kim fable 98 farah grove 112 ivan cobalt 76 eli harbor 2 farah birch 111 kim indigo 47 eli indigo 94
ivan cobalt 76 eli harbor 2 farah birch 111
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021652
qwen/qwen3.7-plus
awkweave-0021653
Output only the first 2 records.
NR <= 2
lina 102 amber kim 97 grove kim 38 birch kim 88 indigo farah 45 harbor eli 63 delta
lina 102 amber kim 97 grove
kim 88 fable farah 22 cobalt gus 53 juniper lina 105 indigo ivan 85 fable bruno 90 ember eli 56 fable
kim 88 fable farah 22 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021653-p1
Output only the first 2 records.
NR <= 2
lina 102 amber kim 97 grove kim 38 birch kim 88 indigo farah 45 harbor eli 63 delta
lina 102 amber kim 97 grove
kim 88 fable farah 22 cobalt gus 53 juniper lina 105 indigo ivan 85 fable bruno 90 ember eli 56 fable
kim 88 fable farah 22 cobalt
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0021653
qwen/qwen3.7-plus
awkweave-0021654
Skip the first line and print every remaining line unchanged.
NR > 1
jules 57 harbor chen 2 amber jules 59 cobalt ivan 86 cobalt eli 88 cobalt chen 9 cobalt
chen 2 amber jules 59 cobalt ivan 86 cobalt eli 88 cobalt chen 9 cobalt
hana 38 indigo bruno 25 cobalt dina 43 ember ivan 86 fable kim 67 fable chen 117 amber kim 114 harbor bruno 20 ember
bruno 25 cobalt dina 43 ember ivan 86 fable kim 67 fable chen 117 amber kim 114 harbor bruno 20 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021654-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
jules 57 harbor chen 2 amber jules 59 cobalt ivan 86 cobalt eli 88 cobalt chen 9 cobalt
chen 2 amber jules 59 cobalt ivan 86 cobalt eli 88 cobalt chen 9 cobalt
hana 38 indigo bruno 25 cobalt dina 43 ember ivan 86 fable kim 67 fable chen 117 amber kim 114 harbor bruno 20 ember
bruno 25 cobalt dina 43 ember ivan 86 fable kim 67 fable chen 117 amber kim 114 harbor bruno 20 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021654
qwen/qwen3.7-plus
awkweave-0021655
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
lina paused 63 hana ready 99 ivan closed 1 ivan pending 86 lina paused 114 eli failed 115 chen ready 82 kim pending 52 dina active 87 kim ready 53
1
dina paused 32 gus pending 78 eli active 51 alice active 15 ivan failed 109 chen pending 99 bruno closed 2 bruno closed 116 dina active 9
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021655-p1
Count the number of records with 'closed' in the second column, printing 0 if none exist.
$2 == "closed"{n++}END{print n+0}
lina paused 63 hana ready 99 ivan closed 1 ivan pending 86 lina paused 114 eli failed 115 chen ready 82 kim pending 52 dina active 87 kim ready 53
1
dina paused 32 gus pending 78 eli active 51 alice active 15 ivan failed 109 chen pending 99 bruno closed 2 bruno closed 116 dina active 9
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021655
qwen/qwen3.7-plus
awkweave-0021656
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
eli 22 cobalt dina 30 juniper ivan 2 ember jules 10 amber farah 17 juniper alice 24 amber chen 16 cobalt
121
dina 26 delta lina 20 delta chen 4 cobalt lina 25 harbor kim 13 indigo alice 28 harbor hana 4 delta jules 14 ember
134
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021656-p1
Compute and display the sum of integer values in the second column.
{s+=$2}END{print s+0}
eli 22 cobalt dina 30 juniper ivan 2 ember jules 10 amber farah 17 juniper alice 24 amber chen 16 cobalt
121
dina 26 delta lina 20 delta chen 4 cobalt lina 25 harbor kim 13 indigo alice 28 harbor hana 4 delta jules 14 ember
134
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021656
qwen/qwen3.7-plus
awkweave-0021657
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
chen delta 29 bruno amber 28 ivan cobalt 29 dina grove 27 eli ember 23 ivan amber 11 gus cobalt 6 ivan harbor 3
19.50
chen amber 11 hana birch 8 kim grove 23 ivan ember 13 hana delta 1 eli ember 9 jules harbor 6 alice grove 7
9.75
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021657-p1
Print the arithmetic mean of the third column, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
chen delta 29 bruno amber 28 ivan cobalt 29 dina grove 27 eli ember 23 ivan amber 11 gus cobalt 6 ivan harbor 3
19.50
chen amber 11 hana birch 8 kim grove 23 ivan ember 13 hana delta 1 eli ember 9 jules harbor 6 alice grove 7
9.75
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021657
qwen/qwen3.7-plus
awkweave-0021658
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
indigo 18 jules fable 12 lina fable 27 gus cobalt 28 ivan ember 6 ivan ember 28 chen amber 11 gus cobalt 29 dina
6
juniper 24 jules birch 5 farah grove 30 jules grove 16 lina grove 18 chen amber 6 alice delta 4 lina ember 24 ivan fable 3 dina harbor 22 dina
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021658-p1
Identify and print the minimum numeric value found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
indigo 18 jules fable 12 lina fable 27 gus cobalt 28 ivan ember 6 ivan ember 28 chen amber 11 gus cobalt 29 dina
6
juniper 24 jules birch 5 farah grove 30 jules grove 16 lina grove 18 chen amber 6 alice delta 4 lina ember 24 ivan fable 3 dina harbor 22 dina
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021658
qwen/qwen3.7-plus
awkweave-0021659
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan delta 21 dina delta 8 kim fable 9 hana delta 13 kim juniper 2 jules birch 14 eli indigo 25 eli delta 20 eli delta 1
25
ivan fable 23 farah indigo 15 farah juniper 13 farah ember 21 hana juniper 25 kim amber 30 chen cobalt 30
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021659-p1
Identify and print the maximum numeric value found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan delta 21 dina delta 8 kim fable 9 hana delta 13 kim juniper 2 jules birch 14 eli indigo 25 eli delta 20 eli delta 1
25
ivan fable 23 farah indigo 15 farah juniper 13 farah ember 21 hana juniper 25 kim amber 30 chen cobalt 30
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021659
qwen/qwen3.7-plus
awkweave-0021660
Count all input records and print the total.
END{print NR}
alice 101 lina 60 lina 117 kim 98 bruno 54 jules 16 alice 117 hana 1 kim 5
9
lina 13 dina 101 dina 59 ivan 106 hana 117 chen 6 dina 90
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021660-p1
Count the total number of input records and output the result.
END{print NR}
alice 101 lina 60 lina 117 kim 98 bruno 54 jules 16 alice 117 hana 1 kim 5
9
lina 13 dina 101 dina 59 ivan 106 hana 117 chen 6 dina 90
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021660
qwen/qwen3.7-plus