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-0021381
Skip the first line and print every remaining line unchanged.
NR > 1
lina 11 juniper lina 39 cobalt dina 78 ember alice 37 juniper kim 74 ember hana 49 grove dina 13 indigo alice 59 grove alice 14 cobalt jules 75 ember
lina 39 cobalt dina 78 ember alice 37 juniper kim 74 ember hana 49 grove dina 13 indigo alice 59 grove alice 14 cobalt jules 75 ember
gus 79 grove gus 74 amber chen 55 cobalt alice 69 ember hana 60 harbor bruno 81 indigo chen 13 ember dina 56 harbor gus 40 amber
gus 74 amber chen 55 cobalt alice 69 ember hana 60 harbor bruno 81 indigo chen 13 ember dina 56 harbor gus 40 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021381-p1
Omit the first line and print the rest of the lines as they are.
NR > 1
lina 11 juniper lina 39 cobalt dina 78 ember alice 37 juniper kim 74 ember hana 49 grove dina 13 indigo alice 59 grove alice 14 cobalt jules 75 ember
lina 39 cobalt dina 78 ember alice 37 juniper kim 74 ember hana 49 grove dina 13 indigo alice 59 grove alice 14 cobalt jules 75 ember
gus 79 grove gus 74 amber chen 55 cobalt alice 69 ember hana 60 harbor bruno 81 indigo chen 13 ember dina 56 harbor gus 40 amber
gus 74 amber chen 55 cobalt alice 69 ember hana 60 harbor bruno 81 indigo chen 13 ember dina 56 harbor gus 40 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021381
qwen/qwen3.7-plus
awkweave-0021382
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
hana pending 11 lina ready 28 dina failed 9 eli closed 19 jules ready 74 jules paused 113 gus failed 47 eli paused 107 farah closed 91
1
bruno paused 67 eli ready 53 alice active 90 bruno active 37 ivan pending 23 alice paused 29 eli ready 101
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021382-p1
Count the number of records where column 2 is pending; output 0 if the count is zero.
$2 == "pending"{n++}END{print n+0}
hana pending 11 lina ready 28 dina failed 9 eli closed 19 jules ready 74 jules paused 113 gus failed 47 eli paused 107 farah closed 91
1
bruno paused 67 eli ready 53 alice active 90 bruno active 37 ivan pending 23 alice paused 29 eli ready 101
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021382
qwen/qwen3.7-plus
awkweave-0021383
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
amber 4 hana amber 24 kim grove 16 ivan harbor 26 gus harbor 12 ivan amber 24 bruno juniper 17 lina amber 26 bruno juniper 22 ivan
171
harbor 8 kim cobalt 16 ivan delta 28 lina indigo 26 kim harbor 16 bruno delta 5 bruno birch 22 alice indigo 14 chen grove 16 hana amber 12 bruno
163
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021383-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
amber 4 hana amber 24 kim grove 16 ivan harbor 26 gus harbor 12 ivan amber 24 bruno juniper 17 lina amber 26 bruno juniper 22 ivan
171
harbor 8 kim cobalt 16 ivan delta 28 lina indigo 26 kim harbor 16 bruno delta 5 bruno birch 22 alice indigo 14 chen grove 16 hana amber 12 bruno
163
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021383
qwen/qwen3.7-plus
awkweave-0021384
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 11 jules ember 21 farah amber 2 chen cobalt 25 hana grove 8 lina indigo 19 alice juniper 1 chen grove 25 farah juniper 26 alice indigo 16 alice
15.40
cobalt 19 farah ember 14 gus harbor 28 jules delta 22 farah amber 23 ivan ember 26 bruno indigo 17 hana amber 7 dina
19.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021384-p1
Calculate the average of values in column 2 and print it rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 11 jules ember 21 farah amber 2 chen cobalt 25 hana grove 8 lina indigo 19 alice juniper 1 chen grove 25 farah juniper 26 alice indigo 16 alice
15.40
cobalt 19 farah ember 14 gus harbor 28 jules delta 22 farah amber 23 ivan ember 26 bruno indigo 17 hana amber 7 dina
19.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021384
qwen/qwen3.7-plus
awkweave-0021385
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
jules 17 grove dina 25 fable eli 19 cobalt chen 26 ember kim 19 fable eli 17 indigo alice 16 birch lina 4 juniper chen 5 delta ivan 4 juniper
4
lina 13 delta ivan 24 harbor gus 6 juniper dina 18 delta farah 30 amber hana 21 birch chen 12 fable chen 7 birch dina 24 grove kim 13 grove
6
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021385-p1
Identify and output the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
jules 17 grove dina 25 fable eli 19 cobalt chen 26 ember kim 19 fable eli 17 indigo alice 16 birch lina 4 juniper chen 5 delta ivan 4 juniper
4
lina 13 delta ivan 24 harbor gus 6 juniper dina 18 delta farah 30 amber hana 21 birch chen 12 fable chen 7 birch dina 24 grove kim 13 grove
6
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021385
qwen/qwen3.7-plus
awkweave-0021386
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
delta 15 alice cobalt 7 jules birch 3 bruno delta 3 chen ember 22 ivan ember 13 gus
22
juniper 10 eli delta 6 eli grove 29 eli cobalt 26 kim amber 30 ivan cobalt 28 bruno
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021386-p1
Identify and output the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
delta 15 alice cobalt 7 jules birch 3 bruno delta 3 chen ember 22 ivan ember 13 gus
22
juniper 10 eli delta 6 eli grove 29 eli cobalt 26 kim amber 30 ivan cobalt 28 bruno
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021386
qwen/qwen3.7-plus
awkweave-0021387
Count all input records and print the total.
END{print NR}
lina 23 hana 18 gus 112 alice 101 eli 29 bruno 98
6
kim 54 ivan 18 chen 13 eli 115 chen 41 chen 6 farah 84
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021387-p1
Count the total number of input records and print the result.
END{print NR}
lina 23 hana 18 gus 112 alice 101 eli 29 bruno 98
6
kim 54 ivan 18 chen 13 eli 115 chen 41 chen 6 farah 84
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021387
qwen/qwen3.7-plus
awkweave-0021388
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina juniper 4 farah ember 77 gus delta 114 kim birch 18 ivan indigo 2 ivan indigo 2 dina cobalt 24 kim grove 113 gus indigo 53 bruno harbor 28 hana ember 55
lina juniper 4 farah ember 77 gus delta 114 kim birch 18 ivan indigo 2 dina cobalt 24 kim grove 113 gus indigo 53 bruno harbor 28 hana ember 55
gus cobalt 115 bruno delta 31 farah ember 0 ivan ember 5 kim delta 88 farah amber 54 dina harbor 106 farah ember 0 eli ember 96
gus cobalt 115 bruno delta 31 farah ember 0 ivan ember 5 kim delta 88 farah amber 54 dina harbor 106 eli ember 96
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021388-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
lina juniper 4 farah ember 77 gus delta 114 kim birch 18 ivan indigo 2 ivan indigo 2 dina cobalt 24 kim grove 113 gus indigo 53 bruno harbor 28 hana ember 55
lina juniper 4 farah ember 77 gus delta 114 kim birch 18 ivan indigo 2 dina cobalt 24 kim grove 113 gus indigo 53 bruno harbor 28 hana ember 55
gus cobalt 115 bruno delta 31 farah ember 0 ivan ember 5 kim delta 88 farah amber 54 dina harbor 106 farah ember 0 eli ember 96
gus cobalt 115 bruno delta 31 farah ember 0 ivan ember 5 kim delta 88 farah amber 54 dina harbor 106 eli ember 96
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021388
qwen/qwen3.7-plus
awkweave-0021389
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
hana cobalt 61 lina grove 50 alice birch 4 jules juniper 5 hana amber 62 hana harbor 76 jules indigo 3 farah delta 30 eli ember 29
hana cobalt 61 lina grove 50 alice birch 4 jules juniper 5 hana amber 62 hana harbor 76 jules indigo 3 farah delta 30 eli ember 29
jules delta 76 chen ember 14 jules cobalt 18 ivan harbor 77 ivan ember 44 dina juniper 103 gus juniper 52
jules delta 76 chen ember 14 jules cobalt 18 ivan harbor 77 dina juniper 103
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021389-p1
Retain only the first occurrence of each unique value in column 2, keeping the original input order.
!seen[$2]++
hana cobalt 61 lina grove 50 alice birch 4 jules juniper 5 hana amber 62 hana harbor 76 jules indigo 3 farah delta 30 eli ember 29
hana cobalt 61 lina grove 50 alice birch 4 jules juniper 5 hana amber 62 hana harbor 76 jules indigo 3 farah delta 30 eli ember 29
jules delta 76 chen ember 14 jules cobalt 18 ivan harbor 77 ivan ember 44 dina juniper 103 gus juniper 52
jules delta 76 chen ember 14 jules cobalt 18 ivan harbor 77 dina juniper 103
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021389
qwen/qwen3.7-plus
awkweave-0021400
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha delta 56 delta fable 51 alpha ember 4 delta juniper 85 beta grove 33 alpha cobalt 44
alpha 3 delta 2
beta amber 117 alpha harbor 35 alpha juniper 40 delta juniper 71 gamma cobalt 27 beta ember 93 gamma birch 88 delta cobalt 44 beta harbor 39
beta 3 alpha 2 delta 2 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021400-p1
List each unique value from the first column along with its frequency, ordered by when it first appears.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha delta 56 delta fable 51 alpha ember 4 delta juniper 85 beta grove 33 alpha cobalt 44
alpha 3 delta 2
beta amber 117 alpha harbor 35 alpha juniper 40 delta juniper 71 gamma cobalt 27 beta ember 93 gamma birch 88 delta cobalt 44 beta harbor 39
beta 3 alpha 2 delta 2 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021400
qwen/qwen3.7-plus
awkweave-0021401
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 score record_id region r001 chen 27 pending r002 jules 13 failed r003 jules 11 paused r004 chen 23 failed r005 farah 22 active r006 bruno 8 paused r007 gus 2 active r008 bruno 24 failed r009 gus 6 active
27 13 11 23 22 8 2 24 6
display_name score record_id region r001 gus 1 ready r002 bruno 28 closed r003 alice 27 pending r004 chen 25 ready r005 lina 28 active r006 eli 2 failed r007 ivan 25 failed r008 lina 2 failed r009 hana 21 paused r010 chen 14 ready
1 28 27 25 28 2 25 2 21 14
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021401-p1
Skip the header row and output the record_id field for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name score record_id region r001 chen 27 pending r002 jules 13 failed r003 jules 11 paused r004 chen 23 failed r005 farah 22 active r006 bruno 8 paused r007 gus 2 active r008 bruno 24 failed r009 gus 6 active
27 13 11 23 22 8 2 24 6
display_name score record_id region r001 gus 1 ready r002 bruno 28 closed r003 alice 27 pending r004 chen 25 ready r005 lina 28 active r006 eli 2 failed r007 ivan 25 failed r008 lina 2 failed r009 hana 21 paused r010 chen 14 ready
1 28 27 25 28 2 25 2 21 14
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021401
qwen/qwen3.7-plus
awkweave-0021402
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 kim 22 ready r002 hana 4 closed r003 jules 11 failed r004 bruno 26 closed r005 eli 16 ready r006 kim 13 pending r007 ivan 26 active
bruno ivan
record_id display_name score state r001 chen 11 closed r002 jules 12 paused r003 hana 9 closed r004 eli 15 paused r005 jules 1 closed r006 dina 23 failed r007 chen 4 ready r008 chen 1 closed r009 gus 8 closed
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021402-p1
Ignore the header line and print the display_name field for rows where the score is strictly greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 kim 22 ready r002 hana 4 closed r003 jules 11 failed r004 bruno 26 closed r005 eli 16 ready r006 kim 13 pending r007 ivan 26 active
bruno ivan
record_id display_name score state r001 chen 11 closed r002 jules 12 paused r003 hana 9 closed r004 eli 15 paused r005 jules 1 closed r006 dina 23 failed r007 chen 4 ready r008 chen 1 closed r009 gus 8 closed
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021402
qwen/qwen3.7-plus
awkweave-0021403
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 13 closed bruno 28 closed alice 27 failed dina 25 pending eli 25 active bruno 9 pending hana 19 ready gus 16 paused lina 5 active
13 28 27 25 25 9 19 16 5
gus 20 failed gus 14 pending alice 5 failed eli 22 active farah 25 paused jules 20 closed hana 7 failed lina 22 closed hana 12 active
20 14 5 22 25 20 7 22 12
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021403-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 13 closed bruno 28 closed alice 27 failed dina 25 pending eli 25 active bruno 9 pending hana 19 ready gus 16 paused lina 5 active
13 28 27 25 25 9 19 16 5
gus 20 failed gus 14 pending alice 5 failed eli 22 active farah 25 paused jules 20 closed hana 7 failed lina 22 closed hana 12 active
20 14 5 22 25 20 7 22 12
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0021403
qwen/qwen3.7-plus
awkweave-0021404
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 12.
BEGIN{FS=OFS=","}$2>12{print $1}
chen,24,closed jules,18,failed chen,24,closed jules,7,pending bruno,11,pending bruno,3,paused alice,1,ready alice,21,active
chen jules chen alice
alice,28,active farah,8,closed ivan,15,ready jules,24,pending bruno,30,failed alice,30,failed eli,24,ready gus,28,pending ivan,4,ready dina,8,paused
alice ivan jules bruno alice eli gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021404-p1
For simple CSV input without quoted commas, print the first field if the second field is greater than 12.
BEGIN{FS=OFS=","}$2>12{print $1}
chen,24,closed jules,18,failed chen,24,closed jules,7,pending bruno,11,pending bruno,3,paused alice,1,ready alice,21,active
chen jules chen alice
alice,28,active farah,8,closed ivan,15,ready jules,24,pending bruno,30,failed alice,30,failed eli,24,ready gus,28,pending ivan,4,ready dina,8,paused
alice ivan jules bruno alice eli gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021404
qwen/qwen3.7-plus
awkweave-0021405
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
dina ember 21 alice harbor 7 ivan birch 36 alice cobalt 106 dina ember 60 bruno grove 105 chen ember 65 dina grove 6 gus birch 38
dina ember 21 alice harbor 7 ivan birch 36 alice cobalt 106 dina ember 60 bruno grove 105 chen ember 65 dina grove 6 gus birch 38
hana amber 109 eli juniper 31 jules amber 0 hana indigo 38 dina ember 30 ivan indigo 112 kim amber 104 jules juniper 20 jules juniper 67 gus indigo 46
hana amber 109 eli juniper 31 jules amber 0 hana indigo 38 dina ember 30 ivan indigo 112 kim amber 104 jules juniper 20 jules juniper 67 gus indigo 46
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021405-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
dina ember 21 alice harbor 7 ivan birch 36 alice cobalt 106 dina ember 60 bruno grove 105 chen ember 65 dina grove 6 gus birch 38
dina ember 21 alice harbor 7 ivan birch 36 alice cobalt 106 dina ember 60 bruno grove 105 chen ember 65 dina grove 6 gus birch 38
hana amber 109 eli juniper 31 jules amber 0 hana indigo 38 dina ember 30 ivan indigo 112 kim amber 104 jules juniper 20 jules juniper 67 gus indigo 46
hana amber 109 eli juniper 31 jules amber 0 hana indigo 38 dina ember 30 ivan indigo 112 kim amber 104 jules juniper 20 jules juniper 67 gus indigo 46
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021405
qwen/qwen3.7-plus
awkweave-0021406
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli amber 100 pending alice indigo 73 closed jules cobalt 70 failed chen ember 7 paused eli grove 27 ready gus birch 94 pending lina delta 57 ready bruno birch 109 active eli grove 52 ready
alice indigo 73 closed
bruno juniper 88 failed dina ember 118 ready chen amber 53 pending eli indigo 43 failed lina fable 109 closed farah fable 53 pending
bruno juniper 88 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021406-p1
Output the longest line from the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
eli amber 100 pending alice indigo 73 closed jules cobalt 70 failed chen ember 7 paused eli grove 27 ready gus birch 94 pending lina delta 57 ready bruno birch 109 active eli grove 52 ready
alice indigo 73 closed
bruno juniper 88 failed dina ember 118 ready chen amber 53 pending eli indigo 43 failed lina fable 109 closed farah fable 53 pending
bruno juniper 88 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021406
qwen/qwen3.7-plus
awkweave-0021407
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
ivan 22 farah 21 dina 43 jules 36 jules 27 gus 102
farah 21 jules 36 gus 102
hana 118 lina 114 kim 13 lina 28 bruno 72 eli 29
lina 114 lina 28 eli 29
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021407-p1
Print every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, ...).
NR%2==0
ivan 22 farah 21 dina 43 jules 36 jules 27 gus 102
farah 21 jules 36 gus 102
hana 118 lina 114 kim 13 lina 28 bruno 72 eli 29
lina 114 lina 28 eli 29
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021407
qwen/qwen3.7-plus
awkweave-0021408
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta ember 33 alpha harbor 115 alpha indigo 108 alpha ember 55 delta fable 83 delta juniper 79 beta cobalt 31 delta ember 63
3
beta grove 113 alpha juniper 57 beta delta 41 alpha grove 21 delta amber 93 delta delta 14
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021408-p1
Calculate and print only the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
beta ember 33 alpha harbor 115 alpha indigo 108 alpha ember 55 delta fable 83 delta juniper 79 beta cobalt 31 delta ember 63
3
beta grove 113 alpha juniper 57 beta delta 41 alpha grove 21 delta amber 93 delta delta 14
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021408
qwen/qwen3.7-plus
awkweave-0021409
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}
jules 9 0 eli 9 19 kim 28 16 eli 13 7 alice 15 1 hana 25 30 gus 7 3
eli 0.47 kim 1.75 eli 1.86 alice 15.00 hana 0.83 gus 2.33
dina 11 0 kim 20 26 chen 20 8 ivan 26 9 eli 4 1 lina 9 9 jules 5 22 kim 19 21 ivan 4 23 lina 17 8
kim 0.77 chen 2.50 ivan 2.89 eli 4.00 lina 1.00 jules 0.23 kim 0.90 ivan 0.17 lina 2.12
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021409-p1
For each row where the third column is not zero, print the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 9 0 eli 9 19 kim 28 16 eli 13 7 alice 15 1 hana 25 30 gus 7 3
eli 0.47 kim 1.75 eli 1.86 alice 15.00 hana 0.83 gus 2.33
dina 11 0 kim 20 26 chen 20 8 ivan 26 9 eli 4 1 lina 9 9 jules 5 22 kim 19 21 ivan 4 23 lina 17 8
kim 0.77 chen 2.50 ivan 2.89 eli 4.00 lina 1.00 jules 0.23 kim 0.90 ivan 0.17 lina 2.12
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021409
qwen/qwen3.7-plus
awkweave-0021410
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan birch 4 bruno delta 10 ivan birch 28 lina ember 23 hana ember 22 jules juniper 10 lina juniper 30 chen fable 11 kim grove 15 alice harbor 21
lina juniper 30 ivan birch 28 lina ember 23
dina delta 4 ivan indigo 22 chen ember 7 dina harbor 27 alice ember 21 farah harbor 28
farah harbor 28 dina harbor 27 ivan indigo 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021410-p1
Output 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]}
ivan birch 4 bruno delta 10 ivan birch 28 lina ember 23 hana ember 22 jules juniper 10 lina juniper 30 chen fable 11 kim grove 15 alice harbor 21
lina juniper 30 ivan birch 28 lina ember 23
dina delta 4 ivan indigo 22 chen ember 7 dina harbor 27 alice ember 21 farah harbor 28
farah harbor 28 dina harbor 27 ivan indigo 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021410
qwen/qwen3.7-plus
awkweave-0021411
Print column 5 followed by column 3 for every record.
{print $5, $3}
indigo 112 indigo gus 101 17 juniper 38 amber ivan 20 48 ember 106 birch farah 60 28 grove 75 ember chen 120 39 delta 53 indigo kim 48 17 harbor 18 ember gus 81 33 birch 42 fable gus 67 104 indigo 100 ember jules 115 46
101 indigo 20 amber 60 birch 120 ember 48 indigo 81 ember 67 fable 115 ember
harbor 26 fable lina 68 12 harbor 54 juniper lina 8 77 juniper 26 indigo dina 0 81 fable 89 juniper gus 95 8 ember 25 birch bruno 73 119 harbor 23 harbor lina 80 19 grove 100 grove gus 36 55 fable 63 cobalt alice 78 80 indigo 29 amber jules 78 115 birch 67 fable jules 21 83
68 fable 8 juniper 0 indigo 95 juniper 73 birch 80 harbor 36 grove 78 cobalt 78 amber 21 fable
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021411-p1
For every record, print the fifth column followed by the third column.
{print $5, $3}
indigo 112 indigo gus 101 17 juniper 38 amber ivan 20 48 ember 106 birch farah 60 28 grove 75 ember chen 120 39 delta 53 indigo kim 48 17 harbor 18 ember gus 81 33 birch 42 fable gus 67 104 indigo 100 ember jules 115 46
101 indigo 20 amber 60 birch 120 ember 48 indigo 81 ember 67 fable 115 ember
harbor 26 fable lina 68 12 harbor 54 juniper lina 8 77 juniper 26 indigo dina 0 81 fable 89 juniper gus 95 8 ember 25 birch bruno 73 119 harbor 23 harbor lina 80 19 grove 100 grove gus 36 55 fable 63 cobalt alice 78 80 indigo 29 amber jules 78 115 birch 67 fable jules 21 83
68 fable 8 juniper 0 indigo 95 juniper 73 birch 80 harbor 36 grove 78 cobalt 78 amber 21 fable
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021411
qwen/qwen3.7-plus
awkweave-0021412
Print the last field of every input line.
{print $NF}
eli closed gus grove pending lina pending farah amber failed kim pending eli birch active chen pending eli birch ready eli pending alice indigo ready farah pending chen juniper paused ivan closed jules grove failed alice paused kim ember paused gus ready jules harbor paused
pending failed active ready ready paused failed paused paused
eli paused ivan cobalt ready chen closed kim cobalt closed farah pending lina indigo active jules closed lina fable active jules pending gus cobalt failed chen closed alice juniper active eli active bruno cobalt failed farah failed jules ember closed
ready closed active active failed active failed closed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021412-p1
Output the final field from each input line.
{print $NF}
eli closed gus grove pending lina pending farah amber failed kim pending eli birch active chen pending eli birch ready eli pending alice indigo ready farah pending chen juniper paused ivan closed jules grove failed alice paused kim ember paused gus ready jules harbor paused
pending failed active ready ready paused failed paused paused
eli paused ivan cobalt ready chen closed kim cobalt closed farah pending lina indigo active jules closed lina fable active jules pending gus cobalt failed chen closed alice juniper active eli active bruno cobalt failed farah failed jules ember closed
ready closed active active failed active failed closed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021412
qwen/qwen3.7-plus
awkweave-0021413
Print the complete records where column 3 is greater than 60.
$3 > 60
ready paused 111 paused ready closed 36 failed active pending 56 closed paused paused 94 ready closed closed 102 active ready paused 99 paused paused active 5 failed paused failed 49 failed paused closed 117 paused
ready paused 111 paused paused paused 94 ready closed closed 102 active ready paused 99 paused paused closed 117 paused
active paused 49 paused ready paused 116 paused failed active 21 pending failed pending 84 failed active pending 6 pending failed pending 59 failed closed closed 106 closed closed closed 46 closed failed pending 55 ready failed paused 40 paused
ready paused 116 paused failed pending 84 failed closed closed 106 closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021413-p1
Display full records where the third column exceeds 60.
$3 > 60
ready paused 111 paused ready closed 36 failed active pending 56 closed paused paused 94 ready closed closed 102 active ready paused 99 paused paused active 5 failed paused failed 49 failed paused closed 117 paused
ready paused 111 paused paused paused 94 ready closed closed 102 active ready paused 99 paused paused closed 117 paused
active paused 49 paused ready paused 116 paused failed active 21 pending failed pending 84 failed active pending 6 pending failed pending 59 failed closed closed 106 closed closed closed 46 closed failed pending 55 ready failed paused 40 paused
ready paused 116 paused failed pending 84 failed closed closed 106 closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021413
qwen/qwen3.7-plus
awkweave-0021414
Show whole lines whose 3rd field is between 7 and 20, inclusive.
$3 >= 7 && $3 <= 20
ember jules 10 failed birch chen 23 active birch gus 23 paused delta farah 22 failed juniper chen 16 pending cobalt dina 22 active ember jules 23 paused birch chen 27 pending
ember jules 10 failed juniper chen 16 pending
cobalt farah 12 pending juniper lina 23 pending fable gus 27 ready indigo ivan 23 ready juniper bruno 25 pending grove bruno 27 failed indigo farah 17 closed grove ivan 28 failed
cobalt farah 12 pending indigo farah 17 closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021414-p1
Show entire lines where the third field falls within the inclusive range of 7 to 20.
$3 >= 7 && $3 <= 20
ember jules 10 failed birch chen 23 active birch gus 23 paused delta farah 22 failed juniper chen 16 pending cobalt dina 22 active ember jules 23 paused birch chen 27 pending
ember jules 10 failed juniper chen 16 pending
cobalt farah 12 pending juniper lina 23 pending fable gus 27 ready indigo ivan 23 ready juniper bruno 25 pending grove bruno 27 failed indigo farah 17 closed grove ivan 28 failed
cobalt farah 12 pending indigo farah 17 closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021414
qwen/qwen3.7-plus
awkweave-0021415
Print column 4 only for rows where column 2 is exactly ready.
$2 == "ready"{print $4}
fable failed 38 chen grove ready 57 chen amber ready 110 gus fable paused 49 ivan cobalt pending 13 ivan delta ready 82 farah fable paused 95 alice
chen gus farah
birch ready 48 kim delta pending 75 bruno amber active 89 bruno birch pending 75 alice fable paused 112 eli ember failed 39 gus juniper pending 15 dina
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021415-p1
Output only the fourth column for rows where the second column is exactly ready.
$2 == "ready"{print $4}
fable failed 38 chen grove ready 57 chen amber ready 110 gus fable paused 49 ivan cobalt pending 13 ivan delta ready 82 farah fable paused 95 alice
chen gus farah
birch ready 48 kim delta pending 75 bruno amber active 89 bruno birch pending 75 alice fable paused 112 eli ember failed 39 gus juniper pending 15 dina
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021415
qwen/qwen3.7-plus
awkweave-0021416
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
amber 91 ERROR juniper 58 WARN delta 18 DEBUG ember 44 DEBUG indigo 107 ERROR amber 103 WARN harbor 0 INFO ember 29 INFO indigo 93 DEBUG delta 60 DEBUG
harbor 0 INFO ember 29 INFO
juniper 53 ERROR ember 116 WARN juniper 110 DEBUG indigo 23 DEBUG fable 84 INFO birch 26 ERROR cobalt 76 DEBUG fable 42 INFO harbor 109 WARN birch 104 WARN
fable 84 INFO fable 42 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021416-p1
Print all fields from lines where the third field starts with INFO.
$3 ~ /^INFO/
amber 91 ERROR juniper 58 WARN delta 18 DEBUG ember 44 DEBUG indigo 107 ERROR amber 103 WARN harbor 0 INFO ember 29 INFO indigo 93 DEBUG delta 60 DEBUG
harbor 0 INFO ember 29 INFO
juniper 53 ERROR ember 116 WARN juniper 110 DEBUG indigo 23 DEBUG fable 84 INFO birch 26 ERROR cobalt 76 DEBUG fable 42 INFO harbor 109 WARN birch 104 WARN
fable 84 INFO fable 42 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021416
qwen/qwen3.7-plus
awkweave-0021417
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
grove 100 closed delta 63 closed harbor 70 ready birch 27 closed fable 17 pending fable 55 active indigo 117 active cobalt 999 active
grove 100 closed delta 63 closed harbor 70 ready birch 27 closed fable 17 pending fable 55 active indigo 117 active
birch 109 failed cobalt 45 paused cobalt 65 ready grove 4 paused cobalt 11 active fable 20 ready harbor 97 pending amber 45 active harbor 95 ready cobalt 999 active
birch 109 failed grove 4 paused fable 20 ready harbor 97 pending amber 45 active harbor 95 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021417-p1
Output every line that does not contain the exact string cobalt.
$0 !~ /cobalt/
grove 100 closed delta 63 closed harbor 70 ready birch 27 closed fable 17 pending fable 55 active indigo 117 active cobalt 999 active
grove 100 closed delta 63 closed harbor 70 ready birch 27 closed fable 17 pending fable 55 active indigo 117 active
birch 109 failed cobalt 45 paused cobalt 65 ready grove 4 paused cobalt 11 active fable 20 ready harbor 97 pending amber 45 active harbor 95 ready cobalt 999 active
birch 109 failed grove 4 paused fable 20 ready harbor 97 pending amber 45 active harbor 95 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021417
qwen/qwen3.7-plus
awkweave-0021418
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
gus amber 51 kim birch 10 eli fable 58 ivan amber 109 eli grove 1 alice harbor 45 farah cobalt 75 eli indigo 89 hana juniper 20
eli fable 58 ivan amber 109
lina grove 92 farah ember 105 eli delta 55 chen grove 8 chen birch 5 ivan harbor 9
eli delta 55 chen grove 8
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021418-p1
Print lines 3 through 4, inclusive.
NR >= 3 && NR <= 4
gus amber 51 kim birch 10 eli fable 58 ivan amber 109 eli grove 1 alice harbor 45 farah cobalt 75 eli indigo 89 hana juniper 20
eli fable 58 ivan amber 109
lina grove 92 farah ember 105 eli delta 55 chen grove 8 chen birch 5 ivan harbor 9
eli delta 55 chen grove 8
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021418
qwen/qwen3.7-plus
awkweave-0021419
Output only the first 4 records.
NR <= 4
lina 112 amber gus 32 amber farah 59 indigo eli 91 harbor dina 32 indigo eli 109 fable
lina 112 amber gus 32 amber farah 59 indigo eli 91 harbor
gus 115 harbor jules 16 harbor bruno 1 delta dina 68 amber ivan 20 fable bruno 57 fable chen 14 birch kim 26 birch bruno 49 juniper alice 6 amber
gus 115 harbor jules 16 harbor bruno 1 delta dina 68 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021419-p1
Output only the first 4 records.
NR <= 4
lina 112 amber gus 32 amber farah 59 indigo eli 91 harbor dina 32 indigo eli 109 fable
lina 112 amber gus 32 amber farah 59 indigo eli 91 harbor
gus 115 harbor jules 16 harbor bruno 1 delta dina 68 amber ivan 20 fable bruno 57 fable chen 14 birch kim 26 birch bruno 49 juniper alice 6 amber
gus 115 harbor jules 16 harbor bruno 1 delta dina 68 amber
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0021419
qwen/qwen3.7-plus
awkweave-0021420
Skip the first line and print every remaining line unchanged.
NR > 1
kim 4 indigo dina 95 harbor gus 28 juniper lina 5 harbor eli 106 birch bruno 57 fable kim 52 cobalt lina 91 harbor kim 75 amber
dina 95 harbor gus 28 juniper lina 5 harbor eli 106 birch bruno 57 fable kim 52 cobalt lina 91 harbor kim 75 amber
alice 103 birch lina 6 birch alice 19 juniper gus 19 ember ivan 18 fable alice 59 grove eli 52 grove dina 13 ember
lina 6 birch alice 19 juniper gus 19 ember ivan 18 fable alice 59 grove eli 52 grove dina 13 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021420-p1
Skip the first line and print all subsequent lines as they are.
NR > 1
kim 4 indigo dina 95 harbor gus 28 juniper lina 5 harbor eli 106 birch bruno 57 fable kim 52 cobalt lina 91 harbor kim 75 amber
dina 95 harbor gus 28 juniper lina 5 harbor eli 106 birch bruno 57 fable kim 52 cobalt lina 91 harbor kim 75 amber
alice 103 birch lina 6 birch alice 19 juniper gus 19 ember ivan 18 fable alice 59 grove eli 52 grove dina 13 ember
lina 6 birch alice 19 juniper gus 19 ember ivan 18 fable alice 59 grove eli 52 grove dina 13 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021420
qwen/qwen3.7-plus
awkweave-0021421
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
bruno failed 115 bruno ready 5 hana active 66 bruno paused 52 dina failed 113 gus closed 88
2
hana paused 78 ivan paused 99 ivan paused 102 chen paused 99 alice failed 50 kim active 67
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021421-p1
Count the number of records with failed in the second column, printing 0 if none exist.
$2 == "failed"{n++}END{print n+0}
bruno failed 115 bruno ready 5 hana active 66 bruno paused 52 dina failed 113 gus closed 88
2
hana paused 78 ivan paused 99 ivan paused 102 chen paused 99 alice failed 50 kim active 67
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021421
qwen/qwen3.7-plus
awkweave-0021422
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
indigo gus 1 birch hana 26 cobalt dina 7 fable eli 6 fable jules 18 juniper farah 19 delta jules 23 harbor dina 12
112
juniper hana 26 amber bruno 29 fable jules 29 birch farah 14 birch alice 15 grove lina 12 ember jules 28 fable eli 19 ember chen 12
184
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021422-p1
Compute and display the sum of integer values in the third column.
{s+=$3}END{print s+0}
indigo gus 1 birch hana 26 cobalt dina 7 fable eli 6 fable jules 18 juniper farah 19 delta jules 23 harbor dina 12
112
juniper hana 26 amber bruno 29 fable jules 29 birch farah 14 birch alice 15 grove lina 12 ember jules 28 fable eli 19 ember chen 12
184
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021422
qwen/qwen3.7-plus
awkweave-0021423
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 grove lina 9 juniper jules 20 ember lina 26 harbor ivan 20 birch dina 9 indigo kim 27 juniper hana 15 birch hana
16.00
25 ember alice 17 indigo chen 14 birch bruno 8 juniper alice 24 cobalt chen 10 delta kim 27 delta jules
17.86
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021423-p1
Calculate and print the average of the first column, rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 grove lina 9 juniper jules 20 ember lina 26 harbor ivan 20 birch dina 9 indigo kim 27 juniper hana 15 birch hana
16.00
25 ember alice 17 indigo chen 14 birch bruno 8 juniper alice 24 cobalt chen 10 delta kim 27 delta jules
17.86
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021423
qwen/qwen3.7-plus
awkweave-0021424
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 bruno grove 1 lina juniper 1 hana amber 21 bruno juniper 17 hana harbor 30 alice fable 27 kim ember 30 bruno birch 18 lina harbor 21 kim grove
1
23 eli cobalt 21 farah ember 17 alice birch 2 eli juniper 16 alice indigo 9 hana fable 3 lina birch
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021424-p1
Output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 bruno grove 1 lina juniper 1 hana amber 21 bruno juniper 17 hana harbor 30 alice fable 27 kim ember 30 bruno birch 18 lina harbor 21 kim grove
1
23 eli cobalt 21 farah ember 17 alice birch 2 eli juniper 16 alice indigo 9 hana fable 3 lina birch
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021424
qwen/qwen3.7-plus
awkweave-0021425
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 25 lina cobalt 10 bruno amber 19 ivan delta 6 alice amber 29 eli cobalt 25 chen fable 2 jules
29
harbor 14 alice amber 9 eli birch 28 gus fable 28 lina birch 6 ivan juniper 22 hana birch 11 bruno grove 11 eli grove 12 alice
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021425-p1
Display the maximum numeric value located in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 25 lina cobalt 10 bruno amber 19 ivan delta 6 alice amber 29 eli cobalt 25 chen fable 2 jules
29
harbor 14 alice amber 9 eli birch 28 gus fable 28 lina birch 6 ivan juniper 22 hana birch 11 bruno grove 11 eli grove 12 alice
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021425
qwen/qwen3.7-plus
awkweave-0021426
Count all input records and print the total.
END{print NR}
eli 0 jules 58 hana 63 jules 35 alice 34 alice 74
6
chen 48 hana 100 gus 3 eli 23 gus 104 dina 23 gus 50 alice 10
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021426-p1
Calculate and print the total number of input records.
END{print NR}
eli 0 jules 58 hana 63 jules 35 alice 34 alice 74
6
chen 48 hana 100 gus 3 eli 23 gus 104 dina 23 gus 50 alice 10
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021426
qwen/qwen3.7-plus
awkweave-0021427
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice indigo 113 kim delta 117 ivan cobalt 16 hana juniper 73 kim delta 117 lina fable 106 jules harbor 86 jules fable 12
alice indigo 113 kim delta 117 ivan cobalt 16 hana juniper 73 lina fable 106 jules harbor 86 jules fable 12
jules cobalt 85 alice ember 76 dina amber 34 dina amber 21 jules ember 46 gus amber 49 ivan cobalt 24 bruno delta 65 dina amber 34
jules cobalt 85 alice ember 76 dina amber 34 dina amber 21 jules ember 46 gus amber 49 ivan cobalt 24 bruno delta 65
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021427-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice indigo 113 kim delta 117 ivan cobalt 16 hana juniper 73 kim delta 117 lina fable 106 jules harbor 86 jules fable 12
alice indigo 113 kim delta 117 ivan cobalt 16 hana juniper 73 lina fable 106 jules harbor 86 jules fable 12
jules cobalt 85 alice ember 76 dina amber 34 dina amber 21 jules ember 46 gus amber 49 ivan cobalt 24 bruno delta 65 dina amber 34
jules cobalt 85 alice ember 76 dina amber 34 dina amber 21 jules ember 46 gus amber 49 ivan cobalt 24 bruno delta 65
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021427
qwen/qwen3.7-plus
awkweave-0021428
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
gus delta 28 bruno birch 21 kim fable 116 jules fable 45 farah birch 104 gus indigo 58 kim juniper 103 gus birch 100 hana fable 6
gus delta 28 bruno birch 21 kim fable 116 gus indigo 58 kim juniper 103
chen cobalt 62 alice delta 100 kim indigo 29 ivan cobalt 57 jules grove 37 bruno indigo 0 gus cobalt 64 gus juniper 25 gus juniper 86
chen cobalt 62 alice delta 100 kim indigo 29 jules grove 37 gus juniper 25
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021428-p1
Retain only the initial line for every unique value in the second column, keeping the original order.
!seen[$2]++
gus delta 28 bruno birch 21 kim fable 116 jules fable 45 farah birch 104 gus indigo 58 kim juniper 103 gus birch 100 hana fable 6
gus delta 28 bruno birch 21 kim fable 116 gus indigo 58 kim juniper 103
chen cobalt 62 alice delta 100 kim indigo 29 ivan cobalt 57 jules grove 37 bruno indigo 0 gus cobalt 64 gus juniper 25 gus juniper 86
chen cobalt 62 alice delta 100 kim indigo 29 jules grove 37 gus juniper 25
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021428
qwen/qwen3.7-plus
awkweave-0021429
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 19 delta farah 24 birch jules 28 juniper dina 3 ember chen 21 harbor ivan 5 indigo kim 21 ember chen 1 birch kim 27 cobalt alice 24 ember
bruno 19 farah 43 jules 71 dina 74 chen 95 ivan 100 kim 121 chen 122 kim 149 alice 173
hana 15 amber gus 4 fable jules 13 harbor alice 25 harbor bruno 8 amber kim 25 amber kim 27 indigo farah 5 fable bruno 3 grove
hana 15 gus 19 jules 32 alice 57 bruno 65 kim 90 kim 117 farah 122 bruno 125
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021429-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
bruno 19 delta farah 24 birch jules 28 juniper dina 3 ember chen 21 harbor ivan 5 indigo kim 21 ember chen 1 birch kim 27 cobalt alice 24 ember
bruno 19 farah 43 jules 71 dina 74 chen 95 ivan 100 kim 121 chen 122 kim 149 alice 173
hana 15 amber gus 4 fable jules 13 harbor alice 25 harbor bruno 8 amber kim 25 amber kim 27 indigo farah 5 fable bruno 3 grove
hana 15 gus 19 jules 32 alice 57 bruno 65 kim 90 kim 117 farah 122 bruno 125
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021429
qwen/qwen3.7-plus
awkweave-0021430
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 24 9 grove alice 9 7 fable chen 6 19 grove kim 29 17 grove chen 15 28 delta farah 3 5 harbor dina 4 14 harbor eli 21 7 harbor lina 23 4 birch
gus 33 alice 16 chen 25 kim 46 chen 43 farah 8 dina 18 eli 28 lina 27
lina 9 20 amber chen 11 29 indigo bruno 17 18 birch hana 27 3 indigo jules 19 28 cobalt farah 9 29 ember eli 26 11 ember gus 21 28 harbor
lina 29 chen 40 bruno 35 hana 30 jules 47 farah 38 eli 37 gus 49
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021430-p1
Print the first field followed by the sum of the second and third fields for each row.
{print $1,$2+$3}
gus 24 9 grove alice 9 7 fable chen 6 19 grove kim 29 17 grove chen 15 28 delta farah 3 5 harbor dina 4 14 harbor eli 21 7 harbor lina 23 4 birch
gus 33 alice 16 chen 25 kim 46 chen 43 farah 8 dina 18 eli 28 lina 27
lina 9 20 amber chen 11 29 indigo bruno 17 18 birch hana 27 3 indigo jules 19 28 cobalt farah 9 29 ember eli 26 11 ember gus 21 28 harbor
lina 29 chen 40 bruno 35 hana 30 jules 47 farah 38 eli 37 gus 49
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021430
qwen/qwen3.7-plus
awkweave-0021431
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
lina 16 dina 1 kim 13 kim 10 farah 16 bruno 13 farah 12
lina fail dina fail kim fail kim fail farah fail bruno fail farah fail
farah 2 ivan 17 hana 27 gus 29 kim 15 lina 12
farah fail ivan fail hana pass gus pass kim fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021431-p1
Output the first column along with 'pass' if the second column is 22 or greater, otherwise output 'fail'.
{print $1,($2>=22?"pass":"fail")}
lina 16 dina 1 kim 13 kim 10 farah 16 bruno 13 farah 12
lina fail dina fail kim fail kim fail farah fail bruno fail farah fail
farah 2 ivan 17 hana 27 gus 29 kim 15 lina 12
farah fail ivan fail hana pass gus pass kim fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021431
qwen/qwen3.7-plus
awkweave-0021432
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli fable 2 farah amber 40 chen harbor 118 lina harbor 70 jules ember 67 dina amber 118 bruno indigo 75 bruno delta 24
FABLE AMBER HARBOR HARBOR EMBER AMBER INDIGO DELTA
hana grove 90 alice birch 30 lina cobalt 48 eli harbor 79 bruno harbor 15 bruno indigo 85 dina amber 68
GROVE BIRCH COBALT HARBOR HARBOR INDIGO AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021432-p1
Transform the second column to uppercase and display only that column.
{print toupper($2)}
eli fable 2 farah amber 40 chen harbor 118 lina harbor 70 jules ember 67 dina amber 118 bruno indigo 75 bruno delta 24
FABLE AMBER HARBOR HARBOR EMBER AMBER INDIGO DELTA
hana grove 90 alice birch 30 lina cobalt 48 eli harbor 79 bruno harbor 15 bruno indigo 85 dina amber 68
GROVE BIRCH COBALT HARBOR HARBOR INDIGO AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021432
qwen/qwen3.7-plus
awkweave-0021433
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
indigo 69 cobalt 116 fable 38 amber 102 grove 44 cobalt 35 birch 81 ember 75
ind cob fab amb gro cob bir emb
harbor 48 grove 32 delta 113 ember 47 harbor 61 ember 44 ember 50 cobalt 39
har gro del emb har emb emb cob
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021433-p1
Extract and print the first 3 characters from the first column.
{print substr($1,1,3)}
indigo 69 cobalt 116 fable 38 amber 102 grove 44 cobalt 35 birch 81 ember 75
ind cob fab amb gro cob bir emb
harbor 48 grove 32 delta 113 ember 47 harbor 61 ember 44 ember 50 cobalt 39
har gro del emb har emb emb cob
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021433
qwen/qwen3.7-plus
awkweave-0021434
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_fable 24 delta_fable 84 ember_juniper 19 juniper_cobalt 49 fable_grove 93 birch_fable 110 ember_amber 35
fable fable delta fable ember juniper juniper cobalt fable grove birch fable ember amber
grove_harbor 120 fable_ember 113 fable_harbor 95 juniper_juniper 111 fable_delta 3 ember_grove 104 indigo_fable 106 birch_juniper 119 delta_indigo 80 birch_fable 99
grove harbor fable ember fable harbor juniper juniper fable delta ember grove indigo fable birch juniper delta indigo birch fable
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021434-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
fable_fable 24 delta_fable 84 ember_juniper 19 juniper_cobalt 49 fable_grove 93 birch_fable 110 ember_amber 35
fable fable delta fable ember juniper juniper cobalt fable grove birch fable ember amber
grove_harbor 120 fable_ember 113 fable_harbor 95 juniper_juniper 111 fable_delta 3 ember_grove 104 indigo_fable 106 birch_juniper 119 delta_indigo 80 birch_fable 99
grove harbor fable ember fable harbor juniper juniper fable delta ember grove indigo fable birch juniper delta indigo birch fable
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021434
qwen/qwen3.7-plus
awkweave-0021435
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)}
kim indigo 30 ready gus fable 67 closed alice fable 7 closed jules fable 51 pending dina grove 115 ready farah fable 115 closed dina amber 77 failed lina amber 35 paused
ready 30 indigo kim closed 67 fable gus closed 7 fable alice pending 51 fable jules ready 115 grove dina closed 115 fable farah failed 77 amber dina paused 35 amber lina
gus ember 18 ready kim ember 61 pending jules fable 7 closed eli fable 92 failed dina harbor 36 closed alice birch 116 paused bruno cobalt 114 failed gus harbor 69 closed bruno fable 105 active ivan juniper 80 active
ready 18 ember gus pending 61 ember kim closed 7 fable jules failed 92 fable eli closed 36 harbor dina paused 116 birch alice failed 114 cobalt bruno closed 69 harbor gus active 105 fable bruno active 80 juniper ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021435-p1
Reverse the field order for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim indigo 30 ready gus fable 67 closed alice fable 7 closed jules fable 51 pending dina grove 115 ready farah fable 115 closed dina amber 77 failed lina amber 35 paused
ready 30 indigo kim closed 67 fable gus closed 7 fable alice pending 51 fable jules ready 115 grove dina closed 115 fable farah failed 77 amber dina paused 35 amber lina
gus ember 18 ready kim ember 61 pending jules fable 7 closed eli fable 92 failed dina harbor 36 closed alice birch 116 paused bruno cobalt 114 failed gus harbor 69 closed bruno fable 105 active ivan juniper 80 active
ready 18 ember gus pending 61 ember kim closed 7 fable jules failed 92 fable eli closed 36 harbor dina paused 116 birch alice failed 114 cobalt bruno closed 69 harbor gus active 105 fable bruno active 80 juniper ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021435
qwen/qwen3.7-plus
awkweave-0021436
Print the number of whitespace-separated fields on each line.
{print NF}
bruno juniper 102 ready lina harbor 65 failed alice birch 45 paused jules ember 77 closed jules juniper 117 closed ivan indigo 71 pending
4 4 4 4 4 4
gus harbor 113 failed lina indigo 33 pending lina juniper 28 paused alice cobalt 74 closed chen amber 115 active hana harbor 112 paused lina grove 3 closed ivan juniper 99 pending dina juniper 76 pending jules harbor 108 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021436-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
bruno juniper 102 ready lina harbor 65 failed alice birch 45 paused jules ember 77 closed jules juniper 117 closed ivan indigo 71 pending
4 4 4 4 4 4
gus harbor 113 failed lina indigo 33 pending lina juniper 28 paused alice cobalt 74 closed chen amber 115 active hana harbor 112 paused lina grove 3 closed ivan juniper 99 pending dina juniper 76 pending jules harbor 108 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021436
qwen/qwen3.7-plus
awkweave-0021437
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]]}
hana gamma 73 kim gamma 65 lina beta 117 kim beta 81 eli alpha 12 chen beta 16
gamma 2 beta 3 alpha 1
alice beta 119 alice gamma 59 gus gamma 33 kim beta 32 alice alpha 21 eli alpha 107 kim alpha 55 ivan alpha 114 farah alpha 70 ivan beta 110
beta 3 gamma 2 alpha 5
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021437-p1
Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining the 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]]}
hana gamma 73 kim gamma 65 lina beta 117 kim beta 81 eli alpha 12 chen beta 16
gamma 2 beta 3 alpha 1
alice beta 119 alice gamma 59 gus gamma 33 kim beta 32 alice alpha 21 eli alpha 107 kim alpha 55 ivan alpha 114 farah alpha 70 ivan beta 110
beta 3 gamma 2 alpha 5
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021437
qwen/qwen3.7-plus
awkweave-0021438
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 beta 29 hana delta 4 eli delta 13 farah delta 11 eli beta 15 dina delta 1 hana delta 4
beta 44 delta 33
dina gamma 27 farah delta 12 ivan gamma 21 ivan alpha 16 bruno delta 13 eli beta 16
gamma 48 delta 25 alpha 16 beta 16
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021438-p1
Calculate the sum of values in column 3 grouped by column 2, presenting the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice beta 29 hana delta 4 eli delta 13 farah delta 11 eli beta 15 dina delta 1 hana delta 4
beta 44 delta 33
dina gamma 27 farah delta 12 ivan gamma 21 ivan alpha 16 bruno delta 13 eli beta 16
gamma 48 delta 25 alpha 16 beta 16
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021438
qwen/qwen3.7-plus
awkweave-0021439
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta amber 54 alpha cobalt 71 alpha ember 113 alpha amber 4 alpha cobalt 59 delta amber 33 alpha birch 61 alpha birch 8 delta harbor 26 beta amber 26
beta 2 alpha 6 delta 2
delta indigo 47 delta juniper 59 gamma harbor 101 delta juniper 33 beta fable 42 beta amber 80 alpha amber 5 gamma juniper 75 delta amber 26
delta 4 gamma 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021439-p1
List each duplicate entry from the first column along with its frequency, sorted by the order of initial occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta amber 54 alpha cobalt 71 alpha ember 113 alpha amber 4 alpha cobalt 59 delta amber 33 alpha birch 61 alpha birch 8 delta harbor 26 beta amber 26
beta 2 alpha 6 delta 2
delta indigo 47 delta juniper 59 gamma harbor 101 delta juniper 33 beta fable 42 beta amber 80 alpha amber 5 gamma juniper 75 delta amber 26
delta 4 gamma 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021439
qwen/qwen3.7-plus
awkweave-0021440
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
score display_name region note r001 ivan 14 failed r002 kim 16 ready r003 farah 25 closed r004 hana 28 active r005 alice 30 ready r006 jules 14 closed r007 gus 12 ready r008 ivan 4 closed r009 gus 10 pending r010 alice 29 paused
14 16 25 28 30 14 12 4 10 29
score display_name region note r001 eli 12 active r002 lina 9 pending r003 alice 16 active r004 eli 4 failed r005 hana 9 active r006 bruno 23 ready
12 9 16 4 9 23
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021440-p1
Skip the header row and output the region column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
score display_name region note r001 ivan 14 failed r002 kim 16 ready r003 farah 25 closed r004 hana 28 active r005 alice 30 ready r006 jules 14 closed r007 gus 12 ready r008 ivan 4 closed r009 gus 10 pending r010 alice 29 paused
14 16 25 28 30 14 12 4 10 29
score display_name region note r001 eli 12 active r002 lina 9 pending r003 alice 16 active r004 eli 4 failed r005 hana 9 active r006 bruno 23 ready
12 9 16 4 9 23
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021440
qwen/qwen3.7-plus