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-0044382-p1
Output fields 2 and 1 for each line, in that specific sequence.
{print $2, $1}
dina 56 47 failed alice 92 120 closed ivan 86 97 closed bruno 113 53 ready bruno 89 108 active eli 20 64 failed lina 102 55 failed bruno 51 108 active
56 dina 92 alice 86 ivan 113 bruno 89 bruno 20 eli 102 lina 51 bruno
gus 86 43 pending chen 95 97 active farah 11 117 failed hana 36 87 ready lina 71 117 pending chen 75 71 paused
86 gus 95 chen 11 farah 36 hana 71 lina 75 chen
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044382
qwen/qwen3.7-plus
awkweave-0044383
Print the last field of every input line.
{print $NF}
eli kim 118 kim kim 92 jules farah 25 jules bruno 72 lina hana 98 bruno gus 75 lina hana 109 lina hana 113 gus bruno 60
118 92 25 72 98 75 109 113 60
jules chen 104 chen kim 20 chen lina 65 gus dina 90 farah gus 40 farah hana 78
104 20 65 90 40 78
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044383-p1
Print the final field from every input line.
{print $NF}
eli kim 118 kim kim 92 jules farah 25 jules bruno 72 lina hana 98 bruno gus 75 lina hana 109 lina hana 113 gus bruno 60
118 92 25 72 98 75 109 113 60
jules chen 104 chen kim 20 chen lina 65 gus dina 90 farah gus 40 farah hana 78
104 20 65 90 40 78
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044383
qwen/qwen3.7-plus
awkweave-0044384
Print the complete records where column 2 is at least 50.
$2 >= 50
lina 104 ember dina 35 fable gus 40 amber farah 89 cobalt farah 115 amber hana 31 cobalt
lina 104 ember farah 89 cobalt farah 115 amber
kim 84 ember farah 33 grove jules 38 ember chen 5 cobalt kim 20 ember hana 41 indigo chen 36 harbor kim 66 harbor
kim 84 ember kim 66 harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044384-p1
Output full records where the value in column 2 is greater than or equal to 50.
$2 >= 50
lina 104 ember dina 35 fable gus 40 amber farah 89 cobalt farah 115 amber hana 31 cobalt
lina 104 ember farah 89 cobalt farah 115 amber
kim 84 ember farah 33 grove jules 38 ember chen 5 cobalt kim 20 ember hana 41 indigo chen 36 harbor kim 66 harbor
kim 84 ember kim 66 harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044384
qwen/qwen3.7-plus
awkweave-0044385
Show whole lines whose 3rd field is between 12 and 24, inclusive.
$3 >= 12 && $3 <= 24
juniper closed 2 ready delta paused 30 failed indigo active 6 ready grove failed 21 failed birch pending 28 closed juniper active 22 ready birch paused 16 failed amber pending 11 pending delta ready 1 ready
grove failed 21 failed juniper active 22 ready birch paused 16 failed
cobalt failed 29 failed indigo closed 3 active delta ready 24 ready ember failed 7 pending harbor paused 17 paused birch ready 7 active fable closed 17 closed cobalt ready 14 paused
delta ready 24 ready harbor paused 17 paused fable closed 17 closed cobalt ready 14 paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044385-p1
Display entire lines where the third field falls within the inclusive range of 12 to 24.
$3 >= 12 && $3 <= 24
juniper closed 2 ready delta paused 30 failed indigo active 6 ready grove failed 21 failed birch pending 28 closed juniper active 22 ready birch paused 16 failed amber pending 11 pending delta ready 1 ready
grove failed 21 failed juniper active 22 ready birch paused 16 failed
cobalt failed 29 failed indigo closed 3 active delta ready 24 ready ember failed 7 pending harbor paused 17 paused birch ready 7 active fable closed 17 closed cobalt ready 14 paused
delta ready 24 ready harbor paused 17 paused fable closed 17 closed cobalt ready 14 paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044385
qwen/qwen3.7-plus
awkweave-0044386
Print column 2 only for rows where column 1 is exactly ready.
$1 == "ready"{print $2}
pending lina indigo 72 failed lina fable 23 pending dina fable 22 failed eli fable 52 active bruno grove 7 ready bruno harbor 60 failed farah harbor 59
bruno
ready chen grove 103 closed lina grove 62 active chen indigo 42 pending eli harbor 93 ready chen indigo 39 failed eli cobalt 26 ready alice cobalt 64 ready kim delta 106 closed ivan cobalt 37 ready chen amber 89
chen chen alice kim chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044386-p1
Print only the second column for rows where the first column is exactly 'ready'.
$1 == "ready"{print $2}
pending lina indigo 72 failed lina fable 23 pending dina fable 22 failed eli fable 52 active bruno grove 7 ready bruno harbor 60 failed farah harbor 59
bruno
ready chen grove 103 closed lina grove 62 active chen indigo 42 pending eli harbor 93 ready chen indigo 39 failed eli cobalt 26 ready alice cobalt 64 ready kim delta 106 closed ivan cobalt 37 ready chen amber 89
chen chen alice kim chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044386
qwen/qwen3.7-plus
awkweave-0044387
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
indigo WARN 115 fable WARN 76 indigo DEBUG 22 birch INFO 7 delta DEBUG 25 indigo ERROR 86 juniper WARN 67 grove WARN 12
indigo ERROR 86
delta ERROR 8 ember DEBUG 90 cobalt INFO 33 amber INFO 106 delta WARN 74 ember DEBUG 78
delta ERROR 8
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044387-p1
Output all fields from lines where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
indigo WARN 115 fable WARN 76 indigo DEBUG 22 birch INFO 7 delta DEBUG 25 indigo ERROR 86 juniper WARN 67 grove WARN 12
indigo ERROR 86
delta ERROR 8 ember DEBUG 90 cobalt INFO 33 amber INFO 106 delta WARN 74 ember DEBUG 78
delta ERROR 8
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044387
qwen/qwen3.7-plus
awkweave-0044388
Print every line except those containing the exact text amber.
$0 !~ /amber/
birch 71 active harbor 65 paused indigo 119 paused cobalt 35 ready indigo 42 paused ember 44 active indigo 93 closed amber 999 active
birch 71 active harbor 65 paused indigo 119 paused cobalt 35 ready indigo 42 paused ember 44 active indigo 93 closed
cobalt 77 active harbor 40 pending juniper 10 pending harbor 49 active indigo 28 paused fable 10 paused delta 73 pending birch 107 closed juniper 95 paused amber 999 active
cobalt 77 active harbor 40 pending juniper 10 pending harbor 49 active indigo 28 paused fable 10 paused delta 73 pending birch 107 closed juniper 95 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044388-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
birch 71 active harbor 65 paused indigo 119 paused cobalt 35 ready indigo 42 paused ember 44 active indigo 93 closed amber 999 active
birch 71 active harbor 65 paused indigo 119 paused cobalt 35 ready indigo 42 paused ember 44 active indigo 93 closed
cobalt 77 active harbor 40 pending juniper 10 pending harbor 49 active indigo 28 paused fable 10 paused delta 73 pending birch 107 closed juniper 95 paused amber 999 active
cobalt 77 active harbor 40 pending juniper 10 pending harbor 49 active indigo 28 paused fable 10 paused delta 73 pending birch 107 closed juniper 95 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044388
qwen/qwen3.7-plus
awkweave-0044389
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
chen amber 46 ivan indigo 79 chen indigo 21 farah indigo 14 gus delta 41 farah harbor 89 eli cobalt 54 farah indigo 27
ivan indigo 79 chen indigo 21 farah indigo 14 gus delta 41
hana fable 58 dina grove 71 alice fable 12 gus fable 62 lina amber 91 bruno harbor 41 hana birch 82
dina grove 71 alice fable 12 gus fable 62 lina amber 91
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044389-p1
Output lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
chen amber 46 ivan indigo 79 chen indigo 21 farah indigo 14 gus delta 41 farah harbor 89 eli cobalt 54 farah indigo 27
ivan indigo 79 chen indigo 21 farah indigo 14 gus delta 41
hana fable 58 dina grove 71 alice fable 12 gus fable 62 lina amber 91 bruno harbor 41 hana birch 82
dina grove 71 alice fable 12 gus fable 62 lina amber 91
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044389
qwen/qwen3.7-plus
awkweave-0044400
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 9 indigo jules 16 amber dina 15 ember eli 28 ember gus 6 delta dina 9 amber lina 3 fable jules 29 delta farah 20 cobalt dina 12 cobalt
gus 9 jules 25 dina 40 eli 68 gus 74 dina 83 lina 86 jules 115 farah 135 dina 147
ivan 3 cobalt hana 3 fable ivan 30 amber ivan 12 indigo farah 2 amber jules 27 harbor bruno 5 indigo eli 23 juniper alice 7 cobalt
ivan 3 hana 6 ivan 36 ivan 48 farah 50 jules 77 bruno 82 eli 105 alice 112
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044400-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}
gus 9 indigo jules 16 amber dina 15 ember eli 28 ember gus 6 delta dina 9 amber lina 3 fable jules 29 delta farah 20 cobalt dina 12 cobalt
gus 9 jules 25 dina 40 eli 68 gus 74 dina 83 lina 86 jules 115 farah 135 dina 147
ivan 3 cobalt hana 3 fable ivan 30 amber ivan 12 indigo farah 2 amber jules 27 harbor bruno 5 indigo eli 23 juniper alice 7 cobalt
ivan 3 hana 6 ivan 36 ivan 48 farah 50 jules 77 bruno 82 eli 105 alice 112
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044400
qwen/qwen3.7-plus
awkweave-0044401
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 4 14 cobalt ivan 2 15 harbor kim 24 2 birch hana 20 29 grove jules 4 26 cobalt hana 5 2 indigo eli 16 22 delta eli 24 20 ember farah 23 10 cobalt
ivan 18 ivan 17 kim 26 hana 49 jules 30 hana 7 eli 38 eli 44 farah 33
eli 17 29 fable jules 13 3 indigo bruno 2 10 fable farah 26 21 harbor farah 6 21 cobalt hana 21 27 cobalt ivan 22 21 ember jules 26 19 birch eli 4 2 indigo
eli 46 jules 16 bruno 12 farah 47 farah 27 hana 48 ivan 43 jules 45 eli 6
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044401-p1
For every line, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
ivan 4 14 cobalt ivan 2 15 harbor kim 24 2 birch hana 20 29 grove jules 4 26 cobalt hana 5 2 indigo eli 16 22 delta eli 24 20 ember farah 23 10 cobalt
ivan 18 ivan 17 kim 26 hana 49 jules 30 hana 7 eli 38 eli 44 farah 33
eli 17 29 fable jules 13 3 indigo bruno 2 10 fable farah 26 21 harbor farah 6 21 cobalt hana 21 27 cobalt ivan 22 21 ember jules 26 19 birch eli 4 2 indigo
eli 46 jules 16 bruno 12 farah 47 farah 27 hana 48 ivan 43 jules 45 eli 6
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044401
qwen/qwen3.7-plus
awkweave-0044402
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
lina 12 bruno 27 hana 6 bruno 2 ivan 14 alice 14 bruno 30
lina fail bruno pass hana fail bruno fail ivan fail alice fail bruno pass
jules 28 eli 18 ivan 21 alice 3 kim 13 jules 30 farah 2 eli 6
jules pass eli fail ivan fail alice fail kim fail jules pass farah fail eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044402-p1
Show the first column; if the second column is 22 or greater, output 'pass', otherwise output 'fail'.
{print $1,($2>=22?"pass":"fail")}
lina 12 bruno 27 hana 6 bruno 2 ivan 14 alice 14 bruno 30
lina fail bruno pass hana fail bruno fail ivan fail alice fail bruno pass
jules 28 eli 18 ivan 21 alice 3 kim 13 jules 30 farah 2 eli 6
jules pass eli fail ivan fail alice fail kim fail jules pass farah fail eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044402
qwen/qwen3.7-plus
awkweave-0044403
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli indigo 34 chen grove 6 eli indigo 117 kim indigo 77 eli harbor 70 jules indigo 5 lina harbor 79
INDIGO GROVE INDIGO INDIGO HARBOR INDIGO HARBOR
farah amber 61 hana juniper 117 dina cobalt 10 dina grove 55 chen cobalt 25 jules birch 17 ivan birch 16 gus fable 67
AMBER JUNIPER COBALT GROVE COBALT BIRCH BIRCH FABLE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044403-p1
Transform the second column to uppercase letters and print only that modified column.
{print toupper($2)}
eli indigo 34 chen grove 6 eli indigo 117 kim indigo 77 eli harbor 70 jules indigo 5 lina harbor 79
INDIGO GROVE INDIGO INDIGO HARBOR INDIGO HARBOR
farah amber 61 hana juniper 117 dina cobalt 10 dina grove 55 chen cobalt 25 jules birch 17 ivan birch 16 gus fable 67
AMBER JUNIPER COBALT GROVE COBALT BIRCH BIRCH FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044403
qwen/qwen3.7-plus
awkweave-0044404
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
harbor 33 indigo 77 cobalt 102 indigo 21 delta 22 delta 110 birch 51 cobalt 114 grove 98
rbor digo balt digo lta lta rch balt ove
indigo 22 juniper 47 birch 3 amber 74 grove 67 delta 2 grove 77 cobalt 39 harbor 20 birch 15
digo nipe rch ber ove lta ove balt rbor rch
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044404-p1
Extract and print a substring of length 4 from the first column, beginning at the third character.
{print substr($1,3,4)}
harbor 33 indigo 77 cobalt 102 indigo 21 delta 22 delta 110 birch 51 cobalt 114 grove 98
rbor digo balt digo lta lta rch balt ove
indigo 22 juniper 47 birch 3 amber 74 grove 67 delta 2 grove 77 cobalt 39 harbor 20 birch 15
digo nipe rch ber ove lta ove balt rbor rch
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044404
qwen/qwen3.7-plus
awkweave-0044405
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_birch 104 grove_grove 107 indigo_grove 78 birch_harbor 49 grove_grove 101 delta_amber 2 fable_birch 13 delta_juniper 28
delta birch grove grove indigo grove birch harbor grove grove delta amber fable birch delta juniper
harbor_delta 14 harbor_delta 64 ember_amber 109 birch_amber 106 cobalt_juniper 66 birch_cobalt 100 amber_amber 57 grove_indigo 100 birch_ember 106 fable_harbor 21
harbor delta harbor delta ember amber birch amber cobalt juniper birch cobalt amber amber grove indigo birch ember fable harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044405-p1
Substitute all underscores in the first column with spaces and output the result.
{gsub(/_/," ",$1);print $1}
delta_birch 104 grove_grove 107 indigo_grove 78 birch_harbor 49 grove_grove 101 delta_amber 2 fable_birch 13 delta_juniper 28
delta birch grove grove indigo grove birch harbor grove grove delta amber fable birch delta juniper
harbor_delta 14 harbor_delta 64 ember_amber 109 birch_amber 106 cobalt_juniper 66 birch_cobalt 100 amber_amber 57 grove_indigo 100 birch_ember 106 fable_harbor 21
harbor delta harbor delta ember amber birch amber cobalt juniper birch cobalt amber amber grove indigo birch ember fable harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044405
qwen/qwen3.7-plus
awkweave-0044406
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)}
gus delta 84 closed eli birch 83 closed hana cobalt 64 ready dina ember 93 failed bruno amber 27 paused eli ember 11 closed chen grove 10 pending eli cobalt 74 pending lina cobalt 36 failed jules ember 49 paused
closed 84 delta gus closed 83 birch eli ready 64 cobalt hana failed 93 ember dina paused 27 amber bruno closed 11 ember eli pending 10 grove chen pending 74 cobalt eli failed 36 cobalt lina paused 49 ember jules
kim amber 69 ready gus ember 26 ready alice grove 55 active alice amber 77 failed eli harbor 41 ready chen harbor 91 ready hana juniper 103 active chen delta 92 closed gus birch 62 paused
ready 69 amber kim ready 26 ember gus active 55 grove alice failed 77 amber alice ready 41 harbor eli ready 91 harbor chen active 103 juniper hana closed 92 delta chen paused 62 birch gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044406-p1
Reverse the sequence of all fields on each line and print them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus delta 84 closed eli birch 83 closed hana cobalt 64 ready dina ember 93 failed bruno amber 27 paused eli ember 11 closed chen grove 10 pending eli cobalt 74 pending lina cobalt 36 failed jules ember 49 paused
closed 84 delta gus closed 83 birch eli ready 64 cobalt hana failed 93 ember dina paused 27 amber bruno closed 11 ember eli pending 10 grove chen pending 74 cobalt eli failed 36 cobalt lina paused 49 ember jules
kim amber 69 ready gus ember 26 ready alice grove 55 active alice amber 77 failed eli harbor 41 ready chen harbor 91 ready hana juniper 103 active chen delta 92 closed gus birch 62 paused
ready 69 amber kim ready 26 ember gus active 55 grove alice failed 77 amber alice ready 41 harbor eli ready 91 harbor chen active 103 juniper hana closed 92 delta chen paused 62 birch gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044406
qwen/qwen3.7-plus
awkweave-0044407
Print the number of whitespace-separated fields on each line.
{print NF}
jules grove 117 closed jules cobalt 13 ready alice ember 57 failed bruno amber 80 closed bruno fable 42 closed alice delta 45 failed chen indigo 27 active jules delta 48 closed eli juniper 16 active
4 4 4 4 4 4 4 4 4
ivan grove 97 ready dina juniper 84 pending jules grove 65 failed hana delta 77 active alice juniper 13 failed dina amber 84 pending dina harbor 60 active kim indigo 73 ready gus harbor 85 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044407-p1
Print the count of whitespace-delimited fields found on each line.
{print NF}
jules grove 117 closed jules cobalt 13 ready alice ember 57 failed bruno amber 80 closed bruno fable 42 closed alice delta 45 failed chen indigo 27 active jules delta 48 closed eli juniper 16 active
4 4 4 4 4 4 4 4 4
ivan grove 97 ready dina juniper 84 pending jules grove 65 failed hana delta 77 active alice juniper 13 failed dina amber 84 pending dina harbor 60 active kim indigo 73 ready gus harbor 85 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044407
qwen/qwen3.7-plus
awkweave-0044408
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
lina gamma 17 dina alpha 99 ivan gamma 113 hana gamma 98 farah beta 75 chen beta 17 kim beta 99 kim alpha 43 dina beta 9
gamma 3 alpha 2 beta 4
lina alpha 8 bruno delta 118 chen gamma 66 lina alpha 22 jules gamma 13 gus alpha 118
alpha 3 delta 1 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044408-p1
Tally the occurrences of each unique value in the second column and print the value alongside its count, ordered by when they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
lina gamma 17 dina alpha 99 ivan gamma 113 hana gamma 98 farah beta 75 chen beta 17 kim beta 99 kim alpha 43 dina beta 9
gamma 3 alpha 2 beta 4
lina alpha 8 bruno delta 118 chen gamma 66 lina alpha 22 jules gamma 13 gus alpha 118
alpha 3 delta 1 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044408
qwen/qwen3.7-plus
awkweave-0044409
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]]}
ivan gamma 11 jules delta 6 farah beta 27 gus beta 1 ivan alpha 21 farah beta 2 hana beta 25
gamma 11 delta 6 beta 55 alpha 21
lina gamma 11 chen beta 27 ivan gamma 3 jules delta 4 gus gamma 24 hana gamma 6 alice delta 15 eli beta 9
gamma 44 beta 36 delta 19
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044409-p1
Calculate the sum of the third column for each distinct category in the second column, displaying the results in the order the categories first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan gamma 11 jules delta 6 farah beta 27 gus beta 1 ivan alpha 21 farah beta 2 hana beta 25
gamma 11 delta 6 beta 55 alpha 21
lina gamma 11 chen beta 27 ivan gamma 3 jules delta 4 gus gamma 24 hana gamma 6 alice delta 15 eli beta 9
gamma 44 beta 36 delta 19
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044409
qwen/qwen3.7-plus
awkweave-0044410
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]]}
gamma indigo 66 delta indigo 119 gamma grove 28 alpha fable 95 alpha amber 91 delta fable 98 alpha harbor 24 delta juniper 58 alpha grove 115
gamma 2 delta 3 alpha 4
delta ember 30 beta grove 35 beta grove 14 alpha cobalt 6 gamma harbor 91 gamma fable 104 alpha harbor 11 alpha birch 118 gamma ember 5
beta 2 alpha 3 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044410-p1
List each duplicate value from the first column along with its frequency, sorted by the order of first appearance.
{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]]}
gamma indigo 66 delta indigo 119 gamma grove 28 alpha fable 95 alpha amber 91 delta fable 98 alpha harbor 24 delta juniper 58 alpha grove 115
gamma 2 delta 3 alpha 4
delta ember 30 beta grove 35 beta grove 14 alpha cobalt 6 gamma harbor 91 gamma fable 104 alpha harbor 11 alpha birch 118 gamma ember 5
beta 2 alpha 3 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044410
qwen/qwen3.7-plus
awkweave-0044411
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name score state region r001 lina 6 closed r002 gus 6 failed r003 chen 30 ready r004 gus 5 closed r005 farah 8 active r006 dina 23 ready r007 alice 4 pending r008 gus 7 active r009 ivan 20 paused
closed failed ready closed active ready pending active paused
display_name score state region r001 ivan 27 active r002 eli 29 failed r003 kim 3 ready r004 bruno 27 ready r005 kim 4 ready r006 farah 30 pending r007 ivan 18 closed
active failed ready ready ready pending closed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044411-p1
Skip the header row and print the values from the region column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name score state region r001 lina 6 closed r002 gus 6 failed r003 chen 30 ready r004 gus 5 closed r005 farah 8 active r006 dina 23 ready r007 alice 4 pending r008 gus 7 active r009 ivan 20 paused
closed failed ready closed active ready pending active paused
display_name score state region r001 ivan 27 active r002 eli 29 failed r003 kim 3 ready r004 bruno 27 ready r005 kim 4 ready r006 farah 30 pending r007 ivan 18 closed
active failed ready ready ready pending closed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044411
qwen/qwen3.7-plus
awkweave-0044412
The first row is a header. Print display_name for data rows whose score is greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 dina 30 paused r002 hana 10 pending r003 dina 11 ready r004 farah 7 ready r005 gus 2 ready r006 kim 23 paused r007 chen 1 failed r008 kim 24 pending r009 jules 1 closed
dina kim kim
record_id display_name score state r001 hana 20 pending r002 jules 19 pending r003 chen 22 pending r004 kim 18 active r005 ivan 25 closed r006 alice 13 ready
chen ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044412-p1
Skip the header row and output the display_name field for all records where the score exceeds 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 dina 30 paused r002 hana 10 pending r003 dina 11 ready r004 farah 7 ready r005 gus 2 ready r006 kim 23 paused r007 chen 1 failed r008 kim 24 pending r009 jules 1 closed
dina kim kim
record_id display_name score state r001 hana 20 pending r002 jules 19 pending r003 chen 22 pending r004 kim 18 active r005 ivan 25 closed r006 alice 13 ready
chen ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044412
qwen/qwen3.7-plus
awkweave-0044413
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 24 failed alice 16 ready gus 18 paused chen 24 failed eli 12 ready jules 12 failed ivan 12 ready kim 28 ready eli 28 ready
failed ready paused failed ready failed ready ready ready
bruno 13 active bruno 5 closed dina 27 paused kim 12 paused kim 28 pending chen 3 failed
active closed paused paused pending failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044413-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 24 failed alice 16 ready gus 18 paused chen 24 failed eli 12 ready jules 12 failed ivan 12 ready kim 28 ready eli 28 ready
failed ready paused failed ready failed ready ready ready
bruno 13 active bruno 5 closed dina 27 paused kim 12 paused kim 28 pending chen 3 failed
active closed paused paused pending failed
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0044413
qwen/qwen3.7-plus
awkweave-0044414
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23.
BEGIN{FS=OFS=","}$2>23{print $1}
gus,6,pending dina,25,ready lina,24,pending chen,27,active ivan,28,closed ivan,14,paused alice,14,ready eli,7,paused dina,6,pending
dina lina chen ivan
kim,26,pending dina,4,pending farah,4,paused kim,13,paused hana,14,failed hana,26,paused lina,30,active kim,29,paused
kim hana lina kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044414-p1
For simple CSV data without quoted commas, output the first column whenever the second column is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
gus,6,pending dina,25,ready lina,24,pending chen,27,active ivan,28,closed ivan,14,paused alice,14,ready eli,7,paused dina,6,pending
dina lina chen ivan
kim,26,pending dina,4,pending farah,4,paused kim,13,paused hana,14,failed hana,26,paused lina,30,active kim,29,paused
kim hana lina kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044414
qwen/qwen3.7-plus
awkweave-0044415
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen delta 99 eli amber 97 kim juniper 50 jules amber 15 ivan harbor 47 farah cobalt 41 eli juniper 19 gus birch 18 bruno indigo 14
chen delta 99 eli amber 97 kim juniper 50 jules amber 15 ivan harbor 47 farah cobalt 41 eli juniper 19 gus birch 18 bruno indigo 14
kim amber 39 lina cobalt 106 lina juniper 31 alice amber 10 hana indigo 114 jules birch 15 jules fable 70 gus indigo 79 kim harbor 114 gus delta 107
kim amber 39 lina cobalt 106 lina juniper 31 alice amber 10 hana indigo 114 jules birch 15 jules fable 70 gus indigo 79 kim harbor 114 gus delta 107
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044415-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
chen delta 99 eli amber 97 kim juniper 50 jules amber 15 ivan harbor 47 farah cobalt 41 eli juniper 19 gus birch 18 bruno indigo 14
chen delta 99 eli amber 97 kim juniper 50 jules amber 15 ivan harbor 47 farah cobalt 41 eli juniper 19 gus birch 18 bruno indigo 14
kim amber 39 lina cobalt 106 lina juniper 31 alice amber 10 hana indigo 114 jules birch 15 jules fable 70 gus indigo 79 kim harbor 114 gus delta 107
kim amber 39 lina cobalt 106 lina juniper 31 alice amber 10 hana indigo 114 jules birch 15 jules fable 70 gus indigo 79 kim harbor 114 gus delta 107
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044415
qwen/qwen3.7-plus
awkweave-0044416
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen ember 97 ready chen birch 71 active jules harbor 53 ready alice cobalt 62 ready eli delta 81 active bruno grove 103 pending
bruno grove 103 pending
alice delta 108 pending ivan birch 31 active alice indigo 57 pending chen indigo 40 active farah cobalt 55 closed farah harbor 18 pending jules delta 33 closed bruno birch 104 closed
alice delta 108 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044416-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
chen ember 97 ready chen birch 71 active jules harbor 53 ready alice cobalt 62 ready eli delta 81 active bruno grove 103 pending
bruno grove 103 pending
alice delta 108 pending ivan birch 31 active alice indigo 57 pending chen indigo 40 active farah cobalt 55 closed farah harbor 18 pending jules delta 33 closed bruno birch 104 closed
alice delta 108 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044416
qwen/qwen3.7-plus
awkweave-0044417
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
lina 84 hana 114 ivan 2 hana 14 hana 119 alice 42
lina 84 hana 14
farah 113 lina 96 kim 28 gus 38 chen 5 ivan 120 bruno 58 bruno 112 bruno 79
farah 113 gus 38 bruno 58
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044417-p1
Output every third line beginning with the first line (i.e., lines 1, 4, 7, etc.).
NR%3==1
lina 84 hana 114 ivan 2 hana 14 hana 119 alice 42
lina 84 hana 14
farah 113 lina 96 kim 28 gus 38 chen 5 ivan 120 bruno 58 bruno 112 bruno 79
farah 113 gus 38 bruno 58
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044417
qwen/qwen3.7-plus
awkweave-0044418
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 11 gamma birch 86 gamma harbor 119 beta grove 0 delta ember 62 delta harbor 40 alpha grove 43 beta amber 99 alpha grove 6 gamma ember 65
4
beta harbor 15 delta delta 29 alpha juniper 49 gamma grove 47 delta birch 16 delta cobalt 118 delta harbor 95 alpha cobalt 110 gamma cobalt 34 beta grove 80
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044418-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 11 gamma birch 86 gamma harbor 119 beta grove 0 delta ember 62 delta harbor 40 alpha grove 43 beta amber 99 alpha grove 6 gamma ember 65
4
beta harbor 15 delta delta 29 alpha juniper 49 gamma grove 47 delta birch 16 delta cobalt 118 delta harbor 95 alpha cobalt 110 gamma cobalt 34 beta grove 80
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044418
qwen/qwen3.7-plus
awkweave-0044419
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 13 0 chen 10 17 farah 4 6 gus 21 25 hana 23 23 alice 4 17 eli 4 18 bruno 24 15 jules 26 3 hana 8 10
chen 0.59 farah 0.67 gus 0.84 hana 1.00 alice 0.24 eli 0.22 bruno 1.60 jules 8.67 hana 0.80
gus 23 0 gus 21 29 hana 12 2 eli 14 3 kim 6 18 dina 23 3 gus 11 22
gus 0.72 hana 6.00 eli 4.67 kim 0.33 dina 7.67 gus 0.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044419-p1
For each row, output the first column and the result of dividing the second column by the third column rounded to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 13 0 chen 10 17 farah 4 6 gus 21 25 hana 23 23 alice 4 17 eli 4 18 bruno 24 15 jules 26 3 hana 8 10
chen 0.59 farah 0.67 gus 0.84 hana 1.00 alice 0.24 eli 0.22 bruno 1.60 jules 8.67 hana 0.80
gus 23 0 gus 21 29 hana 12 2 eli 14 3 kim 6 18 dina 23 3 gus 11 22
gus 0.72 hana 6.00 eli 4.67 kim 0.33 dina 7.67 gus 0.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044419
qwen/qwen3.7-plus
awkweave-0044420
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 fable 10 farah grove 29 dina amber 16 kim grove 8 lina juniper 26 jules amber 24 dina delta 21
farah grove 29 lina juniper 26 jules amber 24
eli juniper 12 dina birch 5 dina indigo 17 ivan birch 29 kim harbor 21 lina juniper 5
ivan birch 29 kim harbor 21 dina indigo 17
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044420-p1
Output the three full records with the highest numeric values in the third column, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules fable 10 farah grove 29 dina amber 16 kim grove 8 lina juniper 26 jules amber 24 dina delta 21
farah grove 29 lina juniper 26 jules amber 24
eli juniper 12 dina birch 5 dina indigo 17 ivan birch 29 kim harbor 21 lina juniper 5
ivan birch 29 kim harbor 21 dina indigo 17
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044420
qwen/qwen3.7-plus
awkweave-0044421
Select the 4th and 1st fields in that order.
{print $4, $1}
indigo pending 120 cobalt amber pending 16 amber indigo active 47 ember juniper active 26 delta cobalt closed 46 birch grove closed 5 cobalt grove active 53 fable
cobalt indigo amber amber ember indigo delta juniper birch cobalt cobalt grove fable grove
grove ready 33 delta indigo closed 54 delta indigo active 47 birch indigo ready 98 cobalt fable active 54 fable harbor ready 108 grove
delta grove delta indigo birch indigo cobalt indigo fable fable grove harbor
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044421-p1
Extract and print the fourth field followed by the first field, in that specific order.
{print $4, $1}
indigo pending 120 cobalt amber pending 16 amber indigo active 47 ember juniper active 26 delta cobalt closed 46 birch grove closed 5 cobalt grove active 53 fable
cobalt indigo amber amber ember indigo delta juniper birch cobalt cobalt grove fable grove
grove ready 33 delta indigo closed 54 delta indigo active 47 birch indigo ready 98 cobalt fable active 54 fable harbor ready 108 grove
delta grove delta indigo birch indigo cobalt indigo fable fable grove harbor
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044421
qwen/qwen3.7-plus
awkweave-0044422
Print the last field of every input line.
{print $NF}
juniper lina failed 17 indigo paused ember farah failed 100 delta ready amber farah closed 6 harbor paused indigo dina failed 54 birch closed cobalt hana active 67 cobalt failed birch farah ready 118 amber failed cobalt jules closed 86 birch ready birch dina ready 104 fable failed
paused ready paused closed failed failed ready failed
delta dina pending 29 ember paused amber bruno paused 117 cobalt paused delta dina ready 28 fable ready amber ivan paused 36 harbor pending grove jules closed 3 ember active grove hana ready 30 indigo failed fable hana ready 26 ember closed amber bruno failed 42 amber paused juniper hana failed 49 birch failed
paused paused ready pending active failed closed paused failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044422-p1
Print the final field from every line of input.
{print $NF}
juniper lina failed 17 indigo paused ember farah failed 100 delta ready amber farah closed 6 harbor paused indigo dina failed 54 birch closed cobalt hana active 67 cobalt failed birch farah ready 118 amber failed cobalt jules closed 86 birch ready birch dina ready 104 fable failed
paused ready paused closed failed failed ready failed
delta dina pending 29 ember paused amber bruno paused 117 cobalt paused delta dina ready 28 fable ready amber ivan paused 36 harbor pending grove jules closed 3 ember active grove hana ready 30 indigo failed fable hana ready 26 ember closed amber bruno failed 42 amber paused juniper hana failed 49 birch failed
paused paused ready pending active failed closed paused failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044422
qwen/qwen3.7-plus
awkweave-0044423
Print the complete records where column 2 is at least 35.
$2 >= 35
pending 82 active ready 110 closed closed 95 ready pending 106 paused ready 86 active active 32 pending closed 52 failed active 72 ready pending 77 pending
pending 82 active ready 110 closed closed 95 ready pending 106 paused ready 86 active closed 52 failed active 72 ready pending 77 pending
paused 3 closed paused 62 active paused 63 ready failed 63 pending failed 12 ready active 21 pending failed 68 active paused 52 active
paused 62 active paused 63 ready failed 63 pending failed 68 active paused 52 active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044423-p1
Output all complete records where the value in the second column is 35 or higher.
$2 >= 35
pending 82 active ready 110 closed closed 95 ready pending 106 paused ready 86 active active 32 pending closed 52 failed active 72 ready pending 77 pending
pending 82 active ready 110 closed closed 95 ready pending 106 paused ready 86 active closed 52 failed active 72 ready pending 77 pending
paused 3 closed paused 62 active paused 63 ready failed 63 pending failed 12 ready active 21 pending failed 68 active paused 52 active
paused 62 active paused 63 ready failed 63 pending failed 68 active paused 52 active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044423
qwen/qwen3.7-plus
awkweave-0044424
Show whole lines whose 3rd field is between 10 and 28, inclusive.
$3 >= 10 && $3 <= 28
birch dina 3 failed amber bruno 21 closed harbor eli 8 active ember jules 25 failed indigo bruno 3 active fable ivan 7 active delta gus 12 pending harbor lina 7 paused cobalt farah 4 paused
amber bruno 21 closed ember jules 25 failed delta gus 12 pending
birch eli 27 paused delta chen 15 ready birch eli 24 active cobalt farah 4 failed juniper ivan 20 pending birch eli 15 paused indigo hana 5 paused juniper farah 12 failed
birch eli 27 paused delta chen 15 ready birch eli 24 active juniper ivan 20 pending birch eli 15 paused juniper farah 12 failed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044424-p1
Display entire lines where the third field falls within the inclusive range of 10 to 28.
$3 >= 10 && $3 <= 28
birch dina 3 failed amber bruno 21 closed harbor eli 8 active ember jules 25 failed indigo bruno 3 active fable ivan 7 active delta gus 12 pending harbor lina 7 paused cobalt farah 4 paused
amber bruno 21 closed ember jules 25 failed delta gus 12 pending
birch eli 27 paused delta chen 15 ready birch eli 24 active cobalt farah 4 failed juniper ivan 20 pending birch eli 15 paused indigo hana 5 paused juniper farah 12 failed
birch eli 27 paused delta chen 15 ready birch eli 24 active juniper ivan 20 pending birch eli 15 paused juniper farah 12 failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044424
qwen/qwen3.7-plus
awkweave-0044425
Print column 1 only for rows where column 2 is exactly active.
$2 == "active"{print $1}
bruno active indigo 2 dina active fable 80 lina active grove 54 ivan failed cobalt 74 hana failed harbor 32 gus pending delta 18 chen ready amber 6 eli closed juniper 9 hana closed grove 63
bruno dina lina
kim closed birch 84 jules failed indigo 86 ivan ready delta 8 eli closed delta 90 gus pending cobalt 71 alice pending fable 24
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044425-p1
Output only the first column for rows where the second column is exactly active.
$2 == "active"{print $1}
bruno active indigo 2 dina active fable 80 lina active grove 54 ivan failed cobalt 74 hana failed harbor 32 gus pending delta 18 chen ready amber 6 eli closed juniper 9 hana closed grove 63
bruno dina lina
kim closed birch 84 jules failed indigo 86 ivan ready delta 8 eli closed delta 90 gus pending cobalt 71 alice pending fable 24
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044425
qwen/qwen3.7-plus
awkweave-0044426
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
119 WARN ember 67 ERROR birch 75 DEBUG indigo 33 DEBUG indigo 37 WARN delta 11 ERROR amber 79 INFO ember 9 INFO fable 107 INFO amber
67 ERROR birch 11 ERROR amber
52 WARN ember 45 ERROR cobalt 50 WARN indigo 69 ERROR delta 117 WARN birch 44 ERROR grove 84 WARN ember 36 INFO ember
45 ERROR cobalt 69 ERROR delta 44 ERROR grove
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044426-p1
Print all fields from lines where the second field starts with ERROR.
$2 ~ /^ERROR/
119 WARN ember 67 ERROR birch 75 DEBUG indigo 33 DEBUG indigo 37 WARN delta 11 ERROR amber 79 INFO ember 9 INFO fable 107 INFO amber
67 ERROR birch 11 ERROR amber
52 WARN ember 45 ERROR cobalt 50 WARN indigo 69 ERROR delta 117 WARN birch 44 ERROR grove 84 WARN ember 36 INFO ember
45 ERROR cobalt 69 ERROR delta 44 ERROR grove
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044426
qwen/qwen3.7-plus
awkweave-0044427
Print every line except those containing the exact text grove.
$0 !~ /grove/
amber 99 paused fable 12 ready harbor 67 failed ember 78 failed fable 118 paused fable 9 pending harbor 25 active ember 115 ready harbor 91 closed juniper 69 pending grove 999 active
amber 99 paused fable 12 ready harbor 67 failed ember 78 failed fable 118 paused fable 9 pending harbor 25 active ember 115 ready harbor 91 closed juniper 69 pending
cobalt 76 paused cobalt 8 paused harbor 56 ready fable 26 paused juniper 23 pending ember 4 failed fable 82 closed fable 20 active indigo 82 failed grove 999 active
cobalt 76 paused cobalt 8 paused harbor 56 ready fable 26 paused juniper 23 pending ember 4 failed fable 82 closed fable 20 active indigo 82 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044427-p1
Print every line that does not contain the exact string grove.
$0 !~ /grove/
amber 99 paused fable 12 ready harbor 67 failed ember 78 failed fable 118 paused fable 9 pending harbor 25 active ember 115 ready harbor 91 closed juniper 69 pending grove 999 active
amber 99 paused fable 12 ready harbor 67 failed ember 78 failed fable 118 paused fable 9 pending harbor 25 active ember 115 ready harbor 91 closed juniper 69 pending
cobalt 76 paused cobalt 8 paused harbor 56 ready fable 26 paused juniper 23 pending ember 4 failed fable 82 closed fable 20 active indigo 82 failed grove 999 active
cobalt 76 paused cobalt 8 paused harbor 56 ready fable 26 paused juniper 23 pending ember 4 failed fable 82 closed fable 20 active indigo 82 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044427
qwen/qwen3.7-plus
awkweave-0044428
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
lina indigo 68 gus amber 42 ivan fable 72 gus cobalt 73 gus grove 14 farah amber 103 eli cobalt 2
gus amber 42 ivan fable 72 gus cobalt 73
farah birch 40 jules fable 113 farah amber 96 farah amber 107 gus juniper 96 lina indigo 86
jules fable 113 farah amber 96 farah amber 107
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044428-p1
Output lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
lina indigo 68 gus amber 42 ivan fable 72 gus cobalt 73 gus grove 14 farah amber 103 eli cobalt 2
gus amber 42 ivan fable 72 gus cobalt 73
farah birch 40 jules fable 113 farah amber 96 farah amber 107 gus juniper 96 lina indigo 86
jules fable 113 farah amber 96 farah amber 107
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044428
qwen/qwen3.7-plus
awkweave-0044429
Output only the first 3 records.
NR <= 3
bruno 16 fable farah 89 fable jules 13 grove alice 19 cobalt kim 98 grove farah 115 ember gus 77 amber alice 11 grove
bruno 16 fable farah 89 fable jules 13 grove
chen 81 cobalt bruno 106 fable jules 109 harbor bruno 71 indigo lina 80 harbor chen 9 harbor
chen 81 cobalt bruno 106 fable jules 109 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044429-p1
Display only the first 3 records.
NR <= 3
bruno 16 fable farah 89 fable jules 13 grove alice 19 cobalt kim 98 grove farah 115 ember gus 77 amber alice 11 grove
bruno 16 fable farah 89 fable jules 13 grove
chen 81 cobalt bruno 106 fable jules 109 harbor bruno 71 indigo lina 80 harbor chen 9 harbor
chen 81 cobalt bruno 106 fable jules 109 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044429
qwen/qwen3.7-plus
awkweave-0044430
Skip the first line and print every remaining line unchanged.
NR > 1
chen 82 fable jules 37 amber eli 22 ember jules 103 ember hana 56 amber ivan 104 indigo bruno 45 birch jules 71 juniper hana 14 cobalt chen 15 juniper
jules 37 amber eli 22 ember jules 103 ember hana 56 amber ivan 104 indigo bruno 45 birch jules 71 juniper hana 14 cobalt chen 15 juniper
chen 89 grove lina 46 juniper ivan 111 amber farah 37 ember eli 120 birch chen 63 amber bruno 32 birch alice 100 birch gus 31 harbor
lina 46 juniper ivan 111 amber farah 37 ember eli 120 birch chen 63 amber bruno 32 birch alice 100 birch gus 31 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044430-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
chen 82 fable jules 37 amber eli 22 ember jules 103 ember hana 56 amber ivan 104 indigo bruno 45 birch jules 71 juniper hana 14 cobalt chen 15 juniper
jules 37 amber eli 22 ember jules 103 ember hana 56 amber ivan 104 indigo bruno 45 birch jules 71 juniper hana 14 cobalt chen 15 juniper
chen 89 grove lina 46 juniper ivan 111 amber farah 37 ember eli 120 birch chen 63 amber bruno 32 birch alice 100 birch gus 31 harbor
lina 46 juniper ivan 111 amber farah 37 ember eli 120 birch chen 63 amber bruno 32 birch alice 100 birch gus 31 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044430
qwen/qwen3.7-plus
awkweave-0044431
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
ivan ready 23 chen closed 18 farah failed 48 hana active 119 chen closed 103 alice pending 97 bruno failed 66 ivan closed 119
2
farah failed 23 eli active 106 bruno active 4 jules ready 3 bruno closed 50 kim active 43 ivan pending 87 lina active 56 farah pending 96 dina active 99
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044431-p1
Count the number of records with failed in column 2, printing 0 if none exist.
$2 == "failed"{n++}END{print n+0}
ivan ready 23 chen closed 18 farah failed 48 hana active 119 chen closed 103 alice pending 97 bruno failed 66 ivan closed 119
2
farah failed 23 eli active 106 bruno active 4 jules ready 3 bruno closed 50 kim active 43 ivan pending 87 lina active 56 farah pending 96 dina active 99
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044431
qwen/qwen3.7-plus
awkweave-0044432
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
jules 15 cobalt farah 30 harbor dina 19 indigo alice 2 juniper jules 27 harbor ivan 3 indigo gus 15 ember alice 4 grove chen 14 grove dina 11 harbor
140
alice 2 fable dina 20 grove lina 25 harbor lina 26 harbor ivan 24 cobalt alice 15 birch gus 23 birch farah 13 fable
148
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044432-p1
Compute and output the sum of integer values in column 2.
{s+=$2}END{print s+0}
jules 15 cobalt farah 30 harbor dina 19 indigo alice 2 juniper jules 27 harbor ivan 3 indigo gus 15 ember alice 4 grove chen 14 grove dina 11 harbor
140
alice 2 fable dina 20 grove lina 25 harbor lina 26 harbor ivan 24 cobalt alice 15 birch gus 23 birch farah 13 fable
148
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044432
qwen/qwen3.7-plus
awkweave-0044433
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
22 hana amber 26 alice juniper 4 dina fable 14 dina cobalt 7 dina juniper 27 lina indigo 2 ivan grove 29 jules delta 17 dina harbor 19 alice indigo
16.70
13 farah amber 17 chen grove 7 lina indigo 15 hana juniper 10 ivan indigo 13 jules ember
12.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044433-p1
Print the average of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
22 hana amber 26 alice juniper 4 dina fable 14 dina cobalt 7 dina juniper 27 lina indigo 2 ivan grove 29 jules delta 17 dina harbor 19 alice indigo
16.70
13 farah amber 17 chen grove 7 lina indigo 15 hana juniper 10 ivan indigo 13 jules ember
12.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044433
qwen/qwen3.7-plus
awkweave-0044434
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
lina indigo 30 chen fable 1 hana birch 26 farah harbor 29 hana juniper 6 chen delta 20
1
jules amber 26 gus harbor 1 dina ember 6 lina delta 11 hana birch 14 jules cobalt 20 kim juniper 10 bruno birch 1 kim indigo 26 kim delta 3
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044434-p1
Identify and print the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
lina indigo 30 chen fable 1 hana birch 26 farah harbor 29 hana juniper 6 chen delta 20
1
jules amber 26 gus harbor 1 dina ember 6 lina delta 11 hana birch 14 jules cobalt 20 kim juniper 10 bruno birch 1 kim indigo 26 kim delta 3
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044434
qwen/qwen3.7-plus
awkweave-0044435
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
grove 18 gus ember 14 eli juniper 13 eli juniper 5 dina ember 21 jules indigo 23 farah
23
harbor 7 kim amber 15 farah birch 25 kim ember 10 ivan juniper 22 ivan juniper 30 chen juniper 17 bruno
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044435-p1
Identify and print the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
grove 18 gus ember 14 eli juniper 13 eli juniper 5 dina ember 21 jules indigo 23 farah
23
harbor 7 kim amber 15 farah birch 25 kim ember 10 ivan juniper 22 ivan juniper 30 chen juniper 17 bruno
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044435
qwen/qwen3.7-plus
awkweave-0044436
Count all input records and print the total.
END{print NR}
hana 46 bruno 4 alice 22 dina 9 ivan 119 alice 119 lina 7 eli 57 hana 62
9
dina 31 ivan 116 kim 8 chen 118 gus 85 hana 30 bruno 96
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044436-p1
Calculate the total number of input records and output the count.
END{print NR}
hana 46 bruno 4 alice 22 dina 9 ivan 119 alice 119 lina 7 eli 57 hana 62
9
dina 31 ivan 116 kim 8 chen 118 gus 85 hana 30 bruno 96
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044436
qwen/qwen3.7-plus
awkweave-0044437
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus harbor 114 eli ember 8 lina juniper 24 jules grove 91 ivan harbor 7 eli ember 8 dina birch 13 hana amber 24 hana ember 55 kim indigo 52
gus harbor 114 eli ember 8 lina juniper 24 jules grove 91 ivan harbor 7 dina birch 13 hana amber 24 hana ember 55 kim indigo 52
farah ember 39 alice grove 12 lina amber 7 dina cobalt 60 farah cobalt 90 farah amber 90 dina cobalt 60 chen harbor 116
farah ember 39 alice grove 12 lina amber 7 dina cobalt 60 farah cobalt 90 farah amber 90 chen harbor 116
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044437-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
gus harbor 114 eli ember 8 lina juniper 24 jules grove 91 ivan harbor 7 eli ember 8 dina birch 13 hana amber 24 hana ember 55 kim indigo 52
gus harbor 114 eli ember 8 lina juniper 24 jules grove 91 ivan harbor 7 dina birch 13 hana amber 24 hana ember 55 kim indigo 52
farah ember 39 alice grove 12 lina amber 7 dina cobalt 60 farah cobalt 90 farah amber 90 dina cobalt 60 chen harbor 116
farah ember 39 alice grove 12 lina amber 7 dina cobalt 60 farah cobalt 90 farah amber 90 chen harbor 116
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044437
qwen/qwen3.7-plus
awkweave-0044438
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
farah grove 64 lina harbor 38 hana cobalt 59 alice juniper 98 lina delta 56 alice fable 22 eli indigo 94 gus juniper 118 gus delta 58 gus fable 100
farah grove 64 lina harbor 38 hana cobalt 59 alice juniper 98 lina delta 56 alice fable 22 eli indigo 94 gus juniper 118 gus delta 58 gus fable 100
farah juniper 77 hana birch 7 kim cobalt 2 lina indigo 95 farah indigo 88 kim harbor 10 gus fable 3 dina grove 3 farah delta 16
farah juniper 77 hana birch 7 kim cobalt 2 lina indigo 95 farah indigo 88 kim harbor 10 gus fable 3 farah delta 16
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044438-p1
Retain only the initial line for every unique value found in column 3, keeping the input order intact.
!seen[$3]++
farah grove 64 lina harbor 38 hana cobalt 59 alice juniper 98 lina delta 56 alice fable 22 eli indigo 94 gus juniper 118 gus delta 58 gus fable 100
farah grove 64 lina harbor 38 hana cobalt 59 alice juniper 98 lina delta 56 alice fable 22 eli indigo 94 gus juniper 118 gus delta 58 gus fable 100
farah juniper 77 hana birch 7 kim cobalt 2 lina indigo 95 farah indigo 88 kim harbor 10 gus fable 3 dina grove 3 farah delta 16
farah juniper 77 hana birch 7 kim cobalt 2 lina indigo 95 farah indigo 88 kim harbor 10 gus fable 3 farah delta 16
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044438
qwen/qwen3.7-plus
awkweave-0044439
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 2 indigo chen 3 fable ivan 18 juniper hana 28 indigo dina 22 indigo lina 5 juniper
kim 2 chen 5 ivan 23 hana 51 dina 73 lina 78
bruno 6 delta kim 5 juniper jules 9 harbor jules 24 delta alice 12 indigo farah 21 amber ivan 5 fable alice 1 amber
bruno 6 kim 11 jules 20 jules 44 alice 56 farah 77 ivan 82 alice 83
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044439-p1
Output column 1 alongside the cumulative sum of column 2 for each record, using a space as the delimiter.
{s+=$2;print $1,s}
kim 2 indigo chen 3 fable ivan 18 juniper hana 28 indigo dina 22 indigo lina 5 juniper
kim 2 chen 5 ivan 23 hana 51 dina 73 lina 78
bruno 6 delta kim 5 juniper jules 9 harbor jules 24 delta alice 12 indigo farah 21 amber ivan 5 fable alice 1 amber
bruno 6 kim 11 jules 20 jules 44 alice 56 farah 77 ivan 82 alice 83
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044439
qwen/qwen3.7-plus
awkweave-0044440
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 11 7 grove hana 10 29 harbor kim 29 24 ember chen 9 17 harbor jules 25 18 harbor bruno 19 28 grove
jules 18 hana 39 kim 53 chen 26 jules 43 bruno 47
farah 2 22 juniper chen 26 14 delta jules 30 25 ember kim 1 29 birch farah 1 19 grove chen 29 25 ember hana 22 16 ember jules 13 21 cobalt gus 17 29 birch
farah 24 chen 40 jules 55 kim 30 farah 20 chen 54 hana 38 jules 34 gus 46
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044440-p1
For each row, display field 1 followed by the total of fields 2 and 3.
{print $1,$2+$3}
jules 11 7 grove hana 10 29 harbor kim 29 24 ember chen 9 17 harbor jules 25 18 harbor bruno 19 28 grove
jules 18 hana 39 kim 53 chen 26 jules 43 bruno 47
farah 2 22 juniper chen 26 14 delta jules 30 25 ember kim 1 29 birch farah 1 19 grove chen 29 25 ember hana 22 16 ember jules 13 21 cobalt gus 17 29 birch
farah 24 chen 40 jules 55 kim 30 farah 20 chen 54 hana 38 jules 34 gus 46
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044440
qwen/qwen3.7-plus
awkweave-0044441
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
jules 15 farah 29 ivan 14 bruno 7 jules 1 dina 26 dina 7 eli 8
jules fail farah pass ivan fail bruno fail jules fail dina pass dina fail eli fail
gus 11 farah 27 hana 18 dina 18 jules 14 chen 23 kim 23
gus fail farah pass hana fail dina fail jules fail chen fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044441-p1
Output column 1 with 'pass' if column 2 is 25 or greater, otherwise output 'fail'.
{print $1,($2>=25?"pass":"fail")}
jules 15 farah 29 ivan 14 bruno 7 jules 1 dina 26 dina 7 eli 8
jules fail farah pass ivan fail bruno fail jules fail dina pass dina fail eli fail
gus 11 farah 27 hana 18 dina 18 jules 14 chen 23 kim 23
gus fail farah pass hana fail dina fail jules fail chen fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044441
qwen/qwen3.7-plus
awkweave-0044442
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
ivan indigo 98 farah amber 2 bruno indigo 17 gus juniper 2 kim delta 80 dina delta 74 alice indigo 49 ivan indigo 119 ivan amber 99
INDIGO AMBER INDIGO JUNIPER DELTA DELTA INDIGO INDIGO AMBER
alice birch 62 jules cobalt 29 kim grove 37 ivan grove 53 dina grove 70 hana harbor 112 chen ember 36 bruno ember 13
BIRCH COBALT GROVE GROVE GROVE HARBOR EMBER EMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null