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-0056773
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta amber 54 gamma delta 59 alpha ember 3 beta birch 77 alpha amber 30 gamma cobalt 31 gamma harbor 91 gamma birch 65 gamma grove 74 gamma ember 48
gamma 6 alpha 2
delta amber 29 gamma juniper 37 delta cobalt 41 beta delta 74 alpha fable 49 gamma ember 15 gamma juniper 45
delta 2 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056773-p1
List each duplicate value from column 1 along with its frequency, sorted by first 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]]}
delta amber 54 gamma delta 59 alpha ember 3 beta birch 77 alpha amber 30 gamma cobalt 31 gamma harbor 91 gamma birch 65 gamma grove 74 gamma ember 48
gamma 6 alpha 2
delta amber 29 gamma juniper 37 delta cobalt 41 beta delta 74 alpha fable 49 gamma ember 15 gamma juniper 45
delta 2 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056773
qwen/qwen3.7-plus
awkweave-0056774
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 region record_id note r001 jules 24 ready r002 jules 4 closed r003 hana 4 ready r004 jules 3 pending r005 alice 8 active r006 chen 5 active r007 alice 21 pending
24 4 4 3 8 5 21
display_name region record_id note r001 lina 22 closed r002 farah 14 active r003 ivan 27 active r004 gus 2 paused r005 lina 9 active r006 eli 30 ready r007 chen 4 paused
22 14 27 2 9 30 4
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056774-p1
Treating the first line as a header, output the record_id column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name region record_id note r001 jules 24 ready r002 jules 4 closed r003 hana 4 ready r004 jules 3 pending r005 alice 8 active r006 chen 5 active r007 alice 21 pending
24 4 4 3 8 5 21
display_name region record_id note r001 lina 22 closed r002 farah 14 active r003 ivan 27 active r004 gus 2 paused r005 lina 9 active r006 eli 30 ready r007 chen 4 paused
22 14 27 2 9 30 4
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056774
qwen/qwen3.7-plus
awkweave-0056775
The first row is a header. Print display_name for data rows whose score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 kim 8 paused r002 lina 15 ready r003 farah 27 pending r004 kim 10 active r005 farah 8 paused r006 chen 12 pending r007 eli 11 failed r008 bruno 7 closed r009 lina 15 paused
farah
record_id display_name score state r001 eli 28 closed r002 bruno 8 closed r003 eli 12 active r004 chen 5 closed r005 dina 18 active r006 chen 3 closed r007 kim 3 ready
eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056775-p1
With the first row as a header, output the display_name for data rows where the score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 kim 8 paused r002 lina 15 ready r003 farah 27 pending r004 kim 10 active r005 farah 8 paused r006 chen 12 pending r007 eli 11 failed r008 bruno 7 closed r009 lina 15 paused
farah
record_id display_name score state r001 eli 28 closed r002 bruno 8 closed r003 eli 12 active r004 chen 5 closed r005 dina 18 active r006 chen 3 closed r007 kim 3 ready
eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056775
qwen/qwen3.7-plus
awkweave-0056776
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 13 ready alice 22 active ivan 18 failed dina 17 paused farah 26 paused chen 28 paused gus 19 active eli 26 failed chen 12 failed
lina alice ivan dina farah chen gus eli chen
chen 8 ready kim 12 failed ivan 30 paused alice 2 active chen 9 active alice 29 ready bruno 6 active
chen kim ivan alice chen alice bruno
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056776-p1
Given tab-separated input, output the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 13 ready alice 22 active ivan 18 failed dina 17 paused farah 26 paused chen 28 paused gus 19 active eli 26 failed chen 12 failed
lina alice ivan dina farah chen gus eli chen
chen 8 ready kim 12 failed ivan 30 paused alice 2 active chen 9 active alice 29 ready bruno 6 active
chen kim ivan alice chen alice bruno
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056776
qwen/qwen3.7-plus
awkweave-0056777
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
farah,19,active ivan,11,failed ivan,8,paused bruno,21,closed dina,24,closed lina,18,failed kim,21,failed
bruno dina kim
farah,22,pending jules,6,paused farah,22,failed chen,9,closed farah,8,pending chen,4,paused
farah farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056777-p1
For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
farah,19,active ivan,11,failed ivan,8,paused bruno,21,closed dina,24,closed lina,18,failed kim,21,failed
bruno dina kim
farah,22,pending jules,6,paused farah,22,failed chen,9,closed farah,8,pending chen,4,paused
farah farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056777
qwen/qwen3.7-plus
awkweave-0056778
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim harbor 107 alice grove 77 chen delta 81 eli grove 4 kim harbor 0 chen indigo 8 chen amber 42 bruno birch 95 bruno indigo 44 kim birch 2
kim harbor 107 alice grove 77 chen delta 81 eli grove 4 kim harbor 0 chen indigo 8 chen amber 42 bruno birch 95 bruno indigo 44 kim birch 2
eli harbor 37 chen cobalt 85 bruno harbor 120 jules ember 21 lina birch 45 jules cobalt 89 gus indigo 77 ivan ember 95
eli harbor 37 chen cobalt 85 bruno harbor 120 jules ember 21 lina birch 45 jules cobalt 89 gus indigo 77 ivan ember 95
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056778-p1
Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
kim harbor 107 alice grove 77 chen delta 81 eli grove 4 kim harbor 0 chen indigo 8 chen amber 42 bruno birch 95 bruno indigo 44 kim birch 2
kim harbor 107 alice grove 77 chen delta 81 eli grove 4 kim harbor 0 chen indigo 8 chen amber 42 bruno birch 95 bruno indigo 44 kim birch 2
eli harbor 37 chen cobalt 85 bruno harbor 120 jules ember 21 lina birch 45 jules cobalt 89 gus indigo 77 ivan ember 95
eli harbor 37 chen cobalt 85 bruno harbor 120 jules ember 21 lina birch 45 jules cobalt 89 gus indigo 77 ivan ember 95
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056778
qwen/qwen3.7-plus
awkweave-0056779
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen grove 40 closed dina amber 36 active chen indigo 28 active chen grove 26 active bruno indigo 37 ready eli delta 98 failed dina delta 115 paused farah ember 111 closed alice grove 12 ready
farah ember 111 closed
bruno cobalt 86 closed dina indigo 81 pending lina ember 99 active hana fable 84 closed hana harbor 54 ready bruno birch 0 ready alice grove 107 ready farah amber 95 failed eli indigo 7 paused lina fable 4 ready
bruno cobalt 86 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056779-p1
Identify and output the longest line from the input; in the event of a tie in length, select the line that appears first.
{if(length($0)>length(best))best=$0}END{print best}
chen grove 40 closed dina amber 36 active chen indigo 28 active chen grove 26 active bruno indigo 37 ready eli delta 98 failed dina delta 115 paused farah ember 111 closed alice grove 12 ready
farah ember 111 closed
bruno cobalt 86 closed dina indigo 81 pending lina ember 99 active hana fable 84 closed hana harbor 54 ready bruno birch 0 ready alice grove 107 ready farah amber 95 failed eli indigo 7 paused lina fable 4 ready
bruno cobalt 86 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056779
qwen/qwen3.7-plus
awkweave-0056780
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
farah 65 gus 49 farah 15 dina 110 lina 94 alice 29 hana 60 dina 90 chen 13 alice 104
farah 65 dina 110 hana 60 alice 104
hana 67 alice 36 ivan 91 alice 17 farah 81 jules 76 lina 5
hana 67 alice 17 lina 5
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056780-p1
Output every third line, beginning with the first line (i.e., lines 1, 4, 7, etc.).
NR%3==1
farah 65 gus 49 farah 15 dina 110 lina 94 alice 29 hana 60 dina 90 chen 13 alice 104
farah 65 dina 110 hana 60 alice 104
hana 67 alice 36 ivan 91 alice 17 farah 81 jules 76 lina 5
hana 67 alice 17 lina 5
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056780
qwen/qwen3.7-plus
awkweave-0056781
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 104 beta juniper 40 gamma delta 61 delta juniper 57 gamma fable 74 beta fable 53 alpha amber 66 gamma cobalt 50
4
alpha grove 20 alpha delta 114 delta delta 114 beta birch 54 alpha grove 74 beta ember 106
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056781-p1
Calculate the number of unique values present in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 104 beta juniper 40 gamma delta 61 delta juniper 57 gamma fable 74 beta fable 53 alpha amber 66 gamma cobalt 50
4
alpha grove 20 alpha delta 114 delta delta 114 beta birch 54 alpha grove 74 beta ember 106
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056781
qwen/qwen3.7-plus
awkweave-0056782
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}
bruno 21 0 hana 14 12 gus 26 22 chen 29 10 gus 3 9 bruno 4 7 gus 21 16 hana 7 16 kim 16 7
hana 1.17 gus 1.18 chen 2.90 gus 0.33 bruno 0.57 gus 1.31 hana 0.44 kim 2.29
lina 11 0 eli 3 21 chen 26 28 gus 29 20 alice 2 2 jules 25 2 alice 9 15 chen 23 9
eli 0.14 chen 0.93 gus 1.45 alice 1.00 jules 12.50 alice 0.60 chen 2.56
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056782-p1
For each row, output the value of column 1 followed by the result of dividing column 2 by column 3, formatted to two decimal places; exclude any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
bruno 21 0 hana 14 12 gus 26 22 chen 29 10 gus 3 9 bruno 4 7 gus 21 16 hana 7 16 kim 16 7
hana 1.17 gus 1.18 chen 2.90 gus 0.33 bruno 0.57 gus 1.31 hana 0.44 kim 2.29
lina 11 0 eli 3 21 chen 26 28 gus 29 20 alice 2 2 jules 25 2 alice 9 15 chen 23 9
eli 0.14 chen 0.93 gus 1.45 alice 1.00 jules 12.50 alice 0.60 chen 2.56
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056782
qwen/qwen3.7-plus
awkweave-0056783
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]}
farah birch 27 hana ember 17 ivan harbor 7 lina fable 28 kim harbor 2 gus cobalt 15 eli delta 24 farah grove 11 chen grove 9
lina fable 28 farah birch 27 eli delta 24
farah delta 8 dina cobalt 18 lina delta 12 hana harbor 11 hana juniper 9 alice juniper 16 hana fable 20
hana fable 20 dina cobalt 18 alice juniper 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056783-p1
Display the three full records with the highest numeric values in column 3, sorted in descending order. If values are tied, maintain their original input order.
{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]}
farah birch 27 hana ember 17 ivan harbor 7 lina fable 28 kim harbor 2 gus cobalt 15 eli delta 24 farah grove 11 chen grove 9
lina fable 28 farah birch 27 eli delta 24
farah delta 8 dina cobalt 18 lina delta 12 hana harbor 11 hana juniper 9 alice juniper 16 hana fable 20
hana fable 20 dina cobalt 18 alice juniper 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056783
qwen/qwen3.7-plus
awkweave-0056784
For each line, output fields 4 and 1, in that order.
{print $4, $1}
gus lina bruno 120 closed farah lina alice jules 2 paused alice jules farah ivan 48 active bruno dina kim chen 32 closed jules dina kim alice 21 paused farah ivan alice hana 103 closed kim
120 gus 2 lina 48 jules 32 dina 21 dina 103 ivan
dina hana lina 88 pending kim eli chen dina 105 ready eli dina chen farah 40 paused kim dina alice dina 67 failed bruno farah eli ivan 62 closed alice hana alice eli 75 pending ivan farah ivan ivan 48 ready chen eli dina kim 110 closed eli lina lina ivan 37 closed alice
88 dina 105 eli 40 dina 67 dina 62 farah 75 hana 48 farah 110 eli 37 lina
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056784-p1
For every line, print the fourth field followed by the first field.
{print $4, $1}
gus lina bruno 120 closed farah lina alice jules 2 paused alice jules farah ivan 48 active bruno dina kim chen 32 closed jules dina kim alice 21 paused farah ivan alice hana 103 closed kim
120 gus 2 lina 48 jules 32 dina 21 dina 103 ivan
dina hana lina 88 pending kim eli chen dina 105 ready eli dina chen farah 40 paused kim dina alice dina 67 failed bruno farah eli ivan 62 closed alice hana alice eli 75 pending ivan farah ivan ivan 48 ready chen eli dina kim 110 closed eli lina lina ivan 37 closed alice
88 dina 105 eli 40 dina 67 dina 62 farah 75 hana 48 farah 110 eli 37 lina
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056784
qwen/qwen3.7-plus
awkweave-0056785
Print the last field of every input line.
{print $NF}
pending failed closed 113 ready pending pending 54 pending closed failed 26 ready active paused 71 closed pending failed 67 active failed failed 85
113 54 26 71 67 85
paused ready paused 69 pending closed active 28 paused paused ready 115 paused ready ready 91 active paused ready 116 pending paused paused 35 ready failed active 56 paused pending failed 17 pending paused paused 53
69 28 115 91 116 35 56 17 53
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056785-p1
Output the final field from each input line.
{print $NF}
pending failed closed 113 ready pending pending 54 pending closed failed 26 ready active paused 71 closed pending failed 67 active failed failed 85
113 54 26 71 67 85
paused ready paused 69 pending closed active 28 paused paused ready 115 paused ready ready 91 active paused ready 116 pending paused paused 35 ready failed active 56 paused pending failed 17 pending paused paused 53
69 28 115 91 116 35 56 17 53
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056785
qwen/qwen3.7-plus
awkweave-0056786
Print the complete records where column 1 is less than 71.
$1 < 71
91 ember delta 12 amber juniper 6 grove fable 86 indigo harbor 96 amber harbor 95 birch indigo
12 amber juniper 6 grove fable
15 cobalt indigo 119 fable ember 37 indigo amber 1 indigo harbor 7 juniper ember 88 fable birch 109 delta ember 72 juniper grove 54 delta indigo 79 juniper grove
15 cobalt indigo 37 indigo amber 1 indigo harbor 7 juniper ember 54 delta indigo
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056786-p1
Print the entire record for any row where the value in column 1 is strictly less than 71.
$1 < 71
91 ember delta 12 amber juniper 6 grove fable 86 indigo harbor 96 amber harbor 95 birch indigo
12 amber juniper 6 grove fable
15 cobalt indigo 119 fable ember 37 indigo amber 1 indigo harbor 7 juniper ember 88 fable birch 109 delta ember 72 juniper grove 54 delta indigo 79 juniper grove
15 cobalt indigo 37 indigo amber 1 indigo harbor 7 juniper ember 54 delta indigo
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056786
qwen/qwen3.7-plus
awkweave-0056787
Show whole lines whose 1st field is between 5 and 28, inclusive.
$1 >= 5 && $1 <= 28
20 jules juniper birch 5 bruno amber indigo 26 ivan delta harbor 19 kim ember birch 17 kim indigo juniper 8 ivan ember harbor
20 jules juniper birch 5 bruno amber indigo 26 ivan delta harbor 19 kim ember birch 17 kim indigo juniper 8 ivan ember harbor
15 eli delta delta 11 dina harbor ember 2 alice fable delta 4 gus harbor fable 30 chen grove ember 3 lina delta harbor 3 dina delta cobalt
15 eli delta delta 11 dina harbor ember
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056787-p1
Display complete lines where the first field falls within the inclusive range of 5 to 28.
$1 >= 5 && $1 <= 28
20 jules juniper birch 5 bruno amber indigo 26 ivan delta harbor 19 kim ember birch 17 kim indigo juniper 8 ivan ember harbor
20 jules juniper birch 5 bruno amber indigo 26 ivan delta harbor 19 kim ember birch 17 kim indigo juniper 8 ivan ember harbor
15 eli delta delta 11 dina harbor ember 2 alice fable delta 4 gus harbor fable 30 chen grove ember 3 lina delta harbor 3 dina delta cobalt
15 eli delta delta 11 dina harbor ember
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056787
qwen/qwen3.7-plus
awkweave-0056788
Print column 4 only for rows where column 2 is exactly pending.
$2 == "pending"{print $4}
amber pending 37 gus juniper failed 5 chen cobalt active 110 gus amber active 17 chen grove ready 45 eli delta ready 67 farah indigo pending 27 lina fable paused 120 alice
gus lina
harbor paused 62 chen grove paused 103 farah ember failed 104 hana cobalt failed 18 gus amber paused 26 ivan fable closed 27 hana fable ready 46 ivan grove paused 14 chen ember paused 120 chen indigo failed 9 dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056788-p1
Output only the fourth column for rows where the second column contains exactly the value 'pending'.
$2 == "pending"{print $4}
amber pending 37 gus juniper failed 5 chen cobalt active 110 gus amber active 17 chen grove ready 45 eli delta ready 67 farah indigo pending 27 lina fable paused 120 alice
gus lina
harbor paused 62 chen grove paused 103 farah ember failed 104 hana cobalt failed 18 gus amber paused 26 ivan fable closed 27 hana fable ready 46 ivan grove paused 14 chen ember paused 120 chen indigo failed 9 dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056788
qwen/qwen3.7-plus
awkweave-0056789
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
amber INFO 72 grove INFO 35 grove DEBUG 17 amber DEBUG 11 harbor INFO 36 indigo WARN 84 delta INFO 112
amber INFO 72 grove INFO 35 harbor INFO 36 delta INFO 112
grove DEBUG 60 juniper DEBUG 53 juniper WARN 39 indigo DEBUG 60 indigo ERROR 83 grove ERROR 116 fable WARN 77 grove DEBUG 23 grove WARN 20
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056789-p1
Print all fields from any line where the second field starts with the string 'INFO'.
$2 ~ /^INFO/
amber INFO 72 grove INFO 35 grove DEBUG 17 amber DEBUG 11 harbor INFO 36 indigo WARN 84 delta INFO 112
amber INFO 72 grove INFO 35 harbor INFO 36 delta INFO 112
grove DEBUG 60 juniper DEBUG 53 juniper WARN 39 indigo DEBUG 60 indigo ERROR 83 grove ERROR 116 fable WARN 77 grove DEBUG 23 grove WARN 20
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056789
qwen/qwen3.7-plus
awkweave-0056800
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan delta 45 alice indigo 55 lina ember 56 alice amber 61 jules birch 31 ivan delta 45 dina delta 81 bruno juniper 69
ivan delta 45 alice indigo 55 lina ember 56 alice amber 61 jules birch 31 dina delta 81 bruno juniper 69
gus birch 36 farah juniper 29 ivan cobalt 24 ivan cobalt 24 ivan birch 77 alice delta 51 ivan fable 113 farah delta 33 eli amber 44
gus birch 36 farah juniper 29 ivan cobalt 24 ivan birch 77 alice delta 51 ivan fable 113 farah delta 33 eli amber 44
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056800-p1
Eliminate duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
ivan delta 45 alice indigo 55 lina ember 56 alice amber 61 jules birch 31 ivan delta 45 dina delta 81 bruno juniper 69
ivan delta 45 alice indigo 55 lina ember 56 alice amber 61 jules birch 31 dina delta 81 bruno juniper 69
gus birch 36 farah juniper 29 ivan cobalt 24 ivan cobalt 24 ivan birch 77 alice delta 51 ivan fable 113 farah delta 33 eli amber 44
gus birch 36 farah juniper 29 ivan cobalt 24 ivan birch 77 alice delta 51 ivan fable 113 farah delta 33 eli amber 44
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056800
qwen/qwen3.7-plus
awkweave-0056801
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
alice indigo 12 jules juniper 60 bruno indigo 84 chen cobalt 83 eli juniper 93 alice harbor 81
alice indigo 12 jules juniper 60 chen cobalt 83 alice harbor 81
chen juniper 87 ivan indigo 12 hana ember 49 hana amber 72 eli amber 47 ivan harbor 77 chen indigo 79 bruno amber 73 bruno grove 71
chen juniper 87 ivan indigo 12 hana ember 49 hana amber 72 ivan harbor 77 bruno grove 71
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056801-p1
Retain solely the initial line for every unique entry in the second column, ensuring the input order is preserved.
!seen[$2]++
alice indigo 12 jules juniper 60 bruno indigo 84 chen cobalt 83 eli juniper 93 alice harbor 81
alice indigo 12 jules juniper 60 chen cobalt 83 alice harbor 81
chen juniper 87 ivan indigo 12 hana ember 49 hana amber 72 eli amber 47 ivan harbor 77 chen indigo 79 bruno amber 73 bruno grove 71
chen juniper 87 ivan indigo 12 hana ember 49 hana amber 72 ivan harbor 77 bruno grove 71
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056801
qwen/qwen3.7-plus
awkweave-0056802
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 20 juniper lina 2 delta farah 24 indigo eli 1 amber chen 14 delta hana 15 harbor ivan 16 juniper
ivan 20 lina 22 farah 46 eli 47 chen 61 hana 76 ivan 92
lina 28 ember jules 9 birch eli 2 indigo alice 20 fable gus 20 juniper jules 10 grove jules 21 delta gus 19 amber jules 23 ember ivan 27 birch
lina 28 jules 37 eli 39 alice 59 gus 79 jules 89 jules 110 gus 129 jules 152 ivan 179
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056802-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
ivan 20 juniper lina 2 delta farah 24 indigo eli 1 amber chen 14 delta hana 15 harbor ivan 16 juniper
ivan 20 lina 22 farah 46 eli 47 chen 61 hana 76 ivan 92
lina 28 ember jules 9 birch eli 2 indigo alice 20 fable gus 20 juniper jules 10 grove jules 21 delta gus 19 amber jules 23 ember ivan 27 birch
lina 28 jules 37 eli 39 alice 59 gus 79 jules 89 jules 110 gus 129 jules 152 ivan 179
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056802
qwen/qwen3.7-plus
awkweave-0056803
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 25 2 cobalt kim 24 2 grove chen 6 24 birch gus 6 21 ember gus 25 13 delta bruno 9 13 grove dina 9 9 cobalt lina 27 19 indigo
lina 27 kim 26 chen 30 gus 27 gus 38 bruno 22 dina 18 lina 46
chen 12 30 amber bruno 22 18 fable kim 17 7 cobalt chen 18 1 indigo eli 13 12 grove kim 30 25 ember
chen 42 bruno 40 kim 24 chen 19 eli 25 kim 55
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056803-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
lina 25 2 cobalt kim 24 2 grove chen 6 24 birch gus 6 21 ember gus 25 13 delta bruno 9 13 grove dina 9 9 cobalt lina 27 19 indigo
lina 27 kim 26 chen 30 gus 27 gus 38 bruno 22 dina 18 lina 46
chen 12 30 amber bruno 22 18 fable kim 17 7 cobalt chen 18 1 indigo eli 13 12 grove kim 30 25 ember
chen 42 bruno 40 kim 24 chen 19 eli 25 kim 55
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056803
qwen/qwen3.7-plus
awkweave-0056804
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
dina 21 ivan 11 ivan 27 farah 24 ivan 4 dina 6 kim 6 jules 28 lina 5
dina pass ivan fail ivan pass farah pass ivan fail dina fail kim fail jules pass lina fail
jules 27 hana 30 jules 26 chen 30 lina 25 hana 11 hana 22 kim 20
jules pass hana pass jules pass chen pass lina pass hana fail hana pass kim pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056804-p1
Output the first column and label it 'pass' if the second column is 20 or greater; otherwise, label it 'fail'.
{print $1,($2>=20?"pass":"fail")}
dina 21 ivan 11 ivan 27 farah 24 ivan 4 dina 6 kim 6 jules 28 lina 5
dina pass ivan fail ivan pass farah pass ivan fail dina fail kim fail jules pass lina fail
jules 27 hana 30 jules 26 chen 30 lina 25 hana 11 hana 22 kim 20
jules pass hana pass jules pass chen pass lina pass hana fail hana pass kim pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056804
qwen/qwen3.7-plus
awkweave-0056805
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina delta 61 lina juniper 9 ivan ember 72 gus harbor 51 kim harbor 7 gus amber 9 lina juniper 20 lina ember 19
DINA LINA IVAN GUS KIM GUS LINA LINA
gus fable 119 bruno amber 68 lina amber 106 bruno grove 113 chen fable 95 jules delta 55 chen amber 25 kim ember 79 lina indigo 67
GUS BRUNO LINA BRUNO CHEN JULES CHEN KIM LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056805-p1
Transform the first column to uppercase letters and output only this modified column.
{print toupper($1)}
dina delta 61 lina juniper 9 ivan ember 72 gus harbor 51 kim harbor 7 gus amber 9 lina juniper 20 lina ember 19
DINA LINA IVAN GUS KIM GUS LINA LINA
gus fable 119 bruno amber 68 lina amber 106 bruno grove 113 chen fable 95 jules delta 55 chen amber 25 kim ember 79 lina indigo 67
GUS BRUNO LINA BRUNO CHEN JULES CHEN KIM LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056805
qwen/qwen3.7-plus
awkweave-0056806
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
delta 17 harbor 20 cobalt 75 cobalt 30 indigo 34 indigo 31
de ha co co in in
cobalt 10 juniper 12 cobalt 34 fable 0 cobalt 81 cobalt 27 juniper 86 juniper 29 juniper 98
co ju co fa co co ju ju ju
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056806-p1
Extract and print the first two characters from the first column, starting at position 1.
{print substr($1,1,2)}
delta 17 harbor 20 cobalt 75 cobalt 30 indigo 34 indigo 31
de ha co co in in
cobalt 10 juniper 12 cobalt 34 fable 0 cobalt 81 cobalt 27 juniper 86 juniper 29 juniper 98
co ju co fa co co ju ju ju
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056806
qwen/qwen3.7-plus
awkweave-0056807
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_fable 64 birch_cobalt 109 grove_grove 103 birch_cobalt 4 harbor_juniper 14 delta_ember 71 harbor_indigo 71
delta fable birch cobalt grove grove birch cobalt harbor juniper delta ember harbor indigo
birch_delta 62 cobalt_grove 16 fable_juniper 21 grove_delta 74 grove_juniper 95 ember_indigo 16 ember_fable 61 fable_harbor 5 juniper_juniper 14
birch delta cobalt grove fable juniper grove delta grove juniper ember indigo ember fable fable harbor juniper juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056807-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_fable 64 birch_cobalt 109 grove_grove 103 birch_cobalt 4 harbor_juniper 14 delta_ember 71 harbor_indigo 71
delta fable birch cobalt grove grove birch cobalt harbor juniper delta ember harbor indigo
birch_delta 62 cobalt_grove 16 fable_juniper 21 grove_delta 74 grove_juniper 95 ember_indigo 16 ember_fable 61 fable_harbor 5 juniper_juniper 14
birch delta cobalt grove fable juniper grove delta grove juniper ember indigo ember fable fable harbor juniper juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056807
qwen/qwen3.7-plus
awkweave-0056808
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 grove 61 paused gus ember 85 paused bruno cobalt 107 pending ivan cobalt 76 ready jules ember 36 paused kim ember 25 ready gus cobalt 30 active gus harbor 50 ready
paused 61 grove bruno paused 85 ember gus pending 107 cobalt bruno ready 76 cobalt ivan paused 36 ember jules ready 25 ember kim active 30 cobalt gus ready 50 harbor gus
eli juniper 66 active farah ember 74 active kim juniper 6 failed hana delta 119 closed alice birch 84 pending jules harbor 91 closed
active 66 juniper eli active 74 ember farah failed 6 juniper kim closed 119 delta hana pending 84 birch alice closed 91 harbor jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056808-p1
Invert the sequence of fields for every line and print all resulting fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno grove 61 paused gus ember 85 paused bruno cobalt 107 pending ivan cobalt 76 ready jules ember 36 paused kim ember 25 ready gus cobalt 30 active gus harbor 50 ready
paused 61 grove bruno paused 85 ember gus pending 107 cobalt bruno ready 76 cobalt ivan paused 36 ember jules ready 25 ember kim active 30 cobalt gus ready 50 harbor gus
eli juniper 66 active farah ember 74 active kim juniper 6 failed hana delta 119 closed alice birch 84 pending jules harbor 91 closed
active 66 juniper eli active 74 ember farah failed 6 juniper kim closed 119 delta hana pending 84 birch alice closed 91 harbor jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056808
qwen/qwen3.7-plus
awkweave-0056809
Print the number of whitespace-separated fields on each line.
{print NF}
gus cobalt 44 pending kim amber 61 pending dina birch 16 ready hana harbor 50 paused gus delta 71 pending hana harbor 120 closed bruno delta 36 active eli amber 23 failed
4 4 4 4 4 4 4 4
gus harbor 34 paused lina delta 26 closed farah indigo 56 active jules juniper 111 closed ivan amber 49 paused gus cobalt 12 pending chen indigo 69 paused jules grove 73 ready farah delta 43 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056809-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
gus cobalt 44 pending kim amber 61 pending dina birch 16 ready hana harbor 50 paused gus delta 71 pending hana harbor 120 closed bruno delta 36 active eli amber 23 failed
4 4 4 4 4 4 4 4
gus harbor 34 paused lina delta 26 closed farah indigo 56 active jules juniper 111 closed ivan amber 49 paused gus cobalt 12 pending chen indigo 69 paused jules grove 73 ready farah delta 43 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056809
qwen/qwen3.7-plus
awkweave-0056810
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 48 kim delta 64 kim delta 120 kim alpha 36 hana delta 61 kim beta 38
gamma 1 delta 3 alpha 1 beta 1
dina gamma 118 chen gamma 99 hana alpha 51 dina delta 73 lina beta 51 alice beta 50 dina gamma 92
gamma 3 alpha 1 delta 1 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056810-p1
Tally the number of records for each unique value in the second column, printing the value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana gamma 48 kim delta 64 kim delta 120 kim alpha 36 hana delta 61 kim beta 38
gamma 1 delta 3 alpha 1 beta 1
dina gamma 118 chen gamma 99 hana alpha 51 dina delta 73 lina beta 51 alice beta 50 dina gamma 92
gamma 3 alpha 1 delta 1 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056810
qwen/qwen3.7-plus
awkweave-0056811
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]]}
dina beta 2 hana beta 4 kim gamma 30 chen beta 24 lina delta 22 kim beta 1 farah delta 26 bruno alpha 19
beta 31 gamma 30 delta 48 alpha 19
alice alpha 21 ivan alpha 11 farah gamma 19 farah beta 28 chen beta 18 bruno delta 29 ivan alpha 21 chen delta 10
alpha 53 gamma 19 beta 46 delta 39
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056811-p1
Calculate the sum of the third column for each group defined by the second column, displaying the results in the order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
dina beta 2 hana beta 4 kim gamma 30 chen beta 24 lina delta 22 kim beta 1 farah delta 26 bruno alpha 19
beta 31 gamma 30 delta 48 alpha 19
alice alpha 21 ivan alpha 11 farah gamma 19 farah beta 28 chen beta 18 bruno delta 29 ivan alpha 21 chen delta 10
alpha 53 gamma 19 beta 46 delta 39
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056811
qwen/qwen3.7-plus
awkweave-0056812
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta grove 36 gamma amber 22 beta grove 24 alpha harbor 90 beta birch 47 gamma birch 72 beta juniper 13 gamma indigo 32 delta ember 37
delta 2 gamma 3 beta 3
alpha delta 98 delta fable 57 alpha birch 47 delta birch 88 delta cobalt 18 beta fable 107 delta juniper 37 gamma fable 26
alpha 2 delta 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056812-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]]}
delta grove 36 gamma amber 22 beta grove 24 alpha harbor 90 beta birch 47 gamma birch 72 beta juniper 13 gamma indigo 32 delta ember 37
delta 2 gamma 3 beta 3
alpha delta 98 delta fable 57 alpha birch 47 delta birch 88 delta cobalt 18 beta fable 107 delta juniper 37 gamma fable 26
alpha 2 delta 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056812
qwen/qwen3.7-plus
awkweave-0056813
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"]}
state record_id region score r001 hana 16 closed r002 hana 6 ready r003 jules 7 active r004 lina 30 ready r005 ivan 17 failed r006 eli 9 closed
hana hana jules lina ivan eli
state record_id region score r001 lina 30 ready r002 hana 25 closed r003 chen 16 pending r004 farah 26 active r005 jules 28 paused r006 gus 9 paused
lina hana chen farah jules gus
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056813-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"]}
state record_id region score r001 hana 16 closed r002 hana 6 ready r003 jules 7 active r004 lina 30 ready r005 ivan 17 failed r006 eli 9 closed
hana hana jules lina ivan eli
state record_id region score r001 lina 30 ready r002 hana 25 closed r003 chen 16 pending r004 farah 26 active r005 jules 28 paused r006 gus 9 paused
lina hana chen farah jules gus
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056813
qwen/qwen3.7-plus
awkweave-0056814
The first row is a header. Print display_name for data rows whose score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 hana 25 paused r002 lina 28 ready r003 jules 24 pending r004 hana 6 ready r005 lina 18 pending r006 farah 9 ready r007 farah 13 ready r008 jules 12 paused r009 lina 24 active r010 bruno 20 active
hana lina jules lina
record_id display_name score state r001 gus 24 ready r002 hana 30 active r003 dina 8 ready r004 gus 13 active r005 jules 14 ready r006 gus 8 active
gus hana
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056814-p1
Ignore the header line and display the display_name field for any row where the score is strictly greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 hana 25 paused r002 lina 28 ready r003 jules 24 pending r004 hana 6 ready r005 lina 18 pending r006 farah 9 ready r007 farah 13 ready r008 jules 12 paused r009 lina 24 active r010 bruno 20 active
hana lina jules lina
record_id display_name score state r001 gus 24 ready r002 hana 30 active r003 dina 8 ready r004 gus 13 active r005 jules 14 ready r006 gus 8 active
gus hana
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056814
qwen/qwen3.7-plus
awkweave-0056815
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 3 failed hana 28 ready dina 27 paused chen 18 failed dina 13 failed gus 11 failed
failed ready paused failed failed failed
eli 23 pending farah 10 closed ivan 3 pending alice 9 pending ivan 2 failed kim 8 ready chen 3 ready jules 22 active
pending closed pending pending failed ready ready active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056815-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 3 failed hana 28 ready dina 27 paused chen 18 failed dina 13 failed gus 11 failed
failed ready paused failed failed failed
eli 23 pending farah 10 closed ivan 3 pending alice 9 pending ivan 2 failed kim 8 ready chen 3 ready jules 22 active
pending closed pending pending failed ready ready active
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0056815
qwen/qwen3.7-plus
awkweave-0056816
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
gus,13,ready jules,12,paused alice,24,paused ivan,12,active ivan,26,pending eli,8,closed alice,20,paused bruno,21,active
alice ivan alice bruno
chen,23,ready kim,22,active eli,10,paused bruno,22,failed ivan,16,failed dina,1,failed hana,29,failed kim,6,ready dina,30,pending eli,6,pending
chen kim bruno ivan hana dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056816-p1
For comma-separated values without quoting, output the first field whenever the second field is larger than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
gus,13,ready jules,12,paused alice,24,paused ivan,12,active ivan,26,pending eli,8,closed alice,20,paused bruno,21,active
alice ivan alice bruno
chen,23,ready kim,22,active eli,10,paused bruno,22,failed ivan,16,failed dina,1,failed hana,29,failed kim,6,ready dina,30,pending eli,6,pending
chen kim bruno ivan hana dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056816
qwen/qwen3.7-plus
awkweave-0056817
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina harbor 40 gus harbor 88 gus birch 118 bruno juniper 43 lina delta 46 bruno indigo 78 hana juniper 3
lina harbor 40 gus harbor 88 gus birch 118 bruno juniper 43 lina delta 46 bruno indigo 78 hana juniper 3
dina birch 21 gus indigo 77 jules juniper 22 jules grove 103 dina birch 102 kim indigo 55 lina cobalt 107 ivan delta 113 farah amber 7
dina birch 21 gus indigo 77 jules juniper 22 jules grove 103 dina birch 102 kim indigo 55 lina cobalt 107 ivan delta 113 farah amber 7
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056817-p1
Remove leading and trailing spaces from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
lina harbor 40 gus harbor 88 gus birch 118 bruno juniper 43 lina delta 46 bruno indigo 78 hana juniper 3
lina harbor 40 gus harbor 88 gus birch 118 bruno juniper 43 lina delta 46 bruno indigo 78 hana juniper 3
dina birch 21 gus indigo 77 jules juniper 22 jules grove 103 dina birch 102 kim indigo 55 lina cobalt 107 ivan delta 113 farah amber 7
dina birch 21 gus indigo 77 jules juniper 22 jules grove 103 dina birch 102 kim indigo 55 lina cobalt 107 ivan delta 113 farah amber 7
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056817
qwen/qwen3.7-plus
awkweave-0056818
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah indigo 37 active bruno grove 72 active ivan birch 110 paused gus delta 115 ready kim cobalt 1 closed bruno juniper 68 ready hana birch 116 pending bruno grove 91 paused dina juniper 41 closed gus grove 44 closed
farah indigo 37 active
jules juniper 51 pending eli grove 36 ready bruno fable 20 paused hana birch 71 failed gus cobalt 17 pending farah grove 20 pending kim ember 109 closed
jules juniper 51 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056818-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}
farah indigo 37 active bruno grove 72 active ivan birch 110 paused gus delta 115 ready kim cobalt 1 closed bruno juniper 68 ready hana birch 116 pending bruno grove 91 paused dina juniper 41 closed gus grove 44 closed
farah indigo 37 active
jules juniper 51 pending eli grove 36 ready bruno fable 20 paused hana birch 71 failed gus cobalt 17 pending farah grove 20 pending kim ember 109 closed
jules juniper 51 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056818
qwen/qwen3.7-plus
awkweave-0056819
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
gus 4 farah 108 hana 77 jules 72 ivan 31 hana 70 dina 39
farah 108 hana 70
kim 113 kim 14 bruno 119 chen 25 eli 109 jules 32 bruno 115 alice 77 bruno 86
kim 14 jules 32
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056819-p1
Print lines 2, 6, 10, and so on, effectively selecting every fourth line starting from the second.
NR%4==2
gus 4 farah 108 hana 77 jules 72 ivan 31 hana 70 dina 39
farah 108 hana 70
kim 113 kim 14 bruno 119 chen 25 eli 109 jules 32 bruno 115 alice 77 bruno 86
kim 14 jules 32
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056819
qwen/qwen3.7-plus
awkweave-0056820
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta juniper 66 gamma indigo 56 gamma delta 99 gamma cobalt 111 beta indigo 18 beta harbor 29 alpha fable 0 delta ember 84 delta indigo 118
4
beta grove 6 beta fable 31 delta grove 111 delta birch 22 gamma juniper 101 alpha harbor 39 beta indigo 50 gamma harbor 113 alpha indigo 70 gamma harbor 72
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056820-p1
Calculate the number of unique entries in the first column and output only that total count.
{if(!seen[$1]++)n++}END{print n+0}
beta juniper 66 gamma indigo 56 gamma delta 99 gamma cobalt 111 beta indigo 18 beta harbor 29 alpha fable 0 delta ember 84 delta indigo 118
4
beta grove 6 beta fable 31 delta grove 111 delta birch 22 gamma juniper 101 alpha harbor 39 beta indigo 50 gamma harbor 113 alpha indigo 70 gamma harbor 72
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056820
qwen/qwen3.7-plus
awkweave-0056821
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}
dina 4 0 eli 27 29 gus 8 6 hana 7 23 jules 26 13 lina 13 17 lina 5 15
eli 0.93 gus 1.33 hana 0.30 jules 2.00 lina 0.76 lina 0.33
hana 5 0 chen 9 18 chen 8 7 jules 10 1 ivan 24 11 dina 26 20 dina 5 19 hana 28 6 lina 8 30
chen 0.50 chen 1.14 jules 10.00 ivan 2.18 dina 1.30 dina 0.26 hana 4.67 lina 0.27
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056821-p1
For each row where the third column is not zero, output 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}
dina 4 0 eli 27 29 gus 8 6 hana 7 23 jules 26 13 lina 13 17 lina 5 15
eli 0.93 gus 1.33 hana 0.30 jules 2.00 lina 0.76 lina 0.33
hana 5 0 chen 9 18 chen 8 7 jules 10 1 ivan 24 11 dina 26 20 dina 5 19 hana 28 6 lina 8 30
chen 0.50 chen 1.14 jules 10.00 ivan 2.18 dina 1.30 dina 0.26 hana 4.67 lina 0.27
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056821
qwen/qwen3.7-plus
awkweave-0056822
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]}
dina birch 23 lina delta 24 lina harbor 27 ivan delta 21 chen grove 8 chen birch 2 kim amber 29 ivan delta 22 alice birch 22 jules fable 3
kim amber 29 lina harbor 27 lina delta 24
eli indigo 5 chen harbor 20 alice ember 24 eli ember 9 farah harbor 22 dina grove 13 eli grove 18
alice ember 24 farah harbor 22 chen harbor 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056822-p1
Display the top three records based on 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]}
dina birch 23 lina delta 24 lina harbor 27 ivan delta 21 chen grove 8 chen birch 2 kim amber 29 ivan delta 22 alice birch 22 jules fable 3
kim amber 29 lina harbor 27 lina delta 24
eli indigo 5 chen harbor 20 alice ember 24 eli ember 9 farah harbor 22 dina grove 13 eli grove 18
alice ember 24 farah harbor 22 chen harbor 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056822
qwen/qwen3.7-plus
awkweave-0056823
Print column 4 followed by column 3 for every record.
{print $4, $3}
paused grove 79 paused failed delta 109 closed ready ember 77 pending ready birch 88 active ready fable 81 active active juniper 14 closed active delta 81 pending failed amber 68 failed
paused 79 closed 109 pending 77 active 88 active 81 closed 14 pending 81 failed 68
pending ember 64 failed ready harbor 59 ready pending ember 56 pending paused birch 25 paused paused cobalt 44 ready closed delta 65 active paused ember 108 active pending juniper 119 paused ready birch 95 paused ready amber 23 ready
failed 64 ready 59 pending 56 paused 25 ready 44 active 65 active 108 paused 119 paused 95 ready 23
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056823-p1
Output the fourth column followed immediately by the third column for every record in the dataset.
{print $4, $3}
paused grove 79 paused failed delta 109 closed ready ember 77 pending ready birch 88 active ready fable 81 active active juniper 14 closed active delta 81 pending failed amber 68 failed
paused 79 closed 109 pending 77 active 88 active 81 closed 14 pending 81 failed 68
pending ember 64 failed ready harbor 59 ready pending ember 56 pending paused birch 25 paused paused cobalt 44 ready closed delta 65 active paused ember 108 active pending juniper 119 paused ready birch 95 paused ready amber 23 ready
failed 64 ready 59 pending 56 paused 25 ready 44 active 65 active 108 paused 119 paused 95 ready 23
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056823
qwen/qwen3.7-plus
awkweave-0056824
Print the last field of every input line.
{print $NF}
76 failed eli farah closed 40 active lina lina closed 106 pending kim chen pending 40 failed gus bruno active 0 pending dina chen closed 41 active eli kim paused 88 failed lina kim active
closed closed pending active closed paused active
21 ready jules gus ready 108 ready lina gus pending 55 ready ivan kim active 54 closed bruno jules active 98 paused dina jules ready 111 closed chen eli ready
ready pending active active ready ready
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056824-p1
Output the final field from each input line.
{print $NF}
76 failed eli farah closed 40 active lina lina closed 106 pending kim chen pending 40 failed gus bruno active 0 pending dina chen closed 41 active eli kim paused 88 failed lina kim active
closed closed pending active closed paused active
21 ready jules gus ready 108 ready lina gus pending 55 ready ivan kim active 54 closed bruno jules active 98 paused dina jules ready 111 closed chen eli ready
ready pending active active ready ready
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056824
qwen/qwen3.7-plus
awkweave-0056825
Print the complete records where column 1 is greater than 77.
$1 > 77
79 ember pending 11 birch paused 22 delta paused 47 cobalt failed 1 harbor pending 4 delta failed
79 ember pending
89 birch closed 23 ember paused 17 cobalt paused 115 juniper closed 62 harbor failed 54 cobalt closed 64 juniper closed
89 birch closed 115 juniper closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056825-p1
Display full records where the value in the first column exceeds 77.
$1 > 77
79 ember pending 11 birch paused 22 delta paused 47 cobalt failed 1 harbor pending 4 delta failed
79 ember pending
89 birch closed 23 ember paused 17 cobalt paused 115 juniper closed 62 harbor failed 54 cobalt closed 64 juniper closed
89 birch closed 115 juniper closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056825
qwen/qwen3.7-plus
awkweave-0056826
Show whole lines whose 1st field is between 8 and 29, inclusive.
$1 >= 8 && $1 <= 29
21 ivan pending ready 13 chen failed pending 6 dina ready failed 28 jules closed paused 10 bruno ready closed 5 kim ready closed 13 hana closed pending 24 bruno closed pending 2 bruno failed paused 26 farah closed active
21 ivan pending ready 13 chen failed pending 28 jules closed paused 10 bruno ready closed 13 hana closed pending 24 bruno closed pending 26 farah closed active
10 chen active failed 29 lina active ready 13 gus active closed 12 jules failed ready 16 dina failed closed 25 chen pending failed 6 hana pending ready 25 chen paused active 25 gus ready pending 15 alice ready paused
10 chen active failed 29 lina active ready 13 gus active closed 12 jules failed ready 16 dina failed closed 25 chen pending failed 25 chen paused active 25 gus ready pending 15 alice ready paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056826-p1
Show entire lines where the first field falls within the inclusive range of 8 to 29.
$1 >= 8 && $1 <= 29
21 ivan pending ready 13 chen failed pending 6 dina ready failed 28 jules closed paused 10 bruno ready closed 5 kim ready closed 13 hana closed pending 24 bruno closed pending 2 bruno failed paused 26 farah closed active
21 ivan pending ready 13 chen failed pending 28 jules closed paused 10 bruno ready closed 13 hana closed pending 24 bruno closed pending 26 farah closed active
10 chen active failed 29 lina active ready 13 gus active closed 12 jules failed ready 16 dina failed closed 25 chen pending failed 6 hana pending ready 25 chen paused active 25 gus ready pending 15 alice ready paused
10 chen active failed 29 lina active ready 13 gus active closed 12 jules failed ready 16 dina failed closed 25 chen pending failed 25 chen paused active 25 gus ready pending 15 alice ready paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056826
qwen/qwen3.7-plus
awkweave-0056827
Print column 1 only for rows where column 4 is exactly closed.
$4 == "closed"{print $1}
hana birch 23 pending gus delta 10 failed eli indigo 0 active kim delta 72 closed lina delta 82 failed hana juniper 102 paused jules harbor 65 ready lina birch 107 active
kim
bruno birch 50 failed gus birch 108 pending gus indigo 33 paused kim amber 65 pending ivan delta 70 closed bruno juniper 103 ready dina indigo 114 pending lina juniper 112 failed ivan fable 65 pending
ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056827-p1
Print only the first column for rows where the fourth column matches 'closed' exactly.
$4 == "closed"{print $1}
hana birch 23 pending gus delta 10 failed eli indigo 0 active kim delta 72 closed lina delta 82 failed hana juniper 102 paused jules harbor 65 ready lina birch 107 active
kim
bruno birch 50 failed gus birch 108 pending gus indigo 33 paused kim amber 65 pending ivan delta 70 closed bruno juniper 103 ready dina indigo 114 pending lina juniper 112 failed ivan fable 65 pending
ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056827
qwen/qwen3.7-plus
awkweave-0056828
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
65 DEBUG fable 29 WARN fable 35 INFO delta 90 ERROR cobalt 53 WARN birch 17 ERROR fable 70 ERROR ember 100 INFO harbor 27 WARN cobalt
35 INFO delta 100 INFO harbor
75 WARN ember 46 ERROR harbor 71 WARN indigo 23 WARN indigo 57 DEBUG fable 5 INFO indigo 35 DEBUG juniper
5 INFO indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056828-p1
Output all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
65 DEBUG fable 29 WARN fable 35 INFO delta 90 ERROR cobalt 53 WARN birch 17 ERROR fable 70 ERROR ember 100 INFO harbor 27 WARN cobalt
35 INFO delta 100 INFO harbor
75 WARN ember 46 ERROR harbor 71 WARN indigo 23 WARN indigo 57 DEBUG fable 5 INFO indigo 35 DEBUG juniper
5 INFO indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056828
qwen/qwen3.7-plus
awkweave-0056829
Print every line except those containing the exact text fable.
$0 !~ /fable/
indigo 25 ready grove 98 ready delta 24 closed delta 118 closed birch 33 pending amber 40 closed fable 999 active
indigo 25 ready grove 98 ready delta 24 closed delta 118 closed birch 33 pending amber 40 closed
delta 49 pending indigo 65 pending grove 6 failed juniper 34 ready birch 29 ready fable 37 ready fable 71 paused indigo 73 active delta 68 closed amber 98 ready fable 999 active
delta 49 pending indigo 65 pending grove 6 failed juniper 34 ready birch 29 ready indigo 73 active delta 68 closed amber 98 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056829-p1
Print every line that does not contain the exact string 'fable'.
$0 !~ /fable/
indigo 25 ready grove 98 ready delta 24 closed delta 118 closed birch 33 pending amber 40 closed fable 999 active
indigo 25 ready grove 98 ready delta 24 closed delta 118 closed birch 33 pending amber 40 closed
delta 49 pending indigo 65 pending grove 6 failed juniper 34 ready birch 29 ready fable 37 ready fable 71 paused indigo 73 active delta 68 closed amber 98 ready fable 999 active
delta 49 pending indigo 65 pending grove 6 failed juniper 34 ready birch 29 ready indigo 73 active delta 68 closed amber 98 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056829
qwen/qwen3.7-plus
awkweave-0056830
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
hana amber 90 bruno cobalt 10 eli grove 94 dina cobalt 10 eli grove 66 jules birch 52 eli fable 85 eli delta 8 farah delta 75
dina cobalt 10 eli grove 66 jules birch 52 eli fable 85
dina juniper 10 gus indigo 32 ivan harbor 4 chen harbor 74 dina fable 62 eli harbor 119 alice ember 32 chen harbor 86
chen harbor 74 dina fable 62 eli harbor 119 alice ember 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056830-p1
Output lines 4 to 7, inclusive of both ends.
NR >= 4 && NR <= 7
hana amber 90 bruno cobalt 10 eli grove 94 dina cobalt 10 eli grove 66 jules birch 52 eli fable 85 eli delta 8 farah delta 75
dina cobalt 10 eli grove 66 jules birch 52 eli fable 85
dina juniper 10 gus indigo 32 ivan harbor 4 chen harbor 74 dina fable 62 eli harbor 119 alice ember 32 chen harbor 86
chen harbor 74 dina fable 62 eli harbor 119 alice ember 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056830
qwen/qwen3.7-plus
awkweave-0056831
Output only the first 4 records.
NR <= 4
dina 40 juniper jules 4 indigo alice 61 amber eli 0 birch kim 35 juniper eli 8 birch
dina 40 juniper jules 4 indigo alice 61 amber eli 0 birch
farah 52 grove dina 84 birch dina 23 amber farah 57 harbor bruno 99 grove kim 98 cobalt
farah 52 grove dina 84 birch dina 23 amber farah 57 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056831-p1
Display only the first 4 records.
NR <= 4
dina 40 juniper jules 4 indigo alice 61 amber eli 0 birch kim 35 juniper eli 8 birch
dina 40 juniper jules 4 indigo alice 61 amber eli 0 birch
farah 52 grove dina 84 birch dina 23 amber farah 57 harbor bruno 99 grove kim 98 cobalt
farah 52 grove dina 84 birch dina 23 amber farah 57 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056831
qwen/qwen3.7-plus
awkweave-0056832
Skip the first line and print every remaining line unchanged.
NR > 1
chen 111 ember jules 95 harbor ivan 120 delta ivan 114 delta chen 76 ember jules 66 ember jules 97 birch dina 40 fable chen 94 delta
jules 95 harbor ivan 120 delta ivan 114 delta chen 76 ember jules 66 ember jules 97 birch dina 40 fable chen 94 delta
hana 102 delta chen 114 harbor lina 84 amber hana 95 grove jules 3 cobalt ivan 69 harbor gus 37 amber jules 65 grove eli 29 cobalt jules 66 amber
chen 114 harbor lina 84 amber hana 95 grove jules 3 cobalt ivan 69 harbor gus 37 amber jules 65 grove eli 29 cobalt jules 66 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056832-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
chen 111 ember jules 95 harbor ivan 120 delta ivan 114 delta chen 76 ember jules 66 ember jules 97 birch dina 40 fable chen 94 delta
jules 95 harbor ivan 120 delta ivan 114 delta chen 76 ember jules 66 ember jules 97 birch dina 40 fable chen 94 delta
hana 102 delta chen 114 harbor lina 84 amber hana 95 grove jules 3 cobalt ivan 69 harbor gus 37 amber jules 65 grove eli 29 cobalt jules 66 amber
chen 114 harbor lina 84 amber hana 95 grove jules 3 cobalt ivan 69 harbor gus 37 amber jules 65 grove eli 29 cobalt jules 66 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056832
qwen/qwen3.7-plus