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-0052052-p1
Tally the occurrences of each unique value in column 2, then list each value alongside 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 gamma 2 chen delta 99 alice gamma 58 bruno gamma 94 chen alpha 8 lina alpha 56 ivan gamma 120 hana gamma 49 dina gamma 73 alice delta 66
gamma 6 delta 2 alpha 2
kim gamma 112 kim gamma 51 alice beta 75 kim gamma 41 ivan beta 58 dina gamma 113 lina beta 98
gamma 4 beta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052052
qwen/qwen3.7-plus
awkweave-0052053
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]]}
hana beta 27 eli gamma 23 eli delta 5 ivan beta 12 alice delta 10 alice beta 4 lina beta 10 alice alpha 27
beta 53 gamma 23 delta 15 alpha 27
eli alpha 16 chen delta 19 gus gamma 10 alice beta 15 gus delta 13 chen gamma 13 jules gamma 12 lina beta 20 alice gamma 7
alpha 16 delta 32 gamma 42 beta 35
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052053-p1
Calculate the sum of column 3 grouped by the categories in column 2, displaying the results in the order of the category's first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
hana beta 27 eli gamma 23 eli delta 5 ivan beta 12 alice delta 10 alice beta 4 lina beta 10 alice alpha 27
beta 53 gamma 23 delta 15 alpha 27
eli alpha 16 chen delta 19 gus gamma 10 alice beta 15 gus delta 13 chen gamma 13 jules gamma 12 lina beta 20 alice gamma 7
alpha 16 delta 32 gamma 42 beta 35
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052053
qwen/qwen3.7-plus
awkweave-0052054
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma ember 70 gamma birch 80 gamma harbor 98 beta grove 41 alpha birch 22 delta harbor 93 beta birch 68 alpha cobalt 112 delta fable 110 beta harbor 24
gamma 3 beta 3 alpha 2 delta 2
alpha birch 105 alpha birch 1 delta amber 66 beta cobalt 61 beta grove 64 alpha birch 61 delta birch 119 gamma fable 14 gamma harbor 79 beta amber 87
alpha 3 delta 2 beta 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052054-p1
Identify duplicate values in column 1 and print each repeated value with its total occurrence count, 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]]}
gamma ember 70 gamma birch 80 gamma harbor 98 beta grove 41 alpha birch 22 delta harbor 93 beta birch 68 alpha cobalt 112 delta fable 110 beta harbor 24
gamma 3 beta 3 alpha 2 delta 2
alpha birch 105 alpha birch 1 delta amber 66 beta cobalt 61 beta grove 64 alpha birch 61 delta birch 119 gamma fable 14 gamma harbor 79 beta amber 87
alpha 3 delta 2 beta 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052054
qwen/qwen3.7-plus
awkweave-0052055
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 state note r001 ivan 10 pending r002 farah 2 pending r003 alice 17 active r004 farah 26 paused r005 hana 11 closed r006 jules 2 active r007 dina 7 paused
ivan farah alice farah hana jules dina
display_name record_id state note r001 kim 27 closed r002 alice 2 active r003 alice 1 paused r004 kim 11 ready r005 gus 26 pending r006 lina 2 failed r007 hana 10 paused r008 gus 13 ready
kim alice alice kim gus lina hana gus
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052055-p1
Treating the first row as a header, output the values from the record_id column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name record_id state note r001 ivan 10 pending r002 farah 2 pending r003 alice 17 active r004 farah 26 paused r005 hana 11 closed r006 jules 2 active r007 dina 7 paused
ivan farah alice farah hana jules dina
display_name record_id state note r001 kim 27 closed r002 alice 2 active r003 alice 1 paused r004 kim 11 ready r005 gus 26 pending r006 lina 2 failed r007 hana 10 paused r008 gus 13 ready
kim alice alice kim gus lina hana gus
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052055
qwen/qwen3.7-plus
awkweave-0052056
The first row is a header. Print display_name for data rows whose score is greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 ivan 11 paused r002 bruno 30 pending r003 lina 24 closed r004 kim 1 paused r005 alice 25 failed r006 gus 3 pending r007 lina 29 paused r008 alice 11 pending
bruno lina alice lina
record_id display_name score state r001 jules 12 failed r002 ivan 28 pending r003 chen 21 ready r004 kim 23 pending r005 ivan 25 closed r006 ivan 8 closed r007 lina 4 active r008 ivan 5 pending r009 eli 26 active
ivan kim ivan eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052056-p1
With the first row as a header, print the display_name field for any data row where the score is strictly greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 ivan 11 paused r002 bruno 30 pending r003 lina 24 closed r004 kim 1 paused r005 alice 25 failed r006 gus 3 pending r007 lina 29 paused r008 alice 11 pending
bruno lina alice lina
record_id display_name score state r001 jules 12 failed r002 ivan 28 pending r003 chen 21 ready r004 kim 23 pending r005 ivan 25 closed r006 ivan 8 closed r007 lina 4 active r008 ivan 5 pending r009 eli 26 active
ivan kim ivan eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052056
qwen/qwen3.7-plus
awkweave-0052057
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 10 paused eli 25 paused kim 9 ready chen 15 pending jules 3 active bruno 18 active lina 16 pending kim 4 ready lina 26 paused
paused paused ready pending active active pending ready paused
ivan 24 pending kim 7 closed gus 18 paused lina 27 failed dina 19 failed dina 3 closed alice 12 active farah 19 pending jules 6 paused
pending closed paused failed failed closed active pending paused
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052057-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 10 paused eli 25 paused kim 9 ready chen 15 pending jules 3 active bruno 18 active lina 16 pending kim 4 ready lina 26 paused
paused paused ready pending active active pending ready paused
ivan 24 pending kim 7 closed gus 18 paused lina 27 failed dina 19 failed dina 3 closed alice 12 active farah 19 pending jules 6 paused
pending closed paused failed failed closed active pending paused
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052057
qwen/qwen3.7-plus
awkweave-0052058
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
lina,9,paused hana,11,failed eli,29,closed ivan,3,failed jules,27,active jules,2,active hana,27,ready bruno,13,closed chen,1,paused
eli jules hana
gus,14,ready lina,2,active chen,30,paused alice,7,pending gus,27,failed hana,7,ready kim,4,failed
chen gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052058-p1
For simple comma-separated input without quoted commas, print the first column only if the second column's value is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
lina,9,paused hana,11,failed eli,29,closed ivan,3,failed jules,27,active jules,2,active hana,27,ready bruno,13,closed chen,1,paused
eli jules hana
gus,14,ready lina,2,active chen,30,paused alice,7,pending gus,27,failed hana,7,ready kim,4,failed
chen gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052058
qwen/qwen3.7-plus
awkweave-0052059
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan juniper 26 hana fable 105 lina delta 95 dina delta 56 dina ember 59 kim harbor 77 hana harbor 81 dina birch 20
ivan juniper 26 hana fable 105 lina delta 95 dina delta 56 dina ember 59 kim harbor 77 hana harbor 81 dina birch 20
eli juniper 23 gus harbor 71 bruno cobalt 44 kim grove 85 gus indigo 105 chen delta 65 ivan amber 52
eli juniper 23 gus harbor 71 bruno cobalt 44 kim grove 85 gus indigo 105 chen delta 65 ivan amber 52
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052059-p1
Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
ivan juniper 26 hana fable 105 lina delta 95 dina delta 56 dina ember 59 kim harbor 77 hana harbor 81 dina birch 20
ivan juniper 26 hana fable 105 lina delta 95 dina delta 56 dina ember 59 kim harbor 77 hana harbor 81 dina birch 20
eli juniper 23 gus harbor 71 bruno cobalt 44 kim grove 85 gus indigo 105 chen delta 65 ivan amber 52
eli juniper 23 gus harbor 71 bruno cobalt 44 kim grove 85 gus indigo 105 chen delta 65 ivan amber 52
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052059
qwen/qwen3.7-plus
awkweave-0052060
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 97 active farah amber 82 pending ivan harbor 9 failed ivan harbor 61 pending farah indigo 27 closed ivan delta 18 pending dina delta 108 active eli amber 120 paused kim fable 112 ready hana amber 93 pending
farah amber 82 pending
jules juniper 41 ready eli grove 75 pending chen birch 57 closed kim ember 112 active hana indigo 24 pending alice birch 40 active hana delta 58 ready dina indigo 106 closed
jules juniper 41 ready
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052060-p1
Identify and output the longest line from the input, selecting the first occurrence if multiple lines share the maximum length.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 97 active farah amber 82 pending ivan harbor 9 failed ivan harbor 61 pending farah indigo 27 closed ivan delta 18 pending dina delta 108 active eli amber 120 paused kim fable 112 ready hana amber 93 pending
farah amber 82 pending
jules juniper 41 ready eli grove 75 pending chen birch 57 closed kim ember 112 active hana indigo 24 pending alice birch 40 active hana delta 58 ready dina indigo 106 closed
jules juniper 41 ready
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052060
qwen/qwen3.7-plus
awkweave-0052061
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
eli 38 farah 32 dina 78 dina 62 eli 74 chen 19
eli 38 eli 74
kim 100 kim 0 jules 56 alice 92 eli 30 ivan 104 bruno 90 dina 119
kim 100 eli 30
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052061-p1
Output every fourth line beginning with the first line (i.e., lines 1, 5, 9, etc.).
NR%4==1
eli 38 farah 32 dina 78 dina 62 eli 74 chen 19
eli 38 eli 74
kim 100 kim 0 jules 56 alice 92 eli 30 ivan 104 bruno 90 dina 119
kim 100 eli 30
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052061
qwen/qwen3.7-plus
awkweave-0052062
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta cobalt 17 delta grove 57 gamma amber 17 gamma delta 108 gamma ember 112 gamma harbor 56
3
beta ember 32 delta indigo 63 gamma amber 25 delta amber 2 delta cobalt 4 gamma fable 112 beta juniper 33 alpha grove 42 alpha delta 116
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052062-p1
Calculate the number of unique values in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
beta cobalt 17 delta grove 57 gamma amber 17 gamma delta 108 gamma ember 112 gamma harbor 56
3
beta ember 32 delta indigo 63 gamma amber 25 delta amber 2 delta cobalt 4 gamma fable 112 beta juniper 33 alpha grove 42 alpha delta 116
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052062
qwen/qwen3.7-plus
awkweave-0052063
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 3 0 alice 21 9 ivan 28 9 eli 21 17 kim 17 5 eli 29 22 farah 25 22 farah 6 17
alice 2.33 ivan 3.11 eli 1.24 kim 3.40 eli 1.32 farah 1.14 farah 0.35
hana 26 0 farah 29 17 bruno 30 13 gus 21 19 ivan 20 12 dina 15 17 gus 8 13
farah 1.71 bruno 2.31 gus 1.11 ivan 1.67 dina 0.88 gus 0.62
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052063-p1
For each row where the third column is non-zero, print the first column followed by the result of dividing the second column by the third column, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 3 0 alice 21 9 ivan 28 9 eli 21 17 kim 17 5 eli 29 22 farah 25 22 farah 6 17
alice 2.33 ivan 3.11 eli 1.24 kim 3.40 eli 1.32 farah 1.14 farah 0.35
hana 26 0 farah 29 17 bruno 30 13 gus 21 19 ivan 20 12 dina 15 17 gus 8 13
farah 1.71 bruno 2.31 gus 1.11 ivan 1.67 dina 0.88 gus 0.62
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052063
qwen/qwen3.7-plus
awkweave-0052064
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]}
lina harbor 16 kim amber 18 chen delta 2 alice birch 12 dina ember 11 gus grove 21
gus grove 21 kim amber 18 lina harbor 16
gus birch 15 hana fable 4 alice fable 17 chen juniper 5 lina delta 15 jules juniper 6 hana delta 26
hana delta 26 alice fable 17 gus birch 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052064-p1
Display the top 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]}
lina harbor 16 kim amber 18 chen delta 2 alice birch 12 dina ember 11 gus grove 21
gus grove 21 kim amber 18 lina harbor 16
gus birch 15 hana fable 4 alice fable 17 chen juniper 5 lina delta 15 jules juniper 6 hana delta 26
hana delta 26 alice fable 17 gus birch 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052064
qwen/qwen3.7-plus
awkweave-0052065
For each line, output fields 4 and 1, in that order.
{print $4, $1}
hana chen active cobalt jules eli ready harbor alice hana closed juniper kim ivan paused amber lina gus closed grove bruno hana paused cobalt farah ivan failed ember
cobalt hana harbor jules juniper alice amber kim grove lina cobalt bruno ember farah
kim eli closed delta hana gus paused cobalt farah jules paused birch lina bruno failed indigo bruno hana pending juniper chen dina pending grove chen jules paused birch alice chen pending harbor bruno dina failed grove
delta kim cobalt hana birch farah indigo lina juniper bruno grove chen birch chen harbor alice grove bruno
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052065-p1
Output the fourth field followed by the first field for every line.
{print $4, $1}
hana chen active cobalt jules eli ready harbor alice hana closed juniper kim ivan paused amber lina gus closed grove bruno hana paused cobalt farah ivan failed ember
cobalt hana harbor jules juniper alice amber kim grove lina cobalt bruno ember farah
kim eli closed delta hana gus paused cobalt farah jules paused birch lina bruno failed indigo bruno hana pending juniper chen dina pending grove chen jules paused birch alice chen pending harbor bruno dina failed grove
delta kim cobalt hana birch farah indigo lina juniper bruno grove chen birch chen harbor alice grove bruno
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052065
qwen/qwen3.7-plus
awkweave-0052066
Print the last field of every input line.
{print $NF}
harbor 33 29 ivan cobalt 52 78 kim juniper 20 52 eli amber 103 72 gus cobalt 108 37 eli grove 85 108 jules cobalt 11 36 lina birch 50 92 farah
ivan kim eli gus eli jules lina farah
indigo 110 51 eli birch 53 34 bruno cobalt 115 79 kim ember 10 0 ivan delta 28 43 gus harbor 6 102 hana
eli bruno kim ivan gus hana
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052066-p1
Print the final field from each input line.
{print $NF}
harbor 33 29 ivan cobalt 52 78 kim juniper 20 52 eli amber 103 72 gus cobalt 108 37 eli grove 85 108 jules cobalt 11 36 lina birch 50 92 farah
ivan kim eli gus eli jules lina farah
indigo 110 51 eli birch 53 34 bruno cobalt 115 79 kim ember 10 0 ivan delta 28 43 gus harbor 6 102 hana
eli bruno kim ivan gus hana
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052066
qwen/qwen3.7-plus
awkweave-0052067
Print the complete records where column 1 is less than 77.
$1 < 77
99 farah delta closed cobalt 104 alice indigo closed indigo 14 farah fable closed delta 67 dina ember ready harbor 13 kim indigo active grove 27 hana delta pending indigo 110 jules cobalt closed juniper
14 farah fable closed delta 67 dina ember ready harbor 13 kim indigo active grove 27 hana delta pending indigo
43 chen cobalt ready ember 25 ivan grove closed indigo 101 farah harbor pending fable 84 eli harbor paused amber 50 lina juniper paused cobalt 84 jules fable active birch 12 farah amber pending cobalt
43 chen cobalt ready ember 25 ivan grove closed indigo 50 lina juniper paused cobalt 12 farah amber pending cobalt
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052067-p1
Output the full records for which the value in the first column is strictly less than 77.
$1 < 77
99 farah delta closed cobalt 104 alice indigo closed indigo 14 farah fable closed delta 67 dina ember ready harbor 13 kim indigo active grove 27 hana delta pending indigo 110 jules cobalt closed juniper
14 farah fable closed delta 67 dina ember ready harbor 13 kim indigo active grove 27 hana delta pending indigo
43 chen cobalt ready ember 25 ivan grove closed indigo 101 farah harbor pending fable 84 eli harbor paused amber 50 lina juniper paused cobalt 84 jules fable active birch 12 farah amber pending cobalt
43 chen cobalt ready ember 25 ivan grove closed indigo 50 lina juniper paused cobalt 12 farah amber pending cobalt
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052067
qwen/qwen3.7-plus
awkweave-0052068
Show whole lines whose 3rd field is between 10 and 23, inclusive.
$3 >= 10 && $3 <= 23
gus ember 25 birch gus cobalt 2 ember chen delta 6 harbor alice birch 10 delta ivan indigo 22 harbor alice grove 27 amber gus juniper 18 juniper eli harbor 11 cobalt
alice birch 10 delta ivan indigo 22 harbor gus juniper 18 juniper eli harbor 11 cobalt
gus juniper 10 harbor gus birch 20 fable ivan amber 7 delta kim grove 25 indigo jules cobalt 26 delta alice juniper 11 fable jules amber 18 ember alice delta 18 harbor kim fable 9 fable
gus juniper 10 harbor gus birch 20 fable alice juniper 11 fable jules amber 18 ember alice delta 18 harbor
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052068-p1
Display entire lines where the third field has a value between 10 and 23, inclusive.
$3 >= 10 && $3 <= 23
gus ember 25 birch gus cobalt 2 ember chen delta 6 harbor alice birch 10 delta ivan indigo 22 harbor alice grove 27 amber gus juniper 18 juniper eli harbor 11 cobalt
alice birch 10 delta ivan indigo 22 harbor gus juniper 18 juniper eli harbor 11 cobalt
gus juniper 10 harbor gus birch 20 fable ivan amber 7 delta kim grove 25 indigo jules cobalt 26 delta alice juniper 11 fable jules amber 18 ember alice delta 18 harbor kim fable 9 fable
gus juniper 10 harbor gus birch 20 fable alice juniper 11 fable jules amber 18 ember alice delta 18 harbor
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052068
qwen/qwen3.7-plus
awkweave-0052069
Print column 2 only for rows where column 1 is exactly failed.
$1 == "failed"{print $2}
active farah 4 juniper closed farah 33 grove paused alice 24 grove pending gus 1 fable paused farah 68 amber pending farah 50 delta closed hana 35 birch failed alice 34 juniper active jules 103 grove ready bruno 48 amber
alice
ready hana 72 indigo failed alice 65 cobalt closed farah 70 delta ready hana 10 fable paused alice 35 harbor failed jules 78 birch paused farah 61 delta closed alice 73 amber
alice jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052069-p1
Print only the second column for rows where the first column matches the exact string 'failed'.
$1 == "failed"{print $2}
active farah 4 juniper closed farah 33 grove paused alice 24 grove pending gus 1 fable paused farah 68 amber pending farah 50 delta closed hana 35 birch failed alice 34 juniper active jules 103 grove ready bruno 48 amber
alice
ready hana 72 indigo failed alice 65 cobalt closed farah 70 delta ready hana 10 fable paused alice 35 harbor failed jules 78 birch paused farah 61 delta closed alice 73 amber
alice jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052069
qwen/qwen3.7-plus
awkweave-0052070
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
59 birch ERROR 98 cobalt DEBUG 39 delta INFO 63 cobalt ERROR 18 juniper DEBUG 63 grove DEBUG 38 cobalt ERROR
59 birch ERROR 63 cobalt ERROR 38 cobalt ERROR
111 ember WARN 25 harbor DEBUG 91 delta DEBUG 4 juniper INFO 10 indigo ERROR 110 fable INFO 45 delta ERROR 0 delta INFO 75 fable WARN 39 juniper DEBUG
10 indigo ERROR 45 delta ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052070-p1
Output all fields from lines where the third field starts with the text 'ERROR'.
$3 ~ /^ERROR/
59 birch ERROR 98 cobalt DEBUG 39 delta INFO 63 cobalt ERROR 18 juniper DEBUG 63 grove DEBUG 38 cobalt ERROR
59 birch ERROR 63 cobalt ERROR 38 cobalt ERROR
111 ember WARN 25 harbor DEBUG 91 delta DEBUG 4 juniper INFO 10 indigo ERROR 110 fable INFO 45 delta ERROR 0 delta INFO 75 fable WARN 39 juniper DEBUG
10 indigo ERROR 45 delta ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052070
qwen/qwen3.7-plus
awkweave-0052071
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
delta 107 ready juniper 2 active birch 30 failed indigo 59 failed grove 9 failed fable 89 ready fable 17 pending juniper 999 active
delta 107 ready birch 30 failed indigo 59 failed grove 9 failed fable 89 ready fable 17 pending
amber 55 closed birch 108 ready harbor 101 paused birch 96 ready juniper 41 paused fable 76 failed delta 23 pending juniper 999 active
amber 55 closed birch 108 ready harbor 101 paused birch 96 ready fable 76 failed delta 23 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052071-p1
Print every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
delta 107 ready juniper 2 active birch 30 failed indigo 59 failed grove 9 failed fable 89 ready fable 17 pending juniper 999 active
delta 107 ready birch 30 failed indigo 59 failed grove 9 failed fable 89 ready fable 17 pending
amber 55 closed birch 108 ready harbor 101 paused birch 96 ready juniper 41 paused fable 76 failed delta 23 pending juniper 999 active
amber 55 closed birch 108 ready harbor 101 paused birch 96 ready fable 76 failed delta 23 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052071
qwen/qwen3.7-plus
awkweave-0052072
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
bruno amber 120 chen harbor 116 bruno birch 52 farah indigo 45 eli fable 36 eli ember 115
bruno birch 52 farah indigo 45 eli fable 36 eli ember 115
dina fable 115 dina delta 84 bruno cobalt 47 eli amber 47 kim grove 61 chen indigo 117
bruno cobalt 47 eli amber 47 kim grove 61 chen indigo 117
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052072-p1
Display lines 3 to 6, inclusive.
NR >= 3 && NR <= 6
bruno amber 120 chen harbor 116 bruno birch 52 farah indigo 45 eli fable 36 eli ember 115
bruno birch 52 farah indigo 45 eli fable 36 eli ember 115
dina fable 115 dina delta 84 bruno cobalt 47 eli amber 47 kim grove 61 chen indigo 117
bruno cobalt 47 eli amber 47 kim grove 61 chen indigo 117
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052072
qwen/qwen3.7-plus
awkweave-0052073
Output only the first 5 records.
NR <= 5
lina 1 amber bruno 2 ember farah 8 birch bruno 16 harbor jules 96 indigo jules 27 indigo
lina 1 amber bruno 2 ember farah 8 birch bruno 16 harbor jules 96 indigo
kim 48 birch eli 110 grove lina 73 grove chen 24 delta jules 34 fable ivan 11 birch jules 25 cobalt bruno 95 amber jules 39 ember
kim 48 birch eli 110 grove lina 73 grove chen 24 delta jules 34 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052073-p1
Output just the initial 5 records.
NR <= 5
lina 1 amber bruno 2 ember farah 8 birch bruno 16 harbor jules 96 indigo jules 27 indigo
lina 1 amber bruno 2 ember farah 8 birch bruno 16 harbor jules 96 indigo
kim 48 birch eli 110 grove lina 73 grove chen 24 delta jules 34 fable ivan 11 birch jules 25 cobalt bruno 95 amber jules 39 ember
kim 48 birch eli 110 grove lina 73 grove chen 24 delta jules 34 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052073
qwen/qwen3.7-plus
awkweave-0052074
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 110 juniper lina 73 grove chen 56 fable farah 16 birch hana 22 cobalt ivan 2 birch dina 21 fable farah 101 cobalt
lina 73 grove chen 56 fable farah 16 birch hana 22 cobalt ivan 2 birch dina 21 fable farah 101 cobalt
eli 111 amber alice 43 indigo kim 86 grove kim 51 amber alice 100 grove bruno 29 cobalt hana 27 delta hana 113 cobalt
alice 43 indigo kim 86 grove kim 51 amber alice 100 grove bruno 29 cobalt hana 27 delta hana 113 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052074-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
ivan 110 juniper lina 73 grove chen 56 fable farah 16 birch hana 22 cobalt ivan 2 birch dina 21 fable farah 101 cobalt
lina 73 grove chen 56 fable farah 16 birch hana 22 cobalt ivan 2 birch dina 21 fable farah 101 cobalt
eli 111 amber alice 43 indigo kim 86 grove kim 51 amber alice 100 grove bruno 29 cobalt hana 27 delta hana 113 cobalt
alice 43 indigo kim 86 grove kim 51 amber alice 100 grove bruno 29 cobalt hana 27 delta hana 113 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052074
qwen/qwen3.7-plus
awkweave-0052075
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
farah paused 28 ivan pending 50 eli active 25 gus paused 3 hana closed 86 chen closed 51 farah ready 26 farah pending 53 chen closed 111
1
bruno ready 87 gus pending 9 ivan ready 74 lina paused 92 bruno failed 13 bruno ready 106 ivan closed 27 chen pending 90 hana failed 37
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052075-p1
Tally the records where column 2 is 'active' and print the count; output 0 if none match.
$2 == "active"{n++}END{print n+0}
farah paused 28 ivan pending 50 eli active 25 gus paused 3 hana closed 86 chen closed 51 farah ready 26 farah pending 53 chen closed 111
1
bruno ready 87 gus pending 9 ivan ready 74 lina paused 92 bruno failed 13 bruno ready 106 ivan closed 27 chen pending 90 hana failed 37
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052075
qwen/qwen3.7-plus
awkweave-0052076
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
hana indigo 7 bruno indigo 18 chen delta 30 chen ember 19 bruno harbor 16 kim delta 15 ivan grove 23 farah fable 19 gus delta 30
177
hana juniper 29 alice delta 12 farah fable 23 ivan amber 13 kim amber 24 alice cobalt 25 dina ember 11 ivan cobalt 28
165
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052076-p1
Compute and display the total sum of integer values in column 3.
{s+=$3}END{print s+0}
hana indigo 7 bruno indigo 18 chen delta 30 chen ember 19 bruno harbor 16 kim delta 15 ivan grove 23 farah fable 19 gus delta 30
177
hana juniper 29 alice delta 12 farah fable 23 ivan amber 13 kim amber 24 alice cobalt 25 dina ember 11 ivan cobalt 28
165
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052076
qwen/qwen3.7-plus
awkweave-0052077
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
farah 4 fable gus 19 indigo kim 10 amber lina 16 fable alice 28 birch alice 27 fable
17.33
hana 25 amber chen 9 delta chen 18 delta eli 5 indigo eli 2 fable eli 26 ember bruno 25 fable ivan 28 grove hana 14 indigo
16.89
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052077-p1
Print the average of column 2, rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
farah 4 fable gus 19 indigo kim 10 amber lina 16 fable alice 28 birch alice 27 fable
17.33
hana 25 amber chen 9 delta chen 18 delta eli 5 indigo eli 2 fable eli 26 ember bruno 25 fable ivan 28 grove hana 14 indigo
16.89
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052077
qwen/qwen3.7-plus
awkweave-0052078
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 8 grove gus 5 harbor ivan 19 juniper eli 2 indigo alice 1 cobalt alice 29 harbor alice 29 amber lina 24 juniper kim 9 birch jules 13 ember
1
gus 24 harbor jules 14 grove alice 9 birch hana 19 fable dina 17 delta kim 22 cobalt farah 1 amber ivan 27 fable chen 6 harbor
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052078-p1
Identify and output the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 8 grove gus 5 harbor ivan 19 juniper eli 2 indigo alice 1 cobalt alice 29 harbor alice 29 amber lina 24 juniper kim 9 birch jules 13 ember
1
gus 24 harbor jules 14 grove alice 9 birch hana 19 fable dina 17 delta kim 22 cobalt farah 1 amber ivan 27 fable chen 6 harbor
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052078
qwen/qwen3.7-plus
awkweave-0052079
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
cobalt 10 dina cobalt 8 eli delta 9 ivan harbor 14 hana juniper 12 gus amber 8 hana
14
juniper 2 gus delta 22 eli birch 22 lina fable 13 lina ember 23 hana harbor 12 eli amber 20 lina
23
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052079-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
cobalt 10 dina cobalt 8 eli delta 9 ivan harbor 14 hana juniper 12 gus amber 8 hana
14
juniper 2 gus delta 22 eli birch 22 lina fable 13 lina ember 23 hana harbor 12 eli amber 20 lina
23
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052079
qwen/qwen3.7-plus
awkweave-0052080
Count all input records and print the total.
END{print NR}
chen 50 chen 33 lina 91 ivan 9 ivan 66 chen 104 dina 48 hana 73 kim 23
9
ivan 94 chen 35 hana 15 bruno 18 hana 49 alice 16 dina 99
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052080-p1
Count the total number of input records and print the result.
END{print NR}
chen 50 chen 33 lina 91 ivan 9 ivan 66 chen 104 dina 48 hana 73 kim 23
9
ivan 94 chen 35 hana 15 bruno 18 hana 49 alice 16 dina 99
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052080
qwen/qwen3.7-plus
awkweave-0052081
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah fable 116 lina ember 71 chen grove 112 gus harbor 111 ivan ember 8 ivan harbor 1 chen delta 118 alice delta 68 lina ember 71 lina harbor 13 lina juniper 95
farah fable 116 lina ember 71 chen grove 112 gus harbor 111 ivan ember 8 ivan harbor 1 chen delta 118 alice delta 68 lina harbor 13 lina juniper 95
gus cobalt 54 chen cobalt 36 chen grove 11 lina fable 2 gus ember 83 farah juniper 10 lina fable 2 chen fable 89 farah ember 45 bruno cobalt 30
gus cobalt 54 chen cobalt 36 chen grove 11 lina fable 2 gus ember 83 farah juniper 10 chen fable 89 farah ember 45 bruno cobalt 30
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052081-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
farah fable 116 lina ember 71 chen grove 112 gus harbor 111 ivan ember 8 ivan harbor 1 chen delta 118 alice delta 68 lina ember 71 lina harbor 13 lina juniper 95
farah fable 116 lina ember 71 chen grove 112 gus harbor 111 ivan ember 8 ivan harbor 1 chen delta 118 alice delta 68 lina harbor 13 lina juniper 95
gus cobalt 54 chen cobalt 36 chen grove 11 lina fable 2 gus ember 83 farah juniper 10 lina fable 2 chen fable 89 farah ember 45 bruno cobalt 30
gus cobalt 54 chen cobalt 36 chen grove 11 lina fable 2 gus ember 83 farah juniper 10 chen fable 89 farah ember 45 bruno cobalt 30
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052081
qwen/qwen3.7-plus
awkweave-0052082
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
jules indigo 39 hana indigo 24 jules ember 119 alice harbor 87 alice harbor 98 bruno indigo 73 lina ember 74 kim fable 47 alice harbor 35 hana harbor 21
jules indigo 39 jules ember 119 alice harbor 87 kim fable 47
chen birch 35 lina ember 82 kim juniper 59 gus harbor 61 farah grove 67 ivan grove 99 dina birch 115 jules cobalt 43 dina grove 92
chen birch 35 lina ember 82 kim juniper 59 gus harbor 61 farah grove 67 jules cobalt 43
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052082-p1
Retain only the first occurrence for each unique value in column 2, preserving the input order.
!seen[$2]++
jules indigo 39 hana indigo 24 jules ember 119 alice harbor 87 alice harbor 98 bruno indigo 73 lina ember 74 kim fable 47 alice harbor 35 hana harbor 21
jules indigo 39 jules ember 119 alice harbor 87 kim fable 47
chen birch 35 lina ember 82 kim juniper 59 gus harbor 61 farah grove 67 ivan grove 99 dina birch 115 jules cobalt 43 dina grove 92
chen birch 35 lina ember 82 kim juniper 59 gus harbor 61 farah grove 67 jules cobalt 43
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052082
qwen/qwen3.7-plus
awkweave-0052083
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 29 fable hana 19 delta lina 26 amber ivan 4 delta dina 22 birch dina 7 amber jules 13 juniper hana 6 fable hana 17 delta
eli 29 hana 48 lina 74 ivan 78 dina 100 dina 107 jules 120 hana 126 hana 143
jules 2 juniper alice 2 birch jules 25 amber ivan 21 ember alice 4 birch gus 18 fable alice 7 indigo alice 28 birch
jules 2 alice 4 jules 29 ivan 50 alice 54 gus 72 alice 79 alice 107
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052083-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 29 fable hana 19 delta lina 26 amber ivan 4 delta dina 22 birch dina 7 amber jules 13 juniper hana 6 fable hana 17 delta
eli 29 hana 48 lina 74 ivan 78 dina 100 dina 107 jules 120 hana 126 hana 143
jules 2 juniper alice 2 birch jules 25 amber ivan 21 ember alice 4 birch gus 18 fable alice 7 indigo alice 28 birch
jules 2 alice 4 jules 29 ivan 50 alice 54 gus 72 alice 79 alice 107
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052083
qwen/qwen3.7-plus
awkweave-0052084
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 17 20 grove ivan 21 8 fable ivan 22 26 indigo dina 9 21 ember farah 28 30 indigo eli 15 7 delta hana 12 29 birch
gus 37 ivan 29 ivan 48 dina 30 farah 58 eli 22 hana 41
chen 7 7 grove chen 23 21 harbor kim 24 22 grove gus 8 3 harbor gus 1 5 juniper hana 30 5 indigo jules 28 1 birch bruno 22 21 delta
chen 14 chen 44 kim 46 gus 11 gus 6 hana 35 jules 29 bruno 43
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052084-p1
Output field 1 and the total of fields 2 and 3 for each row.
{print $1,$2+$3}
gus 17 20 grove ivan 21 8 fable ivan 22 26 indigo dina 9 21 ember farah 28 30 indigo eli 15 7 delta hana 12 29 birch
gus 37 ivan 29 ivan 48 dina 30 farah 58 eli 22 hana 41
chen 7 7 grove chen 23 21 harbor kim 24 22 grove gus 8 3 harbor gus 1 5 juniper hana 30 5 indigo jules 28 1 birch bruno 22 21 delta
chen 14 chen 44 kim 46 gus 11 gus 6 hana 35 jules 29 bruno 43
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052084
qwen/qwen3.7-plus
awkweave-0052085
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
dina 15 eli 8 gus 3 eli 26 gus 8 lina 20 hana 26 lina 2
dina fail eli fail gus fail eli pass gus fail lina pass hana pass lina fail
gus 25 bruno 3 kim 22 farah 17 kim 20 kim 13
gus pass bruno fail kim pass farah fail kim pass kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052085-p1
Display column 1; output 'pass' if column 2 is 20 or more, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
dina 15 eli 8 gus 3 eli 26 gus 8 lina 20 hana 26 lina 2
dina fail eli fail gus fail eli pass gus fail lina pass hana pass lina fail
gus 25 bruno 3 kim 22 farah 17 kim 20 kim 13
gus pass bruno fail kim pass farah fail kim pass kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052085
qwen/qwen3.7-plus
awkweave-0052086
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
farah harbor 108 lina harbor 118 dina fable 76 gus ember 18 lina fable 116 gus ember 42 ivan amber 70 jules fable 62 hana grove 99
HARBOR HARBOR FABLE EMBER FABLE EMBER AMBER FABLE GROVE
alice cobalt 45 gus grove 11 farah birch 92 hana fable 98 eli birch 2 gus grove 83 bruno grove 61 lina delta 34 gus delta 103 jules grove 104
COBALT GROVE BIRCH FABLE BIRCH GROVE GROVE DELTA DELTA GROVE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052086-p1
Transform column 2 to uppercase and display only that column.
{print toupper($2)}
farah harbor 108 lina harbor 118 dina fable 76 gus ember 18 lina fable 116 gus ember 42 ivan amber 70 jules fable 62 hana grove 99
HARBOR HARBOR FABLE EMBER FABLE EMBER AMBER FABLE GROVE
alice cobalt 45 gus grove 11 farah birch 92 hana fable 98 eli birch 2 gus grove 83 bruno grove 61 lina delta 34 gus delta 103 jules grove 104
COBALT GROVE BIRCH FABLE BIRCH GROVE GROVE DELTA DELTA GROVE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052086
qwen/qwen3.7-plus
awkweave-0052087
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
ember 108 juniper 110 delta 102 indigo 112 cobalt 9 birch 54 juniper 80
mber unip elta ndig obal irch unip
juniper 116 birch 42 amber 27 grove 112 juniper 5 amber 115 grove 20 fable 46 fable 27
unip irch mber rove unip mber rove able able
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052087-p1
Extract and print a 4-character substring from column 1, beginning at position 2.
{print substr($1,2,4)}
ember 108 juniper 110 delta 102 indigo 112 cobalt 9 birch 54 juniper 80
mber unip elta ndig obal irch unip
juniper 116 birch 42 amber 27 grove 112 juniper 5 amber 115 grove 20 fable 46 fable 27
unip irch mber rove unip mber rove able able
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052087
qwen/qwen3.7-plus
awkweave-0052088
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_juniper 70 indigo_amber 6 birch_grove 90 harbor_cobalt 25 ember_harbor 30 harbor_ember 24 harbor_birch 97 harbor_indigo 105
fable juniper indigo amber birch grove harbor cobalt ember harbor harbor ember harbor birch harbor indigo
delta_birch 100 harbor_fable 66 indigo_delta 73 ember_delta 68 indigo_delta 103 indigo_birch 118
delta birch harbor fable indigo delta ember delta indigo delta indigo birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052088-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
fable_juniper 70 indigo_amber 6 birch_grove 90 harbor_cobalt 25 ember_harbor 30 harbor_ember 24 harbor_birch 97 harbor_indigo 105
fable juniper indigo amber birch grove harbor cobalt ember harbor harbor ember harbor birch harbor indigo
delta_birch 100 harbor_fable 66 indigo_delta 73 ember_delta 68 indigo_delta 103 indigo_birch 118
delta birch harbor fable indigo delta ember delta indigo delta indigo birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052088
qwen/qwen3.7-plus
awkweave-0052089
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)}
jules cobalt 32 failed jules ember 116 pending gus harbor 13 closed jules grove 20 paused alice indigo 52 failed alice grove 42 paused ivan fable 47 pending farah harbor 10 failed
failed 32 cobalt jules pending 116 ember jules closed 13 harbor gus paused 20 grove jules failed 52 indigo alice paused 42 grove alice pending 47 fable ivan failed 10 harbor farah
chen cobalt 103 ready kim juniper 82 paused kim harbor 31 failed farah harbor 69 active farah indigo 115 ready dina ember 100 pending eli amber 39 closed
ready 103 cobalt chen paused 82 juniper kim failed 31 harbor kim active 69 harbor farah ready 115 indigo farah pending 100 ember dina closed 39 amber eli
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052089-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules cobalt 32 failed jules ember 116 pending gus harbor 13 closed jules grove 20 paused alice indigo 52 failed alice grove 42 paused ivan fable 47 pending farah harbor 10 failed
failed 32 cobalt jules pending 116 ember jules closed 13 harbor gus paused 20 grove jules failed 52 indigo alice paused 42 grove alice pending 47 fable ivan failed 10 harbor farah
chen cobalt 103 ready kim juniper 82 paused kim harbor 31 failed farah harbor 69 active farah indigo 115 ready dina ember 100 pending eli amber 39 closed
ready 103 cobalt chen paused 82 juniper kim failed 31 harbor kim active 69 harbor farah ready 115 indigo farah pending 100 ember dina closed 39 amber eli
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052089
qwen/qwen3.7-plus
awkweave-0052100
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
dina 100 chen 95 jules 118 gus 82 eli 87 farah 96 gus 85 chen 12 lina 118 lina 16
dina 100 jules 118 eli 87 gus 85 lina 118
chen 76 gus 31 farah 68 lina 4 eli 69 ivan 90 hana 39
chen 76 farah 68 eli 69 hana 39
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052100-p1
Print lines 1, 3, 5, and so on (every second line starting from line 1).
NR%2==1
dina 100 chen 95 jules 118 gus 82 eli 87 farah 96 gus 85 chen 12 lina 118 lina 16
dina 100 jules 118 eli 87 gus 85 lina 118
chen 76 gus 31 farah 68 lina 4 eli 69 ivan 90 hana 39
chen 76 farah 68 eli 69 hana 39
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052100
qwen/qwen3.7-plus
awkweave-0052101
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 90 beta fable 61 delta grove 113 gamma fable 90 gamma cobalt 107 alpha amber 39 alpha delta 8 beta fable 83
5
delta ember 115 delta juniper 33 alpha juniper 0 beta ember 80 beta indigo 117 gamma amber 101
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052101-p1
Calculate and print the number of unique values found in column 2.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 90 beta fable 61 delta grove 113 gamma fable 90 gamma cobalt 107 alpha amber 39 alpha delta 8 beta fable 83
5
delta ember 115 delta juniper 33 alpha juniper 0 beta ember 80 beta indigo 117 gamma amber 101
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052101
qwen/qwen3.7-plus
awkweave-0052102
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 22 0 lina 2 17 dina 15 15 lina 24 19 farah 28 10 kim 17 29 jules 1 11
lina 0.12 dina 1.00 lina 1.26 farah 2.80 kim 0.59 jules 0.09
lina 7 0 bruno 10 26 lina 1 12 chen 11 6 kim 11 7 farah 10 14 jules 27 11 hana 10 24
bruno 0.38 lina 0.08 chen 1.83 kim 1.57 farah 0.71 jules 2.45 hana 0.42
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052102-p1
For each row where column 3 is not zero, print column 1 and the result of column 2 divided by column 3, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 22 0 lina 2 17 dina 15 15 lina 24 19 farah 28 10 kim 17 29 jules 1 11
lina 0.12 dina 1.00 lina 1.26 farah 2.80 kim 0.59 jules 0.09
lina 7 0 bruno 10 26 lina 1 12 chen 11 6 kim 11 7 farah 10 14 jules 27 11 hana 10 24
bruno 0.38 lina 0.08 chen 1.83 kim 1.57 farah 0.71 jules 2.45 hana 0.42
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052102
qwen/qwen3.7-plus
awkweave-0052103
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]}
chen ember 12 kim indigo 29 eli fable 24 ivan juniper 19 dina delta 29 farah indigo 27
kim indigo 29 dina delta 29 farah indigo 27
alice harbor 29 eli birch 19 alice ember 11 eli delta 1 kim cobalt 16 kim juniper 23 ivan juniper 4 ivan fable 10 dina harbor 19 ivan delta 20
alice harbor 29 kim juniper 23 ivan delta 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052103-p1
Output the top 3 records with the highest numeric values in column 3, sorted in descending order, maintaining 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]}
chen ember 12 kim indigo 29 eli fable 24 ivan juniper 19 dina delta 29 farah indigo 27
kim indigo 29 dina delta 29 farah indigo 27
alice harbor 29 eli birch 19 alice ember 11 eli delta 1 kim cobalt 16 kim juniper 23 ivan juniper 4 ivan fable 10 dina harbor 19 ivan delta 20
alice harbor 29 kim juniper 23 ivan delta 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052103
qwen/qwen3.7-plus
awkweave-0052104
For each line, output fields 4 and 2, in that order.
{print $4, $2}
bruno failed ember dina delta 26 bruno paused ember lina juniper 71 kim closed cobalt eli indigo 109 bruno ready delta hana amber 73 gus pending fable dina amber 52 lina ready amber gus fable 48 gus failed indigo eli fable 37
dina failed lina paused eli closed hana ready dina pending gus ready eli failed
kim pending delta alice grove 104 lina pending grove farah birch 50 eli failed fable dina indigo 64 eli paused fable jules ember 58 kim paused juniper lina indigo 14 hana paused delta alice juniper 81
alice pending farah pending dina failed jules paused lina paused alice paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052104-p1
Print fields 4 and 2 in that specific order for each line.
{print $4, $2}
bruno failed ember dina delta 26 bruno paused ember lina juniper 71 kim closed cobalt eli indigo 109 bruno ready delta hana amber 73 gus pending fable dina amber 52 lina ready amber gus fable 48 gus failed indigo eli fable 37
dina failed lina paused eli closed hana ready dina pending gus ready eli failed
kim pending delta alice grove 104 lina pending grove farah birch 50 eli failed fable dina indigo 64 eli paused fable jules ember 58 kim paused juniper lina indigo 14 hana paused delta alice juniper 81
alice pending farah pending dina failed jules paused lina paused alice paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052104
qwen/qwen3.7-plus
awkweave-0052105
Print the last field of every input line.
{print $NF}
active hana cobalt 108 farah failed hana fable 67 eli paused chen grove 82 farah paused alice fable 97 jules active hana indigo 21 ivan ready alice delta 99 eli active farah delta 52 lina active gus ember 107 jules failed jules birch 50 alice
farah eli farah jules ivan eli lina jules alice
closed gus delta 49 alice paused farah juniper 82 hana closed alice amber 106 alice paused eli birch 102 gus pending hana cobalt 2 hana ready lina cobalt 101 ivan pending hana grove 76 lina ready lina cobalt 12 eli
alice hana alice gus hana ivan lina eli
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052105-p1
Display the final field of every input line.
{print $NF}
active hana cobalt 108 farah failed hana fable 67 eli paused chen grove 82 farah paused alice fable 97 jules active hana indigo 21 ivan ready alice delta 99 eli active farah delta 52 lina active gus ember 107 jules failed jules birch 50 alice
farah eli farah jules ivan eli lina jules alice
closed gus delta 49 alice paused farah juniper 82 hana closed alice amber 106 alice paused eli birch 102 gus pending hana cobalt 2 hana ready lina cobalt 101 ivan pending hana grove 76 lina ready lina cobalt 12 eli
alice hana alice gus hana ivan lina eli
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052105
qwen/qwen3.7-plus
awkweave-0052106
Print the complete records where column 2 is at least 57.
$2 >= 57
indigo 89 pending birch cobalt 111 ready ember birch 115 ready delta amber 40 paused delta juniper 76 pending birch amber 41 paused indigo
indigo 89 pending birch cobalt 111 ready ember birch 115 ready delta juniper 76 pending birch
ember 62 failed fable ember 37 ready ember birch 102 closed ember amber 13 ready fable juniper 36 closed fable fable 0 failed cobalt fable 87 paused indigo amber 19 failed indigo ember 98 paused ember
ember 62 failed fable birch 102 closed ember fable 87 paused indigo ember 98 paused ember
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052106-p1
Output full records where the value in the second column is greater than or equal to 57.
$2 >= 57
indigo 89 pending birch cobalt 111 ready ember birch 115 ready delta amber 40 paused delta juniper 76 pending birch amber 41 paused indigo
indigo 89 pending birch cobalt 111 ready ember birch 115 ready delta juniper 76 pending birch
ember 62 failed fable ember 37 ready ember birch 102 closed ember amber 13 ready fable juniper 36 closed fable fable 0 failed cobalt fable 87 paused indigo amber 19 failed indigo ember 98 paused ember
ember 62 failed fable birch 102 closed ember fable 87 paused indigo ember 98 paused ember
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052106
qwen/qwen3.7-plus
awkweave-0052107
Show whole lines whose 1st field is between 11 and 19, inclusive.
$1 >= 11 && $1 <= 19
11 gus lina hana 18 dina farah alice 26 lina ivan hana 26 bruno dina ivan 16 ivan bruno hana 7 ivan kim hana 17 gus bruno kim 8 eli alice hana 28 alice farah hana
11 gus lina hana 18 dina farah alice 16 ivan bruno hana 17 gus bruno kim
6 hana jules kim 13 hana eli lina 6 jules dina bruno 8 eli eli chen 22 chen jules chen 3 bruno farah gus 4 chen jules hana 28 kim eli eli
13 hana eli lina
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052107-p1
Display entire lines where the first field falls within the inclusive range of 11 to 19.
$1 >= 11 && $1 <= 19
11 gus lina hana 18 dina farah alice 26 lina ivan hana 26 bruno dina ivan 16 ivan bruno hana 7 ivan kim hana 17 gus bruno kim 8 eli alice hana 28 alice farah hana
11 gus lina hana 18 dina farah alice 16 ivan bruno hana 17 gus bruno kim
6 hana jules kim 13 hana eli lina 6 jules dina bruno 8 eli eli chen 22 chen jules chen 3 bruno farah gus 4 chen jules hana 28 kim eli eli
13 hana eli lina
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052107
qwen/qwen3.7-plus
awkweave-0052108
Print column 1 only for rows where column 3 is exactly pending.
$3 == "pending"{print $1}
farah ember ready 93 bruno birch pending 37 alice grove active 65 hana cobalt failed 12 farah cobalt active 88 lina fable paused 107
bruno
kim grove pending 120 alice cobalt pending 40 gus amber failed 73 dina juniper closed 93 lina amber active 103 gus fable pending 83 dina ember pending 88 bruno indigo ready 93 eli indigo closed 82 eli indigo pending 13
kim alice gus dina eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052108-p1
Extract and print only the first column for rows where the third column matches 'pending' exactly.
$3 == "pending"{print $1}
farah ember ready 93 bruno birch pending 37 alice grove active 65 hana cobalt failed 12 farah cobalt active 88 lina fable paused 107
bruno
kim grove pending 120 alice cobalt pending 40 gus amber failed 73 dina juniper closed 93 lina amber active 103 gus fable pending 83 dina ember pending 88 bruno indigo ready 93 eli indigo closed 82 eli indigo pending 13
kim alice gus dina eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052108
qwen/qwen3.7-plus
awkweave-0052109
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
fable 6 INFO harbor 23 DEBUG cobalt 92 WARN birch 79 WARN harbor 75 ERROR cobalt 39 INFO indigo 22 DEBUG harbor 113 WARN
harbor 75 ERROR
cobalt 100 ERROR amber 34 DEBUG ember 22 INFO harbor 36 WARN harbor 50 DEBUG indigo 91 DEBUG
cobalt 100 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052109-p1
Print all fields from lines where the third field starts with the string 'ERROR'.
$3 ~ /^ERROR/
fable 6 INFO harbor 23 DEBUG cobalt 92 WARN birch 79 WARN harbor 75 ERROR cobalt 39 INFO indigo 22 DEBUG harbor 113 WARN
harbor 75 ERROR
cobalt 100 ERROR amber 34 DEBUG ember 22 INFO harbor 36 WARN harbor 50 DEBUG indigo 91 DEBUG
cobalt 100 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052109
qwen/qwen3.7-plus
awkweave-0052110
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
grove 91 active ember 81 ready grove 45 failed harbor 99 pending indigo 39 failed harbor 71 closed fable 79 paused juniper 999 active
grove 91 active ember 81 ready grove 45 failed harbor 99 pending indigo 39 failed harbor 71 closed fable 79 paused
cobalt 59 ready fable 120 ready grove 120 paused cobalt 108 pending delta 41 active juniper 106 failed birch 89 failed delta 9 ready juniper 999 active
cobalt 59 ready fable 120 ready grove 120 paused cobalt 108 pending delta 41 active birch 89 failed delta 9 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052110-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
grove 91 active ember 81 ready grove 45 failed harbor 99 pending indigo 39 failed harbor 71 closed fable 79 paused juniper 999 active
grove 91 active ember 81 ready grove 45 failed harbor 99 pending indigo 39 failed harbor 71 closed fable 79 paused
cobalt 59 ready fable 120 ready grove 120 paused cobalt 108 pending delta 41 active juniper 106 failed birch 89 failed delta 9 ready juniper 999 active
cobalt 59 ready fable 120 ready grove 120 paused cobalt 108 pending delta 41 active birch 89 failed delta 9 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052110
qwen/qwen3.7-plus
awkweave-0052111
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
kim delta 83 eli cobalt 11 farah indigo 71 hana cobalt 18 ivan delta 52 kim ember 49 dina birch 99
hana cobalt 18 ivan delta 52 kim ember 49 dina birch 99
farah birch 63 alice amber 116 farah juniper 78 lina juniper 3 lina ember 9 farah birch 119 alice indigo 69 hana ember 73 chen birch 95
lina juniper 3 lina ember 9 farah birch 119 alice indigo 69
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052111-p1
Print lines 4 through 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
kim delta 83 eli cobalt 11 farah indigo 71 hana cobalt 18 ivan delta 52 kim ember 49 dina birch 99
hana cobalt 18 ivan delta 52 kim ember 49 dina birch 99
farah birch 63 alice amber 116 farah juniper 78 lina juniper 3 lina ember 9 farah birch 119 alice indigo 69 hana ember 73 chen birch 95
lina juniper 3 lina ember 9 farah birch 119 alice indigo 69
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052111
qwen/qwen3.7-plus
awkweave-0052112
Output only the first 4 records.
NR <= 4
chen 52 juniper chen 55 indigo kim 92 fable lina 10 juniper farah 23 juniper farah 119 delta dina 50 cobalt jules 117 indigo alice 40 harbor jules 0 fable
chen 52 juniper chen 55 indigo kim 92 fable lina 10 juniper
hana 12 amber gus 25 amber jules 50 cobalt alice 15 amber hana 106 ember farah 28 amber jules 96 indigo
hana 12 amber gus 25 amber jules 50 cobalt alice 15 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null