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-0043382
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 cobalt alice 17 ember chen 28 fable lina 22 cobalt ivan 13 delta farah 17 indigo gus 16 indigo chen
28
16 harbor kim 6 cobalt farah 15 cobalt kim 13 cobalt gus 15 fable hana 4 fable kim 1 juniper alice 10 amber dina 15 cobalt dina 25 birch dina
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043382-p1
Identify and output the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 cobalt alice 17 ember chen 28 fable lina 22 cobalt ivan 13 delta farah 17 indigo gus 16 indigo chen
28
16 harbor kim 6 cobalt farah 15 cobalt kim 13 cobalt gus 15 fable hana 4 fable kim 1 juniper alice 10 amber dina 15 cobalt dina 25 birch dina
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043382
qwen/qwen3.7-plus
awkweave-0043383
Count all input records and print the total.
END{print NR}
dina 67 ivan 35 dina 44 kim 57 dina 68 dina 119
6
jules 119 ivan 104 kim 28 gus 27 eli 8 farah 74 farah 63 chen 115 dina 25 ivan 55
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043383-p1
Count the total number of input records and print the result.
END{print NR}
dina 67 ivan 35 dina 44 kim 57 dina 68 dina 119
6
jules 119 ivan 104 kim 28 gus 27 eli 8 farah 74 farah 63 chen 115 dina 25 ivan 55
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043383
qwen/qwen3.7-plus
awkweave-0043384
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah delta 15 gus juniper 60 eli juniper 12 hana harbor 58 dina amber 60 hana ember 41 gus fable 20 alice delta 101 eli juniper 12 kim amber 113
farah delta 15 gus juniper 60 eli juniper 12 hana harbor 58 dina amber 60 hana ember 41 gus fable 20 alice delta 101 kim amber 113
kim harbor 46 hana harbor 72 ivan grove 98 eli cobalt 44 hana amber 53 alice juniper 27 farah harbor 60 alice fable 23 alice juniper 27 lina delta 104
kim harbor 46 hana harbor 72 ivan grove 98 eli cobalt 44 hana amber 53 alice juniper 27 farah harbor 60 alice fable 23 lina delta 104
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043384-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
farah delta 15 gus juniper 60 eli juniper 12 hana harbor 58 dina amber 60 hana ember 41 gus fable 20 alice delta 101 eli juniper 12 kim amber 113
farah delta 15 gus juniper 60 eli juniper 12 hana harbor 58 dina amber 60 hana ember 41 gus fable 20 alice delta 101 kim amber 113
kim harbor 46 hana harbor 72 ivan grove 98 eli cobalt 44 hana amber 53 alice juniper 27 farah harbor 60 alice fable 23 alice juniper 27 lina delta 104
kim harbor 46 hana harbor 72 ivan grove 98 eli cobalt 44 hana amber 53 alice juniper 27 farah harbor 60 alice fable 23 lina delta 104
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043384
qwen/qwen3.7-plus
awkweave-0043385
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
hana amber 82 eli birch 16 gus indigo 81 jules birch 14 jules harbor 108 eli fable 75
hana amber 82 eli birch 16 gus indigo 81 jules harbor 108 eli fable 75
kim ember 108 ivan juniper 4 farah indigo 56 bruno harbor 110 dina juniper 70 bruno ember 17
kim ember 108 ivan juniper 4 farah indigo 56 bruno harbor 110
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043385-p1
Retain only the first occurrence for every unique value in column 2, preserving the original sequence.
!seen[$2]++
hana amber 82 eli birch 16 gus indigo 81 jules birch 14 jules harbor 108 eli fable 75
hana amber 82 eli birch 16 gus indigo 81 jules harbor 108 eli fable 75
kim ember 108 ivan juniper 4 farah indigo 56 bruno harbor 110 dina juniper 70 bruno ember 17
kim ember 108 ivan juniper 4 farah indigo 56 bruno harbor 110
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043385
qwen/qwen3.7-plus
awkweave-0043386
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 20 delta eli 16 cobalt lina 14 amber gus 2 harbor jules 19 harbor kim 3 fable eli 28 cobalt alice 11 cobalt bruno 21 delta ivan 16 amber
eli 20 eli 36 lina 50 gus 52 jules 71 kim 74 eli 102 alice 113 bruno 134 ivan 150
farah 1 amber dina 2 harbor alice 4 harbor gus 2 grove kim 9 delta bruno 29 fable
farah 1 dina 3 alice 7 gus 9 kim 18 bruno 47
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043386-p1
For each row, output the value from column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 20 delta eli 16 cobalt lina 14 amber gus 2 harbor jules 19 harbor kim 3 fable eli 28 cobalt alice 11 cobalt bruno 21 delta ivan 16 amber
eli 20 eli 36 lina 50 gus 52 jules 71 kim 74 eli 102 alice 113 bruno 134 ivan 150
farah 1 amber dina 2 harbor alice 4 harbor gus 2 grove kim 9 delta bruno 29 fable
farah 1 dina 3 alice 7 gus 9 kim 18 bruno 47
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043386
qwen/qwen3.7-plus
awkweave-0043387
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 27 21 harbor jules 25 6 harbor dina 8 6 ember kim 9 10 fable chen 21 30 ember alice 20 3 ember
kim 48 jules 31 dina 14 kim 19 chen 51 alice 23
farah 12 9 birch farah 26 27 ember gus 1 9 harbor jules 23 8 harbor chen 14 5 ember ivan 15 26 harbor bruno 20 8 delta bruno 29 12 birch bruno 30 12 fable
farah 21 farah 53 gus 10 jules 31 chen 19 ivan 41 bruno 28 bruno 41 bruno 42
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043387-p1
Print the first field followed by the sum of the second and third fields for every row.
{print $1,$2+$3}
kim 27 21 harbor jules 25 6 harbor dina 8 6 ember kim 9 10 fable chen 21 30 ember alice 20 3 ember
kim 48 jules 31 dina 14 kim 19 chen 51 alice 23
farah 12 9 birch farah 26 27 ember gus 1 9 harbor jules 23 8 harbor chen 14 5 ember ivan 15 26 harbor bruno 20 8 delta bruno 29 12 birch bruno 30 12 fable
farah 21 farah 53 gus 10 jules 31 chen 19 ivan 41 bruno 28 bruno 41 bruno 42
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043387
qwen/qwen3.7-plus
awkweave-0043388
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
lina 15 alice 5 alice 17 ivan 29 chen 19 jules 17 eli 6 alice 19 eli 21 gus 29
lina fail alice fail alice fail ivan pass chen fail jules fail eli fail alice fail eli pass gus pass
chen 18 chen 17 eli 3 hana 25 dina 22 gus 29 ivan 1
chen fail chen fail eli fail hana pass dina pass gus pass ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043388-p1
Output the value from column 1 and print 'pass' if column 2 is 21 or greater; otherwise, print 'fail'.
{print $1,($2>=21?"pass":"fail")}
lina 15 alice 5 alice 17 ivan 29 chen 19 jules 17 eli 6 alice 19 eli 21 gus 29
lina fail alice fail alice fail ivan pass chen fail jules fail eli fail alice fail eli pass gus pass
chen 18 chen 17 eli 3 hana 25 dina 22 gus 29 ivan 1
chen fail chen fail eli fail hana pass dina pass gus pass ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043388
qwen/qwen3.7-plus
awkweave-0043389
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina juniper 40 kim cobalt 106 jules amber 99 farah delta 62 farah harbor 3 alice cobalt 9 hana grove 41 kim fable 13
DINA KIM JULES FARAH FARAH ALICE HANA KIM
farah indigo 79 lina harbor 11 alice amber 8 chen ember 10 gus ember 78 jules fable 66 jules fable 74 lina birch 112 alice indigo 66 hana ember 48
FARAH LINA ALICE CHEN GUS JULES JULES LINA ALICE HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043389-p1
Transform the text in column 1 to uppercase and print only that modified column.
{print toupper($1)}
dina juniper 40 kim cobalt 106 jules amber 99 farah delta 62 farah harbor 3 alice cobalt 9 hana grove 41 kim fable 13
DINA KIM JULES FARAH FARAH ALICE HANA KIM
farah indigo 79 lina harbor 11 alice amber 8 chen ember 10 gus ember 78 jules fable 66 jules fable 74 lina birch 112 alice indigo 66 hana ember 48
FARAH LINA ALICE CHEN GUS JULES JULES LINA ALICE HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043389
qwen/qwen3.7-plus
awkweave-0043400
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10.
BEGIN{FS=OFS=","}$2>10{print $1}
eli,10,pending gus,26,active gus,20,active gus,30,ready dina,29,failed gus,7,ready jules,26,active farah,7,closed chen,20,paused
gus gus gus dina jules chen
jules,14,pending jules,4,failed kim,14,ready ivan,2,paused bruno,8,pending kim,19,closed gus,3,failed jules,1,active hana,7,ready
jules kim kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043400-p1
Given simple comma-separated input without quoted commas, output the first column whenever the second column is greater than 10.
BEGIN{FS=OFS=","}$2>10{print $1}
eli,10,pending gus,26,active gus,20,active gus,30,ready dina,29,failed gus,7,ready jules,26,active farah,7,closed chen,20,paused
gus gus gus dina jules chen
jules,14,pending jules,4,failed kim,14,ready ivan,2,paused bruno,8,pending kim,19,closed gus,3,failed jules,1,active hana,7,ready
jules kim kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043400
qwen/qwen3.7-plus
awkweave-0043401
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus fable 91 hana amber 56 jules ember 37 lina juniper 46 ivan grove 119 bruno cobalt 7 lina harbor 2 kim grove 26 dina amber 74
gus fable 91 hana amber 56 jules ember 37 lina juniper 46 ivan grove 119 bruno cobalt 7 lina harbor 2 kim grove 26 dina amber 74
ivan delta 83 hana fable 42 gus harbor 19 alice delta 20 ivan indigo 105 kim birch 38 eli birch 7 lina juniper 50
ivan delta 83 hana fable 42 gus harbor 19 alice delta 20 ivan indigo 105 kim birch 38 eli birch 7 lina juniper 50
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043401-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus fable 91 hana amber 56 jules ember 37 lina juniper 46 ivan grove 119 bruno cobalt 7 lina harbor 2 kim grove 26 dina amber 74
gus fable 91 hana amber 56 jules ember 37 lina juniper 46 ivan grove 119 bruno cobalt 7 lina harbor 2 kim grove 26 dina amber 74
ivan delta 83 hana fable 42 gus harbor 19 alice delta 20 ivan indigo 105 kim birch 38 eli birch 7 lina juniper 50
ivan delta 83 hana fable 42 gus harbor 19 alice delta 20 ivan indigo 105 kim birch 38 eli birch 7 lina juniper 50
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043401
qwen/qwen3.7-plus
awkweave-0043402
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana birch 36 paused hana ember 50 paused kim ember 50 ready farah ember 41 active farah amber 77 paused alice amber 75 failed bruno cobalt 28 pending bruno grove 90 pending kim cobalt 69 paused ivan cobalt 114 active
bruno cobalt 28 pending
eli fable 82 paused chen ember 48 ready bruno juniper 75 active jules harbor 91 failed kim delta 39 ready farah fable 4 pending
bruno juniper 75 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043402-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
hana birch 36 paused hana ember 50 paused kim ember 50 ready farah ember 41 active farah amber 77 paused alice amber 75 failed bruno cobalt 28 pending bruno grove 90 pending kim cobalt 69 paused ivan cobalt 114 active
bruno cobalt 28 pending
eli fable 82 paused chen ember 48 ready bruno juniper 75 active jules harbor 91 failed kim delta 39 ready farah fable 4 pending
bruno juniper 75 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043402
qwen/qwen3.7-plus
awkweave-0043403
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
alice 12 chen 64 farah 35 chen 21 dina 43 bruno 76
alice 12 chen 21
eli 57 hana 27 bruno 96 gus 18 dina 54 alice 120 eli 66 jules 76 alice 10 kim 2
eli 57 gus 18 eli 66 kim 2
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043403-p1
Output every third line, beginning with line 1 (i.e., lines 1, 4, 7, etc.).
NR%3==1
alice 12 chen 64 farah 35 chen 21 dina 43 bruno 76
alice 12 chen 21
eli 57 hana 27 bruno 96 gus 18 dina 54 alice 120 eli 66 jules 76 alice 10 kim 2
eli 57 gus 18 eli 66 kim 2
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043403
qwen/qwen3.7-plus
awkweave-0043404
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta birch 30 alpha fable 27 delta harbor 75 alpha birch 21 alpha harbor 113 gamma amber 86 delta birch 58 delta amber 108 alpha cobalt 38
5
delta delta 74 gamma fable 1 delta juniper 19 delta harbor 109 alpha grove 81 delta grove 20 alpha harbor 50 alpha ember 101 delta grove 92
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043404-p1
Calculate the number of unique values in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
delta birch 30 alpha fable 27 delta harbor 75 alpha birch 21 alpha harbor 113 gamma amber 86 delta birch 58 delta amber 108 alpha cobalt 38
5
delta delta 74 gamma fable 1 delta juniper 19 delta harbor 109 alpha grove 81 delta grove 20 alpha harbor 50 alpha ember 101 delta grove 92
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043404
qwen/qwen3.7-plus
awkweave-0043405
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 23 0 alice 23 8 hana 2 21 farah 25 6 hana 4 19 dina 27 20 jules 2 3
alice 2.88 hana 0.10 farah 4.17 hana 0.21 dina 1.35 jules 0.67
ivan 10 0 jules 27 29 ivan 28 11 bruno 27 3 dina 7 19 eli 2 8
jules 0.93 ivan 2.55 bruno 9.00 dina 0.37 eli 0.25
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043405-p1
For each row where the third column is not zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 23 0 alice 23 8 hana 2 21 farah 25 6 hana 4 19 dina 27 20 jules 2 3
alice 2.88 hana 0.10 farah 4.17 hana 0.21 dina 1.35 jules 0.67
ivan 10 0 jules 27 29 ivan 28 11 bruno 27 3 dina 7 19 eli 2 8
jules 0.93 ivan 2.55 bruno 9.00 dina 0.37 eli 0.25
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043405
qwen/qwen3.7-plus
awkweave-0043406
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim indigo 6 farah birch 27 eli juniper 2 farah delta 12 kim ember 16 kim juniper 20 hana grove 18 alice ember 11
farah birch 27 kim juniper 20 hana grove 18
bruno indigo 17 ivan fable 20 kim juniper 12 gus delta 21 gus amber 22 eli fable 1
gus amber 22 gus delta 21 ivan fable 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043406-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim indigo 6 farah birch 27 eli juniper 2 farah delta 12 kim ember 16 kim juniper 20 hana grove 18 alice ember 11
farah birch 27 kim juniper 20 hana grove 18
bruno indigo 17 ivan fable 20 kim juniper 12 gus delta 21 gus amber 22 eli fable 1
gus amber 22 gus delta 21 ivan fable 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043406
qwen/qwen3.7-plus
awkweave-0043407
Print column 5 followed by column 1 for every record.
{print $5, $1}
active grove ready ember active ready grove pending cobalt pending active harbor ready delta pending paused fable active harbor pending active indigo failed delta pending ready grove paused fable ready pending ember failed cobalt pending active birch pending ember active active harbor closed harbor paused paused harbor...
active active pending ready pending active pending paused pending active ready ready pending pending active active paused active paused paused
paused fable paused ember paused active grove failed indigo failed closed delta paused delta failed paused ember paused cobalt pending failed indigo paused indigo pending active fable paused harbor active paused delta active juniper ready
paused paused failed active failed closed pending paused pending failed active active ready paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043407-p1
For every record, output the fifth column followed by the first column.
{print $5, $1}
active grove ready ember active ready grove pending cobalt pending active harbor ready delta pending paused fable active harbor pending active indigo failed delta pending ready grove paused fable ready pending ember failed cobalt pending active birch pending ember active active harbor closed harbor paused paused harbor...
active active pending ready pending active pending paused pending active ready ready pending pending active active paused active paused paused
paused fable paused ember paused active grove failed indigo failed closed delta paused delta failed paused ember paused cobalt pending failed indigo paused indigo pending active fable paused harbor active paused delta active juniper ready
paused paused failed active failed closed pending paused pending failed active active ready paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043407
qwen/qwen3.7-plus
awkweave-0043408
Print the last field of every input line.
{print $NF}
failed alice 77 ready kim 111 failed alice 102 pending gus 96 ready jules 16 paused jules 119
77 111 102 96 16 119
closed lina 33 active farah 76 closed eli 63 active lina 54 pending jules 119 pending jules 2 active alice 47
33 76 63 54 119 2 47
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043408-p1
Print the final field of each input line.
{print $NF}
failed alice 77 ready kim 111 failed alice 102 pending gus 96 ready jules 16 paused jules 119
77 111 102 96 16 119
closed lina 33 active farah 76 closed eli 63 active lina 54 pending jules 119 pending jules 2 active alice 47
33 76 63 54 119 2 47
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043408
qwen/qwen3.7-plus
awkweave-0043409
Print the complete records where column 2 is at least 54.
$2 >= 54
active 30 delta pending 15 grove failed 22 juniper active 97 fable pending 72 harbor failed 50 ember pending 99 ember closed 78 ember active 0 indigo pending 13 grove
active 97 fable pending 72 harbor pending 99 ember closed 78 ember
closed 48 harbor ready 80 grove failed 48 indigo pending 47 ember ready 55 cobalt active 64 amber failed 113 ember closed 22 grove paused 30 cobalt closed 61 cobalt
ready 80 grove ready 55 cobalt active 64 amber failed 113 ember closed 61 cobalt
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043409-p1
Output the full records for which the value in column 2 is 54 or higher.
$2 >= 54
active 30 delta pending 15 grove failed 22 juniper active 97 fable pending 72 harbor failed 50 ember pending 99 ember closed 78 ember active 0 indigo pending 13 grove
active 97 fable pending 72 harbor pending 99 ember closed 78 ember
closed 48 harbor ready 80 grove failed 48 indigo pending 47 ember ready 55 cobalt active 64 amber failed 113 ember closed 22 grove paused 30 cobalt closed 61 cobalt
ready 80 grove ready 55 cobalt active 64 amber failed 113 ember closed 61 cobalt
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043409
qwen/qwen3.7-plus
awkweave-0043410
Show whole lines whose 1st field is between 11 and 23, inclusive.
$1 >= 11 && $1 <= 23
21 harbor closed active 2 amber closed closed 13 birch ready pending 9 harbor pending pending 22 cobalt ready active 26 fable paused pending 2 amber ready closed 21 grove active ready
21 harbor closed active 13 birch ready pending 22 cobalt ready active 21 grove active ready
8 cobalt closed failed 17 amber paused active 17 birch active closed 11 indigo pending paused 16 cobalt active paused 14 indigo active failed 2 fable paused ready
17 amber paused active 17 birch active closed 11 indigo pending paused 16 cobalt active paused 14 indigo active failed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043410-p1
Display entire lines where the first field falls within the inclusive range of 11 to 23.
$1 >= 11 && $1 <= 23
21 harbor closed active 2 amber closed closed 13 birch ready pending 9 harbor pending pending 22 cobalt ready active 26 fable paused pending 2 amber ready closed 21 grove active ready
21 harbor closed active 13 birch ready pending 22 cobalt ready active 21 grove active ready
8 cobalt closed failed 17 amber paused active 17 birch active closed 11 indigo pending paused 16 cobalt active paused 14 indigo active failed 2 fable paused ready
17 amber paused active 17 birch active closed 11 indigo pending paused 16 cobalt active paused 14 indigo active failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043410
qwen/qwen3.7-plus
awkweave-0043411
Print column 2 only for rows where column 3 is exactly pending.
$3 == "pending"{print $2}
cobalt alice paused 114 fable bruno active 15 harbor ivan active 62 juniper jules active 117 birch kim pending 34 harbor lina pending 3 delta gus failed 28 birch kim closed 88
kim lina
cobalt farah closed 19 juniper hana ready 113 indigo kim paused 96 ember chen pending 10 juniper farah closed 105 juniper dina pending 22
chen dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043411-p1
Output only the second column for rows where the third column contains exactly the string 'pending'.
$3 == "pending"{print $2}
cobalt alice paused 114 fable bruno active 15 harbor ivan active 62 juniper jules active 117 birch kim pending 34 harbor lina pending 3 delta gus failed 28 birch kim closed 88
kim lina
cobalt farah closed 19 juniper hana ready 113 indigo kim paused 96 ember chen pending 10 juniper farah closed 105 juniper dina pending 22
chen dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043411
qwen/qwen3.7-plus
awkweave-0043412
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
DEBUG harbor 10 DEBUG cobalt 84 DEBUG amber 105 DEBUG indigo 16 ERROR harbor 62 INFO juniper 60 WARN delta 84 DEBUG cobalt 43 ERROR ember 80 DEBUG harbor 88
INFO juniper 60
ERROR ember 17 DEBUG harbor 79 ERROR delta 77 DEBUG indigo 93 DEBUG cobalt 100 DEBUG amber 71 DEBUG juniper 39 DEBUG birch 22 WARN indigo 51
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043412-p1
Display all fields for lines where the first field starts with INFO.
$1 ~ /^INFO/
DEBUG harbor 10 DEBUG cobalt 84 DEBUG amber 105 DEBUG indigo 16 ERROR harbor 62 INFO juniper 60 WARN delta 84 DEBUG cobalt 43 ERROR ember 80 DEBUG harbor 88
INFO juniper 60
ERROR ember 17 DEBUG harbor 79 ERROR delta 77 DEBUG indigo 93 DEBUG cobalt 100 DEBUG amber 71 DEBUG juniper 39 DEBUG birch 22 WARN indigo 51
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043412
qwen/qwen3.7-plus
awkweave-0043413
Print every line except those containing the exact text amber.
$0 !~ /amber/
ember 90 failed amber 115 paused harbor 40 active ember 64 active amber 103 active indigo 47 pending juniper 69 active amber 999 active
ember 90 failed harbor 40 active ember 64 active indigo 47 pending juniper 69 active
birch 59 ready cobalt 28 failed grove 36 ready delta 37 failed fable 46 ready harbor 24 active harbor 26 failed amber 999 active
birch 59 ready cobalt 28 failed grove 36 ready delta 37 failed fable 46 ready harbor 24 active harbor 26 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043413-p1
Output every line that does not contain the exact string amber.
$0 !~ /amber/
ember 90 failed amber 115 paused harbor 40 active ember 64 active amber 103 active indigo 47 pending juniper 69 active amber 999 active
ember 90 failed harbor 40 active ember 64 active indigo 47 pending juniper 69 active
birch 59 ready cobalt 28 failed grove 36 ready delta 37 failed fable 46 ready harbor 24 active harbor 26 failed amber 999 active
birch 59 ready cobalt 28 failed grove 36 ready delta 37 failed fable 46 ready harbor 24 active harbor 26 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043413
qwen/qwen3.7-plus
awkweave-0043414
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
gus fable 112 alice harbor 28 ivan amber 76 ivan grove 58 alice fable 75 farah fable 30 lina ember 85 bruno fable 46
ivan amber 76 ivan grove 58 alice fable 75 farah fable 30
jules harbor 49 ivan fable 8 lina birch 31 alice grove 69 eli amber 3 gus fable 24 ivan harbor 74 dina amber 1 hana cobalt 88
lina birch 31 alice grove 69 eli amber 3 gus fable 24
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043414-p1
Print lines 3 to 6, inclusive.
NR >= 3 && NR <= 6
gus fable 112 alice harbor 28 ivan amber 76 ivan grove 58 alice fable 75 farah fable 30 lina ember 85 bruno fable 46
ivan amber 76 ivan grove 58 alice fable 75 farah fable 30
jules harbor 49 ivan fable 8 lina birch 31 alice grove 69 eli amber 3 gus fable 24 ivan harbor 74 dina amber 1 hana cobalt 88
lina birch 31 alice grove 69 eli amber 3 gus fable 24
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043414
qwen/qwen3.7-plus
awkweave-0043415
Output only the first 3 records.
NR <= 3
eli 112 fable bruno 81 grove gus 33 cobalt bruno 42 ember farah 22 birch bruno 105 grove gus 93 cobalt kim 73 harbor ivan 1 grove eli 27 birch
eli 112 fable bruno 81 grove gus 33 cobalt
farah 26 harbor farah 3 birch bruno 55 fable gus 102 indigo hana 29 birch kim 76 cobalt dina 80 amber alice 4 harbor alice 56 juniper
farah 26 harbor farah 3 birch bruno 55 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043415-p1
Show only the first 3 records.
NR <= 3
eli 112 fable bruno 81 grove gus 33 cobalt bruno 42 ember farah 22 birch bruno 105 grove gus 93 cobalt kim 73 harbor ivan 1 grove eli 27 birch
eli 112 fable bruno 81 grove gus 33 cobalt
farah 26 harbor farah 3 birch bruno 55 fable gus 102 indigo hana 29 birch kim 76 cobalt dina 80 amber alice 4 harbor alice 56 juniper
farah 26 harbor farah 3 birch bruno 55 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043415
qwen/qwen3.7-plus
awkweave-0043416
Skip the first line and print every remaining line unchanged.
NR > 1
dina 25 harbor ivan 51 cobalt eli 49 harbor kim 63 birch farah 29 grove chen 5 harbor
ivan 51 cobalt eli 49 harbor kim 63 birch farah 29 grove chen 5 harbor
hana 37 grove kim 113 cobalt dina 73 ember chen 64 delta eli 18 fable bruno 69 grove lina 10 birch jules 39 ember bruno 87 harbor chen 86 harbor
kim 113 cobalt dina 73 ember chen 64 delta eli 18 fable bruno 69 grove lina 10 birch jules 39 ember bruno 87 harbor chen 86 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043416-p1
Omit the first line and print the rest as-is.
NR > 1
dina 25 harbor ivan 51 cobalt eli 49 harbor kim 63 birch farah 29 grove chen 5 harbor
ivan 51 cobalt eli 49 harbor kim 63 birch farah 29 grove chen 5 harbor
hana 37 grove kim 113 cobalt dina 73 ember chen 64 delta eli 18 fable bruno 69 grove lina 10 birch jules 39 ember bruno 87 harbor chen 86 harbor
kim 113 cobalt dina 73 ember chen 64 delta eli 18 fable bruno 69 grove lina 10 birch jules 39 ember bruno 87 harbor chen 86 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043416
qwen/qwen3.7-plus
awkweave-0043417
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
farah ready 55 eli paused 80 hana failed 46 alice ready 54 jules ready 97 jules active 84 dina failed 108 chen failed 52
3
alice ready 54 farah ready 38 dina active 65 farah paused 93 gus pending 24 hana pending 25 alice ready 37 alice paused 58
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043417-p1
Count records with 'failed' in column 2; output 0 if none exist.
$2 == "failed"{n++}END{print n+0}
farah ready 55 eli paused 80 hana failed 46 alice ready 54 jules ready 97 jules active 84 dina failed 108 chen failed 52
3
alice ready 54 farah ready 38 dina active 65 farah paused 93 gus pending 24 hana pending 25 alice ready 37 alice paused 58
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043417
qwen/qwen3.7-plus
awkweave-0043418
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
27 harbor chen 1 grove lina 21 indigo farah 28 ember jules 16 delta lina 26 grove ivan
119
1 fable bruno 23 fable farah 9 ember hana 1 amber alice 14 ember jules 24 juniper kim 15 cobalt dina 16 ember ivan 24 amber dina
127
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043418-p1
Compute and display the sum of integers in column 1.
{s+=$1}END{print s+0}
27 harbor chen 1 grove lina 21 indigo farah 28 ember jules 16 delta lina 26 grove ivan
119
1 fable bruno 23 fable farah 9 ember hana 1 amber alice 14 ember jules 24 juniper kim 15 cobalt dina 16 ember ivan 24 amber dina
127
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043418
qwen/qwen3.7-plus
awkweave-0043419
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 fable alice 29 indigo alice 7 grove bruno 2 harbor farah 22 birch farah 22 fable jules 28 ember chen
19.43
17 amber jules 2 juniper hana 4 ember dina 17 amber eli 7 amber alice 5 birch gus 19 ember kim
10.14
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043419-p1
Print the average of column 1, rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 fable alice 29 indigo alice 7 grove bruno 2 harbor farah 22 birch farah 22 fable jules 28 ember chen
19.43
17 amber jules 2 juniper hana 4 ember dina 17 amber eli 7 amber alice 5 birch gus 19 ember kim
10.14
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043419
qwen/qwen3.7-plus
awkweave-0043420
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
indigo 11 bruno harbor 4 chen ember 29 gus cobalt 30 dina harbor 22 eli indigo 23 eli fable 20 ivan birch 15 jules amber 27 bruno fable 24 lina
4
harbor 9 eli indigo 5 ivan fable 22 ivan ember 4 eli harbor 15 jules cobalt 6 bruno birch 14 jules fable 19 farah
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043420-p1
Identify and print the minimum numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
indigo 11 bruno harbor 4 chen ember 29 gus cobalt 30 dina harbor 22 eli indigo 23 eli fable 20 ivan birch 15 jules amber 27 bruno fable 24 lina
4
harbor 9 eli indigo 5 ivan fable 22 ivan ember 4 eli harbor 15 jules cobalt 6 bruno birch 14 jules fable 19 farah
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043420
qwen/qwen3.7-plus
awkweave-0043421
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 3 alice amber 25 eli harbor 7 hana cobalt 17 hana cobalt 19 chen cobalt 28 eli
28
cobalt 18 ivan juniper 8 ivan amber 23 gus juniper 16 ivan delta 5 alice grove 21 jules juniper 10 gus indigo 15 farah delta 24 eli cobalt 11 dina
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043421-p1
Identify and print the maximum numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 3 alice amber 25 eli harbor 7 hana cobalt 17 hana cobalt 19 chen cobalt 28 eli
28
cobalt 18 ivan juniper 8 ivan amber 23 gus juniper 16 ivan delta 5 alice grove 21 jules juniper 10 gus indigo 15 farah delta 24 eli cobalt 11 dina
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043421
qwen/qwen3.7-plus
awkweave-0043422
Count all input records and print the total.
END{print NR}
jules 19 jules 52 lina 105 bruno 42 hana 72 lina 110 ivan 84 bruno 0 gus 81
9
lina 2 jules 44 eli 98 eli 99 hana 74 ivan 24 kim 28 chen 66 gus 39 eli 79
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043422-p1
Count and print the total number of input records.
END{print NR}
jules 19 jules 52 lina 105 bruno 42 hana 72 lina 110 ivan 84 bruno 0 gus 81
9
lina 2 jules 44 eli 98 eli 99 hana 74 ivan 24 kim 28 chen 66 gus 39 eli 79
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043422
qwen/qwen3.7-plus
awkweave-0043423
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen birch 56 jules harbor 17 chen birch 56 chen grove 29 alice juniper 108 gus cobalt 26 jules grove 118 gus juniper 50
chen birch 56 jules harbor 17 chen grove 29 alice juniper 108 gus cobalt 26 jules grove 118 gus juniper 50
gus harbor 66 jules birch 82 chen harbor 97 farah amber 93 jules harbor 19 gus harbor 66 dina amber 120 gus fable 109
gus harbor 66 jules birch 82 chen harbor 97 farah amber 93 jules harbor 19 dina amber 120 gus fable 109
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043423-p1
Eliminate exact duplicate lines while keeping the first occurrence and original order.
!seen[$0]++
chen birch 56 jules harbor 17 chen birch 56 chen grove 29 alice juniper 108 gus cobalt 26 jules grove 118 gus juniper 50
chen birch 56 jules harbor 17 chen grove 29 alice juniper 108 gus cobalt 26 jules grove 118 gus juniper 50
gus harbor 66 jules birch 82 chen harbor 97 farah amber 93 jules harbor 19 gus harbor 66 dina amber 120 gus fable 109
gus harbor 66 jules birch 82 chen harbor 97 farah amber 93 jules harbor 19 dina amber 120 gus fable 109
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043423
qwen/qwen3.7-plus
awkweave-0043424
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
hana birch 63 dina delta 93 kim ember 75 kim cobalt 84 alice juniper 84 eli indigo 58
hana birch 63 dina delta 93 kim ember 75 kim cobalt 84 eli indigo 58
eli indigo 77 gus birch 100 bruno fable 32 dina birch 99 ivan indigo 10 jules cobalt 54
eli indigo 77 gus birch 100 bruno fable 32 dina birch 99 ivan indigo 10 jules cobalt 54
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043424-p1
Retain only the first occurrence of each unique value in column 3, maintaining the original input order.
!seen[$3]++
hana birch 63 dina delta 93 kim ember 75 kim cobalt 84 alice juniper 84 eli indigo 58
hana birch 63 dina delta 93 kim ember 75 kim cobalt 84 eli indigo 58
eli indigo 77 gus birch 100 bruno fable 32 dina birch 99 ivan indigo 10 jules cobalt 54
eli indigo 77 gus birch 100 bruno fable 32 dina birch 99 ivan indigo 10 jules cobalt 54
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043424
qwen/qwen3.7-plus
awkweave-0043425
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 28 indigo gus 5 amber jules 21 ember jules 4 juniper bruno 21 amber alice 29 grove eli 23 grove gus 24 delta kim 29 birch
gus 28 gus 33 jules 54 jules 58 bruno 79 alice 108 eli 131 gus 155 kim 184
farah 13 cobalt ivan 23 birch kim 3 ember gus 8 harbor farah 2 birch ivan 3 ember
farah 13 ivan 36 kim 39 gus 47 farah 49 ivan 52
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043425-p1
Output column 1 and the cumulative sum of column 2 for each record, separated by a space.
{s+=$2;print $1,s}
gus 28 indigo gus 5 amber jules 21 ember jules 4 juniper bruno 21 amber alice 29 grove eli 23 grove gus 24 delta kim 29 birch
gus 28 gus 33 jules 54 jules 58 bruno 79 alice 108 eli 131 gus 155 kim 184
farah 13 cobalt ivan 23 birch kim 3 ember gus 8 harbor farah 2 birch ivan 3 ember
farah 13 ivan 36 kim 39 gus 47 farah 49 ivan 52
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043425
qwen/qwen3.7-plus
awkweave-0043426
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 4 7 cobalt ivan 12 10 juniper ivan 26 13 harbor gus 24 19 grove kim 14 23 indigo eli 13 24 amber dina 9 16 fable lina 19 2 grove eli 28 23 indigo chen 21 28 cobalt
jules 11 ivan 22 ivan 39 gus 43 kim 37 eli 37 dina 25 lina 21 eli 51 chen 49
jules 14 11 ember ivan 20 29 indigo bruno 14 8 juniper farah 16 27 grove bruno 20 15 juniper dina 13 15 ember lina 3 8 birch alice 28 24 birch kim 13 20 juniper chen 15 4 juniper
jules 25 ivan 49 bruno 22 farah 43 bruno 35 dina 28 lina 11 alice 52 kim 33 chen 19
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043426-p1
For every row, display field 1 followed by the total of fields 2 and 3.
{print $1,$2+$3}
jules 4 7 cobalt ivan 12 10 juniper ivan 26 13 harbor gus 24 19 grove kim 14 23 indigo eli 13 24 amber dina 9 16 fable lina 19 2 grove eli 28 23 indigo chen 21 28 cobalt
jules 11 ivan 22 ivan 39 gus 43 kim 37 eli 37 dina 25 lina 21 eli 51 chen 49
jules 14 11 ember ivan 20 29 indigo bruno 14 8 juniper farah 16 27 grove bruno 20 15 juniper dina 13 15 ember lina 3 8 birch alice 28 24 birch kim 13 20 juniper chen 15 4 juniper
jules 25 ivan 49 bruno 22 farah 43 bruno 35 dina 28 lina 11 alice 52 kim 33 chen 19
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043426
qwen/qwen3.7-plus
awkweave-0043427
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
dina 8 eli 30 eli 28 chen 1 kim 30 chen 25 kim 26 dina 3 ivan 12
dina fail eli pass eli pass chen fail kim pass chen pass kim pass dina fail ivan fail
gus 8 chen 11 gus 3 chen 15 chen 28 chen 22 bruno 17 ivan 8 ivan 7
gus fail chen fail gus fail chen fail chen pass chen pass bruno fail ivan fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043427-p1
Output column 1 along with 'pass' if column 2 is 20 or greater, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
dina 8 eli 30 eli 28 chen 1 kim 30 chen 25 kim 26 dina 3 ivan 12
dina fail eli pass eli pass chen fail kim pass chen pass kim pass dina fail ivan fail
gus 8 chen 11 gus 3 chen 15 chen 28 chen 22 bruno 17 ivan 8 ivan 7
gus fail chen fail gus fail chen fail chen pass chen pass bruno fail ivan fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043427
qwen/qwen3.7-plus
awkweave-0043428
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
kim ember 8 eli indigo 54 chen grove 57 gus juniper 113 ivan cobalt 50 ivan juniper 42 eli indigo 50 gus fable 31 gus juniper 67
KIM ELI CHEN GUS IVAN IVAN ELI GUS GUS
jules indigo 23 alice juniper 50 bruno indigo 21 dina amber 32 hana harbor 80 lina ember 72 kim indigo 44 farah fable 76 eli juniper 72
JULES ALICE BRUNO DINA HANA LINA KIM FARAH ELI
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043428-p1
Transform column 1 to uppercase and output only that column.
{print toupper($1)}
kim ember 8 eli indigo 54 chen grove 57 gus juniper 113 ivan cobalt 50 ivan juniper 42 eli indigo 50 gus fable 31 gus juniper 67
KIM ELI CHEN GUS IVAN IVAN ELI GUS GUS
jules indigo 23 alice juniper 50 bruno indigo 21 dina amber 32 hana harbor 80 lina ember 72 kim indigo 44 farah fable 76 eli juniper 72
JULES ALICE BRUNO DINA HANA LINA KIM FARAH ELI
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043428
qwen/qwen3.7-plus
awkweave-0043429
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
cobalt 94 harbor 103 harbor 79 juniper 17 ember 10 ember 102 ember 62
ba rb rb ni be be be
amber 15 fable 97 ember 107 juniper 101 juniper 29 indigo 57 harbor 76 delta 29 ember 18
be bl be ni ni di rb lt be
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043429-p1
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
cobalt 94 harbor 103 harbor 79 juniper 17 ember 10 ember 102 ember 62
ba rb rb ni be be be
amber 15 fable 97 ember 107 juniper 101 juniper 29 indigo 57 harbor 76 delta 29 ember 18
be bl be ni ni di rb lt be
substring
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0043429
qwen/qwen3.7-plus
awkweave-0043430
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_ember 43 amber_fable 4 harbor_indigo 21 indigo_fable 91 grove_birch 46 harbor_harbor 113 cobalt_birch 103 delta_juniper 62
cobalt ember amber fable harbor indigo indigo fable grove birch harbor harbor cobalt birch delta juniper
harbor_birch 55 ember_indigo 109 grove_cobalt 116 delta_amber 60 grove_amber 87 juniper_indigo 20
harbor birch ember indigo grove cobalt delta amber grove amber juniper indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043430-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_ember 43 amber_fable 4 harbor_indigo 21 indigo_fable 91 grove_birch 46 harbor_harbor 113 cobalt_birch 103 delta_juniper 62
cobalt ember amber fable harbor indigo indigo fable grove birch harbor harbor cobalt birch delta juniper
harbor_birch 55 ember_indigo 109 grove_cobalt 116 delta_amber 60 grove_amber 87 juniper_indigo 20
harbor birch ember indigo grove cobalt delta amber grove amber juniper indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043430
qwen/qwen3.7-plus
awkweave-0043431
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)}
alice juniper 49 failed hana amber 38 active hana grove 11 pending lina birch 65 active lina delta 38 active ivan harbor 71 active chen harbor 24 closed
failed 49 juniper alice active 38 amber hana pending 11 grove hana active 65 birch lina active 38 delta lina active 71 harbor ivan closed 24 harbor chen
kim fable 104 active eli birch 96 paused jules birch 86 ready kim harbor 103 failed kim juniper 117 pending kim fable 91 ready gus juniper 38 ready
active 104 fable kim paused 96 birch eli ready 86 birch jules failed 103 harbor kim pending 117 juniper kim ready 91 fable kim ready 38 juniper gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043431-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice juniper 49 failed hana amber 38 active hana grove 11 pending lina birch 65 active lina delta 38 active ivan harbor 71 active chen harbor 24 closed
failed 49 juniper alice active 38 amber hana pending 11 grove hana active 65 birch lina active 38 delta lina active 71 harbor ivan closed 24 harbor chen
kim fable 104 active eli birch 96 paused jules birch 86 ready kim harbor 103 failed kim juniper 117 pending kim fable 91 ready gus juniper 38 ready
active 104 fable kim paused 96 birch eli ready 86 birch jules failed 103 harbor kim pending 117 juniper kim ready 91 fable kim ready 38 juniper gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043431
qwen/qwen3.7-plus
awkweave-0043432
Print the number of whitespace-separated fields on each line.
{print NF}
bruno fable 67 ready lina indigo 18 paused kim birch 109 closed jules delta 8 ready farah delta 64 active jules cobalt 89 failed hana indigo 34 paused gus indigo 34 ready lina juniper 33 paused jules fable 28 failed
4 4 4 4 4 4 4 4 4 4
ivan harbor 67 pending chen indigo 11 active ivan amber 96 paused ivan cobalt 51 paused alice delta 76 ready bruno amber 75 failed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043432-p1
Print the count of whitespace-delimited fields for each line.
{print NF}
bruno fable 67 ready lina indigo 18 paused kim birch 109 closed jules delta 8 ready farah delta 64 active jules cobalt 89 failed hana indigo 34 paused gus indigo 34 ready lina juniper 33 paused jules fable 28 failed
4 4 4 4 4 4 4 4 4 4
ivan harbor 67 pending chen indigo 11 active ivan amber 96 paused ivan cobalt 51 paused alice delta 76 ready bruno amber 75 failed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043432
qwen/qwen3.7-plus
awkweave-0043433
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]]}
dina delta 95 chen delta 14 kim alpha 103 chen delta 114 ivan beta 66 hana beta 65 jules beta 10 farah alpha 99 eli alpha 85
delta 3 alpha 3 beta 3
alice beta 94 ivan alpha 17 alice gamma 47 ivan alpha 4 gus alpha 105 kim gamma 112 hana beta 48 jules delta 101 farah delta 68 jules beta 6
beta 3 alpha 3 gamma 2 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043433-p1
Tally the number of records for each distinct value in column 2, printing the value and its count 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]]}
dina delta 95 chen delta 14 kim alpha 103 chen delta 114 ivan beta 66 hana beta 65 jules beta 10 farah alpha 99 eli alpha 85
delta 3 alpha 3 beta 3
alice beta 94 ivan alpha 17 alice gamma 47 ivan alpha 4 gus alpha 105 kim gamma 112 hana beta 48 jules delta 101 farah delta 68 jules beta 6
beta 3 alpha 3 gamma 2 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043433
qwen/qwen3.7-plus
awkweave-0043434
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]]}
chen delta 15 jules alpha 6 chen beta 10 jules alpha 19 kim alpha 27 hana alpha 6 ivan delta 10 dina delta 2 dina delta 5
delta 32 alpha 58 beta 10
eli beta 19 eli delta 16 ivan alpha 23 gus alpha 20 alice alpha 27 alice alpha 17
beta 19 delta 16 alpha 87
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043434-p1
Calculate the sum of column 3 for each group defined by column 2, displaying the results in the 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]]}
chen delta 15 jules alpha 6 chen beta 10 jules alpha 19 kim alpha 27 hana alpha 6 ivan delta 10 dina delta 2 dina delta 5
delta 32 alpha 58 beta 10
eli beta 19 eli delta 16 ivan alpha 23 gus alpha 20 alice alpha 27 alice alpha 17
beta 19 delta 16 alpha 87
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043434
qwen/qwen3.7-plus
awkweave-0043435
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]]}
delta birch 46 alpha cobalt 59 gamma delta 26 delta fable 95 beta juniper 29 beta grove 95
delta 2 beta 2
alpha delta 104 beta delta 44 gamma fable 70 alpha indigo 36 gamma birch 40 alpha ember 17 alpha grove 91 beta harbor 101 delta cobalt 102 alpha indigo 22
alpha 5 beta 2 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043435-p1
List each duplicate value from column 1 alongside 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]]}
delta birch 46 alpha cobalt 59 gamma delta 26 delta fable 95 beta juniper 29 beta grove 95
delta 2 beta 2
alpha delta 104 beta delta 44 gamma fable 70 alpha indigo 36 gamma birch 40 alpha ember 17 alpha grove 91 beta harbor 101 delta cobalt 102 alpha indigo 22
alpha 5 beta 2 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043435
qwen/qwen3.7-plus
awkweave-0043436
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id score note display_name r001 chen 14 active r002 ivan 21 ready r003 alice 28 active r004 bruno 6 paused r005 farah 12 closed r006 ivan 28 active r007 jules 29 pending r008 ivan 27 pending r009 chen 10 failed
14 21 28 6 12 28 29 27 10
record_id score note display_name r001 lina 6 paused r002 hana 15 failed r003 eli 7 closed r004 bruno 19 pending r005 lina 5 failed r006 gus 16 closed
6 15 7 19 5 16
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043436-p1
Skip the header row and output the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id score note display_name r001 chen 14 active r002 ivan 21 ready r003 alice 28 active r004 bruno 6 paused r005 farah 12 closed r006 ivan 28 active r007 jules 29 pending r008 ivan 27 pending r009 chen 10 failed
14 21 28 6 12 28 29 27 10
record_id score note display_name r001 lina 6 paused r002 hana 15 failed r003 eli 7 closed r004 bruno 19 pending r005 lina 5 failed r006 gus 16 closed
6 15 7 19 5 16
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043436
qwen/qwen3.7-plus
awkweave-0043437
The first row is a header. Print display_name for data rows whose score is greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 dina 6 pending r002 lina 2 paused r003 bruno 9 closed r004 hana 28 active r005 gus 28 failed r006 alice 3 closed r007 eli 1 failed r008 hana 30 ready r009 dina 28 active r010 bruno 6 active
hana gus hana dina
record_id display_name score state r001 dina 13 pending r002 gus 17 closed r003 jules 19 paused r004 jules 17 active r005 gus 16 closed r006 lina 5 failed r007 farah 24 active r008 chen 16 failed
dina gus jules jules gus farah chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043437-p1
Ignore the header row and print the display_name field for records where the score is strictly greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 dina 6 pending r002 lina 2 paused r003 bruno 9 closed r004 hana 28 active r005 gus 28 failed r006 alice 3 closed r007 eli 1 failed r008 hana 30 ready r009 dina 28 active r010 bruno 6 active
hana gus hana dina
record_id display_name score state r001 dina 13 pending r002 gus 17 closed r003 jules 19 paused r004 jules 17 active r005 gus 16 closed r006 lina 5 failed r007 farah 24 active r008 chen 16 failed
dina gus jules jules gus farah chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043437
qwen/qwen3.7-plus
awkweave-0043438
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
gus 8 closed bruno 29 active gus 13 ready dina 20 paused lina 26 ready eli 12 failed
closed active ready paused ready failed
jules 1 paused lina 25 closed alice 6 failed eli 20 active dina 27 active eli 24 active
paused closed failed active active active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043438-p1
Parse the tab-separated input and output the third column from each record.
BEGIN{FS=OFS="\t"}{print $3}
gus 8 closed bruno 29 active gus 13 ready dina 20 paused lina 26 ready eli 12 failed
closed active ready paused ready failed
jules 1 paused lina 25 closed alice 6 failed eli 20 active dina 27 active eli 24 active
paused closed failed active active active
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043438
qwen/qwen3.7-plus
awkweave-0043439
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14.
BEGIN{FS=OFS=","}$2>14{print $1}
lina,7,active bruno,23,ready farah,29,paused eli,15,failed eli,15,failed farah,22,ready ivan,17,paused
bruno farah eli eli farah ivan
eli,27,pending eli,15,paused jules,21,failed lina,9,ready hana,6,closed lina,9,active
eli eli jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043439-p1
For simple comma-separated input without quoted commas, print the first column only if the second column value is greater than 14.
BEGIN{FS=OFS=","}$2>14{print $1}
lina,7,active bruno,23,ready farah,29,paused eli,15,failed eli,15,failed farah,22,ready ivan,17,paused
bruno farah eli eli farah ivan
eli,27,pending eli,15,paused jules,21,failed lina,9,ready hana,6,closed lina,9,active
eli eli jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043439
qwen/qwen3.7-plus
awkweave-0043440
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen grove 91 dina amber 1 jules harbor 73 alice fable 76 bruno amber 53 chen harbor 113
chen grove 91 dina amber 1 jules harbor 73 alice fable 76 bruno amber 53 chen harbor 113
jules cobalt 99 chen cobalt 2 jules indigo 51 alice indigo 65 kim grove 20 gus harbor 94 lina harbor 29 chen fable 3 lina indigo 17 eli birch 99
jules cobalt 99 chen cobalt 2 jules indigo 51 alice indigo 65 kim grove 20 gus harbor 94 lina harbor 29 chen fable 3 lina indigo 17 eli birch 99
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043440-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen grove 91 dina amber 1 jules harbor 73 alice fable 76 bruno amber 53 chen harbor 113
chen grove 91 dina amber 1 jules harbor 73 alice fable 76 bruno amber 53 chen harbor 113
jules cobalt 99 chen cobalt 2 jules indigo 51 alice indigo 65 kim grove 20 gus harbor 94 lina harbor 29 chen fable 3 lina indigo 17 eli birch 99
jules cobalt 99 chen cobalt 2 jules indigo 51 alice indigo 65 kim grove 20 gus harbor 94 lina harbor 29 chen fable 3 lina indigo 17 eli birch 99
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043440
qwen/qwen3.7-plus
awkweave-0043441
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen harbor 113 paused dina amber 37 closed kim delta 5 pending eli cobalt 68 active eli amber 56 ready farah fable 22 failed chen fable 73 pending chen delta 94 paused
chen harbor 113 paused
lina ember 68 closed ivan cobalt 43 paused chen ember 107 closed eli indigo 58 paused eli fable 3 pending kim delta 49 ready kim harbor 20 closed kim cobalt 29 closed kim indigo 41 pending
ivan cobalt 43 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0043441-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
chen harbor 113 paused dina amber 37 closed kim delta 5 pending eli cobalt 68 active eli amber 56 ready farah fable 22 failed chen fable 73 pending chen delta 94 paused
chen harbor 113 paused
lina ember 68 closed ivan cobalt 43 paused chen ember 107 closed eli indigo 58 paused eli fable 3 pending kim delta 49 ready kim harbor 20 closed kim cobalt 29 closed kim indigo 41 pending
ivan cobalt 43 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0043441
qwen/qwen3.7-plus