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-0044222-p1
Print lines 1, 5, 9, and so on (every fourth line starting from the first).
NR%4==1
bruno 86 kim 103 dina 12 lina 44 gus 25 alice 9 farah 0 hana 117 farah 92 farah 8
bruno 86 gus 25 farah 92
lina 68 eli 40 alice 36 alice 109 hana 12 dina 116 lina 38 hana 77 dina 76
lina 68 hana 12 dina 76
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044222
qwen/qwen3.7-plus
awkweave-0044223
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha amber 14 gamma harbor 38 beta cobalt 14 alpha harbor 78 delta ember 45 beta delta 69
4
beta grove 35 delta juniper 100 delta cobalt 79 gamma amber 48 beta grove 70 gamma ember 117 gamma grove 118 delta fable 110 gamma cobalt 0 delta harbor 59
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044223-p1
Determine the number of unique values in column 1 and output only this total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha amber 14 gamma harbor 38 beta cobalt 14 alpha harbor 78 delta ember 45 beta delta 69
4
beta grove 35 delta juniper 100 delta cobalt 79 gamma amber 48 beta grove 70 gamma ember 117 gamma grove 118 delta fable 110 gamma cobalt 0 delta harbor 59
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044223
qwen/qwen3.7-plus
awkweave-0044224
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 4 0 jules 1 27 alice 13 3 gus 27 5 alice 5 1 dina 23 4 hana 26 23
jules 0.04 alice 4.33 gus 5.40 alice 5.00 dina 5.75 hana 1.13
chen 18 0 jules 10 17 ivan 10 8 hana 28 6 dina 30 23 kim 27 27 bruno 3 28
jules 0.59 ivan 1.25 hana 4.67 dina 1.30 kim 1.00 bruno 0.11
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044224-p1
For each row, output the first and second columns along with the result of dividing the second column by the third, formatted to two decimal places, while omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 4 0 jules 1 27 alice 13 3 gus 27 5 alice 5 1 dina 23 4 hana 26 23
jules 0.04 alice 4.33 gus 5.40 alice 5.00 dina 5.75 hana 1.13
chen 18 0 jules 10 17 ivan 10 8 hana 28 6 dina 30 23 kim 27 27 bruno 3 28
jules 0.59 ivan 1.25 hana 4.67 dina 1.30 kim 1.00 bruno 0.11
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044224
qwen/qwen3.7-plus
awkweave-0044225
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
alice cobalt 26 dina birch 27 chen birch 9 hana harbor 18 dina amber 13 lina harbor 14 lina delta 15 hana fable 3 hana amber 27
dina birch 27 hana amber 27 alice cobalt 26
kim fable 2 dina fable 14 bruno birch 27 eli grove 14 chen cobalt 18 chen fable 14 bruno harbor 8 farah cobalt 15
bruno birch 27 chen cobalt 18 farah cobalt 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044225-p1
Display the full records corresponding to the top three highest numeric values in the third column, sorted in descending order, maintaining the original input sequence 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]}
alice cobalt 26 dina birch 27 chen birch 9 hana harbor 18 dina amber 13 lina harbor 14 lina delta 15 hana fable 3 hana amber 27
dina birch 27 hana amber 27 alice cobalt 26
kim fable 2 dina fable 14 bruno birch 27 eli grove 14 chen cobalt 18 chen fable 14 bruno harbor 8 farah cobalt 15
bruno birch 27 chen cobalt 18 farah cobalt 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044225
qwen/qwen3.7-plus
awkweave-0044226
For each line, output fields 4 and 2, in that order.
{print $4, $2}
active lina lina 112 ready dina lina 86 active ivan lina 25 ready ivan lina 98 active bruno lina 1 closed eli dina 39
112 lina 86 dina 25 ivan 98 ivan 1 bruno 39 eli
failed chen chen 83 paused jules alice 72 ready gus bruno 47 paused gus hana 18 pending ivan chen 30 closed dina farah 70 paused eli bruno 40 closed dina dina 67 active alice hana 36 ready farah chen 0
83 chen 72 jules 47 gus 18 gus 30 ivan 70 dina 40 eli 67 dina 36 alice 0 farah
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044226-p1
For every line, print the fourth field followed by the second field.
{print $4, $2}
active lina lina 112 ready dina lina 86 active ivan lina 25 ready ivan lina 98 active bruno lina 1 closed eli dina 39
112 lina 86 dina 25 ivan 98 ivan 1 bruno 39 eli
failed chen chen 83 paused jules alice 72 ready gus bruno 47 paused gus hana 18 pending ivan chen 30 closed dina farah 70 paused eli bruno 40 closed dina dina 67 active alice hana 36 ready farah chen 0
83 chen 72 jules 47 gus 18 gus 30 ivan 70 dina 40 eli 67 dina 36 alice 0 farah
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044226
qwen/qwen3.7-plus
awkweave-0044227
Print the last field of every input line.
{print $NF}
lina 14 juniper dina eli 25 birch bruno hana 94 cobalt alice dina 23 amber gus ivan 73 ember hana dina 67 harbor bruno jules 75 juniper chen dina 43 ember farah
dina bruno alice gus hana bruno chen farah
hana 62 indigo ivan alice 104 delta gus alice 81 fable eli dina 119 amber bruno gus 0 juniper farah gus 99 fable alice jules 53 ember hana kim 82 delta ivan
ivan gus eli bruno farah alice hana ivan
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044227-p1
Output the final field from each input line.
{print $NF}
lina 14 juniper dina eli 25 birch bruno hana 94 cobalt alice dina 23 amber gus ivan 73 ember hana dina 67 harbor bruno jules 75 juniper chen dina 43 ember farah
dina bruno alice gus hana bruno chen farah
hana 62 indigo ivan alice 104 delta gus alice 81 fable eli dina 119 amber bruno gus 0 juniper farah gus 99 fable alice jules 53 ember hana kim 82 delta ivan
ivan gus eli bruno farah alice hana ivan
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044227
qwen/qwen3.7-plus
awkweave-0044228
Print the complete records where column 1 is greater than 21.
$1 > 21
22 closed farah active 100 ready eli pending 40 pending kim pending 50 ready farah ready 13 pending dina active 105 failed gus closed
22 closed farah active 100 ready eli pending 40 pending kim pending 50 ready farah ready 105 failed gus closed
82 paused jules active 61 failed gus paused 91 ready eli failed 70 ready ivan active 31 active alice ready 99 pending dina paused 73 failed hana closed
82 paused jules active 61 failed gus paused 91 ready eli failed 70 ready ivan active 31 active alice ready 99 pending dina paused 73 failed hana closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044228-p1
Print the entire records for which the value in the first column exceeds 21.
$1 > 21
22 closed farah active 100 ready eli pending 40 pending kim pending 50 ready farah ready 13 pending dina active 105 failed gus closed
22 closed farah active 100 ready eli pending 40 pending kim pending 50 ready farah ready 105 failed gus closed
82 paused jules active 61 failed gus paused 91 ready eli failed 70 ready ivan active 31 active alice ready 99 pending dina paused 73 failed hana closed
82 paused jules active 61 failed gus paused 91 ready eli failed 70 ready ivan active 31 active alice ready 99 pending dina paused 73 failed hana closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044228
qwen/qwen3.7-plus
awkweave-0044229
Show whole lines whose 3rd field is between 11 and 29, inclusive.
$3 >= 11 && $3 <= 29
harbor juniper 16 paused grove cobalt 9 ready delta indigo 7 active juniper juniper 30 failed birch fable 23 ready cobalt harbor 20 pending birch juniper 22 failed
harbor juniper 16 paused birch fable 23 ready cobalt harbor 20 pending birch juniper 22 failed
ember birch 25 active delta fable 4 ready amber cobalt 12 active amber amber 21 pending juniper grove 19 ready birch juniper 15 paused grove ember 30 pending grove cobalt 16 paused
ember birch 25 active amber cobalt 12 active amber amber 21 pending juniper grove 19 ready birch juniper 15 paused grove cobalt 16 paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044229-p1
Display complete lines where the third field falls within the inclusive range of 11 to 29.
$3 >= 11 && $3 <= 29
harbor juniper 16 paused grove cobalt 9 ready delta indigo 7 active juniper juniper 30 failed birch fable 23 ready cobalt harbor 20 pending birch juniper 22 failed
harbor juniper 16 paused birch fable 23 ready cobalt harbor 20 pending birch juniper 22 failed
ember birch 25 active delta fable 4 ready amber cobalt 12 active amber amber 21 pending juniper grove 19 ready birch juniper 15 paused grove ember 30 pending grove cobalt 16 paused
ember birch 25 active amber cobalt 12 active amber amber 21 pending juniper grove 19 ready birch juniper 15 paused grove cobalt 16 paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044229
qwen/qwen3.7-plus
awkweave-0044230
Print column 3 only for rows where column 4 is exactly active.
$4 == "active"{print $3}
indigo 9 lina active cobalt 62 bruno ready indigo 36 ivan ready delta 30 eli active amber 4 alice paused juniper 75 alice pending cobalt 59 chen active birch 109 alice failed
lina eli chen
amber 40 jules active indigo 71 chen ready amber 14 hana ready harbor 35 farah pending indigo 2 bruno paused amber 120 kim ready cobalt 55 gus ready
jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044230-p1
Output only the third column for rows where the fourth column is exactly 'active'.
$4 == "active"{print $3}
indigo 9 lina active cobalt 62 bruno ready indigo 36 ivan ready delta 30 eli active amber 4 alice paused juniper 75 alice pending cobalt 59 chen active birch 109 alice failed
lina eli chen
amber 40 jules active indigo 71 chen ready amber 14 hana ready harbor 35 farah pending indigo 2 bruno paused amber 120 kim ready cobalt 55 gus ready
jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044230
qwen/qwen3.7-plus
awkweave-0044231
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
WARN birch 43 ERROR harbor 52 DEBUG cobalt 80 INFO indigo 15 ERROR harbor 57 ERROR birch 101 ERROR grove 38 INFO birch 85
INFO indigo 15 INFO birch 85
ERROR fable 47 INFO indigo 83 INFO birch 32 WARN cobalt 101 ERROR delta 11 ERROR grove 26
INFO indigo 83 INFO birch 32
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044231-p1
Print all fields from lines where the first field starts with 'INFO'.
$1 ~ /^INFO/
WARN birch 43 ERROR harbor 52 DEBUG cobalt 80 INFO indigo 15 ERROR harbor 57 ERROR birch 101 ERROR grove 38 INFO birch 85
INFO indigo 15 INFO birch 85
ERROR fable 47 INFO indigo 83 INFO birch 32 WARN cobalt 101 ERROR delta 11 ERROR grove 26
INFO indigo 83 INFO birch 32
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044231
qwen/qwen3.7-plus
awkweave-0044232
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
grove 92 closed ember 73 pending fable 87 closed grove 50 failed indigo 0 paused birch 10 pending fable 29 closed indigo 999 active
grove 92 closed ember 73 pending fable 87 closed grove 50 failed birch 10 pending fable 29 closed
juniper 5 active ember 40 pending birch 53 ready fable 37 paused juniper 34 active amber 54 active fable 34 ready indigo 69 closed amber 111 closed juniper 6 ready indigo 999 active
juniper 5 active ember 40 pending birch 53 ready fable 37 paused juniper 34 active amber 54 active fable 34 ready amber 111 closed juniper 6 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044232-p1
Print every line that does not contain the exact string 'indigo'.
$0 !~ /indigo/
grove 92 closed ember 73 pending fable 87 closed grove 50 failed indigo 0 paused birch 10 pending fable 29 closed indigo 999 active
grove 92 closed ember 73 pending fable 87 closed grove 50 failed birch 10 pending fable 29 closed
juniper 5 active ember 40 pending birch 53 ready fable 37 paused juniper 34 active amber 54 active fable 34 ready indigo 69 closed amber 111 closed juniper 6 ready indigo 999 active
juniper 5 active ember 40 pending birch 53 ready fable 37 paused juniper 34 active amber 54 active fable 34 ready amber 111 closed juniper 6 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044232
qwen/qwen3.7-plus
awkweave-0044233
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
dina birch 4 alice delta 82 lina juniper 42 farah cobalt 99 lina delta 49 gus harbor 37 hana birch 110 hana amber 43 kim amber 54
alice delta 82 lina juniper 42 farah cobalt 99 lina delta 49
farah indigo 38 dina ember 91 alice harbor 69 gus birch 75 hana juniper 81 kim amber 42 eli cobalt 107 dina amber 73 eli fable 97 gus fable 6
dina ember 91 alice harbor 69 gus birch 75 hana juniper 81
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044233-p1
Output lines 2 through 5, inclusive of both endpoints.
NR >= 2 && NR <= 5
dina birch 4 alice delta 82 lina juniper 42 farah cobalt 99 lina delta 49 gus harbor 37 hana birch 110 hana amber 43 kim amber 54
alice delta 82 lina juniper 42 farah cobalt 99 lina delta 49
farah indigo 38 dina ember 91 alice harbor 69 gus birch 75 hana juniper 81 kim amber 42 eli cobalt 107 dina amber 73 eli fable 97 gus fable 6
dina ember 91 alice harbor 69 gus birch 75 hana juniper 81
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044233
qwen/qwen3.7-plus
awkweave-0044234
Output only the first 4 records.
NR <= 4
chen 4 ember eli 10 indigo bruno 96 amber kim 82 juniper chen 69 ember farah 32 cobalt chen 104 ember eli 58 birch
chen 4 ember eli 10 indigo bruno 96 amber kim 82 juniper
kim 23 indigo alice 75 fable eli 42 cobalt kim 69 fable hana 69 birch jules 117 juniper ivan 82 indigo dina 11 indigo
kim 23 indigo alice 75 fable eli 42 cobalt kim 69 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044234-p1
Output only the first four records.
NR <= 4
chen 4 ember eli 10 indigo bruno 96 amber kim 82 juniper chen 69 ember farah 32 cobalt chen 104 ember eli 58 birch
chen 4 ember eli 10 indigo bruno 96 amber kim 82 juniper
kim 23 indigo alice 75 fable eli 42 cobalt kim 69 fable hana 69 birch jules 117 juniper ivan 82 indigo dina 11 indigo
kim 23 indigo alice 75 fable eli 42 cobalt kim 69 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044234
qwen/qwen3.7-plus
awkweave-0044235
Skip the first line and print every remaining line unchanged.
NR > 1
farah 90 birch lina 116 grove lina 67 birch jules 54 birch ivan 3 delta dina 7 indigo
lina 116 grove lina 67 birch jules 54 birch ivan 3 delta dina 7 indigo
gus 63 cobalt chen 30 fable gus 6 harbor farah 76 juniper lina 64 delta chen 114 indigo hana 100 juniper
chen 30 fable gus 6 harbor farah 76 juniper lina 64 delta chen 114 indigo hana 100 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044235-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
farah 90 birch lina 116 grove lina 67 birch jules 54 birch ivan 3 delta dina 7 indigo
lina 116 grove lina 67 birch jules 54 birch ivan 3 delta dina 7 indigo
gus 63 cobalt chen 30 fable gus 6 harbor farah 76 juniper lina 64 delta chen 114 indigo hana 100 juniper
chen 30 fable gus 6 harbor farah 76 juniper lina 64 delta chen 114 indigo hana 100 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044235
qwen/qwen3.7-plus
awkweave-0044236
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
hana paused 44 chen paused 76 jules pending 4 kim failed 120 chen active 89 lina failed 4 alice failed 84
1
eli pending 45 dina failed 73 kim paused 45 chen pending 40 bruno failed 31 gus closed 118 kim ready 44 kim paused 37
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044236-p1
Output the count of entries where column 2 is 'pending', defaulting to 0 if none exist.
$2 == "pending"{n++}END{print n+0}
hana paused 44 chen paused 76 jules pending 4 kim failed 120 chen active 89 lina failed 4 alice failed 84
1
eli pending 45 dina failed 73 kim paused 45 chen pending 40 bruno failed 31 gus closed 118 kim ready 44 kim paused 37
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044236
qwen/qwen3.7-plus
awkweave-0044237
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
chen 21 fable farah 3 amber jules 8 harbor chen 24 harbor eli 19 cobalt ivan 7 indigo gus 1 grove bruno 6 fable
89
ivan 28 grove hana 12 grove farah 27 indigo lina 7 amber eli 27 cobalt ivan 28 juniper hana 7 birch
136
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044237-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
chen 21 fable farah 3 amber jules 8 harbor chen 24 harbor eli 19 cobalt ivan 7 indigo gus 1 grove bruno 6 fable
89
ivan 28 grove hana 12 grove farah 27 indigo lina 7 amber eli 27 cobalt ivan 28 juniper hana 7 birch
136
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044237
qwen/qwen3.7-plus
awkweave-0044238
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
gus 26 ember bruno 3 ember bruno 27 grove alice 15 grove lina 12 delta ivan 11 birch eli 25 indigo
17.00
bruno 26 juniper dina 24 juniper jules 27 birch alice 5 cobalt alice 23 fable eli 30 cobalt
22.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044238-p1
Display the average of column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
gus 26 ember bruno 3 ember bruno 27 grove alice 15 grove lina 12 delta ivan 11 birch eli 25 indigo
17.00
bruno 26 juniper dina 24 juniper jules 27 birch alice 5 cobalt alice 23 fable eli 30 cobalt
22.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044238
qwen/qwen3.7-plus
awkweave-0044239
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 9 ivan ember 19 hana grove 16 dina birch 30 bruno harbor 13 gus harbor 9 ivan amber 22 eli amber 5 jules
5
grove 9 bruno harbor 3 jules juniper 8 farah amber 25 eli delta 15 alice ember 30 lina delta 14 chen amber 28 bruno juniper 26 eli
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044239-p1
Identify and output the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 9 ivan ember 19 hana grove 16 dina birch 30 bruno harbor 13 gus harbor 9 ivan amber 22 eli amber 5 jules
5
grove 9 bruno harbor 3 jules juniper 8 farah amber 25 eli delta 15 alice ember 30 lina delta 14 chen amber 28 bruno juniper 26 eli
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044239
qwen/qwen3.7-plus
awkweave-0044240
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
delta ivan 11 juniper farah 17 harbor eli 5 grove dina 30 amber gus 26 ember bruno 19 ember jules 30
30
fable bruno 12 birch lina 8 fable farah 19 birch hana 5 amber kim 11 delta jules 14 delta farah 7 grove farah 9 cobalt hana 19 delta eli 14
19
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044240-p1
Identify and output the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
delta ivan 11 juniper farah 17 harbor eli 5 grove dina 30 amber gus 26 ember bruno 19 ember jules 30
30
fable bruno 12 birch lina 8 fable farah 19 birch hana 5 amber kim 11 delta jules 14 delta farah 7 grove farah 9 cobalt hana 19 delta eli 14
19
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044240
qwen/qwen3.7-plus
awkweave-0044241
Count all input records and print the total.
END{print NR}
bruno 18 gus 33 eli 98 lina 35 ivan 41 farah 54 farah 58 hana 15 dina 86
9
dina 112 dina 17 ivan 89 hana 19 bruno 85 farah 35 bruno 84 bruno 14 dina 5 farah 84
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044241-p1
Count the total number of input records and print the result.
END{print NR}
bruno 18 gus 33 eli 98 lina 35 ivan 41 farah 54 farah 58 hana 15 dina 86
9
dina 112 dina 17 ivan 89 hana 19 bruno 85 farah 35 bruno 84 bruno 14 dina 5 farah 84
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044241
qwen/qwen3.7-plus
awkweave-0044242
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana fable 73 chen delta 18 farah ember 64 jules fable 35 jules cobalt 112 bruno delta 85 dina amber 86 jules cobalt 112 dina delta 19 dina juniper 32 eli amber 41
hana fable 73 chen delta 18 farah ember 64 jules fable 35 jules cobalt 112 bruno delta 85 dina amber 86 dina delta 19 dina juniper 32 eli amber 41
lina harbor 99 gus grove 84 dina ember 37 chen indigo 79 lina delta 119 bruno cobalt 19 farah amber 12 gus grove 84 bruno amber 117
lina harbor 99 gus grove 84 dina ember 37 chen indigo 79 lina delta 119 bruno cobalt 19 farah amber 12 bruno amber 117
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044242-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance.
!seen[$0]++
hana fable 73 chen delta 18 farah ember 64 jules fable 35 jules cobalt 112 bruno delta 85 dina amber 86 jules cobalt 112 dina delta 19 dina juniper 32 eli amber 41
hana fable 73 chen delta 18 farah ember 64 jules fable 35 jules cobalt 112 bruno delta 85 dina amber 86 dina delta 19 dina juniper 32 eli amber 41
lina harbor 99 gus grove 84 dina ember 37 chen indigo 79 lina delta 119 bruno cobalt 19 farah amber 12 gus grove 84 bruno amber 117
lina harbor 99 gus grove 84 dina ember 37 chen indigo 79 lina delta 119 bruno cobalt 19 farah amber 12 bruno amber 117
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044242
qwen/qwen3.7-plus
awkweave-0044243
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
bruno birch 44 hana juniper 73 dina juniper 60 eli ember 61 chen fable 27 kim harbor 95
bruno birch 44 hana juniper 73 eli ember 61 chen fable 27 kim harbor 95
alice cobalt 110 alice amber 115 lina grove 32 eli delta 24 farah delta 8 hana juniper 92 hana harbor 49
alice cobalt 110 alice amber 115 lina grove 32 eli delta 24 hana juniper 92 hana harbor 49
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044243-p1
Retain only the first occurrence for each unique value in column 2, preserving the input sequence.
!seen[$2]++
bruno birch 44 hana juniper 73 dina juniper 60 eli ember 61 chen fable 27 kim harbor 95
bruno birch 44 hana juniper 73 eli ember 61 chen fable 27 kim harbor 95
alice cobalt 110 alice amber 115 lina grove 32 eli delta 24 farah delta 8 hana juniper 92 hana harbor 49
alice cobalt 110 alice amber 115 lina grove 32 eli delta 24 hana juniper 92 hana harbor 49
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044243
qwen/qwen3.7-plus
awkweave-0044244
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 1 birch farah 28 birch dina 24 indigo kim 18 amber dina 12 cobalt gus 16 delta hana 2 ember eli 5 cobalt jules 14 grove eli 9 delta
dina 1 farah 29 dina 53 kim 71 dina 83 gus 99 hana 101 eli 106 jules 120 eli 129
farah 5 indigo farah 10 indigo lina 8 juniper kim 28 harbor eli 4 ember gus 27 grove dina 20 ember
farah 5 farah 15 lina 23 kim 51 eli 55 gus 82 dina 102
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044244-p1
For each line, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 1 birch farah 28 birch dina 24 indigo kim 18 amber dina 12 cobalt gus 16 delta hana 2 ember eli 5 cobalt jules 14 grove eli 9 delta
dina 1 farah 29 dina 53 kim 71 dina 83 gus 99 hana 101 eli 106 jules 120 eli 129
farah 5 indigo farah 10 indigo lina 8 juniper kim 28 harbor eli 4 ember gus 27 grove dina 20 ember
farah 5 farah 15 lina 23 kim 51 eli 55 gus 82 dina 102
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044244
qwen/qwen3.7-plus
awkweave-0044245
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 28 30 indigo chen 6 29 harbor kim 12 16 indigo alice 21 14 birch eli 23 2 ember bruno 9 20 grove dina 16 19 cobalt kim 27 26 indigo
gus 58 chen 35 kim 28 alice 35 eli 25 bruno 29 dina 35 kim 53
farah 2 17 delta bruno 22 7 fable ivan 20 8 ember farah 18 21 grove hana 25 7 ember alice 2 24 fable dina 4 2 delta gus 27 30 harbor eli 12 2 amber gus 16 12 amber
farah 19 bruno 29 ivan 28 farah 39 hana 32 alice 26 dina 6 gus 57 eli 14 gus 28
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044245-p1
Output field 1 followed by the sum of fields 2 and 3 for every row.
{print $1,$2+$3}
gus 28 30 indigo chen 6 29 harbor kim 12 16 indigo alice 21 14 birch eli 23 2 ember bruno 9 20 grove dina 16 19 cobalt kim 27 26 indigo
gus 58 chen 35 kim 28 alice 35 eli 25 bruno 29 dina 35 kim 53
farah 2 17 delta bruno 22 7 fable ivan 20 8 ember farah 18 21 grove hana 25 7 ember alice 2 24 fable dina 4 2 delta gus 27 30 harbor eli 12 2 amber gus 16 12 amber
farah 19 bruno 29 ivan 28 farah 39 hana 32 alice 26 dina 6 gus 57 eli 14 gus 28
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044245
qwen/qwen3.7-plus
awkweave-0044246
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
hana 8 gus 18 farah 9 lina 23 lina 22 kim 22 jules 22
hana fail gus fail farah fail lina pass lina pass kim pass jules pass
chen 10 kim 29 gus 13 dina 17 alice 2 hana 21 gus 29
chen fail kim pass gus fail dina fail alice fail hana pass gus pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044246-p1
Print column 1 and 'pass' if column 2 is 21 or greater; otherwise, print 'fail'.
{print $1,($2>=21?"pass":"fail")}
hana 8 gus 18 farah 9 lina 23 lina 22 kim 22 jules 22
hana fail gus fail farah fail lina pass lina pass kim pass jules pass
chen 10 kim 29 gus 13 dina 17 alice 2 hana 21 gus 29
chen fail kim pass gus fail dina fail alice fail hana pass gus pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044246
qwen/qwen3.7-plus
awkweave-0044247
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
dina juniper 5 ivan grove 14 jules cobalt 77 bruno amber 31 hana grove 55 alice fable 116 farah grove 47
JUNIPER GROVE COBALT AMBER GROVE FABLE GROVE
farah fable 112 bruno amber 61 lina indigo 13 gus cobalt 35 dina indigo 18 kim harbor 65 hana cobalt 44 eli juniper 9 alice cobalt 31 farah juniper 58
FABLE AMBER INDIGO COBALT INDIGO HARBOR COBALT JUNIPER COBALT JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044247-p1
Transform column 2 to uppercase and output only that modified column.
{print toupper($2)}
dina juniper 5 ivan grove 14 jules cobalt 77 bruno amber 31 hana grove 55 alice fable 116 farah grove 47
JUNIPER GROVE COBALT AMBER GROVE FABLE GROVE
farah fable 112 bruno amber 61 lina indigo 13 gus cobalt 35 dina indigo 18 kim harbor 65 hana cobalt 44 eli juniper 9 alice cobalt 31 farah juniper 58
FABLE AMBER INDIGO COBALT INDIGO HARBOR COBALT JUNIPER COBALT JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044247
qwen/qwen3.7-plus
awkweave-0044248
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
grove 98 birch 30 fable 61 indigo 11 delta 10 indigo 6 ember 18 grove 43 delta 91 juniper 100
ove rch ble dig lta dig ber ove lta nip
delta 19 fable 8 juniper 28 amber 109 indigo 120 juniper 52 harbor 30 birch 13 fable 53
lta ble nip ber dig nip rbo rch ble
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044248-p1
Extract a 3-character substring from column 1, beginning at the third character.
{print substr($1,3,3)}
grove 98 birch 30 fable 61 indigo 11 delta 10 indigo 6 ember 18 grove 43 delta 91 juniper 100
ove rch ble dig lta dig ber ove lta nip
delta 19 fable 8 juniper 28 amber 109 indigo 120 juniper 52 harbor 30 birch 13 fable 53
lta ble nip ber dig nip rbo rch ble
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044248
qwen/qwen3.7-plus
awkweave-0044249
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_fable 55 indigo_cobalt 53 indigo_harbor 25 juniper_juniper 88 harbor_birch 91 fable_birch 52 delta_cobalt 70 juniper_delta 103
ember fable indigo cobalt indigo harbor juniper juniper harbor birch fable birch delta cobalt juniper delta
ember_harbor 86 harbor_fable 97 fable_indigo 58 fable_harbor 114 birch_harbor 62 harbor_fable 97 indigo_delta 46 ember_delta 58
ember harbor harbor fable fable indigo fable harbor birch harbor harbor fable indigo delta ember delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044249-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_fable 55 indigo_cobalt 53 indigo_harbor 25 juniper_juniper 88 harbor_birch 91 fable_birch 52 delta_cobalt 70 juniper_delta 103
ember fable indigo cobalt indigo harbor juniper juniper harbor birch fable birch delta cobalt juniper delta
ember_harbor 86 harbor_fable 97 fable_indigo 58 fable_harbor 114 birch_harbor 62 harbor_fable 97 indigo_delta 46 ember_delta 58
ember harbor harbor fable fable indigo fable harbor birch harbor harbor fable indigo delta ember delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044249
qwen/qwen3.7-plus
awkweave-0044250
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)}
ivan fable 55 ready kim ember 6 failed bruno cobalt 112 paused jules juniper 21 active gus juniper 66 paused lina juniper 57 paused
ready 55 fable ivan failed 6 ember kim paused 112 cobalt bruno active 21 juniper jules paused 66 juniper gus paused 57 juniper lina
alice harbor 17 failed ivan harbor 92 failed gus indigo 18 paused kim grove 0 pending hana juniper 12 closed ivan cobalt 18 pending ivan birch 30 ready alice fable 79 ready ivan amber 4 failed hana birch 49 ready
failed 17 harbor alice failed 92 harbor ivan paused 18 indigo gus pending 0 grove kim closed 12 juniper hana pending 18 cobalt ivan ready 30 birch ivan ready 79 fable alice failed 4 amber ivan ready 49 birch hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044250-p1
Reverse the sequence of fields for each line and display all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan fable 55 ready kim ember 6 failed bruno cobalt 112 paused jules juniper 21 active gus juniper 66 paused lina juniper 57 paused
ready 55 fable ivan failed 6 ember kim paused 112 cobalt bruno active 21 juniper jules paused 66 juniper gus paused 57 juniper lina
alice harbor 17 failed ivan harbor 92 failed gus indigo 18 paused kim grove 0 pending hana juniper 12 closed ivan cobalt 18 pending ivan birch 30 ready alice fable 79 ready ivan amber 4 failed hana birch 49 ready
failed 17 harbor alice failed 92 harbor ivan paused 18 indigo gus pending 0 grove kim closed 12 juniper hana pending 18 cobalt ivan ready 30 birch ivan ready 79 fable alice failed 4 amber ivan ready 49 birch hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044250
qwen/qwen3.7-plus
awkweave-0044251
Print the number of whitespace-separated fields on each line.
{print NF}
farah ember 8 active alice ember 18 pending dina birch 104 paused lina indigo 55 pending gus harbor 50 ready lina grove 37 ready
4 4 4 4 4 4
lina delta 78 pending alice harbor 39 paused dina birch 9 failed bruno birch 32 active jules grove 1 paused hana grove 50 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044251-p1
Output the count of whitespace-delimited fields found on each line.
{print NF}
farah ember 8 active alice ember 18 pending dina birch 104 paused lina indigo 55 pending gus harbor 50 ready lina grove 37 ready
4 4 4 4 4 4
lina delta 78 pending alice harbor 39 paused dina birch 9 failed bruno birch 32 active jules grove 1 paused hana grove 50 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044251
qwen/qwen3.7-plus
awkweave-0044252
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]]}
bruno gamma 57 dina beta 97 eli gamma 76 alice delta 52 kim alpha 24 eli delta 100
gamma 2 beta 1 delta 2 alpha 1
lina delta 74 jules beta 32 bruno beta 80 ivan beta 34 eli delta 72 lina delta 118
delta 3 beta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044252-p1
Tally the occurrences of each unique value in column 2, listing them in the order they first appear along with their counts.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
bruno gamma 57 dina beta 97 eli gamma 76 alice delta 52 kim alpha 24 eli delta 100
gamma 2 beta 1 delta 2 alpha 1
lina delta 74 jules beta 32 bruno beta 80 ivan beta 34 eli delta 72 lina delta 118
delta 3 beta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044252
qwen/qwen3.7-plus
awkweave-0044253
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]]}
eli beta 25 farah beta 22 gus gamma 17 dina gamma 23 lina alpha 22 kim gamma 13 alice gamma 6 lina delta 5 alice alpha 19 gus alpha 4
beta 47 gamma 59 alpha 45 delta 5
hana gamma 21 jules alpha 25 lina beta 19 dina beta 8 eli delta 10 chen alpha 27 lina alpha 23 kim gamma 26 gus alpha 12
gamma 47 alpha 87 beta 27 delta 10
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044253-p1
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]]}
eli beta 25 farah beta 22 gus gamma 17 dina gamma 23 lina alpha 22 kim gamma 13 alice gamma 6 lina delta 5 alice alpha 19 gus alpha 4
beta 47 gamma 59 alpha 45 delta 5
hana gamma 21 jules alpha 25 lina beta 19 dina beta 8 eli delta 10 chen alpha 27 lina alpha 23 kim gamma 26 gus alpha 12
gamma 47 alpha 87 beta 27 delta 10
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0044253
qwen/qwen3.7-plus
awkweave-0044254
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 57 gamma amber 94 gamma grove 24 gamma juniper 99 delta fable 118 alpha harbor 54 gamma cobalt 1 delta cobalt 114
alpha 2 gamma 4 delta 2
gamma birch 29 alpha fable 63 gamma fable 1 alpha birch 107 beta indigo 107 beta ember 53 alpha fable 7 alpha grove 4
gamma 2 alpha 4 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044254-p1
List every duplicate value from column 1 alongside its frequency, sorted by 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 57 gamma amber 94 gamma grove 24 gamma juniper 99 delta fable 118 alpha harbor 54 gamma cobalt 1 delta cobalt 114
alpha 2 gamma 4 delta 2
gamma birch 29 alpha fable 63 gamma fable 1 alpha birch 107 beta indigo 107 beta ember 53 alpha fable 7 alpha grove 4
gamma 2 alpha 4 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044254
qwen/qwen3.7-plus
awkweave-0044255
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region record_id score note r001 jules 29 active r002 kim 13 ready r003 chen 11 closed r004 bruno 14 closed r005 gus 28 paused r006 lina 29 pending r007 hana 30 closed r008 chen 2 closed r009 hana 19 ready r010 bruno 26 pending
29 13 11 14 28 29 30 2 19 26
region record_id score note r001 gus 1 ready r002 bruno 6 pending r003 eli 25 failed r004 farah 8 ready r005 jules 22 closed r006 gus 27 failed r007 chen 28 paused r008 dina 30 pending r009 ivan 16 failed r010 bruno 20 ready
1 6 25 8 22 27 28 30 16 20
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044255-p1
Skip the header row and output the values from the score column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region record_id score note r001 jules 29 active r002 kim 13 ready r003 chen 11 closed r004 bruno 14 closed r005 gus 28 paused r006 lina 29 pending r007 hana 30 closed r008 chen 2 closed r009 hana 19 ready r010 bruno 26 pending
29 13 11 14 28 29 30 2 19 26
region record_id score note r001 gus 1 ready r002 bruno 6 pending r003 eli 25 failed r004 farah 8 ready r005 jules 22 closed r006 gus 27 failed r007 chen 28 paused r008 dina 30 pending r009 ivan 16 failed r010 bruno 20 ready
1 6 25 8 22 27 28 30 16 20
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044255
qwen/qwen3.7-plus
awkweave-0044256
The first row is a header. Print display_name for data rows whose score is greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 chen 26 pending r002 dina 24 paused r003 lina 14 ready r004 jules 14 active r005 dina 25 ready r006 gus 24 paused r007 hana 10 ready r008 gus 12 paused
chen dina dina gus
record_id display_name score state r001 hana 15 pending r002 gus 15 paused r003 jules 25 pending r004 kim 2 ready r005 gus 22 closed r006 farah 8 paused r007 hana 28 pending r008 dina 27 failed r009 eli 9 failed
jules gus hana dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044256-p1
Ignoring the header, print the display_name for any data row where the score is strictly greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 chen 26 pending r002 dina 24 paused r003 lina 14 ready r004 jules 14 active r005 dina 25 ready r006 gus 24 paused r007 hana 10 ready r008 gus 12 paused
chen dina dina gus
record_id display_name score state r001 hana 15 pending r002 gus 15 paused r003 jules 25 pending r004 kim 2 ready r005 gus 22 closed r006 farah 8 paused r007 hana 28 pending r008 dina 27 failed r009 eli 9 failed
jules gus hana dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044256
qwen/qwen3.7-plus
awkweave-0044257
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
hana 30 pending bruno 3 ready dina 30 failed eli 18 pending lina 2 ready hana 10 paused
pending ready failed pending ready paused
lina 19 active alice 12 active kim 14 paused gus 17 paused hana 30 ready chen 1 failed eli 11 paused
active active paused paused ready failed paused
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044257-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
hana 30 pending bruno 3 ready dina 30 failed eli 18 pending lina 2 ready hana 10 paused
pending ready failed pending ready paused
lina 19 active alice 12 active kim 14 paused gus 17 paused hana 30 ready chen 1 failed eli 11 paused
active active paused paused ready failed paused
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044257
qwen/qwen3.7-plus
awkweave-0044258
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
lina,4,pending jules,12,active bruno,18,ready ivan,24,paused hana,7,pending bruno,8,closed jules,22,paused gus,18,paused
ivan jules
alice,11,pending gus,1,ready bruno,12,ready dina,17,active gus,15,paused dina,5,paused eli,3,failed eli,22,paused alice,15,active alice,12,active
eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044258-p1
For simple comma-separated input without quoted commas, print the first column if the second column's value is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
lina,4,pending jules,12,active bruno,18,ready ivan,24,paused hana,7,pending bruno,8,closed jules,22,paused gus,18,paused
ivan jules
alice,11,pending gus,1,ready bruno,12,ready dina,17,active gus,15,paused dina,5,paused eli,3,failed eli,22,paused alice,15,active alice,12,active
eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044258
qwen/qwen3.7-plus
awkweave-0044259
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus cobalt 42 alice cobalt 90 alice amber 71 lina delta 24 kim juniper 33 kim amber 37
gus cobalt 42 alice cobalt 90 alice amber 71 lina delta 24 kim juniper 33 kim amber 37
gus birch 64 jules harbor 100 jules cobalt 80 chen indigo 54 bruno ember 8 ivan fable 108 chen delta 99 jules amber 92 hana birch 96
gus birch 64 jules harbor 100 jules cobalt 80 chen indigo 54 bruno ember 8 ivan fable 108 chen delta 99 jules amber 92 hana birch 96
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044259-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus cobalt 42 alice cobalt 90 alice amber 71 lina delta 24 kim juniper 33 kim amber 37
gus cobalt 42 alice cobalt 90 alice amber 71 lina delta 24 kim juniper 33 kim amber 37
gus birch 64 jules harbor 100 jules cobalt 80 chen indigo 54 bruno ember 8 ivan fable 108 chen delta 99 jules amber 92 hana birch 96
gus birch 64 jules harbor 100 jules cobalt 80 chen indigo 54 bruno ember 8 ivan fable 108 chen delta 99 jules amber 92 hana birch 96
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044259
qwen/qwen3.7-plus
awkweave-0044260
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno harbor 14 ready bruno birch 86 failed bruno grove 85 closed bruno grove 109 ready bruno delta 11 active ivan fable 78 closed chen ember 54 closed
bruno harbor 14 ready
jules ember 32 pending kim fable 88 paused dina harbor 94 closed bruno indigo 64 active lina indigo 71 closed chen harbor 30 closed chen indigo 6 pending
jules ember 32 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044260-p1
Output the longest line from the input, selecting the first one encountered if there is a tie in length.
{if(length($0)>length(best))best=$0}END{print best}
bruno harbor 14 ready bruno birch 86 failed bruno grove 85 closed bruno grove 109 ready bruno delta 11 active ivan fable 78 closed chen ember 54 closed
bruno harbor 14 ready
jules ember 32 pending kim fable 88 paused dina harbor 94 closed bruno indigo 64 active lina indigo 71 closed chen harbor 30 closed chen indigo 6 pending
jules ember 32 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044260
qwen/qwen3.7-plus
awkweave-0044261
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
dina 19 dina 105 gus 32 lina 96 bruno 97 eli 30 ivan 111
dina 19 lina 96 ivan 111
ivan 68 bruno 84 dina 45 farah 3 kim 61 lina 67
ivan 68 farah 3
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044261-p1
Display lines 1, 4, 7, and so on, effectively printing every third line starting from the first.
NR%3==1
dina 19 dina 105 gus 32 lina 96 bruno 97 eli 30 ivan 111
dina 19 lina 96 ivan 111
ivan 68 bruno 84 dina 45 farah 3 kim 61 lina 67
ivan 68 farah 3
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044261
qwen/qwen3.7-plus
awkweave-0044262
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta ember 120 alpha cobalt 46 alpha indigo 42 gamma grove 27 alpha ember 44 gamma harbor 100 gamma ember 47
5
alpha birch 52 alpha cobalt 49 alpha juniper 59 delta cobalt 112 alpha cobalt 65 gamma fable 17 delta grove 42 beta fable 12 alpha fable 65 alpha juniper 111
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044262-p1
Calculate and output only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
delta ember 120 alpha cobalt 46 alpha indigo 42 gamma grove 27 alpha ember 44 gamma harbor 100 gamma ember 47
5
alpha birch 52 alpha cobalt 49 alpha juniper 59 delta cobalt 112 alpha cobalt 65 gamma fable 17 delta grove 42 beta fable 12 alpha fable 65 alpha juniper 111
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044262
qwen/qwen3.7-plus
awkweave-0044263
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 24 0 kim 5 7 hana 10 1 dina 11 22 ivan 12 24 ivan 14 27 eli 28 1 gus 19 27 jules 8 14
kim 0.71 hana 10.00 dina 0.50 ivan 0.50 ivan 0.52 eli 28.00 gus 0.70 jules 0.57
eli 10 0 lina 19 21 chen 14 24 chen 14 21 farah 12 30 gus 29 19 chen 3 16 lina 21 5 ivan 8 24 lina 21 23
lina 0.90 chen 0.58 chen 0.67 farah 0.40 gus 1.53 chen 0.19 lina 4.20 ivan 0.33 lina 0.91
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044263-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 24 0 kim 5 7 hana 10 1 dina 11 22 ivan 12 24 ivan 14 27 eli 28 1 gus 19 27 jules 8 14
kim 0.71 hana 10.00 dina 0.50 ivan 0.50 ivan 0.52 eli 28.00 gus 0.70 jules 0.57
eli 10 0 lina 19 21 chen 14 24 chen 14 21 farah 12 30 gus 29 19 chen 3 16 lina 21 5 ivan 8 24 lina 21 23
lina 0.90 chen 0.58 chen 0.67 farah 0.40 gus 1.53 chen 0.19 lina 4.20 ivan 0.33 lina 0.91
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044263
qwen/qwen3.7-plus
awkweave-0044264
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]}
ivan harbor 5 lina birch 12 ivan cobalt 17 jules amber 7 ivan cobalt 16 eli grove 16 ivan harbor 7 jules amber 23
jules amber 23 ivan cobalt 17 ivan cobalt 16
farah amber 16 gus delta 22 farah indigo 16 dina cobalt 16 chen amber 26 alice delta 22 bruno indigo 7
chen amber 26 gus delta 22 alice delta 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044264-p1
Output the three records with the largest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan harbor 5 lina birch 12 ivan cobalt 17 jules amber 7 ivan cobalt 16 eli grove 16 ivan harbor 7 jules amber 23
jules amber 23 ivan cobalt 17 ivan cobalt 16
farah amber 16 gus delta 22 farah indigo 16 dina cobalt 16 chen amber 26 alice delta 22 bruno indigo 7
chen amber 26 gus delta 22 alice delta 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044264
qwen/qwen3.7-plus
awkweave-0044265
For each line, output fields 5 and 2, in that order.
{print $5, $2}
grove 86 farah cobalt ready harbor 6 ivan delta ready delta 29 eli harbor pending delta 111 chen grove pending harbor 2 jules grove failed juniper 11 chen grove ready ember 87 chen indigo ready juniper 68 jules fable active
ready 86 ready 6 pending 29 pending 111 failed 2 ready 11 ready 87 active 68
fable 30 bruno delta failed indigo 105 chen fable ready juniper 82 chen indigo ready cobalt 30 lina indigo paused cobalt 34 alice juniper pending amber 11 farah indigo active delta 11 gus grove active delta 5 kim birch closed
failed 30 ready 105 ready 82 paused 30 pending 34 active 11 active 11 closed 5
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044265-p1
Print the fifth field followed by the second field for every line.
{print $5, $2}
grove 86 farah cobalt ready harbor 6 ivan delta ready delta 29 eli harbor pending delta 111 chen grove pending harbor 2 jules grove failed juniper 11 chen grove ready ember 87 chen indigo ready juniper 68 jules fable active
ready 86 ready 6 pending 29 pending 111 failed 2 ready 11 ready 87 active 68
fable 30 bruno delta failed indigo 105 chen fable ready juniper 82 chen indigo ready cobalt 30 lina indigo paused cobalt 34 alice juniper pending amber 11 farah indigo active delta 11 gus grove active delta 5 kim birch closed
failed 30 ready 105 ready 82 paused 30 pending 34 active 11 active 11 closed 5
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044265
qwen/qwen3.7-plus
awkweave-0044266
Print the last field of every input line.
{print $NF}
failed ember active 24 3 failed birch closed 46 1 closed delta failed 67 52 closed fable active 14 51 paused fable ready 103 91 pending fable closed 91 116 ready amber failed 78 111 ready harbor active 85 70 paused indigo closed 61 74 closed birch pending 57 91
3 1 52 51 91 116 111 70 74 91
pending cobalt failed 75 110 pending juniper failed 35 64 closed harbor failed 91 21 closed indigo closed 118 67 pending amber paused 81 101 paused ember active 61 77 paused harbor paused 30 31
110 64 21 67 101 77 31
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044266-p1
Output the final field from each line of input.
{print $NF}
failed ember active 24 3 failed birch closed 46 1 closed delta failed 67 52 closed fable active 14 51 paused fable ready 103 91 pending fable closed 91 116 ready amber failed 78 111 ready harbor active 85 70 paused indigo closed 61 74 closed birch pending 57 91
3 1 52 51 91 116 111 70 74 91
pending cobalt failed 75 110 pending juniper failed 35 64 closed harbor failed 91 21 closed indigo closed 118 67 pending amber paused 81 101 paused ember active 61 77 paused harbor paused 30 31
110 64 21 67 101 77 31
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044266
qwen/qwen3.7-plus
awkweave-0044267
Print the complete records where column 2 is greater than 24.
$2 > 24
lina 74 ready lina eli 30 closed hana gus 94 closed ivan eli 22 ready kim eli 104 paused jules eli 29 active gus hana 64 pending jules
lina 74 ready lina eli 30 closed hana gus 94 closed ivan eli 104 paused jules eli 29 active gus hana 64 pending jules
lina 61 paused eli kim 39 failed jules bruno 80 active jules gus 90 ready kim jules 112 pending eli jules 101 closed ivan alice 40 failed ivan jules 65 ready kim eli 1 paused chen hana 28 active chen
lina 61 paused eli kim 39 failed jules bruno 80 active jules gus 90 ready kim jules 112 pending eli jules 101 closed ivan alice 40 failed ivan jules 65 ready kim hana 28 active chen
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044267-p1
Display the full records for which the value in the second column exceeds 24.
$2 > 24
lina 74 ready lina eli 30 closed hana gus 94 closed ivan eli 22 ready kim eli 104 paused jules eli 29 active gus hana 64 pending jules
lina 74 ready lina eli 30 closed hana gus 94 closed ivan eli 104 paused jules eli 29 active gus hana 64 pending jules
lina 61 paused eli kim 39 failed jules bruno 80 active jules gus 90 ready kim jules 112 pending eli jules 101 closed ivan alice 40 failed ivan jules 65 ready kim eli 1 paused chen hana 28 active chen
lina 61 paused eli kim 39 failed jules bruno 80 active jules gus 90 ready kim jules 112 pending eli jules 101 closed ivan alice 40 failed ivan jules 65 ready kim hana 28 active chen
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044267
qwen/qwen3.7-plus
awkweave-0044268
Show whole lines whose 1st field is between 8 and 26, inclusive.
$1 >= 8 && $1 <= 26
12 pending indigo active 20 pending birch paused 29 closed birch active 28 active harbor closed 13 ready delta closed 20 closed birch ready
12 pending indigo active 20 pending birch paused 13 ready delta closed 20 closed birch ready
21 failed amber failed 30 ready amber closed 13 failed fable failed 4 pending delta paused 25 closed ember pending 24 closed ember pending 4 active fable ready 23 closed juniper pending 2 active harbor failed 30 failed ember ready
21 failed amber failed 13 failed fable failed 25 closed ember pending 24 closed ember pending 23 closed juniper pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044268-p1
Print entire lines where the first field has a value between 8 and 26, inclusive.
$1 >= 8 && $1 <= 26
12 pending indigo active 20 pending birch paused 29 closed birch active 28 active harbor closed 13 ready delta closed 20 closed birch ready
12 pending indigo active 20 pending birch paused 13 ready delta closed 20 closed birch ready
21 failed amber failed 30 ready amber closed 13 failed fable failed 4 pending delta paused 25 closed ember pending 24 closed ember pending 4 active fable ready 23 closed juniper pending 2 active harbor failed 30 failed ember ready
21 failed amber failed 13 failed fable failed 25 closed ember pending 24 closed ember pending 23 closed juniper pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044268
qwen/qwen3.7-plus
awkweave-0044269
Print column 1 only for rows where column 2 is exactly pending.
$2 == "pending"{print $1}
ivan ready 85 ember jules closed 49 indigo kim paused 66 grove gus active 99 juniper bruno failed 33 indigo farah ready 116 ember bruno pending 59 fable chen ready 46 grove eli failed 18 birch
bruno
dina closed 62 cobalt hana failed 98 ember farah failed 29 juniper eli closed 27 birch alice ready 14 amber ivan paused 7 amber alice ready 0 juniper kim pending 57 harbor
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044269-p1
Output only the first column for rows where the second column is exactly 'pending'.
$2 == "pending"{print $1}
ivan ready 85 ember jules closed 49 indigo kim paused 66 grove gus active 99 juniper bruno failed 33 indigo farah ready 116 ember bruno pending 59 fable chen ready 46 grove eli failed 18 birch
bruno
dina closed 62 cobalt hana failed 98 ember farah failed 29 juniper eli closed 27 birch alice ready 14 amber ivan paused 7 amber alice ready 0 juniper kim pending 57 harbor
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044269
qwen/qwen3.7-plus
awkweave-0044270
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
DEBUG cobalt 78 WARN amber 71 ERROR fable 94 ERROR delta 115 INFO ember 61 INFO cobalt 92 INFO amber 65 INFO amber 17 WARN harbor 75
WARN amber 71 WARN harbor 75
INFO ember 12 WARN birch 6 ERROR grove 48 ERROR delta 70 ERROR harbor 59 ERROR juniper 77 WARN birch 89 WARN harbor 111 DEBUG ember 7 WARN cobalt 60
WARN birch 6 WARN birch 89 WARN harbor 111 WARN cobalt 60
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044270-p1
Print all fields from any line where the first field starts with the string 'WARN'.
$1 ~ /^WARN/
DEBUG cobalt 78 WARN amber 71 ERROR fable 94 ERROR delta 115 INFO ember 61 INFO cobalt 92 INFO amber 65 INFO amber 17 WARN harbor 75
WARN amber 71 WARN harbor 75
INFO ember 12 WARN birch 6 ERROR grove 48 ERROR delta 70 ERROR harbor 59 ERROR juniper 77 WARN birch 89 WARN harbor 111 DEBUG ember 7 WARN cobalt 60
WARN birch 6 WARN birch 89 WARN harbor 111 WARN cobalt 60
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044270
qwen/qwen3.7-plus
awkweave-0044271
Print every line except those containing the exact text fable.
$0 !~ /fable/
amber 87 closed fable 31 closed delta 10 closed delta 82 ready fable 28 closed grove 13 paused cobalt 50 closed cobalt 46 paused amber 95 paused fable 999 active
amber 87 closed delta 10 closed delta 82 ready grove 13 paused cobalt 50 closed cobalt 46 paused amber 95 paused
fable 86 active cobalt 39 ready delta 43 pending harbor 12 ready fable 44 paused juniper 83 closed juniper 76 failed delta 51 active fable 999 active
cobalt 39 ready delta 43 pending harbor 12 ready juniper 83 closed juniper 76 failed delta 51 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0044271-p1
Output every line that does not contain the exact string 'fable'.
$0 !~ /fable/
amber 87 closed fable 31 closed delta 10 closed delta 82 ready fable 28 closed grove 13 paused cobalt 50 closed cobalt 46 paused amber 95 paused fable 999 active
amber 87 closed delta 10 closed delta 82 ready grove 13 paused cobalt 50 closed cobalt 46 paused amber 95 paused
fable 86 active cobalt 39 ready delta 43 pending harbor 12 ready fable 44 paused juniper 83 closed juniper 76 failed delta 51 active fable 999 active
cobalt 39 ready delta 43 pending harbor 12 ready juniper 83 closed juniper 76 failed delta 51 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0044271
qwen/qwen3.7-plus
awkweave-0044272
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
jules ember 81 jules fable 111 gus amber 6 dina juniper 32 ivan ember 91 alice fable 113 farah fable 59 eli delta 94
jules fable 111 gus amber 6 dina juniper 32 ivan ember 91
chen amber 7 jules amber 98 eli harbor 105 kim amber 74 dina amber 35 lina delta 23 bruno birch 81 jules indigo 33
jules amber 98 eli harbor 105 kim amber 74 dina amber 35
line_range
1
train
original-grammar
CC-BY-4.0
null
null