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-0022941-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
dina 62 juniper lina 71 grove hana 43 ember chen 26 ember lina 63 ember dina 36 ember hana 113 juniper chen 120 indigo gus 90 birch
lina 71 grove hana 43 ember chen 26 ember lina 63 ember dina 36 ember hana 113 juniper chen 120 indigo gus 90 birch
hana 51 amber chen 27 cobalt bruno 112 juniper chen 16 fable gus 7 ember gus 83 juniper
chen 27 cobalt bruno 112 juniper chen 16 fable gus 7 ember gus 83 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022941
qwen/qwen3.7-plus
awkweave-0022942
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
dina failed 0 chen active 78 kim paused 51 lina pending 0 kim active 51 jules active 89 bruno closed 42 gus failed 53
0
lina closed 15 ivan pending 77 eli pending 101 lina closed 110 gus ready 43 lina pending 38 ivan closed 40 bruno active 12 chen active 74 gus paused 54
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022942-p1
Count the number of entries where column 2 equals 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
dina failed 0 chen active 78 kim paused 51 lina pending 0 kim active 51 jules active 89 bruno closed 42 gus failed 53
0
lina closed 15 ivan pending 77 eli pending 101 lina closed 110 gus ready 43 lina pending 38 ivan closed 40 bruno active 12 chen active 74 gus paused 54
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022942
qwen/qwen3.7-plus
awkweave-0022943
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
23 jules juniper 11 jules grove 11 gus delta 29 alice amber 5 chen ember 19 alice grove
98
7 jules fable 16 jules delta 23 alice indigo 7 dina birch 10 ivan ember 19 gus grove 25 ivan grove 24 gus grove 15 eli indigo 29 hana ember
175
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022943-p1
Compute and display the total sum of all integer values found in column 1.
{s+=$1}END{print s+0}
23 jules juniper 11 jules grove 11 gus delta 29 alice amber 5 chen ember 19 alice grove
98
7 jules fable 16 jules delta 23 alice indigo 7 dina birch 10 ivan ember 19 gus grove 25 ivan grove 24 gus grove 15 eli indigo 29 hana ember
175
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022943
qwen/qwen3.7-plus
awkweave-0022944
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper chen 18 delta hana 13 grove hana 1 grove jules 21 amber bruno 9 ember chen 18 birch kim 13 fable eli 23 cobalt alice 22 amber lina 10
14.80
birch hana 26 juniper lina 2 juniper kim 7 ember eli 29 indigo bruno 16 indigo dina 19 fable dina 10 grove ivan 1
13.75
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022944-p1
Output the average value of column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper chen 18 delta hana 13 grove hana 1 grove jules 21 amber bruno 9 ember chen 18 birch kim 13 fable eli 23 cobalt alice 22 amber lina 10
14.80
birch hana 26 juniper lina 2 juniper kim 7 ember eli 29 indigo bruno 16 indigo dina 19 fable dina 10 grove ivan 1
13.75
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022944
qwen/qwen3.7-plus
awkweave-0022945
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
9 harbor eli 15 amber jules 26 birch lina 1 juniper lina 23 juniper alice 4 indigo lina 14 fable jules 5 birch farah
1
26 birch jules 4 delta gus 3 delta chen 10 indigo dina 26 ember gus 28 ember jules 15 cobalt kim 30 delta bruno
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022945-p1
Identify and print the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
9 harbor eli 15 amber jules 26 birch lina 1 juniper lina 23 juniper alice 4 indigo lina 14 fable jules 5 birch farah
1
26 birch jules 4 delta gus 3 delta chen 10 indigo dina 26 ember gus 28 ember jules 15 cobalt kim 30 delta bruno
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022945
qwen/qwen3.7-plus
awkweave-0022946
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 eli birch 19 kim amber 25 farah indigo 17 jules cobalt 24 jules fable 12 dina delta 2 dina birch 25 jules harbor
25
12 hana ember 26 eli cobalt 5 bruno grove 14 hana juniper 25 chen cobalt 20 chen delta 14 ivan fable 8 hana amber 17 eli grove
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022946-p1
Identify and print the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 eli birch 19 kim amber 25 farah indigo 17 jules cobalt 24 jules fable 12 dina delta 2 dina birch 25 jules harbor
25
12 hana ember 26 eli cobalt 5 bruno grove 14 hana juniper 25 chen cobalt 20 chen delta 14 ivan fable 8 hana amber 17 eli grove
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022946
qwen/qwen3.7-plus
awkweave-0022947
Count all input records and print the total.
END{print NR}
eli 58 alice 82 eli 109 lina 116 eli 7 bruno 79
6
dina 88 chen 111 ivan 87 farah 14 lina 46 dina 12 farah 2 hana 58 jules 76
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022947-p1
Count the total number of input records and print the result.
END{print NR}
eli 58 alice 82 eli 109 lina 116 eli 7 bruno 79
6
dina 88 chen 111 ivan 87 farah 14 lina 46 dina 12 farah 2 hana 58 jules 76
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022947
qwen/qwen3.7-plus
awkweave-0022948
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno grove 73 bruno grove 73 lina indigo 86 jules indigo 116 eli juniper 99 kim juniper 91 dina indigo 21
bruno grove 73 lina indigo 86 jules indigo 116 eli juniper 99 kim juniper 91 dina indigo 21
hana indigo 51 gus cobalt 82 lina fable 92 chen birch 59 hana indigo 51 hana juniper 120 farah cobalt 11 kim amber 52 ivan ember 56 chen grove 98
hana indigo 51 gus cobalt 82 lina fable 92 chen birch 59 hana juniper 120 farah cobalt 11 kim amber 52 ivan ember 56 chen grove 98
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022948-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
bruno grove 73 bruno grove 73 lina indigo 86 jules indigo 116 eli juniper 99 kim juniper 91 dina indigo 21
bruno grove 73 lina indigo 86 jules indigo 116 eli juniper 99 kim juniper 91 dina indigo 21
hana indigo 51 gus cobalt 82 lina fable 92 chen birch 59 hana indigo 51 hana juniper 120 farah cobalt 11 kim amber 52 ivan ember 56 chen grove 98
hana indigo 51 gus cobalt 82 lina fable 92 chen birch 59 hana juniper 120 farah cobalt 11 kim amber 52 ivan ember 56 chen grove 98
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022948
qwen/qwen3.7-plus
awkweave-0022949
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
gus delta 44 bruno harbor 96 bruno grove 2 alice amber 73 gus cobalt 120 lina delta 46
gus delta 44 bruno harbor 96 alice amber 73 lina delta 46
bruno grove 85 gus cobalt 92 dina indigo 48 ivan grove 118 alice juniper 12 gus cobalt 82
bruno grove 85 gus cobalt 92 dina indigo 48 ivan grove 118 alice juniper 12
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022949-p1
Retain only the first occurrence for each unique value in column 1, preserving the original input sequence.
!seen[$1]++
gus delta 44 bruno harbor 96 bruno grove 2 alice amber 73 gus cobalt 120 lina delta 46
gus delta 44 bruno harbor 96 alice amber 73 lina delta 46
bruno grove 85 gus cobalt 92 dina indigo 48 ivan grove 118 alice juniper 12 gus cobalt 82
bruno grove 85 gus cobalt 92 dina indigo 48 ivan grove 118 alice juniper 12
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022949
qwen/qwen3.7-plus
awkweave-0022950
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 18 juniper chen 24 ember gus 26 amber dina 27 amber hana 26 amber gus 18 cobalt kim 1 birch lina 23 indigo chen 5 indigo ivan 24 birch
dina 18 chen 42 gus 68 dina 95 hana 121 gus 139 kim 140 lina 163 chen 168 ivan 192
eli 11 indigo dina 18 indigo kim 29 birch bruno 28 delta chen 24 cobalt farah 18 indigo
eli 11 dina 29 kim 58 bruno 86 chen 110 farah 128
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022950-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 18 juniper chen 24 ember gus 26 amber dina 27 amber hana 26 amber gus 18 cobalt kim 1 birch lina 23 indigo chen 5 indigo ivan 24 birch
dina 18 chen 42 gus 68 dina 95 hana 121 gus 139 kim 140 lina 163 chen 168 ivan 192
eli 11 indigo dina 18 indigo kim 29 birch bruno 28 delta chen 24 cobalt farah 18 indigo
eli 11 dina 29 kim 58 bruno 86 chen 110 farah 128
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022950
qwen/qwen3.7-plus
awkweave-0022951
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 26 24 delta chen 23 14 delta eli 3 26 ember lina 18 27 delta chen 14 15 birch chen 5 15 cobalt farah 15 26 birch farah 24 30 cobalt
kim 50 chen 37 eli 29 lina 45 chen 29 chen 20 farah 41 farah 54
alice 26 24 cobalt ivan 21 6 ember kim 29 4 birch alice 19 10 delta gus 7 13 harbor kim 10 7 ember eli 20 4 grove dina 2 11 ember
alice 50 ivan 27 kim 33 alice 29 gus 20 kim 17 eli 24 dina 13
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022951-p1
Print field 1 followed by the sum of fields 2 and 3 for every row.
{print $1,$2+$3}
kim 26 24 delta chen 23 14 delta eli 3 26 ember lina 18 27 delta chen 14 15 birch chen 5 15 cobalt farah 15 26 birch farah 24 30 cobalt
kim 50 chen 37 eli 29 lina 45 chen 29 chen 20 farah 41 farah 54
alice 26 24 cobalt ivan 21 6 ember kim 29 4 birch alice 19 10 delta gus 7 13 harbor kim 10 7 ember eli 20 4 grove dina 2 11 ember
alice 50 ivan 27 kim 33 alice 29 gus 20 kim 17 eli 24 dina 13
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022951
qwen/qwen3.7-plus
awkweave-0022952
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
lina 8 gus 11 ivan 9 jules 26 kim 22 lina 23 kim 20 ivan 25 alice 15
lina fail gus fail ivan fail jules fail kim fail lina fail kim fail ivan fail alice fail
chen 16 lina 24 dina 8 alice 8 farah 4 hana 20
chen fail lina fail dina fail alice fail farah fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022952-p1
Print column 1 and output 'pass' if column 2 is 27 or greater; otherwise, output 'fail'.
{print $1,($2>=27?"pass":"fail")}
lina 8 gus 11 ivan 9 jules 26 kim 22 lina 23 kim 20 ivan 25 alice 15
lina fail gus fail ivan fail jules fail kim fail lina fail kim fail ivan fail alice fail
chen 16 lina 24 dina 8 alice 8 farah 4 hana 20
chen fail lina fail dina fail alice fail farah fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022952
qwen/qwen3.7-plus
awkweave-0022953
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
dina delta 70 ivan cobalt 10 lina amber 86 lina cobalt 79 dina juniper 116 hana delta 32
DELTA COBALT AMBER COBALT JUNIPER DELTA
kim cobalt 89 jules juniper 115 eli harbor 67 alice indigo 13 jules ember 24 kim harbor 13 chen cobalt 61 gus grove 6 gus amber 40
COBALT JUNIPER HARBOR INDIGO EMBER HARBOR COBALT GROVE AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022953-p1
Transform column 2 to uppercase letters and print only that modified column.
{print toupper($2)}
dina delta 70 ivan cobalt 10 lina amber 86 lina cobalt 79 dina juniper 116 hana delta 32
DELTA COBALT AMBER COBALT JUNIPER DELTA
kim cobalt 89 jules juniper 115 eli harbor 67 alice indigo 13 jules ember 24 kim harbor 13 chen cobalt 61 gus grove 6 gus amber 40
COBALT JUNIPER HARBOR INDIGO EMBER HARBOR COBALT GROVE AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022953
qwen/qwen3.7-plus
awkweave-0022954
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
indigo 13 harbor 103 cobalt 27 juniper 0 indigo 39 harbor 54 indigo 18
ndi arb oba uni ndi arb ndi
harbor 28 fable 80 grove 10 birch 107 ember 116 juniper 12 harbor 88 ember 45
arb abl rov irc mbe uni arb mbe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022954-p1
Extract a 3-character substring from the first column, beginning at the second character.
{print substr($1,2,3)}
indigo 13 harbor 103 cobalt 27 juniper 0 indigo 39 harbor 54 indigo 18
ndi arb oba uni ndi arb ndi
harbor 28 fable 80 grove 10 birch 107 ember 116 juniper 12 harbor 88 ember 45
arb abl rov irc mbe uni arb mbe
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022954
qwen/qwen3.7-plus
awkweave-0022955
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_birch 42 harbor_cobalt 14 harbor_amber 89 fable_delta 72 grove_delta 118 amber_grove 23
juniper birch harbor cobalt harbor amber fable delta grove delta amber grove
fable_cobalt 34 harbor_fable 77 fable_delta 3 harbor_fable 60 delta_harbor 119 juniper_cobalt 20 amber_amber 75 fable_fable 101 grove_cobalt 59 juniper_grove 99
fable cobalt harbor fable fable delta harbor fable delta harbor juniper cobalt amber amber fable fable grove cobalt juniper grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022955-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_birch 42 harbor_cobalt 14 harbor_amber 89 fable_delta 72 grove_delta 118 amber_grove 23
juniper birch harbor cobalt harbor amber fable delta grove delta amber grove
fable_cobalt 34 harbor_fable 77 fable_delta 3 harbor_fable 60 delta_harbor 119 juniper_cobalt 20 amber_amber 75 fable_fable 101 grove_cobalt 59 juniper_grove 99
fable cobalt harbor fable fable delta harbor fable delta harbor juniper cobalt amber amber fable fable grove cobalt juniper grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022955
qwen/qwen3.7-plus
awkweave-0022956
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)}
lina juniper 40 pending lina fable 83 active alice cobalt 67 active gus indigo 48 pending chen grove 48 failed alice birch 20 paused dina indigo 96 pending hana indigo 43 active jules cobalt 46 pending
pending 40 juniper lina active 83 fable lina active 67 cobalt alice pending 48 indigo gus failed 48 grove chen paused 20 birch alice pending 96 indigo dina active 43 indigo hana pending 46 cobalt jules
hana ember 106 ready chen delta 19 ready dina birch 82 ready dina indigo 3 active kim ember 58 closed gus fable 58 pending jules cobalt 106 failed
ready 106 ember hana ready 19 delta chen ready 82 birch dina active 3 indigo dina closed 58 ember kim pending 58 fable gus failed 106 cobalt jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022956-p1
Output all fields for each line after reversing their sequence.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
lina juniper 40 pending lina fable 83 active alice cobalt 67 active gus indigo 48 pending chen grove 48 failed alice birch 20 paused dina indigo 96 pending hana indigo 43 active jules cobalt 46 pending
pending 40 juniper lina active 83 fable lina active 67 cobalt alice pending 48 indigo gus failed 48 grove chen paused 20 birch alice pending 96 indigo dina active 43 indigo hana pending 46 cobalt jules
hana ember 106 ready chen delta 19 ready dina birch 82 ready dina indigo 3 active kim ember 58 closed gus fable 58 pending jules cobalt 106 failed
ready 106 ember hana ready 19 delta chen ready 82 birch dina active 3 indigo dina closed 58 ember kim pending 58 fable gus failed 106 cobalt jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022956
qwen/qwen3.7-plus
awkweave-0022957
Print the number of whitespace-separated fields on each line.
{print NF}
alice indigo 15 closed alice ember 33 failed dina harbor 110 failed chen birch 115 ready chen fable 44 active farah birch 98 closed farah cobalt 102 failed chen cobalt 13 ready farah juniper 111 closed
4 4 4 4 4 4 4 4 4
ivan delta 119 active hana indigo 43 paused hana harbor 51 closed chen delta 54 ready bruno indigo 106 pending dina fable 45 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022957-p1
Display the count of whitespace-delimited fields found on every line.
{print NF}
alice indigo 15 closed alice ember 33 failed dina harbor 110 failed chen birch 115 ready chen fable 44 active farah birch 98 closed farah cobalt 102 failed chen cobalt 13 ready farah juniper 111 closed
4 4 4 4 4 4 4 4 4
ivan delta 119 active hana indigo 43 paused hana harbor 51 closed chen delta 54 ready bruno indigo 106 pending dina fable 45 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022957
qwen/qwen3.7-plus
awkweave-0022958
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]]}
gus beta 30 farah alpha 39 hana beta 108 chen gamma 45 bruno gamma 115 kim delta 67
beta 2 alpha 1 gamma 2 delta 1
lina delta 39 farah alpha 49 lina gamma 44 eli beta 49 chen beta 64 bruno delta 98 alice delta 60 chen delta 55 hana delta 31 chen beta 116
delta 5 alpha 1 gamma 1 beta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022958-p1
Tally the occurrences of each unique value in the second column and list them with their counts, ordered by when they first appeared.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus beta 30 farah alpha 39 hana beta 108 chen gamma 45 bruno gamma 115 kim delta 67
beta 2 alpha 1 gamma 2 delta 1
lina delta 39 farah alpha 49 lina gamma 44 eli beta 49 chen beta 64 bruno delta 98 alice delta 60 chen delta 55 hana delta 31 chen beta 116
delta 5 alpha 1 gamma 1 beta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022958
qwen/qwen3.7-plus
awkweave-0022959
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]]}
gus beta 20 kim delta 1 jules beta 3 bruno beta 6 dina alpha 4 dina beta 17 alice gamma 16
beta 46 delta 1 alpha 4 gamma 16
alice alpha 20 ivan gamma 22 hana delta 2 gus beta 8 lina delta 8 eli gamma 19 farah alpha 12
alpha 32 gamma 41 delta 10 beta 8
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022959-p1
Calculate the sum of the third column for each distinct category in the second column, presenting the results in the order the categories first appeared.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
gus beta 20 kim delta 1 jules beta 3 bruno beta 6 dina alpha 4 dina beta 17 alice gamma 16
beta 46 delta 1 alpha 4 gamma 16
alice alpha 20 ivan gamma 22 hana delta 2 gus beta 8 lina delta 8 eli gamma 19 farah alpha 12
alpha 32 gamma 41 delta 10 beta 8
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022959
qwen/qwen3.7-plus
awkweave-0022960
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 cobalt 16 alpha fable 30 beta grove 35 beta indigo 35 delta amber 50 alpha ember 108 gamma delta 50 beta birch 82 gamma cobalt 20
alpha 3 beta 3 gamma 2
alpha birch 17 alpha grove 3 gamma amber 45 gamma indigo 98 beta grove 45 alpha ember 42 beta indigo 70 beta juniper 101
alpha 3 gamma 2 beta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022960-p1
List each duplicate value from the first column along with its frequency, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha cobalt 16 alpha fable 30 beta grove 35 beta indigo 35 delta amber 50 alpha ember 108 gamma delta 50 beta birch 82 gamma cobalt 20
alpha 3 beta 3 gamma 2
alpha birch 17 alpha grove 3 gamma amber 45 gamma indigo 98 beta grove 45 alpha ember 42 beta indigo 70 beta juniper 101
alpha 3 gamma 2 beta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022960
qwen/qwen3.7-plus
awkweave-0022961
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 note region state r001 bruno 13 pending r002 chen 8 failed r003 gus 1 active r004 jules 21 pending r005 kim 6 failed r006 eli 25 active r007 chen 2 active r008 eli 10 failed r009 bruno 26 active
pending failed active pending failed active active failed active
display_name note region state r001 jules 13 paused r002 gus 21 active r003 farah 12 pending r004 bruno 30 closed r005 gus 28 paused r006 gus 25 active r007 eli 28 pending r008 gus 1 ready r009 jules 21 paused
paused active pending closed paused active pending ready paused
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022961-p1
Skip the header row and output the values from the state column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name note region state r001 bruno 13 pending r002 chen 8 failed r003 gus 1 active r004 jules 21 pending r005 kim 6 failed r006 eli 25 active r007 chen 2 active r008 eli 10 failed r009 bruno 26 active
pending failed active pending failed active active failed active
display_name note region state r001 jules 13 paused r002 gus 21 active r003 farah 12 pending r004 bruno 30 closed r005 gus 28 paused r006 gus 25 active r007 eli 28 pending r008 gus 1 ready r009 jules 21 paused
paused active pending closed paused active pending ready paused
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022961
qwen/qwen3.7-plus
awkweave-0022962
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 eli 23 active r002 bruno 18 paused r003 chen 23 failed r004 jules 17 pending r005 hana 18 ready r006 hana 17 paused r007 bruno 6 paused
eli bruno chen jules hana hana
record_id display_name score state r001 kim 7 closed r002 jules 17 pending r003 alice 26 failed r004 alice 20 ready r005 gus 26 failed r006 ivan 25 failed r007 chen 21 closed
jules alice alice gus ivan chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022962-p1
Ignoring the header, print the display_name field for any record where the score is strictly greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 eli 23 active r002 bruno 18 paused r003 chen 23 failed r004 jules 17 pending r005 hana 18 ready r006 hana 17 paused r007 bruno 6 paused
eli bruno chen jules hana hana
record_id display_name score state r001 kim 7 closed r002 jules 17 pending r003 alice 26 failed r004 alice 20 ready r005 gus 26 failed r006 ivan 25 failed r007 chen 21 closed
jules alice alice gus ivan chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022962
qwen/qwen3.7-plus
awkweave-0022963
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
gus 4 active farah 10 ready alice 21 pending kim 8 closed hana 12 paused jules 28 active chen 14 active hana 1 active kim 8 ready
4 10 21 8 12 28 14 1 8
ivan 27 paused bruno 14 failed jules 14 closed lina 22 failed bruno 12 paused ivan 10 failed lina 15 closed alice 9 closed
27 14 14 22 12 10 15 9
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022963-p1
Given tab-separated input, output the second column for every record.
BEGIN{FS=OFS="\t"}{print $2}
gus 4 active farah 10 ready alice 21 pending kim 8 closed hana 12 paused jules 28 active chen 14 active hana 1 active kim 8 ready
4 10 21 8 12 28 14 1 8
ivan 27 paused bruno 14 failed jules 14 closed lina 22 failed bruno 12 paused ivan 10 failed lina 15 closed alice 9 closed
27 14 14 22 12 10 15 9
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022963
qwen/qwen3.7-plus
awkweave-0022964
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18.
BEGIN{FS=OFS=","}$2>18{print $1}
gus,23,ready lina,2,pending chen,30,paused hana,25,paused alice,5,closed chen,18,ready
gus chen hana
kim,30,ready farah,4,active bruno,27,active hana,26,pending gus,4,ready farah,13,closed dina,21,closed chen,3,active
kim bruno hana dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022964-p1
For simple comma-separated input without quoted commas, print the first column if the value in the second column is greater than 18.
BEGIN{FS=OFS=","}$2>18{print $1}
gus,23,ready lina,2,pending chen,30,paused hana,25,paused alice,5,closed chen,18,ready
gus chen hana
kim,30,ready farah,4,active bruno,27,active hana,26,pending gus,4,ready farah,13,closed dina,21,closed chen,3,active
kim bruno hana dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022964
qwen/qwen3.7-plus
awkweave-0022965
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina birch 18 ivan indigo 90 hana indigo 108 ivan delta 48 kim amber 41 ivan birch 67 eli indigo 2 ivan indigo 78 jules juniper 27 lina delta 45
lina birch 18 ivan indigo 90 hana indigo 108 ivan delta 48 kim amber 41 ivan birch 67 eli indigo 2 ivan indigo 78 jules juniper 27 lina delta 45
alice harbor 67 dina birch 109 lina juniper 60 bruno indigo 53 hana ember 96 bruno amber 11
alice harbor 67 dina birch 109 lina juniper 60 bruno indigo 53 hana ember 96 bruno amber 11
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022965-p1
Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space.
{$1=$1;print}
lina birch 18 ivan indigo 90 hana indigo 108 ivan delta 48 kim amber 41 ivan birch 67 eli indigo 2 ivan indigo 78 jules juniper 27 lina delta 45
lina birch 18 ivan indigo 90 hana indigo 108 ivan delta 48 kim amber 41 ivan birch 67 eli indigo 2 ivan indigo 78 jules juniper 27 lina delta 45
alice harbor 67 dina birch 109 lina juniper 60 bruno indigo 53 hana ember 96 bruno amber 11
alice harbor 67 dina birch 109 lina juniper 60 bruno indigo 53 hana ember 96 bruno amber 11
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022965
qwen/qwen3.7-plus
awkweave-0022966
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice birch 64 active alice cobalt 4 paused farah juniper 48 pending dina delta 51 ready kim birch 35 closed chen harbor 110 closed bruno cobalt 92 paused farah grove 39 failed jules ember 107 failed
farah juniper 48 pending
kim fable 13 paused kim juniper 111 failed chen indigo 6 paused lina grove 61 active ivan ember 38 closed eli delta 117 ready ivan ember 49 active ivan amber 53 paused kim cobalt 43 paused farah birch 7 active
kim juniper 111 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022966-p1
Output the longest line from the input, selecting the first one encountered if there are ties in length.
{if(length($0)>length(best))best=$0}END{print best}
alice birch 64 active alice cobalt 4 paused farah juniper 48 pending dina delta 51 ready kim birch 35 closed chen harbor 110 closed bruno cobalt 92 paused farah grove 39 failed jules ember 107 failed
farah juniper 48 pending
kim fable 13 paused kim juniper 111 failed chen indigo 6 paused lina grove 61 active ivan ember 38 closed eli delta 117 ready ivan ember 49 active ivan amber 53 paused kim cobalt 43 paused farah birch 7 active
kim juniper 111 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022966
qwen/qwen3.7-plus
awkweave-0022967
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
gus 55 lina 59 farah 74 kim 116 eli 88 hana 54 jules 20 hana 9
gus 55 kim 116 jules 20
kim 117 chen 113 lina 62 gus 42 chen 66 jules 57 farah 93 eli 86 dina 89
kim 117 gus 42 farah 93
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022967-p1
Print lines 1, 4, 7, and so on, effectively outputting every third line starting from the first.
NR%3==1
gus 55 lina 59 farah 74 kim 116 eli 88 hana 54 jules 20 hana 9
gus 55 kim 116 jules 20
kim 117 chen 113 lina 62 gus 42 chen 66 jules 57 farah 93 eli 86 dina 89
kim 117 gus 42 farah 93
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022967
qwen/qwen3.7-plus
awkweave-0022968
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta ember 102 alpha grove 23 alpha juniper 35 delta cobalt 90 beta harbor 98 gamma juniper 73 beta birch 84 alpha harbor 11 beta delta 60
4
gamma birch 109 beta indigo 50 gamma birch 39 gamma fable 118 gamma amber 98 delta ember 60 beta indigo 52 alpha ember 42 delta delta 19 alpha juniper 47
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022968-p1
Calculate and display only the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
beta ember 102 alpha grove 23 alpha juniper 35 delta cobalt 90 beta harbor 98 gamma juniper 73 beta birch 84 alpha harbor 11 beta delta 60
4
gamma birch 109 beta indigo 50 gamma birch 39 gamma fable 118 gamma amber 98 delta ember 60 beta indigo 52 alpha ember 42 delta delta 19 alpha juniper 47
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022968
qwen/qwen3.7-plus
awkweave-0022969
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}
jules 6 0 jules 16 5 farah 11 14 alice 25 20 hana 9 15 gus 26 10 gus 29 13 eli 22 14
jules 3.20 farah 0.79 alice 1.25 hana 0.60 gus 2.60 gus 2.23 eli 1.57
dina 26 0 farah 13 10 dina 28 26 gus 15 10 hana 22 30 dina 21 28 lina 8 30 alice 16 25
farah 1.30 dina 1.08 gus 1.50 hana 0.73 dina 0.75 lina 0.27 alice 0.64
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022969-p1
For each row where the third column is non-zero, output 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}
jules 6 0 jules 16 5 farah 11 14 alice 25 20 hana 9 15 gus 26 10 gus 29 13 eli 22 14
jules 3.20 farah 0.79 alice 1.25 hana 0.60 gus 2.60 gus 2.23 eli 1.57
dina 26 0 farah 13 10 dina 28 26 gus 15 10 hana 22 30 dina 21 28 lina 8 30 alice 16 25
farah 1.30 dina 1.08 gus 1.50 hana 0.73 dina 0.75 lina 0.27 alice 0.64
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022969
qwen/qwen3.7-plus
awkweave-0022970
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]}
alice harbor 29 farah delta 12 lina harbor 11 bruno juniper 29 alice amber 18 lina birch 8 eli delta 1 lina delta 2
alice harbor 29 bruno juniper 29 alice amber 18
gus grove 27 farah juniper 14 kim cobalt 11 gus cobalt 17 ivan juniper 26 jules indigo 30 hana delta 27 jules ember 8 hana indigo 6 gus grove 6
jules indigo 30 gus grove 27 hana delta 27
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022970-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
alice harbor 29 farah delta 12 lina harbor 11 bruno juniper 29 alice amber 18 lina birch 8 eli delta 1 lina delta 2
alice harbor 29 bruno juniper 29 alice amber 18
gus grove 27 farah juniper 14 kim cobalt 11 gus cobalt 17 ivan juniper 26 jules indigo 30 hana delta 27 jules ember 8 hana indigo 6 gus grove 6
jules indigo 30 gus grove 27 hana delta 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022970
qwen/qwen3.7-plus
awkweave-0022971
Select the 4th and 3rd fields in that order.
{print $4, $3}
pending eli lina kim 22 closed ivan bruno dina 66 ready kim ivan chen 60 pending lina bruno eli 120 pending dina chen gus 60 ready dina ivan ivan 11 closed hana gus lina 28 pending kim farah ivan 84 paused lina dina chen 13 paused hana lina dina 30
kim lina dina bruno chen ivan eli bruno gus chen ivan ivan lina gus ivan farah chen dina dina lina
closed farah hana jules 98 failed eli jules lina 108 closed dina bruno eli 77 closed eli ivan gus 119 active jules lina hana 62 pending dina hana dina 71
jules hana lina jules eli bruno gus ivan hana lina dina hana
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022971-p1
Extract and print the fourth field followed by the third field for each record.
{print $4, $3}
pending eli lina kim 22 closed ivan bruno dina 66 ready kim ivan chen 60 pending lina bruno eli 120 pending dina chen gus 60 ready dina ivan ivan 11 closed hana gus lina 28 pending kim farah ivan 84 paused lina dina chen 13 paused hana lina dina 30
kim lina dina bruno chen ivan eli bruno gus chen ivan ivan lina gus ivan farah chen dina dina lina
closed farah hana jules 98 failed eli jules lina 108 closed dina bruno eli 77 closed eli ivan gus 119 active jules lina hana 62 pending dina hana dina 71
jules hana lina jules eli bruno gus ivan hana lina dina hana
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022971
qwen/qwen3.7-plus
awkweave-0022972
Print the last field of every input line.
{print $NF}
farah gus 26 bruno chen 101 hana farah 106 farah bruno 30 eli dina 93 gus chen 111 jules farah 8 kim ivan 99 alice chen 34 dina kim 84
26 101 106 30 93 111 8 99 34 84
farah jules 78 bruno gus 53 ivan bruno 67 farah alice 32 bruno alice 112 farah alice 14 alice alice 93 lina chen 12
78 53 67 32 112 14 93 12
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022972-p1
Output the final field from every line in the input.
{print $NF}
farah gus 26 bruno chen 101 hana farah 106 farah bruno 30 eli dina 93 gus chen 111 jules farah 8 kim ivan 99 alice chen 34 dina kim 84
26 101 106 30 93 111 8 99 34 84
farah jules 78 bruno gus 53 ivan bruno 67 farah alice 32 bruno alice 112 farah alice 14 alice alice 93 lina chen 12
78 53 67 32 112 14 93 12
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022972
qwen/qwen3.7-plus
awkweave-0022973
Print the complete records where column 4 is at most 37.
$4 <= 37
hana pending ready 6 lina jules closed pending 118 hana gus paused paused 66 dina eli paused ready 69 dina chen closed paused 27 hana lina failed closed 97 chen gus pending paused 52 gus farah pending active 44 bruno
hana pending ready 6 lina chen closed paused 27 hana
alice closed paused 25 bruno ivan pending paused 27 eli chen paused pending 40 hana bruno failed ready 19 kim eli active active 24 dina eli ready paused 108 lina
alice closed paused 25 bruno ivan pending paused 27 eli bruno failed ready 19 kim eli active active 24 dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022973-p1
Print full records where the value in the fourth column is less than or equal to 37.
$4 <= 37
hana pending ready 6 lina jules closed pending 118 hana gus paused paused 66 dina eli paused ready 69 dina chen closed paused 27 hana lina failed closed 97 chen gus pending paused 52 gus farah pending active 44 bruno
hana pending ready 6 lina chen closed paused 27 hana
alice closed paused 25 bruno ivan pending paused 27 eli chen paused pending 40 hana bruno failed ready 19 kim eli active active 24 dina eli ready paused 108 lina
alice closed paused 25 bruno ivan pending paused 27 eli bruno failed ready 19 kim eli active active 24 dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022973
qwen/qwen3.7-plus
awkweave-0022974
Show whole lines whose 2nd field is between 7 and 27, inclusive.
$2 >= 7 && $2 <= 27
lina 19 hana paused lina 21 alice ready chen 22 kim active bruno 27 jules pending farah 8 bruno ready farah 3 jules active lina 13 bruno closed hana 16 eli ready lina 5 ivan active chen 26 jules pending
lina 19 hana paused lina 21 alice ready chen 22 kim active bruno 27 jules pending farah 8 bruno ready lina 13 bruno closed hana 16 eli ready chen 26 jules pending
ivan 30 chen failed chen 14 jules closed ivan 1 farah paused kim 17 lina closed gus 26 kim pending lina 9 eli ready
chen 14 jules closed kim 17 lina closed gus 26 kim pending lina 9 eli ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022974-p1
Display entire lines where the second field falls within the inclusive range of 7 to 27.
$2 >= 7 && $2 <= 27
lina 19 hana paused lina 21 alice ready chen 22 kim active bruno 27 jules pending farah 8 bruno ready farah 3 jules active lina 13 bruno closed hana 16 eli ready lina 5 ivan active chen 26 jules pending
lina 19 hana paused lina 21 alice ready chen 22 kim active bruno 27 jules pending farah 8 bruno ready lina 13 bruno closed hana 16 eli ready chen 26 jules pending
ivan 30 chen failed chen 14 jules closed ivan 1 farah paused kim 17 lina closed gus 26 kim pending lina 9 eli ready
chen 14 jules closed kim 17 lina closed gus 26 kim pending lina 9 eli ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022974
qwen/qwen3.7-plus
awkweave-0022975
Print column 2 only for rows where column 1 is exactly paused.
$1 == "paused"{print $2}
paused jules 21 cobalt active eli 70 birch ready alice 26 indigo paused farah 16 harbor pending dina 52 amber pending lina 44 indigo failed dina 77 fable paused farah 11 amber
jules farah farah
paused dina 27 ember closed alice 49 grove paused dina 106 juniper failed alice 7 ember ready farah 10 amber closed alice 91 harbor failed farah 49 ember
dina dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022975-p1
Output only the second column for rows where the first column matches the exact string 'paused'.
$1 == "paused"{print $2}
paused jules 21 cobalt active eli 70 birch ready alice 26 indigo paused farah 16 harbor pending dina 52 amber pending lina 44 indigo failed dina 77 fable paused farah 11 amber
jules farah farah
paused dina 27 ember closed alice 49 grove paused dina 106 juniper failed alice 7 ember ready farah 10 amber closed alice 91 harbor failed farah 49 ember
dina dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022975
qwen/qwen3.7-plus
awkweave-0022976
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
5 cobalt INFO 102 grove DEBUG 80 cobalt INFO 27 delta INFO 82 delta WARN 87 ember WARN 43 delta ERROR 17 grove INFO
5 cobalt INFO 80 cobalt INFO 27 delta INFO 17 grove INFO
6 harbor ERROR 8 ember ERROR 107 cobalt ERROR 38 cobalt INFO 8 indigo INFO 97 juniper ERROR 34 birch DEBUG 71 indigo WARN 55 juniper INFO 49 birch WARN
38 cobalt INFO 8 indigo INFO 55 juniper INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022976-p1
Print all fields from any line where the third field starts with the prefix 'INFO'.
$3 ~ /^INFO/
5 cobalt INFO 102 grove DEBUG 80 cobalt INFO 27 delta INFO 82 delta WARN 87 ember WARN 43 delta ERROR 17 grove INFO
5 cobalt INFO 80 cobalt INFO 27 delta INFO 17 grove INFO
6 harbor ERROR 8 ember ERROR 107 cobalt ERROR 38 cobalt INFO 8 indigo INFO 97 juniper ERROR 34 birch DEBUG 71 indigo WARN 55 juniper INFO 49 birch WARN
38 cobalt INFO 8 indigo INFO 55 juniper INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022976
qwen/qwen3.7-plus
awkweave-0022977
Print every line except those containing the exact text birch.
$0 !~ /birch/
indigo 13 closed delta 110 pending cobalt 16 ready amber 2 pending indigo 6 active indigo 97 closed delta 40 active juniper 1 closed grove 18 paused birch 999 active
indigo 13 closed delta 110 pending cobalt 16 ready amber 2 pending indigo 6 active indigo 97 closed delta 40 active juniper 1 closed grove 18 paused
birch 49 pending cobalt 74 ready indigo 48 ready delta 5 paused indigo 1 closed cobalt 39 paused ember 102 closed birch 999 active
cobalt 74 ready indigo 48 ready delta 5 paused indigo 1 closed cobalt 39 paused ember 102 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022977-p1
Output every line that does not contain the exact substring 'birch'.
$0 !~ /birch/
indigo 13 closed delta 110 pending cobalt 16 ready amber 2 pending indigo 6 active indigo 97 closed delta 40 active juniper 1 closed grove 18 paused birch 999 active
indigo 13 closed delta 110 pending cobalt 16 ready amber 2 pending indigo 6 active indigo 97 closed delta 40 active juniper 1 closed grove 18 paused
birch 49 pending cobalt 74 ready indigo 48 ready delta 5 paused indigo 1 closed cobalt 39 paused ember 102 closed birch 999 active
cobalt 74 ready indigo 48 ready delta 5 paused indigo 1 closed cobalt 39 paused ember 102 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022977
qwen/qwen3.7-plus
awkweave-0022978
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
chen birch 8 dina ember 79 jules amber 106 gus birch 38 dina grove 91 dina fable 86 gus birch 42 hana grove 72
gus birch 38 dina grove 91 dina fable 86
alice cobalt 55 alice juniper 56 kim fable 36 bruno ember 31 farah grove 32 kim amber 34
bruno ember 31 farah grove 32 kim amber 34
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022978-p1
Display lines 4 to 6, inclusive.
NR >= 4 && NR <= 6
chen birch 8 dina ember 79 jules amber 106 gus birch 38 dina grove 91 dina fable 86 gus birch 42 hana grove 72
gus birch 38 dina grove 91 dina fable 86
alice cobalt 55 alice juniper 56 kim fable 36 bruno ember 31 farah grove 32 kim amber 34
bruno ember 31 farah grove 32 kim amber 34
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022978
qwen/qwen3.7-plus
awkweave-0022979
Output only the first 4 records.
NR <= 4
hana 21 juniper gus 71 delta bruno 93 cobalt gus 117 harbor dina 85 delta farah 92 juniper hana 33 ember dina 116 juniper bruno 69 indigo chen 57 ember
hana 21 juniper gus 71 delta bruno 93 cobalt gus 117 harbor
jules 77 harbor ivan 74 indigo lina 56 cobalt dina 11 birch bruno 72 ember eli 17 birch chen 41 indigo eli 13 juniper
jules 77 harbor ivan 74 indigo lina 56 cobalt dina 11 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022979-p1
Output just the initial 4 records.
NR <= 4
hana 21 juniper gus 71 delta bruno 93 cobalt gus 117 harbor dina 85 delta farah 92 juniper hana 33 ember dina 116 juniper bruno 69 indigo chen 57 ember
hana 21 juniper gus 71 delta bruno 93 cobalt gus 117 harbor
jules 77 harbor ivan 74 indigo lina 56 cobalt dina 11 birch bruno 72 ember eli 17 birch chen 41 indigo eli 13 juniper
jules 77 harbor ivan 74 indigo lina 56 cobalt dina 11 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022979
qwen/qwen3.7-plus
awkweave-0022980
Skip the first line and print every remaining line unchanged.
NR > 1
gus 71 delta ivan 21 grove gus 75 ember lina 83 cobalt lina 55 amber lina 23 delta gus 67 delta
ivan 21 grove gus 75 ember lina 83 cobalt lina 55 amber lina 23 delta gus 67 delta
ivan 54 ember farah 60 delta farah 61 juniper dina 4 juniper eli 61 ember hana 88 delta hana 30 cobalt
farah 60 delta farah 61 juniper dina 4 juniper eli 61 ember hana 88 delta hana 30 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022980-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
gus 71 delta ivan 21 grove gus 75 ember lina 83 cobalt lina 55 amber lina 23 delta gus 67 delta
ivan 21 grove gus 75 ember lina 83 cobalt lina 55 amber lina 23 delta gus 67 delta
ivan 54 ember farah 60 delta farah 61 juniper dina 4 juniper eli 61 ember hana 88 delta hana 30 cobalt
farah 60 delta farah 61 juniper dina 4 juniper eli 61 ember hana 88 delta hana 30 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022980
qwen/qwen3.7-plus
awkweave-0022981
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
chen closed 62 kim closed 50 eli closed 51 ivan pending 21 kim pending 50 farah pending 75 ivan ready 88 alice failed 75 kim failed 109 jules paused 1
1
kim closed 58 jules paused 118 dina active 23 gus paused 1 kim pending 68 eli ready 48 alice ready 3 gus active 34
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022981-p1
Count records where column 2 is 'ready'; output 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
chen closed 62 kim closed 50 eli closed 51 ivan pending 21 kim pending 50 farah pending 75 ivan ready 88 alice failed 75 kim failed 109 jules paused 1
1
kim closed 58 jules paused 118 dina active 23 gus paused 1 kim pending 68 eli ready 48 alice ready 3 gus active 34
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022981
qwen/qwen3.7-plus
awkweave-0022982
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
28 fable ivan 12 juniper farah 16 indigo farah 15 amber eli 23 fable kim 1 ember jules 24 grove eli
119
10 fable bruno 6 birch ivan 28 cobalt gus 19 delta lina 5 birch lina 3 harbor kim 7 cobalt lina 22 grove ivan 1 cobalt hana
101
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022982-p1
Compute and display the total sum of integer values in column 1.
{s+=$1}END{print s+0}
28 fable ivan 12 juniper farah 16 indigo farah 15 amber eli 23 fable kim 1 ember jules 24 grove eli
119
10 fable bruno 6 birch ivan 28 cobalt gus 19 delta lina 5 birch lina 3 harbor kim 7 cobalt lina 22 grove ivan 1 cobalt hana
101
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022982
qwen/qwen3.7-plus
awkweave-0022983
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 19 alice indigo 18 chen fable 29 lina birch 9 dina ember 19 gus delta 27 hana
20.17
grove 28 hana indigo 8 gus indigo 20 lina indigo 20 gus harbor 20 gus juniper 22 farah cobalt 20 dina juniper 23 kim
20.12
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022983-p1
Print the average of column 2, rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 19 alice indigo 18 chen fable 29 lina birch 9 dina ember 19 gus delta 27 hana
20.17
grove 28 hana indigo 8 gus indigo 20 lina indigo 20 gus harbor 20 gus juniper 22 farah cobalt 20 dina juniper 23 kim
20.12
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022983
qwen/qwen3.7-plus
awkweave-0022984
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
11 harbor alice 22 fable alice 3 amber chen 12 cobalt lina 14 harbor eli 8 delta farah 23 birch gus 6 amber farah 20 indigo kim 23 juniper eli
3
12 birch farah 22 juniper gus 23 grove lina 13 fable lina 5 harbor dina 8 birch bruno 20 juniper ivan 21 cobalt gus
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022984-p1
Identify and output the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
11 harbor alice 22 fable alice 3 amber chen 12 cobalt lina 14 harbor eli 8 delta farah 23 birch gus 6 amber farah 20 indigo kim 23 juniper eli
3
12 birch farah 22 juniper gus 23 grove lina 13 fable lina 5 harbor dina 8 birch bruno 20 juniper ivan 21 cobalt gus
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022984
qwen/qwen3.7-plus
awkweave-0022985
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 12 alice amber 10 hana fable 13 bruno ember 23 farah grove 17 dina birch 23 ivan delta 22 dina
23
delta 26 kim harbor 22 jules juniper 14 dina grove 15 jules ember 17 kim harbor 23 eli grove 11 lina grove 23 lina indigo 28 alice
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022985-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 12 alice amber 10 hana fable 13 bruno ember 23 farah grove 17 dina birch 23 ivan delta 22 dina
23
delta 26 kim harbor 22 jules juniper 14 dina grove 15 jules ember 17 kim harbor 23 eli grove 11 lina grove 23 lina indigo 28 alice
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022985
qwen/qwen3.7-plus
awkweave-0022986
Count all input records and print the total.
END{print NR}
hana 118 farah 106 bruno 105 ivan 93 eli 53 eli 99 eli 67 gus 36 kim 98 hana 98
10
chen 119 kim 48 dina 3 gus 116 chen 115 gus 102 bruno 81 gus 15 chen 24 hana 103
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022986-p1
Count the total number of input records and print the result.
END{print NR}
hana 118 farah 106 bruno 105 ivan 93 eli 53 eli 99 eli 67 gus 36 kim 98 hana 98
10
chen 119 kim 48 dina 3 gus 116 chen 115 gus 102 bruno 81 gus 15 chen 24 hana 103
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022986
qwen/qwen3.7-plus
awkweave-0022987
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina amber 16 gus delta 115 ivan harbor 37 kim amber 52 kim amber 52 hana delta 98 hana grove 55 lina fable 41
dina amber 16 gus delta 115 ivan harbor 37 kim amber 52 hana delta 98 hana grove 55 lina fable 41
kim ember 37 jules harbor 12 chen ember 74 lina birch 23 chen grove 46 chen ember 74 chen birch 36 ivan grove 68
kim ember 37 jules harbor 12 chen ember 74 lina birch 23 chen grove 46 chen birch 36 ivan grove 68
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022987-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining original order.
!seen[$0]++
dina amber 16 gus delta 115 ivan harbor 37 kim amber 52 kim amber 52 hana delta 98 hana grove 55 lina fable 41
dina amber 16 gus delta 115 ivan harbor 37 kim amber 52 hana delta 98 hana grove 55 lina fable 41
kim ember 37 jules harbor 12 chen ember 74 lina birch 23 chen grove 46 chen ember 74 chen birch 36 ivan grove 68
kim ember 37 jules harbor 12 chen ember 74 lina birch 23 chen grove 46 chen birch 36 ivan grove 68
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022987
qwen/qwen3.7-plus
awkweave-0022988
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
lina cobalt 70 bruno indigo 65 chen juniper 52 eli amber 69 lina cobalt 80 hana delta 43 hana harbor 34 dina harbor 18
lina cobalt 70 bruno indigo 65 chen juniper 52 eli amber 69 hana delta 43 hana harbor 34
chen delta 107 hana juniper 6 chen harbor 76 bruno cobalt 2 gus grove 40 kim harbor 58 farah fable 60 dina delta 11 bruno ember 111
chen delta 107 hana juniper 6 chen harbor 76 bruno cobalt 2 gus grove 40 farah fable 60 bruno ember 111
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022988-p1
Retain only the first occurrence for each unique value in column 2, preserving input order.
!seen[$2]++
lina cobalt 70 bruno indigo 65 chen juniper 52 eli amber 69 lina cobalt 80 hana delta 43 hana harbor 34 dina harbor 18
lina cobalt 70 bruno indigo 65 chen juniper 52 eli amber 69 hana delta 43 hana harbor 34
chen delta 107 hana juniper 6 chen harbor 76 bruno cobalt 2 gus grove 40 kim harbor 58 farah fable 60 dina delta 11 bruno ember 111
chen delta 107 hana juniper 6 chen harbor 76 bruno cobalt 2 gus grove 40 farah fable 60 bruno ember 111
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022988
qwen/qwen3.7-plus
awkweave-0022989
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 29 amber jules 12 delta farah 26 amber chen 9 birch bruno 21 harbor eli 26 ember kim 30 amber gus 1 indigo
jules 29 jules 41 farah 67 chen 76 bruno 97 eli 123 kim 153 gus 154
eli 20 indigo dina 7 cobalt bruno 2 fable hana 2 harbor hana 30 delta chen 14 juniper dina 10 indigo jules 2 harbor
eli 20 dina 27 bruno 29 hana 31 hana 61 chen 75 dina 85 jules 87
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0022989-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 29 amber jules 12 delta farah 26 amber chen 9 birch bruno 21 harbor eli 26 ember kim 30 amber gus 1 indigo
jules 29 jules 41 farah 67 chen 76 bruno 97 eli 123 kim 153 gus 154
eli 20 indigo dina 7 cobalt bruno 2 fable hana 2 harbor hana 30 delta chen 14 juniper dina 10 indigo jules 2 harbor
eli 20 dina 27 bruno 29 hana 31 hana 61 chen 75 dina 85 jules 87
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0022989
qwen/qwen3.7-plus
awkweave-0023000
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name record_id score state r001 dina 9 failed r002 eli 24 paused r003 chen 17 active r004 bruno 20 paused r005 jules 13 paused r006 lina 28 paused r007 jules 12 paused r008 alice 25 active
dina eli chen bruno jules lina jules alice
display_name record_id score state r001 kim 9 closed r002 kim 7 paused r003 kim 14 failed r004 dina 10 ready r005 bruno 4 failed r006 dina 6 active r007 dina 24 failed r008 bruno 13 closed r009 hana 28 pending r010 hana 25 ready
kim kim kim dina bruno dina dina bruno hana hana
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023000-p1
Skip the header row and output the record_id field for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name record_id score state r001 dina 9 failed r002 eli 24 paused r003 chen 17 active r004 bruno 20 paused r005 jules 13 paused r006 lina 28 paused r007 jules 12 paused r008 alice 25 active
dina eli chen bruno jules lina jules alice
display_name record_id score state r001 kim 9 closed r002 kim 7 paused r003 kim 14 failed r004 dina 10 ready r005 bruno 4 failed r006 dina 6 active r007 dina 24 failed r008 bruno 13 closed r009 hana 28 pending r010 hana 25 ready
kim kim kim dina bruno dina dina bruno hana hana
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023000
qwen/qwen3.7-plus
awkweave-0023001
The first row is a header. Print display_name for data rows whose score is greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 kim 9 closed r002 jules 3 pending r003 chen 7 closed r004 gus 4 closed r005 alice 13 closed r006 alice 22 active r007 gus 8 active r008 alice 9 closed
alice alice
record_id display_name score state r001 gus 2 paused r002 chen 16 paused r003 jules 22 paused r004 dina 28 closed r005 gus 25 active r006 ivan 17 active r007 chen 5 active
chen jules dina gus ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null