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-0051882-p1
Calculate the average of the values in the second column and print it rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
hana 5 birch hana 17 ember chen 24 amber farah 30 amber chen 16 cobalt hana 9 birch
16.83
farah 23 ember alice 9 indigo eli 11 cobalt chen 11 cobalt bruno 27 ember alice 11 grove lina 18 grove kim 7 ember
14.62
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051882
qwen/qwen3.7-plus
awkweave-0051883
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
13 gus juniper 3 kim juniper 28 kim harbor 14 lina birch 17 kim amber 29 dina birch 4 eli juniper 28 kim amber 27 bruno juniper
3
14 farah grove 24 gus fable 30 hana grove 21 kim delta 3 ivan indigo 8 hana fable 25 chen juniper
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051883-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
13 gus juniper 3 kim juniper 28 kim harbor 14 lina birch 17 kim amber 29 dina birch 4 eli juniper 28 kim amber 27 bruno juniper
3
14 farah grove 24 gus fable 30 hana grove 21 kim delta 3 ivan indigo 8 hana fable 25 chen juniper
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051883
qwen/qwen3.7-plus
awkweave-0051884
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
2 ivan grove 28 jules ember 11 jules fable 29 dina grove 17 lina grove 12 eli fable 12 alice cobalt
29
23 kim cobalt 11 ivan fable 27 jules ember 30 eli ember 18 chen birch 15 hana juniper
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051884-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
2 ivan grove 28 jules ember 11 jules fable 29 dina grove 17 lina grove 12 eli fable 12 alice cobalt
29
23 kim cobalt 11 ivan fable 27 jules ember 30 eli ember 18 chen birch 15 hana juniper
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051884
qwen/qwen3.7-plus
awkweave-0051885
Count all input records and print the total.
END{print NR}
alice 117 kim 6 kim 2 alice 108 jules 80 eli 52 jules 9
7
lina 2 gus 26 gus 90 dina 70 hana 37 ivan 53 lina 5 jules 4 hana 112
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051885-p1
Calculate the total number of input records and display the count.
END{print NR}
alice 117 kim 6 kim 2 alice 108 jules 80 eli 52 jules 9
7
lina 2 gus 26 gus 90 dina 70 hana 37 ivan 53 lina 5 jules 4 hana 112
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051885
qwen/qwen3.7-plus
awkweave-0051886
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim ember 7 jules cobalt 93 farah birch 78 gus delta 7 jules cobalt 93 lina birch 99 chen fable 61 eli ember 79
kim ember 7 jules cobalt 93 farah birch 78 gus delta 7 lina birch 99 chen fable 61 eli ember 79
chen birch 24 eli juniper 40 hana amber 90 hana amber 90 ivan amber 117 alice ember 61 hana birch 95 chen cobalt 83 kim birch 6 eli birch 31
chen birch 24 eli juniper 40 hana amber 90 ivan amber 117 alice ember 61 hana birch 95 chen cobalt 83 kim birch 6 eli birch 31
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051886-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
kim ember 7 jules cobalt 93 farah birch 78 gus delta 7 jules cobalt 93 lina birch 99 chen fable 61 eli ember 79
kim ember 7 jules cobalt 93 farah birch 78 gus delta 7 lina birch 99 chen fable 61 eli ember 79
chen birch 24 eli juniper 40 hana amber 90 hana amber 90 ivan amber 117 alice ember 61 hana birch 95 chen cobalt 83 kim birch 6 eli birch 31
chen birch 24 eli juniper 40 hana amber 90 ivan amber 117 alice ember 61 hana birch 95 chen cobalt 83 kim birch 6 eli birch 31
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051886
qwen/qwen3.7-plus
awkweave-0051887
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
bruno grove 50 chen cobalt 79 dina amber 96 lina amber 50 chen amber 81 alice cobalt 51 chen cobalt 88 hana indigo 1 kim delta 63
bruno grove 50 chen cobalt 79 dina amber 96 lina amber 50 alice cobalt 51 hana indigo 1 kim delta 63
chen juniper 21 jules harbor 3 lina birch 30 farah cobalt 15 kim juniper 41 hana cobalt 48 gus harbor 17 eli cobalt 57 gus delta 25 alice indigo 58
chen juniper 21 jules harbor 3 lina birch 30 farah cobalt 15 kim juniper 41 hana cobalt 48 gus harbor 17 eli cobalt 57 alice indigo 58
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051887-p1
Retain only the initial line for every unique value in the first column, ensuring the original order is preserved.
!seen[$1]++
bruno grove 50 chen cobalt 79 dina amber 96 lina amber 50 chen amber 81 alice cobalt 51 chen cobalt 88 hana indigo 1 kim delta 63
bruno grove 50 chen cobalt 79 dina amber 96 lina amber 50 alice cobalt 51 hana indigo 1 kim delta 63
chen juniper 21 jules harbor 3 lina birch 30 farah cobalt 15 kim juniper 41 hana cobalt 48 gus harbor 17 eli cobalt 57 gus delta 25 alice indigo 58
chen juniper 21 jules harbor 3 lina birch 30 farah cobalt 15 kim juniper 41 hana cobalt 48 gus harbor 17 eli cobalt 57 alice indigo 58
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051887
qwen/qwen3.7-plus
awkweave-0051888
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 2 grove eli 3 delta hana 17 birch ivan 11 fable bruno 21 ember chen 26 amber hana 26 birch dina 16 amber
dina 2 eli 5 hana 22 ivan 33 bruno 54 chen 80 hana 106 dina 122
eli 14 juniper ivan 7 harbor gus 5 amber eli 21 ember gus 17 amber dina 16 fable hana 13 cobalt bruno 2 juniper gus 3 fable
eli 14 ivan 21 gus 26 eli 47 gus 64 dina 80 hana 93 bruno 95 gus 98
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051888-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
dina 2 grove eli 3 delta hana 17 birch ivan 11 fable bruno 21 ember chen 26 amber hana 26 birch dina 16 amber
dina 2 eli 5 hana 22 ivan 33 bruno 54 chen 80 hana 106 dina 122
eli 14 juniper ivan 7 harbor gus 5 amber eli 21 ember gus 17 amber dina 16 fable hana 13 cobalt bruno 2 juniper gus 3 fable
eli 14 ivan 21 gus 26 eli 47 gus 64 dina 80 hana 93 bruno 95 gus 98
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051888
qwen/qwen3.7-plus
awkweave-0051889
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 29 13 juniper farah 7 22 amber farah 11 4 cobalt eli 12 28 fable chen 13 28 indigo jules 27 17 amber kim 15 10 amber
chen 42 farah 29 farah 15 eli 40 chen 41 jules 44 kim 25
gus 19 20 indigo eli 9 9 grove kim 27 3 indigo hana 23 17 indigo bruno 27 19 grove ivan 22 4 ember dina 5 19 cobalt alice 15 26 indigo alice 23 19 ember
gus 39 eli 18 kim 30 hana 40 bruno 46 ivan 26 dina 24 alice 41 alice 42
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051889-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
chen 29 13 juniper farah 7 22 amber farah 11 4 cobalt eli 12 28 fable chen 13 28 indigo jules 27 17 amber kim 15 10 amber
chen 42 farah 29 farah 15 eli 40 chen 41 jules 44 kim 25
gus 19 20 indigo eli 9 9 grove kim 27 3 indigo hana 23 17 indigo bruno 27 19 grove ivan 22 4 ember dina 5 19 cobalt alice 15 26 indigo alice 23 19 ember
gus 39 eli 18 kim 30 hana 40 bruno 46 ivan 26 dina 24 alice 41 alice 42
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051889
qwen/qwen3.7-plus
awkweave-0051900
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 farah 29 ready r002 gus 9 failed r003 ivan 27 ready r004 farah 20 failed r005 hana 1 paused r006 bruno 8 active r007 bruno 27 active r008 alice 2 pending r009 chen 19 failed
farah ivan farah bruno chen
record_id display_name score state r001 hana 22 ready r002 chen 26 closed r003 bruno 25 closed r004 chen 11 pending r005 jules 28 failed r006 lina 21 closed r007 kim 8 active r008 gus 26 paused r009 jules 18 failed
hana chen bruno jules lina gus jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051900-p1
Skipping the header row, output the display_name for any data entry where the score is above 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 farah 29 ready r002 gus 9 failed r003 ivan 27 ready r004 farah 20 failed r005 hana 1 paused r006 bruno 8 active r007 bruno 27 active r008 alice 2 pending r009 chen 19 failed
farah ivan farah bruno chen
record_id display_name score state r001 hana 22 ready r002 chen 26 closed r003 bruno 25 closed r004 chen 11 pending r005 jules 28 failed r006 lina 21 closed r007 kim 8 active r008 gus 26 paused r009 jules 18 failed
hana chen bruno jules lina gus jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051900
qwen/qwen3.7-plus
awkweave-0051901
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 13 failed chen 13 failed kim 2 active alice 18 closed kim 11 ready farah 8 failed
failed failed active closed ready failed
ivan 16 failed farah 13 closed eli 2 paused ivan 10 failed hana 9 closed gus 15 active alice 25 pending jules 5 paused
failed closed paused failed closed active pending paused
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051901-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 13 failed chen 13 failed kim 2 active alice 18 closed kim 11 ready farah 8 failed
failed failed active closed ready failed
ivan 16 failed farah 13 closed eli 2 paused ivan 10 failed hana 9 closed gus 15 active alice 25 pending jules 5 paused
failed closed paused failed closed active pending paused
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0051901
qwen/qwen3.7-plus
awkweave-0051902
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
lina,19,pending bruno,6,active bruno,25,paused ivan,19,failed alice,5,pending bruno,24,pending chen,6,closed farah,8,ready jules,25,active
lina bruno ivan bruno jules
lina,2,closed alice,24,pending gus,17,pending lina,18,ready bruno,9,active hana,23,failed
alice gus lina hana
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051902-p1
From simple comma-separated values without quoted commas, print the first column whenever the second column is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
lina,19,pending bruno,6,active bruno,25,paused ivan,19,failed alice,5,pending bruno,24,pending chen,6,closed farah,8,ready jules,25,active
lina bruno ivan bruno jules
lina,2,closed alice,24,pending gus,17,pending lina,18,ready bruno,9,active hana,23,failed
alice gus lina hana
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051902
qwen/qwen3.7-plus
awkweave-0051903
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
dina cobalt 7 jules birch 33 bruno birch 107 eli delta 11 jules birch 82 gus fable 26
dina cobalt 7 jules birch 33 bruno birch 107 eli delta 11 jules birch 82 gus fable 26
farah amber 113 ivan harbor 41 lina ember 67 dina fable 4 bruno grove 23 alice ember 109 chen harbor 68 dina delta 78
farah amber 113 ivan harbor 41 lina ember 67 dina fable 4 bruno grove 23 alice ember 109 chen harbor 68 dina delta 78
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051903-p1
Strip leading and trailing spaces and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
dina cobalt 7 jules birch 33 bruno birch 107 eli delta 11 jules birch 82 gus fable 26
dina cobalt 7 jules birch 33 bruno birch 107 eli delta 11 jules birch 82 gus fable 26
farah amber 113 ivan harbor 41 lina ember 67 dina fable 4 bruno grove 23 alice ember 109 chen harbor 68 dina delta 78
farah amber 113 ivan harbor 41 lina ember 67 dina fable 4 bruno grove 23 alice ember 109 chen harbor 68 dina delta 78
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051903
qwen/qwen3.7-plus
awkweave-0051904
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus juniper 76 paused jules delta 28 active dina juniper 9 active dina birch 100 closed farah delta 82 closed dina birch 111 failed hana cobalt 10 closed farah indigo 63 pending bruno cobalt 3 paused jules amber 72 closed
farah indigo 63 pending
hana cobalt 69 ready jules delta 26 failed farah amber 99 pending ivan fable 0 ready chen delta 109 paused bruno grove 36 active alice ember 20 paused eli delta 65 failed dina juniper 30 ready eli harbor 10 ready
farah amber 99 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051904-p1
Locate and print the longest line from the input; in case of a tie, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
gus juniper 76 paused jules delta 28 active dina juniper 9 active dina birch 100 closed farah delta 82 closed dina birch 111 failed hana cobalt 10 closed farah indigo 63 pending bruno cobalt 3 paused jules amber 72 closed
farah indigo 63 pending
hana cobalt 69 ready jules delta 26 failed farah amber 99 pending ivan fable 0 ready chen delta 109 paused bruno grove 36 active alice ember 20 paused eli delta 65 failed dina juniper 30 ready eli harbor 10 ready
farah amber 99 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051904
qwen/qwen3.7-plus
awkweave-0051905
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
kim 62 chen 37 farah 3 jules 98 chen 72 gus 51 gus 4
jules 98
ivan 90 bruno 120 hana 107 chen 94 chen 114 eli 1 lina 13
chen 94
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051905-p1
Output every fourth line, beginning with line 4 (i.e., lines 4, 8, etc.).
NR%4==0
kim 62 chen 37 farah 3 jules 98 chen 72 gus 51 gus 4
jules 98
ivan 90 bruno 120 hana 107 chen 94 chen 114 eli 1 lina 13
chen 94
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051905
qwen/qwen3.7-plus
awkweave-0051906
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 17 alpha grove 92 beta grove 103 gamma fable 49 beta harbor 38 beta indigo 48 delta birch 4 gamma indigo 35
4
alpha amber 98 gamma ember 38 beta ember 82 alpha birch 118 gamma indigo 110 alpha harbor 11 delta grove 66 alpha amber 47 alpha amber 78
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051906-p1
Output the total number of unique entries found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 17 alpha grove 92 beta grove 103 gamma fable 49 beta harbor 38 beta indigo 48 delta birch 4 gamma indigo 35
4
alpha amber 98 gamma ember 38 beta ember 82 alpha birch 118 gamma indigo 110 alpha harbor 11 delta grove 66 alpha amber 47 alpha amber 78
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051906
qwen/qwen3.7-plus
awkweave-0051907
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 29 0 alice 5 12 dina 14 12 jules 10 24 hana 10 25 ivan 26 21
alice 0.42 dina 1.17 jules 0.42 hana 0.40 ivan 1.24
lina 28 0 eli 28 16 chen 25 7 chen 24 30 bruno 3 8 ivan 19 28 kim 8 2 kim 27 7 dina 10 27 alice 18 2
eli 1.75 chen 3.57 chen 0.80 bruno 0.38 ivan 0.68 kim 4.00 kim 3.86 dina 0.37 alice 9.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051907-p1
For every row where the third column is not zero, display the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 29 0 alice 5 12 dina 14 12 jules 10 24 hana 10 25 ivan 26 21
alice 0.42 dina 1.17 jules 0.42 hana 0.40 ivan 1.24
lina 28 0 eli 28 16 chen 25 7 chen 24 30 bruno 3 8 ivan 19 28 kim 8 2 kim 27 7 dina 10 27 alice 18 2
eli 1.75 chen 3.57 chen 0.80 bruno 0.38 ivan 0.68 kim 4.00 kim 3.86 dina 0.37 alice 9.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051907
qwen/qwen3.7-plus
awkweave-0051908
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno birch 14 alice amber 15 gus grove 6 lina ember 19 eli birch 19 ivan cobalt 24 kim juniper 20
ivan cobalt 24 kim juniper 20 lina ember 19
lina delta 26 kim delta 20 hana harbor 16 kim fable 4 farah birch 23 farah birch 25 lina ember 22 alice birch 23 dina harbor 17 farah cobalt 27
farah cobalt 27 lina delta 26 farah birch 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051908-p1
Display the three full records with the largest numeric values in column 3, sorted in descending order; maintain the original input sequence for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno birch 14 alice amber 15 gus grove 6 lina ember 19 eli birch 19 ivan cobalt 24 kim juniper 20
ivan cobalt 24 kim juniper 20 lina ember 19
lina delta 26 kim delta 20 hana harbor 16 kim fable 4 farah birch 23 farah birch 25 lina ember 22 alice birch 23 dina harbor 17 farah cobalt 27
farah cobalt 27 lina delta 26 farah birch 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051908
qwen/qwen3.7-plus
awkweave-0051909
Print column 4 followed by column 2 for every record.
{print $4, $2}
jules pending paused eli failed cobalt eli ready active kim failed indigo hana failed active gus closed harbor kim failed closed lina ready grove ivan ready ready chen paused cobalt chen pending active dina paused ember chen failed paused hana paused birch lina paused ready kim pending delta
eli pending kim ready gus failed lina failed chen ready dina pending hana failed kim paused
eli ready pending chen active delta jules pending ready gus failed birch chen failed ready dina paused amber kim paused ready jules pending harbor jules failed closed kim active juniper bruno pending active lina failed cobalt farah pending failed dina pending delta ivan paused pending gus ready juniper eli paused ready...
chen ready gus pending dina failed jules paused kim failed lina pending dina pending gus paused dina paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051909-p1
Output the fourth column followed by the second column for each record.
{print $4, $2}
jules pending paused eli failed cobalt eli ready active kim failed indigo hana failed active gus closed harbor kim failed closed lina ready grove ivan ready ready chen paused cobalt chen pending active dina paused ember chen failed paused hana paused birch lina paused ready kim pending delta
eli pending kim ready gus failed lina failed chen ready dina pending hana failed kim paused
eli ready pending chen active delta jules pending ready gus failed birch chen failed ready dina paused amber kim paused ready jules pending harbor jules failed closed kim active juniper bruno pending active lina failed cobalt farah pending failed dina pending delta ivan paused pending gus ready juniper eli paused ready...
chen ready gus pending dina failed jules paused kim failed lina pending dina pending gus paused dina paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051909
qwen/qwen3.7-plus
awkweave-0051910
Print the last field of every input line.
{print $NF}
107 gus chen 33 dina chen 98 jules farah 108 alice gus 60 alice eli 54 eli kim 24 lina lina
chen chen farah gus eli kim lina
8 chen alice 120 bruno chen 100 farah farah 22 hana eli 102 jules kim 106 eli hana 2 bruno farah
alice chen farah eli kim hana farah
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051910-p1
Print the final field from every line of input.
{print $NF}
107 gus chen 33 dina chen 98 jules farah 108 alice gus 60 alice eli 54 eli kim 24 lina lina
chen chen farah gus eli kim lina
8 chen alice 120 bruno chen 100 farah farah 22 hana eli 102 jules kim 106 eli hana 2 bruno farah
alice chen farah eli kim hana farah
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051910
qwen/qwen3.7-plus
awkweave-0051911
Print the complete records where column 3 is less than 35.
$3 < 35
active closed 89 jules pending pending failed 114 dina failed paused ready 8 kim active paused ready 94 chen failed paused closed 106 lina active ready closed 17 kim active closed closed 101 jules failed active active 120 lina paused pending active 43 farah pending ready paused 6 kim paused
paused ready 8 kim active ready closed 17 kim active ready paused 6 kim paused
failed pending 97 hana paused pending ready 60 alice ready active ready 79 ivan active failed ready 32 hana closed failed paused 106 lina closed paused paused 95 alice active ready closed 53 gus closed
failed ready 32 hana closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051911-p1
Output the entire records for which the value in column 3 is strictly less than 35.
$3 < 35
active closed 89 jules pending pending failed 114 dina failed paused ready 8 kim active paused ready 94 chen failed paused closed 106 lina active ready closed 17 kim active closed closed 101 jules failed active active 120 lina paused pending active 43 farah pending ready paused 6 kim paused
paused ready 8 kim active ready closed 17 kim active ready paused 6 kim paused
failed pending 97 hana paused pending ready 60 alice ready active ready 79 ivan active failed ready 32 hana closed failed paused 106 lina closed paused paused 95 alice active ready closed 53 gus closed
failed ready 32 hana closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051911
qwen/qwen3.7-plus
awkweave-0051912
Show whole lines whose 1st field is between 12 and 18, inclusive.
$1 >= 12 && $1 <= 18
26 active fable closed 25 failed juniper active 7 paused cobalt failed 12 ready ember pending 10 closed cobalt pending 10 active delta paused 27 ready amber paused 3 failed amber ready 25 failed ember paused 2 pending harbor closed
12 ready ember pending
13 pending fable active 16 failed grove ready 16 pending juniper paused 14 pending delta active 25 pending fable pending 5 paused grove active 20 paused harbor active 15 paused grove active 4 closed fable pending
13 pending fable active 16 failed grove ready 16 pending juniper paused 14 pending delta active 15 paused grove active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051912-p1
Display complete lines where the first field falls within the inclusive range of 12 to 18.
$1 >= 12 && $1 <= 18
26 active fable closed 25 failed juniper active 7 paused cobalt failed 12 ready ember pending 10 closed cobalt pending 10 active delta paused 27 ready amber paused 3 failed amber ready 25 failed ember paused 2 pending harbor closed
12 ready ember pending
13 pending fable active 16 failed grove ready 16 pending juniper paused 14 pending delta active 25 pending fable pending 5 paused grove active 20 paused harbor active 15 paused grove active 4 closed fable pending
13 pending fable active 16 failed grove ready 16 pending juniper paused 14 pending delta active 15 paused grove active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051912
qwen/qwen3.7-plus
awkweave-0051913
Print column 1 only for rows where column 2 is exactly closed.
$2 == "closed"{print $1}
jules failed delta 81 eli closed ember 9 farah active indigo 22 alice closed harbor 3 jules ready cobalt 60 gus pending harbor 58 dina paused cobalt 20
eli alice
bruno pending ember 59 jules paused amber 81 lina active amber 85 jules pending indigo 103 chen closed fable 15 ivan pending delta 61 chen paused amber 118 jules ready juniper 37 hana active delta 89 gus ready fable 35
chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051913-p1
Output only the first column for rows where the second column matches the exact string 'closed'.
$2 == "closed"{print $1}
jules failed delta 81 eli closed ember 9 farah active indigo 22 alice closed harbor 3 jules ready cobalt 60 gus pending harbor 58 dina paused cobalt 20
eli alice
bruno pending ember 59 jules paused amber 81 lina active amber 85 jules pending indigo 103 chen closed fable 15 ivan pending delta 61 chen paused amber 118 jules ready juniper 37 hana active delta 89 gus ready fable 35
chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051913
qwen/qwen3.7-plus
awkweave-0051914
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
grove 103 INFO juniper 109 INFO amber 65 WARN cobalt 39 INFO ember 53 WARN ember 28 ERROR delta 72 WARN amber 57 DEBUG grove 62 DEBUG
grove 103 INFO juniper 109 INFO cobalt 39 INFO
delta 115 DEBUG fable 119 INFO cobalt 101 INFO grove 15 INFO delta 65 ERROR ember 95 ERROR ember 103 INFO
fable 119 INFO cobalt 101 INFO grove 15 INFO ember 103 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051914-p1
Print all fields from lines where the third field starts with the prefix 'INFO'.
$3 ~ /^INFO/
grove 103 INFO juniper 109 INFO amber 65 WARN cobalt 39 INFO ember 53 WARN ember 28 ERROR delta 72 WARN amber 57 DEBUG grove 62 DEBUG
grove 103 INFO juniper 109 INFO cobalt 39 INFO
delta 115 DEBUG fable 119 INFO cobalt 101 INFO grove 15 INFO delta 65 ERROR ember 95 ERROR ember 103 INFO
fable 119 INFO cobalt 101 INFO grove 15 INFO ember 103 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051914
qwen/qwen3.7-plus
awkweave-0051915
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
fable 5 pending amber 92 ready delta 115 ready fable 99 closed indigo 102 failed harbor 68 pending delta 6 paused indigo 89 paused birch 32 failed indigo 999 active
fable 5 pending amber 92 ready delta 115 ready fable 99 closed harbor 68 pending delta 6 paused birch 32 failed
ember 75 pending cobalt 107 failed fable 92 paused amber 52 pending indigo 114 closed ember 93 ready juniper 62 failed indigo 120 paused cobalt 13 paused juniper 76 ready indigo 999 active
ember 75 pending cobalt 107 failed fable 92 paused amber 52 pending ember 93 ready juniper 62 failed cobalt 13 paused juniper 76 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051915-p1
Output every line that does not contain the exact substring 'indigo'.
$0 !~ /indigo/
fable 5 pending amber 92 ready delta 115 ready fable 99 closed indigo 102 failed harbor 68 pending delta 6 paused indigo 89 paused birch 32 failed indigo 999 active
fable 5 pending amber 92 ready delta 115 ready fable 99 closed harbor 68 pending delta 6 paused birch 32 failed
ember 75 pending cobalt 107 failed fable 92 paused amber 52 pending indigo 114 closed ember 93 ready juniper 62 failed indigo 120 paused cobalt 13 paused juniper 76 ready indigo 999 active
ember 75 pending cobalt 107 failed fable 92 paused amber 52 pending ember 93 ready juniper 62 failed cobalt 13 paused juniper 76 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051915
qwen/qwen3.7-plus
awkweave-0051916
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
kim cobalt 90 chen ember 74 chen ember 51 bruno harbor 67 dina amber 74 ivan cobalt 22 gus fable 88
chen ember 74 chen ember 51
gus cobalt 38 eli grove 102 dina cobalt 36 chen juniper 21 bruno fable 43 jules birch 34 chen fable 37 farah fable 49 ivan amber 98 alice cobalt 30
eli grove 102 dina cobalt 36
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051916-p1
Print lines 2 through 3, inclusive.
NR >= 2 && NR <= 3
kim cobalt 90 chen ember 74 chen ember 51 bruno harbor 67 dina amber 74 ivan cobalt 22 gus fable 88
chen ember 74 chen ember 51
gus cobalt 38 eli grove 102 dina cobalt 36 chen juniper 21 bruno fable 43 jules birch 34 chen fable 37 farah fable 49 ivan amber 98 alice cobalt 30
eli grove 102 dina cobalt 36
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051916
qwen/qwen3.7-plus
awkweave-0051917
Output only the first 3 records.
NR <= 3
hana 71 grove eli 86 birch alice 83 fable alice 114 harbor kim 73 grove eli 112 grove chen 7 indigo
hana 71 grove eli 86 birch alice 83 fable
bruno 75 delta eli 100 grove bruno 18 cobalt gus 15 birch hana 61 delta farah 96 birch bruno 84 ember
bruno 75 delta eli 100 grove bruno 18 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051917-p1
Output only the first three records.
NR <= 3
hana 71 grove eli 86 birch alice 83 fable alice 114 harbor kim 73 grove eli 112 grove chen 7 indigo
hana 71 grove eli 86 birch alice 83 fable
bruno 75 delta eli 100 grove bruno 18 cobalt gus 15 birch hana 61 delta farah 96 birch bruno 84 ember
bruno 75 delta eli 100 grove bruno 18 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051917
qwen/qwen3.7-plus
awkweave-0051918
Skip the first line and print every remaining line unchanged.
NR > 1
alice 101 cobalt bruno 117 delta chen 109 indigo bruno 31 amber gus 56 juniper alice 99 delta dina 56 grove ivan 109 amber alice 109 delta
bruno 117 delta chen 109 indigo bruno 31 amber gus 56 juniper alice 99 delta dina 56 grove ivan 109 amber alice 109 delta
alice 15 juniper chen 80 fable chen 80 harbor chen 6 ember alice 103 amber ivan 100 amber eli 25 delta ivan 30 delta alice 80 juniper
chen 80 fable chen 80 harbor chen 6 ember alice 103 amber ivan 100 amber eli 25 delta ivan 30 delta alice 80 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051918-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
alice 101 cobalt bruno 117 delta chen 109 indigo bruno 31 amber gus 56 juniper alice 99 delta dina 56 grove ivan 109 amber alice 109 delta
bruno 117 delta chen 109 indigo bruno 31 amber gus 56 juniper alice 99 delta dina 56 grove ivan 109 amber alice 109 delta
alice 15 juniper chen 80 fable chen 80 harbor chen 6 ember alice 103 amber ivan 100 amber eli 25 delta ivan 30 delta alice 80 juniper
chen 80 fable chen 80 harbor chen 6 ember alice 103 amber ivan 100 amber eli 25 delta ivan 30 delta alice 80 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051918
qwen/qwen3.7-plus
awkweave-0051919
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
hana paused 107 chen closed 42 chen paused 98 farah closed 41 kim closed 49 ivan paused 64
3
jules failed 17 kim closed 72 gus paused 85 hana pending 101 gus failed 105 lina ready 34
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051919-p1
Determine the number of entries where column 2 contains 'closed', outputting 0 if no such entries exist.
$2 == "closed"{n++}END{print n+0}
hana paused 107 chen closed 42 chen paused 98 farah closed 41 kim closed 49 ivan paused 64
3
jules failed 17 kim closed 72 gus paused 85 hana pending 101 gus failed 105 lina ready 34
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051919
qwen/qwen3.7-plus
awkweave-0051920
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
fable 24 bruno indigo 7 lina grove 11 bruno amber 28 eli indigo 30 jules cobalt 18 farah juniper 27 ivan grove 9 eli
154
indigo 25 eli juniper 23 lina juniper 10 kim amber 1 chen juniper 14 jules grove 5 kim
78
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051920-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
fable 24 bruno indigo 7 lina grove 11 bruno amber 28 eli indigo 30 jules cobalt 18 farah juniper 27 ivan grove 9 eli
154
indigo 25 eli juniper 23 lina juniper 10 kim amber 1 chen juniper 14 jules grove 5 kim
78
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051920
qwen/qwen3.7-plus
awkweave-0051921
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 17 juniper eli 7 indigo hana 26 birch chen 9 birch bruno 2 harbor farah 18 grove lina 25 delta lina 12 delta
14.50
ivan 12 fable dina 25 indigo eli 14 ember gus 25 fable gus 5 harbor jules 10 indigo kim 4 fable ivan 27 harbor ivan 24 birch
16.22
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051921-p1
Output the average of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 17 juniper eli 7 indigo hana 26 birch chen 9 birch bruno 2 harbor farah 18 grove lina 25 delta lina 12 delta
14.50
ivan 12 fable dina 25 indigo eli 14 ember gus 25 fable gus 5 harbor jules 10 indigo kim 4 fable ivan 27 harbor ivan 24 birch
16.22
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051921
qwen/qwen3.7-plus
awkweave-0051922
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 20 indigo dina 13 juniper dina 11 indigo alice 19 delta gus 23 indigo eli 18 cobalt ivan 8 fable hana 6 juniper
6
dina 26 cobalt ivan 20 grove jules 16 harbor hana 17 grove lina 26 grove dina 15 amber ivan 9 birch ivan 25 delta
9
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051922-p1
Identify and display the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 20 indigo dina 13 juniper dina 11 indigo alice 19 delta gus 23 indigo eli 18 cobalt ivan 8 fable hana 6 juniper
6
dina 26 cobalt ivan 20 grove jules 16 harbor hana 17 grove lina 26 grove dina 15 amber ivan 9 birch ivan 25 delta
9
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051922
qwen/qwen3.7-plus
awkweave-0051923
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
eli indigo 21 eli fable 27 chen juniper 5 eli amber 26 dina ember 3 jules amber 12
27
kim indigo 4 lina indigo 23 eli juniper 18 hana grove 21 hana grove 6 kim cobalt 21
23
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051923-p1
Identify and display the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
eli indigo 21 eli fable 27 chen juniper 5 eli amber 26 dina ember 3 jules amber 12
27
kim indigo 4 lina indigo 23 eli juniper 18 hana grove 21 hana grove 6 kim cobalt 21
23
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051923
qwen/qwen3.7-plus
awkweave-0051924
Count all input records and print the total.
END{print NR}
gus 78 chen 64 dina 70 lina 83 gus 86 lina 35
6
hana 51 lina 20 kim 4 eli 38 kim 85 dina 88 alice 8 jules 8
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051924-p1
Count the total number of input records and print the result.
END{print NR}
gus 78 chen 64 dina 70 lina 83 gus 86 lina 35
6
hana 51 lina 20 kim 4 eli 38 kim 85 dina 88 alice 8 jules 8
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051924
qwen/qwen3.7-plus
awkweave-0051925
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina cobalt 67 ivan cobalt 108 gus indigo 84 jules fable 46 farah juniper 111 gus indigo 92 hana grove 67 lina amber 58 chen cobalt 71 lina amber 58 bruno grove 83
lina cobalt 67 ivan cobalt 108 gus indigo 84 jules fable 46 farah juniper 111 gus indigo 92 hana grove 67 lina amber 58 chen cobalt 71 bruno grove 83
lina fable 21 gus fable 68 eli amber 17 gus fable 80 hana ember 78 lina juniper 31 farah amber 94 ivan harbor 22 ivan harbor 22
lina fable 21 gus fable 68 eli amber 17 gus fable 80 hana ember 78 lina juniper 31 farah amber 94 ivan harbor 22
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051925-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
lina cobalt 67 ivan cobalt 108 gus indigo 84 jules fable 46 farah juniper 111 gus indigo 92 hana grove 67 lina amber 58 chen cobalt 71 lina amber 58 bruno grove 83
lina cobalt 67 ivan cobalt 108 gus indigo 84 jules fable 46 farah juniper 111 gus indigo 92 hana grove 67 lina amber 58 chen cobalt 71 bruno grove 83
lina fable 21 gus fable 68 eli amber 17 gus fable 80 hana ember 78 lina juniper 31 farah amber 94 ivan harbor 22 ivan harbor 22
lina fable 21 gus fable 68 eli amber 17 gus fable 80 hana ember 78 lina juniper 31 farah amber 94 ivan harbor 22
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051925
qwen/qwen3.7-plus
awkweave-0051926
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
lina indigo 56 bruno delta 0 gus birch 118 bruno amber 75 dina birch 109 kim juniper 41 eli juniper 47 kim juniper 6 jules amber 42
lina indigo 56 bruno delta 0 gus birch 118 bruno amber 75 kim juniper 41
alice amber 103 eli amber 82 hana juniper 83 gus harbor 45 dina juniper 22 gus cobalt 116 ivan birch 61 dina birch 117 chen delta 11
alice amber 103 hana juniper 83 gus harbor 45 gus cobalt 116 ivan birch 61 chen delta 11
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051926-p1
Retain only the first row for each unique value in column 2, preserving the original order.
!seen[$2]++
lina indigo 56 bruno delta 0 gus birch 118 bruno amber 75 dina birch 109 kim juniper 41 eli juniper 47 kim juniper 6 jules amber 42
lina indigo 56 bruno delta 0 gus birch 118 bruno amber 75 kim juniper 41
alice amber 103 eli amber 82 hana juniper 83 gus harbor 45 dina juniper 22 gus cobalt 116 ivan birch 61 dina birch 117 chen delta 11
alice amber 103 hana juniper 83 gus harbor 45 gus cobalt 116 ivan birch 61 chen delta 11
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051926
qwen/qwen3.7-plus
awkweave-0051927
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 24 harbor kim 10 amber kim 29 juniper farah 13 indigo kim 17 amber bruno 2 fable eli 19 delta gus 12 fable
ivan 24 kim 34 kim 63 farah 76 kim 93 bruno 95 eli 114 gus 126
eli 23 grove kim 18 amber dina 18 birch hana 14 ember eli 17 delta lina 4 delta hana 2 ember alice 8 juniper
eli 23 kim 41 dina 59 hana 73 eli 90 lina 94 hana 96 alice 104
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051927-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 24 harbor kim 10 amber kim 29 juniper farah 13 indigo kim 17 amber bruno 2 fable eli 19 delta gus 12 fable
ivan 24 kim 34 kim 63 farah 76 kim 93 bruno 95 eli 114 gus 126
eli 23 grove kim 18 amber dina 18 birch hana 14 ember eli 17 delta lina 4 delta hana 2 ember alice 8 juniper
eli 23 kim 41 dina 59 hana 73 eli 90 lina 94 hana 96 alice 104
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051927
qwen/qwen3.7-plus
awkweave-0051928
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 30 17 cobalt alice 4 13 birch gus 13 3 harbor jules 29 28 birch gus 28 12 ember alice 12 23 ember jules 6 21 ember hana 1 28 cobalt ivan 9 18 indigo eli 1 24 indigo
bruno 47 alice 17 gus 16 jules 57 gus 40 alice 35 jules 27 hana 29 ivan 27 eli 25
lina 26 22 amber farah 17 10 cobalt bruno 29 6 fable jules 7 22 fable chen 14 2 juniper dina 14 6 ember chen 22 6 grove eli 30 26 harbor hana 20 26 ember hana 24 27 grove
lina 48 farah 27 bruno 35 jules 29 chen 16 dina 20 chen 28 eli 56 hana 46 hana 51
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051928-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 30 17 cobalt alice 4 13 birch gus 13 3 harbor jules 29 28 birch gus 28 12 ember alice 12 23 ember jules 6 21 ember hana 1 28 cobalt ivan 9 18 indigo eli 1 24 indigo
bruno 47 alice 17 gus 16 jules 57 gus 40 alice 35 jules 27 hana 29 ivan 27 eli 25
lina 26 22 amber farah 17 10 cobalt bruno 29 6 fable jules 7 22 fable chen 14 2 juniper dina 14 6 ember chen 22 6 grove eli 30 26 harbor hana 20 26 ember hana 24 27 grove
lina 48 farah 27 bruno 35 jules 29 chen 16 dina 20 chen 28 eli 56 hana 46 hana 51
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051928
qwen/qwen3.7-plus
awkweave-0051929
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
chen 25 kim 14 alice 16 chen 11 farah 3 farah 29 jules 20 hana 21 jules 3 hana 20
chen fail kim fail alice fail chen fail farah fail farah pass jules fail hana fail jules fail hana fail
kim 26 bruno 2 lina 3 hana 12 farah 14 dina 4 bruno 25 dina 1 dina 17 jules 16
kim fail bruno fail lina fail hana fail farah fail dina fail bruno fail dina fail dina fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051929-p1
Output column 1 with 'pass' if column 2 is 27 or greater, otherwise output 'fail'.
{print $1,($2>=27?"pass":"fail")}
chen 25 kim 14 alice 16 chen 11 farah 3 farah 29 jules 20 hana 21 jules 3 hana 20
chen fail kim fail alice fail chen fail farah fail farah pass jules fail hana fail jules fail hana fail
kim 26 bruno 2 lina 3 hana 12 farah 14 dina 4 bruno 25 dina 1 dina 17 jules 16
kim fail bruno fail lina fail hana fail farah fail dina fail bruno fail dina fail dina fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051929
qwen/qwen3.7-plus
awkweave-0051930
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
ivan delta 90 chen indigo 105 hana ember 98 gus fable 83 ivan delta 67 kim birch 56 gus delta 46 gus delta 33 lina fable 110 ivan ember 101
IVAN CHEN HANA GUS IVAN KIM GUS GUS LINA IVAN
jules grove 86 hana birch 30 eli harbor 52 chen fable 80 jules indigo 31 dina cobalt 103
JULES HANA ELI CHEN JULES DINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051930-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
ivan delta 90 chen indigo 105 hana ember 98 gus fable 83 ivan delta 67 kim birch 56 gus delta 46 gus delta 33 lina fable 110 ivan ember 101
IVAN CHEN HANA GUS IVAN KIM GUS GUS LINA IVAN
jules grove 86 hana birch 30 eli harbor 52 chen fable 80 jules indigo 31 dina cobalt 103
JULES HANA ELI CHEN JULES DINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051930
qwen/qwen3.7-plus
awkweave-0051931
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
ember 5 indigo 27 fable 2 grove 32 ember 71 indigo 56 amber 21 fable 58 ember 21 grove 22
ber dig ble ove ber dig ber ble ber ove
juniper 98 delta 64 harbor 80 juniper 37 grove 36 fable 38 grove 2
nip lta rbo nip ove ble ove
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051931-p1
Extract and print a 3-character substring from column 1, beginning at the third character.
{print substr($1,3,3)}
ember 5 indigo 27 fable 2 grove 32 ember 71 indigo 56 amber 21 fable 58 ember 21 grove 22
ber dig ble ove ber dig ber ble ber ove
juniper 98 delta 64 harbor 80 juniper 37 grove 36 fable 38 grove 2
nip lta rbo nip ove ble ove
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051931
qwen/qwen3.7-plus
awkweave-0051932
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_harbor 79 cobalt_juniper 7 juniper_delta 58 juniper_ember 73 cobalt_birch 96 harbor_cobalt 102 fable_delta 55
amber harbor cobalt juniper juniper delta juniper ember cobalt birch harbor cobalt fable delta
juniper_cobalt 5 harbor_ember 90 cobalt_harbor 77 delta_delta 2 fable_amber 75 ember_ember 58 fable_juniper 55 harbor_amber 118
juniper cobalt harbor ember cobalt harbor delta delta fable amber ember ember fable juniper harbor amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051932-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
amber_harbor 79 cobalt_juniper 7 juniper_delta 58 juniper_ember 73 cobalt_birch 96 harbor_cobalt 102 fable_delta 55
amber harbor cobalt juniper juniper delta juniper ember cobalt birch harbor cobalt fable delta
juniper_cobalt 5 harbor_ember 90 cobalt_harbor 77 delta_delta 2 fable_amber 75 ember_ember 58 fable_juniper 55 harbor_amber 118
juniper cobalt harbor ember cobalt harbor delta delta fable amber ember ember fable juniper harbor amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051932
qwen/qwen3.7-plus
awkweave-0051933
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)}
bruno indigo 37 failed jules amber 15 ready eli harbor 98 failed ivan fable 19 ready eli fable 61 closed dina grove 6 failed hana birch 72 ready dina juniper 24 failed
failed 37 indigo bruno ready 15 amber jules failed 98 harbor eli ready 19 fable ivan closed 61 fable eli failed 6 grove dina ready 72 birch hana failed 24 juniper dina
chen harbor 114 failed eli fable 107 paused gus indigo 22 ready dina juniper 39 pending kim harbor 69 closed hana harbor 83 active hana amber 113 failed hana birch 85 active hana harbor 28 active
failed 114 harbor chen paused 107 fable eli ready 22 indigo gus pending 39 juniper dina closed 69 harbor kim active 83 harbor hana failed 113 amber hana active 85 birch hana active 28 harbor hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051933-p1
Reverse the sequence of fields on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno indigo 37 failed jules amber 15 ready eli harbor 98 failed ivan fable 19 ready eli fable 61 closed dina grove 6 failed hana birch 72 ready dina juniper 24 failed
failed 37 indigo bruno ready 15 amber jules failed 98 harbor eli ready 19 fable ivan closed 61 fable eli failed 6 grove dina ready 72 birch hana failed 24 juniper dina
chen harbor 114 failed eli fable 107 paused gus indigo 22 ready dina juniper 39 pending kim harbor 69 closed hana harbor 83 active hana amber 113 failed hana birch 85 active hana harbor 28 active
failed 114 harbor chen paused 107 fable eli ready 22 indigo gus pending 39 juniper dina closed 69 harbor kim active 83 harbor hana failed 113 amber hana active 85 birch hana active 28 harbor hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051933
qwen/qwen3.7-plus
awkweave-0051934
Print the number of whitespace-separated fields on each line.
{print NF}
eli ember 105 closed dina harbor 81 ready hana birch 23 closed ivan grove 112 active gus harbor 92 failed bruno grove 40 failed
4 4 4 4 4 4
lina indigo 8 ready dina ember 83 paused jules fable 73 closed gus indigo 68 pending hana amber 56 closed kim ember 58 paused eli amber 95 ready
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051934-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
eli ember 105 closed dina harbor 81 ready hana birch 23 closed ivan grove 112 active gus harbor 92 failed bruno grove 40 failed
4 4 4 4 4 4
lina indigo 8 ready dina ember 83 paused jules fable 73 closed gus indigo 68 pending hana amber 56 closed kim ember 58 paused eli amber 95 ready
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051934
qwen/qwen3.7-plus
awkweave-0051935
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]]}
kim delta 54 lina beta 51 bruno alpha 13 ivan delta 102 dina delta 59 kim alpha 88 gus delta 2 hana delta 72
delta 5 beta 1 alpha 2
bruno alpha 109 farah gamma 30 hana alpha 80 bruno beta 54 gus beta 36 lina beta 34 gus delta 6 lina gamma 3 jules gamma 65 gus beta 72
alpha 2 gamma 3 beta 4 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051935-p1
Tally the records for each unique value in column 2, listing each 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]]}
kim delta 54 lina beta 51 bruno alpha 13 ivan delta 102 dina delta 59 kim alpha 88 gus delta 2 hana delta 72
delta 5 beta 1 alpha 2
bruno alpha 109 farah gamma 30 hana alpha 80 bruno beta 54 gus beta 36 lina beta 34 gus delta 6 lina gamma 3 jules gamma 65 gus beta 72
alpha 2 gamma 3 beta 4 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051935
qwen/qwen3.7-plus
awkweave-0051936
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]]}
alice delta 12 gus alpha 19 kim delta 26 dina alpha 29 chen delta 19 alice beta 22
delta 57 alpha 48 beta 22
bruno alpha 16 lina gamma 25 jules delta 30 chen beta 14 hana delta 10 hana alpha 11
alpha 27 gamma 25 delta 40 beta 14
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051936-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying 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]]}
alice delta 12 gus alpha 19 kim delta 26 dina alpha 29 chen delta 19 alice beta 22
delta 57 alpha 48 beta 22
bruno alpha 16 lina gamma 25 jules delta 30 chen beta 14 hana delta 10 hana alpha 11
alpha 27 gamma 25 delta 40 beta 14
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051936
qwen/qwen3.7-plus
awkweave-0051937
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 grove 72 delta birch 98 beta delta 22 gamma grove 4 alpha amber 102 gamma cobalt 68
gamma 3
gamma cobalt 104 alpha harbor 84 delta harbor 109 alpha ember 39 delta fable 87 alpha amber 20
alpha 3 delta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051937-p1
List each duplicate value from column 1 along with its 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 grove 72 delta birch 98 beta delta 22 gamma grove 4 alpha amber 102 gamma cobalt 68
gamma 3
gamma cobalt 104 alpha harbor 84 delta harbor 109 alpha ember 39 delta fable 87 alpha amber 20
alpha 3 delta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051937
qwen/qwen3.7-plus
awkweave-0051938
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"]}
note record_id score region r001 farah 14 paused r002 dina 30 failed r003 hana 5 paused r004 jules 9 ready r005 eli 2 ready r006 ivan 6 ready
farah dina hana jules eli ivan
note record_id score region r001 ivan 26 paused r002 jules 22 paused r003 ivan 5 ready r004 hana 28 closed r005 kim 26 closed r006 kim 5 failed r007 hana 26 failed r008 hana 10 active
ivan jules ivan hana kim kim hana hana
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051938-p1
Treating the first row as a header, output the record_id column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
note record_id score region r001 farah 14 paused r002 dina 30 failed r003 hana 5 paused r004 jules 9 ready r005 eli 2 ready r006 ivan 6 ready
farah dina hana jules eli ivan
note record_id score region r001 ivan 26 paused r002 jules 22 paused r003 ivan 5 ready r004 hana 28 closed r005 kim 26 closed r006 kim 5 failed r007 hana 26 failed r008 hana 10 active
ivan jules ivan hana kim kim hana hana
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051938
qwen/qwen3.7-plus
awkweave-0051939
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 alice 14 active r002 eli 29 pending r003 lina 17 failed r004 hana 1 ready r005 bruno 29 pending r006 bruno 10 paused r007 ivan 13 ready
alice eli lina bruno ivan
record_id display_name score state r001 farah 21 failed r002 farah 24 ready r003 dina 2 active r004 kim 24 active r005 alice 16 paused r006 jules 18 active
farah farah kim alice jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051939-p1
With the first row as a header, print the display_name for data rows where the score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 alice 14 active r002 eli 29 pending r003 lina 17 failed r004 hana 1 ready r005 bruno 29 pending r006 bruno 10 paused r007 ivan 13 ready
alice eli lina bruno ivan
record_id display_name score state r001 farah 21 failed r002 farah 24 ready r003 dina 2 active r004 kim 24 active r005 alice 16 paused r006 jules 18 active
farah farah kim alice jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051939
qwen/qwen3.7-plus
awkweave-0051940
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 6 pending ivan 26 pending ivan 14 paused ivan 22 ready gus 29 closed eli 29 paused
6 26 14 22 29 29
chen 8 active lina 12 pending alice 30 closed ivan 5 pending dina 17 ready ivan 15 closed jules 9 paused
8 12 30 5 17 15 9
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051940-p1
Given tab-separated input, output the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 6 pending ivan 26 pending ivan 14 paused ivan 22 ready gus 29 closed eli 29 paused
6 26 14 22 29 29
chen 8 active lina 12 pending alice 30 closed ivan 5 pending dina 17 ready ivan 15 closed jules 9 paused
8 12 30 5 17 15 9
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051940
qwen/qwen3.7-plus
awkweave-0051941
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}
eli,12,closed eli,16,ready jules,20,active alice,24,pending eli,1,paused bruno,28,failed
eli jules alice bruno
jules,14,pending bruno,29,paused alice,17,ready alice,10,failed farah,19,paused ivan,5,pending bruno,25,pending bruno,24,paused lina,4,pending
bruno alice farah bruno bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051941-p1
For simple comma-separated input without quoted commas, print column 1 whenever column 2 is greater than 14.
BEGIN{FS=OFS=","}$2>14{print $1}
eli,12,closed eli,16,ready jules,20,active alice,24,pending eli,1,paused bruno,28,failed
eli jules alice bruno
jules,14,pending bruno,29,paused alice,17,ready alice,10,failed farah,19,paused ivan,5,pending bruno,25,pending bruno,24,paused lina,4,pending
bruno alice farah bruno bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051941
qwen/qwen3.7-plus
awkweave-0051942
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah indigo 94 kim cobalt 23 farah juniper 116 chen juniper 0 ivan harbor 37 bruno indigo 20 eli amber 102
farah indigo 94 kim cobalt 23 farah juniper 116 chen juniper 0 ivan harbor 37 bruno indigo 20 eli amber 102
hana indigo 61 chen indigo 82 alice juniper 98 eli harbor 109 chen indigo 78 ivan birch 11 bruno cobalt 30 hana grove 44
hana indigo 61 chen indigo 82 alice juniper 98 eli harbor 109 chen indigo 78 ivan birch 11 bruno cobalt 30 hana grove 44
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null