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-0023161-p1
Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno juniper 48 pending alice birch 78 closed alice juniper 29 ready jules delta 54 active chen harbor 23 pending lina amber 61 ready dina fable 95 ready alice delta 76 pending chen ember 46 failed
bruno juniper 48 pending
bruno harbor 23 ready chen indigo 4 paused kim ember 106 pending alice grove 16 failed jules harbor 57 active dina delta 55 paused bruno ember 63 active kim indigo 86 paused
jules harbor 57 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023161
qwen/qwen3.7-plus
awkweave-0023162
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
lina 24 jules 0 gus 94 alice 74 ivan 47 eli 35 jules 82 hana 12
jules 0 eli 35
chen 20 gus 51 farah 100 gus 67 jules 42 lina 96 jules 67 lina 113 bruno 16 hana 7
gus 51 lina 96 hana 7
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023162-p1
Print every fourth line of the input, beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
lina 24 jules 0 gus 94 alice 74 ivan 47 eli 35 jules 82 hana 12
jules 0 eli 35
chen 20 gus 51 farah 100 gus 67 jules 42 lina 96 jules 67 lina 113 bruno 16 hana 7
gus 51 lina 96 hana 7
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023162
qwen/qwen3.7-plus
awkweave-0023163
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha juniper 108 alpha ember 49 alpha fable 107 delta harbor 99 delta cobalt 29 beta delta 36 delta amber 23
3
gamma juniper 94 alpha birch 68 alpha indigo 41 alpha birch 8 gamma delta 93 alpha cobalt 40 beta amber 52 beta grove 58 delta juniper 57
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023163-p1
Calculate the number of unique values in column 1 and output only this total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha juniper 108 alpha ember 49 alpha fable 107 delta harbor 99 delta cobalt 29 beta delta 36 delta amber 23
3
gamma juniper 94 alpha birch 68 alpha indigo 41 alpha birch 8 gamma delta 93 alpha cobalt 40 beta amber 52 beta grove 58 delta juniper 57
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023163
qwen/qwen3.7-plus
awkweave-0023164
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}
kim 8 0 gus 23 10 jules 22 15 farah 23 19 alice 18 13 kim 29 24 gus 12 25
gus 2.30 jules 1.47 farah 1.21 alice 1.38 kim 1.21 gus 0.48
dina 20 0 dina 17 1 gus 12 8 ivan 18 26 alice 9 10 dina 22 23 dina 20 2 kim 19 2 hana 21 1 kim 3 9
dina 17.00 gus 1.50 ivan 0.69 alice 0.90 dina 0.96 dina 10.00 kim 9.50 hana 21.00 kim 0.33
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023164-p1
For each row where column 3 is non-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}
kim 8 0 gus 23 10 jules 22 15 farah 23 19 alice 18 13 kim 29 24 gus 12 25
gus 2.30 jules 1.47 farah 1.21 alice 1.38 kim 1.21 gus 0.48
dina 20 0 dina 17 1 gus 12 8 ivan 18 26 alice 9 10 dina 22 23 dina 20 2 kim 19 2 hana 21 1 kim 3 9
dina 17.00 gus 1.50 ivan 0.69 alice 0.90 dina 0.96 dina 10.00 kim 9.50 hana 21.00 kim 0.33
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023164
qwen/qwen3.7-plus
awkweave-0023165
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]}
farah ember 4 kim grove 23 farah fable 25 gus harbor 10 ivan birch 11 lina birch 24 hana delta 18 jules juniper 29
jules juniper 29 farah fable 25 lina birch 24
bruno juniper 24 ivan juniper 7 farah ember 18 lina fable 4 dina indigo 27 lina indigo 29 chen birch 6
lina indigo 29 dina indigo 27 bruno juniper 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023165-p1
Select the top three records with the highest numeric values in column 3, sorting descending, and 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]}
farah ember 4 kim grove 23 farah fable 25 gus harbor 10 ivan birch 11 lina birch 24 hana delta 18 jules juniper 29
jules juniper 29 farah fable 25 lina birch 24
bruno juniper 24 ivan juniper 7 farah ember 18 lina fable 4 dina indigo 27 lina indigo 29 chen birch 6
lina indigo 29 dina indigo 27 bruno juniper 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023165
qwen/qwen3.7-plus
awkweave-0023166
Select the 4th and 3rd fields in that order.
{print $4, $3}
failed bruno grove lina active dina fable hana closed bruno birch hana failed chen indigo gus paused jules juniper jules failed bruno delta bruno pending jules ember hana active bruno fable chen ready lina delta gus
lina grove hana fable hana birch gus indigo jules juniper bruno delta hana ember chen fable gus delta
closed hana grove kim closed hana fable chen failed dina indigo eli paused bruno fable bruno ready ivan cobalt dina active lina amber farah failed chen amber hana closed dina birch gus failed ivan harbor farah
kim grove chen fable eli indigo bruno fable dina cobalt farah amber hana amber gus birch farah harbor
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023166-p1
Extract the fourth field followed by the third field.
{print $4, $3}
failed bruno grove lina active dina fable hana closed bruno birch hana failed chen indigo gus paused jules juniper jules failed bruno delta bruno pending jules ember hana active bruno fable chen ready lina delta gus
lina grove hana fable hana birch gus indigo jules juniper bruno delta hana ember chen fable gus delta
closed hana grove kim closed hana fable chen failed dina indigo eli paused bruno fable bruno ready ivan cobalt dina active lina amber farah failed chen amber hana closed dina birch gus failed ivan harbor farah
kim grove chen fable eli indigo bruno fable dina cobalt farah amber hana amber gus birch farah harbor
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023166
qwen/qwen3.7-plus
awkweave-0023167
Print the last field of every input line.
{print $NF}
bruno amber ready ready alice chen birch ready failed lina farah grove active failed farah gus harbor active ready alice eli grove ready pending dina eli grove paused pending chen
alice lina farah alice dina chen
bruno ember active paused ivan gus amber pending ready kim bruno grove active closed gus eli delta failed active lina chen juniper closed ready gus kim amber active active gus dina indigo active closed jules
ivan kim gus lina gus gus jules
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023167-p1
Output the final field from each input line.
{print $NF}
bruno amber ready ready alice chen birch ready failed lina farah grove active failed farah gus harbor active ready alice eli grove ready pending dina eli grove paused pending chen
alice lina farah alice dina chen
bruno ember active paused ivan gus amber pending ready kim bruno grove active closed gus eli delta failed active lina chen juniper closed ready gus kim amber active active gus dina indigo active closed jules
ivan kim gus lina gus gus jules
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023167
qwen/qwen3.7-plus
awkweave-0023168
Print the complete records where column 2 is at least 76.
$2 >= 76
juniper 108 paused delta 95 pending ember 100 ready delta 116 paused cobalt 59 active birch 66 ready
juniper 108 paused delta 95 pending ember 100 ready delta 116 paused
indigo 102 ready grove 118 active grove 83 paused indigo 2 pending birch 67 ready amber 77 ready indigo 116 pending birch 5 pending juniper 86 active ember 98 closed
indigo 102 ready grove 118 active grove 83 paused amber 77 ready indigo 116 pending juniper 86 active ember 98 closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023168-p1
Display full records where the value in the second column is greater than or equal to 76.
$2 >= 76
juniper 108 paused delta 95 pending ember 100 ready delta 116 paused cobalt 59 active birch 66 ready
juniper 108 paused delta 95 pending ember 100 ready delta 116 paused
indigo 102 ready grove 118 active grove 83 paused indigo 2 pending birch 67 ready amber 77 ready indigo 116 pending birch 5 pending juniper 86 active ember 98 closed
indigo 102 ready grove 118 active grove 83 paused amber 77 ready indigo 116 pending juniper 86 active ember 98 closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023168
qwen/qwen3.7-plus
awkweave-0023169
Show whole lines whose 2nd field is between 7 and 25, inclusive.
$2 >= 7 && $2 <= 25
ready 18 birch chen failed 24 grove eli closed 23 juniper gus active 12 juniper jules ready 9 ember eli active 9 ember ivan
ready 18 birch chen failed 24 grove eli closed 23 juniper gus active 12 juniper jules ready 9 ember eli active 9 ember ivan
active 28 amber chen failed 4 indigo kim closed 29 juniper kim pending 9 fable bruno active 19 cobalt farah active 19 juniper eli ready 10 juniper eli failed 22 ember bruno ready 13 fable gus paused 12 grove eli
pending 9 fable bruno active 19 cobalt farah active 19 juniper eli ready 10 juniper eli failed 22 ember bruno ready 13 fable gus paused 12 grove eli
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023169-p1
Show entire lines where the second field falls within the inclusive range of 7 to 25.
$2 >= 7 && $2 <= 25
ready 18 birch chen failed 24 grove eli closed 23 juniper gus active 12 juniper jules ready 9 ember eli active 9 ember ivan
ready 18 birch chen failed 24 grove eli closed 23 juniper gus active 12 juniper jules ready 9 ember eli active 9 ember ivan
active 28 amber chen failed 4 indigo kim closed 29 juniper kim pending 9 fable bruno active 19 cobalt farah active 19 juniper eli ready 10 juniper eli failed 22 ember bruno ready 13 fable gus paused 12 grove eli
pending 9 fable bruno active 19 cobalt farah active 19 juniper eli ready 10 juniper eli failed 22 ember bruno ready 13 fable gus paused 12 grove eli
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023169
qwen/qwen3.7-plus
awkweave-0023170
Print column 3 only for rows where column 2 is exactly pending.
$2 == "pending"{print $3}
fable ready alice 30 amber ready kim 34 cobalt closed hana 3 ember closed dina 58 grove failed jules 7 harbor paused bruno 81 fable closed hana 67 juniper paused lina 119 grove pending eli 9
eli
birch ready hana 102 harbor ready dina 4 amber closed bruno 85 delta ready gus 47 birch ready eli 86 grove pending eli 17 birch failed ivan 78 delta ready dina 120 amber failed bruno 40
eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023170-p1
Output only the third column for rows where the second column is exactly 'pending'.
$2 == "pending"{print $3}
fable ready alice 30 amber ready kim 34 cobalt closed hana 3 ember closed dina 58 grove failed jules 7 harbor paused bruno 81 fable closed hana 67 juniper paused lina 119 grove pending eli 9
eli
birch ready hana 102 harbor ready dina 4 amber closed bruno 85 delta ready gus 47 birch ready eli 86 grove pending eli 17 birch failed ivan 78 delta ready dina 120 amber failed bruno 40
eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023170
qwen/qwen3.7-plus
awkweave-0023171
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
fable 101 DEBUG harbor 46 WARN harbor 16 INFO indigo 23 DEBUG ember 11 INFO amber 43 INFO ember 112 DEBUG birch 78 INFO amber 9 WARN grove 19 WARN
harbor 16 INFO ember 11 INFO amber 43 INFO birch 78 INFO
grove 116 ERROR harbor 4 ERROR birch 52 ERROR harbor 99 DEBUG harbor 113 DEBUG grove 74 DEBUG ember 81 ERROR grove 69 WARN birch 116 WARN amber 119 DEBUG
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023171-p1
Print all fields from lines where the third field starts with 'INFO'.
$3 ~ /^INFO/
fable 101 DEBUG harbor 46 WARN harbor 16 INFO indigo 23 DEBUG ember 11 INFO amber 43 INFO ember 112 DEBUG birch 78 INFO amber 9 WARN grove 19 WARN
harbor 16 INFO ember 11 INFO amber 43 INFO birch 78 INFO
grove 116 ERROR harbor 4 ERROR birch 52 ERROR harbor 99 DEBUG harbor 113 DEBUG grove 74 DEBUG ember 81 ERROR grove 69 WARN birch 116 WARN amber 119 DEBUG
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023171
qwen/qwen3.7-plus
awkweave-0023172
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
cobalt 20 pending fable 33 failed harbor 94 pending cobalt 114 closed indigo 14 failed harbor 34 paused harbor 109 closed delta 78 closed harbor 56 pending delta 43 pending cobalt 999 active
fable 33 failed harbor 94 pending indigo 14 failed harbor 34 paused harbor 109 closed delta 78 closed harbor 56 pending delta 43 pending
birch 30 ready delta 66 pending delta 79 failed juniper 86 closed indigo 96 closed cobalt 11 failed cobalt 37 ready grove 102 paused ember 27 closed cobalt 999 active
birch 30 ready delta 66 pending delta 79 failed juniper 86 closed indigo 96 closed grove 102 paused ember 27 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023172-p1
Output every line that does not contain the exact string 'cobalt'.
$0 !~ /cobalt/
cobalt 20 pending fable 33 failed harbor 94 pending cobalt 114 closed indigo 14 failed harbor 34 paused harbor 109 closed delta 78 closed harbor 56 pending delta 43 pending cobalt 999 active
fable 33 failed harbor 94 pending indigo 14 failed harbor 34 paused harbor 109 closed delta 78 closed harbor 56 pending delta 43 pending
birch 30 ready delta 66 pending delta 79 failed juniper 86 closed indigo 96 closed cobalt 11 failed cobalt 37 ready grove 102 paused ember 27 closed cobalt 999 active
birch 30 ready delta 66 pending delta 79 failed juniper 86 closed indigo 96 closed grove 102 paused ember 27 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023172
qwen/qwen3.7-plus
awkweave-0023173
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
lina juniper 53 lina amber 52 eli juniper 31 kim delta 97 gus grove 73 ivan delta 81
kim delta 97 gus grove 73 ivan delta 81
bruno grove 23 dina juniper 53 dina delta 23 chen birch 82 kim indigo 58 jules juniper 13 lina fable 32 dina birch 23
chen birch 82 kim indigo 58 jules juniper 13 lina fable 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023173-p1
Print lines 4 through 7, inclusive.
NR >= 4 && NR <= 7
lina juniper 53 lina amber 52 eli juniper 31 kim delta 97 gus grove 73 ivan delta 81
kim delta 97 gus grove 73 ivan delta 81
bruno grove 23 dina juniper 53 dina delta 23 chen birch 82 kim indigo 58 jules juniper 13 lina fable 32 dina birch 23
chen birch 82 kim indigo 58 jules juniper 13 lina fable 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023173
qwen/qwen3.7-plus
awkweave-0023174
Output only the first 3 records.
NR <= 3
gus 61 indigo farah 47 fable bruno 37 birch bruno 17 harbor bruno 106 juniper gus 108 birch hana 24 indigo lina 55 delta jules 78 birch
gus 61 indigo farah 47 fable bruno 37 birch
alice 102 indigo eli 6 indigo ivan 93 birch bruno 57 grove alice 76 ember chen 69 birch chen 69 amber dina 117 delta
alice 102 indigo eli 6 indigo ivan 93 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023174-p1
Output only the first three records.
NR <= 3
gus 61 indigo farah 47 fable bruno 37 birch bruno 17 harbor bruno 106 juniper gus 108 birch hana 24 indigo lina 55 delta jules 78 birch
gus 61 indigo farah 47 fable bruno 37 birch
alice 102 indigo eli 6 indigo ivan 93 birch bruno 57 grove alice 76 ember chen 69 birch chen 69 amber dina 117 delta
alice 102 indigo eli 6 indigo ivan 93 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023174
qwen/qwen3.7-plus
awkweave-0023175
Skip the first line and print every remaining line unchanged.
NR > 1
gus 55 cobalt dina 53 amber jules 58 indigo eli 51 fable alice 119 harbor eli 28 harbor ivan 36 indigo farah 19 delta farah 88 grove
dina 53 amber jules 58 indigo eli 51 fable alice 119 harbor eli 28 harbor ivan 36 indigo farah 19 delta farah 88 grove
gus 54 indigo dina 94 delta chen 40 grove bruno 103 juniper ivan 98 amber lina 34 grove
dina 94 delta chen 40 grove bruno 103 juniper ivan 98 amber lina 34 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023175-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
gus 55 cobalt dina 53 amber jules 58 indigo eli 51 fable alice 119 harbor eli 28 harbor ivan 36 indigo farah 19 delta farah 88 grove
dina 53 amber jules 58 indigo eli 51 fable alice 119 harbor eli 28 harbor ivan 36 indigo farah 19 delta farah 88 grove
gus 54 indigo dina 94 delta chen 40 grove bruno 103 juniper ivan 98 amber lina 34 grove
dina 94 delta chen 40 grove bruno 103 juniper ivan 98 amber lina 34 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023175
qwen/qwen3.7-plus
awkweave-0023176
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
eli ready 91 lina ready 43 kim ready 103 eli failed 27 chen failed 61 bruno closed 69
0
lina pending 0 gus pending 57 farah active 22 dina failed 64 eli paused 112 eli pending 69 dina paused 27 dina paused 99 chen ready 14 jules active 79
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023176-p1
Count the number of records with 'paused' in the second column, printing 0 if none exist.
$2 == "paused"{n++}END{print n+0}
eli ready 91 lina ready 43 kim ready 103 eli failed 27 chen failed 61 bruno closed 69
0
lina pending 0 gus pending 57 farah active 22 dina failed 64 eli paused 112 eli pending 69 dina paused 27 dina paused 99 chen ready 14 jules active 79
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023176
qwen/qwen3.7-plus
awkweave-0023177
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
indigo lina 2 ember ivan 21 cobalt lina 6 delta ivan 5 cobalt jules 1 grove gus 14 harbor dina 18 amber alice 29 ember alice 18 amber bruno 2
116
fable ivan 23 grove eli 6 fable lina 3 juniper farah 1 delta alice 15 fable farah 2 ember ivan 6
56
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023177-p1
Compute and display the sum of integer values in the third column.
{s+=$3}END{print s+0}
indigo lina 2 ember ivan 21 cobalt lina 6 delta ivan 5 cobalt jules 1 grove gus 14 harbor dina 18 amber alice 29 ember alice 18 amber bruno 2
116
fable ivan 23 grove eli 6 fable lina 3 juniper farah 1 delta alice 15 fable farah 2 ember ivan 6
56
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023177
qwen/qwen3.7-plus
awkweave-0023178
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
alice 2 ember kim 18 cobalt hana 24 indigo ivan 9 cobalt dina 25 ember lina 20 delta
16.33
eli 22 ember chen 2 indigo kim 19 cobalt alice 13 juniper jules 21 indigo eli 15 ember
15.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023178-p1
Calculate and display the average of the second column, formatted to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
alice 2 ember kim 18 cobalt hana 24 indigo ivan 9 cobalt dina 25 ember lina 20 delta
16.33
eli 22 ember chen 2 indigo kim 19 cobalt alice 13 juniper jules 21 indigo eli 15 ember
15.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023178
qwen/qwen3.7-plus
awkweave-0023179
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
20 lina juniper 2 farah ember 8 alice cobalt 10 jules grove 7 lina delta 21 kim juniper 8 chen juniper 27 chen fable 17 chen indigo 20 kim delta
2
5 farah harbor 30 gus ember 9 dina indigo 27 bruno amber 25 gus harbor 23 hana harbor 18 bruno birch 4 kim delta 29 dina delta
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023179-p1
Identify and output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
20 lina juniper 2 farah ember 8 alice cobalt 10 jules grove 7 lina delta 21 kim juniper 8 chen juniper 27 chen fable 17 chen indigo 20 kim delta
2
5 farah harbor 30 gus ember 9 dina indigo 27 bruno amber 25 gus harbor 23 hana harbor 18 bruno birch 4 kim delta 29 dina delta
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023179
qwen/qwen3.7-plus
awkweave-0023180
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
25 farah delta 2 ivan fable 26 chen cobalt 28 jules ember 17 dina amber 1 ivan fable
28
14 gus juniper 23 hana ember 19 ivan amber 18 alice amber 28 jules amber 12 ivan birch 16 gus delta
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023180-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
25 farah delta 2 ivan fable 26 chen cobalt 28 jules ember 17 dina amber 1 ivan fable
28
14 gus juniper 23 hana ember 19 ivan amber 18 alice amber 28 jules amber 12 ivan birch 16 gus delta
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023180
qwen/qwen3.7-plus
awkweave-0023181
Count all input records and print the total.
END{print NR}
jules 15 jules 31 dina 82 kim 49 eli 88 farah 46
6
kim 35 jules 14 hana 36 kim 58 jules 105 jules 114 gus 74 chen 34 farah 54 kim 47
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023181-p1
Count the total number of input lines and print the result.
END{print NR}
jules 15 jules 31 dina 82 kim 49 eli 88 farah 46
6
kim 35 jules 14 hana 36 kim 58 jules 105 jules 114 gus 74 chen 34 farah 54 kim 47
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023181
qwen/qwen3.7-plus
awkweave-0023182
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus cobalt 15 kim juniper 42 lina grove 40 gus fable 29 kim ember 24 gus cobalt 27 gus cobalt 27 dina indigo 15 gus grove 69 gus juniper 80 alice juniper 62
gus cobalt 15 kim juniper 42 lina grove 40 gus fable 29 kim ember 24 gus cobalt 27 dina indigo 15 gus grove 69 gus juniper 80 alice juniper 62
jules ember 79 lina cobalt 47 kim harbor 8 lina cobalt 47 kim indigo 49 dina birch 114 farah indigo 89 jules cobalt 110 bruno indigo 92 alice harbor 68 chen birch 94
jules ember 79 lina cobalt 47 kim harbor 8 kim indigo 49 dina birch 114 farah indigo 89 jules cobalt 110 bruno indigo 92 alice harbor 68 chen birch 94
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023182-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
gus cobalt 15 kim juniper 42 lina grove 40 gus fable 29 kim ember 24 gus cobalt 27 gus cobalt 27 dina indigo 15 gus grove 69 gus juniper 80 alice juniper 62
gus cobalt 15 kim juniper 42 lina grove 40 gus fable 29 kim ember 24 gus cobalt 27 dina indigo 15 gus grove 69 gus juniper 80 alice juniper 62
jules ember 79 lina cobalt 47 kim harbor 8 lina cobalt 47 kim indigo 49 dina birch 114 farah indigo 89 jules cobalt 110 bruno indigo 92 alice harbor 68 chen birch 94
jules ember 79 lina cobalt 47 kim harbor 8 kim indigo 49 dina birch 114 farah indigo 89 jules cobalt 110 bruno indigo 92 alice harbor 68 chen birch 94
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023182
qwen/qwen3.7-plus
awkweave-0023183
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
eli delta 23 hana grove 111 alice juniper 53 chen ember 34 gus birch 113 hana delta 0 bruno delta 20 chen juniper 7 chen cobalt 116
eli delta 23 hana grove 111 alice juniper 53 chen ember 34 gus birch 113 hana delta 0 bruno delta 20 chen juniper 7 chen cobalt 116
farah grove 65 bruno amber 63 bruno birch 117 alice birch 66 dina amber 114 kim harbor 74 chen indigo 7 chen fable 103 dina fable 117
farah grove 65 bruno amber 63 bruno birch 117 alice birch 66 dina amber 114 kim harbor 74 chen indigo 7 chen fable 103
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023183-p1
Retain only the initial line for every unique value in the third column, keeping the original order.
!seen[$3]++
eli delta 23 hana grove 111 alice juniper 53 chen ember 34 gus birch 113 hana delta 0 bruno delta 20 chen juniper 7 chen cobalt 116
eli delta 23 hana grove 111 alice juniper 53 chen ember 34 gus birch 113 hana delta 0 bruno delta 20 chen juniper 7 chen cobalt 116
farah grove 65 bruno amber 63 bruno birch 117 alice birch 66 dina amber 114 kim harbor 74 chen indigo 7 chen fable 103 dina fable 117
farah grove 65 bruno amber 63 bruno birch 117 alice birch 66 dina amber 114 kim harbor 74 chen indigo 7 chen fable 103
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023183
qwen/qwen3.7-plus
awkweave-0023184
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 2 ember chen 16 indigo gus 13 indigo kim 29 grove lina 9 amber eli 22 cobalt chen 29 grove gus 1 cobalt eli 17 ember hana 22 juniper
dina 2 chen 18 gus 31 kim 60 lina 69 eli 91 chen 120 gus 121 eli 138 hana 160
lina 18 ember gus 8 ember dina 5 harbor lina 11 cobalt alice 19 indigo lina 8 birch lina 15 harbor
lina 18 gus 26 dina 31 lina 42 alice 61 lina 69 lina 84
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023184-p1
Output the first column alongside the cumulative sum of the second column for each row, separated by a space.
{s+=$2;print $1,s}
dina 2 ember chen 16 indigo gus 13 indigo kim 29 grove lina 9 amber eli 22 cobalt chen 29 grove gus 1 cobalt eli 17 ember hana 22 juniper
dina 2 chen 18 gus 31 kim 60 lina 69 eli 91 chen 120 gus 121 eli 138 hana 160
lina 18 ember gus 8 ember dina 5 harbor lina 11 cobalt alice 19 indigo lina 8 birch lina 15 harbor
lina 18 gus 26 dina 31 lina 42 alice 61 lina 69 lina 84
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023184
qwen/qwen3.7-plus
awkweave-0023185
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 24 22 fable jules 4 27 juniper jules 21 14 indigo eli 28 9 indigo chen 16 30 amber hana 15 16 ember dina 2 7 cobalt gus 6 9 birch
lina 46 jules 31 jules 35 eli 37 chen 46 hana 31 dina 9 gus 15
hana 22 1 amber eli 29 10 harbor chen 15 25 birch kim 10 29 amber farah 15 16 indigo lina 5 17 birch hana 15 27 ember alice 26 17 grove dina 8 14 juniper
hana 23 eli 39 chen 40 kim 39 farah 31 lina 22 hana 42 alice 43 dina 22
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023185-p1
For each line, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
lina 24 22 fable jules 4 27 juniper jules 21 14 indigo eli 28 9 indigo chen 16 30 amber hana 15 16 ember dina 2 7 cobalt gus 6 9 birch
lina 46 jules 31 jules 35 eli 37 chen 46 hana 31 dina 9 gus 15
hana 22 1 amber eli 29 10 harbor chen 15 25 birch kim 10 29 amber farah 15 16 indigo lina 5 17 birch hana 15 27 ember alice 26 17 grove dina 8 14 juniper
hana 23 eli 39 chen 40 kim 39 farah 31 lina 22 hana 42 alice 43 dina 22
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023185
qwen/qwen3.7-plus
awkweave-0023186
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
lina 17 eli 20 hana 10 ivan 15 kim 3 jules 26 gus 8 jules 14 farah 28 chen 12
lina fail eli fail hana fail ivan fail kim fail jules pass gus fail jules fail farah pass chen fail
gus 13 jules 18 bruno 27 eli 9 ivan 23 kim 29 ivan 10 jules 14 bruno 18 farah 13
gus fail jules fail bruno pass eli fail ivan fail kim pass ivan fail jules fail bruno fail farah fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023186-p1
Print the first column along with 'pass' if the second column is 26 or greater, otherwise print 'fail'.
{print $1,($2>=26?"pass":"fail")}
lina 17 eli 20 hana 10 ivan 15 kim 3 jules 26 gus 8 jules 14 farah 28 chen 12
lina fail eli fail hana fail ivan fail kim fail jules pass gus fail jules fail farah pass chen fail
gus 13 jules 18 bruno 27 eli 9 ivan 23 kim 29 ivan 10 jules 14 bruno 18 farah 13
gus fail jules fail bruno pass eli fail ivan fail kim pass ivan fail jules fail bruno fail farah fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023186
qwen/qwen3.7-plus
awkweave-0023187
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules delta 49 farah fable 103 alice ember 9 eli birch 42 eli grove 86 dina juniper 84
JULES FARAH ALICE ELI ELI DINA
hana fable 115 ivan harbor 117 bruno harbor 115 kim indigo 29 hana juniper 19 lina cobalt 100 dina harbor 57
HANA IVAN BRUNO KIM HANA LINA DINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023187-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
jules delta 49 farah fable 103 alice ember 9 eli birch 42 eli grove 86 dina juniper 84
JULES FARAH ALICE ELI ELI DINA
hana fable 115 ivan harbor 117 bruno harbor 115 kim indigo 29 hana juniper 19 lina cobalt 100 dina harbor 57
HANA IVAN BRUNO KIM HANA LINA DINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023187
qwen/qwen3.7-plus
awkweave-0023188
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
birch 48 ember 44 ember 68 amber 93 indigo 96 juniper 13
irc mbe mbe mbe ndi uni
ember 25 birch 7 birch 22 grove 12 fable 108 juniper 35 fable 87 cobalt 110
mbe irc irc rov abl uni abl oba
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023188-p1
Extract and print a substring of length 3 from the first column, starting at the second character.
{print substr($1,2,3)}
birch 48 ember 44 ember 68 amber 93 indigo 96 juniper 13
irc mbe mbe mbe ndi uni
ember 25 birch 7 birch 22 grove 12 fable 108 juniper 35 fable 87 cobalt 110
mbe irc irc rov abl uni abl oba
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023188
qwen/qwen3.7-plus
awkweave-0023189
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_birch 14 harbor_amber 4 fable_ember 81 juniper_fable 110 cobalt_delta 43 harbor_grove 20 cobalt_indigo 17
delta birch harbor amber fable ember juniper fable cobalt delta harbor grove cobalt indigo
delta_delta 120 cobalt_birch 8 ember_amber 67 ember_indigo 91 fable_juniper 86 cobalt_birch 69
delta delta cobalt birch ember amber ember indigo fable juniper cobalt birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023189-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
delta_birch 14 harbor_amber 4 fable_ember 81 juniper_fable 110 cobalt_delta 43 harbor_grove 20 cobalt_indigo 17
delta birch harbor amber fable ember juniper fable cobalt delta harbor grove cobalt indigo
delta_delta 120 cobalt_birch 8 ember_amber 67 ember_indigo 91 fable_juniper 86 cobalt_birch 69
delta delta cobalt birch ember amber ember indigo fable juniper cobalt birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023189
qwen/qwen3.7-plus
awkweave-0023200
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana delta 22 failed ivan fable 115 ready dina grove 72 pending farah birch 5 pending hana grove 46 active dina amber 97 pending
dina grove 72 pending
bruno grove 77 failed alice indigo 42 failed gus birch 48 pending gus amber 112 ready ivan grove 1 closed jules juniper 63 paused eli ember 98 ready dina fable 46 pending chen cobalt 63 closed
jules juniper 63 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023200-p1
Output the longest line from the input, selecting the first one encountered if multiple lines share the maximum length.
{if(length($0)>length(best))best=$0}END{print best}
hana delta 22 failed ivan fable 115 ready dina grove 72 pending farah birch 5 pending hana grove 46 active dina amber 97 pending
dina grove 72 pending
bruno grove 77 failed alice indigo 42 failed gus birch 48 pending gus amber 112 ready ivan grove 1 closed jules juniper 63 paused eli ember 98 ready dina fable 46 pending chen cobalt 63 closed
jules juniper 63 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023200
qwen/qwen3.7-plus
awkweave-0023201
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
bruno 64 eli 30 chen 119 hana 72 ivan 32 ivan 48 gus 101 farah 25
bruno 64 chen 119 ivan 32 gus 101
dina 71 eli 78 lina 112 ivan 79 eli 30 lina 63 alice 78 lina 92 eli 75 hana 117
dina 71 lina 112 eli 30 alice 78 eli 75
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023201-p1
Print lines 1, 3, 5, and so on, effectively outputting every second line starting from the first.
NR%2==1
bruno 64 eli 30 chen 119 hana 72 ivan 32 ivan 48 gus 101 farah 25
bruno 64 chen 119 ivan 32 gus 101
dina 71 eli 78 lina 112 ivan 79 eli 30 lina 63 alice 78 lina 92 eli 75 hana 117
dina 71 lina 112 eli 30 alice 78 eli 75
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023201
qwen/qwen3.7-plus
awkweave-0023202
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 98 delta cobalt 6 delta grove 6 gamma delta 4 gamma ember 40 beta fable 94 alpha amber 61 beta ember 114
6
alpha harbor 37 beta indigo 36 gamma harbor 119 delta juniper 37 alpha grove 110 gamma indigo 120 beta juniper 51 beta cobalt 9 gamma cobalt 39 delta amber 52
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023202-p1
Calculate and display only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 98 delta cobalt 6 delta grove 6 gamma delta 4 gamma ember 40 beta fable 94 alpha amber 61 beta ember 114
6
alpha harbor 37 beta indigo 36 gamma harbor 119 delta juniper 37 alpha grove 110 gamma indigo 120 beta juniper 51 beta cobalt 9 gamma cobalt 39 delta amber 52
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023202
qwen/qwen3.7-plus
awkweave-0023203
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}
bruno 11 0 hana 25 8 ivan 14 30 hana 16 28 alice 17 24 dina 14 21 jules 25 17 dina 30 28 chen 28 23 farah 7 3
hana 3.12 ivan 0.47 hana 0.57 alice 0.71 dina 0.67 jules 1.47 dina 1.07 chen 1.22 farah 2.33
lina 18 0 dina 16 14 jules 26 8 alice 15 17 alice 30 18 jules 26 27
dina 1.14 jules 3.25 alice 0.88 alice 1.67 jules 0.96
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023203-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
bruno 11 0 hana 25 8 ivan 14 30 hana 16 28 alice 17 24 dina 14 21 jules 25 17 dina 30 28 chen 28 23 farah 7 3
hana 3.12 ivan 0.47 hana 0.57 alice 0.71 dina 0.67 jules 1.47 dina 1.07 chen 1.22 farah 2.33
lina 18 0 dina 16 14 jules 26 8 alice 15 17 alice 30 18 jules 26 27
dina 1.14 jules 3.25 alice 0.88 alice 1.67 jules 0.96
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023203
qwen/qwen3.7-plus
awkweave-0023204
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]}
chen amber 9 farah indigo 21 gus delta 19 chen amber 4 alice harbor 6 hana ember 22 dina cobalt 30 jules amber 22 chen cobalt 3
dina cobalt 30 hana ember 22 jules amber 22
chen cobalt 4 kim delta 20 hana grove 15 alice indigo 21 bruno indigo 27 gus fable 30 dina grove 3 hana delta 6
gus fable 30 bruno indigo 27 alice indigo 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023204-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]}
chen amber 9 farah indigo 21 gus delta 19 chen amber 4 alice harbor 6 hana ember 22 dina cobalt 30 jules amber 22 chen cobalt 3
dina cobalt 30 hana ember 22 jules amber 22
chen cobalt 4 kim delta 20 hana grove 15 alice indigo 21 bruno indigo 27 gus fable 30 dina grove 3 hana delta 6
gus fable 30 bruno indigo 27 alice indigo 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023204
qwen/qwen3.7-plus
awkweave-0023205
For each line, output fields 4 and 2, in that order.
{print $4, $2}
paused 116 active bruno pending lina closed 53 active jules pending dina ready 11 pending jules ready bruno paused 20 closed chen ready hana closed 34 ready chen pending gus active 13 pending dina failed bruno ready 88 ready farah active lina paused 77 ready dina paused alice active 40 failed lina pending ivan
bruno 116 jules 53 jules 11 chen 20 chen 34 dina 13 farah 88 dina 77 lina 40
paused 67 pending eli ready jules paused 95 closed chen closed gus closed 67 pending jules failed chen paused 32 active hana closed chen pending 46 active gus paused chen ready 110 ready kim failed farah
eli 67 chen 95 jules 67 hana 32 gus 46 kim 110
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023205-p1
Output the fourth field followed by the second field for every line.
{print $4, $2}
paused 116 active bruno pending lina closed 53 active jules pending dina ready 11 pending jules ready bruno paused 20 closed chen ready hana closed 34 ready chen pending gus active 13 pending dina failed bruno ready 88 ready farah active lina paused 77 ready dina paused alice active 40 failed lina pending ivan
bruno 116 jules 53 jules 11 chen 20 chen 34 dina 13 farah 88 dina 77 lina 40
paused 67 pending eli ready jules paused 95 closed chen closed gus closed 67 pending jules failed chen paused 32 active hana closed chen pending 46 active gus paused chen ready 110 ready kim failed farah
eli 67 chen 95 jules 67 hana 32 gus 46 kim 110
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023205
qwen/qwen3.7-plus
awkweave-0023206
Print the last field of every input line.
{print $NF}
juniper grove farah paused ready ember cobalt kim failed ready birch amber jules closed active indigo indigo kim paused closed ember ember jules ready closed cobalt amber bruno ready active fable birch farah paused active birch delta bruno paused active cobalt amber lina closed ready delta amber gus ready closed
ready ready active closed closed active active active ready closed
grove ember hana pending ready fable indigo lina paused closed cobalt fable hana active ready harbor fable hana closed pending delta amber chen pending closed amber juniper eli pending failed cobalt harbor jules pending active
ready closed ready pending closed failed active
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023206-p1
Print the final field of each input line.
{print $NF}
juniper grove farah paused ready ember cobalt kim failed ready birch amber jules closed active indigo indigo kim paused closed ember ember jules ready closed cobalt amber bruno ready active fable birch farah paused active birch delta bruno paused active cobalt amber lina closed ready delta amber gus ready closed
ready ready active closed closed active active active ready closed
grove ember hana pending ready fable indigo lina paused closed cobalt fable hana active ready harbor fable hana closed pending delta amber chen pending closed amber juniper eli pending failed cobalt harbor jules pending active
ready closed ready pending closed failed active
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023206
qwen/qwen3.7-plus
awkweave-0023207
Print the complete records where column 3 is at least 63.
$3 >= 63
fable birch 92 juniper grove birch 18 cobalt amber indigo 95 delta harbor birch 30 amber birch amber 14 birch juniper amber 51 indigo amber harbor 32 amber
fable birch 92 juniper amber indigo 95 delta
grove grove 4 birch harbor cobalt 25 juniper ember cobalt 82 cobalt juniper grove 118 grove juniper fable 12 harbor amber juniper 86 grove delta juniper 100 fable
ember cobalt 82 cobalt juniper grove 118 grove amber juniper 86 grove delta juniper 100 fable
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023207-p1
Output full records where the value in column 3 is greater than or equal to 63.
$3 >= 63
fable birch 92 juniper grove birch 18 cobalt amber indigo 95 delta harbor birch 30 amber birch amber 14 birch juniper amber 51 indigo amber harbor 32 amber
fable birch 92 juniper amber indigo 95 delta
grove grove 4 birch harbor cobalt 25 juniper ember cobalt 82 cobalt juniper grove 118 grove juniper fable 12 harbor amber juniper 86 grove delta juniper 100 fable
ember cobalt 82 cobalt juniper grove 118 grove amber juniper 86 grove delta juniper 100 fable
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023207
qwen/qwen3.7-plus
awkweave-0023208
Show whole lines whose 2nd field is between 10 and 23, inclusive.
$2 >= 10 && $2 <= 23
pending 16 indigo grove pending 6 fable cobalt failed 2 juniper fable failed 2 delta amber ready 24 harbor delta failed 17 ember birch closed 20 birch juniper
pending 16 indigo grove failed 17 ember birch closed 20 birch juniper
pending 14 amber fable closed 21 grove harbor failed 14 indigo ember paused 14 birch amber failed 28 delta amber failed 17 ember cobalt
pending 14 amber fable closed 21 grove harbor failed 14 indigo ember paused 14 birch amber failed 17 ember cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023208-p1
Display entire lines where the second field falls within the inclusive range of 10 to 23.
$2 >= 10 && $2 <= 23
pending 16 indigo grove pending 6 fable cobalt failed 2 juniper fable failed 2 delta amber ready 24 harbor delta failed 17 ember birch closed 20 birch juniper
pending 16 indigo grove failed 17 ember birch closed 20 birch juniper
pending 14 amber fable closed 21 grove harbor failed 14 indigo ember paused 14 birch amber failed 28 delta amber failed 17 ember cobalt
pending 14 amber fable closed 21 grove harbor failed 14 indigo ember paused 14 birch amber failed 17 ember cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023208
qwen/qwen3.7-plus
awkweave-0023209
Print column 1 only for rows where column 3 is exactly pending.
$3 == "pending"{print $1}
dina 9 paused indigo jules 72 closed ember dina 38 active amber hana 94 closed cobalt chen 41 failed cobalt alice 110 pending cobalt bruno 33 failed harbor eli 103 ready grove dina 117 closed fable chen 26 failed grove
alice
bruno 14 pending birch kim 37 pending juniper alice 33 pending grove kim 23 closed indigo bruno 90 paused cobalt eli 6 closed grove hana 35 ready juniper farah 18 ready birch
bruno kim alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023209-p1
Print only the first column for rows where the third column contains exactly the text pending.
$3 == "pending"{print $1}
dina 9 paused indigo jules 72 closed ember dina 38 active amber hana 94 closed cobalt chen 41 failed cobalt alice 110 pending cobalt bruno 33 failed harbor eli 103 ready grove dina 117 closed fable chen 26 failed grove
alice
bruno 14 pending birch kim 37 pending juniper alice 33 pending grove kim 23 closed indigo bruno 90 paused cobalt eli 6 closed grove hana 35 ready juniper farah 18 ready birch
bruno kim alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023209
qwen/qwen3.7-plus
awkweave-0023210
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
42 delta INFO 95 fable ERROR 14 fable WARN 56 grove ERROR 35 cobalt WARN 55 birch ERROR 57 fable DEBUG 8 juniper WARN
14 fable WARN 35 cobalt WARN 8 juniper WARN
48 grove DEBUG 3 delta ERROR 71 delta DEBUG 117 birch INFO 97 indigo DEBUG 14 grove INFO 3 delta WARN 47 juniper DEBUG
3 delta WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023210-p1
Print all fields from lines where the third field starts with the string WARN.
$3 ~ /^WARN/
42 delta INFO 95 fable ERROR 14 fable WARN 56 grove ERROR 35 cobalt WARN 55 birch ERROR 57 fable DEBUG 8 juniper WARN
14 fable WARN 35 cobalt WARN 8 juniper WARN
48 grove DEBUG 3 delta ERROR 71 delta DEBUG 117 birch INFO 97 indigo DEBUG 14 grove INFO 3 delta WARN 47 juniper DEBUG
3 delta WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023210
qwen/qwen3.7-plus
awkweave-0023211
Print every line except those containing the exact text delta.
$0 !~ /delta/
grove 27 active birch 76 failed juniper 37 closed harbor 106 paused delta 105 ready birch 76 paused juniper 80 closed cobalt 62 closed cobalt 59 failed harbor 52 pending delta 999 active
grove 27 active birch 76 failed juniper 37 closed harbor 106 paused birch 76 paused juniper 80 closed cobalt 62 closed cobalt 59 failed harbor 52 pending
cobalt 48 active indigo 70 closed amber 48 pending juniper 108 failed grove 93 paused birch 50 active juniper 54 ready delta 999 active
cobalt 48 active indigo 70 closed amber 48 pending juniper 108 failed grove 93 paused birch 50 active juniper 54 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023211-p1
Output every line that does not contain the exact string delta.
$0 !~ /delta/
grove 27 active birch 76 failed juniper 37 closed harbor 106 paused delta 105 ready birch 76 paused juniper 80 closed cobalt 62 closed cobalt 59 failed harbor 52 pending delta 999 active
grove 27 active birch 76 failed juniper 37 closed harbor 106 paused birch 76 paused juniper 80 closed cobalt 62 closed cobalt 59 failed harbor 52 pending
cobalt 48 active indigo 70 closed amber 48 pending juniper 108 failed grove 93 paused birch 50 active juniper 54 ready delta 999 active
cobalt 48 active indigo 70 closed amber 48 pending juniper 108 failed grove 93 paused birch 50 active juniper 54 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023211
qwen/qwen3.7-plus
awkweave-0023212
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
hana ember 72 kim birch 79 hana cobalt 44 ivan cobalt 112 hana ember 54 ivan amber 62 bruno ember 21 jules delta 38
kim birch 79 hana cobalt 44
eli fable 67 gus amber 45 hana fable 70 lina cobalt 69 chen grove 89 alice grove 49 eli delta 63 bruno harbor 52
gus amber 45 hana fable 70
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023212-p1
Display lines 2 to 3, inclusive of both ends.
NR >= 2 && NR <= 3
hana ember 72 kim birch 79 hana cobalt 44 ivan cobalt 112 hana ember 54 ivan amber 62 bruno ember 21 jules delta 38
kim birch 79 hana cobalt 44
eli fable 67 gus amber 45 hana fable 70 lina cobalt 69 chen grove 89 alice grove 49 eli delta 63 bruno harbor 52
gus amber 45 hana fable 70
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023212
qwen/qwen3.7-plus
awkweave-0023213
Output only the first 3 records.
NR <= 3
dina 74 cobalt dina 91 indigo dina 62 indigo gus 109 fable alice 14 indigo kim 105 ember
dina 74 cobalt dina 91 indigo dina 62 indigo
jules 99 delta gus 79 fable farah 49 indigo bruno 35 cobalt dina 65 harbor dina 21 harbor farah 79 indigo dina 36 indigo lina 84 amber eli 29 ember
jules 99 delta gus 79 fable farah 49 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023213-p1
Output just the initial 3 records.
NR <= 3
dina 74 cobalt dina 91 indigo dina 62 indigo gus 109 fable alice 14 indigo kim 105 ember
dina 74 cobalt dina 91 indigo dina 62 indigo
jules 99 delta gus 79 fable farah 49 indigo bruno 35 cobalt dina 65 harbor dina 21 harbor farah 79 indigo dina 36 indigo lina 84 amber eli 29 ember
jules 99 delta gus 79 fable farah 49 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023213
qwen/qwen3.7-plus
awkweave-0023214
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 71 fable dina 50 indigo farah 34 grove kim 5 birch hana 79 ember dina 115 grove hana 109 birch
dina 50 indigo farah 34 grove kim 5 birch hana 79 ember dina 115 grove hana 109 birch
lina 14 amber farah 65 indigo chen 60 birch alice 28 fable chen 47 cobalt farah 41 juniper chen 71 harbor lina 31 harbor chen 22 amber
farah 65 indigo chen 60 birch alice 28 fable chen 47 cobalt farah 41 juniper chen 71 harbor lina 31 harbor chen 22 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023214-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
ivan 71 fable dina 50 indigo farah 34 grove kim 5 birch hana 79 ember dina 115 grove hana 109 birch
dina 50 indigo farah 34 grove kim 5 birch hana 79 ember dina 115 grove hana 109 birch
lina 14 amber farah 65 indigo chen 60 birch alice 28 fable chen 47 cobalt farah 41 juniper chen 71 harbor lina 31 harbor chen 22 amber
farah 65 indigo chen 60 birch alice 28 fable chen 47 cobalt farah 41 juniper chen 71 harbor lina 31 harbor chen 22 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023214
qwen/qwen3.7-plus
awkweave-0023215
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
farah ready 56 chen ready 11 eli paused 96 ivan ready 56 kim failed 14 chen pending 3
1
dina active 5 gus closed 42 kim ready 27 dina closed 75 kim closed 37 kim closed 23 chen paused 69 lina closed 4
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023215-p1
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
farah ready 56 chen ready 11 eli paused 96 ivan ready 56 kim failed 14 chen pending 3
1
dina active 5 gus closed 42 kim ready 27 dina closed 75 kim closed 37 kim closed 23 chen paused 69 lina closed 4
0
count_matches
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0023215
qwen/qwen3.7-plus
awkweave-0023216
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
jules 24 grove chen 12 grove alice 29 delta ivan 1 harbor chen 27 fable ivan 7 harbor
100
farah 18 harbor alice 19 ember ivan 24 harbor hana 27 ember eli 15 ember lina 29 birch
132
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023216-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
jules 24 grove chen 12 grove alice 29 delta ivan 1 harbor chen 27 fable ivan 7 harbor
100
farah 18 harbor alice 19 ember ivan 24 harbor hana 27 ember eli 15 ember lina 29 birch
132
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023216
qwen/qwen3.7-plus
awkweave-0023217
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 9 delta alice 25 birch hana 25 juniper chen 3 fable lina 24 grove chen 22 birch lina 22 cobalt eli 12 birch bruno 29 juniper gus 18 grove
18.90
jules 18 delta chen 3 delta alice 11 birch lina 29 indigo alice 14 fable kim 10 birch chen 8 birch bruno 26 grove jules 14 cobalt
14.78
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023217-p1
Calculate and show the average of column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 9 delta alice 25 birch hana 25 juniper chen 3 fable lina 24 grove chen 22 birch lina 22 cobalt eli 12 birch bruno 29 juniper gus 18 grove
18.90
jules 18 delta chen 3 delta alice 11 birch lina 29 indigo alice 14 fable kim 10 birch chen 8 birch bruno 26 grove jules 14 cobalt
14.78
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023217
qwen/qwen3.7-plus
awkweave-0023218
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
28 birch alice 24 juniper dina 10 birch eli 8 amber bruno 20 grove eli 8 fable kim 12 indigo gus
8
19 juniper alice 11 birch ivan 28 harbor dina 27 grove jules 27 grove jules 18 juniper dina 16 delta kim
11
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023218-p1
Identify and output the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
28 birch alice 24 juniper dina 10 birch eli 8 amber bruno 20 grove eli 8 fable kim 12 indigo gus
8
19 juniper alice 11 birch ivan 28 harbor dina 27 grove jules 27 grove jules 18 juniper dina 16 delta kim
11
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023218
qwen/qwen3.7-plus
awkweave-0023219
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 bruno grove 7 hana grove 15 farah ember 16 lina delta 6 hana harbor 7 eli delta 16 chen juniper
16
17 bruno cobalt 3 lina grove 8 kim delta 13 kim indigo 1 eli indigo 26 bruno amber 4 jules grove
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023219-p1
Identify and output the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 bruno grove 7 hana grove 15 farah ember 16 lina delta 6 hana harbor 7 eli delta 16 chen juniper
16
17 bruno cobalt 3 lina grove 8 kim delta 13 kim indigo 1 eli indigo 26 bruno amber 4 jules grove
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023219
qwen/qwen3.7-plus
awkweave-0023220
Count all input records and print the total.
END{print NR}
hana 56 jules 80 chen 0 lina 1 gus 91 kim 58
6
kim 63 lina 105 alice 77 jules 118 alice 99 kim 47 eli 98 ivan 83
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0023220-p1
Count every input record and print the final total.
END{print NR}
hana 56 jules 80 chen 0 lina 1 gus 91 kim 58
6
kim 63 lina 105 alice 77 jules 118 alice 99 kim 47 eli 98 ivan 83
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0023220
qwen/qwen3.7-plus
awkweave-0023221
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli fable 56 alice delta 117 kim fable 105 gus harbor 66 lina grove 49 ivan cobalt 111 lina grove 49 dina ember 112
eli fable 56 alice delta 117 kim fable 105 gus harbor 66 lina grove 49 ivan cobalt 111 dina ember 112
ivan fable 89 jules juniper 116 lina birch 30 chen indigo 69 chen fable 15 dina amber 49 kim amber 111 hana indigo 103 ivan fable 89 chen indigo 103
ivan fable 89 jules juniper 116 lina birch 30 chen indigo 69 chen fable 15 dina amber 49 kim amber 111 hana indigo 103 chen indigo 103
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null