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-0000270
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 55 beta juniper 117 alpha ember 11 beta delta 5 beta harbor 117 delta delta 1 gamma indigo 17 alpha ember 21
4
delta juniper 29 delta amber 113 beta cobalt 69 alpha juniper 6 beta ember 65 delta grove 107 delta birch 81
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000270-p1
Determine the number of unique values present in column 1 and print only this total count.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 55 beta juniper 117 alpha ember 11 beta delta 5 beta harbor 117 delta delta 1 gamma indigo 17 alpha ember 21
4
delta juniper 29 delta amber 113 beta cobalt 69 alpha juniper 6 beta ember 65 delta grove 107 delta birch 81
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000270
qwen/qwen3.7-plus
awkweave-0000271
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 21 0 dina 7 21 lina 15 4 bruno 16 2 lina 8 1 bruno 10 26 jules 20 22
dina 0.33 lina 3.75 bruno 8.00 lina 8.00 bruno 0.38 jules 0.91
chen 25 0 alice 24 17 bruno 22 9 gus 27 1 hana 8 18 farah 23 26 farah 2 24 alice 26 29
alice 1.41 bruno 2.44 gus 27.00 hana 0.44 farah 0.88 farah 0.08 alice 0.90
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000271-p1
For each row where column 3 is not zero, print column 1 and the result of dividing column 2 by column 3, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 21 0 dina 7 21 lina 15 4 bruno 16 2 lina 8 1 bruno 10 26 jules 20 22
dina 0.33 lina 3.75 bruno 8.00 lina 8.00 bruno 0.38 jules 0.91
chen 25 0 alice 24 17 bruno 22 9 gus 27 1 hana 8 18 farah 23 26 farah 2 24 alice 26 29
alice 1.41 bruno 2.44 gus 27.00 hana 0.44 farah 0.88 farah 0.08 alice 0.90
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000271
qwen/qwen3.7-plus
awkweave-0000272
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]}
eli delta 7 farah delta 22 bruno fable 7 jules ember 5 jules birch 10 farah cobalt 26 gus grove 9
farah cobalt 26 farah delta 22 jules birch 10
ivan ember 3 dina cobalt 7 gus harbor 21 farah ember 25 alice birch 23 gus delta 23 gus fable 2 eli delta 15 jules ember 9
farah ember 25 alice birch 23 gus delta 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000272-p1
Display the top 3 records based on descending numeric values in column 3, maintaining original 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]}
eli delta 7 farah delta 22 bruno fable 7 jules ember 5 jules birch 10 farah cobalt 26 gus grove 9
farah cobalt 26 farah delta 22 jules birch 10
ivan ember 3 dina cobalt 7 gus harbor 21 farah ember 25 alice birch 23 gus delta 23 gus fable 2 eli delta 15 jules ember 9
farah ember 25 alice birch 23 gus delta 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000272
qwen/qwen3.7-plus
awkweave-0000273
For each line, output fields 2 and 1, in that order.
{print $2, $1}
eli active amber 54 chen ready grove 19 kim closed birch 69 hana ready delta 40 eli ready juniper 38 hana failed fable 120 hana ready ember 106 lina failed harbor 20 eli failed delta 36 kim ready amber 98
active eli ready chen closed kim ready hana ready eli failed hana ready hana failed lina failed eli ready kim
eli pending grove 3 bruno pending ember 105 ivan pending birch 114 hana failed amber 27 dina paused fable 17 chen failed amber 10 chen pending fable 7 hana ready ember 82
pending eli pending bruno pending ivan failed hana paused dina failed chen pending chen ready hana
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000273-p1
For each line, print field 2 followed by field 1.
{print $2, $1}
eli active amber 54 chen ready grove 19 kim closed birch 69 hana ready delta 40 eli ready juniper 38 hana failed fable 120 hana ready ember 106 lina failed harbor 20 eli failed delta 36 kim ready amber 98
active eli ready chen closed kim ready hana ready eli failed hana ready hana failed lina failed eli ready kim
eli pending grove 3 bruno pending ember 105 ivan pending birch 114 hana failed amber 27 dina paused fable 17 chen failed amber 10 chen pending fable 7 hana ready ember 82
pending eli pending bruno pending ivan failed hana paused dina failed chen pending chen ready hana
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000273
qwen/qwen3.7-plus
awkweave-0000274
Print the last field of every input line.
{print $NF}
active pending hana pending ember ready farah closed failed chen active fable paused bruno ready pending gus failed birch paused hana closed active ivan failed amber failed jules active paused alice pending indigo paused gus pending pending farah paused cobalt closed kim failed active chen failed birch closed farah pau...
farah bruno hana jules gus kim farah alice kim
ready ready hana active grove failed eli ready failed dina closed birch pending eli closed closed bruno ready indigo ready ivan paused pending eli ready cobalt failed chen closed paused dina closed grove pending kim ready failed dina closed juniper active farah closed pending chen active juniper pending hana ready acti...
eli eli ivan chen kim farah hana kim kim
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000274-p1
Output the final field from every input line.
{print $NF}
active pending hana pending ember ready farah closed failed chen active fable paused bruno ready pending gus failed birch paused hana closed active ivan failed amber failed jules active paused alice pending indigo paused gus pending pending farah paused cobalt closed kim failed active chen failed birch closed farah pau...
farah bruno hana jules gus kim farah alice kim
ready ready hana active grove failed eli ready failed dina closed birch pending eli closed closed bruno ready indigo ready ivan paused pending eli ready cobalt failed chen closed paused dina closed grove pending kim ready failed dina closed juniper active farah closed pending chen active juniper pending hana ready acti...
eli eli ivan chen kim farah hana kim kim
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000274
qwen/qwen3.7-plus
awkweave-0000275
Print the complete records where column 3 is less than 72.
$3 < 72
amber closed 34 failed ready cobalt failed 118 paused pending ember pending 68 active active ember failed 27 pending active cobalt failed 58 closed active juniper active 77 active active grove closed 77 active pending juniper ready 97 paused pending cobalt pending 2 paused closed cobalt pending 95 active active
amber closed 34 failed ready ember pending 68 active active ember failed 27 pending active cobalt failed 58 closed active cobalt pending 2 paused closed
cobalt ready 86 ready failed juniper paused 73 closed ready harbor paused 67 failed failed cobalt active 74 failed failed birch pending 35 closed ready fable active 6 failed paused delta ready 32 ready failed fable paused 81 pending active
harbor paused 67 failed failed birch pending 35 closed ready fable active 6 failed paused delta ready 32 ready failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000275-p1
Show all records where the value in column 3 is less than 72.
$3 < 72
amber closed 34 failed ready cobalt failed 118 paused pending ember pending 68 active active ember failed 27 pending active cobalt failed 58 closed active juniper active 77 active active grove closed 77 active pending juniper ready 97 paused pending cobalt pending 2 paused closed cobalt pending 95 active active
amber closed 34 failed ready ember pending 68 active active ember failed 27 pending active cobalt failed 58 closed active cobalt pending 2 paused closed
cobalt ready 86 ready failed juniper paused 73 closed ready harbor paused 67 failed failed cobalt active 74 failed failed birch pending 35 closed ready fable active 6 failed paused delta ready 32 ready failed fable paused 81 pending active
harbor paused 67 failed failed birch pending 35 closed ready fable active 6 failed paused delta ready 32 ready failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000275
qwen/qwen3.7-plus
awkweave-0000276
Show whole lines whose 2nd field is between 5 and 23, inclusive.
$2 >= 5 && $2 <= 23
dina 4 hana bruno dina 24 gus jules bruno 1 ivan alice farah 3 ivan alice alice 30 bruno chen ivan 24 dina eli lina 21 dina ivan bruno 23 dina gus hana 30 chen eli
lina 21 dina ivan bruno 23 dina gus
lina 19 alice bruno alice 30 chen alice farah 18 alice farah ivan 15 kim bruno eli 16 lina gus hana 27 kim gus bruno 18 farah ivan ivan 29 dina kim alice 1 gus ivan
lina 19 alice bruno farah 18 alice farah ivan 15 kim bruno eli 16 lina gus bruno 18 farah ivan
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000276-p1
Print entire lines where the second field falls within the inclusive range of 5 to 23.
$2 >= 5 && $2 <= 23
dina 4 hana bruno dina 24 gus jules bruno 1 ivan alice farah 3 ivan alice alice 30 bruno chen ivan 24 dina eli lina 21 dina ivan bruno 23 dina gus hana 30 chen eli
lina 21 dina ivan bruno 23 dina gus
lina 19 alice bruno alice 30 chen alice farah 18 alice farah ivan 15 kim bruno eli 16 lina gus hana 27 kim gus bruno 18 farah ivan ivan 29 dina kim alice 1 gus ivan
lina 19 alice bruno farah 18 alice farah ivan 15 kim bruno eli 16 lina gus bruno 18 farah ivan
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000276
qwen/qwen3.7-plus
awkweave-0000277
Print column 4 only for rows where column 2 is exactly pending.
$2 == "pending"{print $4}
fable paused 114 gus cobalt failed 72 gus ember failed 99 ivan amber pending 30 bruno juniper paused 9 ivan grove pending 24 dina fable closed 17 eli amber ready 40 farah
bruno dina
harbor pending 107 chen indigo closed 12 ivan birch active 49 hana grove pending 34 farah cobalt paused 73 kim amber ready 113 gus
chen farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000277-p1
Output only column 4 for rows where column 2 equals pending.
$2 == "pending"{print $4}
fable paused 114 gus cobalt failed 72 gus ember failed 99 ivan amber pending 30 bruno juniper paused 9 ivan grove pending 24 dina fable closed 17 eli amber ready 40 farah
bruno dina
harbor pending 107 chen indigo closed 12 ivan birch active 49 hana grove pending 34 farah cobalt paused 73 kim amber ready 113 gus
chen farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000277
qwen/qwen3.7-plus
awkweave-0000278
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
harbor WARN 97 amber INFO 44 grove ERROR 73 juniper WARN 69 juniper WARN 107 ember DEBUG 113
harbor WARN 97 juniper WARN 69 juniper WARN 107
juniper ERROR 91 amber ERROR 28 indigo WARN 30 birch ERROR 66 grove ERROR 117 fable WARN 24 ember WARN 109 juniper INFO 107 harbor INFO 2 cobalt DEBUG 21
indigo WARN 30 fable WARN 24 ember WARN 109
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000278-p1
Print all fields for lines where field 2 starts with WARN.
$2 ~ /^WARN/
harbor WARN 97 amber INFO 44 grove ERROR 73 juniper WARN 69 juniper WARN 107 ember DEBUG 113
harbor WARN 97 juniper WARN 69 juniper WARN 107
juniper ERROR 91 amber ERROR 28 indigo WARN 30 birch ERROR 66 grove ERROR 117 fable WARN 24 ember WARN 109 juniper INFO 107 harbor INFO 2 cobalt DEBUG 21
indigo WARN 30 fable WARN 24 ember WARN 109
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000278
qwen/qwen3.7-plus
awkweave-0000279
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
amber 101 paused birch 98 pending ember 106 failed ember 91 paused grove 0 closed delta 18 failed grove 61 pending delta 78 paused indigo 83 pending juniper 999 active
amber 101 paused birch 98 pending ember 106 failed ember 91 paused grove 0 closed delta 18 failed grove 61 pending delta 78 paused indigo 83 pending
grove 83 paused indigo 1 failed fable 35 ready delta 84 paused delta 91 pending fable 58 failed fable 24 pending juniper 999 active
grove 83 paused indigo 1 failed fable 35 ready delta 84 paused delta 91 pending fable 58 failed fable 24 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000279-p1
Display every line that does not contain the exact string juniper.
$0 !~ /juniper/
amber 101 paused birch 98 pending ember 106 failed ember 91 paused grove 0 closed delta 18 failed grove 61 pending delta 78 paused indigo 83 pending juniper 999 active
amber 101 paused birch 98 pending ember 106 failed ember 91 paused grove 0 closed delta 18 failed grove 61 pending delta 78 paused indigo 83 pending
grove 83 paused indigo 1 failed fable 35 ready delta 84 paused delta 91 pending fable 58 failed fable 24 pending juniper 999 active
grove 83 paused indigo 1 failed fable 35 ready delta 84 paused delta 91 pending fable 58 failed fable 24 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000279
qwen/qwen3.7-plus
awkweave-0000280
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
alice juniper 96 gus grove 56 alice grove 92 kim grove 85 jules delta 79 bruno fable 27 gus cobalt 62
gus grove 56 alice grove 92 kim grove 85 jules delta 79
hana cobalt 86 farah ember 30 ivan fable 112 alice indigo 23 gus ember 86 kim indigo 94
farah ember 30 ivan fable 112 alice indigo 23 gus ember 86
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000280-p1
Print lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
alice juniper 96 gus grove 56 alice grove 92 kim grove 85 jules delta 79 bruno fable 27 gus cobalt 62
gus grove 56 alice grove 92 kim grove 85 jules delta 79
hana cobalt 86 farah ember 30 ivan fable 112 alice indigo 23 gus ember 86 kim indigo 94
farah ember 30 ivan fable 112 alice indigo 23 gus ember 86
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000280
qwen/qwen3.7-plus
awkweave-0000281
Output only the first 3 records.
NR <= 3
hana 1 harbor chen 16 amber jules 59 amber alice 57 ember hana 8 amber alice 15 harbor hana 75 grove gus 92 indigo dina 110 ember
hana 1 harbor chen 16 amber jules 59 amber
bruno 2 juniper chen 89 juniper alice 87 cobalt ivan 108 grove gus 57 delta eli 49 indigo gus 97 delta hana 78 birch hana 82 delta alice 113 birch
bruno 2 juniper chen 89 juniper alice 87 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000281-p1
Output the first 3 records only.
NR <= 3
hana 1 harbor chen 16 amber jules 59 amber alice 57 ember hana 8 amber alice 15 harbor hana 75 grove gus 92 indigo dina 110 ember
hana 1 harbor chen 16 amber jules 59 amber
bruno 2 juniper chen 89 juniper alice 87 cobalt ivan 108 grove gus 57 delta eli 49 indigo gus 97 delta hana 78 birch hana 82 delta alice 113 birch
bruno 2 juniper chen 89 juniper alice 87 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000281
qwen/qwen3.7-plus
awkweave-0000282
Skip the first line and print every remaining line unchanged.
NR > 1
gus 39 grove chen 22 indigo kim 27 indigo bruno 13 cobalt chen 67 delta bruno 10 birch dina 9 fable dina 5 grove
chen 22 indigo kim 27 indigo bruno 13 cobalt chen 67 delta bruno 10 birch dina 9 fable dina 5 grove
eli 115 delta dina 82 cobalt ivan 2 fable eli 4 grove farah 72 harbor eli 43 birch ivan 74 indigo
dina 82 cobalt ivan 2 fable eli 4 grove farah 72 harbor eli 43 birch ivan 74 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000282-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
gus 39 grove chen 22 indigo kim 27 indigo bruno 13 cobalt chen 67 delta bruno 10 birch dina 9 fable dina 5 grove
chen 22 indigo kim 27 indigo bruno 13 cobalt chen 67 delta bruno 10 birch dina 9 fable dina 5 grove
eli 115 delta dina 82 cobalt ivan 2 fable eli 4 grove farah 72 harbor eli 43 birch ivan 74 indigo
dina 82 cobalt ivan 2 fable eli 4 grove farah 72 harbor eli 43 birch ivan 74 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000282
qwen/qwen3.7-plus
awkweave-0000283
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
kim active 14 eli pending 40 farah ready 60 bruno ready 61 jules failed 108 chen closed 105 alice paused 82 alice active 82
1
ivan active 19 alice closed 108 bruno paused 91 dina active 94 dina ready 84 ivan pending 94 hana ready 88 farah failed 30 chen failed 34
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000283-p1
Count the number of records with failed in column 2; output 0 if none exist.
$2 == "failed"{n++}END{print n+0}
kim active 14 eli pending 40 farah ready 60 bruno ready 61 jules failed 108 chen closed 105 alice paused 82 alice active 82
1
ivan active 19 alice closed 108 bruno paused 91 dina active 94 dina ready 84 ivan pending 94 hana ready 88 farah failed 30 chen failed 34
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000283
qwen/qwen3.7-plus
awkweave-0000284
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
bruno grove 9 gus grove 16 bruno delta 7 lina fable 15 ivan juniper 3 jules cobalt 25 hana harbor 25
100
farah harbor 25 chen fable 29 chen indigo 3 dina birch 4 jules fable 28 kim delta 17
106
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000284-p1
Compute the total of all integer values found in the third column and output the result.
{s+=$3}END{print s+0}
bruno grove 9 gus grove 16 bruno delta 7 lina fable 15 ivan juniper 3 jules cobalt 25 hana harbor 25
100
farah harbor 25 chen fable 29 chen indigo 3 dina birch 4 jules fable 28 kim delta 17
106
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000284
qwen/qwen3.7-plus
awkweave-0000285
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
30 dina indigo 21 lina fable 5 hana indigo 3 lina indigo 2 lina grove 7 bruno cobalt 1 alice grove 12 kim delta 24 bruno indigo 4 jules indigo
10.90
6 lina fable 3 ivan juniper 19 gus indigo 13 bruno harbor 11 hana delta 13 hana birch 14 jules juniper 24 dina delta
12.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000285-p1
Output the average of the values in the first column, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
30 dina indigo 21 lina fable 5 hana indigo 3 lina indigo 2 lina grove 7 bruno cobalt 1 alice grove 12 kim delta 24 bruno indigo 4 jules indigo
10.90
6 lina fable 3 ivan juniper 19 gus indigo 13 bruno harbor 11 hana delta 13 hana birch 14 jules juniper 24 dina delta
12.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000285
qwen/qwen3.7-plus
awkweave-0000286
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
23 birch chen 2 cobalt chen 24 ember ivan 30 juniper eli 24 amber hana 2 fable chen 8 harbor dina 5 birch farah 14 harbor alice 13 fable bruno
2
29 harbor hana 5 cobalt kim 17 cobalt lina 18 indigo kim 4 birch bruno 4 juniper hana 4 indigo chen 18 indigo ivan
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000286-p1
Identify and display the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
23 birch chen 2 cobalt chen 24 ember ivan 30 juniper eli 24 amber hana 2 fable chen 8 harbor dina 5 birch farah 14 harbor alice 13 fable bruno
2
29 harbor hana 5 cobalt kim 17 cobalt lina 18 indigo kim 4 birch bruno 4 juniper hana 4 indigo chen 18 indigo ivan
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000286
qwen/qwen3.7-plus
awkweave-0000287
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 birch jules 26 grove hana 13 ember ivan 7 ember lina 19 cobalt kim 23 ember hana 4 delta chen 5 ember dina
28
6 cobalt bruno 2 indigo gus 13 juniper lina 30 juniper chen 30 birch hana 13 indigo chen 29 indigo hana
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000287-p1
Identify and display the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 birch jules 26 grove hana 13 ember ivan 7 ember lina 19 cobalt kim 23 ember hana 4 delta chen 5 ember dina
28
6 cobalt bruno 2 indigo gus 13 juniper lina 30 juniper chen 30 birch hana 13 indigo chen 29 indigo hana
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000287
qwen/qwen3.7-plus
awkweave-0000288
Count all input records and print the total.
END{print NR}
ivan 92 kim 90 gus 105 bruno 70 jules 15 kim 21 ivan 75
7
alice 89 dina 67 jules 53 farah 52 eli 71 jules 40 chen 32 jules 110 hana 15
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000288-p1
Count the total number of input lines and print that count.
END{print NR}
ivan 92 kim 90 gus 105 bruno 70 jules 15 kim 21 ivan 75
7
alice 89 dina 67 jules 53 farah 52 eli 71 jules 40 chen 32 jules 110 hana 15
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000288
qwen/qwen3.7-plus
awkweave-0000289
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus birch 74 hana amber 114 chen fable 49 hana amber 114 kim fable 110 chen harbor 32 alice amber 101 alice ember 108 jules birch 32
gus birch 74 hana amber 114 chen fable 49 kim fable 110 chen harbor 32 alice amber 101 alice ember 108 jules birch 32
ivan juniper 66 hana juniper 7 lina harbor 66 kim delta 105 hana cobalt 10 lina harbor 66 kim delta 63
ivan juniper 66 hana juniper 7 lina harbor 66 kim delta 105 hana cobalt 10 kim delta 63
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000289-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
gus birch 74 hana amber 114 chen fable 49 hana amber 114 kim fable 110 chen harbor 32 alice amber 101 alice ember 108 jules birch 32
gus birch 74 hana amber 114 chen fable 49 kim fable 110 chen harbor 32 alice amber 101 alice ember 108 jules birch 32
ivan juniper 66 hana juniper 7 lina harbor 66 kim delta 105 hana cobalt 10 lina harbor 66 kim delta 63
ivan juniper 66 hana juniper 7 lina harbor 66 kim delta 105 hana cobalt 10 kim delta 63
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000289
qwen/qwen3.7-plus
awkweave-0000300
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]]}
bruno delta 18 bruno gamma 14 hana alpha 21 kim alpha 17 dina gamma 19 kim beta 11 farah beta 23 lina gamma 11 gus alpha 16
delta 18 gamma 44 alpha 54 beta 34
farah beta 11 jules gamma 11 gus gamma 24 ivan gamma 29 dina alpha 18 eli gamma 23 farah delta 17
beta 11 gamma 87 alpha 18 delta 17
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000300-p1
Calculate the sum of column 3 for every unique category in column 2, listing the results in the order the categories first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
bruno delta 18 bruno gamma 14 hana alpha 21 kim alpha 17 dina gamma 19 kim beta 11 farah beta 23 lina gamma 11 gus alpha 16
delta 18 gamma 44 alpha 54 beta 34
farah beta 11 jules gamma 11 gus gamma 24 ivan gamma 29 dina alpha 18 eli gamma 23 farah delta 17
beta 11 gamma 87 alpha 18 delta 17
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000300
qwen/qwen3.7-plus
awkweave-0000301
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 juniper 65 delta cobalt 34 gamma grove 25 beta cobalt 47 delta indigo 4 beta cobalt 10 gamma indigo 67 gamma indigo 2 gamma grove 8 beta amber 40
delta 2 gamma 4 beta 3
alpha fable 5 delta ember 94 beta cobalt 8 beta harbor 23 alpha ember 0 beta harbor 94 gamma cobalt 42 gamma harbor 32 delta ember 93
alpha 2 delta 2 beta 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000301-p1
List each value from column 1 that appears more than once, along with its frequency, sorted by the order of first occurrence.
{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 juniper 65 delta cobalt 34 gamma grove 25 beta cobalt 47 delta indigo 4 beta cobalt 10 gamma indigo 67 gamma indigo 2 gamma grove 8 beta amber 40
delta 2 gamma 4 beta 3
alpha fable 5 delta ember 94 beta cobalt 8 beta harbor 23 alpha ember 0 beta harbor 94 gamma cobalt 42 gamma harbor 32 delta ember 93
alpha 2 delta 2 beta 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000301
qwen/qwen3.7-plus
awkweave-0000302
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"]}
state score record_id note r001 eli 8 paused r002 lina 28 pending r003 bruno 16 closed r004 eli 28 pending r005 jules 20 closed r006 alice 25 failed r007 gus 29 pending r008 farah 11 active r009 ivan 28 active
8 28 16 28 20 25 29 11 28
state score record_id note r001 kim 18 failed r002 dina 20 active r003 ivan 9 ready r004 lina 18 paused r005 alice 25 failed r006 eli 24 paused r007 chen 24 closed r008 kim 3 failed
18 20 9 18 25 24 24 3
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000302-p1
Treating the first line as a header, output the values from the record_id column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
state score record_id note r001 eli 8 paused r002 lina 28 pending r003 bruno 16 closed r004 eli 28 pending r005 jules 20 closed r006 alice 25 failed r007 gus 29 pending r008 farah 11 active r009 ivan 28 active
8 28 16 28 20 25 29 11 28
state score record_id note r001 kim 18 failed r002 dina 20 active r003 ivan 9 ready r004 lina 18 paused r005 alice 25 failed r006 eli 24 paused r007 chen 24 closed r008 kim 3 failed
18 20 9 18 25 24 24 3
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000302
qwen/qwen3.7-plus
awkweave-0000303
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 gus 14 failed r002 gus 30 pending r003 eli 9 ready r004 lina 12 pending r005 bruno 29 active r006 farah 9 paused
gus bruno
record_id display_name score state r001 bruno 11 ready r002 kim 17 ready r003 jules 3 active r004 jules 1 ready r005 hana 2 pending r006 ivan 16 failed r007 hana 8 closed
kim ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000303-p1
With the first line as a header, print the display_name field for any data row where the score is strictly greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 gus 14 failed r002 gus 30 pending r003 eli 9 ready r004 lina 12 pending r005 bruno 29 active r006 farah 9 paused
gus bruno
record_id display_name score state r001 bruno 11 ready r002 kim 17 ready r003 jules 3 active r004 jules 1 ready r005 hana 2 pending r006 ivan 16 failed r007 hana 8 closed
kim ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000303
qwen/qwen3.7-plus
awkweave-0000304
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 5 paused lina 13 pending hana 17 closed chen 25 pending jules 30 failed gus 17 pending
5 13 17 25 30 17
chen 22 ready farah 8 failed ivan 21 paused gus 30 closed bruno 12 closed lina 1 active gus 14 failed ivan 8 closed
22 8 21 30 12 1 14 8
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000304-p1
Given tab-separated input, extract and print the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 5 paused lina 13 pending hana 17 closed chen 25 pending jules 30 failed gus 17 pending
5 13 17 25 30 17
chen 22 ready farah 8 failed ivan 21 paused gus 30 closed bruno 12 closed lina 1 active gus 14 failed ivan 8 closed
22 8 21 30 12 1 14 8
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000304
qwen/qwen3.7-plus
awkweave-0000305
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
eli,3,pending chen,27,ready bruno,23,ready chen,25,ready bruno,12,ready farah,30,closed
chen bruno chen farah
bruno,15,pending kim,30,failed jules,16,paused dina,7,paused dina,3,closed lina,30,active kim,24,ready kim,19,ready
kim jules lina kim kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000305-p1
For simple comma-separated input without quoted fields, print the first column whenever the value in the second column is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
eli,3,pending chen,27,ready bruno,23,ready chen,25,ready bruno,12,ready farah,30,closed
chen bruno chen farah
bruno,15,pending kim,30,failed jules,16,paused dina,7,paused dina,3,closed lina,30,active kim,24,ready kim,19,ready
kim jules lina kim kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000305
qwen/qwen3.7-plus
awkweave-0000306
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan delta 119 hana birch 93 hana delta 86 chen birch 77 ivan delta 68 lina grove 112 lina harbor 90
ivan delta 119 hana birch 93 hana delta 86 chen birch 77 ivan delta 68 lina grove 112 lina harbor 90
kim fable 47 eli cobalt 51 bruno indigo 8 lina indigo 1 hana harbor 1 chen indigo 74
kim fable 47 eli cobalt 51 bruno indigo 8 lina indigo 1 hana harbor 1 chen indigo 74
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000306-p1
Strip leading and trailing whitespace, then replace runs of internal whitespace with a single space.
{$1=$1;print}
ivan delta 119 hana birch 93 hana delta 86 chen birch 77 ivan delta 68 lina grove 112 lina harbor 90
ivan delta 119 hana birch 93 hana delta 86 chen birch 77 ivan delta 68 lina grove 112 lina harbor 90
kim fable 47 eli cobalt 51 bruno indigo 8 lina indigo 1 hana harbor 1 chen indigo 74
kim fable 47 eli cobalt 51 bruno indigo 8 lina indigo 1 hana harbor 1 chen indigo 74
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000306
qwen/qwen3.7-plus
awkweave-0000307
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan indigo 52 failed gus juniper 113 paused alice cobalt 67 closed bruno amber 114 failed chen harbor 26 closed farah juniper 100 failed dina delta 78 active eli juniper 82 active kim indigo 75 paused hana delta 2 pending
farah juniper 100 failed
farah amber 11 pending kim indigo 105 pending jules amber 65 failed ivan harbor 119 active ivan cobalt 88 failed chen fable 54 ready kim amber 111 closed kim juniper 22 active bruno fable 34 paused gus ember 89 failed
farah amber 11 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000307-p1
Output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
ivan indigo 52 failed gus juniper 113 paused alice cobalt 67 closed bruno amber 114 failed chen harbor 26 closed farah juniper 100 failed dina delta 78 active eli juniper 82 active kim indigo 75 paused hana delta 2 pending
farah juniper 100 failed
farah amber 11 pending kim indigo 105 pending jules amber 65 failed ivan harbor 119 active ivan cobalt 88 failed chen fable 54 ready kim amber 111 closed kim juniper 22 active bruno fable 34 paused gus ember 89 failed
farah amber 11 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000307
qwen/qwen3.7-plus
awkweave-0000308
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
alice 53 dina 21 hana 51 lina 97 bruno 109 farah 19 farah 65 dina 15
hana 51 farah 65
jules 89 eli 110 dina 35 farah 8 alice 104 gus 85
dina 35
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000308-p1
Print every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
alice 53 dina 21 hana 51 lina 97 bruno 109 farah 19 farah 65 dina 15
hana 51 farah 65
jules 89 eli 110 dina 35 farah 8 alice 104 gus 85
dina 35
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000308
qwen/qwen3.7-plus
awkweave-0000309
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma birch 2 delta birch 59 delta grove 47 beta amber 35 beta fable 37 beta ember 86 alpha indigo 38 alpha fable 107 alpha ember 4 gamma birch 109
6
delta cobalt 39 beta delta 44 beta cobalt 7 gamma fable 23 gamma amber 37 alpha amber 0 beta amber 37 gamma fable 74
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000309-p1
Calculate the number of unique values in the second column and output only that total count.
{if(!seen[$2]++)n++}END{print n+0}
gamma birch 2 delta birch 59 delta grove 47 beta amber 35 beta fable 37 beta ember 86 alpha indigo 38 alpha fable 107 alpha ember 4 gamma birch 109
6
delta cobalt 39 beta delta 44 beta cobalt 7 gamma fable 23 gamma amber 37 alpha amber 0 beta amber 37 gamma fable 74
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000309
qwen/qwen3.7-plus
awkweave-0000310
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}
alice 9 0 alice 8 24 gus 23 2 farah 12 25 hana 16 3 ivan 3 9
alice 0.33 gus 11.50 farah 0.48 hana 5.33 ivan 0.33
kim 19 0 ivan 19 16 dina 18 12 ivan 7 3 ivan 29 14 eli 13 3 gus 2 30
ivan 1.19 dina 1.50 ivan 2.33 ivan 2.07 eli 4.33 gus 0.07
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000310-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}
alice 9 0 alice 8 24 gus 23 2 farah 12 25 hana 16 3 ivan 3 9
alice 0.33 gus 11.50 farah 0.48 hana 5.33 ivan 0.33
kim 19 0 ivan 19 16 dina 18 12 ivan 7 3 ivan 29 14 eli 13 3 gus 2 30
ivan 1.19 dina 1.50 ivan 2.33 ivan 2.07 eli 4.33 gus 0.07
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000310
qwen/qwen3.7-plus
awkweave-0000311
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]}
gus cobalt 27 farah cobalt 26 gus fable 6 farah indigo 29 farah birch 16 bruno cobalt 2 ivan cobalt 26 hana harbor 3 bruno harbor 1
farah indigo 29 gus cobalt 27 farah cobalt 26
eli indigo 29 kim fable 21 lina fable 25 farah fable 19 eli ember 12 hana harbor 7 jules ember 2 gus grove 6
eli indigo 29 lina fable 25 kim fable 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000311-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 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]}
gus cobalt 27 farah cobalt 26 gus fable 6 farah indigo 29 farah birch 16 bruno cobalt 2 ivan cobalt 26 hana harbor 3 bruno harbor 1
farah indigo 29 gus cobalt 27 farah cobalt 26
eli indigo 29 kim fable 21 lina fable 25 farah fable 19 eli ember 12 hana harbor 7 jules ember 2 gus grove 6
eli indigo 29 lina fable 25 kim fable 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000311
qwen/qwen3.7-plus
awkweave-0000312
Print column 5 followed by column 1 for every record.
{print $5, $1}
paused lina closed farah hana ready gus pending bruno alice failed gus closed chen eli pending bruno closed hana dina paused ivan ready kim hana active ivan closed bruno kim failed lina paused farah lina ready farah ready jules hana closed bruno ready farah dina
hana paused alice ready eli failed dina pending hana paused kim active lina failed hana ready dina closed
closed alice closed gus chen ready kim failed bruno jules ready chen active alice hana paused farah pending ivan gus ready jules closed jules ivan paused dina paused kim dina failed gus ready gus jules
chen closed jules ready hana ready gus paused ivan ready dina paused jules failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000312-p1
Output column 5 followed by column 1 for every record.
{print $5, $1}
paused lina closed farah hana ready gus pending bruno alice failed gus closed chen eli pending bruno closed hana dina paused ivan ready kim hana active ivan closed bruno kim failed lina paused farah lina ready farah ready jules hana closed bruno ready farah dina
hana paused alice ready eli failed dina pending hana paused kim active lina failed hana ready dina closed
closed alice closed gus chen ready kim failed bruno jules ready chen active alice hana paused farah pending ivan gus ready jules closed jules ivan paused dina paused kim dina failed gus ready gus jules
chen closed jules ready hana ready gus paused ivan ready dina paused jules failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000312
qwen/qwen3.7-plus
awkweave-0000313
Print the last field of every input line.
{print $NF}
ember failed 105 hana 75 ready amber active 73 dina 43 failed birch failed 104 jules 1 active amber closed 40 jules 101 pending juniper closed 96 gus 2 closed harbor failed 78 chen 27 ready birch pending 56 kim 89 paused indigo paused 0 ivan 92 closed
ready failed active pending closed ready paused closed
indigo failed 20 lina 110 paused ember ready 57 gus 27 paused harbor pending 30 bruno 115 pending delta ready 19 kim 77 pending grove pending 92 alice 17 failed juniper active 64 chen 7 failed harbor ready 105 lina 72 pending
paused paused pending pending failed failed pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000313-p1
Print the final field of each input line.
{print $NF}
ember failed 105 hana 75 ready amber active 73 dina 43 failed birch failed 104 jules 1 active amber closed 40 jules 101 pending juniper closed 96 gus 2 closed harbor failed 78 chen 27 ready birch pending 56 kim 89 paused indigo paused 0 ivan 92 closed
ready failed active pending closed ready paused closed
indigo failed 20 lina 110 paused ember ready 57 gus 27 paused harbor pending 30 bruno 115 pending delta ready 19 kim 77 pending grove pending 92 alice 17 failed juniper active 64 chen 7 failed harbor ready 105 lina 72 pending
paused paused pending pending failed failed pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000313
qwen/qwen3.7-plus
awkweave-0000314
Print the complete records where column 1 is at most 72.
$1 <= 72
19 indigo ready 28 birch failed 39 grove paused 105 cobalt pending 3 juniper pending 54 indigo active
19 indigo ready 28 birch failed 39 grove paused 3 juniper pending 54 indigo active
89 juniper closed 84 delta ready 92 birch ready 47 harbor paused 78 ember ready 68 amber active 73 cobalt paused 33 cobalt active
47 harbor paused 68 amber active 33 cobalt active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000314-p1
Output full records where the value in column 1 is less than or equal to 72.
$1 <= 72
19 indigo ready 28 birch failed 39 grove paused 105 cobalt pending 3 juniper pending 54 indigo active
19 indigo ready 28 birch failed 39 grove paused 3 juniper pending 54 indigo active
89 juniper closed 84 delta ready 92 birch ready 47 harbor paused 78 ember ready 68 amber active 73 cobalt paused 33 cobalt active
47 harbor paused 68 amber active 33 cobalt active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000314
qwen/qwen3.7-plus
awkweave-0000315
Show whole lines whose 3rd field is between 5 and 24, inclusive.
$3 >= 5 && $3 <= 24
active alice 23 dina paused hana 13 jules closed jules 22 ivan active lina 7 bruno ready gus 5 farah closed kim 17 jules paused farah 4 ivan failed jules 24 farah closed bruno 2 ivan
active alice 23 dina paused hana 13 jules closed jules 22 ivan active lina 7 bruno ready gus 5 farah closed kim 17 jules failed jules 24 farah
ready farah 23 jules pending hana 20 hana failed lina 24 chen active lina 3 dina paused kim 17 bruno pending kim 5 kim failed hana 23 dina closed chen 2 hana active alice 10 chen closed dina 3 hana
ready farah 23 jules pending hana 20 hana failed lina 24 chen paused kim 17 bruno pending kim 5 kim failed hana 23 dina active alice 10 chen
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000315-p1
Display entire lines where the third field falls within the inclusive range of 5 to 24.
$3 >= 5 && $3 <= 24
active alice 23 dina paused hana 13 jules closed jules 22 ivan active lina 7 bruno ready gus 5 farah closed kim 17 jules paused farah 4 ivan failed jules 24 farah closed bruno 2 ivan
active alice 23 dina paused hana 13 jules closed jules 22 ivan active lina 7 bruno ready gus 5 farah closed kim 17 jules failed jules 24 farah
ready farah 23 jules pending hana 20 hana failed lina 24 chen active lina 3 dina paused kim 17 bruno pending kim 5 kim failed hana 23 dina closed chen 2 hana active alice 10 chen closed dina 3 hana
ready farah 23 jules pending hana 20 hana failed lina 24 chen paused kim 17 bruno pending kim 5 kim failed hana 23 dina active alice 10 chen
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000315
qwen/qwen3.7-plus
awkweave-0000316
Print column 2 only for rows where column 4 is exactly closed.
$4 == "closed"{print $2}
88 lina fable pending 65 ivan grove paused 103 hana amber pending 112 bruno harbor ready 102 lina amber closed 53 gus delta paused 55 eli grove active 89 chen ember paused
lina
23 alice ember pending 11 jules harbor closed 85 alice cobalt paused 104 dina delta closed 105 lina fable closed 27 jules delta active
jules dina lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000316-p1
Output only the second column for rows where the fourth column is exactly 'closed'.
$4 == "closed"{print $2}
88 lina fable pending 65 ivan grove paused 103 hana amber pending 112 bruno harbor ready 102 lina amber closed 53 gus delta paused 55 eli grove active 89 chen ember paused
lina
23 alice ember pending 11 jules harbor closed 85 alice cobalt paused 104 dina delta closed 105 lina fable closed 27 jules delta active
jules dina lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000316
qwen/qwen3.7-plus
awkweave-0000317
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
DEBUG ember 3 INFO amber 40 WARN harbor 36 INFO harbor 19 INFO indigo 31 ERROR fable 55 ERROR birch 1
INFO amber 40 INFO harbor 19 INFO indigo 31
WARN fable 57 INFO grove 28 WARN grove 55 DEBUG ember 12 DEBUG ember 24 WARN indigo 56 WARN harbor 105 ERROR grove 5 ERROR indigo 9 INFO grove 97
INFO grove 28 INFO grove 97
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000317-p1
Print all fields from lines where the first field starts with 'INFO'.
$1 ~ /^INFO/
DEBUG ember 3 INFO amber 40 WARN harbor 36 INFO harbor 19 INFO indigo 31 ERROR fable 55 ERROR birch 1
INFO amber 40 INFO harbor 19 INFO indigo 31
WARN fable 57 INFO grove 28 WARN grove 55 DEBUG ember 12 DEBUG ember 24 WARN indigo 56 WARN harbor 105 ERROR grove 5 ERROR indigo 9 INFO grove 97
INFO grove 28 INFO grove 97
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000317
qwen/qwen3.7-plus
awkweave-0000318
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
cobalt 13 paused cobalt 16 ready ember 34 pending grove 13 pending grove 113 paused ember 21 pending harbor 108 active delta 5 closed indigo 50 paused cobalt 999 active
ember 34 pending grove 13 pending grove 113 paused ember 21 pending harbor 108 active delta 5 closed indigo 50 paused
birch 95 pending grove 57 paused amber 92 failed amber 46 active birch 50 pending harbor 76 paused cobalt 999 active
birch 95 pending grove 57 paused amber 92 failed amber 46 active birch 50 pending harbor 76 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000318-p1
Display all lines that do not contain the exact string cobalt.
$0 !~ /cobalt/
cobalt 13 paused cobalt 16 ready ember 34 pending grove 13 pending grove 113 paused ember 21 pending harbor 108 active delta 5 closed indigo 50 paused cobalt 999 active
ember 34 pending grove 13 pending grove 113 paused ember 21 pending harbor 108 active delta 5 closed indigo 50 paused
birch 95 pending grove 57 paused amber 92 failed amber 46 active birch 50 pending harbor 76 paused cobalt 999 active
birch 95 pending grove 57 paused amber 92 failed amber 46 active birch 50 pending harbor 76 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000318
qwen/qwen3.7-plus
awkweave-0000319
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
farah harbor 104 lina fable 118 bruno grove 114 hana ember 73 farah indigo 72 jules juniper 41
hana ember 73 farah indigo 72 jules juniper 41
eli birch 65 farah ember 13 bruno cobalt 118 bruno amber 85 gus grove 11 gus indigo 109 farah juniper 93 bruno ember 62 bruno ember 20 farah amber 86
bruno amber 85 gus grove 11 gus indigo 109 farah juniper 93
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000319-p1
Output lines 4 to 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
farah harbor 104 lina fable 118 bruno grove 114 hana ember 73 farah indigo 72 jules juniper 41
hana ember 73 farah indigo 72 jules juniper 41
eli birch 65 farah ember 13 bruno cobalt 118 bruno amber 85 gus grove 11 gus indigo 109 farah juniper 93 bruno ember 62 bruno ember 20 farah amber 86
bruno amber 85 gus grove 11 gus indigo 109 farah juniper 93
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000319
qwen/qwen3.7-plus
awkweave-0000320
Output only the first 2 records.
NR <= 2
alice 83 delta eli 19 indigo lina 24 indigo gus 116 fable alice 8 harbor kim 6 cobalt eli 98 fable
alice 83 delta eli 19 indigo
kim 20 ember farah 120 amber lina 64 grove jules 45 birch gus 76 harbor eli 19 fable
kim 20 ember farah 120 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000320-p1
Show only the initial 2 records.
NR <= 2
alice 83 delta eli 19 indigo lina 24 indigo gus 116 fable alice 8 harbor kim 6 cobalt eli 98 fable
alice 83 delta eli 19 indigo
kim 20 ember farah 120 amber lina 64 grove jules 45 birch gus 76 harbor eli 19 fable
kim 20 ember farah 120 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000320
qwen/qwen3.7-plus
awkweave-0000321
Skip the first line and print every remaining line unchanged.
NR > 1
eli 112 delta gus 57 delta kim 78 birch chen 4 birch chen 80 amber lina 75 fable hana 104 harbor
gus 57 delta kim 78 birch chen 4 birch chen 80 amber lina 75 fable hana 104 harbor
lina 20 harbor gus 67 juniper bruno 49 indigo lina 115 delta ivan 2 grove ivan 24 juniper hana 78 amber kim 25 juniper eli 102 harbor
gus 67 juniper bruno 49 indigo lina 115 delta ivan 2 grove ivan 24 juniper hana 78 amber kim 25 juniper eli 102 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000321-p1
Omit the first line and output the rest of the lines as they are.
NR > 1
eli 112 delta gus 57 delta kim 78 birch chen 4 birch chen 80 amber lina 75 fable hana 104 harbor
gus 57 delta kim 78 birch chen 4 birch chen 80 amber lina 75 fable hana 104 harbor
lina 20 harbor gus 67 juniper bruno 49 indigo lina 115 delta ivan 2 grove ivan 24 juniper hana 78 amber kim 25 juniper eli 102 harbor
gus 67 juniper bruno 49 indigo lina 115 delta ivan 2 grove ivan 24 juniper hana 78 amber kim 25 juniper eli 102 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000321
qwen/qwen3.7-plus
awkweave-0000322
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
eli active 13 jules closed 104 hana ready 63 chen closed 7 dina paused 77 kim pending 46
1
bruno active 55 hana paused 80 jules paused 59 farah active 36 dina ready 55 chen ready 12
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000322-p1
Count the number of records where column 2 is ready. Output 0 if no such records exist.
$2 == "ready"{n++}END{print n+0}
eli active 13 jules closed 104 hana ready 63 chen closed 7 dina paused 77 kim pending 46
1
bruno active 55 hana paused 80 jules paused 59 farah active 36 dina ready 55 chen ready 12
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000322
qwen/qwen3.7-plus
awkweave-0000323
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
5 delta dina 3 amber jules 6 grove lina 22 amber eli 25 birch eli 19 ember kim 5 grove gus 27 indigo eli 16 ember bruno 27 juniper gus
155
14 birch farah 28 fable farah 3 indigo farah 16 amber chen 25 fable farah 16 amber jules 17 birch alice 16 harbor farah 15 fable chen 6 grove kim
156
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000323-p1
Compute and display the total sum of integer values in column 1.
{s+=$1}END{print s+0}
5 delta dina 3 amber jules 6 grove lina 22 amber eli 25 birch eli 19 ember kim 5 grove gus 27 indigo eli 16 ember bruno 27 juniper gus
155
14 birch farah 28 fable farah 3 indigo farah 16 amber chen 25 fable farah 16 amber jules 17 birch alice 16 harbor farah 15 fable chen 6 grove kim
156
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000323
qwen/qwen3.7-plus
awkweave-0000324
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 19 kim cobalt 27 ivan ember 12 chen ember 20 bruno ember 16 kim harbor 24 lina indigo 27 alice ember 10 bruno indigo 13 kim grove 21 lina
18.90
cobalt 22 gus birch 23 chen amber 29 hana fable 24 ivan indigo 18 jules ember 20 eli indigo 15 lina
21.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000324-p1
Print the average of column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 19 kim cobalt 27 ivan ember 12 chen ember 20 bruno ember 16 kim harbor 24 lina indigo 27 alice ember 10 bruno indigo 13 kim grove 21 lina
18.90
cobalt 22 gus birch 23 chen amber 29 hana fable 24 ivan indigo 18 jules ember 20 eli indigo 15 lina
21.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000324
qwen/qwen3.7-plus
awkweave-0000325
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
indigo kim 15 fable bruno 7 grove alice 15 indigo chen 27 grove ivan 19 harbor kim 21 ember alice 12 harbor eli 2
2
amber lina 9 ember gus 20 indigo alice 20 amber ivan 28 amber eli 19 grove gus 20 delta gus 11 indigo jules 7 birch ivan 12 fable alice 19
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000325-p1
Identify and output the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
indigo kim 15 fable bruno 7 grove alice 15 indigo chen 27 grove ivan 19 harbor kim 21 ember alice 12 harbor eli 2
2
amber lina 9 ember gus 20 indigo alice 20 amber ivan 28 amber eli 19 grove gus 20 delta gus 11 indigo jules 7 birch ivan 12 fable alice 19
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000325
qwen/qwen3.7-plus
awkweave-0000326
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
17 bruno indigo 22 dina juniper 8 jules indigo 18 lina harbor 1 eli juniper 6 alice ember 27 hana fable 23 kim grove 18 eli harbor 21 lina juniper
27
4 hana cobalt 28 ivan ember 11 farah amber 9 hana grove 11 gus cobalt 9 gus delta 2 alice indigo 10 ivan birch 22 hana indigo 19 jules fable
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000326-p1
Identify and output the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
17 bruno indigo 22 dina juniper 8 jules indigo 18 lina harbor 1 eli juniper 6 alice ember 27 hana fable 23 kim grove 18 eli harbor 21 lina juniper
27
4 hana cobalt 28 ivan ember 11 farah amber 9 hana grove 11 gus cobalt 9 gus delta 2 alice indigo 10 ivan birch 22 hana indigo 19 jules fable
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000326
qwen/qwen3.7-plus
awkweave-0000327
Count all input records and print the total.
END{print NR}
eli 112 kim 112 alice 10 hana 4 dina 50 bruno 63 hana 73 hana 35
8
eli 25 jules 78 chen 31 dina 53 ivan 117 gus 51 gus 54 kim 30 chen 28 farah 104
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000327-p1
Count the total number of input records and print the result.
END{print NR}
eli 112 kim 112 alice 10 hana 4 dina 50 bruno 63 hana 73 hana 35
8
eli 25 jules 78 chen 31 dina 53 ivan 117 gus 51 gus 54 kim 30 chen 28 farah 104
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000327
qwen/qwen3.7-plus
awkweave-0000328
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina amber 25 eli delta 9 lina amber 48 lina amber 25 eli juniper 42 bruno indigo 62 bruno grove 30 bruno ember 5
lina amber 25 eli delta 9 lina amber 48 eli juniper 42 bruno indigo 62 bruno grove 30 bruno ember 5
eli ember 58 chen ember 18 eli ember 58 kim delta 109 kim ember 91 farah grove 12 dina harbor 22 lina juniper 30 ivan cobalt 55
eli ember 58 chen ember 18 kim delta 109 kim ember 91 farah grove 12 dina harbor 22 lina juniper 30 ivan cobalt 55
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000328-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
lina amber 25 eli delta 9 lina amber 48 lina amber 25 eli juniper 42 bruno indigo 62 bruno grove 30 bruno ember 5
lina amber 25 eli delta 9 lina amber 48 eli juniper 42 bruno indigo 62 bruno grove 30 bruno ember 5
eli ember 58 chen ember 18 eli ember 58 kim delta 109 kim ember 91 farah grove 12 dina harbor 22 lina juniper 30 ivan cobalt 55
eli ember 58 chen ember 18 kim delta 109 kim ember 91 farah grove 12 dina harbor 22 lina juniper 30 ivan cobalt 55
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000328
qwen/qwen3.7-plus
awkweave-0000329
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
chen grove 9 kim fable 101 alice cobalt 3 kim fable 102 ivan juniper 37 hana harbor 1 eli birch 32 ivan ember 29 ivan juniper 59
chen grove 9 kim fable 101 alice cobalt 3 ivan juniper 37 hana harbor 1 eli birch 32
farah fable 92 dina harbor 47 eli amber 9 hana indigo 107 jules cobalt 14 alice indigo 42 hana juniper 11 chen ember 78 alice delta 33
farah fable 92 dina harbor 47 eli amber 9 hana indigo 107 jules cobalt 14 alice indigo 42 chen ember 78
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000329-p1
Retain only the first occurrence for each unique value in column 1, keeping the original input order.
!seen[$1]++
chen grove 9 kim fable 101 alice cobalt 3 kim fable 102 ivan juniper 37 hana harbor 1 eli birch 32 ivan ember 29 ivan juniper 59
chen grove 9 kim fable 101 alice cobalt 3 ivan juniper 37 hana harbor 1 eli birch 32
farah fable 92 dina harbor 47 eli amber 9 hana indigo 107 jules cobalt 14 alice indigo 42 hana juniper 11 chen ember 78 alice delta 33
farah fable 92 dina harbor 47 eli amber 9 hana indigo 107 jules cobalt 14 alice indigo 42 chen ember 78
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000329
qwen/qwen3.7-plus