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-0039271-p1
For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, omitting rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
bruno 2 0 dina 28 8 bruno 23 1 bruno 22 13 jules 10 28 eli 8 7 dina 23 15 kim 2 11 lina 15 28
dina 3.50 bruno 23.00 bruno 1.69 jules 0.36 eli 1.14 dina 1.53 kim 0.18 lina 0.54
jules 17 0 farah 3 2 gus 10 13 chen 15 16 farah 14 14 ivan 30 20 hana 30 4
farah 1.50 gus 0.77 chen 0.94 farah 1.00 ivan 1.50 hana 7.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039271
qwen/qwen3.7-plus
awkweave-0039272
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]}
jules harbor 21 gus birch 29 gus fable 17 chen amber 18 gus delta 14 kim birch 5 bruno amber 27 farah delta 5
gus birch 29 bruno amber 27 jules harbor 21
kim amber 16 chen harbor 14 lina fable 2 jules cobalt 21 hana delta 2 dina birch 29 dina amber 19
dina birch 29 jules cobalt 21 dina amber 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039272-p1
Output the top three full records based on descending numeric values in column 3, maintaining original order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules harbor 21 gus birch 29 gus fable 17 chen amber 18 gus delta 14 kim birch 5 bruno amber 27 farah delta 5
gus birch 29 bruno amber 27 jules harbor 21
kim amber 16 chen harbor 14 lina fable 2 jules cobalt 21 hana delta 2 dina birch 29 dina amber 19
dina birch 29 jules cobalt 21 dina amber 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039272
qwen/qwen3.7-plus
awkweave-0039273
Select the 4th and 3rd fields in that order.
{print $4, $3}
104 alice lina 1 37 paused 102 hana lina 107 48 failed 59 chen chen 109 94 active 117 kim dina 70 89 paused 41 chen eli 3 11 closed 56 gus chen 1 24 ready 17 chen bruno 90 94 paused
1 lina 107 lina 109 chen 70 dina 3 eli 1 chen 90 bruno
99 chen jules 63 4 failed 98 bruno dina 8 65 failed 24 jules ivan 113 67 failed 26 alice eli 52 23 closed 86 alice lina 112 52 active 53 lina kim 80 120 failed 87 ivan chen 84 20 pending 20 ivan hana 32 54 ready 87 dina lina 81 46 closed
63 jules 8 dina 113 ivan 52 eli 112 lina 80 kim 84 chen 32 hana 81 lina
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039273-p1
Extract fields 4 and 3, in that specific sequence.
{print $4, $3}
104 alice lina 1 37 paused 102 hana lina 107 48 failed 59 chen chen 109 94 active 117 kim dina 70 89 paused 41 chen eli 3 11 closed 56 gus chen 1 24 ready 17 chen bruno 90 94 paused
1 lina 107 lina 109 chen 70 dina 3 eli 1 chen 90 bruno
99 chen jules 63 4 failed 98 bruno dina 8 65 failed 24 jules ivan 113 67 failed 26 alice eli 52 23 closed 86 alice lina 112 52 active 53 lina kim 80 120 failed 87 ivan chen 84 20 pending 20 ivan hana 32 54 ready 87 dina lina 81 46 closed
63 jules 8 dina 113 ivan 52 eli 112 lina 80 kim 84 chen 32 hana 81 lina
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039273
qwen/qwen3.7-plus
awkweave-0039274
Print the last field of every input line.
{print $NF}
ember ready bruno failed closed bruno amber amber closed hana failed pending dina fable delta closed farah paused closed dina fable ember paused jules active paused hana harbor birch ready chen pending closed dina ember harbor ready eli paused paused dina juniper ember pending gus ready paused farah ember cobalt active...
amber fable fable harbor ember juniper ember harbor birch
delta active gus paused failed jules ember ember paused jules ready ready bruno harbor juniper active alice ready paused gus juniper harbor pending chen pending ready lina harbor delta failed bruno ready ready eli indigo amber closed jules paused failed chen fable
ember harbor juniper harbor indigo fable
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039274-p1
Display the final field from each input line.
{print $NF}
ember ready bruno failed closed bruno amber amber closed hana failed pending dina fable delta closed farah paused closed dina fable ember paused jules active paused hana harbor birch ready chen pending closed dina ember harbor ready eli paused paused dina juniper ember pending gus ready paused farah ember cobalt active...
amber fable fable harbor ember juniper ember harbor birch
delta active gus paused failed jules ember ember paused jules ready ready bruno harbor juniper active alice ready paused gus juniper harbor pending chen pending ready lina harbor delta failed bruno ready ready eli indigo amber closed jules paused failed chen fable
ember harbor juniper harbor indigo fable
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039274
qwen/qwen3.7-plus
awkweave-0039275
Print the complete records where column 2 is at most 27.
$2 <= 27
pending 118 indigo grove active pending 47 grove birch paused paused 7 juniper cobalt closed pending 115 harbor delta active failed 14 indigo cobalt pending ready 78 ember amber ready failed 26 delta indigo active paused 50 indigo delta pending active 34 birch birch paused ready 57 harbor juniper failed
paused 7 juniper cobalt closed failed 14 indigo cobalt pending failed 26 delta indigo active
closed 41 birch ember active active 28 harbor cobalt failed paused 80 birch juniper paused ready 8 amber ember ready pending 102 ember cobalt active failed 75 birch cobalt paused closed 109 birch juniper active
ready 8 amber ember ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039275-p1
Print all complete records where the value in column 2 is less than or equal to 27.
$2 <= 27
pending 118 indigo grove active pending 47 grove birch paused paused 7 juniper cobalt closed pending 115 harbor delta active failed 14 indigo cobalt pending ready 78 ember amber ready failed 26 delta indigo active paused 50 indigo delta pending active 34 birch birch paused ready 57 harbor juniper failed
paused 7 juniper cobalt closed failed 14 indigo cobalt pending failed 26 delta indigo active
closed 41 birch ember active active 28 harbor cobalt failed paused 80 birch juniper paused ready 8 amber ember ready pending 102 ember cobalt active failed 75 birch cobalt paused closed 109 birch juniper active
ready 8 amber ember ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039275
qwen/qwen3.7-plus
awkweave-0039276
Show whole lines whose 2nd field is between 5 and 25, inclusive.
$2 >= 5 && $2 <= 25
amber 7 pending delta indigo 20 paused juniper birch 3 pending indigo ember 11 active juniper amber 14 failed fable juniper 6 ready grove amber 4 pending fable harbor 3 failed amber grove 29 pending juniper
amber 7 pending delta indigo 20 paused juniper ember 11 active juniper amber 14 failed fable juniper 6 ready grove
juniper 23 active ember fable 11 paused delta grove 1 ready amber delta 27 active indigo delta 25 pending amber delta 18 closed birch
juniper 23 active ember fable 11 paused delta delta 25 pending amber delta 18 closed birch
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039276-p1
Show entire lines where the second field falls within the inclusive range of 5 to 25.
$2 >= 5 && $2 <= 25
amber 7 pending delta indigo 20 paused juniper birch 3 pending indigo ember 11 active juniper amber 14 failed fable juniper 6 ready grove amber 4 pending fable harbor 3 failed amber grove 29 pending juniper
amber 7 pending delta indigo 20 paused juniper ember 11 active juniper amber 14 failed fable juniper 6 ready grove
juniper 23 active ember fable 11 paused delta grove 1 ready amber delta 27 active indigo delta 25 pending amber delta 18 closed birch
juniper 23 active ember fable 11 paused delta delta 25 pending amber delta 18 closed birch
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039276
qwen/qwen3.7-plus
awkweave-0039277
Print column 1 only for rows where column 2 is exactly pending.
$2 == "pending"{print $1}
chen closed cobalt 65 farah active fable 31 dina paused harbor 72 jules ready harbor 94 alice pending delta 55 gus active harbor 25 chen closed juniper 58 hana paused ember 6 jules active harbor 107 hana pending grove 0
alice hana
ivan closed ember 49 farah ready cobalt 88 alice paused grove 71 bruno paused ember 66 ivan closed ember 67 kim paused fable 76 farah ready indigo 31 farah closed harbor 54 alice closed amber 42
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039277-p1
Output only the first column for rows where the second column equals pending.
$2 == "pending"{print $1}
chen closed cobalt 65 farah active fable 31 dina paused harbor 72 jules ready harbor 94 alice pending delta 55 gus active harbor 25 chen closed juniper 58 hana paused ember 6 jules active harbor 107 hana pending grove 0
alice hana
ivan closed ember 49 farah ready cobalt 88 alice paused grove 71 bruno paused ember 66 ivan closed ember 67 kim paused fable 76 farah ready indigo 31 farah closed harbor 54 alice closed amber 42
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039277
qwen/qwen3.7-plus
awkweave-0039278
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
38 indigo WARN 25 grove ERROR 6 harbor DEBUG 0 ember INFO 25 cobalt INFO 109 fable ERROR 11 harbor DEBUG 1 cobalt DEBUG
38 indigo WARN
13 harbor WARN 107 birch INFO 94 indigo WARN 91 birch DEBUG 17 indigo WARN 38 ember INFO 67 delta WARN 37 amber INFO 52 ember INFO 116 grove WARN
13 harbor WARN 94 indigo WARN 17 indigo WARN 67 delta WARN 116 grove WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039278-p1
Print all fields from lines where the third field starts with WARN.
$3 ~ /^WARN/
38 indigo WARN 25 grove ERROR 6 harbor DEBUG 0 ember INFO 25 cobalt INFO 109 fable ERROR 11 harbor DEBUG 1 cobalt DEBUG
38 indigo WARN
13 harbor WARN 107 birch INFO 94 indigo WARN 91 birch DEBUG 17 indigo WARN 38 ember INFO 67 delta WARN 37 amber INFO 52 ember INFO 116 grove WARN
13 harbor WARN 94 indigo WARN 17 indigo WARN 67 delta WARN 116 grove WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039278
qwen/qwen3.7-plus
awkweave-0039279
Print every line except those containing the exact text ember.
$0 !~ /ember/
harbor 100 paused ember 23 ready delta 17 closed juniper 111 active amber 95 paused fable 109 ready delta 68 pending amber 75 pending harbor 60 paused amber 48 pending ember 999 active
harbor 100 paused delta 17 closed juniper 111 active amber 95 paused fable 109 ready delta 68 pending amber 75 pending harbor 60 paused amber 48 pending
grove 54 ready delta 55 pending delta 49 pending indigo 76 paused amber 101 closed grove 57 pending fable 55 closed harbor 93 pending delta 120 failed juniper 45 paused ember 999 active
grove 54 ready delta 55 pending delta 49 pending indigo 76 paused amber 101 closed grove 57 pending fable 55 closed harbor 93 pending delta 120 failed juniper 45 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039279-p1
Print every line that does not contain the exact string ember.
$0 !~ /ember/
harbor 100 paused ember 23 ready delta 17 closed juniper 111 active amber 95 paused fable 109 ready delta 68 pending amber 75 pending harbor 60 paused amber 48 pending ember 999 active
harbor 100 paused delta 17 closed juniper 111 active amber 95 paused fable 109 ready delta 68 pending amber 75 pending harbor 60 paused amber 48 pending
grove 54 ready delta 55 pending delta 49 pending indigo 76 paused amber 101 closed grove 57 pending fable 55 closed harbor 93 pending delta 120 failed juniper 45 paused ember 999 active
grove 54 ready delta 55 pending delta 49 pending indigo 76 paused amber 101 closed grove 57 pending fable 55 closed harbor 93 pending delta 120 failed juniper 45 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039279
qwen/qwen3.7-plus
awkweave-0039280
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
kim delta 61 chen cobalt 11 ivan juniper 64 eli ember 54 kim harbor 88 hana cobalt 27 farah amber 111
ivan juniper 64 eli ember 54 kim harbor 88 hana cobalt 27
hana birch 40 farah juniper 51 gus harbor 68 dina ember 104 chen amber 43 farah cobalt 39
gus harbor 68 dina ember 104 chen amber 43 farah cobalt 39
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039280-p1
Output lines 3 to 6, inclusive.
NR >= 3 && NR <= 6
kim delta 61 chen cobalt 11 ivan juniper 64 eli ember 54 kim harbor 88 hana cobalt 27 farah amber 111
ivan juniper 64 eli ember 54 kim harbor 88 hana cobalt 27
hana birch 40 farah juniper 51 gus harbor 68 dina ember 104 chen amber 43 farah cobalt 39
gus harbor 68 dina ember 104 chen amber 43 farah cobalt 39
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039280
qwen/qwen3.7-plus
awkweave-0039281
Output only the first 2 records.
NR <= 2
lina 4 amber jules 68 juniper chen 32 fable dina 43 fable bruno 55 cobalt jules 112 delta ivan 82 grove
lina 4 amber jules 68 juniper
alice 16 delta lina 0 delta alice 70 cobalt hana 42 juniper farah 16 indigo farah 49 cobalt jules 6 indigo chen 104 indigo bruno 38 delta alice 34 amber
alice 16 delta lina 0 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039281-p1
Display only the first two records.
NR <= 2
lina 4 amber jules 68 juniper chen 32 fable dina 43 fable bruno 55 cobalt jules 112 delta ivan 82 grove
lina 4 amber jules 68 juniper
alice 16 delta lina 0 delta alice 70 cobalt hana 42 juniper farah 16 indigo farah 49 cobalt jules 6 indigo chen 104 indigo bruno 38 delta alice 34 amber
alice 16 delta lina 0 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039281
qwen/qwen3.7-plus
awkweave-0039282
Skip the first line and print every remaining line unchanged.
NR > 1
lina 118 harbor bruno 88 fable dina 24 amber ivan 70 ember jules 93 indigo farah 84 fable gus 84 juniper
bruno 88 fable dina 24 amber ivan 70 ember jules 93 indigo farah 84 fable gus 84 juniper
kim 8 delta bruno 111 juniper ivan 63 indigo ivan 106 indigo jules 97 ember chen 112 delta kim 39 cobalt chen 79 grove hana 21 indigo bruno 91 grove
bruno 111 juniper ivan 63 indigo ivan 106 indigo jules 97 ember chen 112 delta kim 39 cobalt chen 79 grove hana 21 indigo bruno 91 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039282-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
lina 118 harbor bruno 88 fable dina 24 amber ivan 70 ember jules 93 indigo farah 84 fable gus 84 juniper
bruno 88 fable dina 24 amber ivan 70 ember jules 93 indigo farah 84 fable gus 84 juniper
kim 8 delta bruno 111 juniper ivan 63 indigo ivan 106 indigo jules 97 ember chen 112 delta kim 39 cobalt chen 79 grove hana 21 indigo bruno 91 grove
bruno 111 juniper ivan 63 indigo ivan 106 indigo jules 97 ember chen 112 delta kim 39 cobalt chen 79 grove hana 21 indigo bruno 91 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039282
qwen/qwen3.7-plus
awkweave-0039283
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
dina pending 106 hana ready 53 gus active 27 lina ready 33 alice failed 55 ivan pending 4 farah ready 59 jules closed 86
1
jules ready 106 gus active 28 lina paused 15 gus ready 25 bruno pending 43 alice failed 2 gus pending 87
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039283-p1
Count the number of records with active in column 2, outputting 0 if none exist.
$2 == "active"{n++}END{print n+0}
dina pending 106 hana ready 53 gus active 27 lina ready 33 alice failed 55 ivan pending 4 farah ready 59 jules closed 86
1
jules ready 106 gus active 28 lina paused 15 gus ready 25 bruno pending 43 alice failed 2 gus pending 87
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039283
qwen/qwen3.7-plus
awkweave-0039284
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
chen 19 birch dina 3 amber kim 1 amber dina 17 harbor gus 16 juniper farah 18 juniper farah 15 ember hana 20 birch gus 21 grove
130
kim 9 delta farah 22 indigo hana 5 birch lina 21 amber ivan 30 fable jules 21 juniper lina 23 delta
131
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039284-p1
Compute the total of all integer values found in the second column and output the result.
{s+=$2}END{print s+0}
chen 19 birch dina 3 amber kim 1 amber dina 17 harbor gus 16 juniper farah 18 juniper farah 15 ember hana 20 birch gus 21 grove
130
kim 9 delta farah 22 indigo hana 5 birch lina 21 amber ivan 30 fable jules 21 juniper lina 23 delta
131
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039284
qwen/qwen3.7-plus
awkweave-0039285
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
gus 1 juniper bruno 15 harbor dina 9 ember hana 29 grove ivan 13 harbor kim 6 fable farah 23 harbor eli 13 ember eli 13 grove
13.56
chen 8 ember eli 7 delta alice 7 delta hana 12 ember eli 18 delta dina 10 grove bruno 19 delta lina 22 harbor kim 13 delta farah 25 indigo
14.10
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039285-p1
Output the average of the values in column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
gus 1 juniper bruno 15 harbor dina 9 ember hana 29 grove ivan 13 harbor kim 6 fable farah 23 harbor eli 13 ember eli 13 grove
13.56
chen 8 ember eli 7 delta alice 7 delta hana 12 ember eli 18 delta dina 10 grove bruno 19 delta lina 22 harbor kim 13 delta farah 25 indigo
14.10
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039285
qwen/qwen3.7-plus
awkweave-0039286
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
4 grove alice 17 delta jules 14 fable farah 17 birch jules 20 grove jules 18 cobalt jules 24 delta farah 17 harbor eli
4
14 grove bruno 10 ember kim 4 harbor bruno 24 indigo dina 25 fable chen 18 ember lina 22 juniper ivan 21 juniper hana 2 birch hana
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039286-p1
Identify and display the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
4 grove alice 17 delta jules 14 fable farah 17 birch jules 20 grove jules 18 cobalt jules 24 delta farah 17 harbor eli
4
14 grove bruno 10 ember kim 4 harbor bruno 24 indigo dina 25 fable chen 18 ember lina 22 juniper ivan 21 juniper hana 2 birch hana
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039286
qwen/qwen3.7-plus
awkweave-0039287
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
24 farah indigo 3 bruno grove 18 lina cobalt 7 farah fable 12 hana birch 19 eli fable 6 ivan harbor 28 hana ember 8 alice amber 28 hana fable
28
21 gus ember 24 ivan birch 7 kim ember 28 alice cobalt 25 hana ember 15 eli grove 8 chen harbor 17 lina cobalt 27 farah juniper
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039287-p1
Identify and display the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
24 farah indigo 3 bruno grove 18 lina cobalt 7 farah fable 12 hana birch 19 eli fable 6 ivan harbor 28 hana ember 8 alice amber 28 hana fable
28
21 gus ember 24 ivan birch 7 kim ember 28 alice cobalt 25 hana ember 15 eli grove 8 chen harbor 17 lina cobalt 27 farah juniper
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039287
qwen/qwen3.7-plus
awkweave-0039288
Count all input records and print the total.
END{print NR}
hana 107 kim 30 gus 81 farah 118 bruno 69 eli 101 jules 47
7
alice 66 chen 95 lina 108 alice 90 chen 44 eli 79 bruno 88 gus 107 alice 43 ivan 120
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039288-p1
Count the total number of input lines and print that count.
END{print NR}
hana 107 kim 30 gus 81 farah 118 bruno 69 eli 101 jules 47
7
alice 66 chen 95 lina 108 alice 90 chen 44 eli 79 bruno 88 gus 107 alice 43 ivan 120
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039288
qwen/qwen3.7-plus
awkweave-0039289
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice delta 68 jules grove 72 ivan juniper 61 ivan ember 25 eli grove 89 alice amber 105 lina grove 78 lina grove 78 chen indigo 99
alice delta 68 jules grove 72 ivan juniper 61 ivan ember 25 eli grove 89 alice amber 105 lina grove 78 chen indigo 99
eli juniper 21 eli ember 15 gus harbor 85 dina amber 108 lina harbor 19 eli harbor 102 farah birch 53 eli juniper 21 farah amber 62
eli juniper 21 eli ember 15 gus harbor 85 dina amber 108 lina harbor 19 eli harbor 102 farah birch 53 farah amber 62
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039289-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
alice delta 68 jules grove 72 ivan juniper 61 ivan ember 25 eli grove 89 alice amber 105 lina grove 78 lina grove 78 chen indigo 99
alice delta 68 jules grove 72 ivan juniper 61 ivan ember 25 eli grove 89 alice amber 105 lina grove 78 chen indigo 99
eli juniper 21 eli ember 15 gus harbor 85 dina amber 108 lina harbor 19 eli harbor 102 farah birch 53 eli juniper 21 farah amber 62
eli juniper 21 eli ember 15 gus harbor 85 dina amber 108 lina harbor 19 eli harbor 102 farah birch 53 farah amber 62
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039289
qwen/qwen3.7-plus
awkweave-0039300
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
dina alpha 11 gus alpha 4 kim gamma 27 alice beta 15 gus delta 22 kim alpha 10 eli beta 23 jules alpha 3 chen alpha 9 ivan beta 28
alpha 37 gamma 27 beta 66 delta 22
gus beta 6 farah alpha 28 eli alpha 24 ivan alpha 29 ivan alpha 15 dina gamma 23 jules gamma 13 farah delta 26 eli gamma 30
beta 6 alpha 96 gamma 66 delta 26
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039300-p1
For each unique category in column 2, calculate the sum of column 3 and print the results ordered by the category's first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
dina alpha 11 gus alpha 4 kim gamma 27 alice beta 15 gus delta 22 kim alpha 10 eli beta 23 jules alpha 3 chen alpha 9 ivan beta 28
alpha 37 gamma 27 beta 66 delta 22
gus beta 6 farah alpha 28 eli alpha 24 ivan alpha 29 ivan alpha 15 dina gamma 23 jules gamma 13 farah delta 26 eli gamma 30
beta 6 alpha 96 gamma 66 delta 26
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039300
qwen/qwen3.7-plus
awkweave-0039301
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha harbor 73 alpha ember 38 beta juniper 29 beta juniper 50 alpha cobalt 92 gamma juniper 113 beta birch 30 delta fable 91 delta grove 35
alpha 3 beta 3 delta 2
alpha harbor 96 gamma harbor 86 beta birch 88 alpha fable 72 delta grove 62 beta amber 73 gamma fable 48 delta grove 61 delta cobalt 117
alpha 2 gamma 2 beta 2 delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039301-p1
List each value from column 1 that appears more than once, along with its frequency, sorted by the order of first occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha harbor 73 alpha ember 38 beta juniper 29 beta juniper 50 alpha cobalt 92 gamma juniper 113 beta birch 30 delta fable 91 delta grove 35
alpha 3 beta 3 delta 2
alpha harbor 96 gamma harbor 86 beta birch 88 alpha fable 72 delta grove 62 beta amber 73 gamma fable 48 delta grove 61 delta cobalt 117
alpha 2 gamma 2 beta 2 delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039301
qwen/qwen3.7-plus
awkweave-0039302
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
score record_id note display_name r001 hana 13 pending r002 gus 23 active r003 ivan 22 ready r004 eli 3 paused r005 kim 26 closed r006 hana 18 paused r007 alice 14 closed r008 gus 28 active r009 dina 10 pending r010 kim 14 active
hana gus ivan eli kim hana alice gus dina kim
score record_id note display_name r001 bruno 21 ready r002 hana 30 active r003 kim 13 paused r004 hana 22 failed r005 eli 26 failed r006 farah 5 paused r007 lina 28 pending r008 chen 4 ready r009 jules 5 failed
bruno hana kim hana eli farah lina chen jules
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039302-p1
Treating the first line as a header, output the values from the record_id column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
score record_id note display_name r001 hana 13 pending r002 gus 23 active r003 ivan 22 ready r004 eli 3 paused r005 kim 26 closed r006 hana 18 paused r007 alice 14 closed r008 gus 28 active r009 dina 10 pending r010 kim 14 active
hana gus ivan eli kim hana alice gus dina kim
score record_id note display_name r001 bruno 21 ready r002 hana 30 active r003 kim 13 paused r004 hana 22 failed r005 eli 26 failed r006 farah 5 paused r007 lina 28 pending r008 chen 4 ready r009 jules 5 failed
bruno hana kim hana eli farah lina chen jules
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039302
qwen/qwen3.7-plus
awkweave-0039303
The first row is a header. Print display_name for data rows whose score is greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 lina 1 closed r002 ivan 26 paused r003 alice 22 pending r004 chen 22 paused r005 chen 3 failed r006 gus 1 pending r007 gus 27 failed r008 hana 17 active r009 hana 29 active
ivan gus hana
record_id display_name score state r001 eli 10 paused r002 bruno 11 paused r003 kim 10 failed r004 eli 30 closed r005 chen 27 paused r006 alice 19 paused
eli chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039303-p1
Skipping the header row, print the display_name field for any record where the score is strictly greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 lina 1 closed r002 ivan 26 paused r003 alice 22 pending r004 chen 22 paused r005 chen 3 failed r006 gus 1 pending r007 gus 27 failed r008 hana 17 active r009 hana 29 active
ivan gus hana
record_id display_name score state r001 eli 10 paused r002 bruno 11 paused r003 kim 10 failed r004 eli 30 closed r005 chen 27 paused r006 alice 19 paused
eli chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039303
qwen/qwen3.7-plus
awkweave-0039304
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 21 paused hana 22 pending dina 18 closed dina 13 paused jules 25 paused lina 4 failed eli 24 paused bruno 11 paused kim 14 pending
21 22 18 13 25 4 24 11 14
kim 18 active alice 27 paused kim 24 closed kim 8 failed alice 22 pending gus 18 pending kim 21 ready chen 3 pending
18 27 24 8 22 18 21 3
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039304-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 21 paused hana 22 pending dina 18 closed dina 13 paused jules 25 paused lina 4 failed eli 24 paused bruno 11 paused kim 14 pending
21 22 18 13 25 4 24 11 14
kim 18 active alice 27 paused kim 24 closed kim 8 failed alice 22 pending gus 18 pending kim 21 ready chen 3 pending
18 27 24 8 22 18 21 3
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0039304
qwen/qwen3.7-plus
awkweave-0039305
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14.
BEGIN{FS=OFS=","}$2>14{print $1}
jules,1,paused chen,5,ready kim,16,pending lina,19,active lina,25,failed dina,29,active chen,12,ready ivan,25,closed eli,24,paused
kim lina lina dina ivan eli
hana,18,active farah,22,paused chen,12,ready alice,7,active hana,25,closed kim,6,pending chen,9,active jules,22,paused jules,17,failed
hana farah hana jules jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039305-p1
For comma-separated input without quoted fields, print the first column if the value in the second column is greater than 14.
BEGIN{FS=OFS=","}$2>14{print $1}
jules,1,paused chen,5,ready kim,16,pending lina,19,active lina,25,failed dina,29,active chen,12,ready ivan,25,closed eli,24,paused
kim lina lina dina ivan eli
hana,18,active farah,22,paused chen,12,ready alice,7,active hana,25,closed kim,6,pending chen,9,active jules,22,paused jules,17,failed
hana farah hana jules jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039305
qwen/qwen3.7-plus
awkweave-0039306
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina birch 87 bruno amber 55 chen amber 60 alice juniper 3 hana cobalt 115 gus cobalt 87 chen amber 43 bruno amber 99 hana cobalt 101 kim indigo 118
lina birch 87 bruno amber 55 chen amber 60 alice juniper 3 hana cobalt 115 gus cobalt 87 chen amber 43 bruno amber 99 hana cobalt 101 kim indigo 118
chen cobalt 93 farah birch 16 hana harbor 107 lina grove 51 lina indigo 15 bruno amber 39 bruno harbor 103 lina indigo 40
chen cobalt 93 farah birch 16 hana harbor 107 lina grove 51 lina indigo 15 bruno amber 39 bruno harbor 103 lina indigo 40
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039306-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
lina birch 87 bruno amber 55 chen amber 60 alice juniper 3 hana cobalt 115 gus cobalt 87 chen amber 43 bruno amber 99 hana cobalt 101 kim indigo 118
lina birch 87 bruno amber 55 chen amber 60 alice juniper 3 hana cobalt 115 gus cobalt 87 chen amber 43 bruno amber 99 hana cobalt 101 kim indigo 118
chen cobalt 93 farah birch 16 hana harbor 107 lina grove 51 lina indigo 15 bruno amber 39 bruno harbor 103 lina indigo 40
chen cobalt 93 farah birch 16 hana harbor 107 lina grove 51 lina indigo 15 bruno amber 39 bruno harbor 103 lina indigo 40
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039306
qwen/qwen3.7-plus
awkweave-0039307
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana birch 71 pending jules indigo 67 closed lina grove 52 active ivan indigo 105 failed chen harbor 43 active kim grove 117 paused alice indigo 111 failed
alice indigo 111 failed
gus fable 61 failed lina delta 48 paused kim ember 82 pending kim juniper 87 ready chen juniper 40 pending dina juniper 5 closed
chen juniper 40 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039307-p1
Identify and output the longest line from the input; in case of a tie in length, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
hana birch 71 pending jules indigo 67 closed lina grove 52 active ivan indigo 105 failed chen harbor 43 active kim grove 117 paused alice indigo 111 failed
alice indigo 111 failed
gus fable 61 failed lina delta 48 paused kim ember 82 pending kim juniper 87 ready chen juniper 40 pending dina juniper 5 closed
chen juniper 40 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039307
qwen/qwen3.7-plus
awkweave-0039308
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
ivan 24 farah 7 dina 75 alice 55 alice 74 jules 13 ivan 68
ivan 24 alice 55 ivan 68
bruno 41 ivan 26 kim 55 chen 110 lina 34 lina 58 lina 31 jules 70 ivan 2
bruno 41 chen 110 lina 31
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039308-p1
Output every third line, beginning with line 1 (i.e., lines 1, 4, 7, etc.).
NR%3==1
ivan 24 farah 7 dina 75 alice 55 alice 74 jules 13 ivan 68
ivan 24 alice 55 ivan 68
bruno 41 ivan 26 kim 55 chen 110 lina 34 lina 58 lina 31 jules 70 ivan 2
bruno 41 chen 110 lina 31
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039308
qwen/qwen3.7-plus
awkweave-0039309
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 27 gamma juniper 110 beta harbor 60 gamma juniper 51 gamma cobalt 98 gamma delta 83 beta cobalt 15 alpha juniper 9 gamma birch 120
4
alpha fable 64 beta juniper 21 beta indigo 46 alpha ember 117 delta amber 98 gamma delta 55 gamma delta 107 delta amber 72 delta delta 3 beta amber 108
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039309-p1
Calculate the number of unique values in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 27 gamma juniper 110 beta harbor 60 gamma juniper 51 gamma cobalt 98 gamma delta 83 beta cobalt 15 alpha juniper 9 gamma birch 120
4
alpha fable 64 beta juniper 21 beta indigo 46 alpha ember 117 delta amber 98 gamma delta 55 gamma delta 107 delta amber 72 delta delta 3 beta amber 108
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039309
qwen/qwen3.7-plus
awkweave-0039310
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}
farah 7 0 hana 26 25 gus 17 26 bruno 1 2 hana 21 12 jules 5 9 dina 15 19 chen 9 12 kim 26 26
hana 1.04 gus 0.65 bruno 0.50 hana 1.75 jules 0.56 dina 0.79 chen 0.75 kim 1.00
ivan 15 0 gus 30 21 lina 1 28 dina 8 17 chen 20 14 gus 25 4
gus 1.43 lina 0.04 dina 0.47 chen 1.43 gus 6.25
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039310-p1
For each row, output the value of column 1 followed by the result of column 2 divided by column 3, formatted to two decimal places; exclude any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 7 0 hana 26 25 gus 17 26 bruno 1 2 hana 21 12 jules 5 9 dina 15 19 chen 9 12 kim 26 26
hana 1.04 gus 0.65 bruno 0.50 hana 1.75 jules 0.56 dina 0.79 chen 0.75 kim 1.00
ivan 15 0 gus 30 21 lina 1 28 dina 8 17 chen 20 14 gus 25 4
gus 1.43 lina 0.04 dina 0.47 chen 1.43 gus 6.25
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039310
qwen/qwen3.7-plus
awkweave-0039311
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 30 jules amber 13 chen cobalt 16 farah juniper 13 eli fable 23 gus juniper 4 hana fable 24
farah ember 30 hana fable 24 eli fable 23
ivan juniper 8 gus harbor 30 gus delta 15 bruno birch 3 jules juniper 9 chen delta 11 gus harbor 19 alice amber 12 bruno indigo 22 kim harbor 12
gus harbor 30 bruno indigo 22 gus harbor 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039311-p1
Display the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah ember 30 jules amber 13 chen cobalt 16 farah juniper 13 eli fable 23 gus juniper 4 hana fable 24
farah ember 30 hana fable 24 eli fable 23
ivan juniper 8 gus harbor 30 gus delta 15 bruno birch 3 jules juniper 9 chen delta 11 gus harbor 19 alice amber 12 bruno indigo 22 kim harbor 12
gus harbor 30 bruno indigo 22 gus harbor 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039311
qwen/qwen3.7-plus
awkweave-0039312
For each line, output fields 4 and 3, in that order.
{print $4, $3}
pending juniper pending 70 closed amber closed 35 closed juniper failed 53 paused grove failed 66 failed amber ready 104 ready fable paused 103 paused delta closed 29 closed grove pending 100 paused amber failed 24 paused cobalt paused 43
70 pending 35 closed 53 failed 66 failed 104 ready 103 paused 29 closed 100 pending 24 failed 43 paused
closed harbor pending 94 failed grove ready 76 paused ember closed 90 pending grove failed 6 failed juniper paused 89 pending juniper paused 65
94 pending 76 ready 90 closed 6 failed 89 paused 65 paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039312-p1
For every line, print field 4 followed by field 3.
{print $4, $3}
pending juniper pending 70 closed amber closed 35 closed juniper failed 53 paused grove failed 66 failed amber ready 104 ready fable paused 103 paused delta closed 29 closed grove pending 100 paused amber failed 24 paused cobalt paused 43
70 pending 35 closed 53 failed 66 failed 104 ready 103 paused 29 closed 100 pending 24 failed 43 paused
closed harbor pending 94 failed grove ready 76 paused ember closed 90 pending grove failed 6 failed juniper paused 89 pending juniper paused 65
94 pending 76 ready 90 closed 6 failed 89 paused 65 paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039312
qwen/qwen3.7-plus
awkweave-0039313
Print the last field of every input line.
{print $NF}
50 amber fable indigo 5 cobalt birch fable 116 delta grove amber 17 delta harbor harbor 102 indigo amber harbor 4 delta harbor fable
indigo fable amber harbor harbor fable
54 harbor juniper fable 1 fable juniper harbor 24 cobalt cobalt grove 110 indigo fable birch 27 juniper juniper harbor 114 juniper birch birch 117 indigo cobalt ember 41 harbor cobalt indigo 89 fable harbor ember
fable harbor grove birch harbor birch ember indigo ember
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039313-p1
Output the final field from each input line.
{print $NF}
50 amber fable indigo 5 cobalt birch fable 116 delta grove amber 17 delta harbor harbor 102 indigo amber harbor 4 delta harbor fable
indigo fable amber harbor harbor fable
54 harbor juniper fable 1 fable juniper harbor 24 cobalt cobalt grove 110 indigo fable birch 27 juniper juniper harbor 114 juniper birch birch 117 indigo cobalt ember 41 harbor cobalt indigo 89 fable harbor ember
fable harbor grove birch harbor birch ember indigo ember
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039313
qwen/qwen3.7-plus
awkweave-0039314
Print the complete records where column 1 is at least 28.
$1 >= 28
104 cobalt hana ready 1 delta bruno active 11 birch gus active 112 indigo kim closed 22 harbor ivan active 0 grove farah active 30 indigo ivan closed 43 juniper bruno pending 5 indigo jules closed
104 cobalt hana ready 112 indigo kim closed 30 indigo ivan closed 43 juniper bruno pending
15 grove eli paused 58 juniper dina active 49 harbor chen active 56 juniper lina paused 35 cobalt dina failed 32 delta farah paused 66 grove ivan active 40 harbor bruno closed
58 juniper dina active 49 harbor chen active 56 juniper lina paused 35 cobalt dina failed 32 delta farah paused 66 grove ivan active 40 harbor bruno closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039314-p1
Print the full records for which the value in column 1 is greater than or equal to 28.
$1 >= 28
104 cobalt hana ready 1 delta bruno active 11 birch gus active 112 indigo kim closed 22 harbor ivan active 0 grove farah active 30 indigo ivan closed 43 juniper bruno pending 5 indigo jules closed
104 cobalt hana ready 112 indigo kim closed 30 indigo ivan closed 43 juniper bruno pending
15 grove eli paused 58 juniper dina active 49 harbor chen active 56 juniper lina paused 35 cobalt dina failed 32 delta farah paused 66 grove ivan active 40 harbor bruno closed
58 juniper dina active 49 harbor chen active 56 juniper lina paused 35 cobalt dina failed 32 delta farah paused 66 grove ivan active 40 harbor bruno closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039314
qwen/qwen3.7-plus
awkweave-0039315
Show whole lines whose 3rd field is between 6 and 18, inclusive.
$3 >= 6 && $3 <= 18
kim gus 5 ivan hana hana 14 ivan kim bruno 22 farah farah hana 5 ivan jules lina 12 chen bruno hana 29 dina
hana hana 14 ivan jules lina 12 chen
chen dina 8 ivan kim farah 14 chen eli dina 19 farah chen lina 4 hana bruno eli 21 bruno jules kim 6 hana farah ivan 4 farah alice bruno 22 gus
chen dina 8 ivan kim farah 14 chen jules kim 6 hana
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039315-p1
Display entire lines where the third field has a value between 6 and 18, inclusive.
$3 >= 6 && $3 <= 18
kim gus 5 ivan hana hana 14 ivan kim bruno 22 farah farah hana 5 ivan jules lina 12 chen bruno hana 29 dina
hana hana 14 ivan jules lina 12 chen
chen dina 8 ivan kim farah 14 chen eli dina 19 farah chen lina 4 hana bruno eli 21 bruno jules kim 6 hana farah ivan 4 farah alice bruno 22 gus
chen dina 8 ivan kim farah 14 chen jules kim 6 hana
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039315
qwen/qwen3.7-plus
awkweave-0039316
Print column 2 only for rows where column 3 is exactly closed.
$3 == "closed"{print $2}
juniper ivan active 47 harbor gus closed 31 harbor bruno failed 33 birch bruno closed 80 juniper lina ready 73 amber dina paused 14
gus bruno
indigo ivan pending 20 cobalt eli active 114 juniper chen active 97 amber lina failed 103 ember kim active 106 cobalt lina closed 74 delta ivan closed 33 grove hana ready 96
lina ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039316-p1
Output only the second column for rows where the third column is exactly 'closed'.
$3 == "closed"{print $2}
juniper ivan active 47 harbor gus closed 31 harbor bruno failed 33 birch bruno closed 80 juniper lina ready 73 amber dina paused 14
gus bruno
indigo ivan pending 20 cobalt eli active 114 juniper chen active 97 amber lina failed 103 ember kim active 106 cobalt lina closed 74 delta ivan closed 33 grove hana ready 96
lina ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039316
qwen/qwen3.7-plus
awkweave-0039317
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
DEBUG indigo 17 ERROR ember 31 INFO birch 53 INFO fable 26 INFO birch 59 DEBUG ember 35
INFO birch 53 INFO fable 26 INFO birch 59
WARN delta 1 DEBUG indigo 44 WARN indigo 43 INFO amber 39 DEBUG fable 48 INFO birch 25 INFO harbor 48 WARN birch 83
INFO amber 39 INFO birch 25 INFO harbor 48
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039317-p1
Print all fields from lines where the first field starts with the string 'INFO'.
$1 ~ /^INFO/
DEBUG indigo 17 ERROR ember 31 INFO birch 53 INFO fable 26 INFO birch 59 DEBUG ember 35
INFO birch 53 INFO fable 26 INFO birch 59
WARN delta 1 DEBUG indigo 44 WARN indigo 43 INFO amber 39 DEBUG fable 48 INFO birch 25 INFO harbor 48 WARN birch 83
INFO amber 39 INFO birch 25 INFO harbor 48
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039317
qwen/qwen3.7-plus
awkweave-0039318
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
indigo 41 ready juniper 66 closed cobalt 87 ready indigo 90 pending amber 86 active indigo 119 active juniper 999 active
indigo 41 ready cobalt 87 ready indigo 90 pending amber 86 active indigo 119 active
delta 29 failed grove 71 closed indigo 101 paused ember 91 ready cobalt 81 pending cobalt 120 active juniper 999 active
delta 29 failed grove 71 closed indigo 101 paused ember 91 ready cobalt 81 pending cobalt 120 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039318-p1
Output all lines that do not contain the exact string juniper.
$0 !~ /juniper/
indigo 41 ready juniper 66 closed cobalt 87 ready indigo 90 pending amber 86 active indigo 119 active juniper 999 active
indigo 41 ready cobalt 87 ready indigo 90 pending amber 86 active indigo 119 active
delta 29 failed grove 71 closed indigo 101 paused ember 91 ready cobalt 81 pending cobalt 120 active juniper 999 active
delta 29 failed grove 71 closed indigo 101 paused ember 91 ready cobalt 81 pending cobalt 120 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039318
qwen/qwen3.7-plus
awkweave-0039319
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
farah delta 41 hana cobalt 78 dina delta 34 dina birch 105 farah delta 2 eli ember 90 kim harbor 119 bruno delta 12 bruno harbor 7
dina delta 34 dina birch 105
jules birch 39 hana cobalt 45 jules indigo 61 alice birch 72 gus grove 66 alice juniper 30 hana indigo 102 bruno amber 38 jules harbor 84 alice grove 13
jules indigo 61 alice birch 72
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039319-p1
Display lines 3 to 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
farah delta 41 hana cobalt 78 dina delta 34 dina birch 105 farah delta 2 eli ember 90 kim harbor 119 bruno delta 12 bruno harbor 7
dina delta 34 dina birch 105
jules birch 39 hana cobalt 45 jules indigo 61 alice birch 72 gus grove 66 alice juniper 30 hana indigo 102 bruno amber 38 jules harbor 84 alice grove 13
jules indigo 61 alice birch 72
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039319
qwen/qwen3.7-plus
awkweave-0039320
Output only the first 3 records.
NR <= 3
bruno 41 delta gus 75 grove hana 33 indigo dina 80 fable bruno 11 ember jules 105 ember farah 109 fable chen 14 fable
bruno 41 delta gus 75 grove hana 33 indigo
eli 117 juniper alice 5 delta hana 103 birch gus 118 harbor farah 29 harbor lina 82 ember chen 64 harbor eli 37 delta dina 14 grove
eli 117 juniper alice 5 delta hana 103 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039320-p1
Show only the initial 3 records.
NR <= 3
bruno 41 delta gus 75 grove hana 33 indigo dina 80 fable bruno 11 ember jules 105 ember farah 109 fable chen 14 fable
bruno 41 delta gus 75 grove hana 33 indigo
eli 117 juniper alice 5 delta hana 103 birch gus 118 harbor farah 29 harbor lina 82 ember chen 64 harbor eli 37 delta dina 14 grove
eli 117 juniper alice 5 delta hana 103 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039320
qwen/qwen3.7-plus
awkweave-0039321
Skip the first line and print every remaining line unchanged.
NR > 1
kim 112 juniper lina 91 juniper eli 49 harbor chen 30 indigo gus 17 ember lina 107 delta lina 117 juniper kim 74 cobalt
lina 91 juniper eli 49 harbor chen 30 indigo gus 17 ember lina 107 delta lina 117 juniper kim 74 cobalt
eli 12 fable lina 42 delta gus 80 fable jules 68 amber alice 41 birch lina 102 indigo gus 78 ember bruno 47 ember
lina 42 delta gus 80 fable jules 68 amber alice 41 birch lina 102 indigo gus 78 ember bruno 47 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039321-p1
Omit the first line and output the rest of the lines as they are.
NR > 1
kim 112 juniper lina 91 juniper eli 49 harbor chen 30 indigo gus 17 ember lina 107 delta lina 117 juniper kim 74 cobalt
lina 91 juniper eli 49 harbor chen 30 indigo gus 17 ember lina 107 delta lina 117 juniper kim 74 cobalt
eli 12 fable lina 42 delta gus 80 fable jules 68 amber alice 41 birch lina 102 indigo gus 78 ember bruno 47 ember
lina 42 delta gus 80 fable jules 68 amber alice 41 birch lina 102 indigo gus 78 ember bruno 47 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039321
qwen/qwen3.7-plus
awkweave-0039322
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
dina ready 61 chen active 21 lina paused 67 jules active 64 hana pending 21 dina paused 39
0
farah closed 58 kim pending 20 eli paused 44 ivan pending 46 kim closed 13 bruno pending 21 kim ready 81 bruno pending 78
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039322-p1
Count the number of records where column 2 is closed; output 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
dina ready 61 chen active 21 lina paused 67 jules active 64 hana pending 21 dina paused 39
0
farah closed 58 kim pending 20 eli paused 44 ivan pending 46 kim closed 13 bruno pending 21 kim ready 81 bruno pending 78
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039322
qwen/qwen3.7-plus
awkweave-0039323
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
10 harbor jules 2 amber jules 27 birch lina 3 cobalt gus 6 ember dina 7 delta bruno
55
13 birch dina 25 juniper alice 3 ember bruno 14 cobalt lina 22 harbor ivan 14 indigo alice
91
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039323-p1
Compute and display the total sum of integer values in column 1.
{s+=$1}END{print s+0}
10 harbor jules 2 amber jules 27 birch lina 3 cobalt gus 6 ember dina 7 delta bruno
55
13 birch dina 25 juniper alice 3 ember bruno 14 cobalt lina 22 harbor ivan 14 indigo alice
91
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039323
qwen/qwen3.7-plus
awkweave-0039324
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta chen 4 indigo lina 16 indigo chen 25 delta jules 17 birch hana 5 amber hana 15 delta gus 12 juniper jules 16
13.75
harbor alice 25 grove alice 17 fable bruno 26 delta kim 20 amber eli 7 birch bruno 11
17.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039324-p1
Print the average of column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta chen 4 indigo lina 16 indigo chen 25 delta jules 17 birch hana 5 amber hana 15 delta gus 12 juniper jules 16
13.75
harbor alice 25 grove alice 17 fable bruno 26 delta kim 20 amber eli 7 birch bruno 11
17.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039324
qwen/qwen3.7-plus
awkweave-0039325
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 10 kim amber 11 eli cobalt 18 kim fable 6 jules amber 30 farah fable 19 farah ember 20 alice fable 13 farah harbor 1 ivan birch 12 alice
1
birch 23 chen amber 4 alice delta 18 lina grove 5 bruno harbor 7 jules juniper 18 dina indigo 10 farah
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039325-p1
Identify and output the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 10 kim amber 11 eli cobalt 18 kim fable 6 jules amber 30 farah fable 19 farah ember 20 alice fable 13 farah harbor 1 ivan birch 12 alice
1
birch 23 chen amber 4 alice delta 18 lina grove 5 bruno harbor 7 jules juniper 18 dina indigo 10 farah
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039325
qwen/qwen3.7-plus
awkweave-0039326
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
22 cobalt gus 26 grove kim 1 harbor eli 11 cobalt ivan 24 grove kim 19 fable bruno
26
25 cobalt bruno 11 harbor gus 22 indigo dina 25 grove alice 17 juniper eli 9 harbor lina 12 indigo jules 3 birch gus 10 delta kim 3 ember dina
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039326-p1
Identify and output the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
22 cobalt gus 26 grove kim 1 harbor eli 11 cobalt ivan 24 grove kim 19 fable bruno
26
25 cobalt bruno 11 harbor gus 22 indigo dina 25 grove alice 17 juniper eli 9 harbor lina 12 indigo jules 3 birch gus 10 delta kim 3 ember dina
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039326
qwen/qwen3.7-plus
awkweave-0039327
Count all input records and print the total.
END{print NR}
gus 43 bruno 101 dina 78 kim 83 eli 70 jules 24
6
eli 70 ivan 102 chen 49 lina 109 dina 107 kim 104 eli 29 alice 38 dina 43 farah 28
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039327-p1
Count the total number of input records and print the result.
END{print NR}
gus 43 bruno 101 dina 78 kim 83 eli 70 jules 24
6
eli 70 ivan 102 chen 49 lina 109 dina 107 kim 104 eli 29 alice 38 dina 43 farah 28
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039327
qwen/qwen3.7-plus
awkweave-0039328
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan indigo 2 bruno delta 115 lina fable 15 lina harbor 59 lina indigo 55 lina amber 9 lina amber 9 gus delta 97 chen ember 35
ivan indigo 2 bruno delta 115 lina fable 15 lina harbor 59 lina indigo 55 lina amber 9 gus delta 97 chen ember 35
ivan harbor 110 dina birch 10 chen fable 17 kim cobalt 3 ivan indigo 115 kim cobalt 3 jules juniper 7
ivan harbor 110 dina birch 10 chen fable 17 kim cobalt 3 ivan indigo 115 jules juniper 7
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039328-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original order.
!seen[$0]++
ivan indigo 2 bruno delta 115 lina fable 15 lina harbor 59 lina indigo 55 lina amber 9 lina amber 9 gus delta 97 chen ember 35
ivan indigo 2 bruno delta 115 lina fable 15 lina harbor 59 lina indigo 55 lina amber 9 gus delta 97 chen ember 35
ivan harbor 110 dina birch 10 chen fable 17 kim cobalt 3 ivan indigo 115 kim cobalt 3 jules juniper 7
ivan harbor 110 dina birch 10 chen fable 17 kim cobalt 3 ivan indigo 115 jules juniper 7
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039328
qwen/qwen3.7-plus
awkweave-0039329
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
dina cobalt 57 bruno fable 4 farah birch 101 bruno juniper 12 gus cobalt 90 hana delta 81 farah delta 91 jules cobalt 86 chen harbor 75
dina cobalt 57 bruno fable 4 farah birch 101 bruno juniper 12 hana delta 81 chen harbor 75
jules birch 24 dina grove 55 eli delta 27 kim harbor 35 gus amber 23 eli delta 75 ivan delta 61 alice ember 119
jules birch 24 dina grove 55 eli delta 27 kim harbor 35 gus amber 23 alice ember 119
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039329-p1
Retain only the first line for each unique value in column 2, preserving the input sequence.
!seen[$2]++
dina cobalt 57 bruno fable 4 farah birch 101 bruno juniper 12 gus cobalt 90 hana delta 81 farah delta 91 jules cobalt 86 chen harbor 75
dina cobalt 57 bruno fable 4 farah birch 101 bruno juniper 12 hana delta 81 chen harbor 75
jules birch 24 dina grove 55 eli delta 27 kim harbor 35 gus amber 23 eli delta 75 ivan delta 61 alice ember 119
jules birch 24 dina grove 55 eli delta 27 kim harbor 35 gus amber 23 alice ember 119
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039329
qwen/qwen3.7-plus
awkweave-0039330
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 15 juniper lina 30 amber farah 16 birch kim 24 harbor kim 4 birch hana 25 indigo
lina 15 lina 45 farah 61 kim 85 kim 89 hana 114
bruno 27 cobalt hana 17 amber bruno 22 grove jules 23 birch ivan 13 ember ivan 1 birch kim 25 delta
bruno 27 hana 44 bruno 66 jules 89 ivan 102 ivan 103 kim 128
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039330-p1
Output the first column and the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
lina 15 juniper lina 30 amber farah 16 birch kim 24 harbor kim 4 birch hana 25 indigo
lina 15 lina 45 farah 61 kim 85 kim 89 hana 114
bruno 27 cobalt hana 17 amber bruno 22 grove jules 23 birch ivan 13 ember ivan 1 birch kim 25 delta
bruno 27 hana 44 bruno 66 jules 89 ivan 102 ivan 103 kim 128
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039330
qwen/qwen3.7-plus
awkweave-0039331
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 18 28 grove gus 12 19 fable dina 11 22 indigo jules 18 2 amber hana 26 14 birch alice 21 24 cobalt jules 27 30 ember hana 2 14 grove eli 10 23 fable bruno 21 29 birch
dina 46 gus 31 dina 33 jules 20 hana 40 alice 45 jules 57 hana 16 eli 33 bruno 50
jules 28 23 fable kim 29 4 fable dina 23 17 juniper lina 15 9 birch bruno 25 13 harbor dina 28 1 amber kim 26 18 juniper bruno 25 24 ember ivan 27 9 cobalt hana 23 17 indigo
jules 51 kim 33 dina 40 lina 24 bruno 38 dina 29 kim 44 bruno 49 ivan 36 hana 40
computed_field
1
train
original-grammar
CC-BY-4.0
null
null