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-0014660-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, 8, ...).
NR%3==2
hana 89 kim 111 alice 15 dina 93 eli 80 chen 71 dina 104 alice 40 ivan 44
kim 111 eli 80 alice 40
alice 78 bruno 79 lina 74 alice 106 hana 112 lina 60
bruno 79 hana 112
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014660
qwen/qwen3.7-plus
awkweave-0014661
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha birch 40 gamma grove 67 beta delta 83 beta cobalt 103 beta harbor 117 delta amber 40 alpha juniper 25
4
alpha cobalt 40 beta grove 63 gamma birch 63 gamma juniper 17 delta birch 35 gamma ember 46 alpha birch 32
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014661-p1
Calculate and display only the number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
alpha birch 40 gamma grove 67 beta delta 83 beta cobalt 103 beta harbor 117 delta amber 40 alpha juniper 25
4
alpha cobalt 40 beta grove 63 gamma birch 63 gamma juniper 17 delta birch 35 gamma ember 46 alpha birch 32
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014661
qwen/qwen3.7-plus
awkweave-0014662
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 26 0 bruno 7 10 lina 16 3 dina 5 11 hana 14 29 ivan 13 8 alice 2 4 dina 11 5 kim 3 23 alice 12 28
bruno 0.70 lina 5.33 dina 0.45 hana 0.48 ivan 1.62 alice 0.50 dina 2.20 kim 0.13 alice 0.43
bruno 26 0 kim 10 11 kim 20 17 kim 6 7 hana 27 17 farah 17 4 farah 26 17 hana 29 2 ivan 30 5
kim 0.91 kim 1.18 kim 0.86 hana 1.59 farah 4.25 farah 1.53 hana 14.50 ivan 6.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014662-p1
For each row where the third column is not 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}
chen 26 0 bruno 7 10 lina 16 3 dina 5 11 hana 14 29 ivan 13 8 alice 2 4 dina 11 5 kim 3 23 alice 12 28
bruno 0.70 lina 5.33 dina 0.45 hana 0.48 ivan 1.62 alice 0.50 dina 2.20 kim 0.13 alice 0.43
bruno 26 0 kim 10 11 kim 20 17 kim 6 7 hana 27 17 farah 17 4 farah 26 17 hana 29 2 ivan 30 5
kim 0.91 kim 1.18 kim 0.86 hana 1.59 farah 4.25 farah 1.53 hana 14.50 ivan 6.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014662
qwen/qwen3.7-plus
awkweave-0014663
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]}
kim cobalt 25 farah delta 8 farah amber 18 chen amber 12 ivan harbor 6 alice birch 29
alice birch 29 kim cobalt 25 farah amber 18
chen harbor 28 eli amber 2 gus harbor 23 ivan delta 14 ivan ember 16 alice grove 11 lina harbor 15 gus amber 20 bruno cobalt 9 gus grove 7
chen harbor 28 gus harbor 23 gus amber 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014663-p1
Display the full records corresponding to the top three 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]}
kim cobalt 25 farah delta 8 farah amber 18 chen amber 12 ivan harbor 6 alice birch 29
alice birch 29 kim cobalt 25 farah amber 18
chen harbor 28 eli amber 2 gus harbor 23 ivan delta 14 ivan ember 16 alice grove 11 lina harbor 15 gus amber 20 bruno cobalt 9 gus grove 7
chen harbor 28 gus harbor 23 gus amber 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014663
qwen/qwen3.7-plus
awkweave-0014664
Select the 5th and 4th fields in that order.
{print $5, $4}
10 cobalt grove indigo failed 114 birch indigo cobalt closed 3 birch harbor harbor failed 53 birch juniper cobalt active 62 ember cobalt delta pending 89 indigo ember amber active 48 cobalt harbor fable paused 43 indigo grove amber pending 30 fable birch delta paused
failed indigo closed cobalt failed harbor active cobalt pending delta active amber paused fable pending amber paused delta
32 fable ember ember ready 18 juniper indigo fable closed 98 cobalt harbor birch closed 59 amber ember cobalt ready 106 birch indigo amber pending 102 harbor grove birch failed
ready ember closed fable closed birch ready cobalt pending amber failed birch
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014664-p1
Extract and print the 5th field followed by the 4th field.
{print $5, $4}
10 cobalt grove indigo failed 114 birch indigo cobalt closed 3 birch harbor harbor failed 53 birch juniper cobalt active 62 ember cobalt delta pending 89 indigo ember amber active 48 cobalt harbor fable paused 43 indigo grove amber pending 30 fable birch delta paused
failed indigo closed cobalt failed harbor active cobalt pending delta active amber paused fable pending amber paused delta
32 fable ember ember ready 18 juniper indigo fable closed 98 cobalt harbor birch closed 59 amber ember cobalt ready 106 birch indigo amber pending 102 harbor grove birch failed
ready ember closed fable closed birch ready cobalt pending amber failed birch
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014664
qwen/qwen3.7-plus
awkweave-0014665
Print the last field of every input line.
{print $NF}
paused ready bruno closed failed bruno ready failed eli paused closed jules active active hana closed ready eli failed paused kim failed ready kim failed closed eli active ready gus
bruno bruno eli jules hana eli kim kim eli gus
failed closed alice failed pending kim pending ready hana pending closed alice ready failed eli closed closed eli active failed dina
alice kim hana alice eli eli dina
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014665-p1
Output the final field from each input line.
{print $NF}
paused ready bruno closed failed bruno ready failed eli paused closed jules active active hana closed ready eli failed paused kim failed ready kim failed closed eli active ready gus
bruno bruno eli jules hana eli kim kim eli gus
failed closed alice failed pending kim pending ready hana pending closed alice ready failed eli closed closed eli active failed dina
alice kim hana alice eli eli dina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014665
qwen/qwen3.7-plus
awkweave-0014666
Print the complete records where column 1 is greater than 21.
$1 > 21
50 paused chen birch 11 active alice harbor 75 closed bruno harbor 72 pending lina amber 21 pending kim grove 23 ready hana harbor 33 active eli juniper 50 pending kim juniper 43 failed chen cobalt
50 paused chen birch 75 closed bruno harbor 72 pending lina amber 23 ready hana harbor 33 active eli juniper 50 pending kim juniper 43 failed chen cobalt
49 failed bruno grove 100 paused eli indigo 12 pending ivan fable 112 paused lina birch 12 paused alice juniper 45 ready ivan indigo 81 closed farah harbor
49 failed bruno grove 100 paused eli indigo 112 paused lina birch 45 ready ivan indigo 81 closed farah harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014666-p1
Print the entire record for any row where the value in column 1 exceeds 21.
$1 > 21
50 paused chen birch 11 active alice harbor 75 closed bruno harbor 72 pending lina amber 21 pending kim grove 23 ready hana harbor 33 active eli juniper 50 pending kim juniper 43 failed chen cobalt
50 paused chen birch 75 closed bruno harbor 72 pending lina amber 23 ready hana harbor 33 active eli juniper 50 pending kim juniper 43 failed chen cobalt
49 failed bruno grove 100 paused eli indigo 12 pending ivan fable 112 paused lina birch 12 paused alice juniper 45 ready ivan indigo 81 closed farah harbor
49 failed bruno grove 100 paused eli indigo 112 paused lina birch 45 ready ivan indigo 81 closed farah harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014666
qwen/qwen3.7-plus
awkweave-0014667
Show whole lines whose 3rd field is between 10 and 25, inclusive.
$3 >= 10 && $3 <= 25
farah ready 15 eli farah paused 24 ivan hana pending 18 gus bruno failed 4 hana ivan active 2 ivan gus paused 17 eli lina pending 5 farah
farah ready 15 eli farah paused 24 ivan hana pending 18 gus gus paused 17 eli
alice pending 20 hana kim closed 11 ivan kim active 29 gus kim paused 8 jules chen ready 18 eli bruno closed 28 lina hana failed 18 chen lina active 13 eli lina active 6 lina hana closed 18 farah
alice pending 20 hana kim closed 11 ivan chen ready 18 eli hana failed 18 chen lina active 13 eli hana closed 18 farah
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014667-p1
Display complete lines where the third field falls within the inclusive range of 10 to 25.
$3 >= 10 && $3 <= 25
farah ready 15 eli farah paused 24 ivan hana pending 18 gus bruno failed 4 hana ivan active 2 ivan gus paused 17 eli lina pending 5 farah
farah ready 15 eli farah paused 24 ivan hana pending 18 gus gus paused 17 eli
alice pending 20 hana kim closed 11 ivan kim active 29 gus kim paused 8 jules chen ready 18 eli bruno closed 28 lina hana failed 18 chen lina active 13 eli lina active 6 lina hana closed 18 farah
alice pending 20 hana kim closed 11 ivan chen ready 18 eli hana failed 18 chen lina active 13 eli hana closed 18 farah
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014667
qwen/qwen3.7-plus
awkweave-0014668
Print column 4 only for rows where column 1 is exactly paused.
$1 == "paused"{print $4}
ready 38 fable gus closed 70 juniper kim paused 5 fable lina ready 37 juniper ivan pending 76 grove farah active 116 indigo farah active 10 ember bruno active 84 harbor lina
lina
paused 34 cobalt chen pending 96 fable chen closed 48 fable lina active 117 birch alice failed 18 juniper kim ready 17 harbor alice closed 10 cobalt lina pending 62 birch kim failed 34 juniper bruno ready 6 indigo hana
chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014668-p1
Output only the fourth column for rows where the first column contains exactly the text 'paused'.
$1 == "paused"{print $4}
ready 38 fable gus closed 70 juniper kim paused 5 fable lina ready 37 juniper ivan pending 76 grove farah active 116 indigo farah active 10 ember bruno active 84 harbor lina
lina
paused 34 cobalt chen pending 96 fable chen closed 48 fable lina active 117 birch alice failed 18 juniper kim ready 17 harbor alice closed 10 cobalt lina pending 62 birch kim failed 34 juniper bruno ready 6 indigo hana
chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014668
qwen/qwen3.7-plus
awkweave-0014669
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
91 ERROR ember 15 INFO cobalt 104 WARN delta 72 INFO indigo 53 WARN cobalt 93 DEBUG indigo 29 WARN grove 27 INFO delta
91 ERROR ember
19 INFO amber 18 DEBUG grove 72 INFO delta 18 ERROR indigo 94 ERROR ember 109 INFO cobalt 12 INFO harbor 65 WARN juniper 44 ERROR ember
18 ERROR indigo 94 ERROR ember 44 ERROR ember
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014669-p1
Print all fields from any line where the second field starts with the string 'ERROR'.
$2 ~ /^ERROR/
91 ERROR ember 15 INFO cobalt 104 WARN delta 72 INFO indigo 53 WARN cobalt 93 DEBUG indigo 29 WARN grove 27 INFO delta
91 ERROR ember
19 INFO amber 18 DEBUG grove 72 INFO delta 18 ERROR indigo 94 ERROR ember 109 INFO cobalt 12 INFO harbor 65 WARN juniper 44 ERROR ember
18 ERROR indigo 94 ERROR ember 44 ERROR ember
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014669
qwen/qwen3.7-plus
awkweave-0014670
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
harbor 53 failed delta 106 paused fable 39 paused ember 32 ready amber 92 failed fable 6 pending harbor 117 pending indigo 0 ready juniper 999 active
harbor 53 failed delta 106 paused fable 39 paused ember 32 ready amber 92 failed fable 6 pending harbor 117 pending indigo 0 ready
cobalt 61 pending indigo 76 paused juniper 48 active harbor 17 paused harbor 55 closed harbor 70 active juniper 999 active
cobalt 61 pending indigo 76 paused harbor 17 paused harbor 55 closed harbor 70 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014670-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
harbor 53 failed delta 106 paused fable 39 paused ember 32 ready amber 92 failed fable 6 pending harbor 117 pending indigo 0 ready juniper 999 active
harbor 53 failed delta 106 paused fable 39 paused ember 32 ready amber 92 failed fable 6 pending harbor 117 pending indigo 0 ready
cobalt 61 pending indigo 76 paused juniper 48 active harbor 17 paused harbor 55 closed harbor 70 active juniper 999 active
cobalt 61 pending indigo 76 paused harbor 17 paused harbor 55 closed harbor 70 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014670
qwen/qwen3.7-plus
awkweave-0014671
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
dina birch 41 gus harbor 27 hana birch 70 kim harbor 100 jules harbor 79 kim indigo 117 ivan juniper 102 ivan birch 25
kim harbor 100 jules harbor 79 kim indigo 117
dina amber 74 hana juniper 15 jules ember 1 gus grove 40 farah birch 88 jules grove 79 hana grove 110 jules juniper 64 eli delta 51 jules fable 93
gus grove 40 farah birch 88 jules grove 79
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014671-p1
Print lines 4, 5, and 6.
NR >= 4 && NR <= 6
dina birch 41 gus harbor 27 hana birch 70 kim harbor 100 jules harbor 79 kim indigo 117 ivan juniper 102 ivan birch 25
kim harbor 100 jules harbor 79 kim indigo 117
dina amber 74 hana juniper 15 jules ember 1 gus grove 40 farah birch 88 jules grove 79 hana grove 110 jules juniper 64 eli delta 51 jules fable 93
gus grove 40 farah birch 88 jules grove 79
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014671
qwen/qwen3.7-plus
awkweave-0014672
Output only the first 5 records.
NR <= 5
kim 26 fable jules 100 harbor ivan 31 indigo alice 91 cobalt hana 73 amber bruno 95 fable kim 25 indigo chen 105 fable chen 12 juniper
kim 26 fable jules 100 harbor ivan 31 indigo alice 91 cobalt hana 73 amber
dina 53 juniper gus 37 ember eli 39 harbor chen 118 amber hana 51 cobalt lina 5 harbor ivan 31 ember dina 34 fable kim 58 fable bruno 45 indigo
dina 53 juniper gus 37 ember eli 39 harbor chen 118 amber hana 51 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014672-p1
Display only the initial five records.
NR <= 5
kim 26 fable jules 100 harbor ivan 31 indigo alice 91 cobalt hana 73 amber bruno 95 fable kim 25 indigo chen 105 fable chen 12 juniper
kim 26 fable jules 100 harbor ivan 31 indigo alice 91 cobalt hana 73 amber
dina 53 juniper gus 37 ember eli 39 harbor chen 118 amber hana 51 cobalt lina 5 harbor ivan 31 ember dina 34 fable kim 58 fable bruno 45 indigo
dina 53 juniper gus 37 ember eli 39 harbor chen 118 amber hana 51 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014672
qwen/qwen3.7-plus
awkweave-0014673
Skip the first line and print every remaining line unchanged.
NR > 1
dina 2 fable hana 74 ember alice 112 cobalt kim 22 delta chen 90 cobalt jules 79 harbor gus 33 harbor bruno 33 grove
hana 74 ember alice 112 cobalt kim 22 delta chen 90 cobalt jules 79 harbor gus 33 harbor bruno 33 grove
farah 1 cobalt chen 8 juniper chen 13 amber ivan 42 cobalt jules 100 amber farah 78 harbor bruno 117 delta
chen 8 juniper chen 13 amber ivan 42 cobalt jules 100 amber farah 78 harbor bruno 117 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014673-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
dina 2 fable hana 74 ember alice 112 cobalt kim 22 delta chen 90 cobalt jules 79 harbor gus 33 harbor bruno 33 grove
hana 74 ember alice 112 cobalt kim 22 delta chen 90 cobalt jules 79 harbor gus 33 harbor bruno 33 grove
farah 1 cobalt chen 8 juniper chen 13 amber ivan 42 cobalt jules 100 amber farah 78 harbor bruno 117 delta
chen 8 juniper chen 13 amber ivan 42 cobalt jules 100 amber farah 78 harbor bruno 117 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014673
qwen/qwen3.7-plus
awkweave-0014674
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
jules paused 53 dina pending 24 dina failed 102 bruno active 108 ivan closed 109 farah failed 100 jules active 57 jules closed 70
2
chen closed 12 jules failed 48 alice active 100 hana pending 44 chen ready 57 hana paused 54
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014674-p1
Determine the number of entries where column 2 is 'closed', outputting 0 if no such entries exist.
$2 == "closed"{n++}END{print n+0}
jules paused 53 dina pending 24 dina failed 102 bruno active 108 ivan closed 109 farah failed 100 jules active 57 jules closed 70
2
chen closed 12 jules failed 48 alice active 100 hana pending 44 chen ready 57 hana paused 54
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014674
qwen/qwen3.7-plus
awkweave-0014675
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
bruno 14 fable ivan 6 fable bruno 26 indigo lina 25 delta hana 5 birch ivan 4 juniper chen 12 cobalt ivan 16 amber ivan 22 cobalt gus 2 ember
132
chen 3 amber dina 29 ember lina 9 ember jules 15 delta chen 7 grove ivan 11 ember dina 11 cobalt gus 4 cobalt
89
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014675-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
bruno 14 fable ivan 6 fable bruno 26 indigo lina 25 delta hana 5 birch ivan 4 juniper chen 12 cobalt ivan 16 amber ivan 22 cobalt gus 2 ember
132
chen 3 amber dina 29 ember lina 9 ember jules 15 delta chen 7 grove ivan 11 ember dina 11 cobalt gus 4 cobalt
89
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014675
qwen/qwen3.7-plus
awkweave-0014676
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 4 chen harbor 18 ivan grove 18 chen grove 1 hana cobalt 21 bruno birch 8 ivan
11.67
ember 7 bruno ember 23 lina juniper 16 lina fable 10 ivan indigo 12 alice cobalt 16 eli ember 27 alice juniper 14 farah grove 29 jules fable 14 kim
16.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014676-p1
Output the average of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 4 chen harbor 18 ivan grove 18 chen grove 1 hana cobalt 21 bruno birch 8 ivan
11.67
ember 7 bruno ember 23 lina juniper 16 lina fable 10 ivan indigo 12 alice cobalt 16 eli ember 27 alice juniper 14 farah grove 29 jules fable 14 kim
16.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014676
qwen/qwen3.7-plus
awkweave-0014677
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
farah 19 cobalt dina 29 fable ivan 7 birch farah 27 delta alice 26 indigo lina 4 fable
4
ivan 4 amber ivan 1 juniper jules 14 juniper hana 29 fable gus 12 delta eli 1 birch hana 15 juniper alice 5 birch
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014677-p1
Identify and display the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
farah 19 cobalt dina 29 fable ivan 7 birch farah 27 delta alice 26 indigo lina 4 fable
4
ivan 4 amber ivan 1 juniper jules 14 juniper hana 29 fable gus 12 delta eli 1 birch hana 15 juniper alice 5 birch
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014677
qwen/qwen3.7-plus
awkweave-0014678
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
chen 25 fable chen 28 harbor jules 29 cobalt jules 20 amber bruno 22 birch eli 14 cobalt bruno 6 cobalt jules 24 juniper
29
alice 18 grove ivan 19 harbor bruno 26 cobalt gus 16 indigo alice 6 amber farah 8 delta kim 2 harbor farah 17 birch
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014678-p1
Identify and display the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
chen 25 fable chen 28 harbor jules 29 cobalt jules 20 amber bruno 22 birch eli 14 cobalt bruno 6 cobalt jules 24 juniper
29
alice 18 grove ivan 19 harbor bruno 26 cobalt gus 16 indigo alice 6 amber farah 8 delta kim 2 harbor farah 17 birch
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014678
qwen/qwen3.7-plus
awkweave-0014679
Count all input records and print the total.
END{print NR}
ivan 6 bruno 119 bruno 92 hana 61 hana 64 jules 18
6
alice 55 gus 98 ivan 50 kim 116 lina 75 hana 8 gus 51
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014679-p1
Count the total number of input records and print the result.
END{print NR}
ivan 6 bruno 119 bruno 92 hana 61 hana 64 jules 18
6
alice 55 gus 98 ivan 50 kim 116 lina 75 hana 8 gus 51
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014679
qwen/qwen3.7-plus
awkweave-0014680
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina fable 49 ivan cobalt 82 dina fable 30 bruno birch 83 bruno delta 99 ivan cobalt 82 eli fable 24 ivan juniper 10 gus ember 85 ivan amber 108
lina fable 49 ivan cobalt 82 dina fable 30 bruno birch 83 bruno delta 99 eli fable 24 ivan juniper 10 gus ember 85 ivan amber 108
lina cobalt 78 farah delta 107 farah cobalt 87 kim harbor 17 kim harbor 17 chen grove 30 ivan indigo 3 bruno amber 90
lina cobalt 78 farah delta 107 farah cobalt 87 kim harbor 17 chen grove 30 ivan indigo 3 bruno amber 90
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014680-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
lina fable 49 ivan cobalt 82 dina fable 30 bruno birch 83 bruno delta 99 ivan cobalt 82 eli fable 24 ivan juniper 10 gus ember 85 ivan amber 108
lina fable 49 ivan cobalt 82 dina fable 30 bruno birch 83 bruno delta 99 eli fable 24 ivan juniper 10 gus ember 85 ivan amber 108
lina cobalt 78 farah delta 107 farah cobalt 87 kim harbor 17 kim harbor 17 chen grove 30 ivan indigo 3 bruno amber 90
lina cobalt 78 farah delta 107 farah cobalt 87 kim harbor 17 chen grove 30 ivan indigo 3 bruno amber 90
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014680
qwen/qwen3.7-plus
awkweave-0014681
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
ivan harbor 16 chen juniper 118 bruno grove 15 eli grove 56 kim grove 102 farah harbor 90
ivan harbor 16 chen juniper 118 bruno grove 15 eli grove 56 kim grove 102 farah harbor 90
jules fable 85 hana cobalt 99 farah amber 62 jules amber 17 dina amber 55 dina cobalt 7 hana cobalt 43 kim harbor 51 farah amber 13 dina birch 7
jules fable 85 hana cobalt 99 farah amber 62 jules amber 17 dina amber 55 dina cobalt 7 hana cobalt 43 kim harbor 51 farah amber 13
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014681-p1
Retain only the first occurrence for each unique value in column 3, preserving the original sequence.
!seen[$3]++
ivan harbor 16 chen juniper 118 bruno grove 15 eli grove 56 kim grove 102 farah harbor 90
ivan harbor 16 chen juniper 118 bruno grove 15 eli grove 56 kim grove 102 farah harbor 90
jules fable 85 hana cobalt 99 farah amber 62 jules amber 17 dina amber 55 dina cobalt 7 hana cobalt 43 kim harbor 51 farah amber 13 dina birch 7
jules fable 85 hana cobalt 99 farah amber 62 jules amber 17 dina amber 55 dina cobalt 7 hana cobalt 43 kim harbor 51 farah amber 13
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014681
qwen/qwen3.7-plus
awkweave-0014682
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 11 birch dina 8 cobalt gus 21 amber bruno 27 fable kim 9 harbor ivan 8 delta dina 21 birch hana 12 amber
bruno 11 dina 19 gus 40 bruno 67 kim 76 ivan 84 dina 105 hana 117
dina 17 cobalt hana 30 harbor eli 23 grove bruno 20 juniper alice 26 amber bruno 3 amber alice 20 cobalt
dina 17 hana 47 eli 70 bruno 90 alice 116 bruno 119 alice 139
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014682-p1
For every record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 11 birch dina 8 cobalt gus 21 amber bruno 27 fable kim 9 harbor ivan 8 delta dina 21 birch hana 12 amber
bruno 11 dina 19 gus 40 bruno 67 kim 76 ivan 84 dina 105 hana 117
dina 17 cobalt hana 30 harbor eli 23 grove bruno 20 juniper alice 26 amber bruno 3 amber alice 20 cobalt
dina 17 hana 47 eli 70 bruno 90 alice 116 bruno 119 alice 139
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014682
qwen/qwen3.7-plus
awkweave-0014683
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 8 25 ember eli 21 2 cobalt alice 3 13 cobalt kim 15 16 delta dina 12 3 birch ivan 6 3 birch
hana 33 eli 23 alice 16 kim 31 dina 15 ivan 9
chen 19 29 harbor bruno 11 20 cobalt farah 27 12 cobalt gus 24 26 delta lina 17 6 birch alice 4 15 birch ivan 6 6 harbor jules 11 30 grove chen 16 19 fable
chen 48 bruno 31 farah 39 gus 50 lina 23 alice 19 ivan 12 jules 41 chen 35
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014683-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 8 25 ember eli 21 2 cobalt alice 3 13 cobalt kim 15 16 delta dina 12 3 birch ivan 6 3 birch
hana 33 eli 23 alice 16 kim 31 dina 15 ivan 9
chen 19 29 harbor bruno 11 20 cobalt farah 27 12 cobalt gus 24 26 delta lina 17 6 birch alice 4 15 birch ivan 6 6 harbor jules 11 30 grove chen 16 19 fable
chen 48 bruno 31 farah 39 gus 50 lina 23 alice 19 ivan 12 jules 41 chen 35
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014683
qwen/qwen3.7-plus
awkweave-0014684
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
bruno 3 jules 21 ivan 1 gus 23 lina 23 hana 18 farah 29
bruno fail jules fail ivan fail gus fail lina fail hana fail farah pass
lina 1 lina 28 lina 4 chen 22 lina 5 bruno 12 chen 20 bruno 11 ivan 4
lina fail lina pass lina fail chen fail lina fail bruno fail chen fail bruno fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014684-p1
Output column 1; if column 2 is 27 or more, print pass, else print fail.
{print $1,($2>=27?"pass":"fail")}
bruno 3 jules 21 ivan 1 gus 23 lina 23 hana 18 farah 29
bruno fail jules fail ivan fail gus fail lina fail hana fail farah pass
lina 1 lina 28 lina 4 chen 22 lina 5 bruno 12 chen 20 bruno 11 ivan 4
lina fail lina pass lina fail chen fail lina fail bruno fail chen fail bruno fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014684
qwen/qwen3.7-plus
awkweave-0014685
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
hana fable 2 gus juniper 18 chen indigo 100 bruno harbor 31 bruno birch 78 eli ember 53 alice harbor 50
HANA GUS CHEN BRUNO BRUNO ELI ALICE
ivan indigo 18 ivan fable 120 kim juniper 20 farah delta 86 dina birch 56 kim juniper 9 hana grove 105 ivan juniper 104 jules juniper 97
IVAN IVAN KIM FARAH DINA KIM HANA IVAN JULES
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014685-p1
Transform column 1 to uppercase and display only that column.
{print toupper($1)}
hana fable 2 gus juniper 18 chen indigo 100 bruno harbor 31 bruno birch 78 eli ember 53 alice harbor 50
HANA GUS CHEN BRUNO BRUNO ELI ALICE
ivan indigo 18 ivan fable 120 kim juniper 20 farah delta 86 dina birch 56 kim juniper 9 hana grove 105 ivan juniper 104 jules juniper 97
IVAN IVAN KIM FARAH DINA KIM HANA IVAN JULES
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014685
qwen/qwen3.7-plus
awkweave-0014686
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
fable 10 indigo 66 harbor 116 juniper 58 cobalt 48 indigo 116 harbor 31 cobalt 44 fable 52 harbor 64
bl di rb ni ba di rb ba bl rb
cobalt 48 ember 15 grove 27 grove 3 cobalt 91 delta 16 harbor 99
ba be ov ov ba lt rb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014686-p1
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
fable 10 indigo 66 harbor 116 juniper 58 cobalt 48 indigo 116 harbor 31 cobalt 44 fable 52 harbor 64
bl di rb ni ba di rb ba bl rb
cobalt 48 ember 15 grove 27 grove 3 cobalt 91 delta 16 harbor 99
ba be ov ov ba lt rb
substring
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0014686
qwen/qwen3.7-plus
awkweave-0014687
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_cobalt 82 juniper_juniper 9 ember_harbor 118 harbor_indigo 75 indigo_birch 45 birch_juniper 111 cobalt_amber 6
cobalt cobalt juniper juniper ember harbor harbor indigo indigo birch birch juniper cobalt amber
indigo_cobalt 44 ember_harbor 62 grove_ember 92 delta_ember 20 juniper_cobalt 39 grove_ember 115
indigo cobalt ember harbor grove ember delta ember juniper cobalt grove ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014687-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_cobalt 82 juniper_juniper 9 ember_harbor 118 harbor_indigo 75 indigo_birch 45 birch_juniper 111 cobalt_amber 6
cobalt cobalt juniper juniper ember harbor harbor indigo indigo birch birch juniper cobalt amber
indigo_cobalt 44 ember_harbor 62 grove_ember 92 delta_ember 20 juniper_cobalt 39 grove_ember 115
indigo cobalt ember harbor grove ember delta ember juniper cobalt grove ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014687
qwen/qwen3.7-plus
awkweave-0014688
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)}
jules birch 96 paused jules birch 114 pending jules birch 10 ready alice harbor 20 paused eli birch 114 ready bruno juniper 27 paused gus delta 9 paused jules fable 88 active
paused 96 birch jules pending 114 birch jules ready 10 birch jules paused 20 harbor alice ready 114 birch eli paused 27 juniper bruno paused 9 delta gus active 88 fable jules
dina amber 104 closed eli indigo 8 closed dina fable 50 ready kim amber 0 ready kim grove 44 closed ivan fable 31 failed
closed 104 amber dina closed 8 indigo eli ready 50 fable dina ready 0 amber kim closed 44 grove kim failed 31 fable ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014688-p1
Reverse the sequence of fields for each line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules birch 96 paused jules birch 114 pending jules birch 10 ready alice harbor 20 paused eli birch 114 ready bruno juniper 27 paused gus delta 9 paused jules fable 88 active
paused 96 birch jules pending 114 birch jules ready 10 birch jules paused 20 harbor alice ready 114 birch eli paused 27 juniper bruno paused 9 delta gus active 88 fable jules
dina amber 104 closed eli indigo 8 closed dina fable 50 ready kim amber 0 ready kim grove 44 closed ivan fable 31 failed
closed 104 amber dina closed 8 indigo eli ready 50 fable dina ready 0 amber kim closed 44 grove kim failed 31 fable ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014688
qwen/qwen3.7-plus
awkweave-0014689
Print the number of whitespace-separated fields on each line.
{print NF}
gus delta 8 failed kim cobalt 30 ready lina juniper 72 ready dina ember 85 pending lina juniper 117 ready farah cobalt 22 paused lina fable 58 ready
4 4 4 4 4 4 4
bruno delta 59 closed hana grove 32 ready jules delta 89 paused alice grove 19 active bruno grove 44 ready gus indigo 47 ready alice ember 13 failed jules juniper 56 paused
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014689-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
gus delta 8 failed kim cobalt 30 ready lina juniper 72 ready dina ember 85 pending lina juniper 117 ready farah cobalt 22 paused lina fable 58 ready
4 4 4 4 4 4 4
bruno delta 59 closed hana grove 32 ready jules delta 89 paused alice grove 19 active bruno grove 44 ready gus indigo 47 ready alice ember 13 failed jules juniper 56 paused
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014689
qwen/qwen3.7-plus
awkweave-0014700
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta indigo 24 alpha harbor 77 gamma fable 66 alpha birch 111 alpha delta 15 alpha harbor 18 beta amber 78 gamma grove 107 delta juniper 100 delta juniper 93
4
alpha ember 83 delta fable 93 delta grove 53 delta amber 113 delta grove 39 alpha indigo 61 delta grove 100
2
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014700-p1
Calculate the number of unique values in column 1 and print just that total.
{if(!seen[$1]++)n++}END{print n+0}
beta indigo 24 alpha harbor 77 gamma fable 66 alpha birch 111 alpha delta 15 alpha harbor 18 beta amber 78 gamma grove 107 delta juniper 100 delta juniper 93
4
alpha ember 83 delta fable 93 delta grove 53 delta amber 113 delta grove 39 alpha indigo 61 delta grove 100
2
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014700
qwen/qwen3.7-plus
awkweave-0014701
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}
eli 16 0 dina 29 14 lina 23 5 ivan 20 17 farah 26 6 chen 23 28 dina 18 27 hana 9 4 lina 22 12
dina 2.07 lina 4.60 ivan 1.18 farah 4.33 chen 0.82 dina 0.67 hana 2.25 lina 1.83
kim 13 0 eli 18 9 kim 6 20 farah 11 1 alice 8 26 hana 7 3 chen 9 17
eli 2.00 kim 0.30 farah 11.00 alice 0.31 hana 2.33 chen 0.53
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014701-p1
For each row where column 3 is non-zero, print column 1 and the result of column 2 divided by column 3 formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 16 0 dina 29 14 lina 23 5 ivan 20 17 farah 26 6 chen 23 28 dina 18 27 hana 9 4 lina 22 12
dina 2.07 lina 4.60 ivan 1.18 farah 4.33 chen 0.82 dina 0.67 hana 2.25 lina 1.83
kim 13 0 eli 18 9 kim 6 20 farah 11 1 alice 8 26 hana 7 3 chen 9 17
eli 2.00 kim 0.30 farah 11.00 alice 0.31 hana 2.33 chen 0.53
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014701
qwen/qwen3.7-plus
awkweave-0014702
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]}
lina indigo 22 kim cobalt 22 dina birch 14 bruno indigo 15 chen indigo 28 alice harbor 14 lina indigo 11 lina harbor 11 alice juniper 22
chen indigo 28 lina indigo 22 kim cobalt 22
dina juniper 24 chen cobalt 23 kim birch 18 chen birch 29 alice cobalt 12 alice harbor 6 gus ember 26 farah amber 12 jules cobalt 30
jules cobalt 30 chen birch 29 gus ember 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014702-p1
Output the top 3 records with the highest numeric values in column 3, sorted in descending order, maintaining 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]}
lina indigo 22 kim cobalt 22 dina birch 14 bruno indigo 15 chen indigo 28 alice harbor 14 lina indigo 11 lina harbor 11 alice juniper 22
chen indigo 28 lina indigo 22 kim cobalt 22
dina juniper 24 chen cobalt 23 kim birch 18 chen birch 29 alice cobalt 12 alice harbor 6 gus ember 26 farah amber 12 jules cobalt 30
jules cobalt 30 chen birch 29 gus ember 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014702
qwen/qwen3.7-plus
awkweave-0014703
Select the 3rd and 2nd fields in that order.
{print $3, $2}
27 harbor active 69 10 amber failed 81 19 harbor paused 73 93 birch active 30 41 harbor ready 79 24 birch ready 115 3 harbor closed 73
active harbor failed amber paused harbor active birch ready harbor ready birch closed harbor
111 cobalt active 46 9 amber failed 91 38 ember ready 58 55 juniper closed 51 118 delta pending 87 29 cobalt ready 55 39 ember closed 1 69 indigo paused 60 12 fable failed 118
active cobalt failed amber ready ember closed juniper pending delta ready cobalt closed ember paused indigo failed fable
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014703-p1
Print the 3rd field followed by the 2nd field.
{print $3, $2}
27 harbor active 69 10 amber failed 81 19 harbor paused 73 93 birch active 30 41 harbor ready 79 24 birch ready 115 3 harbor closed 73
active harbor failed amber paused harbor active birch ready harbor ready birch closed harbor
111 cobalt active 46 9 amber failed 91 38 ember ready 58 55 juniper closed 51 118 delta pending 87 29 cobalt ready 55 39 ember closed 1 69 indigo paused 60 12 fable failed 118
active cobalt failed amber ready ember closed juniper pending delta ready cobalt closed ember paused indigo failed fable
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014703
qwen/qwen3.7-plus
awkweave-0014704
Print the last field of every input line.
{print $NF}
99 amber harbor chen ready 6 fable ember chen active 16 grove fable jules failed 65 amber amber lina closed 71 amber harbor jules failed 106 harbor juniper bruno pending 96 delta juniper eli ready 63 grove harbor kim paused 117 juniper delta eli ready
ready active failed closed failed pending ready paused ready
109 cobalt cobalt eli pending 66 ember amber kim failed 86 indigo delta ivan active 115 birch fable lina closed 97 amber ember bruno pending 85 delta delta bruno active 59 birch harbor hana paused 86 amber harbor lina closed 65 delta grove farah pending 119 amber cobalt hana pending
pending failed active closed pending active paused closed pending pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014704-p1
Display the final field of each input line.
{print $NF}
99 amber harbor chen ready 6 fable ember chen active 16 grove fable jules failed 65 amber amber lina closed 71 amber harbor jules failed 106 harbor juniper bruno pending 96 delta juniper eli ready 63 grove harbor kim paused 117 juniper delta eli ready
ready active failed closed failed pending ready paused ready
109 cobalt cobalt eli pending 66 ember amber kim failed 86 indigo delta ivan active 115 birch fable lina closed 97 amber ember bruno pending 85 delta delta bruno active 59 birch harbor hana paused 86 amber harbor lina closed 65 delta grove farah pending 119 amber cobalt hana pending
pending failed active closed pending active paused closed pending pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014704
qwen/qwen3.7-plus
awkweave-0014705
Print the complete records where column 1 is greater than 27.
$1 > 27
105 active hana fable 34 active chen ember 117 failed gus indigo 57 closed kim harbor 119 pending eli birch 47 pending dina indigo 44 closed bruno birch 2 failed jules amber 106 failed gus grove 60 active farah birch
105 active hana fable 34 active chen ember 117 failed gus indigo 57 closed kim harbor 119 pending eli birch 47 pending dina indigo 44 closed bruno birch 106 failed gus grove 60 active farah birch
98 failed chen ember 60 ready kim delta 14 closed lina delta 75 failed dina delta 75 closed eli birch 100 failed chen grove
98 failed chen ember 60 ready kim delta 75 failed dina delta 75 closed eli birch 100 failed chen grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014705-p1
Print full records where the value in column 1 exceeds 27.
$1 > 27
105 active hana fable 34 active chen ember 117 failed gus indigo 57 closed kim harbor 119 pending eli birch 47 pending dina indigo 44 closed bruno birch 2 failed jules amber 106 failed gus grove 60 active farah birch
105 active hana fable 34 active chen ember 117 failed gus indigo 57 closed kim harbor 119 pending eli birch 47 pending dina indigo 44 closed bruno birch 106 failed gus grove 60 active farah birch
98 failed chen ember 60 ready kim delta 14 closed lina delta 75 failed dina delta 75 closed eli birch 100 failed chen grove
98 failed chen ember 60 ready kim delta 75 failed dina delta 75 closed eli birch 100 failed chen grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014705
qwen/qwen3.7-plus
awkweave-0014706
Show whole lines whose 3rd field is between 8 and 18, inclusive.
$3 >= 8 && $3 <= 18
ivan ready 4 grove hana paused 18 amber jules pending 15 indigo hana failed 9 indigo dina ready 25 harbor farah active 12 delta eli ready 21 delta ivan failed 18 juniper
hana paused 18 amber jules pending 15 indigo hana failed 9 indigo farah active 12 delta ivan failed 18 juniper
ivan ready 8 indigo farah ready 29 juniper alice closed 28 delta alice closed 30 juniper lina failed 21 delta gus pending 14 indigo bruno ready 1 fable alice closed 25 harbor
ivan ready 8 indigo gus pending 14 indigo
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014706-p1
Display entire lines where the third field falls within the inclusive range of 8 to 18.
$3 >= 8 && $3 <= 18
ivan ready 4 grove hana paused 18 amber jules pending 15 indigo hana failed 9 indigo dina ready 25 harbor farah active 12 delta eli ready 21 delta ivan failed 18 juniper
hana paused 18 amber jules pending 15 indigo hana failed 9 indigo farah active 12 delta ivan failed 18 juniper
ivan ready 8 indigo farah ready 29 juniper alice closed 28 delta alice closed 30 juniper lina failed 21 delta gus pending 14 indigo bruno ready 1 fable alice closed 25 harbor
ivan ready 8 indigo gus pending 14 indigo
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014706
qwen/qwen3.7-plus
awkweave-0014707
Print column 3 only for rows where column 1 is exactly failed.
$1 == "failed"{print $3}
pending 56 bruno amber ready 55 jules harbor failed 117 kim delta closed 27 gus cobalt failed 13 kim delta failed 85 alice juniper failed 72 gus cobalt failed 100 ivan delta active 85 farah juniper
kim kim alice gus ivan
pending 119 kim ember pending 48 dina ember active 82 hana ember active 90 dina grove pending 110 alice amber closed 54 gus birch closed 21 eli ember
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014707-p1
Output only the third column for rows where the first column matches 'failed' exactly.
$1 == "failed"{print $3}
pending 56 bruno amber ready 55 jules harbor failed 117 kim delta closed 27 gus cobalt failed 13 kim delta failed 85 alice juniper failed 72 gus cobalt failed 100 ivan delta active 85 farah juniper
kim kim alice gus ivan
pending 119 kim ember pending 48 dina ember active 82 hana ember active 90 dina grove pending 110 alice amber closed 54 gus birch closed 21 eli ember
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014707
qwen/qwen3.7-plus
awkweave-0014708
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
DEBUG juniper 70 WARN ember 85 ERROR birch 83 WARN indigo 20 WARN fable 30 DEBUG grove 117 ERROR harbor 62 ERROR harbor 95 WARN delta 99 WARN birch 120
ERROR birch 83 ERROR harbor 62 ERROR harbor 95
DEBUG indigo 86 INFO cobalt 5 ERROR ember 100 INFO delta 86 WARN indigo 95 DEBUG juniper 42 ERROR ember 73 WARN delta 91
ERROR ember 100 ERROR ember 73
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014708-p1
Print all fields from lines where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
DEBUG juniper 70 WARN ember 85 ERROR birch 83 WARN indigo 20 WARN fable 30 DEBUG grove 117 ERROR harbor 62 ERROR harbor 95 WARN delta 99 WARN birch 120
ERROR birch 83 ERROR harbor 62 ERROR harbor 95
DEBUG indigo 86 INFO cobalt 5 ERROR ember 100 INFO delta 86 WARN indigo 95 DEBUG juniper 42 ERROR ember 73 WARN delta 91
ERROR ember 100 ERROR ember 73
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014708
qwen/qwen3.7-plus
awkweave-0014709
Print every line except those containing the exact text amber.
$0 !~ /amber/
ember 8 closed ember 64 closed fable 28 closed delta 72 failed amber 65 active cobalt 16 active amber 999 active
ember 8 closed ember 64 closed fable 28 closed delta 72 failed cobalt 16 active
ember 72 active ember 72 active indigo 18 failed cobalt 97 pending birch 120 closed cobalt 33 active amber 999 active
ember 72 active ember 72 active indigo 18 failed cobalt 97 pending birch 120 closed cobalt 33 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014709-p1
Output every line that does not contain the exact string 'amber'.
$0 !~ /amber/
ember 8 closed ember 64 closed fable 28 closed delta 72 failed amber 65 active cobalt 16 active amber 999 active
ember 8 closed ember 64 closed fable 28 closed delta 72 failed cobalt 16 active
ember 72 active ember 72 active indigo 18 failed cobalt 97 pending birch 120 closed cobalt 33 active amber 999 active
ember 72 active ember 72 active indigo 18 failed cobalt 97 pending birch 120 closed cobalt 33 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014709
qwen/qwen3.7-plus
awkweave-0014710
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
gus amber 95 dina cobalt 106 farah birch 72 chen birch 8 gus birch 8 ivan ember 101
farah birch 72 chen birch 8 gus birch 8 ivan ember 101
dina delta 29 bruno grove 10 ivan ember 92 chen juniper 109 farah harbor 4 jules indigo 0
ivan ember 92 chen juniper 109 farah harbor 4 jules indigo 0
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014710-p1
Print lines 3 through 6, inclusive of both endpoints.
NR >= 3 && NR <= 6
gus amber 95 dina cobalt 106 farah birch 72 chen birch 8 gus birch 8 ivan ember 101
farah birch 72 chen birch 8 gus birch 8 ivan ember 101
dina delta 29 bruno grove 10 ivan ember 92 chen juniper 109 farah harbor 4 jules indigo 0
ivan ember 92 chen juniper 109 farah harbor 4 jules indigo 0
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014710
qwen/qwen3.7-plus
awkweave-0014711
Output only the first 5 records.
NR <= 5
hana 105 cobalt dina 108 ember dina 20 indigo kim 57 grove bruno 39 juniper lina 28 indigo kim 45 harbor
hana 105 cobalt dina 108 ember dina 20 indigo kim 57 grove bruno 39 juniper
chen 65 amber eli 16 cobalt kim 58 amber gus 86 cobalt farah 40 grove eli 101 indigo chen 54 amber alice 107 ember farah 114 cobalt
chen 65 amber eli 16 cobalt kim 58 amber gus 86 cobalt farah 40 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014711-p1
Output only the first 5 records.
NR <= 5
hana 105 cobalt dina 108 ember dina 20 indigo kim 57 grove bruno 39 juniper lina 28 indigo kim 45 harbor
hana 105 cobalt dina 108 ember dina 20 indigo kim 57 grove bruno 39 juniper
chen 65 amber eli 16 cobalt kim 58 amber gus 86 cobalt farah 40 grove eli 101 indigo chen 54 amber alice 107 ember farah 114 cobalt
chen 65 amber eli 16 cobalt kim 58 amber gus 86 cobalt farah 40 grove
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0014711
qwen/qwen3.7-plus
awkweave-0014712
Skip the first line and print every remaining line unchanged.
NR > 1
hana 64 indigo farah 59 birch hana 48 indigo hana 108 amber farah 77 harbor hana 3 cobalt kim 37 harbor
farah 59 birch hana 48 indigo hana 108 amber farah 77 harbor hana 3 cobalt kim 37 harbor
farah 115 grove dina 100 delta hana 45 fable farah 4 ember ivan 117 juniper ivan 13 ember eli 99 grove bruno 12 indigo dina 20 harbor hana 114 harbor
dina 100 delta hana 45 fable farah 4 ember ivan 117 juniper ivan 13 ember eli 99 grove bruno 12 indigo dina 20 harbor hana 114 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014712-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
hana 64 indigo farah 59 birch hana 48 indigo hana 108 amber farah 77 harbor hana 3 cobalt kim 37 harbor
farah 59 birch hana 48 indigo hana 108 amber farah 77 harbor hana 3 cobalt kim 37 harbor
farah 115 grove dina 100 delta hana 45 fable farah 4 ember ivan 117 juniper ivan 13 ember eli 99 grove bruno 12 indigo dina 20 harbor hana 114 harbor
dina 100 delta hana 45 fable farah 4 ember ivan 117 juniper ivan 13 ember eli 99 grove bruno 12 indigo dina 20 harbor hana 114 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014712
qwen/qwen3.7-plus
awkweave-0014713
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
eli pending 24 bruno failed 0 kim failed 110 gus failed 77 dina failed 90 lina ready 59 gus ready 100 farah failed 64 hana ready 60
0
lina ready 22 eli closed 50 ivan paused 22 chen paused 16 farah pending 47 lina failed 68 kim paused 43 alice failed 46 dina ready 48 bruno pending 10
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014713-p1
Count the number of records with 'paused' in the second column; output 0 if none are found.
$2 == "paused"{n++}END{print n+0}
eli pending 24 bruno failed 0 kim failed 110 gus failed 77 dina failed 90 lina ready 59 gus ready 100 farah failed 64 hana ready 60
0
lina ready 22 eli closed 50 ivan paused 22 chen paused 16 farah pending 47 lina failed 68 kim paused 43 alice failed 46 dina ready 48 bruno pending 10
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014713
qwen/qwen3.7-plus
awkweave-0014714
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
3 farah indigo 29 eli cobalt 7 hana indigo 9 bruno harbor 13 bruno ember 3 gus harbor 10 ivan juniper 25 ivan harbor 28 lina juniper
127
23 kim harbor 1 kim indigo 12 gus amber 14 eli juniper 11 farah cobalt 25 chen amber
86
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014714-p1
Compute and print the sum of integer values in the first column.
{s+=$1}END{print s+0}
3 farah indigo 29 eli cobalt 7 hana indigo 9 bruno harbor 13 bruno ember 3 gus harbor 10 ivan juniper 25 ivan harbor 28 lina juniper
127
23 kim harbor 1 kim indigo 12 gus amber 14 eli juniper 11 farah cobalt 25 chen amber
86
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014714
qwen/qwen3.7-plus
awkweave-0014715
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable farah 5 amber lina 28 ember jules 7 grove alice 30 juniper gus 16 fable lina 18
17.33
amber alice 30 cobalt ivan 18 birch farah 5 delta ivan 8 birch gus 3 indigo chen 3 grove eli 14 grove hana 12 harbor chen 16
12.11
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014715-p1
Print the arithmetic mean of the third column, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable farah 5 amber lina 28 ember jules 7 grove alice 30 juniper gus 16 fable lina 18
17.33
amber alice 30 cobalt ivan 18 birch farah 5 delta ivan 8 birch gus 3 indigo chen 3 grove eli 14 grove hana 12 harbor chen 16
12.11
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014715
qwen/qwen3.7-plus
awkweave-0014716
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
14 dina juniper 8 lina fable 2 farah birch 3 gus harbor 11 gus birch 13 jules harbor 23 ivan indigo 13 gus indigo 6 gus grove
2
13 farah indigo 8 jules amber 4 hana cobalt 22 dina ember 27 bruno cobalt 5 ivan birch 6 jules cobalt 20 lina ember 27 ivan ember 10 gus indigo
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014716-p1
Identify and print the minimum numeric value in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
14 dina juniper 8 lina fable 2 farah birch 3 gus harbor 11 gus birch 13 jules harbor 23 ivan indigo 13 gus indigo 6 gus grove
2
13 farah indigo 8 jules amber 4 hana cobalt 22 dina ember 27 bruno cobalt 5 ivan birch 6 jules cobalt 20 lina ember 27 ivan ember 10 gus indigo
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014716
qwen/qwen3.7-plus
awkweave-0014717
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
amber dina 30 ember dina 18 fable chen 9 ember hana 26 delta eli 12 delta alice 14 fable kim 18 fable ivan 28
30
harbor lina 14 fable farah 8 grove jules 14 ember chen 12 harbor kim 1 amber chen 27 fable ivan 19 grove kim 26
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014717-p1
Identify and print the maximum numeric value in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
amber dina 30 ember dina 18 fable chen 9 ember hana 26 delta eli 12 delta alice 14 fable kim 18 fable ivan 28
30
harbor lina 14 fable farah 8 grove jules 14 ember chen 12 harbor kim 1 amber chen 27 fable ivan 19 grove kim 26
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014717
qwen/qwen3.7-plus
awkweave-0014718
Count all input records and print the total.
END{print NR}
dina 105 eli 57 gus 91 farah 28 lina 102 hana 107
6
ivan 113 jules 6 farah 57 farah 73 dina 16 bruno 20 dina 67 dina 112 farah 97 eli 29
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014718-p1
Compute the total number of input records and output the count.
END{print NR}
dina 105 eli 57 gus 91 farah 28 lina 102 hana 107
6
ivan 113 jules 6 farah 57 farah 73 dina 16 bruno 20 dina 67 dina 112 farah 97 eli 29
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014718
qwen/qwen3.7-plus
awkweave-0014719
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno harbor 1 dina ember 113 kim cobalt 33 dina ember 113 hana birch 111 gus delta 70 bruno fable 16 farah grove 94 alice juniper 1 ivan birch 85 ivan ember 44
bruno harbor 1 dina ember 113 kim cobalt 33 hana birch 111 gus delta 70 bruno fable 16 farah grove 94 alice juniper 1 ivan birch 85 ivan ember 44
kim grove 63 eli fable 32 jules grove 27 bruno indigo 64 kim ember 95 jules fable 67 dina fable 0 hana cobalt 85 jules cobalt 76 alice ember 49 jules fable 67
kim grove 63 eli fable 32 jules grove 27 bruno indigo 64 kim ember 95 jules fable 67 dina fable 0 hana cobalt 85 jules cobalt 76 alice ember 49
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014719-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
bruno harbor 1 dina ember 113 kim cobalt 33 dina ember 113 hana birch 111 gus delta 70 bruno fable 16 farah grove 94 alice juniper 1 ivan birch 85 ivan ember 44
bruno harbor 1 dina ember 113 kim cobalt 33 hana birch 111 gus delta 70 bruno fable 16 farah grove 94 alice juniper 1 ivan birch 85 ivan ember 44
kim grove 63 eli fable 32 jules grove 27 bruno indigo 64 kim ember 95 jules fable 67 dina fable 0 hana cobalt 85 jules cobalt 76 alice ember 49 jules fable 67
kim grove 63 eli fable 32 jules grove 27 bruno indigo 64 kim ember 95 jules fable 67 dina fable 0 hana cobalt 85 jules cobalt 76 alice ember 49
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014719
qwen/qwen3.7-plus
awkweave-0014720
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
kim harbor 79 alice fable 58 chen birch 111 chen ember 25 eli ember 4 farah amber 67 alice harbor 16 jules delta 54 jules indigo 59
kim harbor 79 alice fable 58 chen birch 111 chen ember 25 farah amber 67 jules delta 54 jules indigo 59
kim fable 98 farah delta 57 dina fable 80 gus indigo 47 eli cobalt 116 gus delta 2 kim ember 95 jules birch 91 chen ember 40
kim fable 98 farah delta 57 gus indigo 47 eli cobalt 116 kim ember 95 jules birch 91
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null