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-0049612-p1
Output the third column exclusively for rows where the first column matches 'pending' exactly.
$1 == "pending"{print $3}
paused fable lina 119 failed fable lina 112 pending amber dina 77 failed juniper kim 35 ready cobalt alice 113 paused birch kim 86 active cobalt jules 45
dina
closed birch dina 98 failed amber hana 92 active juniper dina 48 ready birch kim 81 active indigo eli 42 pending birch farah 2 closed grove farah 1 closed juniper farah 11
farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049612
qwen/qwen3.7-plus
awkweave-0049613
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
DEBUG 120 ember WARN 88 harbor INFO 73 ember INFO 67 juniper INFO 5 juniper ERROR 116 harbor
WARN 88 harbor
INFO 80 delta INFO 9 delta WARN 102 cobalt DEBUG 23 birch DEBUG 13 ember WARN 78 birch DEBUG 29 fable
WARN 102 cobalt WARN 78 birch
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049613-p1
Display all fields from lines whose first field starts with 'WARN'.
$1 ~ /^WARN/
DEBUG 120 ember WARN 88 harbor INFO 73 ember INFO 67 juniper INFO 5 juniper ERROR 116 harbor
WARN 88 harbor
INFO 80 delta INFO 9 delta WARN 102 cobalt DEBUG 23 birch DEBUG 13 ember WARN 78 birch DEBUG 29 fable
WARN 102 cobalt WARN 78 birch
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049613
qwen/qwen3.7-plus
awkweave-0049614
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
juniper 80 pending juniper 104 ready indigo 85 ready cobalt 90 closed grove 115 failed ember 10 pending indigo 999 active
juniper 80 pending juniper 104 ready cobalt 90 closed grove 115 failed ember 10 pending
juniper 19 paused grove 76 pending birch 23 active indigo 16 paused delta 65 pending delta 13 ready fable 100 pending cobalt 73 pending indigo 999 active
juniper 19 paused grove 76 pending birch 23 active delta 65 pending delta 13 ready fable 100 pending cobalt 73 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049614-p1
Print every line that does not contain the exact string 'indigo'.
$0 !~ /indigo/
juniper 80 pending juniper 104 ready indigo 85 ready cobalt 90 closed grove 115 failed ember 10 pending indigo 999 active
juniper 80 pending juniper 104 ready cobalt 90 closed grove 115 failed ember 10 pending
juniper 19 paused grove 76 pending birch 23 active indigo 16 paused delta 65 pending delta 13 ready fable 100 pending cobalt 73 pending indigo 999 active
juniper 19 paused grove 76 pending birch 23 active delta 65 pending delta 13 ready fable 100 pending cobalt 73 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049614
qwen/qwen3.7-plus
awkweave-0049615
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
dina grove 85 ivan harbor 59 farah fable 95 jules cobalt 59 ivan delta 83 jules amber 68
ivan harbor 59 farah fable 95
hana indigo 42 jules harbor 85 farah harbor 22 jules indigo 86 dina ember 84 kim amber 69 dina grove 50
jules harbor 85 farah harbor 22
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049615-p1
Output lines 2 to 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
dina grove 85 ivan harbor 59 farah fable 95 jules cobalt 59 ivan delta 83 jules amber 68
ivan harbor 59 farah fable 95
hana indigo 42 jules harbor 85 farah harbor 22 jules indigo 86 dina ember 84 kim amber 69 dina grove 50
jules harbor 85 farah harbor 22
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049615
qwen/qwen3.7-plus
awkweave-0049616
Output only the first 4 records.
NR <= 4
bruno 61 harbor kim 103 grove ivan 78 birch bruno 24 ember bruno 64 birch farah 120 birch gus 119 cobalt
bruno 61 harbor kim 103 grove ivan 78 birch bruno 24 ember
farah 34 fable hana 68 harbor eli 59 delta kim 49 juniper kim 82 grove ivan 32 ember chen 79 harbor jules 55 harbor bruno 50 indigo
farah 34 fable hana 68 harbor eli 59 delta kim 49 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049616-p1
Display only the initial 4 records.
NR <= 4
bruno 61 harbor kim 103 grove ivan 78 birch bruno 24 ember bruno 64 birch farah 120 birch gus 119 cobalt
bruno 61 harbor kim 103 grove ivan 78 birch bruno 24 ember
farah 34 fable hana 68 harbor eli 59 delta kim 49 juniper kim 82 grove ivan 32 ember chen 79 harbor jules 55 harbor bruno 50 indigo
farah 34 fable hana 68 harbor eli 59 delta kim 49 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049616
qwen/qwen3.7-plus
awkweave-0049617
Skip the first line and print every remaining line unchanged.
NR > 1
lina 45 harbor hana 37 ember dina 10 amber alice 86 ember hana 7 amber farah 45 birch
hana 37 ember dina 10 amber alice 86 ember hana 7 amber farah 45 birch
gus 34 grove bruno 50 grove ivan 80 ember lina 115 harbor ivan 91 birch eli 64 indigo hana 65 indigo dina 82 indigo chen 26 fable
bruno 50 grove ivan 80 ember lina 115 harbor ivan 91 birch eli 64 indigo hana 65 indigo dina 82 indigo chen 26 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049617-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
lina 45 harbor hana 37 ember dina 10 amber alice 86 ember hana 7 amber farah 45 birch
hana 37 ember dina 10 amber alice 86 ember hana 7 amber farah 45 birch
gus 34 grove bruno 50 grove ivan 80 ember lina 115 harbor ivan 91 birch eli 64 indigo hana 65 indigo dina 82 indigo chen 26 fable
bruno 50 grove ivan 80 ember lina 115 harbor ivan 91 birch eli 64 indigo hana 65 indigo dina 82 indigo chen 26 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049617
qwen/qwen3.7-plus
awkweave-0049618
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
gus pending 68 ivan failed 49 bruno pending 21 dina pending 36 jules paused 6 eli pending 91
4
ivan failed 57 bruno closed 21 ivan pending 35 ivan paused 61 ivan pending 23 farah active 63 chen pending 73 gus ready 87 jules ready 65 farah closed 111
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049618-p1
Count the number of records with 'pending' in the second column; output 0 if none exist.
$2 == "pending"{n++}END{print n+0}
gus pending 68 ivan failed 49 bruno pending 21 dina pending 36 jules paused 6 eli pending 91
4
ivan failed 57 bruno closed 21 ivan pending 35 ivan paused 61 ivan pending 23 farah active 63 chen pending 73 gus ready 87 jules ready 65 farah closed 111
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049618
qwen/qwen3.7-plus
awkweave-0049619
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
alice 30 harbor bruno 4 amber lina 16 grove lina 11 fable jules 6 indigo eli 18 ember dina 6 cobalt
91
lina 27 ember bruno 19 fable kim 3 cobalt gus 18 indigo bruno 9 cobalt hana 17 birch eli 8 cobalt
101
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049619-p1
Compute and display the sum of integer values found in the second column.
{s+=$2}END{print s+0}
alice 30 harbor bruno 4 amber lina 16 grove lina 11 fable jules 6 indigo eli 18 ember dina 6 cobalt
91
lina 27 ember bruno 19 fable kim 3 cobalt gus 18 indigo bruno 9 cobalt hana 17 birch eli 8 cobalt
101
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049619
qwen/qwen3.7-plus
awkweave-0049620
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
25 eli amber 24 lina birch 7 lina cobalt 15 chen fable 20 hana amber 28 hana delta 28 hana harbor 6 farah harbor 18 bruno juniper
19.00
23 jules juniper 10 farah amber 23 farah harbor 11 gus grove 2 gus harbor 3 farah ember
12.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049620-p1
Print the average of the first column, rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
25 eli amber 24 lina birch 7 lina cobalt 15 chen fable 20 hana amber 28 hana delta 28 hana harbor 6 farah harbor 18 bruno juniper
19.00
23 jules juniper 10 farah amber 23 farah harbor 11 gus grove 2 gus harbor 3 farah ember
12.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049620
qwen/qwen3.7-plus
awkweave-0049621
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta bruno 15 cobalt kim 6 cobalt eli 18 delta alice 22 grove jules 25 ember alice 6 amber jules 27 juniper hana 26
6
birch chen 10 fable eli 5 cobalt kim 16 grove kim 30 indigo dina 27 harbor kim 18 cobalt jules 14 indigo ivan 8
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049621-p1
Identify and output the minimum numeric value in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta bruno 15 cobalt kim 6 cobalt eli 18 delta alice 22 grove jules 25 ember alice 6 amber jules 27 juniper hana 26
6
birch chen 10 fable eli 5 cobalt kim 16 grove kim 30 indigo dina 27 harbor kim 18 cobalt jules 14 indigo ivan 8
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049621
qwen/qwen3.7-plus
awkweave-0049622
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 bruno juniper 29 kim grove 7 kim amber 23 eli birch 2 gus amber 15 eli fable 20 hana grove 4 gus harbor 4 lina fable 12 lina fable
29
8 chen grove 3 hana delta 18 dina ember 10 lina amber 9 jules delta 23 farah cobalt
23
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049622-p1
Identify and output the maximum numeric value in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 bruno juniper 29 kim grove 7 kim amber 23 eli birch 2 gus amber 15 eli fable 20 hana grove 4 gus harbor 4 lina fable 12 lina fable
29
8 chen grove 3 hana delta 18 dina ember 10 lina amber 9 jules delta 23 farah cobalt
23
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049622
qwen/qwen3.7-plus
awkweave-0049623
Count all input records and print the total.
END{print NR}
hana 108 hana 92 kim 13 dina 4 ivan 11 bruno 12 alice 44
7
kim 86 kim 5 hana 72 farah 68 ivan 24 kim 34 lina 106
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049623-p1
Count the total number of input records and print the result.
END{print NR}
hana 108 hana 92 kim 13 dina 4 ivan 11 bruno 12 alice 44
7
kim 86 kim 5 hana 72 farah 68 ivan 24 kim 34 lina 106
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049623
qwen/qwen3.7-plus
awkweave-0049624
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah ember 62 chen birch 103 kim amber 14 kim juniper 96 dina birch 59 alice amber 53 kim indigo 24 alice amber 53 chen ember 40
farah ember 62 chen birch 103 kim amber 14 kim juniper 96 dina birch 59 alice amber 53 kim indigo 24 chen ember 40
chen amber 23 dina delta 40 chen ember 12 jules harbor 114 gus harbor 76 kim harbor 13 jules harbor 23 gus delta 111 gus delta 111 kim ember 70
chen amber 23 dina delta 40 chen ember 12 jules harbor 114 gus harbor 76 kim harbor 13 jules harbor 23 gus delta 111 kim ember 70
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049624-p1
Deduplicate lines by keeping the first instance of each unique line while maintaining the original sequence.
!seen[$0]++
farah ember 62 chen birch 103 kim amber 14 kim juniper 96 dina birch 59 alice amber 53 kim indigo 24 alice amber 53 chen ember 40
farah ember 62 chen birch 103 kim amber 14 kim juniper 96 dina birch 59 alice amber 53 kim indigo 24 chen ember 40
chen amber 23 dina delta 40 chen ember 12 jules harbor 114 gus harbor 76 kim harbor 13 jules harbor 23 gus delta 111 gus delta 111 kim ember 70
chen amber 23 dina delta 40 chen ember 12 jules harbor 114 gus harbor 76 kim harbor 13 jules harbor 23 gus delta 111 kim ember 70
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049624
qwen/qwen3.7-plus
awkweave-0049625
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
ivan harbor 88 chen fable 119 hana cobalt 113 dina amber 43 alice cobalt 109 alice indigo 29 ivan birch 43 gus grove 104 ivan fable 33 dina delta 49
ivan harbor 88 chen fable 119 hana cobalt 113 dina amber 43 alice cobalt 109 alice indigo 29 gus grove 104 ivan fable 33 dina delta 49
hana juniper 101 ivan birch 78 eli grove 64 jules cobalt 6 gus juniper 13 eli harbor 32
hana juniper 101 ivan birch 78 eli grove 64 jules cobalt 6 gus juniper 13 eli harbor 32
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049625-p1
Retain only the initial row for every unique value found in the third column, ensuring the original input order is preserved.
!seen[$3]++
ivan harbor 88 chen fable 119 hana cobalt 113 dina amber 43 alice cobalt 109 alice indigo 29 ivan birch 43 gus grove 104 ivan fable 33 dina delta 49
ivan harbor 88 chen fable 119 hana cobalt 113 dina amber 43 alice cobalt 109 alice indigo 29 gus grove 104 ivan fable 33 dina delta 49
hana juniper 101 ivan birch 78 eli grove 64 jules cobalt 6 gus juniper 13 eli harbor 32
hana juniper 101 ivan birch 78 eli grove 64 jules cobalt 6 gus juniper 13 eli harbor 32
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049625
qwen/qwen3.7-plus
awkweave-0049626
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 13 grove dina 14 amber gus 20 birch lina 5 indigo alice 10 indigo farah 29 juniper
bruno 13 dina 27 gus 47 lina 52 alice 62 farah 91
lina 5 cobalt chen 2 juniper lina 19 cobalt bruno 11 ember chen 2 harbor bruno 1 indigo eli 3 fable farah 7 juniper
lina 5 chen 7 lina 26 bruno 37 chen 39 bruno 40 eli 43 farah 50
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049626-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
bruno 13 grove dina 14 amber gus 20 birch lina 5 indigo alice 10 indigo farah 29 juniper
bruno 13 dina 27 gus 47 lina 52 alice 62 farah 91
lina 5 cobalt chen 2 juniper lina 19 cobalt bruno 11 ember chen 2 harbor bruno 1 indigo eli 3 fable farah 7 juniper
lina 5 chen 7 lina 26 bruno 37 chen 39 bruno 40 eli 43 farah 50
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049626
qwen/qwen3.7-plus
awkweave-0049627
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 8 30 harbor eli 8 7 grove ivan 21 23 harbor jules 26 26 juniper farah 18 20 delta dina 23 29 juniper chen 3 13 cobalt ivan 9 28 amber
eli 38 eli 15 ivan 44 jules 52 farah 38 dina 52 chen 16 ivan 37
kim 9 5 juniper farah 3 18 harbor bruno 7 19 cobalt chen 5 12 harbor farah 29 3 delta hana 13 13 juniper alice 11 18 juniper
kim 14 farah 21 bruno 26 chen 17 farah 32 hana 26 alice 29
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049627-p1
For each row, display the first field followed by the result of adding the second and third fields together.
{print $1,$2+$3}
eli 8 30 harbor eli 8 7 grove ivan 21 23 harbor jules 26 26 juniper farah 18 20 delta dina 23 29 juniper chen 3 13 cobalt ivan 9 28 amber
eli 38 eli 15 ivan 44 jules 52 farah 38 dina 52 chen 16 ivan 37
kim 9 5 juniper farah 3 18 harbor bruno 7 19 cobalt chen 5 12 harbor farah 29 3 delta hana 13 13 juniper alice 11 18 juniper
kim 14 farah 21 bruno 26 chen 17 farah 32 hana 26 alice 29
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049627
qwen/qwen3.7-plus
awkweave-0049628
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
farah 12 eli 9 lina 20 alice 15 chen 3 bruno 25 jules 8 alice 1
farah fail eli fail lina fail alice fail chen fail bruno pass jules fail alice fail
farah 27 dina 16 jules 3 kim 2 jules 13 kim 24 jules 6
farah pass dina fail jules fail kim fail jules fail kim pass jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049628-p1
Output the value from the first column; append 'pass' if the second column's value is 21 or greater, otherwise append 'fail'.
{print $1,($2>=21?"pass":"fail")}
farah 12 eli 9 lina 20 alice 15 chen 3 bruno 25 jules 8 alice 1
farah fail eli fail lina fail alice fail chen fail bruno pass jules fail alice fail
farah 27 dina 16 jules 3 kim 2 jules 13 kim 24 jules 6
farah pass dina fail jules fail kim fail jules fail kim pass jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049628
qwen/qwen3.7-plus
awkweave-0049629
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli juniper 11 gus indigo 53 lina birch 77 eli cobalt 95 jules grove 6 eli harbor 30 alice amber 115 alice ember 36 kim amber 1 hana indigo 40
ELI GUS LINA ELI JULES ELI ALICE ALICE KIM HANA
dina ember 21 jules birch 15 alice delta 46 chen delta 99 alice indigo 21 lina juniper 19 lina cobalt 11 ivan juniper 92 chen grove 48
DINA JULES ALICE CHEN ALICE LINA LINA IVAN CHEN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049629-p1
Transform the first column to uppercase letters and output only this modified column.
{print toupper($1)}
eli juniper 11 gus indigo 53 lina birch 77 eli cobalt 95 jules grove 6 eli harbor 30 alice amber 115 alice ember 36 kim amber 1 hana indigo 40
ELI GUS LINA ELI JULES ELI ALICE ALICE KIM HANA
dina ember 21 jules birch 15 alice delta 46 chen delta 99 alice indigo 21 lina juniper 19 lina cobalt 11 ivan juniper 92 chen grove 48
DINA JULES ALICE CHEN ALICE LINA LINA IVAN CHEN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049629
qwen/qwen3.7-plus
awkweave-0049630
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
delta 90 amber 80 amber 53 cobalt 61 delta 26 delta 113 amber 56
el mb mb ob el el mb
ember 48 amber 117 amber 5 juniper 93 amber 99 grove 23 indigo 14 amber 107
mb mb mb un mb ro nd mb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049630-p1
Extract and print a substring of length 2 from the first column, beginning at the second character.
{print substr($1,2,2)}
delta 90 amber 80 amber 53 cobalt 61 delta 26 delta 113 amber 56
el mb mb ob el el mb
ember 48 amber 117 amber 5 juniper 93 amber 99 grove 23 indigo 14 amber 107
mb mb mb un mb ro nd mb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049630
qwen/qwen3.7-plus
awkweave-0049631
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_indigo 39 birch_delta 85 grove_indigo 25 delta_birch 8 grove_fable 84 grove_grove 47 birch_amber 91
juniper indigo birch delta grove indigo delta birch grove fable grove grove birch amber
indigo_harbor 60 juniper_grove 80 grove_delta 58 harbor_ember 30 indigo_cobalt 89 fable_grove 9 amber_cobalt 47 harbor_indigo 101
indigo harbor juniper grove grove delta harbor ember indigo cobalt fable grove amber cobalt harbor indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049631-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_indigo 39 birch_delta 85 grove_indigo 25 delta_birch 8 grove_fable 84 grove_grove 47 birch_amber 91
juniper indigo birch delta grove indigo delta birch grove fable grove grove birch amber
indigo_harbor 60 juniper_grove 80 grove_delta 58 harbor_ember 30 indigo_cobalt 89 fable_grove 9 amber_cobalt 47 harbor_indigo 101
indigo harbor juniper grove grove delta harbor ember indigo cobalt fable grove amber cobalt harbor indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049631
qwen/qwen3.7-plus
awkweave-0049632
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)}
gus juniper 87 pending dina indigo 24 failed ivan cobalt 84 active farah amber 24 paused jules grove 105 pending dina grove 86 active eli harbor 55 pending lina amber 65 failed lina delta 49 active
pending 87 juniper gus failed 24 indigo dina active 84 cobalt ivan paused 24 amber farah pending 105 grove jules active 86 grove dina pending 55 harbor eli failed 65 amber lina active 49 delta lina
hana cobalt 8 pending chen ember 45 failed alice harbor 45 closed alice indigo 34 ready chen delta 83 ready jules cobalt 28 failed
pending 8 cobalt hana failed 45 ember chen closed 45 harbor alice ready 34 indigo alice ready 83 delta chen failed 28 cobalt jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049632-p1
Reverse the sequence of fields for every line and print the resulting fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus juniper 87 pending dina indigo 24 failed ivan cobalt 84 active farah amber 24 paused jules grove 105 pending dina grove 86 active eli harbor 55 pending lina amber 65 failed lina delta 49 active
pending 87 juniper gus failed 24 indigo dina active 84 cobalt ivan paused 24 amber farah pending 105 grove jules active 86 grove dina pending 55 harbor eli failed 65 amber lina active 49 delta lina
hana cobalt 8 pending chen ember 45 failed alice harbor 45 closed alice indigo 34 ready chen delta 83 ready jules cobalt 28 failed
pending 8 cobalt hana failed 45 ember chen closed 45 harbor alice ready 34 indigo alice ready 83 delta chen failed 28 cobalt jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049632
qwen/qwen3.7-plus
awkweave-0049633
Print the number of whitespace-separated fields on each line.
{print NF}
dina cobalt 93 active chen cobalt 27 pending farah juniper 23 active kim delta 17 paused eli ember 27 pending dina harbor 42 active kim fable 18 closed
4 4 4 4 4 4 4
kim harbor 29 pending hana ember 85 ready dina delta 99 ready lina amber 24 pending ivan birch 82 ready gus birch 91 paused hana juniper 5 closed eli grove 88 active lina ember 87 ready bruno fable 61 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049633-p1
Output the count of whitespace-delimited fields present on each line.
{print NF}
dina cobalt 93 active chen cobalt 27 pending farah juniper 23 active kim delta 17 paused eli ember 27 pending dina harbor 42 active kim fable 18 closed
4 4 4 4 4 4 4
kim harbor 29 pending hana ember 85 ready dina delta 99 ready lina amber 24 pending ivan birch 82 ready gus birch 91 paused hana juniper 5 closed eli grove 88 active lina ember 87 ready bruno fable 61 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049633
qwen/qwen3.7-plus
awkweave-0049634
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 68 kim alpha 94 lina beta 110 chen alpha 83 ivan alpha 76 kim alpha 14
delta 1 alpha 4 beta 1
dina delta 36 alice delta 53 jules gamma 79 hana delta 57 chen delta 93 bruno gamma 71
delta 4 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049634-p1
Tally the number of records for each unique value in the second column, printing the 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]]}
farah delta 68 kim alpha 94 lina beta 110 chen alpha 83 ivan alpha 76 kim alpha 14
delta 1 alpha 4 beta 1
dina delta 36 alice delta 53 jules gamma 79 hana delta 57 chen delta 93 bruno gamma 71
delta 4 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049634
qwen/qwen3.7-plus
awkweave-0049635
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]]}
dina beta 13 eli delta 12 hana delta 11 dina alpha 20 jules alpha 5 lina beta 11 dina delta 20
beta 24 delta 43 alpha 25
jules gamma 8 bruno beta 1 hana delta 8 kim beta 7 gus delta 7 hana beta 23 kim beta 28 bruno delta 12 lina gamma 15 alice gamma 14
gamma 37 beta 59 delta 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049635-p1
Calculate the sum of the third column for each group defined by the second column, displaying the results in the order of the group's 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]]}
dina beta 13 eli delta 12 hana delta 11 dina alpha 20 jules alpha 5 lina beta 11 dina delta 20
beta 24 delta 43 alpha 25
jules gamma 8 bruno beta 1 hana delta 8 kim beta 7 gus delta 7 hana beta 23 kim beta 28 bruno delta 12 lina gamma 15 alice gamma 14
gamma 37 beta 59 delta 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049635
qwen/qwen3.7-plus
awkweave-0049636
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 49 gamma birch 54 gamma birch 68 beta birch 0 delta ember 39 beta juniper 36 gamma delta 13
gamma 3 beta 2
gamma birch 26 alpha amber 94 delta ember 35 alpha indigo 42 gamma amber 40 alpha delta 30 alpha indigo 103
gamma 2 alpha 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049636-p1
List each unique value from the first column along with its frequency, ordered by when it first appears.
{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 49 gamma birch 54 gamma birch 68 beta birch 0 delta ember 39 beta juniper 36 gamma delta 13
gamma 3 beta 2
gamma birch 26 alpha amber 94 delta ember 35 alpha indigo 42 gamma amber 40 alpha delta 30 alpha indigo 103
gamma 2 alpha 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049636
qwen/qwen3.7-plus
awkweave-0049637
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state region note score r001 dina 23 closed r002 chen 2 active r003 farah 28 paused r004 eli 15 ready r005 farah 18 closed r006 kim 2 ready r007 lina 13 active r008 kim 25 ready r009 alice 20 failed
dina chen farah eli farah kim lina kim alice
state region note score r001 jules 15 closed r002 bruno 29 active r003 hana 6 pending r004 dina 30 pending r005 farah 17 pending r006 ivan 3 pending r007 jules 2 closed r008 jules 30 paused r009 bruno 27 failed
jules bruno hana dina farah ivan jules jules bruno
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049637-p1
Skip the header row and output the region field for all remaining records.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state region note score r001 dina 23 closed r002 chen 2 active r003 farah 28 paused r004 eli 15 ready r005 farah 18 closed r006 kim 2 ready r007 lina 13 active r008 kim 25 ready r009 alice 20 failed
dina chen farah eli farah kim lina kim alice
state region note score r001 jules 15 closed r002 bruno 29 active r003 hana 6 pending r004 dina 30 pending r005 farah 17 pending r006 ivan 3 pending r007 jules 2 closed r008 jules 30 paused r009 bruno 27 failed
jules bruno hana dina farah ivan jules jules bruno
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049637
qwen/qwen3.7-plus
awkweave-0049638
The first row is a header. Print display_name for data rows whose score is greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 jules 16 paused r002 ivan 24 active r003 hana 15 paused r004 alice 26 paused r005 eli 3 failed r006 kim 29 failed r007 hana 5 active r008 hana 15 failed r009 jules 19 closed
ivan alice kim
record_id display_name score state r001 hana 17 active r002 gus 1 failed r003 farah 15 failed r004 bruno 23 active r005 alice 3 failed r006 ivan 4 active r007 bruno 26 paused
bruno bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049638-p1
Ignoring the header, output the display_name for any row where the score is strictly greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 jules 16 paused r002 ivan 24 active r003 hana 15 paused r004 alice 26 paused r005 eli 3 failed r006 kim 29 failed r007 hana 5 active r008 hana 15 failed r009 jules 19 closed
ivan alice kim
record_id display_name score state r001 hana 17 active r002 gus 1 failed r003 farah 15 failed r004 bruno 23 active r005 alice 3 failed r006 ivan 4 active r007 bruno 26 paused
bruno bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049638
qwen/qwen3.7-plus
awkweave-0049639
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 14 ready dina 17 paused alice 28 paused gus 1 pending kim 30 active bruno 23 failed ivan 12 failed farah 8 ready kim 28 failed eli 23 closed
14 17 28 1 30 23 12 8 28 23
bruno 5 failed bruno 16 active hana 2 ready dina 6 closed hana 2 closed kim 24 closed ivan 30 pending bruno 30 pending eli 4 closed
5 16 2 6 2 24 30 30 4
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049639-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 14 ready dina 17 paused alice 28 paused gus 1 pending kim 30 active bruno 23 failed ivan 12 failed farah 8 ready kim 28 failed eli 23 closed
14 17 28 1 30 23 12 8 28 23
bruno 5 failed bruno 16 active hana 2 ready dina 6 closed hana 2 closed kim 24 closed ivan 30 pending bruno 30 pending eli 4 closed
5 16 2 6 2 24 30 30 4
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0049639
qwen/qwen3.7-plus
awkweave-0049640
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}
lina,12,active lina,11,active jules,12,pending hana,5,closed gus,14,paused gus,19,active bruno,10,ready chen,25,active
gus gus chen
jules,28,paused ivan,5,active chen,4,pending jules,8,paused jules,24,active lina,2,ready ivan,2,paused dina,7,paused
jules jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049640-p1
For simple CSV input without quoted fields, print the first column if the second column value is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
lina,12,active lina,11,active jules,12,pending hana,5,closed gus,14,paused gus,19,active bruno,10,ready chen,25,active
gus gus chen
jules,28,paused ivan,5,active chen,4,pending jules,8,paused jules,24,active lina,2,ready ivan,2,paused dina,7,paused
jules jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049640
qwen/qwen3.7-plus
awkweave-0049641
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim birch 43 jules harbor 38 dina birch 114 kim harbor 113 farah fable 98 lina juniper 6 bruno ember 103 bruno juniper 51
kim birch 43 jules harbor 38 dina birch 114 kim harbor 113 farah fable 98 lina juniper 6 bruno ember 103 bruno juniper 51
lina indigo 40 eli juniper 117 farah ember 54 bruno ember 18 bruno fable 20 chen birch 96 bruno grove 95
lina indigo 40 eli juniper 117 farah ember 54 bruno ember 18 bruno fable 20 chen birch 96 bruno grove 95
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049641-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
kim birch 43 jules harbor 38 dina birch 114 kim harbor 113 farah fable 98 lina juniper 6 bruno ember 103 bruno juniper 51
kim birch 43 jules harbor 38 dina birch 114 kim harbor 113 farah fable 98 lina juniper 6 bruno ember 103 bruno juniper 51
lina indigo 40 eli juniper 117 farah ember 54 bruno ember 18 bruno fable 20 chen birch 96 bruno grove 95
lina indigo 40 eli juniper 117 farah ember 54 bruno ember 18 bruno fable 20 chen birch 96 bruno grove 95
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049641
qwen/qwen3.7-plus
awkweave-0049642
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina fable 48 pending hana indigo 57 closed jules ember 56 active jules cobalt 23 failed jules cobalt 100 active lina grove 14 ready farah birch 12 ready eli grove 51 closed eli juniper 62 paused gus fable 23 failed
jules cobalt 100 active
lina cobalt 35 active jules ember 85 pending jules amber 67 pending lina grove 91 failed hana cobalt 81 failed kim ember 119 failed bruno delta 65 ready gus ember 34 closed lina cobalt 100 closed hana indigo 61 paused
jules ember 85 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049642-p1
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}
dina fable 48 pending hana indigo 57 closed jules ember 56 active jules cobalt 23 failed jules cobalt 100 active lina grove 14 ready farah birch 12 ready eli grove 51 closed eli juniper 62 paused gus fable 23 failed
jules cobalt 100 active
lina cobalt 35 active jules ember 85 pending jules amber 67 pending lina grove 91 failed hana cobalt 81 failed kim ember 119 failed bruno delta 65 ready gus ember 34 closed lina cobalt 100 closed hana indigo 61 paused
jules ember 85 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049642
qwen/qwen3.7-plus
awkweave-0049643
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
hana 82 eli 118 chen 60 bruno 103 alice 40 farah 38 ivan 67 gus 120
eli 118 alice 40 gus 120
hana 102 jules 107 alice 0 ivan 35 bruno 95 ivan 58 eli 102
jules 107 bruno 95
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049643-p1
Starting from the second line, print every third line (i.e., lines 2, 5, 8, etc.).
NR%3==2
hana 82 eli 118 chen 60 bruno 103 alice 40 farah 38 ivan 67 gus 120
eli 118 alice 40 gus 120
hana 102 jules 107 alice 0 ivan 35 bruno 95 ivan 58 eli 102
jules 107 bruno 95
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049643
qwen/qwen3.7-plus
awkweave-0049644
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta amber 96 gamma juniper 65 delta fable 51 beta indigo 109 alpha birch 3 gamma indigo 31 beta indigo 80 delta ember 8 beta ember 9
4
beta amber 72 gamma amber 56 gamma harbor 0 beta cobalt 35 beta indigo 47 gamma amber 111
2
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049644-p1
Calculate the number of unique values in the first column and output only that total count.
{if(!seen[$1]++)n++}END{print n+0}
beta amber 96 gamma juniper 65 delta fable 51 beta indigo 109 alpha birch 3 gamma indigo 31 beta indigo 80 delta ember 8 beta ember 9
4
beta amber 72 gamma amber 56 gamma harbor 0 beta cobalt 35 beta indigo 47 gamma amber 111
2
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049644
qwen/qwen3.7-plus
awkweave-0049645
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}
chen 13 0 chen 19 25 alice 23 13 hana 12 25 chen 7 7 farah 9 10 bruno 18 13 kim 13 15
chen 0.76 alice 1.77 hana 0.48 chen 1.00 farah 0.90 bruno 1.38 kim 0.87
chen 14 0 gus 28 27 hana 13 9 ivan 28 6 jules 8 27 farah 25 12 gus 25 5 lina 14 23
gus 1.04 hana 1.44 ivan 4.67 jules 0.30 farah 2.08 gus 5.00 lina 0.61
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049645-p1
For each row where the third column is non-zero, print the first column and 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}
chen 13 0 chen 19 25 alice 23 13 hana 12 25 chen 7 7 farah 9 10 bruno 18 13 kim 13 15
chen 0.76 alice 1.77 hana 0.48 chen 1.00 farah 0.90 bruno 1.38 kim 0.87
chen 14 0 gus 28 27 hana 13 9 ivan 28 6 jules 8 27 farah 25 12 gus 25 5 lina 14 23
gus 1.04 hana 1.44 ivan 4.67 jules 0.30 farah 2.08 gus 5.00 lina 0.61
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049645
qwen/qwen3.7-plus
awkweave-0049646
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 ember 3 alice ember 16 farah juniper 22 lina delta 8 hana delta 3 chen delta 4
farah juniper 22 alice ember 16 lina delta 8
farah ember 26 jules birch 17 jules indigo 1 farah delta 29 dina birch 28 ivan cobalt 3 farah harbor 26
farah delta 29 dina birch 28 farah ember 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049646-p1
Output the top three rows based on the numeric value in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana ember 3 alice ember 16 farah juniper 22 lina delta 8 hana delta 3 chen delta 4
farah juniper 22 alice ember 16 lina delta 8
farah ember 26 jules birch 17 jules indigo 1 farah delta 29 dina birch 28 ivan cobalt 3 farah harbor 26
farah delta 29 dina birch 28 farah ember 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049646
qwen/qwen3.7-plus
awkweave-0049647
Select the 4th and 1st fields in that order.
{print $4, $1}
gus ready harbor failed failed alice paused delta ready failed dina active amber ready paused farah active harbor ready paused farah pending birch paused paused jules ready birch closed active alice active ember ready pending gus ready harbor failed pending hana paused birch closed closed farah pending ember closed pen...
failed gus ready alice ready dina ready farah paused farah closed jules ready alice failed gus closed hana closed farah
farah failed harbor closed pending jules active fable failed pending jules pending grove pending ready hana pending delta active pending lina active juniper closed pending bruno active delta paused failed
closed farah failed jules pending jules active hana closed lina paused bruno
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049647-p1
Extract and print the fourth field followed by the first field.
{print $4, $1}
gus ready harbor failed failed alice paused delta ready failed dina active amber ready paused farah active harbor ready paused farah pending birch paused paused jules ready birch closed active alice active ember ready pending gus ready harbor failed pending hana paused birch closed closed farah pending ember closed pen...
failed gus ready alice ready dina ready farah paused farah closed jules ready alice failed gus closed hana closed farah
farah failed harbor closed pending jules active fable failed pending jules pending grove pending ready hana pending delta active pending lina active juniper closed pending bruno active delta paused failed
closed farah failed jules pending jules active hana closed lina paused bruno
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049647
qwen/qwen3.7-plus
awkweave-0049648
Print the last field of every input line.
{print $NF}
69 closed fable paused 14 104 paused amber ready 81 4 paused juniper active 42 5 pending amber failed 12 91 closed birch closed 94 83 active grove active 52 35 paused cobalt paused 38 75 active fable active 60 74 active juniper closed 96 52 closed ember active 100
14 81 42 12 94 52 38 60 96 100
75 active juniper ready 71 42 paused cobalt active 50 53 failed amber pending 76 39 paused harbor closed 61 40 active amber failed 101 77 ready delta pending 20 86 closed indigo pending 4 92 pending ember paused 85
71 50 76 61 101 20 4 85
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049648-p1
Output the final field from each input line.
{print $NF}
69 closed fable paused 14 104 paused amber ready 81 4 paused juniper active 42 5 pending amber failed 12 91 closed birch closed 94 83 active grove active 52 35 paused cobalt paused 38 75 active fable active 60 74 active juniper closed 96 52 closed ember active 100
14 81 42 12 94 52 38 60 96 100
75 active juniper ready 71 42 paused cobalt active 50 53 failed amber pending 76 39 paused harbor closed 61 40 active amber failed 101 77 ready delta pending 20 86 closed indigo pending 4 92 pending ember paused 85
71 50 76 61 101 20 4 85
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049648
qwen/qwen3.7-plus
awkweave-0049649
Print the complete records where column 4 is at most 75.
$4 <= 75
active jules paused 48 indigo failed kim paused 116 cobalt ready eli closed 94 birch ready dina ready 23 ember pending ivan ready 14 amber paused chen ready 64 grove
active jules paused 48 indigo ready dina ready 23 ember pending ivan ready 14 amber paused chen ready 64 grove
ready eli ready 22 fable paused ivan failed 111 grove pending kim pending 13 amber closed jules pending 91 cobalt failed hana ready 82 harbor active farah failed 71 cobalt failed gus ready 80 birch paused jules failed 12 birch paused alice failed 65 amber ready chen pending 76 harbor
ready eli ready 22 fable pending kim pending 13 amber active farah failed 71 cobalt paused jules failed 12 birch paused alice failed 65 amber
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049649-p1
Display full records where the value in the fourth column is less than or equal to 75.
$4 <= 75
active jules paused 48 indigo failed kim paused 116 cobalt ready eli closed 94 birch ready dina ready 23 ember pending ivan ready 14 amber paused chen ready 64 grove
active jules paused 48 indigo ready dina ready 23 ember pending ivan ready 14 amber paused chen ready 64 grove
ready eli ready 22 fable paused ivan failed 111 grove pending kim pending 13 amber closed jules pending 91 cobalt failed hana ready 82 harbor active farah failed 71 cobalt failed gus ready 80 birch paused jules failed 12 birch paused alice failed 65 amber ready chen pending 76 harbor
ready eli ready 22 fable pending kim pending 13 amber active farah failed 71 cobalt paused jules failed 12 birch paused alice failed 65 amber
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049649
qwen/qwen3.7-plus
awkweave-0049650
Show whole lines whose 3rd field is between 3 and 20, inclusive.
$3 >= 3 && $3 <= 20
alice closed 5 kim kim pending 13 chen eli failed 24 jules eli failed 1 gus eli ready 1 lina hana pending 25 kim bruno failed 30 lina ivan paused 10 kim gus active 27 kim bruno pending 19 farah
alice closed 5 kim kim pending 13 chen ivan paused 10 kim bruno pending 19 farah
bruno closed 8 lina farah failed 14 hana chen paused 20 gus alice pending 18 dina kim active 11 ivan eli active 17 farah kim failed 19 dina hana ready 18 alice dina closed 11 alice eli closed 15 eli
bruno closed 8 lina farah failed 14 hana chen paused 20 gus alice pending 18 dina kim active 11 ivan eli active 17 farah kim failed 19 dina hana ready 18 alice dina closed 11 alice eli closed 15 eli
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049650-p1
Show entire lines where the third field falls within the inclusive range of 3 to 20.
$3 >= 3 && $3 <= 20
alice closed 5 kim kim pending 13 chen eli failed 24 jules eli failed 1 gus eli ready 1 lina hana pending 25 kim bruno failed 30 lina ivan paused 10 kim gus active 27 kim bruno pending 19 farah
alice closed 5 kim kim pending 13 chen ivan paused 10 kim bruno pending 19 farah
bruno closed 8 lina farah failed 14 hana chen paused 20 gus alice pending 18 dina kim active 11 ivan eli active 17 farah kim failed 19 dina hana ready 18 alice dina closed 11 alice eli closed 15 eli
bruno closed 8 lina farah failed 14 hana chen paused 20 gus alice pending 18 dina kim active 11 ivan eli active 17 farah kim failed 19 dina hana ready 18 alice dina closed 11 alice eli closed 15 eli
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049650
qwen/qwen3.7-plus
awkweave-0049651
Print column 2 only for rows where column 3 is exactly paused.
$3 == "paused"{print $2}
4 jules failed delta 117 gus paused delta 82 dina failed grove 119 chen active juniper 100 eli paused harbor 50 lina active cobalt 35 dina ready cobalt 3 chen ready amber 113 lina ready juniper
gus eli
33 farah pending juniper 71 ivan ready fable 38 hana closed indigo 60 dina pending delta 23 farah pending ember 98 alice failed cobalt 107 gus active indigo
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049651-p1
Output only the second column for rows where the third column is exactly 'paused'.
$3 == "paused"{print $2}
4 jules failed delta 117 gus paused delta 82 dina failed grove 119 chen active juniper 100 eli paused harbor 50 lina active cobalt 35 dina ready cobalt 3 chen ready amber 113 lina ready juniper
gus eli
33 farah pending juniper 71 ivan ready fable 38 hana closed indigo 60 dina pending delta 23 farah pending ember 98 alice failed cobalt 107 gus active indigo
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049651
qwen/qwen3.7-plus
awkweave-0049652
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
WARN birch 26 WARN grove 120 INFO birch 88 WARN cobalt 76 DEBUG cobalt 4 INFO juniper 32 WARN ember 105 INFO amber 80 INFO juniper 40 ERROR ember 62
WARN birch 26 WARN grove 120 WARN cobalt 76 WARN ember 105
INFO cobalt 37 DEBUG ember 47 DEBUG juniper 52 INFO amber 117 DEBUG amber 56 ERROR fable 104
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049652-p1
Print all fields from lines where the first field starts with 'WARN'.
$1 ~ /^WARN/
WARN birch 26 WARN grove 120 INFO birch 88 WARN cobalt 76 DEBUG cobalt 4 INFO juniper 32 WARN ember 105 INFO amber 80 INFO juniper 40 ERROR ember 62
WARN birch 26 WARN grove 120 WARN cobalt 76 WARN ember 105
INFO cobalt 37 DEBUG ember 47 DEBUG juniper 52 INFO amber 117 DEBUG amber 56 ERROR fable 104
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049652
qwen/qwen3.7-plus
awkweave-0049653
Print every line except those containing the exact text birch.
$0 !~ /birch/
fable 1 active cobalt 3 ready amber 54 failed indigo 89 closed juniper 9 failed birch 10 paused ember 39 ready fable 17 active fable 22 active birch 999 active
fable 1 active cobalt 3 ready amber 54 failed indigo 89 closed juniper 9 failed ember 39 ready fable 17 active fable 22 active
amber 17 closed birch 0 active ember 114 closed delta 41 pending juniper 46 closed harbor 62 pending harbor 89 ready cobalt 1 active harbor 60 ready grove 7 paused birch 999 active
amber 17 closed ember 114 closed delta 41 pending juniper 46 closed harbor 62 pending harbor 89 ready cobalt 1 active harbor 60 ready grove 7 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049653-p1
Print every line that does not contain the exact string 'birch'.
$0 !~ /birch/
fable 1 active cobalt 3 ready amber 54 failed indigo 89 closed juniper 9 failed birch 10 paused ember 39 ready fable 17 active fable 22 active birch 999 active
fable 1 active cobalt 3 ready amber 54 failed indigo 89 closed juniper 9 failed ember 39 ready fable 17 active fable 22 active
amber 17 closed birch 0 active ember 114 closed delta 41 pending juniper 46 closed harbor 62 pending harbor 89 ready cobalt 1 active harbor 60 ready grove 7 paused birch 999 active
amber 17 closed ember 114 closed delta 41 pending juniper 46 closed harbor 62 pending harbor 89 ready cobalt 1 active harbor 60 ready grove 7 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049653
qwen/qwen3.7-plus
awkweave-0049654
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
dina fable 98 hana indigo 58 lina amber 19 bruno birch 24 alice harbor 13 gus ember 99 eli amber 94 gus fable 107 lina delta 104
lina amber 19 bruno birch 24 alice harbor 13
alice birch 107 farah birch 46 dina ember 75 jules indigo 53 jules delta 67 gus amber 57
dina ember 75 jules indigo 53 jules delta 67
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049654-p1
Output lines 3 to 5, inclusive.
NR >= 3 && NR <= 5
dina fable 98 hana indigo 58 lina amber 19 bruno birch 24 alice harbor 13 gus ember 99 eli amber 94 gus fable 107 lina delta 104
lina amber 19 bruno birch 24 alice harbor 13
alice birch 107 farah birch 46 dina ember 75 jules indigo 53 jules delta 67 gus amber 57
dina ember 75 jules indigo 53 jules delta 67
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049654
qwen/qwen3.7-plus
awkweave-0049655
Output only the first 2 records.
NR <= 2
dina 41 indigo eli 52 juniper gus 68 delta eli 92 delta jules 86 harbor jules 12 harbor bruno 18 harbor dina 73 grove gus 83 ember eli 65 fable
dina 41 indigo eli 52 juniper
chen 35 harbor kim 109 indigo gus 110 delta hana 1 birch ivan 89 indigo hana 55 ember bruno 69 birch
chen 35 harbor kim 109 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049655-p1
Display only the first two records.
NR <= 2
dina 41 indigo eli 52 juniper gus 68 delta eli 92 delta jules 86 harbor jules 12 harbor bruno 18 harbor dina 73 grove gus 83 ember eli 65 fable
dina 41 indigo eli 52 juniper
chen 35 harbor kim 109 indigo gus 110 delta hana 1 birch ivan 89 indigo hana 55 ember bruno 69 birch
chen 35 harbor kim 109 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049655
qwen/qwen3.7-plus
awkweave-0049656
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 93 cobalt alice 45 cobalt bruno 8 birch farah 13 delta kim 42 ember lina 105 cobalt kim 65 harbor
alice 45 cobalt bruno 8 birch farah 13 delta kim 42 ember lina 105 cobalt kim 65 harbor
lina 83 juniper lina 29 ember chen 67 juniper chen 4 amber farah 96 amber hana 57 grove jules 41 indigo lina 17 delta alice 17 grove eli 23 cobalt
lina 29 ember chen 67 juniper chen 4 amber farah 96 amber hana 57 grove jules 41 indigo lina 17 delta alice 17 grove eli 23 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049656-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
ivan 93 cobalt alice 45 cobalt bruno 8 birch farah 13 delta kim 42 ember lina 105 cobalt kim 65 harbor
alice 45 cobalt bruno 8 birch farah 13 delta kim 42 ember lina 105 cobalt kim 65 harbor
lina 83 juniper lina 29 ember chen 67 juniper chen 4 amber farah 96 amber hana 57 grove jules 41 indigo lina 17 delta alice 17 grove eli 23 cobalt
lina 29 ember chen 67 juniper chen 4 amber farah 96 amber hana 57 grove jules 41 indigo lina 17 delta alice 17 grove eli 23 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049656
qwen/qwen3.7-plus
awkweave-0049657
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
farah pending 22 jules closed 70 ivan closed 45 jules paused 31 hana ready 88 gus paused 86 kim active 23
2
gus paused 46 chen paused 63 bruno ready 52 kim failed 11 kim ready 7 farah pending 88 lina pending 2 eli ready 115
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049657-p1
Count the number of records where the second column is 'paused', outputting 0 if none exist.
$2 == "paused"{n++}END{print n+0}
farah pending 22 jules closed 70 ivan closed 45 jules paused 31 hana ready 88 gus paused 86 kim active 23
2
gus paused 46 chen paused 63 bruno ready 52 kim failed 11 kim ready 7 farah pending 88 lina pending 2 eli ready 115
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049657
qwen/qwen3.7-plus
awkweave-0049658
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
hana harbor 12 chen indigo 19 jules cobalt 19 ivan juniper 4 hana harbor 24 chen amber 1 ivan delta 9
88
gus ember 4 gus fable 4 alice juniper 10 kim juniper 7 ivan grove 26 dina indigo 9 lina harbor 28 hana cobalt 12 farah juniper 28
128
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049658-p1
Compute and print the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
hana harbor 12 chen indigo 19 jules cobalt 19 ivan juniper 4 hana harbor 24 chen amber 1 ivan delta 9
88
gus ember 4 gus fable 4 alice juniper 10 kim juniper 7 ivan grove 26 dina indigo 9 lina harbor 28 hana cobalt 12 farah juniper 28
128
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049658
qwen/qwen3.7-plus
awkweave-0049659
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 jules ember 11 eli ember 19 gus delta 21 chen delta 5 dina cobalt 6 jules birch 16 ivan harbor 17 hana fable 16 eli juniper
14.11
6 jules delta 15 kim grove 30 eli delta 7 kim grove 15 farah birch 17 farah grove 9 farah grove 29 bruno delta 30 dina fable 4 ivan birch
16.20
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049659-p1
Calculate the average of the first column and print it rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 jules ember 11 eli ember 19 gus delta 21 chen delta 5 dina cobalt 6 jules birch 16 ivan harbor 17 hana fable 16 eli juniper
14.11
6 jules delta 15 kim grove 30 eli delta 7 kim grove 15 farah birch 17 farah grove 9 farah grove 29 bruno delta 30 dina fable 4 ivan birch
16.20
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049659
qwen/qwen3.7-plus
awkweave-0049660
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules ember 30 alice indigo 10 alice juniper 9 gus birch 12 dina birch 22 farah harbor 13 alice ember 27 farah fable 24
9
ivan indigo 21 hana birch 14 farah fable 18 ivan juniper 25 eli grove 21 bruno grove 23 lina delta 23
14
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049660-p1
Identify and output the minimum number found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules ember 30 alice indigo 10 alice juniper 9 gus birch 12 dina birch 22 farah harbor 13 alice ember 27 farah fable 24
9
ivan indigo 21 hana birch 14 farah fable 18 ivan juniper 25 eli grove 21 bruno grove 23 lina delta 23
14
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049660
qwen/qwen3.7-plus
awkweave-0049661
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
kim 3 juniper eli 28 grove ivan 13 delta chen 26 ember hana 16 ember kim 16 fable chen 2 indigo alice 25 juniper
28
kim 25 grove gus 11 harbor hana 13 birch ivan 23 cobalt alice 3 amber lina 19 ember lina 30 indigo eli 22 fable chen 11 ember ivan 8 ember
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049661-p1
Locate and display the maximum numeric value within the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
kim 3 juniper eli 28 grove ivan 13 delta chen 26 ember hana 16 ember kim 16 fable chen 2 indigo alice 25 juniper
28
kim 25 grove gus 11 harbor hana 13 birch ivan 23 cobalt alice 3 amber lina 19 ember lina 30 indigo eli 22 fable chen 11 ember ivan 8 ember
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049661
qwen/qwen3.7-plus
awkweave-0049662
Count all input records and print the total.
END{print NR}
farah 29 jules 96 ivan 105 chen 37 eli 110 alice 41
6
chen 10 gus 30 eli 112 alice 92 jules 34 dina 57 ivan 44 hana 19 ivan 0
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null