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-0009160-p1
Output the longest line from the input; if multiple lines share the maximum length, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
eli delta 54 failed farah cobalt 62 paused eli juniper 40 active dina ember 87 active dina cobalt 71 closed eli cobalt 119 paused hana cobalt 11 closed
farah cobalt 62 paused
gus cobalt 100 failed lina birch 49 closed jules grove 109 ready jules juniper 16 ready alice cobalt 76 paused ivan birch 37 failed
jules juniper 16 ready
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009160
qwen/qwen3.7-plus
awkweave-0009161
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
farah 78 farah 89 eli 58 alice 105 lina 48 gus 1
farah 89 alice 105 gus 1
jules 118 farah 63 chen 12 ivan 105 alice 11 eli 41
farah 63 ivan 105 eli 41
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009161-p1
Print every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
farah 78 farah 89 eli 58 alice 105 lina 48 gus 1
farah 89 alice 105 gus 1
jules 118 farah 63 chen 12 ivan 105 alice 11 eli 41
farah 63 ivan 105 eli 41
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009161
qwen/qwen3.7-plus
awkweave-0009162
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma indigo 81 alpha indigo 109 gamma fable 73 alpha juniper 73 gamma juniper 120 alpha cobalt 46 beta cobalt 36 alpha birch 95 beta indigo 45 delta grove 49
4
delta grove 58 delta fable 102 delta ember 87 alpha juniper 58 gamma harbor 107 gamma ember 108
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009162-p1
Calculate the number of unique entries in the first column and output just that total.
{if(!seen[$1]++)n++}END{print n+0}
gamma indigo 81 alpha indigo 109 gamma fable 73 alpha juniper 73 gamma juniper 120 alpha cobalt 46 beta cobalt 36 alpha birch 95 beta indigo 45 delta grove 49
4
delta grove 58 delta fable 102 delta ember 87 alpha juniper 58 gamma harbor 107 gamma ember 108
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009162
qwen/qwen3.7-plus
awkweave-0009163
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 20 0 kim 8 24 dina 22 29 lina 17 23 alice 7 11 kim 12 6 hana 21 17 eli 25 19 kim 13 28 eli 22 6
kim 0.33 dina 0.76 lina 0.74 alice 0.64 kim 2.00 hana 1.24 eli 1.32 kim 0.46 eli 3.67
jules 1 0 bruno 29 5 jules 5 5 alice 26 9 ivan 14 19 lina 7 9
bruno 5.80 jules 1.00 alice 2.89 ivan 0.74 lina 0.78
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009163-p1
For each row, output the first column and the result of dividing the second column by the third (formatted to two decimal places), ignoring rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 20 0 kim 8 24 dina 22 29 lina 17 23 alice 7 11 kim 12 6 hana 21 17 eli 25 19 kim 13 28 eli 22 6
kim 0.33 dina 0.76 lina 0.74 alice 0.64 kim 2.00 hana 1.24 eli 1.32 kim 0.46 eli 3.67
jules 1 0 bruno 29 5 jules 5 5 alice 26 9 ivan 14 19 lina 7 9
bruno 5.80 jules 1.00 alice 2.89 ivan 0.74 lina 0.78
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009163
qwen/qwen3.7-plus
awkweave-0009164
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 fable 12 lina fable 28 jules cobalt 7 lina grove 3 alice ember 18 hana birch 8 kim ember 3 eli delta 15
lina fable 28 alice ember 18 eli delta 15
lina ember 2 hana fable 16 eli fable 9 jules juniper 13 bruno birch 24 dina amber 7 hana ember 3
bruno birch 24 hana fable 16 jules juniper 13
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009164-p1
Display the top three records based on the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus fable 12 lina fable 28 jules cobalt 7 lina grove 3 alice ember 18 hana birch 8 kim ember 3 eli delta 15
lina fable 28 alice ember 18 eli delta 15
lina ember 2 hana fable 16 eli fable 9 jules juniper 13 bruno birch 24 dina amber 7 hana ember 3
bruno birch 24 hana fable 16 jules juniper 13
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009164
qwen/qwen3.7-plus
awkweave-0009165
For each line, output fields 4 and 1, in that order.
{print $4, $1}
failed ember 29 ivan pending pending amber 76 ivan ready pending indigo 27 bruno ready closed amber 25 hana failed pending harbor 72 alice ready pending juniper 16 lina pending
ivan failed ivan pending bruno pending hana closed alice pending lina pending
closed ember 6 chen closed closed birch 47 dina pending active birch 108 lina failed failed birch 31 jules failed ready delta 8 chen ready ready fable 64 dina failed
chen closed dina closed lina active jules failed chen ready dina ready
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009165-p1
For every line, print the fourth field followed by the first field.
{print $4, $1}
failed ember 29 ivan pending pending amber 76 ivan ready pending indigo 27 bruno ready closed amber 25 hana failed pending harbor 72 alice ready pending juniper 16 lina pending
ivan failed ivan pending bruno pending hana closed alice pending lina pending
closed ember 6 chen closed closed birch 47 dina pending active birch 108 lina failed failed birch 31 jules failed ready delta 8 chen ready ready fable 64 dina failed
chen closed dina closed lina active jules failed chen ready dina ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009165
qwen/qwen3.7-plus
awkweave-0009166
Print the last field of every input line.
{print $NF}
fable kim 102 grove eli failed 86 indigo eli 66 harbor farah ready 67 cobalt farah 19 harbor jules active 53 juniper eli 77 amber alice ready 109 harbor gus 57 juniper eli failed 28 cobalt kim 114 delta ivan active 113 grove jules 40 birch lina failed 19 birch eli 105 cobalt lina paused 102 birch chen 19 delta hana pau...
86 67 53 109 28 113 19 102 79
grove lina 113 harbor lina ready 105 juniper gus 45 harbor kim pending 34 indigo hana 82 fable alice paused 42 juniper gus 36 juniper bruno failed 12 indigo eli 110 indigo kim pending 106 cobalt farah 43 cobalt eli closed 27 grove gus 72 juniper kim pending 120
105 34 42 12 106 27 120
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009166-p1
Output the final field from each line of input.
{print $NF}
fable kim 102 grove eli failed 86 indigo eli 66 harbor farah ready 67 cobalt farah 19 harbor jules active 53 juniper eli 77 amber alice ready 109 harbor gus 57 juniper eli failed 28 cobalt kim 114 delta ivan active 113 grove jules 40 birch lina failed 19 birch eli 105 cobalt lina paused 102 birch chen 19 delta hana pau...
86 67 53 109 28 113 19 102 79
grove lina 113 harbor lina ready 105 juniper gus 45 harbor kim pending 34 indigo hana 82 fable alice paused 42 juniper gus 36 juniper bruno failed 12 indigo eli 110 indigo kim pending 106 cobalt farah 43 cobalt eli closed 27 grove gus 72 juniper kim pending 120
105 34 42 12 106 27 120
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009166
qwen/qwen3.7-plus
awkweave-0009167
Print the complete records where column 2 is at most 40.
$2 <= 40
juniper 50 delta cobalt juniper 22 cobalt amber fable 1 indigo ember amber 108 ember juniper ember 23 birch birch amber 51 cobalt harbor juniper 100 fable harbor birch 31 ember delta ember 53 amber cobalt amber 35 fable ember
juniper 22 cobalt amber fable 1 indigo ember ember 23 birch birch birch 31 ember delta amber 35 fable ember
ember 84 ember harbor amber 96 ember cobalt ember 99 delta harbor ember 120 ember delta birch 35 harbor birch harbor 65 grove birch birch 87 juniper fable ember 35 delta grove
birch 35 harbor birch ember 35 delta grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009167-p1
Display full records where the second column is less than or equal to 40.
$2 <= 40
juniper 50 delta cobalt juniper 22 cobalt amber fable 1 indigo ember amber 108 ember juniper ember 23 birch birch amber 51 cobalt harbor juniper 100 fable harbor birch 31 ember delta ember 53 amber cobalt amber 35 fable ember
juniper 22 cobalt amber fable 1 indigo ember ember 23 birch birch birch 31 ember delta amber 35 fable ember
ember 84 ember harbor amber 96 ember cobalt ember 99 delta harbor ember 120 ember delta birch 35 harbor birch harbor 65 grove birch birch 87 juniper fable ember 35 delta grove
birch 35 harbor birch ember 35 delta grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009167
qwen/qwen3.7-plus
awkweave-0009168
Show whole lines whose 2nd field is between 11 and 27, inclusive.
$2 >= 11 && $2 <= 27
closed 18 ready juniper pending 5 active ember failed 17 closed delta paused 3 pending cobalt failed 18 failed grove pending 5 active delta ready 3 pending delta ready 24 pending amber pending 27 ready harbor
closed 18 ready juniper failed 17 closed delta failed 18 failed grove ready 24 pending amber pending 27 ready harbor
pending 13 failed fable closed 19 failed cobalt active 15 paused ember failed 30 active amber ready 7 ready indigo closed 13 paused harbor pending 24 ready fable failed 7 active juniper
pending 13 failed fable closed 19 failed cobalt active 15 paused ember closed 13 paused harbor pending 24 ready fable
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009168-p1
Show entire lines where the second field falls within the inclusive range of 11 to 27.
$2 >= 11 && $2 <= 27
closed 18 ready juniper pending 5 active ember failed 17 closed delta paused 3 pending cobalt failed 18 failed grove pending 5 active delta ready 3 pending delta ready 24 pending amber pending 27 ready harbor
closed 18 ready juniper failed 17 closed delta failed 18 failed grove ready 24 pending amber pending 27 ready harbor
pending 13 failed fable closed 19 failed cobalt active 15 paused ember failed 30 active amber ready 7 ready indigo closed 13 paused harbor pending 24 ready fable failed 7 active juniper
pending 13 failed fable closed 19 failed cobalt active 15 paused ember closed 13 paused harbor pending 24 ready fable
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009168
qwen/qwen3.7-plus
awkweave-0009169
Print column 1 only for rows where column 4 is exactly pending.
$4 == "pending"{print $1}
farah harbor 32 closed lina amber 58 paused farah birch 53 ready lina amber 72 closed lina grove 89 pending lina harbor 29 closed ivan indigo 83 paused lina delta 12 active kim delta 25 paused
lina
gus juniper 83 ready bruno amber 19 closed ivan ember 114 paused bruno birch 60 pending jules delta 76 active chen delta 11 pending alice cobalt 21 closed
bruno chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009169-p1
Print only the first column for rows where the fourth column is exactly 'pending'.
$4 == "pending"{print $1}
farah harbor 32 closed lina amber 58 paused farah birch 53 ready lina amber 72 closed lina grove 89 pending lina harbor 29 closed ivan indigo 83 paused lina delta 12 active kim delta 25 paused
lina
gus juniper 83 ready bruno amber 19 closed ivan ember 114 paused bruno birch 60 pending jules delta 76 active chen delta 11 pending alice cobalt 21 closed
bruno chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009169
qwen/qwen3.7-plus
awkweave-0009170
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
harbor ERROR 28 grove DEBUG 31 grove ERROR 2 grove ERROR 58 harbor ERROR 42 grove WARN 46
harbor ERROR 28 grove ERROR 2 grove ERROR 58 harbor ERROR 42
delta WARN 65 delta ERROR 81 delta WARN 88 fable ERROR 63 harbor ERROR 39 fable INFO 52
delta ERROR 81 fable ERROR 63 harbor ERROR 39
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009170-p1
Output all fields from lines where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
harbor ERROR 28 grove DEBUG 31 grove ERROR 2 grove ERROR 58 harbor ERROR 42 grove WARN 46
harbor ERROR 28 grove ERROR 2 grove ERROR 58 harbor ERROR 42
delta WARN 65 delta ERROR 81 delta WARN 88 fable ERROR 63 harbor ERROR 39 fable INFO 52
delta ERROR 81 fable ERROR 63 harbor ERROR 39
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009170
qwen/qwen3.7-plus
awkweave-0009171
Print every line except those containing the exact text ember.
$0 !~ /ember/
amber 64 pending amber 56 closed delta 0 active cobalt 57 active fable 27 closed harbor 37 paused cobalt 0 ready amber 120 paused ember 999 active
amber 64 pending amber 56 closed delta 0 active cobalt 57 active fable 27 closed harbor 37 paused cobalt 0 ready amber 120 paused
cobalt 45 active delta 84 failed ember 51 pending delta 114 pending birch 47 failed amber 65 closed ember 64 paused amber 3 pending fable 64 paused birch 11 ready ember 999 active
cobalt 45 active delta 84 failed delta 114 pending birch 47 failed amber 65 closed amber 3 pending fable 64 paused birch 11 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009171-p1
Print every line that does not contain the exact string 'ember'.
$0 !~ /ember/
amber 64 pending amber 56 closed delta 0 active cobalt 57 active fable 27 closed harbor 37 paused cobalt 0 ready amber 120 paused ember 999 active
amber 64 pending amber 56 closed delta 0 active cobalt 57 active fable 27 closed harbor 37 paused cobalt 0 ready amber 120 paused
cobalt 45 active delta 84 failed ember 51 pending delta 114 pending birch 47 failed amber 65 closed ember 64 paused amber 3 pending fable 64 paused birch 11 ready ember 999 active
cobalt 45 active delta 84 failed delta 114 pending birch 47 failed amber 65 closed amber 3 pending fable 64 paused birch 11 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009171
qwen/qwen3.7-plus
awkweave-0009172
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
jules birch 22 gus ember 50 farah juniper 28 jules birch 56 gus harbor 78 hana harbor 40 eli indigo 72 chen indigo 110
farah juniper 28 jules birch 56
bruno juniper 101 lina juniper 82 gus ember 78 hana cobalt 70 hana delta 8 ivan juniper 11 dina fable 13 hana cobalt 76 chen juniper 71 kim fable 48
gus ember 78 hana cobalt 70
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009172-p1
Output lines 3 through 4, inclusive.
NR >= 3 && NR <= 4
jules birch 22 gus ember 50 farah juniper 28 jules birch 56 gus harbor 78 hana harbor 40 eli indigo 72 chen indigo 110
farah juniper 28 jules birch 56
bruno juniper 101 lina juniper 82 gus ember 78 hana cobalt 70 hana delta 8 ivan juniper 11 dina fable 13 hana cobalt 76 chen juniper 71 kim fable 48
gus ember 78 hana cobalt 70
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009172
qwen/qwen3.7-plus
awkweave-0009173
Output only the first 3 records.
NR <= 3
farah 11 amber gus 34 amber gus 76 delta ivan 44 ember dina 36 harbor jules 3 fable
farah 11 amber gus 34 amber gus 76 delta
dina 87 birch ivan 88 cobalt hana 17 ember jules 116 indigo hana 45 harbor eli 73 grove chen 118 fable farah 76 birch kim 94 harbor bruno 36 indigo
dina 87 birch ivan 88 cobalt hana 17 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009173-p1
Display only the first 3 records.
NR <= 3
farah 11 amber gus 34 amber gus 76 delta ivan 44 ember dina 36 harbor jules 3 fable
farah 11 amber gus 34 amber gus 76 delta
dina 87 birch ivan 88 cobalt hana 17 ember jules 116 indigo hana 45 harbor eli 73 grove chen 118 fable farah 76 birch kim 94 harbor bruno 36 indigo
dina 87 birch ivan 88 cobalt hana 17 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009173
qwen/qwen3.7-plus
awkweave-0009174
Skip the first line and print every remaining line unchanged.
NR > 1
gus 34 fable farah 93 ember alice 71 juniper ivan 60 cobalt bruno 95 fable lina 56 grove
farah 93 ember alice 71 juniper ivan 60 cobalt bruno 95 fable lina 56 grove
chen 29 fable eli 53 ember kim 67 grove jules 108 harbor hana 0 amber dina 1 amber dina 23 fable lina 22 birch chen 61 grove alice 38 grove
eli 53 ember kim 67 grove jules 108 harbor hana 0 amber dina 1 amber dina 23 fable lina 22 birch chen 61 grove alice 38 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009174-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
gus 34 fable farah 93 ember alice 71 juniper ivan 60 cobalt bruno 95 fable lina 56 grove
farah 93 ember alice 71 juniper ivan 60 cobalt bruno 95 fable lina 56 grove
chen 29 fable eli 53 ember kim 67 grove jules 108 harbor hana 0 amber dina 1 amber dina 23 fable lina 22 birch chen 61 grove alice 38 grove
eli 53 ember kim 67 grove jules 108 harbor hana 0 amber dina 1 amber dina 23 fable lina 22 birch chen 61 grove alice 38 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009174
qwen/qwen3.7-plus
awkweave-0009175
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
jules closed 19 eli closed 114 ivan ready 94 kim active 68 bruno failed 29 dina closed 112 alice pending 104 alice active 106
1
eli failed 104 kim paused 33 jules paused 31 lina closed 18 chen active 64 lina failed 93 kim closed 100 kim closed 81 dina active 81
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009175-p1
Count the number of records with 'pending' in the second column; output 0 if none exist.
$2 == "pending"{n++}END{print n+0}
jules closed 19 eli closed 114 ivan ready 94 kim active 68 bruno failed 29 dina closed 112 alice pending 104 alice active 106
1
eli failed 104 kim paused 33 jules paused 31 lina closed 18 chen active 64 lina failed 93 kim closed 100 kim closed 81 dina active 81
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009175
qwen/qwen3.7-plus
awkweave-0009176
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
26 kim indigo 18 alice cobalt 30 kim harbor 27 chen indigo 13 lina ember 18 dina cobalt 15 ivan indigo 11 hana cobalt 23 farah indigo 16 gus indigo
197
9 alice amber 12 gus cobalt 28 jules delta 17 gus juniper 13 dina grove 1 eli fable 29 gus cobalt 28 lina grove 21 alice cobalt 8 alice juniper
166
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009176-p1
Compute and print the sum of integer values in the first column.
{s+=$1}END{print s+0}
26 kim indigo 18 alice cobalt 30 kim harbor 27 chen indigo 13 lina ember 18 dina cobalt 15 ivan indigo 11 hana cobalt 23 farah indigo 16 gus indigo
197
9 alice amber 12 gus cobalt 28 jules delta 17 gus juniper 13 dina grove 1 eli fable 29 gus cobalt 28 lina grove 21 alice cobalt 8 alice juniper
166
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009176
qwen/qwen3.7-plus
awkweave-0009177
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan birch 24 chen harbor 19 gus delta 23 jules indigo 6 bruno cobalt 3 jules amber 29 kim ember 10 farah grove 14 ivan fable 22
16.67
chen indigo 12 alice grove 24 alice juniper 14 jules juniper 15 farah cobalt 12 bruno ember 17 chen harbor 14 hana harbor 29
17.12
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009177-p1
Print the average of the third column, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan birch 24 chen harbor 19 gus delta 23 jules indigo 6 bruno cobalt 3 jules amber 29 kim ember 10 farah grove 14 ivan fable 22
16.67
chen indigo 12 alice grove 24 alice juniper 14 jules juniper 15 farah cobalt 12 bruno ember 17 chen harbor 14 hana harbor 29
17.12
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009177
qwen/qwen3.7-plus
awkweave-0009178
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 eli ember 14 chen harbor 28 lina cobalt 3 dina grove 11 ivan cobalt 8 gus harbor 22 bruno grove 26 lina cobalt
3
1 ivan juniper 23 kim birch 16 eli delta 23 ivan indigo 28 lina amber 7 jules grove
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009178-p1
Identify and output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 eli ember 14 chen harbor 28 lina cobalt 3 dina grove 11 ivan cobalt 8 gus harbor 22 bruno grove 26 lina cobalt
3
1 ivan juniper 23 kim birch 16 eli delta 23 ivan indigo 28 lina amber 7 jules grove
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009178
qwen/qwen3.7-plus
awkweave-0009179
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
fable ivan 6 birch ivan 11 amber bruno 12 harbor dina 9 indigo ivan 7 amber eli 29
29
amber gus 13 ember dina 26 grove lina 4 fable lina 6 delta lina 4 indigo jules 13 cobalt hana 22 indigo bruno 7 harbor jules 19 harbor chen 6
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009179-p1
Locate and display the maximum numeric value within the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
fable ivan 6 birch ivan 11 amber bruno 12 harbor dina 9 indigo ivan 7 amber eli 29
29
amber gus 13 ember dina 26 grove lina 4 fable lina 6 delta lina 4 indigo jules 13 cobalt hana 22 indigo bruno 7 harbor jules 19 harbor chen 6
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009179
qwen/qwen3.7-plus
awkweave-0009180
Count all input records and print the total.
END{print NR}
ivan 20 gus 34 eli 55 eli 1 hana 1 hana 113 kim 27
7
hana 61 eli 32 ivan 112 eli 108 kim 19 kim 110
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009180-p1
Calculate the total number of input records and print the count.
END{print NR}
ivan 20 gus 34 eli 55 eli 1 hana 1 hana 113 kim 27
7
hana 61 eli 32 ivan 112 eli 108 kim 19 kim 110
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009180
qwen/qwen3.7-plus
awkweave-0009181
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina harbor 36 hana fable 112 alice indigo 84 kim amber 100 chen birch 110 kim indigo 13 hana fable 112 eli grove 116
lina harbor 36 hana fable 112 alice indigo 84 kim amber 100 chen birch 110 kim indigo 13 eli grove 116
ivan amber 69 gus indigo 12 farah fable 71 eli fable 80 hana fable 91 dina harbor 32 ivan amber 69 farah birch 107
ivan amber 69 gus indigo 12 farah fable 71 eli fable 80 hana fable 91 dina harbor 32 farah birch 107
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009181-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
lina harbor 36 hana fable 112 alice indigo 84 kim amber 100 chen birch 110 kim indigo 13 hana fable 112 eli grove 116
lina harbor 36 hana fable 112 alice indigo 84 kim amber 100 chen birch 110 kim indigo 13 eli grove 116
ivan amber 69 gus indigo 12 farah fable 71 eli fable 80 hana fable 91 dina harbor 32 ivan amber 69 farah birch 107
ivan amber 69 gus indigo 12 farah fable 71 eli fable 80 hana fable 91 dina harbor 32 farah birch 107
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009181
qwen/qwen3.7-plus
awkweave-0009182
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
bruno indigo 39 chen birch 109 gus juniper 95 ivan delta 102 dina delta 109 lina amber 49 jules fable 109 kim birch 98
bruno indigo 39 chen birch 109 gus juniper 95 ivan delta 102 lina amber 49 kim birch 98
alice indigo 57 farah harbor 87 kim indigo 106 gus ember 33 hana harbor 58 dina harbor 27 kim fable 37 jules fable 20
alice indigo 57 farah harbor 87 kim indigo 106 gus ember 33 hana harbor 58 dina harbor 27 kim fable 37 jules fable 20
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009182-p1
Retain only the initial line for every unique value in column 3, ensuring the original order is preserved.
!seen[$3]++
bruno indigo 39 chen birch 109 gus juniper 95 ivan delta 102 dina delta 109 lina amber 49 jules fable 109 kim birch 98
bruno indigo 39 chen birch 109 gus juniper 95 ivan delta 102 lina amber 49 kim birch 98
alice indigo 57 farah harbor 87 kim indigo 106 gus ember 33 hana harbor 58 dina harbor 27 kim fable 37 jules fable 20
alice indigo 57 farah harbor 87 kim indigo 106 gus ember 33 hana harbor 58 dina harbor 27 kim fable 37 jules fable 20
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009182
qwen/qwen3.7-plus
awkweave-0009183
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 13 ember alice 22 ember dina 9 grove jules 6 fable chen 24 birch lina 11 amber chen 28 delta farah 27 amber kim 8 delta alice 7 fable
kim 13 alice 35 dina 44 jules 50 chen 74 lina 85 chen 113 farah 140 kim 148 alice 155
kim 3 delta dina 8 birch farah 18 birch alice 10 juniper chen 13 amber eli 28 fable alice 22 birch jules 19 cobalt dina 10 cobalt alice 2 fable
kim 3 dina 11 farah 29 alice 39 chen 52 eli 80 alice 102 jules 121 dina 131 alice 133
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009183-p1
Output column 1 alongside the cumulative sum of column 2 for each record, using a space as the delimiter.
{s+=$2;print $1,s}
kim 13 ember alice 22 ember dina 9 grove jules 6 fable chen 24 birch lina 11 amber chen 28 delta farah 27 amber kim 8 delta alice 7 fable
kim 13 alice 35 dina 44 jules 50 chen 74 lina 85 chen 113 farah 140 kim 148 alice 155
kim 3 delta dina 8 birch farah 18 birch alice 10 juniper chen 13 amber eli 28 fable alice 22 birch jules 19 cobalt dina 10 cobalt alice 2 fable
kim 3 dina 11 farah 29 alice 39 chen 52 eli 80 alice 102 jules 121 dina 131 alice 133
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009183
qwen/qwen3.7-plus
awkweave-0009184
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 26 17 delta alice 4 28 grove kim 16 4 indigo gus 26 19 harbor jules 27 8 grove hana 17 21 cobalt chen 24 26 fable
hana 43 alice 32 kim 20 gus 45 jules 35 hana 38 chen 50
farah 5 23 delta eli 23 2 delta hana 18 12 juniper dina 25 20 juniper ivan 10 16 ember jules 17 7 harbor gus 8 5 delta ivan 8 2 birch
farah 28 eli 25 hana 30 dina 45 ivan 26 jules 24 gus 13 ivan 10
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009184-p1
For each row, display field 1 followed by the combined total of fields 2 and 3.
{print $1,$2+$3}
hana 26 17 delta alice 4 28 grove kim 16 4 indigo gus 26 19 harbor jules 27 8 grove hana 17 21 cobalt chen 24 26 fable
hana 43 alice 32 kim 20 gus 45 jules 35 hana 38 chen 50
farah 5 23 delta eli 23 2 delta hana 18 12 juniper dina 25 20 juniper ivan 10 16 ember jules 17 7 harbor gus 8 5 delta ivan 8 2 birch
farah 28 eli 25 hana 30 dina 45 ivan 26 jules 24 gus 13 ivan 10
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009184
qwen/qwen3.7-plus
awkweave-0009185
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
gus 16 hana 26 farah 10 kim 24 chen 7 ivan 28 chen 16 hana 19 kim 1 ivan 25
gus fail hana fail farah fail kim fail chen fail ivan pass chen fail hana fail kim fail ivan fail
hana 5 kim 2 hana 6 gus 22 eli 26 eli 23 kim 5
hana fail kim fail hana fail gus fail eli fail eli fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009185-p1
Output column 1 with 'pass' if column 2 is 27 or greater, otherwise output 'fail'.
{print $1,($2>=27?"pass":"fail")}
gus 16 hana 26 farah 10 kim 24 chen 7 ivan 28 chen 16 hana 19 kim 1 ivan 25
gus fail hana fail farah fail kim fail chen fail ivan pass chen fail hana fail kim fail ivan fail
hana 5 kim 2 hana 6 gus 22 eli 26 eli 23 kim 5
hana fail kim fail hana fail gus fail eli fail eli fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009185
qwen/qwen3.7-plus
awkweave-0009186
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
lina birch 52 bruno grove 113 farah harbor 87 farah grove 112 dina grove 12 farah cobalt 102 eli indigo 5 jules harbor 1
BIRCH GROVE HARBOR GROVE GROVE COBALT INDIGO HARBOR
chen ember 2 ivan delta 51 farah cobalt 97 farah fable 114 kim cobalt 32 ivan fable 117 bruno delta 13 eli amber 104
EMBER DELTA COBALT FABLE COBALT FABLE DELTA AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009186-p1
Transform column 2 to uppercase letters and print solely that column.
{print toupper($2)}
lina birch 52 bruno grove 113 farah harbor 87 farah grove 112 dina grove 12 farah cobalt 102 eli indigo 5 jules harbor 1
BIRCH GROVE HARBOR GROVE GROVE COBALT INDIGO HARBOR
chen ember 2 ivan delta 51 farah cobalt 97 farah fable 114 kim cobalt 32 ivan fable 117 bruno delta 13 eli amber 104
EMBER DELTA COBALT FABLE COBALT FABLE DELTA AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009186
qwen/qwen3.7-plus
awkweave-0009187
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
ember 47 harbor 65 juniper 118 harbor 100 indigo 82 ember 100
embe harb juni harb indi embe
delta 32 ember 115 amber 84 delta 90 fable 113 harbor 90 delta 78 indigo 114
delt embe ambe delt fabl harb delt indi
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009187-p1
Extract and print the first 4 characters from column 1, starting at position 1.
{print substr($1,1,4)}
ember 47 harbor 65 juniper 118 harbor 100 indigo 82 ember 100
embe harb juni harb indi embe
delta 32 ember 115 amber 84 delta 90 fable 113 harbor 90 delta 78 indigo 114
delt embe ambe delt fabl harb delt indi
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009187
qwen/qwen3.7-plus
awkweave-0009188
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_grove 87 harbor_fable 28 grove_delta 33 indigo_indigo 105 delta_cobalt 65 fable_indigo 34 birch_delta 1 harbor_cobalt 106
indigo grove harbor fable grove delta indigo indigo delta cobalt fable indigo birch delta harbor cobalt
amber_juniper 32 indigo_ember 104 amber_amber 74 harbor_delta 109 indigo_delta 86 amber_indigo 54 juniper_fable 11 ember_amber 41
amber juniper indigo ember amber amber harbor delta indigo delta amber indigo juniper fable ember amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009188-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
indigo_grove 87 harbor_fable 28 grove_delta 33 indigo_indigo 105 delta_cobalt 65 fable_indigo 34 birch_delta 1 harbor_cobalt 106
indigo grove harbor fable grove delta indigo indigo delta cobalt fable indigo birch delta harbor cobalt
amber_juniper 32 indigo_ember 104 amber_amber 74 harbor_delta 109 indigo_delta 86 amber_indigo 54 juniper_fable 11 ember_amber 41
amber juniper indigo ember amber amber harbor delta indigo delta amber indigo juniper fable ember amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009188
qwen/qwen3.7-plus
awkweave-0009189
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)}
eli harbor 114 ready gus ember 109 pending dina indigo 41 paused ivan indigo 82 failed dina delta 67 active chen juniper 69 failed
ready 114 harbor eli pending 109 ember gus paused 41 indigo dina failed 82 indigo ivan active 67 delta dina failed 69 juniper chen
eli amber 29 failed ivan fable 45 ready eli indigo 87 ready dina amber 32 active gus indigo 90 closed alice delta 60 active lina harbor 116 pending chen birch 32 paused
failed 29 amber eli ready 45 fable ivan ready 87 indigo eli active 32 amber dina closed 90 indigo gus active 60 delta alice pending 116 harbor lina paused 32 birch chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009189-p1
Invert the sequence of fields for every line and print the complete set of fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
eli harbor 114 ready gus ember 109 pending dina indigo 41 paused ivan indigo 82 failed dina delta 67 active chen juniper 69 failed
ready 114 harbor eli pending 109 ember gus paused 41 indigo dina failed 82 indigo ivan active 67 delta dina failed 69 juniper chen
eli amber 29 failed ivan fable 45 ready eli indigo 87 ready dina amber 32 active gus indigo 90 closed alice delta 60 active lina harbor 116 pending chen birch 32 paused
failed 29 amber eli ready 45 fable ivan ready 87 indigo eli active 32 amber dina closed 90 indigo gus active 60 delta alice pending 116 harbor lina paused 32 birch chen
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009189
qwen/qwen3.7-plus
awkweave-0009200
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
alice 33 bruno 10 gus 120 ivan 11 alice 80 ivan 12 chen 98 eli 74 chen 104
alice 33 alice 80 chen 104
gus 49 jules 31 hana 77 gus 39 jules 54 dina 72 jules 32 jules 83 gus 61 kim 22
gus 49 jules 54 gus 61
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009200-p1
Output lines 1, 5, 9, and so on, selecting every 4th line starting from the first.
NR%4==1
alice 33 bruno 10 gus 120 ivan 11 alice 80 ivan 12 chen 98 eli 74 chen 104
alice 33 alice 80 chen 104
gus 49 jules 31 hana 77 gus 39 jules 54 dina 72 jules 32 jules 83 gus 61 kim 22
gus 49 jules 54 gus 61
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009200
qwen/qwen3.7-plus
awkweave-0009201
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma delta 70 beta fable 118 gamma amber 99 alpha birch 26 beta fable 41 beta ember 58 gamma ember 0 alpha ember 101 alpha ember 31
3
alpha delta 119 gamma ember 38 gamma indigo 39 beta indigo 92 beta cobalt 95 alpha amber 96 alpha harbor 72 alpha grove 50
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009201-p1
Calculate the number of unique entries in the first column and display only that total.
{if(!seen[$1]++)n++}END{print n+0}
gamma delta 70 beta fable 118 gamma amber 99 alpha birch 26 beta fable 41 beta ember 58 gamma ember 0 alpha ember 101 alpha ember 31
3
alpha delta 119 gamma ember 38 gamma indigo 39 beta indigo 92 beta cobalt 95 alpha amber 96 alpha harbor 72 alpha grove 50
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009201
qwen/qwen3.7-plus
awkweave-0009202
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}
gus 27 0 chen 26 16 kim 13 7 ivan 17 13 lina 21 6 jules 26 8 lina 9 8 gus 14 19 chen 23 18
chen 1.62 kim 1.86 ivan 1.31 lina 3.50 jules 3.25 lina 1.12 gus 0.74 chen 1.28
dina 13 0 hana 19 11 farah 24 7 ivan 5 27 lina 26 26 kim 4 27
hana 1.73 farah 3.43 ivan 0.19 lina 1.00 kim 0.15
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009202-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}
gus 27 0 chen 26 16 kim 13 7 ivan 17 13 lina 21 6 jules 26 8 lina 9 8 gus 14 19 chen 23 18
chen 1.62 kim 1.86 ivan 1.31 lina 3.50 jules 3.25 lina 1.12 gus 0.74 chen 1.28
dina 13 0 hana 19 11 farah 24 7 ivan 5 27 lina 26 26 kim 4 27
hana 1.73 farah 3.43 ivan 0.19 lina 1.00 kim 0.15
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009202
qwen/qwen3.7-plus
awkweave-0009203
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 indigo 24 lina harbor 27 lina fable 23 bruno grove 12 hana delta 18 jules harbor 20 jules fable 29 kim fable 24 farah juniper 20
jules fable 29 lina harbor 27 alice indigo 24
chen birch 1 kim delta 9 lina indigo 6 jules birch 2 jules amber 11 bruno indigo 13 hana harbor 21 farah fable 18 chen grove 19
hana harbor 21 chen grove 19 farah fable 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009203-p1
Display the top three records based on the highest numeric values in column 3, sorted in descending order, while maintaining 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]}
alice indigo 24 lina harbor 27 lina fable 23 bruno grove 12 hana delta 18 jules harbor 20 jules fable 29 kim fable 24 farah juniper 20
jules fable 29 lina harbor 27 alice indigo 24
chen birch 1 kim delta 9 lina indigo 6 jules birch 2 jules amber 11 bruno indigo 13 hana harbor 21 farah fable 18 chen grove 19
hana harbor 21 chen grove 19 farah fable 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009203
qwen/qwen3.7-plus
awkweave-0009204
Print column 5 followed by column 3 for every record.
{print $5, $3}
pending active gus kim 78 ready pending eli dina 118 failed pending alice jules 12 ready closed hana farah 15 pending active hana jules 97 pending failed chen kim 104 ready closed jules bruno 88 closed closed hana ivan 106 active failed hana dina 57
78 gus 118 eli 12 alice 15 hana 97 hana 104 chen 88 jules 106 hana 57 hana
active paused hana chen 81 paused failed bruno gus 50 paused paused kim kim 67 failed ready eli dina 78 closed paused alice chen 77 paused paused kim alice 48 closed failed lina alice 30 active ready kim kim 95 pending paused hana eli 97
81 hana 50 bruno 67 kim 78 eli 77 alice 48 kim 30 lina 95 kim 97 hana
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009204-p1
Output the fifth column followed by the third column for every record.
{print $5, $3}
pending active gus kim 78 ready pending eli dina 118 failed pending alice jules 12 ready closed hana farah 15 pending active hana jules 97 pending failed chen kim 104 ready closed jules bruno 88 closed closed hana ivan 106 active failed hana dina 57
78 gus 118 eli 12 alice 15 hana 97 hana 104 chen 88 jules 106 hana 57 hana
active paused hana chen 81 paused failed bruno gus 50 paused paused kim kim 67 failed ready eli dina 78 closed paused alice chen 77 paused paused kim alice 48 closed failed lina alice 30 active ready kim kim 95 pending paused hana eli 97
81 hana 50 bruno 67 kim 78 eli 77 alice 48 kim 30 lina 95 kim 97 hana
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009204
qwen/qwen3.7-plus
awkweave-0009205
Print the last field of every input line.
{print $NF}
closed failed pending 15 closed pending failed 88 pending active failed 40 failed pending pending 42 ready closed failed 62 closed active failed 113 closed closed active 61 failed active paused 17
15 88 40 42 62 113 61 17
ready pending pending 52 closed closed ready 45 failed ready closed 61 closed closed active 20 pending paused ready 70 pending pending active 28 closed failed ready 89
52 45 61 20 70 28 89
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009205-p1
Print the final field from each input line.
{print $NF}
closed failed pending 15 closed pending failed 88 pending active failed 40 failed pending pending 42 ready closed failed 62 closed active failed 113 closed closed active 61 failed active paused 17
15 88 40 42 62 113 61 17
ready pending pending 52 closed closed ready 45 failed ready closed 61 closed closed active 20 pending paused ready 70 pending pending active 28 closed failed ready 89
52 45 61 20 70 28 89
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009205
qwen/qwen3.7-plus
awkweave-0009206
Print the complete records where column 1 is greater than 58.
$1 > 58
48 delta cobalt 50 amber amber 61 grove harbor 102 birch harbor 113 amber amber 50 delta grove
61 grove harbor 102 birch harbor 113 amber amber
42 delta cobalt 85 harbor indigo 91 indigo birch 62 amber juniper 63 indigo cobalt 94 grove harbor 32 amber juniper 41 indigo amber 110 birch amber 44 delta fable
85 harbor indigo 91 indigo birch 62 amber juniper 63 indigo cobalt 94 grove harbor 110 birch amber
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009206-p1
Output full records where the value in the first column exceeds 58.
$1 > 58
48 delta cobalt 50 amber amber 61 grove harbor 102 birch harbor 113 amber amber 50 delta grove
61 grove harbor 102 birch harbor 113 amber amber
42 delta cobalt 85 harbor indigo 91 indigo birch 62 amber juniper 63 indigo cobalt 94 grove harbor 32 amber juniper 41 indigo amber 110 birch amber 44 delta fable
85 harbor indigo 91 indigo birch 62 amber juniper 63 indigo cobalt 94 grove harbor 110 birch amber
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009206
qwen/qwen3.7-plus
awkweave-0009207
Show whole lines whose 3rd field is between 9 and 27, inclusive.
$3 >= 9 && $3 <= 27
paused paused 26 pending closed pending 29 failed active closed 22 active paused ready 4 closed paused active 16 closed closed failed 7 ready
paused paused 26 pending active closed 22 active paused active 16 closed
closed pending 26 paused pending paused 19 paused pending ready 27 active failed failed 13 active closed paused 13 closed failed pending 14 pending active paused 30 ready active paused 9 pending
closed pending 26 paused pending paused 19 paused pending ready 27 active failed failed 13 active closed paused 13 closed failed pending 14 pending active paused 9 pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009207-p1
Display entire lines where the third field falls within the inclusive range of 9 to 27.
$3 >= 9 && $3 <= 27
paused paused 26 pending closed pending 29 failed active closed 22 active paused ready 4 closed paused active 16 closed closed failed 7 ready
paused paused 26 pending active closed 22 active paused active 16 closed
closed pending 26 paused pending paused 19 paused pending ready 27 active failed failed 13 active closed paused 13 closed failed pending 14 pending active paused 30 ready active paused 9 pending
closed pending 26 paused pending paused 19 paused pending ready 27 active failed failed 13 active closed paused 13 closed failed pending 14 pending active paused 9 pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009207
qwen/qwen3.7-plus
awkweave-0009208
Print column 1 only for rows where column 2 is exactly ready.
$2 == "ready"{print $1}
farah pending 52 juniper chen pending 25 delta kim closed 112 birch lina closed 50 grove dina ready 9 cobalt ivan closed 26 harbor kim paused 77 harbor jules failed 7 cobalt
dina
ivan closed 101 delta gus pending 65 indigo gus pending 53 juniper ivan closed 94 ember ivan active 26 cobalt farah active 52 cobalt lina ready 86 birch jules closed 68 juniper ivan pending 57 cobalt
lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009208-p1
Output only the first column for rows where the second column is exactly 'ready'.
$2 == "ready"{print $1}
farah pending 52 juniper chen pending 25 delta kim closed 112 birch lina closed 50 grove dina ready 9 cobalt ivan closed 26 harbor kim paused 77 harbor jules failed 7 cobalt
dina
ivan closed 101 delta gus pending 65 indigo gus pending 53 juniper ivan closed 94 ember ivan active 26 cobalt farah active 52 cobalt lina ready 86 birch jules closed 68 juniper ivan pending 57 cobalt
lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009208
qwen/qwen3.7-plus
awkweave-0009209
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR 58 amber DEBUG 8 juniper WARN 103 cobalt INFO 0 cobalt INFO 61 harbor ERROR 9 birch
ERROR 58 amber ERROR 9 birch
DEBUG 109 ember DEBUG 11 ember INFO 33 harbor ERROR 58 grove ERROR 68 cobalt WARN 51 harbor DEBUG 88 ember WARN 50 birch
ERROR 58 grove ERROR 68 cobalt
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009209-p1
Print all fields from lines where the first field starts with the string 'ERROR'.
$1 ~ /^ERROR/
ERROR 58 amber DEBUG 8 juniper WARN 103 cobalt INFO 0 cobalt INFO 61 harbor ERROR 9 birch
ERROR 58 amber ERROR 9 birch
DEBUG 109 ember DEBUG 11 ember INFO 33 harbor ERROR 58 grove ERROR 68 cobalt WARN 51 harbor DEBUG 88 ember WARN 50 birch
ERROR 58 grove ERROR 68 cobalt
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009209
qwen/qwen3.7-plus
awkweave-0009210
Print every line except those containing the exact text birch.
$0 !~ /birch/
harbor 2 active birch 54 closed ember 106 closed cobalt 65 active delta 45 paused cobalt 46 failed grove 3 failed delta 117 paused birch 999 active
harbor 2 active ember 106 closed cobalt 65 active delta 45 paused cobalt 46 failed grove 3 failed delta 117 paused
birch 65 pending harbor 30 closed grove 11 ready juniper 47 closed indigo 12 paused juniper 9 active juniper 61 failed indigo 58 active birch 999 active
harbor 30 closed grove 11 ready juniper 47 closed indigo 12 paused juniper 9 active juniper 61 failed indigo 58 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009210-p1
Output every line that does not contain the exact string 'birch'.
$0 !~ /birch/
harbor 2 active birch 54 closed ember 106 closed cobalt 65 active delta 45 paused cobalt 46 failed grove 3 failed delta 117 paused birch 999 active
harbor 2 active ember 106 closed cobalt 65 active delta 45 paused cobalt 46 failed grove 3 failed delta 117 paused
birch 65 pending harbor 30 closed grove 11 ready juniper 47 closed indigo 12 paused juniper 9 active juniper 61 failed indigo 58 active birch 999 active
harbor 30 closed grove 11 ready juniper 47 closed indigo 12 paused juniper 9 active juniper 61 failed indigo 58 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009210
qwen/qwen3.7-plus
awkweave-0009211
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
ivan grove 3 kim indigo 42 dina fable 103 hana delta 15 chen cobalt 59 farah harbor 110
dina fable 103 hana delta 15
farah delta 42 farah harbor 46 hana birch 48 hana juniper 69 dina juniper 14 bruno grove 70 eli indigo 57 bruno delta 11
hana birch 48 hana juniper 69
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009211-p1
Print lines 3 and 4, inclusive.
NR >= 3 && NR <= 4
ivan grove 3 kim indigo 42 dina fable 103 hana delta 15 chen cobalt 59 farah harbor 110
dina fable 103 hana delta 15
farah delta 42 farah harbor 46 hana birch 48 hana juniper 69 dina juniper 14 bruno grove 70 eli indigo 57 bruno delta 11
hana birch 48 hana juniper 69
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009211
qwen/qwen3.7-plus
awkweave-0009212
Output only the first 5 records.
NR <= 5
bruno 12 harbor lina 40 grove jules 54 amber lina 24 grove eli 20 harbor farah 2 juniper chen 70 fable eli 58 birch
bruno 12 harbor lina 40 grove jules 54 amber lina 24 grove eli 20 harbor
bruno 118 indigo chen 20 grove kim 59 fable kim 93 cobalt hana 50 ember bruno 14 delta bruno 41 birch alice 110 grove
bruno 118 indigo chen 20 grove kim 59 fable kim 93 cobalt hana 50 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009212-p1
Display only the initial five entries.
NR <= 5
bruno 12 harbor lina 40 grove jules 54 amber lina 24 grove eli 20 harbor farah 2 juniper chen 70 fable eli 58 birch
bruno 12 harbor lina 40 grove jules 54 amber lina 24 grove eli 20 harbor
bruno 118 indigo chen 20 grove kim 59 fable kim 93 cobalt hana 50 ember bruno 14 delta bruno 41 birch alice 110 grove
bruno 118 indigo chen 20 grove kim 59 fable kim 93 cobalt hana 50 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009212
qwen/qwen3.7-plus
awkweave-0009213
Skip the first line and print every remaining line unchanged.
NR > 1
chen 99 ember chen 99 amber bruno 78 harbor lina 32 harbor bruno 59 ember jules 110 amber
chen 99 amber bruno 78 harbor lina 32 harbor bruno 59 ember jules 110 amber
bruno 30 delta farah 115 fable hana 43 juniper chen 102 birch jules 101 delta kim 60 fable dina 118 birch bruno 18 fable hana 6 amber kim 32 amber
farah 115 fable hana 43 juniper chen 102 birch jules 101 delta kim 60 fable dina 118 birch bruno 18 fable hana 6 amber kim 32 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009213-p1
Omit the header line and output all subsequent lines exactly as they appear.
NR > 1
chen 99 ember chen 99 amber bruno 78 harbor lina 32 harbor bruno 59 ember jules 110 amber
chen 99 amber bruno 78 harbor lina 32 harbor bruno 59 ember jules 110 amber
bruno 30 delta farah 115 fable hana 43 juniper chen 102 birch jules 101 delta kim 60 fable dina 118 birch bruno 18 fable hana 6 amber kim 32 amber
farah 115 fable hana 43 juniper chen 102 birch jules 101 delta kim 60 fable dina 118 birch bruno 18 fable hana 6 amber kim 32 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009213
qwen/qwen3.7-plus
awkweave-0009214
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
lina closed 89 hana ready 77 hana paused 103 gus paused 80 dina paused 104 chen paused 41
0
gus pending 21 kim pending 14 kim paused 24 lina pending 115 kim ready 55 farah paused 99
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009214-p1
Tally the number of entries marked as failed in the second column, outputting 0 if the count is zero.
$2 == "failed"{n++}END{print n+0}
lina closed 89 hana ready 77 hana paused 103 gus paused 80 dina paused 104 chen paused 41
0
gus pending 21 kim pending 14 kim paused 24 lina pending 115 kim ready 55 farah paused 99
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009214
qwen/qwen3.7-plus
awkweave-0009215
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
lina delta 12 dina amber 16 jules juniper 16 chen birch 1 jules grove 19 gus delta 4 kim harbor 18 dina amber 9 hana delta 7
102
hana harbor 22 dina harbor 16 dina juniper 1 kim indigo 24 gus juniper 18 eli fable 27
108
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009215-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
lina delta 12 dina amber 16 jules juniper 16 chen birch 1 jules grove 19 gus delta 4 kim harbor 18 dina amber 9 hana delta 7
102
hana harbor 22 dina harbor 16 dina juniper 1 kim indigo 24 gus juniper 18 eli fable 27
108
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009215
qwen/qwen3.7-plus
awkweave-0009216
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
13 chen harbor 27 farah grove 9 bruno birch 8 farah ember 12 hana fable 17 dina harbor 8 gus delta 12 gus ember 25 alice harbor 27 farah cobalt
15.80
19 dina indigo 7 ivan juniper 25 bruno amber 13 jules fable 13 alice harbor 9 hana indigo
14.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009216-p1
Output the average of the values in the first column, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
13 chen harbor 27 farah grove 9 bruno birch 8 farah ember 12 hana fable 17 dina harbor 8 gus delta 12 gus ember 25 alice harbor 27 farah cobalt
15.80
19 dina indigo 7 ivan juniper 25 bruno amber 13 jules fable 13 alice harbor 9 hana indigo
14.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009216
qwen/qwen3.7-plus
awkweave-0009217
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
farah birch 10 ivan fable 16 eli grove 16 chen grove 16 ivan delta 21 lina grove 30 bruno harbor 5 hana delta 20
5
ivan grove 28 chen amber 7 hana delta 24 dina indigo 17 hana harbor 6 kim indigo 16 bruno juniper 21 lina cobalt 1 jules juniper 28
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009217-p1
Identify and display the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
farah birch 10 ivan fable 16 eli grove 16 chen grove 16 ivan delta 21 lina grove 30 bruno harbor 5 hana delta 20
5
ivan grove 28 chen amber 7 hana delta 24 dina indigo 17 hana harbor 6 kim indigo 16 bruno juniper 21 lina cobalt 1 jules juniper 28
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009217
qwen/qwen3.7-plus
awkweave-0009218
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan ember 12 kim delta 24 hana ember 6 kim birch 25 dina harbor 26 farah fable 4 chen grove 9 lina fable 21 alice delta 19
26
farah cobalt 19 ivan amber 23 dina harbor 28 jules grove 14 jules birch 13 eli harbor 24 eli birch 5
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009218-p1
Identify and display the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan ember 12 kim delta 24 hana ember 6 kim birch 25 dina harbor 26 farah fable 4 chen grove 9 lina fable 21 alice delta 19
26
farah cobalt 19 ivan amber 23 dina harbor 28 jules grove 14 jules birch 13 eli harbor 24 eli birch 5
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009218
qwen/qwen3.7-plus
awkweave-0009219
Count all input records and print the total.
END{print NR}
bruno 15 bruno 97 eli 14 gus 99 farah 71 bruno 66 eli 90
7
ivan 43 lina 31 hana 28 bruno 23 alice 43 dina 51 chen 36 lina 62
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009219-p1
Count the total number of input records and print the result.
END{print NR}
bruno 15 bruno 97 eli 14 gus 99 farah 71 bruno 66 eli 90
7
ivan 43 lina 31 hana 28 bruno 23 alice 43 dina 51 chen 36 lina 62
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009219
qwen/qwen3.7-plus
awkweave-0009220
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen grove 39 gus birch 80 lina amber 93 chen ember 102 chen grove 39 eli birch 25 farah indigo 60
chen grove 39 gus birch 80 lina amber 93 chen ember 102 eli birch 25 farah indigo 60
eli harbor 95 hana harbor 70 farah cobalt 75 kim grove 7 chen birch 49 jules harbor 7 kim harbor 76 kim harbor 76
eli harbor 95 hana harbor 70 farah cobalt 75 kim grove 7 chen birch 49 jules harbor 7 kim harbor 76
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null