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-0040381-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
eli indigo 68 eli grove 53 ivan harbor 104 bruno cobalt 34 hana juniper 76 lina ember 99 dina birch 40 bruno cobalt 34 eli amber 30
eli indigo 68 eli grove 53 ivan harbor 104 bruno cobalt 34 hana juniper 76 lina ember 99 dina birch 40 eli amber 30
gus fable 68 chen amber 75 kim cobalt 79 chen birch 107 bruno grove 65 gus amber 70 chen amber 75 dina delta 101 farah harbor 31 alice grove 25
gus fable 68 chen amber 75 kim cobalt 79 chen birch 107 bruno grove 65 gus amber 70 dina delta 101 farah harbor 31 alice grove 25
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040381
qwen/qwen3.7-plus
awkweave-0040382
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
dina indigo 96 chen birch 78 jules fable 49 chen indigo 96 lina cobalt 45 dina harbor 27 gus ember 71 gus delta 78 dina juniper 58
dina indigo 96 chen birch 78 jules fable 49 lina cobalt 45 dina harbor 27 gus ember 71 dina juniper 58
dina delta 30 kim indigo 71 eli cobalt 10 dina indigo 74 ivan fable 33 dina birch 104 farah harbor 32 alice birch 2
dina delta 30 kim indigo 71 eli cobalt 10 dina indigo 74 ivan fable 33 dina birch 104 farah harbor 32 alice birch 2
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040382-p1
Retain only the initial line for every unique value in the third column, keeping the original order.
!seen[$3]++
dina indigo 96 chen birch 78 jules fable 49 chen indigo 96 lina cobalt 45 dina harbor 27 gus ember 71 gus delta 78 dina juniper 58
dina indigo 96 chen birch 78 jules fable 49 lina cobalt 45 dina harbor 27 gus ember 71 dina juniper 58
dina delta 30 kim indigo 71 eli cobalt 10 dina indigo 74 ivan fable 33 dina birch 104 farah harbor 32 alice birch 2
dina delta 30 kim indigo 71 eli cobalt 10 dina indigo 74 ivan fable 33 dina birch 104 farah harbor 32 alice birch 2
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040382
qwen/qwen3.7-plus
awkweave-0040383
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 2 amber eli 30 juniper ivan 12 grove dina 10 amber lina 14 grove alice 22 grove dina 5 fable bruno 18 harbor chen 16 juniper ivan 17 cobalt
hana 2 eli 32 ivan 44 dina 54 lina 68 alice 90 dina 95 bruno 113 chen 129 ivan 146
gus 27 ember alice 12 ember alice 24 amber lina 16 fable hana 7 cobalt lina 18 delta dina 23 birch
gus 27 alice 39 alice 63 lina 79 hana 86 lina 104 dina 127
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040383-p1
For each entry, output the first column and the cumulative total of the second column, separated by a space.
{s+=$2;print $1,s}
hana 2 amber eli 30 juniper ivan 12 grove dina 10 amber lina 14 grove alice 22 grove dina 5 fable bruno 18 harbor chen 16 juniper ivan 17 cobalt
hana 2 eli 32 ivan 44 dina 54 lina 68 alice 90 dina 95 bruno 113 chen 129 ivan 146
gus 27 ember alice 12 ember alice 24 amber lina 16 fable hana 7 cobalt lina 18 delta dina 23 birch
gus 27 alice 39 alice 63 lina 79 hana 86 lina 104 dina 127
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040383
qwen/qwen3.7-plus
awkweave-0040384
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 7 30 amber kim 9 10 cobalt dina 7 14 cobalt bruno 29 15 grove hana 18 27 delta eli 13 17 juniper bruno 18 20 juniper ivan 11 30 juniper jules 10 30 indigo
lina 37 kim 19 dina 21 bruno 44 hana 45 eli 30 bruno 38 ivan 41 jules 40
farah 15 17 fable farah 12 7 juniper chen 19 14 birch jules 14 17 amber ivan 9 18 harbor kim 19 11 cobalt jules 23 14 cobalt lina 21 2 ember gus 11 25 ember
farah 32 farah 19 chen 33 jules 31 ivan 27 kim 30 jules 37 lina 23 gus 36
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040384-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
lina 7 30 amber kim 9 10 cobalt dina 7 14 cobalt bruno 29 15 grove hana 18 27 delta eli 13 17 juniper bruno 18 20 juniper ivan 11 30 juniper jules 10 30 indigo
lina 37 kim 19 dina 21 bruno 44 hana 45 eli 30 bruno 38 ivan 41 jules 40
farah 15 17 fable farah 12 7 juniper chen 19 14 birch jules 14 17 amber ivan 9 18 harbor kim 19 11 cobalt jules 23 14 cobalt lina 21 2 ember gus 11 25 ember
farah 32 farah 19 chen 33 jules 31 ivan 27 kim 30 jules 37 lina 23 gus 36
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040384
qwen/qwen3.7-plus
awkweave-0040385
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
jules 21 jules 30 hana 6 bruno 9 farah 23 chen 22 farah 5 eli 16 kim 14
jules fail jules pass hana fail bruno fail farah fail chen fail farah fail eli fail kim fail
chen 11 farah 1 chen 19 dina 24 farah 7 alice 5
chen fail farah fail chen fail dina pass farah fail alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040385-p1
Display the first column along with 'pass' if the second column is 24 or greater, otherwise display 'fail'.
{print $1,($2>=24?"pass":"fail")}
jules 21 jules 30 hana 6 bruno 9 farah 23 chen 22 farah 5 eli 16 kim 14
jules fail jules pass hana fail bruno fail farah fail chen fail farah fail eli fail kim fail
chen 11 farah 1 chen 19 dina 24 farah 7 alice 5
chen fail farah fail chen fail dina pass farah fail alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040385
qwen/qwen3.7-plus
awkweave-0040386
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina amber 34 jules fable 59 lina ember 7 chen grove 1 alice ember 48 chen birch 48
DINA JULES LINA CHEN ALICE CHEN
chen fable 118 eli juniper 16 eli ember 61 alice ember 89 alice delta 51 bruno delta 40 kim birch 94
CHEN ELI ELI ALICE ALICE BRUNO KIM
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040386-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
dina amber 34 jules fable 59 lina ember 7 chen grove 1 alice ember 48 chen birch 48
DINA JULES LINA CHEN ALICE CHEN
chen fable 118 eli juniper 16 eli ember 61 alice ember 89 alice delta 51 bruno delta 40 kim birch 94
CHEN ELI ELI ALICE ALICE BRUNO KIM
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040386
qwen/qwen3.7-plus
awkweave-0040387
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
indigo 104 indigo 68 indigo 66 harbor 1 birch 75 fable 17 delta 74 juniper 78 indigo 23 harbor 0
ndi ndi ndi arb irc abl elt uni ndi arb
juniper 20 birch 116 indigo 80 delta 12 harbor 3 birch 51
uni irc ndi elt arb irc
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040387-p1
Extract and print a 3-character substring from the first column, starting at the second character.
{print substr($1,2,3)}
indigo 104 indigo 68 indigo 66 harbor 1 birch 75 fable 17 delta 74 juniper 78 indigo 23 harbor 0
ndi ndi ndi arb irc abl elt uni ndi arb
juniper 20 birch 116 indigo 80 delta 12 harbor 3 birch 51
uni irc ndi elt arb irc
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040387
qwen/qwen3.7-plus
awkweave-0040388
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_birch 97 amber_indigo 90 delta_juniper 100 cobalt_delta 56 delta_birch 101 grove_amber 110 harbor_birch 24
fable birch amber indigo delta juniper cobalt delta delta birch grove amber harbor birch
cobalt_indigo 65 birch_amber 55 cobalt_juniper 54 grove_harbor 11 harbor_cobalt 51 grove_amber 36 cobalt_delta 99 fable_fable 38 harbor_juniper 99 ember_indigo 6
cobalt indigo birch amber cobalt juniper grove harbor harbor cobalt grove amber cobalt delta fable fable harbor juniper ember indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040388-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
fable_birch 97 amber_indigo 90 delta_juniper 100 cobalt_delta 56 delta_birch 101 grove_amber 110 harbor_birch 24
fable birch amber indigo delta juniper cobalt delta delta birch grove amber harbor birch
cobalt_indigo 65 birch_amber 55 cobalt_juniper 54 grove_harbor 11 harbor_cobalt 51 grove_amber 36 cobalt_delta 99 fable_fable 38 harbor_juniper 99 ember_indigo 6
cobalt indigo birch amber cobalt juniper grove harbor harbor cobalt grove amber cobalt delta fable fable harbor juniper ember indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040388
qwen/qwen3.7-plus
awkweave-0040389
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 harbor 47 closed bruno delta 33 closed kim amber 99 active eli harbor 1 closed dina amber 91 closed ivan delta 110 failed ivan indigo 120 failed
closed 47 harbor ivan closed 33 delta bruno active 99 amber kim closed 1 harbor eli closed 91 amber dina failed 110 delta ivan failed 120 indigo ivan
chen ember 83 active lina delta 16 pending farah birch 116 failed kim ember 77 closed bruno amber 71 pending eli indigo 99 paused
active 83 ember chen pending 16 delta lina failed 116 birch farah closed 77 ember kim pending 71 amber bruno paused 99 indigo eli
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040389-p1
Reverse the sequence of fields in each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan harbor 47 closed bruno delta 33 closed kim amber 99 active eli harbor 1 closed dina amber 91 closed ivan delta 110 failed ivan indigo 120 failed
closed 47 harbor ivan closed 33 delta bruno active 99 amber kim closed 1 harbor eli closed 91 amber dina failed 110 delta ivan failed 120 indigo ivan
chen ember 83 active lina delta 16 pending farah birch 116 failed kim ember 77 closed bruno amber 71 pending eli indigo 99 paused
active 83 ember chen pending 16 delta lina failed 116 birch farah closed 77 ember kim pending 71 amber bruno paused 99 indigo eli
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040389
qwen/qwen3.7-plus
awkweave-0040400
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
kim 82 gus 104 hana 8 alice 10 farah 120 gus 110 ivan 45
hana 8 gus 110
bruno 108 jules 24 alice 105 gus 96 alice 38 alice 49
alice 105 alice 49
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040400-p1
Output every third line beginning with line 3 (i.e., lines 3, 6, etc.).
NR%3==0
kim 82 gus 104 hana 8 alice 10 farah 120 gus 110 ivan 45
hana 8 gus 110
bruno 108 jules 24 alice 105 gus 96 alice 38 alice 49
alice 105 alice 49
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040400
qwen/qwen3.7-plus
awkweave-0040401
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 91 alpha grove 5 alpha harbor 108 beta cobalt 34 beta amber 13 delta fable 37 beta fable 33
3
gamma juniper 62 alpha indigo 97 alpha grove 1 beta delta 24 gamma grove 104 beta cobalt 19 alpha juniper 26 delta indigo 112
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040401-p1
Calculate the number of unique values in the first column and display only that total.
{if(!seen[$1]++)n++}END{print n+0}
delta amber 91 alpha grove 5 alpha harbor 108 beta cobalt 34 beta amber 13 delta fable 37 beta fable 33
3
gamma juniper 62 alpha indigo 97 alpha grove 1 beta delta 24 gamma grove 104 beta cobalt 19 alpha juniper 26 delta indigo 112
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040401
qwen/qwen3.7-plus
awkweave-0040402
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}
lina 20 0 eli 18 27 dina 27 16 alice 28 20 kim 24 13 alice 24 17 chen 19 1 ivan 15 30 dina 20 19
eli 0.67 dina 1.69 alice 1.40 kim 1.85 alice 1.41 chen 19.00 ivan 0.50 dina 1.05
dina 12 0 lina 30 1 lina 22 24 lina 22 17 jules 14 14 chen 25 3 hana 23 6 alice 27 13 jules 12 9 lina 19 28
lina 30.00 lina 0.92 lina 1.29 jules 1.00 chen 8.33 hana 3.83 alice 2.08 jules 1.33 lina 0.68
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040402-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, omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 20 0 eli 18 27 dina 27 16 alice 28 20 kim 24 13 alice 24 17 chen 19 1 ivan 15 30 dina 20 19
eli 0.67 dina 1.69 alice 1.40 kim 1.85 alice 1.41 chen 19.00 ivan 0.50 dina 1.05
dina 12 0 lina 30 1 lina 22 24 lina 22 17 jules 14 14 chen 25 3 hana 23 6 alice 27 13 jules 12 9 lina 19 28
lina 30.00 lina 0.92 lina 1.29 jules 1.00 chen 8.33 hana 3.83 alice 2.08 jules 1.33 lina 0.68
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040402
qwen/qwen3.7-plus
awkweave-0040403
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]}
bruno juniper 6 farah fable 6 alice ember 18 lina indigo 3 chen grove 6 jules cobalt 11
alice ember 18 jules cobalt 11 bruno juniper 6
gus amber 15 chen birch 14 dina cobalt 8 gus harbor 11 lina juniper 20 ivan fable 13 farah indigo 14 lina amber 10 kim amber 18
lina juniper 20 kim amber 18 gus amber 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040403-p1
Display the full records corresponding to the top three highest numeric values in column 3, 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]}
bruno juniper 6 farah fable 6 alice ember 18 lina indigo 3 chen grove 6 jules cobalt 11
alice ember 18 jules cobalt 11 bruno juniper 6
gus amber 15 chen birch 14 dina cobalt 8 gus harbor 11 lina juniper 20 ivan fable 13 farah indigo 14 lina amber 10 kim amber 18
lina juniper 20 kim amber 18 gus amber 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040403
qwen/qwen3.7-plus
awkweave-0040404
For each line, output fields 5 and 4, in that order.
{print $5, $4}
ready indigo fable pending gus ready fable ember ready alice pending delta delta ready hana paused fable ember paused eli active juniper juniper pending dina closed juniper juniper failed bruno paused grove indigo ready hana pending cobalt indigo active hana closed amber ember paused jules
gus pending alice ready hana ready eli paused dina pending bruno failed hana ready hana active jules paused
closed ember amber paused gus paused grove fable pending bruno paused amber cobalt active bruno ready harbor indigo closed hana paused ember cobalt closed alice failed fable delta failed kim active grove grove failed chen
gus paused bruno pending bruno active hana closed alice closed kim failed chen failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040404-p1
Output fields 5 and 4 from each line, in that specific sequence.
{print $5, $4}
ready indigo fable pending gus ready fable ember ready alice pending delta delta ready hana paused fable ember paused eli active juniper juniper pending dina closed juniper juniper failed bruno paused grove indigo ready hana pending cobalt indigo active hana closed amber ember paused jules
gus pending alice ready hana ready eli paused dina pending bruno failed hana ready hana active jules paused
closed ember amber paused gus paused grove fable pending bruno paused amber cobalt active bruno ready harbor indigo closed hana paused ember cobalt closed alice failed fable delta failed kim active grove grove failed chen
gus paused bruno pending bruno active hana closed alice closed kim failed chen failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040404
qwen/qwen3.7-plus
awkweave-0040405
Print the last field of every input line.
{print $NF}
paused fable harbor pending 71 juniper 60 failed grove birch pending 87 indigo 118 closed harbor juniper closed 18 cobalt 95 closed cobalt fable paused 83 fable 84 pending delta amber failed 57 harbor 60 paused amber juniper pending 116 delta 66 paused ember ember active 7 birch 120
60 118 95 84 60 66 120
ready grove amber closed 32 indigo 48 paused cobalt grove paused 8 ember 71 closed indigo fable closed 92 grove 14 failed delta amber paused 106 cobalt 101 closed juniper fable ready 26 delta 80 closed birch ember active 46 harbor 28 pending fable juniper closed 72 juniper 55 closed birch ember ready 94 birch 105 pendi...
48 71 14 101 80 28 55 105 69 39
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040405-p1
Print the final field from every input line.
{print $NF}
paused fable harbor pending 71 juniper 60 failed grove birch pending 87 indigo 118 closed harbor juniper closed 18 cobalt 95 closed cobalt fable paused 83 fable 84 pending delta amber failed 57 harbor 60 paused amber juniper pending 116 delta 66 paused ember ember active 7 birch 120
60 118 95 84 60 66 120
ready grove amber closed 32 indigo 48 paused cobalt grove paused 8 ember 71 closed indigo fable closed 92 grove 14 failed delta amber paused 106 cobalt 101 closed juniper fable ready 26 delta 80 closed birch ember active 46 harbor 28 pending fable juniper closed 72 juniper 55 closed birch ember ready 94 birch 105 pendi...
48 71 14 101 80 28 55 105 69 39
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040405
qwen/qwen3.7-plus
awkweave-0040406
Print the complete records where column 1 is at most 60.
$1 <= 60
28 paused grove farah 69 paused amber farah 54 active birch chen 16 closed delta chen 65 failed grove gus 42 pending fable alice 83 ready juniper lina 21 paused delta chen 45 closed cobalt alice 5 ready grove bruno
28 paused grove farah 54 active birch chen 16 closed delta chen 42 pending fable alice 21 paused delta chen 45 closed cobalt alice 5 ready grove bruno
70 pending indigo chen 1 paused juniper ivan 96 pending delta lina 91 active ember jules 120 paused birch farah 71 pending ember jules 103 active grove gus 44 failed amber dina 63 failed ember ivan 78 ready ember bruno
1 paused juniper ivan 44 failed amber dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040406-p1
Output the entire records for which the value in column 1 is less than or equal to 60.
$1 <= 60
28 paused grove farah 69 paused amber farah 54 active birch chen 16 closed delta chen 65 failed grove gus 42 pending fable alice 83 ready juniper lina 21 paused delta chen 45 closed cobalt alice 5 ready grove bruno
28 paused grove farah 54 active birch chen 16 closed delta chen 42 pending fable alice 21 paused delta chen 45 closed cobalt alice 5 ready grove bruno
70 pending indigo chen 1 paused juniper ivan 96 pending delta lina 91 active ember jules 120 paused birch farah 71 pending ember jules 103 active grove gus 44 failed amber dina 63 failed ember ivan 78 ready ember bruno
1 paused juniper ivan 44 failed amber dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040406
qwen/qwen3.7-plus
awkweave-0040407
Show whole lines whose 3rd field is between 12 and 26, inclusive.
$3 >= 12 && $3 <= 26
closed chen 9 failed paused eli 8 pending failed jules 10 pending active kim 24 failed pending lina 13 active failed dina 5 paused active jules 13 ready failed hana 26 paused failed alice 14 pending
active kim 24 failed pending lina 13 active active jules 13 ready failed hana 26 paused failed alice 14 pending
pending dina 5 active active alice 10 active pending chen 17 closed active hana 11 pending active dina 25 active paused lina 14 active paused alice 9 active pending dina 24 pending
pending chen 17 closed active dina 25 active paused lina 14 active pending dina 24 pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040407-p1
Display complete lines where the third field falls within the range of 12 to 26, inclusive.
$3 >= 12 && $3 <= 26
closed chen 9 failed paused eli 8 pending failed jules 10 pending active kim 24 failed pending lina 13 active failed dina 5 paused active jules 13 ready failed hana 26 paused failed alice 14 pending
active kim 24 failed pending lina 13 active active jules 13 ready failed hana 26 paused failed alice 14 pending
pending dina 5 active active alice 10 active pending chen 17 closed active hana 11 pending active dina 25 active paused lina 14 active paused alice 9 active pending dina 24 pending
pending chen 17 closed active dina 25 active paused lina 14 active pending dina 24 pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040407
qwen/qwen3.7-plus
awkweave-0040408
Print column 4 only for rows where column 3 is exactly closed.
$3 == "closed"{print $4}
74 juniper closed hana 120 grove active gus 98 birch active hana 84 birch paused kim 108 indigo active hana 66 harbor closed ivan 67 juniper closed dina 77 amber ready gus 32 grove active hana 31 grove failed chen
hana ivan dina
13 delta active eli 103 juniper pending eli 15 indigo pending farah 95 indigo paused eli 111 ember ready farah 32 fable ready alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040408-p1
Output only the fourth column for rows where the third column contains the exact value 'closed'.
$3 == "closed"{print $4}
74 juniper closed hana 120 grove active gus 98 birch active hana 84 birch paused kim 108 indigo active hana 66 harbor closed ivan 67 juniper closed dina 77 amber ready gus 32 grove active hana 31 grove failed chen
hana ivan dina
13 delta active eli 103 juniper pending eli 15 indigo pending farah 95 indigo paused eli 111 ember ready farah 32 fable ready alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040408
qwen/qwen3.7-plus
awkweave-0040409
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
INFO harbor 36 ERROR delta 14 WARN amber 47 ERROR fable 115 INFO delta 54 DEBUG ember 37
WARN amber 47
WARN juniper 83 WARN indigo 74 WARN cobalt 53 DEBUG amber 87 ERROR ember 93 DEBUG birch 81 DEBUG indigo 43 ERROR harbor 83 ERROR cobalt 76
WARN juniper 83 WARN indigo 74 WARN cobalt 53
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040409-p1
Print all fields from lines where the first field starts with the string 'WARN'.
$1 ~ /^WARN/
INFO harbor 36 ERROR delta 14 WARN amber 47 ERROR fable 115 INFO delta 54 DEBUG ember 37
WARN amber 47
WARN juniper 83 WARN indigo 74 WARN cobalt 53 DEBUG amber 87 ERROR ember 93 DEBUG birch 81 DEBUG indigo 43 ERROR harbor 83 ERROR cobalt 76
WARN juniper 83 WARN indigo 74 WARN cobalt 53
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040409
qwen/qwen3.7-plus
awkweave-0040410
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
birch 29 closed amber 58 ready harbor 40 pending fable 63 failed fable 73 paused grove 86 ready indigo 999 active
birch 29 closed amber 58 ready harbor 40 pending fable 63 failed fable 73 paused grove 86 ready
birch 108 paused fable 71 paused indigo 95 pending indigo 32 active fable 22 closed amber 8 ready juniper 86 failed grove 68 failed birch 31 paused fable 102 pending indigo 999 active
birch 108 paused fable 71 paused fable 22 closed amber 8 ready juniper 86 failed grove 68 failed birch 31 paused fable 102 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040410-p1
Output every line except those that contain the exact string 'indigo'.
$0 !~ /indigo/
birch 29 closed amber 58 ready harbor 40 pending fable 63 failed fable 73 paused grove 86 ready indigo 999 active
birch 29 closed amber 58 ready harbor 40 pending fable 63 failed fable 73 paused grove 86 ready
birch 108 paused fable 71 paused indigo 95 pending indigo 32 active fable 22 closed amber 8 ready juniper 86 failed grove 68 failed birch 31 paused fable 102 pending indigo 999 active
birch 108 paused fable 71 paused fable 22 closed amber 8 ready juniper 86 failed grove 68 failed birch 31 paused fable 102 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040410
qwen/qwen3.7-plus
awkweave-0040411
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
ivan delta 41 lina amber 102 jules grove 105 alice grove 28 farah cobalt 71 hana fable 103 gus ember 112 chen grove 75
lina amber 102 jules grove 105 alice grove 28 farah cobalt 71
kim grove 98 jules grove 100 eli harbor 119 bruno delta 106 farah indigo 92 eli fable 100 chen amber 2 bruno juniper 56 dina cobalt 48 bruno indigo 64
jules grove 100 eli harbor 119 bruno delta 106 farah indigo 92
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040411-p1
Print lines 2 through 5, inclusive of both endpoints.
NR >= 2 && NR <= 5
ivan delta 41 lina amber 102 jules grove 105 alice grove 28 farah cobalt 71 hana fable 103 gus ember 112 chen grove 75
lina amber 102 jules grove 105 alice grove 28 farah cobalt 71
kim grove 98 jules grove 100 eli harbor 119 bruno delta 106 farah indigo 92 eli fable 100 chen amber 2 bruno juniper 56 dina cobalt 48 bruno indigo 64
jules grove 100 eli harbor 119 bruno delta 106 farah indigo 92
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040411
qwen/qwen3.7-plus
awkweave-0040412
Output only the first 2 records.
NR <= 2
ivan 21 harbor jules 67 ember gus 99 ember alice 108 fable eli 100 delta hana 55 fable dina 30 fable
ivan 21 harbor jules 67 ember
gus 30 grove gus 107 delta hana 83 juniper farah 89 harbor chen 66 birch gus 62 birch
gus 30 grove gus 107 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040412-p1
Display only the initial 2 records.
NR <= 2
ivan 21 harbor jules 67 ember gus 99 ember alice 108 fable eli 100 delta hana 55 fable dina 30 fable
ivan 21 harbor jules 67 ember
gus 30 grove gus 107 delta hana 83 juniper farah 89 harbor chen 66 birch gus 62 birch
gus 30 grove gus 107 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040412
qwen/qwen3.7-plus
awkweave-0040413
Skip the first line and print every remaining line unchanged.
NR > 1
alice 3 cobalt lina 67 ember chen 79 harbor jules 27 harbor farah 47 harbor alice 31 ember ivan 39 juniper bruno 15 juniper chen 42 juniper
lina 67 ember chen 79 harbor jules 27 harbor farah 47 harbor alice 31 ember ivan 39 juniper bruno 15 juniper chen 42 juniper
kim 58 harbor dina 42 fable jules 39 juniper farah 35 indigo dina 96 grove jules 39 cobalt eli 55 delta alice 103 amber chen 101 amber
dina 42 fable jules 39 juniper farah 35 indigo dina 96 grove jules 39 cobalt eli 55 delta alice 103 amber chen 101 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040413-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
alice 3 cobalt lina 67 ember chen 79 harbor jules 27 harbor farah 47 harbor alice 31 ember ivan 39 juniper bruno 15 juniper chen 42 juniper
lina 67 ember chen 79 harbor jules 27 harbor farah 47 harbor alice 31 ember ivan 39 juniper bruno 15 juniper chen 42 juniper
kim 58 harbor dina 42 fable jules 39 juniper farah 35 indigo dina 96 grove jules 39 cobalt eli 55 delta alice 103 amber chen 101 amber
dina 42 fable jules 39 juniper farah 35 indigo dina 96 grove jules 39 cobalt eli 55 delta alice 103 amber chen 101 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040413
qwen/qwen3.7-plus
awkweave-0040414
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
jules pending 37 eli failed 39 dina closed 42 jules ready 56 dina ready 79 chen paused 0 eli active 30 dina active 55 kim failed 106 alice failed 19
2
gus active 17 jules ready 24 dina ready 0 chen active 45 gus pending 106 farah active 71 gus active 101 jules ready 2
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040414-p1
Determine the number of entries where column 2 contains 'ready', printing 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
jules pending 37 eli failed 39 dina closed 42 jules ready 56 dina ready 79 chen paused 0 eli active 30 dina active 55 kim failed 106 alice failed 19
2
gus active 17 jules ready 24 dina ready 0 chen active 45 gus pending 106 farah active 71 gus active 101 jules ready 2
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040414
qwen/qwen3.7-plus
awkweave-0040415
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
cobalt 21 dina ember 6 dina amber 29 lina ember 10 chen amber 28 bruno grove 13 hana indigo 27 kim ember 13 bruno grove 2 alice
149
indigo 7 dina amber 14 gus indigo 29 farah delta 29 dina delta 11 eli fable 18 dina harbor 26 jules indigo 27 alice harbor 25 gus delta 20 lina
206
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040415-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
cobalt 21 dina ember 6 dina amber 29 lina ember 10 chen amber 28 bruno grove 13 hana indigo 27 kim ember 13 bruno grove 2 alice
149
indigo 7 dina amber 14 gus indigo 29 farah delta 29 dina delta 11 eli fable 18 dina harbor 26 jules indigo 27 alice harbor 25 gus delta 20 lina
206
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040415
qwen/qwen3.7-plus
awkweave-0040416
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
4 dina ember 18 gus harbor 15 alice ember 27 ivan ember 11 jules cobalt 5 alice harbor 16 chen ember 21 dina harbor 3 dina harbor
13.33
23 kim delta 30 lina amber 23 jules grove 21 chen delta 14 hana harbor 11 bruno amber 13 hana grove 13 bruno birch 24 alice fable 10 gus ember
18.20
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040416-p1
Output the average of values in column 1, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
4 dina ember 18 gus harbor 15 alice ember 27 ivan ember 11 jules cobalt 5 alice harbor 16 chen ember 21 dina harbor 3 dina harbor
13.33
23 kim delta 30 lina amber 23 jules grove 21 chen delta 14 hana harbor 11 bruno amber 13 hana grove 13 bruno birch 24 alice fable 10 gus ember
18.20
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040416
qwen/qwen3.7-plus
awkweave-0040417
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ember alice 1 ember hana 10 harbor farah 13 ember lina 27 cobalt ivan 10 birch alice 14 indigo farah 9 delta lina 28
1
grove dina 10 birch ivan 12 harbor alice 1 juniper farah 27 ember bruno 27 harbor ivan 18 ember lina 3 birch chen 23 delta ivan 25 amber farah 22
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040417-p1
Identify and print the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ember alice 1 ember hana 10 harbor farah 13 ember lina 27 cobalt ivan 10 birch alice 14 indigo farah 9 delta lina 28
1
grove dina 10 birch ivan 12 harbor alice 1 juniper farah 27 ember bruno 27 harbor ivan 18 ember lina 3 birch chen 23 delta ivan 25 amber farah 22
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040417
qwen/qwen3.7-plus
awkweave-0040418
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
27 hana ember 27 chen harbor 12 kim harbor 28 lina fable 28 kim fable 3 chen indigo
28
25 eli birch 12 lina grove 18 kim birch 2 alice fable 27 alice amber 24 kim indigo 6 chen cobalt
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040418-p1
Identify and print the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
27 hana ember 27 chen harbor 12 kim harbor 28 lina fable 28 kim fable 3 chen indigo
28
25 eli birch 12 lina grove 18 kim birch 2 alice fable 27 alice amber 24 kim indigo 6 chen cobalt
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040418
qwen/qwen3.7-plus
awkweave-0040419
Count all input records and print the total.
END{print NR}
eli 110 hana 70 bruno 7 eli 65 jules 63 eli 84 hana 114 kim 35
8
gus 109 dina 109 lina 37 bruno 40 eli 85 dina 73 kim 43
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040419-p1
Count the total number of input records and print the result.
END{print NR}
eli 110 hana 70 bruno 7 eli 65 jules 63 eli 84 hana 114 kim 35
8
gus 109 dina 109 lina 37 bruno 40 eli 85 dina 73 kim 43
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040419
qwen/qwen3.7-plus
awkweave-0040420
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana ember 14 lina ember 82 alice fable 85 chen cobalt 91 jules harbor 87 hana ember 14 eli birch 97
hana ember 14 lina ember 82 alice fable 85 chen cobalt 91 jules harbor 87 eli birch 97
bruno ember 18 jules harbor 102 eli grove 67 kim cobalt 57 jules amber 40 farah grove 16 bruno ember 18
bruno ember 18 jules harbor 102 eli grove 67 kim cobalt 57 jules amber 40 farah grove 16
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040420-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
hana ember 14 lina ember 82 alice fable 85 chen cobalt 91 jules harbor 87 hana ember 14 eli birch 97
hana ember 14 lina ember 82 alice fable 85 chen cobalt 91 jules harbor 87 eli birch 97
bruno ember 18 jules harbor 102 eli grove 67 kim cobalt 57 jules amber 40 farah grove 16 bruno ember 18
bruno ember 18 jules harbor 102 eli grove 67 kim cobalt 57 jules amber 40 farah grove 16
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040420
qwen/qwen3.7-plus
awkweave-0040421
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
ivan fable 100 lina fable 58 kim birch 58 bruno ember 25 dina indigo 73 dina ember 101 kim amber 39
ivan fable 100 lina fable 58 kim birch 58 bruno ember 25 dina indigo 73
gus juniper 39 kim fable 34 farah juniper 31 ivan ember 50 bruno indigo 111 hana amber 36
gus juniper 39 kim fable 34 farah juniper 31 ivan ember 50 bruno indigo 111 hana amber 36
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040421-p1
Retain only the first occurrence for each unique value in column 1, preserving the original input sequence.
!seen[$1]++
ivan fable 100 lina fable 58 kim birch 58 bruno ember 25 dina indigo 73 dina ember 101 kim amber 39
ivan fable 100 lina fable 58 kim birch 58 bruno ember 25 dina indigo 73
gus juniper 39 kim fable 34 farah juniper 31 ivan ember 50 bruno indigo 111 hana amber 36
gus juniper 39 kim fable 34 farah juniper 31 ivan ember 50 bruno indigo 111 hana amber 36
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040421
qwen/qwen3.7-plus
awkweave-0040422
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 4 ember eli 29 birch farah 7 delta jules 13 fable kim 27 delta lina 20 harbor
hana 4 eli 33 farah 40 jules 53 kim 80 lina 100
dina 21 birch hana 28 fable hana 2 cobalt eli 23 amber chen 21 birch alice 1 amber lina 25 juniper chen 5 grove lina 19 amber eli 30 cobalt
dina 21 hana 49 hana 51 eli 74 chen 95 alice 96 lina 121 chen 126 lina 145 eli 175
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040422-p1
For every record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 4 ember eli 29 birch farah 7 delta jules 13 fable kim 27 delta lina 20 harbor
hana 4 eli 33 farah 40 jules 53 kim 80 lina 100
dina 21 birch hana 28 fable hana 2 cobalt eli 23 amber chen 21 birch alice 1 amber lina 25 juniper chen 5 grove lina 19 amber eli 30 cobalt
dina 21 hana 49 hana 51 eli 74 chen 95 alice 96 lina 121 chen 126 lina 145 eli 175
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040422
qwen/qwen3.7-plus
awkweave-0040423
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 3 4 juniper ivan 22 18 juniper chen 5 7 harbor bruno 11 22 ember gus 2 10 cobalt kim 21 3 fable gus 15 6 juniper
kim 7 ivan 40 chen 12 bruno 33 gus 12 kim 24 gus 21
alice 19 7 fable farah 8 10 grove chen 11 17 juniper jules 28 18 indigo hana 20 30 harbor farah 30 12 indigo bruno 11 23 cobalt jules 16 25 delta
alice 26 farah 18 chen 28 jules 46 hana 50 farah 42 bruno 34 jules 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040423-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 3 4 juniper ivan 22 18 juniper chen 5 7 harbor bruno 11 22 ember gus 2 10 cobalt kim 21 3 fable gus 15 6 juniper
kim 7 ivan 40 chen 12 bruno 33 gus 12 kim 24 gus 21
alice 19 7 fable farah 8 10 grove chen 11 17 juniper jules 28 18 indigo hana 20 30 harbor farah 30 12 indigo bruno 11 23 cobalt jules 16 25 delta
alice 26 farah 18 chen 28 jules 46 hana 50 farah 42 bruno 34 jules 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040423
qwen/qwen3.7-plus
awkweave-0040424
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
bruno 15 jules 11 alice 21 kim 26 kim 15 alice 10 ivan 20
bruno fail jules fail alice pass kim pass kim fail alice fail ivan pass
lina 1 bruno 26 chen 3 ivan 11 jules 15 chen 17 farah 29 jules 2
lina fail bruno pass chen fail ivan fail jules fail chen fail farah pass jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040424-p1
Output the first column; if the second column is 20 or more, print 'pass', otherwise print 'fail'.
{print $1,($2>=20?"pass":"fail")}
bruno 15 jules 11 alice 21 kim 26 kim 15 alice 10 ivan 20
bruno fail jules fail alice pass kim pass kim fail alice fail ivan pass
lina 1 bruno 26 chen 3 ivan 11 jules 15 chen 17 farah 29 jules 2
lina fail bruno pass chen fail ivan fail jules fail chen fail farah pass jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040424
qwen/qwen3.7-plus
awkweave-0040425
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno grove 102 eli cobalt 14 kim grove 116 jules amber 109 hana birch 112 dina cobalt 50 ivan grove 9 lina grove 30
BRUNO ELI KIM JULES HANA DINA IVAN LINA
hana cobalt 109 bruno harbor 58 hana birch 73 farah ember 60 gus cobalt 47 ivan grove 42
HANA BRUNO HANA FARAH GUS IVAN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040425-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
bruno grove 102 eli cobalt 14 kim grove 116 jules amber 109 hana birch 112 dina cobalt 50 ivan grove 9 lina grove 30
BRUNO ELI KIM JULES HANA DINA IVAN LINA
hana cobalt 109 bruno harbor 58 hana birch 73 farah ember 60 gus cobalt 47 ivan grove 42
HANA BRUNO HANA FARAH GUS IVAN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040425
qwen/qwen3.7-plus
awkweave-0040426
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
grove 2 birch 14 cobalt 80 cobalt 33 ember 105 birch 113
gr bi co co em bi
cobalt 6 birch 13 juniper 115 indigo 29 grove 19 cobalt 78 delta 41 amber 3 cobalt 72
co bi ju in gr co de am co
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040426-p1
Extract and print the first 2 characters from the first column.
{print substr($1,1,2)}
grove 2 birch 14 cobalt 80 cobalt 33 ember 105 birch 113
gr bi co co em bi
cobalt 6 birch 13 juniper 115 indigo 29 grove 19 cobalt 78 delta 41 amber 3 cobalt 72
co bi ju in gr co de am co
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040426
qwen/qwen3.7-plus
awkweave-0040427
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_delta 92 birch_grove 114 juniper_grove 81 birch_indigo 54 grove_amber 21 cobalt_harbor 36 fable_grove 51 indigo_delta 44
birch delta birch grove juniper grove birch indigo grove amber cobalt harbor fable grove indigo delta
fable_cobalt 39 juniper_grove 37 birch_juniper 17 fable_delta 77 delta_cobalt 114 fable_birch 87 indigo_birch 82 cobalt_fable 76 delta_birch 77
fable cobalt juniper grove birch juniper fable delta delta cobalt fable birch indigo birch cobalt fable delta birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040427-p1
Substitute all underscores in the first column with spaces and display the results.
{gsub(/_/," ",$1);print $1}
birch_delta 92 birch_grove 114 juniper_grove 81 birch_indigo 54 grove_amber 21 cobalt_harbor 36 fable_grove 51 indigo_delta 44
birch delta birch grove juniper grove birch indigo grove amber cobalt harbor fable grove indigo delta
fable_cobalt 39 juniper_grove 37 birch_juniper 17 fable_delta 77 delta_cobalt 114 fable_birch 87 indigo_birch 82 cobalt_fable 76 delta_birch 77
fable cobalt juniper grove birch juniper fable delta delta cobalt fable birch indigo birch cobalt fable delta birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040427
qwen/qwen3.7-plus
awkweave-0040428
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)}
chen birch 31 failed kim harbor 43 ready lina grove 28 failed alice harbor 60 closed farah fable 34 closed dina ember 52 paused
failed 31 birch chen ready 43 harbor kim failed 28 grove lina closed 60 harbor alice closed 34 fable farah paused 52 ember dina
ivan juniper 118 closed gus indigo 82 closed ivan birch 64 failed bruno ember 87 active lina grove 9 paused bruno amber 21 failed hana cobalt 109 closed
closed 118 juniper ivan closed 82 indigo gus failed 64 birch ivan active 87 ember bruno paused 9 grove lina failed 21 amber bruno closed 109 cobalt hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040428-p1
Reverse the sequence of fields for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen birch 31 failed kim harbor 43 ready lina grove 28 failed alice harbor 60 closed farah fable 34 closed dina ember 52 paused
failed 31 birch chen ready 43 harbor kim failed 28 grove lina closed 60 harbor alice closed 34 fable farah paused 52 ember dina
ivan juniper 118 closed gus indigo 82 closed ivan birch 64 failed bruno ember 87 active lina grove 9 paused bruno amber 21 failed hana cobalt 109 closed
closed 118 juniper ivan closed 82 indigo gus failed 64 birch ivan active 87 ember bruno paused 9 grove lina failed 21 amber bruno closed 109 cobalt hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040428
qwen/qwen3.7-plus
awkweave-0040429
Print the number of whitespace-separated fields on each line.
{print NF}
farah juniper 57 ready farah grove 23 pending bruno ember 106 ready hana birch 30 active chen delta 104 pending jules delta 25 pending kim birch 25 closed farah juniper 98 ready ivan juniper 26 closed
4 4 4 4 4 4 4 4 4
farah amber 3 active alice birch 109 ready farah cobalt 53 pending ivan grove 18 active alice fable 1 active hana birch 79 ready eli birch 76 pending ivan indigo 77 pending hana indigo 67 active eli fable 76 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040429-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
farah juniper 57 ready farah grove 23 pending bruno ember 106 ready hana birch 30 active chen delta 104 pending jules delta 25 pending kim birch 25 closed farah juniper 98 ready ivan juniper 26 closed
4 4 4 4 4 4 4 4 4
farah amber 3 active alice birch 109 ready farah cobalt 53 pending ivan grove 18 active alice fable 1 active hana birch 79 ready eli birch 76 pending ivan indigo 77 pending hana indigo 67 active eli fable 76 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040429
qwen/qwen3.7-plus
awkweave-0040430
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 delta 33 jules gamma 95 jules delta 82 chen delta 23 chen gamma 58 ivan delta 55 kim beta 27 alice delta 119 gus gamma 106
delta 5 gamma 3 beta 1
dina alpha 60 alice beta 49 farah delta 81 hana alpha 99 hana gamma 62 lina alpha 1 chen gamma 69 gus alpha 76
alpha 4 beta 1 delta 1 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040430-p1
Tally records by each unique value in column 2, printing the value and its total in the order 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]]}
bruno delta 33 jules gamma 95 jules delta 82 chen delta 23 chen gamma 58 ivan delta 55 kim beta 27 alice delta 119 gus gamma 106
delta 5 gamma 3 beta 1
dina alpha 60 alice beta 49 farah delta 81 hana alpha 99 hana gamma 62 lina alpha 1 chen gamma 69 gus alpha 76
alpha 4 beta 1 delta 1 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040430
qwen/qwen3.7-plus
awkweave-0040431
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]]}
farah alpha 22 kim delta 25 alice alpha 28 hana beta 14 gus delta 29 ivan gamma 12 gus gamma 9
alpha 50 delta 54 beta 14 gamma 21
alice gamma 15 ivan alpha 9 farah beta 9 farah delta 26 lina alpha 7 gus gamma 3
gamma 18 alpha 16 beta 9 delta 26
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040431-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]]}
farah alpha 22 kim delta 25 alice alpha 28 hana beta 14 gus delta 29 ivan gamma 12 gus gamma 9
alpha 50 delta 54 beta 14 gamma 21
alice gamma 15 ivan alpha 9 farah beta 9 farah delta 26 lina alpha 7 gus gamma 3
gamma 18 alpha 16 beta 9 delta 26
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0040431
qwen/qwen3.7-plus
awkweave-0040432
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]]}
beta amber 92 gamma indigo 34 delta indigo 61 delta delta 1 beta ember 70 gamma delta 97 delta cobalt 106
beta 2 gamma 2 delta 3
gamma grove 52 delta amber 18 delta harbor 120 gamma indigo 109 delta birch 65 gamma juniper 61 delta fable 20
gamma 3 delta 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040432-p1
List each duplicate value from column 1 along with its frequency, ordered by 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]]}
beta amber 92 gamma indigo 34 delta indigo 61 delta delta 1 beta ember 70 gamma delta 97 delta cobalt 106
beta 2 gamma 2 delta 3
gamma grove 52 delta amber 18 delta harbor 120 gamma indigo 109 delta birch 65 gamma juniper 61 delta fable 20
gamma 3 delta 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040432
qwen/qwen3.7-plus
awkweave-0040433
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name record_id score note r001 lina 6 active r002 farah 22 pending r003 jules 8 closed r004 farah 6 failed r005 gus 7 paused r006 eli 15 active
lina farah jules farah gus eli
display_name record_id score note r001 chen 5 active r002 chen 5 ready r003 farah 5 closed r004 lina 8 active r005 chen 13 closed r006 ivan 6 active
chen chen farah lina chen ivan
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040433-p1
Treating the first row as a header, output the record_id column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name record_id score note r001 lina 6 active r002 farah 22 pending r003 jules 8 closed r004 farah 6 failed r005 gus 7 paused r006 eli 15 active
lina farah jules farah gus eli
display_name record_id score note r001 chen 5 active r002 chen 5 ready r003 farah 5 closed r004 lina 8 active r005 chen 13 closed r006 ivan 6 active
chen chen farah lina chen ivan
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040433
qwen/qwen3.7-plus
awkweave-0040434
The first row is a header. Print display_name for data rows whose score is greater than 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 hana 13 active r002 dina 17 failed r003 bruno 24 closed r004 chen 13 paused r005 dina 2 pending r006 hana 7 pending r007 eli 8 paused r008 gus 6 ready r009 gus 18 active
hana dina bruno chen gus
record_id display_name score state r001 hana 29 failed r002 kim 21 closed r003 jules 22 failed r004 eli 25 closed r005 jules 19 active r006 chen 21 pending r007 dina 20 failed r008 dina 28 ready
hana kim jules eli jules chen dina dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040434-p1
With the first row as a header, print the display_name for data rows where the score exceeds 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 hana 13 active r002 dina 17 failed r003 bruno 24 closed r004 chen 13 paused r005 dina 2 pending r006 hana 7 pending r007 eli 8 paused r008 gus 6 ready r009 gus 18 active
hana dina bruno chen gus
record_id display_name score state r001 hana 29 failed r002 kim 21 closed r003 jules 22 failed r004 eli 25 closed r005 jules 19 active r006 chen 21 pending r007 dina 20 failed r008 dina 28 ready
hana kim jules eli jules chen dina dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040434
qwen/qwen3.7-plus
awkweave-0040435
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 6 paused bruno 7 closed bruno 4 ready lina 23 pending ivan 19 active bruno 20 closed hana 18 pending hana 30 paused
6 7 4 23 19 20 18 30
gus 24 active alice 30 paused dina 28 failed jules 3 ready farah 21 active alice 24 pending ivan 16 pending
24 30 28 3 21 24 16
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040435-p1
Given tab-separated input, output the second column for every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 6 paused bruno 7 closed bruno 4 ready lina 23 pending ivan 19 active bruno 20 closed hana 18 pending hana 30 paused
6 7 4 23 19 20 18 30
gus 24 active alice 30 paused dina 28 failed jules 3 ready farah 21 active alice 24 pending ivan 16 pending
24 30 28 3 21 24 16
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040435
qwen/qwen3.7-plus
awkweave-0040436
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
kim,9,paused lina,29,ready hana,15,failed dina,11,pending kim,22,active dina,23,ready chen,18,pending
lina kim dina chen
alice,5,ready gus,27,paused kim,1,closed bruno,16,active eli,1,pending eli,11,closed
gus bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040436-p1
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
kim,9,paused lina,29,ready hana,15,failed dina,11,pending kim,22,active dina,23,ready chen,18,pending
lina kim dina chen
alice,5,ready gus,27,paused kim,1,closed bruno,16,active eli,1,pending eli,11,closed
gus bruno
csv_filter
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0040436
qwen/qwen3.7-plus
awkweave-0040437
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice delta 72 kim cobalt 35 hana indigo 56 bruno grove 71 alice amber 25 chen harbor 7 bruno grove 60 eli ember 38 farah birch 3 jules cobalt 1
alice delta 72 kim cobalt 35 hana indigo 56 bruno grove 71 alice amber 25 chen harbor 7 bruno grove 60 eli ember 38 farah birch 3 jules cobalt 1
chen delta 31 hana ember 23 gus birch 30 eli amber 25 farah delta 86 kim birch 60 chen ember 25
chen delta 31 hana ember 23 gus birch 30 eli amber 25 farah delta 86 kim birch 60 chen ember 25
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040437-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
alice delta 72 kim cobalt 35 hana indigo 56 bruno grove 71 alice amber 25 chen harbor 7 bruno grove 60 eli ember 38 farah birch 3 jules cobalt 1
alice delta 72 kim cobalt 35 hana indigo 56 bruno grove 71 alice amber 25 chen harbor 7 bruno grove 60 eli ember 38 farah birch 3 jules cobalt 1
chen delta 31 hana ember 23 gus birch 30 eli amber 25 farah delta 86 kim birch 60 chen ember 25
chen delta 31 hana ember 23 gus birch 30 eli amber 25 farah delta 86 kim birch 60 chen ember 25
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040437
qwen/qwen3.7-plus
awkweave-0040438
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno juniper 47 closed hana grove 86 closed eli amber 65 ready lina indigo 9 active kim fable 13 pending eli fable 7 paused
bruno juniper 47 closed
ivan amber 34 failed kim ember 5 pending kim indigo 52 paused lina fable 5 active eli indigo 43 ready dina cobalt 2 ready hana fable 72 ready alice juniper 70 closed hana harbor 90 failed
alice juniper 70 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040438-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
bruno juniper 47 closed hana grove 86 closed eli amber 65 ready lina indigo 9 active kim fable 13 pending eli fable 7 paused
bruno juniper 47 closed
ivan amber 34 failed kim ember 5 pending kim indigo 52 paused lina fable 5 active eli indigo 43 ready dina cobalt 2 ready hana fable 72 ready alice juniper 70 closed hana harbor 90 failed
alice juniper 70 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040438
qwen/qwen3.7-plus
awkweave-0040439
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
eli 75 gus 55 bruno 19 kim 26 kim 99 farah 86 eli 61 hana 63
bruno 19 eli 61
lina 95 ivan 102 ivan 39 hana 66 dina 53 eli 118 kim 98
ivan 39 kim 98
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040439-p1
Output every fourth line beginning with the third line (i.e., lines 3, 7, 11, etc.).
NR%4==3
eli 75 gus 55 bruno 19 kim 26 kim 99 farah 86 eli 61 hana 63
bruno 19 eli 61
lina 95 ivan 102 ivan 39 hana 66 dina 53 eli 118 kim 98
ivan 39 kim 98
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040439
qwen/qwen3.7-plus
awkweave-0040440
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha amber 115 beta birch 64 delta delta 77 alpha indigo 8 alpha birch 107 beta ember 11 alpha ember 4 beta harbor 58 beta juniper 117
7
beta birch 80 delta harbor 47 delta delta 86 beta amber 76 beta ember 59 beta ember 72 delta ember 96 gamma cobalt 22 alpha indigo 27
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040440-p1
Calculate and print only the number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
alpha amber 115 beta birch 64 delta delta 77 alpha indigo 8 alpha birch 107 beta ember 11 alpha ember 4 beta harbor 58 beta juniper 117
7
beta birch 80 delta harbor 47 delta delta 86 beta amber 76 beta ember 59 beta ember 72 delta ember 96 gamma cobalt 22 alpha indigo 27
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040440
qwen/qwen3.7-plus
awkweave-0040441
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 20 0 chen 2 15 alice 13 7 ivan 13 10 chen 2 5 jules 13 25 gus 5 3 gus 8 6 hana 25 23 hana 23 4
chen 0.13 alice 1.86 ivan 1.30 chen 0.40 jules 0.52 gus 1.67 gus 1.33 hana 1.09 hana 5.75
jules 25 0 kim 14 22 kim 1 11 dina 30 5 hana 26 8 farah 2 21 farah 8 16 eli 22 5 bruno 10 15 chen 17 20
kim 0.64 kim 0.09 dina 6.00 hana 3.25 farah 0.10 farah 0.50 eli 4.40 bruno 0.67 chen 0.85
ratio
2
train
original-grammar
CC-BY-4.0
null
null