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-0047222-p1
For simple comma-separated input without quoted commas, print the first column only when the second column's value is greater than 10.
BEGIN{FS=OFS=","}$2>10{print $1}
hana,16,closed lina,22,ready gus,14,active dina,11,failed lina,23,ready kim,23,paused lina,29,pending ivan,1,failed hana,12,failed gus,28,ready
hana lina gus dina lina kim lina hana gus
hana,26,pending dina,12,active ivan,3,active ivan,7,failed farah,4,failed dina,3,closed eli,2,ready ivan,13,paused
hana dina ivan
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047222
qwen/qwen3.7-plus
awkweave-0047223
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah cobalt 98 bruno ember 106 ivan ember 16 alice fable 10 jules delta 24 jules harbor 78 jules birch 58 alice cobalt 63
farah cobalt 98 bruno ember 106 ivan ember 16 alice fable 10 jules delta 24 jules harbor 78 jules birch 58 alice cobalt 63
alice harbor 17 gus ember 10 gus ember 66 dina cobalt 99 farah fable 91 kim harbor 73 hana indigo 60
alice harbor 17 gus ember 10 gus ember 66 dina cobalt 99 farah fable 91 kim harbor 73 hana indigo 60
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047223-p1
Remove leading and trailing whitespace and replace consecutive internal whitespace characters with a single space.
{$1=$1;print}
farah cobalt 98 bruno ember 106 ivan ember 16 alice fable 10 jules delta 24 jules harbor 78 jules birch 58 alice cobalt 63
farah cobalt 98 bruno ember 106 ivan ember 16 alice fable 10 jules delta 24 jules harbor 78 jules birch 58 alice cobalt 63
alice harbor 17 gus ember 10 gus ember 66 dina cobalt 99 farah fable 91 kim harbor 73 hana indigo 60
alice harbor 17 gus ember 10 gus ember 66 dina cobalt 99 farah fable 91 kim harbor 73 hana indigo 60
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047223
qwen/qwen3.7-plus
awkweave-0047224
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen cobalt 82 active lina juniper 60 failed eli cobalt 0 pending gus delta 27 paused bruno birch 13 pending lina ember 45 paused
lina juniper 60 failed
farah juniper 107 failed alice amber 42 ready dina cobalt 103 paused ivan cobalt 29 closed eli grove 42 failed jules grove 19 pending alice cobalt 32 pending alice ember 47 closed
farah juniper 107 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047224-p1
Output the longest line from the input, selecting the first one encountered if there is a tie in length.
{if(length($0)>length(best))best=$0}END{print best}
chen cobalt 82 active lina juniper 60 failed eli cobalt 0 pending gus delta 27 paused bruno birch 13 pending lina ember 45 paused
lina juniper 60 failed
farah juniper 107 failed alice amber 42 ready dina cobalt 103 paused ivan cobalt 29 closed eli grove 42 failed jules grove 19 pending alice cobalt 32 pending alice ember 47 closed
farah juniper 107 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047224
qwen/qwen3.7-plus
awkweave-0047225
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
farah 12 kim 114 alice 94 bruno 29 ivan 18 jules 22 hana 66 bruno 55
farah 12 bruno 29 hana 66
hana 13 alice 85 farah 16 alice 31 eli 75 farah 73 alice 51
hana 13 alice 31 alice 51
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047225-p1
Display lines 1, 4, 7, and so on, effectively printing every third line starting from the first.
NR%3==1
farah 12 kim 114 alice 94 bruno 29 ivan 18 jules 22 hana 66 bruno 55
farah 12 bruno 29 hana 66
hana 13 alice 85 farah 16 alice 31 eli 75 farah 73 alice 51
hana 13 alice 31 alice 51
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047225
qwen/qwen3.7-plus
awkweave-0047226
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma fable 65 gamma grove 65 gamma amber 65 beta birch 45 gamma fable 30 beta fable 62 beta ember 21 beta juniper 7
6
beta ember 25 alpha juniper 6 beta amber 61 gamma amber 30 gamma juniper 119 gamma juniper 37 delta indigo 45 beta juniper 90
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047226-p1
Calculate and print only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma fable 65 gamma grove 65 gamma amber 65 beta birch 45 gamma fable 30 beta fable 62 beta ember 21 beta juniper 7
6
beta ember 25 alpha juniper 6 beta amber 61 gamma amber 30 gamma juniper 119 gamma juniper 37 delta indigo 45 beta juniper 90
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047226
qwen/qwen3.7-plus
awkweave-0047227
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}
ivan 21 0 kim 13 17 bruno 27 15 farah 1 3 chen 2 10 jules 5 29 jules 19 25 ivan 5 22
kim 0.76 bruno 1.80 farah 0.33 chen 0.20 jules 0.17 jules 0.76 ivan 0.23
chen 23 0 eli 11 5 chen 1 28 bruno 1 24 jules 19 30 alice 13 21 hana 6 22 ivan 6 28 farah 24 21
eli 2.20 chen 0.04 bruno 0.04 jules 0.63 alice 0.62 hana 0.27 ivan 0.21 farah 1.14
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047227-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}
ivan 21 0 kim 13 17 bruno 27 15 farah 1 3 chen 2 10 jules 5 29 jules 19 25 ivan 5 22
kim 0.76 bruno 1.80 farah 0.33 chen 0.20 jules 0.17 jules 0.76 ivan 0.23
chen 23 0 eli 11 5 chen 1 28 bruno 1 24 jules 19 30 alice 13 21 hana 6 22 ivan 6 28 farah 24 21
eli 2.20 chen 0.04 bruno 0.04 jules 0.63 alice 0.62 hana 0.27 ivan 0.21 farah 1.14
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047227
qwen/qwen3.7-plus
awkweave-0047228
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]}
gus amber 2 ivan indigo 18 ivan birch 22 alice birch 29 hana grove 6 kim indigo 17 lina birch 24 eli ember 14
alice birch 29 lina birch 24 ivan birch 22
bruno amber 29 farah indigo 28 farah harbor 14 farah cobalt 14 hana fable 17 gus juniper 15 alice harbor 17 lina grove 22
bruno amber 29 farah indigo 28 lina grove 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047228-p1
List the top three records with the highest numeric values in column 3 in descending order, maintaining 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]}
gus amber 2 ivan indigo 18 ivan birch 22 alice birch 29 hana grove 6 kim indigo 17 lina birch 24 eli ember 14
alice birch 29 lina birch 24 ivan birch 22
bruno amber 29 farah indigo 28 farah harbor 14 farah cobalt 14 hana fable 17 gus juniper 15 alice harbor 17 lina grove 22
bruno amber 29 farah indigo 28 lina grove 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047228
qwen/qwen3.7-plus
awkweave-0047229
For each line, output fields 3 and 1, in that order.
{print $3, $1}
indigo paused indigo ember harbor delta pending juniper harbor fable cobalt failed ember amber amber ember failed delta fable grove ember pending delta grove birch indigo pending ember fable harbor harbor pending indigo juniper birch ember ready birch grove ember
indigo indigo juniper delta ember cobalt delta ember delta ember ember indigo indigo harbor birch ember
ember closed harbor juniper grove cobalt closed delta delta grove grove paused delta amber delta fable pending indigo harbor delta harbor pending harbor grove birch birch closed ember juniper indigo harbor active cobalt indigo juniper juniper ready amber juniper fable
harbor ember delta cobalt delta grove indigo fable harbor harbor ember birch cobalt harbor amber juniper
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047229-p1
Print the third field followed by the first field for every line.
{print $3, $1}
indigo paused indigo ember harbor delta pending juniper harbor fable cobalt failed ember amber amber ember failed delta fable grove ember pending delta grove birch indigo pending ember fable harbor harbor pending indigo juniper birch ember ready birch grove ember
indigo indigo juniper delta ember cobalt delta ember delta ember ember indigo indigo harbor birch ember
ember closed harbor juniper grove cobalt closed delta delta grove grove paused delta amber delta fable pending indigo harbor delta harbor pending harbor grove birch birch closed ember juniper indigo harbor active cobalt indigo juniper juniper ready amber juniper fable
harbor ember delta cobalt delta grove indigo fable harbor harbor ember birch cobalt harbor amber juniper
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047229
qwen/qwen3.7-plus
awkweave-0047230
Print the last field of every input line.
{print $NF}
eli closed 88 grove bruno closed 43 birch gus active 103 birch hana closed 44 amber chen paused 27 juniper gus pending 8 cobalt gus active 99 juniper lina failed 39 amber farah active 4 amber hana ready 110 grove
grove birch birch amber juniper cobalt juniper amber amber grove
hana ready 47 fable bruno closed 92 delta eli failed 86 ember bruno paused 11 fable gus active 42 harbor hana ready 116 harbor eli active 80 cobalt alice failed 25 harbor eli paused 73 fable
fable delta ember fable harbor harbor cobalt harbor fable
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047230-p1
Output the final field from each line of input.
{print $NF}
eli closed 88 grove bruno closed 43 birch gus active 103 birch hana closed 44 amber chen paused 27 juniper gus pending 8 cobalt gus active 99 juniper lina failed 39 amber farah active 4 amber hana ready 110 grove
grove birch birch amber juniper cobalt juniper amber amber grove
hana ready 47 fable bruno closed 92 delta eli failed 86 ember bruno paused 11 fable gus active 42 harbor hana ready 116 harbor eli active 80 cobalt alice failed 25 harbor eli paused 73 fable
fable delta ember fable harbor harbor cobalt harbor fable
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047230
qwen/qwen3.7-plus
awkweave-0047231
Print the complete records where column 1 is less than 59.
$1 < 59
70 indigo lina grove 31 grove dina cobalt 68 juniper eli amber 54 juniper gus juniper 105 harbor farah harbor 93 cobalt gus birch 32 cobalt gus delta
31 grove dina cobalt 54 juniper gus juniper 32 cobalt gus delta
119 ember bruno delta 79 amber hana amber 47 birch hana fable 76 indigo hana ember 60 grove alice harbor 90 harbor farah fable 102 juniper jules harbor 26 indigo chen grove 116 birch jules juniper
47 birch hana fable 26 indigo chen grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047231-p1
Display full records where the value in the first column is strictly less than 59.
$1 < 59
70 indigo lina grove 31 grove dina cobalt 68 juniper eli amber 54 juniper gus juniper 105 harbor farah harbor 93 cobalt gus birch 32 cobalt gus delta
31 grove dina cobalt 54 juniper gus juniper 32 cobalt gus delta
119 ember bruno delta 79 amber hana amber 47 birch hana fable 76 indigo hana ember 60 grove alice harbor 90 harbor farah fable 102 juniper jules harbor 26 indigo chen grove 116 birch jules juniper
47 birch hana fable 26 indigo chen grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047231
qwen/qwen3.7-plus
awkweave-0047232
Show whole lines whose 1st field is between 5 and 26, inclusive.
$1 >= 5 && $1 <= 26
24 active amber juniper 19 paused juniper ember 15 ready amber ember 22 failed grove juniper 20 pending ember harbor 19 closed delta amber 23 failed ember harbor 22 ready indigo delta 13 pending delta ember
24 active amber juniper 19 paused juniper ember 15 ready amber ember 22 failed grove juniper 20 pending ember harbor 19 closed delta amber 23 failed ember harbor 22 ready indigo delta 13 pending delta ember
30 paused grove fable 9 closed ember indigo 30 failed ember cobalt 4 failed juniper fable 19 failed delta juniper 2 active ember indigo 18 closed grove harbor 21 ready indigo grove 28 closed harbor indigo
9 closed ember indigo 19 failed delta juniper 18 closed grove harbor 21 ready indigo grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047232-p1
Show entire lines where the first field falls within the inclusive range of 5 to 26.
$1 >= 5 && $1 <= 26
24 active amber juniper 19 paused juniper ember 15 ready amber ember 22 failed grove juniper 20 pending ember harbor 19 closed delta amber 23 failed ember harbor 22 ready indigo delta 13 pending delta ember
24 active amber juniper 19 paused juniper ember 15 ready amber ember 22 failed grove juniper 20 pending ember harbor 19 closed delta amber 23 failed ember harbor 22 ready indigo delta 13 pending delta ember
30 paused grove fable 9 closed ember indigo 30 failed ember cobalt 4 failed juniper fable 19 failed delta juniper 2 active ember indigo 18 closed grove harbor 21 ready indigo grove 28 closed harbor indigo
9 closed ember indigo 19 failed delta juniper 18 closed grove harbor 21 ready indigo grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047232
qwen/qwen3.7-plus
awkweave-0047233
Print column 3 only for rows where column 1 is exactly ready.
$1 == "ready"{print $3}
failed fable chen 102 pending harbor chen 102 failed indigo hana 86 ready juniper jules 76 failed delta ivan 61 ready amber ivan 39 active amber ivan 98 paused birch eli 1
jules ivan
failed fable hana 30 closed delta ivan 17 paused grove alice 23 failed birch alice 94 paused cobalt dina 32 failed juniper lina 2
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047233-p1
Output only the third column for rows where the first column matches the text 'ready' exactly.
$1 == "ready"{print $3}
failed fable chen 102 pending harbor chen 102 failed indigo hana 86 ready juniper jules 76 failed delta ivan 61 ready amber ivan 39 active amber ivan 98 paused birch eli 1
jules ivan
failed fable hana 30 closed delta ivan 17 paused grove alice 23 failed birch alice 94 paused cobalt dina 32 failed juniper lina 2
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047233
qwen/qwen3.7-plus
awkweave-0047234
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
ember WARN 59 harbor WARN 41 amber INFO 46 ember DEBUG 68 birch INFO 61 harbor ERROR 13 birch DEBUG 56 cobalt INFO 84
harbor ERROR 13
juniper DEBUG 44 ember INFO 86 grove ERROR 28 delta DEBUG 13 fable INFO 89 delta WARN 70 amber INFO 61 grove WARN 76 cobalt ERROR 5 fable INFO 12
grove ERROR 28 cobalt ERROR 5
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047234-p1
Print all fields from any line where the second field starts with the string 'ERROR'.
$2 ~ /^ERROR/
ember WARN 59 harbor WARN 41 amber INFO 46 ember DEBUG 68 birch INFO 61 harbor ERROR 13 birch DEBUG 56 cobalt INFO 84
harbor ERROR 13
juniper DEBUG 44 ember INFO 86 grove ERROR 28 delta DEBUG 13 fable INFO 89 delta WARN 70 amber INFO 61 grove WARN 76 cobalt ERROR 5 fable INFO 12
grove ERROR 28 cobalt ERROR 5
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047234
qwen/qwen3.7-plus
awkweave-0047235
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
delta 20 pending fable 73 failed ember 64 closed grove 82 paused birch 27 failed indigo 18 failed grove 39 paused harbor 91 closed harbor 30 paused cobalt 999 active
delta 20 pending fable 73 failed ember 64 closed grove 82 paused birch 27 failed indigo 18 failed grove 39 paused harbor 91 closed harbor 30 paused
ember 102 closed amber 18 pending harbor 66 pending grove 74 active amber 93 closed delta 52 pending indigo 74 active birch 55 paused birch 35 pending amber 81 paused cobalt 999 active
ember 102 closed amber 18 pending harbor 66 pending grove 74 active amber 93 closed delta 52 pending indigo 74 active birch 55 paused birch 35 pending amber 81 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047235-p1
Output every line that does not contain the exact substring 'cobalt'.
$0 !~ /cobalt/
delta 20 pending fable 73 failed ember 64 closed grove 82 paused birch 27 failed indigo 18 failed grove 39 paused harbor 91 closed harbor 30 paused cobalt 999 active
delta 20 pending fable 73 failed ember 64 closed grove 82 paused birch 27 failed indigo 18 failed grove 39 paused harbor 91 closed harbor 30 paused
ember 102 closed amber 18 pending harbor 66 pending grove 74 active amber 93 closed delta 52 pending indigo 74 active birch 55 paused birch 35 pending amber 81 paused cobalt 999 active
ember 102 closed amber 18 pending harbor 66 pending grove 74 active amber 93 closed delta 52 pending indigo 74 active birch 55 paused birch 35 pending amber 81 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047235
qwen/qwen3.7-plus
awkweave-0047236
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
kim ember 106 ivan harbor 24 dina fable 65 kim ember 31 farah juniper 2 jules juniper 55 ivan indigo 97 bruno juniper 28 chen indigo 12
ivan harbor 24 dina fable 65 kim ember 31 farah juniper 2
farah grove 107 dina delta 115 alice ember 55 alice juniper 21 farah delta 65 jules birch 53 bruno cobalt 60 hana ember 16 bruno indigo 75 hana birch 11
dina delta 115 alice ember 55 alice juniper 21 farah delta 65
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047236-p1
Display lines 2 to 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
kim ember 106 ivan harbor 24 dina fable 65 kim ember 31 farah juniper 2 jules juniper 55 ivan indigo 97 bruno juniper 28 chen indigo 12
ivan harbor 24 dina fable 65 kim ember 31 farah juniper 2
farah grove 107 dina delta 115 alice ember 55 alice juniper 21 farah delta 65 jules birch 53 bruno cobalt 60 hana ember 16 bruno indigo 75 hana birch 11
dina delta 115 alice ember 55 alice juniper 21 farah delta 65
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047236
qwen/qwen3.7-plus
awkweave-0047237
Output only the first 3 records.
NR <= 3
hana 34 indigo chen 115 indigo jules 24 fable chen 118 indigo bruno 22 birch ivan 86 juniper dina 108 harbor
hana 34 indigo chen 115 indigo jules 24 fable
dina 33 grove gus 108 grove jules 87 harbor kim 60 delta farah 67 cobalt gus 108 amber
dina 33 grove gus 108 grove jules 87 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047237-p1
Output just the initial 3 records.
NR <= 3
hana 34 indigo chen 115 indigo jules 24 fable chen 118 indigo bruno 22 birch ivan 86 juniper dina 108 harbor
hana 34 indigo chen 115 indigo jules 24 fable
dina 33 grove gus 108 grove jules 87 harbor kim 60 delta farah 67 cobalt gus 108 amber
dina 33 grove gus 108 grove jules 87 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047237
qwen/qwen3.7-plus
awkweave-0047238
Skip the first line and print every remaining line unchanged.
NR > 1
eli 105 cobalt gus 101 delta gus 30 grove ivan 14 birch farah 2 harbor eli 75 grove bruno 46 juniper
gus 101 delta gus 30 grove ivan 14 birch farah 2 harbor eli 75 grove bruno 46 juniper
kim 38 delta gus 15 juniper farah 32 juniper bruno 30 cobalt ivan 100 birch gus 120 indigo
gus 15 juniper farah 32 juniper bruno 30 cobalt ivan 100 birch gus 120 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047238-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
eli 105 cobalt gus 101 delta gus 30 grove ivan 14 birch farah 2 harbor eli 75 grove bruno 46 juniper
gus 101 delta gus 30 grove ivan 14 birch farah 2 harbor eli 75 grove bruno 46 juniper
kim 38 delta gus 15 juniper farah 32 juniper bruno 30 cobalt ivan 100 birch gus 120 indigo
gus 15 juniper farah 32 juniper bruno 30 cobalt ivan 100 birch gus 120 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047238
qwen/qwen3.7-plus
awkweave-0047239
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
alice pending 24 eli active 86 hana active 78 chen closed 115 jules pending 104 eli closed 7 alice failed 102 kim closed 111 dina pending 12 farah ready 21
1
lina closed 7 alice pending 50 lina closed 104 ivan pending 111 farah active 52 ivan paused 51 ivan paused 30
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047239-p1
Tally the number of records where column 2 contains 'ready', outputting 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
alice pending 24 eli active 86 hana active 78 chen closed 115 jules pending 104 eli closed 7 alice failed 102 kim closed 111 dina pending 12 farah ready 21
1
lina closed 7 alice pending 50 lina closed 104 ivan pending 111 farah active 52 ivan paused 51 ivan paused 30
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047239
qwen/qwen3.7-plus
awkweave-0047240
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
fable 8 eli birch 2 ivan harbor 28 eli amber 20 farah birch 28 lina fable 23 alice birch 18 farah
127
cobalt 13 eli harbor 20 jules juniper 12 lina birch 15 alice fable 1 lina grove 6 chen ember 29 gus delta 3 jules juniper 15 bruno ember 23 eli
137
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047240-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
fable 8 eli birch 2 ivan harbor 28 eli amber 20 farah birch 28 lina fable 23 alice birch 18 farah
127
cobalt 13 eli harbor 20 jules juniper 12 lina birch 15 alice fable 1 lina grove 6 chen ember 29 gus delta 3 jules juniper 15 bruno ember 23 eli
137
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047240
qwen/qwen3.7-plus
awkweave-0047241
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 11 jules harbor 30 lina ember 25 alice birch 13 dina delta 24 dina amber 21 jules indigo 23 gus amber 30 dina fable 15 eli ember 2 chen
19.40
birch 12 hana harbor 20 gus indigo 17 gus cobalt 2 bruno fable 2 farah amber 26 jules juniper 30 lina juniper 26 ivan harbor 6 jules
15.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047241-p1
Calculate the average of values in column 2 and print it rounded to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 11 jules harbor 30 lina ember 25 alice birch 13 dina delta 24 dina amber 21 jules indigo 23 gus amber 30 dina fable 15 eli ember 2 chen
19.40
birch 12 hana harbor 20 gus indigo 17 gus cobalt 2 bruno fable 2 farah amber 26 jules juniper 30 lina juniper 26 ivan harbor 6 jules
15.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047241
qwen/qwen3.7-plus
awkweave-0047242
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
juniper lina 23 fable lina 2 harbor lina 13 grove dina 2 harbor kim 21 delta farah 1 grove gus 9 birch eli 4 indigo lina 1 grove ivan 27
1
indigo lina 8 ember gus 15 harbor jules 8 delta dina 13 harbor eli 20 cobalt eli 22 birch ivan 19
8
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047242-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
juniper lina 23 fable lina 2 harbor lina 13 grove dina 2 harbor kim 21 delta farah 1 grove gus 9 birch eli 4 indigo lina 1 grove ivan 27
1
indigo lina 8 ember gus 15 harbor jules 8 delta dina 13 harbor eli 20 cobalt eli 22 birch ivan 19
8
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047242
qwen/qwen3.7-plus
awkweave-0047243
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 19 delta eli 8 ember lina 11 grove chen 18 grove dina 22 juniper dina 30 juniper
30
jules 26 fable kim 7 birch bruno 26 ember hana 4 grove bruno 13 fable kim 25 cobalt lina 22 birch
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047243-p1
Identify and output the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 19 delta eli 8 ember lina 11 grove chen 18 grove dina 22 juniper dina 30 juniper
30
jules 26 fable kim 7 birch bruno 26 ember hana 4 grove bruno 13 fable kim 25 cobalt lina 22 birch
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047243
qwen/qwen3.7-plus
awkweave-0047244
Count all input records and print the total.
END{print NR}
dina 104 eli 33 kim 90 alice 5 chen 75 eli 108 farah 53 chen 47
8
chen 56 eli 1 lina 104 kim 53 hana 119 alice 67
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047244-p1
Count the total number of input records and print this figure.
END{print NR}
dina 104 eli 33 kim 90 alice 5 chen 75 eli 108 farah 53 chen 47
8
chen 56 eli 1 lina 104 kim 53 hana 119 alice 67
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047244
qwen/qwen3.7-plus
awkweave-0047245
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules amber 60 lina cobalt 32 ivan delta 17 eli juniper 79 lina fable 88 jules juniper 109 lina indigo 106 jules juniper 109 eli delta 74 bruno fable 46 chen fable 39
jules amber 60 lina cobalt 32 ivan delta 17 eli juniper 79 lina fable 88 jules juniper 109 lina indigo 106 eli delta 74 bruno fable 46 chen fable 39
dina birch 39 eli birch 119 eli indigo 39 kim grove 58 dina birch 8 kim fable 119 eli indigo 39 lina harbor 111
dina birch 39 eli birch 119 eli indigo 39 kim grove 58 dina birch 8 kim fable 119 lina harbor 111
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047245-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
jules amber 60 lina cobalt 32 ivan delta 17 eli juniper 79 lina fable 88 jules juniper 109 lina indigo 106 jules juniper 109 eli delta 74 bruno fable 46 chen fable 39
jules amber 60 lina cobalt 32 ivan delta 17 eli juniper 79 lina fable 88 jules juniper 109 lina indigo 106 eli delta 74 bruno fable 46 chen fable 39
dina birch 39 eli birch 119 eli indigo 39 kim grove 58 dina birch 8 kim fable 119 eli indigo 39 lina harbor 111
dina birch 39 eli birch 119 eli indigo 39 kim grove 58 dina birch 8 kim fable 119 lina harbor 111
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047245
qwen/qwen3.7-plus
awkweave-0047246
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
farah cobalt 26 eli indigo 103 kim indigo 98 jules harbor 68 ivan fable 116 alice cobalt 91 jules fable 106
farah cobalt 26 eli indigo 103 jules harbor 68 ivan fable 116
bruno indigo 110 farah harbor 22 kim birch 74 bruno grove 54 kim grove 80 ivan indigo 117 ivan cobalt 110
bruno indigo 110 farah harbor 22 kim birch 74 bruno grove 54 ivan cobalt 110
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047246-p1
Retain only the first occurrence for each unique value in column 2, preserving the original input order.
!seen[$2]++
farah cobalt 26 eli indigo 103 kim indigo 98 jules harbor 68 ivan fable 116 alice cobalt 91 jules fable 106
farah cobalt 26 eli indigo 103 jules harbor 68 ivan fable 116
bruno indigo 110 farah harbor 22 kim birch 74 bruno grove 54 kim grove 80 ivan indigo 117 ivan cobalt 110
bruno indigo 110 farah harbor 22 kim birch 74 bruno grove 54 ivan cobalt 110
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047246
qwen/qwen3.7-plus
awkweave-0047247
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 13 delta dina 4 birch alice 15 delta eli 12 cobalt jules 19 harbor gus 26 grove
kim 13 dina 17 alice 32 eli 44 jules 63 gus 89
farah 14 amber kim 1 harbor dina 6 amber gus 6 harbor kim 27 cobalt bruno 6 cobalt kim 12 harbor gus 5 harbor gus 12 birch
farah 14 kim 15 dina 21 gus 27 kim 54 bruno 60 kim 72 gus 77 gus 89
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047247-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 13 delta dina 4 birch alice 15 delta eli 12 cobalt jules 19 harbor gus 26 grove
kim 13 dina 17 alice 32 eli 44 jules 63 gus 89
farah 14 amber kim 1 harbor dina 6 amber gus 6 harbor kim 27 cobalt bruno 6 cobalt kim 12 harbor gus 5 harbor gus 12 birch
farah 14 kim 15 dina 21 gus 27 kim 54 bruno 60 kim 72 gus 77 gus 89
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047247
qwen/qwen3.7-plus
awkweave-0047248
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 10 22 cobalt dina 3 15 cobalt jules 5 15 ember alice 28 10 delta hana 24 12 fable farah 4 2 ember
hana 32 dina 18 jules 20 alice 38 hana 36 farah 6
alice 3 11 cobalt ivan 19 12 fable jules 29 5 grove eli 14 27 birch ivan 14 18 indigo lina 22 1 grove
alice 14 ivan 31 jules 34 eli 41 ivan 32 lina 23
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047248-p1
For each line, output the first field followed by the total of the second and third fields.
{print $1,$2+$3}
hana 10 22 cobalt dina 3 15 cobalt jules 5 15 ember alice 28 10 delta hana 24 12 fable farah 4 2 ember
hana 32 dina 18 jules 20 alice 38 hana 36 farah 6
alice 3 11 cobalt ivan 19 12 fable jules 29 5 grove eli 14 27 birch ivan 14 18 indigo lina 22 1 grove
alice 14 ivan 31 jules 34 eli 41 ivan 32 lina 23
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047248
qwen/qwen3.7-plus
awkweave-0047249
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
lina 11 lina 25 chen 30 bruno 8 alice 17 gus 8 alice 5 farah 10
lina fail lina pass chen pass bruno fail alice fail gus fail alice fail farah fail
jules 18 bruno 22 chen 29 ivan 7 ivan 3 ivan 27 chen 28 lina 17 dina 8 lina 23
jules fail bruno pass chen pass ivan fail ivan fail ivan pass chen pass lina fail dina fail lina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047249-p1
Output the first column; if the second column is 20 or higher, print 'pass', otherwise print 'fail'.
{print $1,($2>=20?"pass":"fail")}
lina 11 lina 25 chen 30 bruno 8 alice 17 gus 8 alice 5 farah 10
lina fail lina pass chen pass bruno fail alice fail gus fail alice fail farah fail
jules 18 bruno 22 chen 29 ivan 7 ivan 3 ivan 27 chen 28 lina 17 dina 8 lina 23
jules fail bruno pass chen pass ivan fail ivan fail ivan pass chen pass lina fail dina fail lina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047249
qwen/qwen3.7-plus
awkweave-0047250
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
bruno indigo 18 jules juniper 65 bruno delta 103 lina birch 73 kim birch 108 ivan amber 5 eli indigo 118 kim grove 38 hana harbor 105 farah grove 61
INDIGO JUNIPER DELTA BIRCH BIRCH AMBER INDIGO GROVE HARBOR GROVE
alice delta 91 hana cobalt 9 gus indigo 44 farah grove 100 lina fable 97 bruno grove 5 alice fable 28 farah harbor 82 dina birch 53
DELTA COBALT INDIGO GROVE FABLE GROVE FABLE HARBOR BIRCH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047250-p1
Transform the second column to uppercase and display only that column.
{print toupper($2)}
bruno indigo 18 jules juniper 65 bruno delta 103 lina birch 73 kim birch 108 ivan amber 5 eli indigo 118 kim grove 38 hana harbor 105 farah grove 61
INDIGO JUNIPER DELTA BIRCH BIRCH AMBER INDIGO GROVE HARBOR GROVE
alice delta 91 hana cobalt 9 gus indigo 44 farah grove 100 lina fable 97 bruno grove 5 alice fable 28 farah harbor 82 dina birch 53
DELTA COBALT INDIGO GROVE FABLE GROVE FABLE HARBOR BIRCH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047250
qwen/qwen3.7-plus
awkweave-0047251
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
ember 92 amber 53 harbor 52 harbor 73 grove 45 birch 47
be be rb rb ov rc
ember 91 juniper 83 amber 16 grove 53 cobalt 26 indigo 7 grove 120 amber 65
be ni be ov ba di ov be
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047251-p1
Extract and print a 2-character substring from the first column, starting at the third character.
{print substr($1,3,2)}
ember 92 amber 53 harbor 52 harbor 73 grove 45 birch 47
be be rb rb ov rc
ember 91 juniper 83 amber 16 grove 53 cobalt 26 indigo 7 grove 120 amber 65
be ni be ov ba di ov be
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047251
qwen/qwen3.7-plus
awkweave-0047252
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_grove 4 indigo_fable 13 ember_cobalt 49 ember_indigo 12 fable_birch 15 birch_indigo 112 delta_ember 98 amber_cobalt 110 fable_fable 59
juniper grove indigo fable ember cobalt ember indigo fable birch birch indigo delta ember amber cobalt fable fable
birch_grove 48 ember_juniper 101 cobalt_delta 49 birch_fable 88 juniper_grove 109 delta_juniper 3
birch grove ember juniper cobalt delta birch fable juniper grove delta juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047252-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_grove 4 indigo_fable 13 ember_cobalt 49 ember_indigo 12 fable_birch 15 birch_indigo 112 delta_ember 98 amber_cobalt 110 fable_fable 59
juniper grove indigo fable ember cobalt ember indigo fable birch birch indigo delta ember amber cobalt fable fable
birch_grove 48 ember_juniper 101 cobalt_delta 49 birch_fable 88 juniper_grove 109 delta_juniper 3
birch grove ember juniper cobalt delta birch fable juniper grove delta juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047252
qwen/qwen3.7-plus
awkweave-0047253
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules ember 2 closed ivan indigo 104 paused farah juniper 80 closed bruno birch 68 pending jules amber 114 paused hana birch 60 pending lina delta 39 closed hana birch 56 paused farah ember 26 paused hana indigo 8 ready
closed 2 ember jules paused 104 indigo ivan closed 80 juniper farah pending 68 birch bruno paused 114 amber jules pending 60 birch hana closed 39 delta lina paused 56 birch hana paused 26 ember farah ready 8 indigo hana
kim harbor 120 failed jules fable 111 failed bruno harbor 59 active bruno indigo 58 ready gus amber 5 active hana harbor 12 pending
failed 120 harbor kim failed 111 fable jules active 59 harbor bruno ready 58 indigo bruno active 5 amber gus pending 12 harbor hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047253-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules ember 2 closed ivan indigo 104 paused farah juniper 80 closed bruno birch 68 pending jules amber 114 paused hana birch 60 pending lina delta 39 closed hana birch 56 paused farah ember 26 paused hana indigo 8 ready
closed 2 ember jules paused 104 indigo ivan closed 80 juniper farah pending 68 birch bruno paused 114 amber jules pending 60 birch hana closed 39 delta lina paused 56 birch hana paused 26 ember farah ready 8 indigo hana
kim harbor 120 failed jules fable 111 failed bruno harbor 59 active bruno indigo 58 ready gus amber 5 active hana harbor 12 pending
failed 120 harbor kim failed 111 fable jules active 59 harbor bruno ready 58 indigo bruno active 5 amber gus pending 12 harbor hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047253
qwen/qwen3.7-plus
awkweave-0047254
Print the number of whitespace-separated fields on each line.
{print NF}
chen delta 81 pending gus indigo 49 pending bruno delta 116 ready eli grove 74 paused gus birch 12 active kim ember 20 pending ivan harbor 27 pending
4 4 4 4 4 4 4
alice amber 11 pending ivan harbor 55 pending dina ember 22 closed jules grove 63 ready jules ember 104 active eli juniper 74 pending
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047254-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
chen delta 81 pending gus indigo 49 pending bruno delta 116 ready eli grove 74 paused gus birch 12 active kim ember 20 pending ivan harbor 27 pending
4 4 4 4 4 4 4
alice amber 11 pending ivan harbor 55 pending dina ember 22 closed jules grove 63 ready jules ember 104 active eli juniper 74 pending
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047254
qwen/qwen3.7-plus
awkweave-0047255
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]]}
farah delta 60 dina alpha 44 jules alpha 60 jules delta 32 hana beta 34 eli alpha 115 gus alpha 24
delta 2 alpha 4 beta 1
dina gamma 80 eli alpha 53 farah gamma 92 hana alpha 79 kim beta 99 kim gamma 94 dina alpha 53 kim gamma 51 dina beta 73 jules gamma 0
gamma 5 alpha 3 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047255-p1
Tally the records for each unique value in the second column. Output each value and its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
farah delta 60 dina alpha 44 jules alpha 60 jules delta 32 hana beta 34 eli alpha 115 gus alpha 24
delta 2 alpha 4 beta 1
dina gamma 80 eli alpha 53 farah gamma 92 hana alpha 79 kim beta 99 kim gamma 94 dina alpha 53 kim gamma 51 dina beta 73 jules gamma 0
gamma 5 alpha 3 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047255
qwen/qwen3.7-plus
awkweave-0047256
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]]}
ivan alpha 11 ivan delta 15 eli gamma 3 ivan delta 13 farah alpha 26 gus delta 28
alpha 37 delta 56 gamma 3
eli beta 26 dina gamma 5 chen alpha 18 bruno alpha 22 hana alpha 18 dina alpha 28
beta 26 gamma 5 alpha 86
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047256-p1
Calculate the sum of the third column for each group defined by the second column, printing results 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]]}
ivan alpha 11 ivan delta 15 eli gamma 3 ivan delta 13 farah alpha 26 gus delta 28
alpha 37 delta 56 gamma 3
eli beta 26 dina gamma 5 chen alpha 18 bruno alpha 22 hana alpha 18 dina alpha 28
beta 26 gamma 5 alpha 86
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047256
qwen/qwen3.7-plus
awkweave-0047257
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma juniper 47 beta juniper 34 beta ember 39 gamma indigo 108 gamma indigo 78 alpha indigo 91 alpha amber 93 beta juniper 110
gamma 3 beta 3 alpha 2
beta grove 45 beta juniper 80 alpha birch 113 alpha delta 50 gamma birch 78 gamma delta 61 alpha delta 98 alpha birch 15
beta 2 alpha 4 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047257-p1
List each duplicate value from the first column along with its occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma juniper 47 beta juniper 34 beta ember 39 gamma indigo 108 gamma indigo 78 alpha indigo 91 alpha amber 93 beta juniper 110
gamma 3 beta 3 alpha 2
beta grove 45 beta juniper 80 alpha birch 113 alpha delta 50 gamma birch 78 gamma delta 61 alpha delta 98 alpha birch 15
beta 2 alpha 4 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047257
qwen/qwen3.7-plus
awkweave-0047258
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region note record_id display_name r001 farah 16 pending r002 ivan 23 paused r003 alice 18 active r004 lina 11 active r005 jules 22 active r006 ivan 24 closed r007 alice 13 ready r008 alice 1 closed r009 ivan 3 ready r010 eli 13 paused
farah ivan alice lina jules ivan alice alice ivan eli
region note record_id display_name r001 lina 26 paused r002 dina 13 active r003 lina 6 ready r004 chen 4 closed r005 ivan 25 active r006 jules 29 failed r007 hana 14 paused r008 kim 14 pending
lina dina lina chen ivan jules hana kim
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047258-p1
Skip the header row and print the 'note' column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region note record_id display_name r001 farah 16 pending r002 ivan 23 paused r003 alice 18 active r004 lina 11 active r005 jules 22 active r006 ivan 24 closed r007 alice 13 ready r008 alice 1 closed r009 ivan 3 ready r010 eli 13 paused
farah ivan alice lina jules ivan alice alice ivan eli
region note record_id display_name r001 lina 26 paused r002 dina 13 active r003 lina 6 ready r004 chen 4 closed r005 ivan 25 active r006 jules 29 failed r007 hana 14 paused r008 kim 14 pending
lina dina lina chen ivan jules hana kim
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047258
qwen/qwen3.7-plus
awkweave-0047259
The first row is a header. Print display_name for data rows whose score is greater than 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 dina 20 pending r002 bruno 18 closed r003 alice 19 paused r004 hana 28 pending r005 chen 4 paused r006 lina 28 pending r007 chen 7 paused r008 jules 13 ready r009 farah 21 pending
dina bruno alice hana lina jules farah
record_id display_name score state r001 kim 22 paused r002 lina 26 ready r003 jules 13 closed r004 eli 28 paused r005 lina 21 closed r006 lina 11 failed r007 kim 2 failed
kim lina jules eli lina lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047259-p1
Ignore the header row and print the 'display_name' column for data rows where the 'score' exceeds 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 dina 20 pending r002 bruno 18 closed r003 alice 19 paused r004 hana 28 pending r005 chen 4 paused r006 lina 28 pending r007 chen 7 paused r008 jules 13 ready r009 farah 21 pending
dina bruno alice hana lina jules farah
record_id display_name score state r001 kim 22 paused r002 lina 26 ready r003 jules 13 closed r004 eli 28 paused r005 lina 21 closed r006 lina 11 failed r007 kim 2 failed
kim lina jules eli lina lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047259
qwen/qwen3.7-plus
awkweave-0047260
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 28 ready ivan 15 ready hana 10 paused chen 9 closed dina 1 failed chen 27 paused
ready ready paused closed failed paused
hana 8 failed ivan 5 closed dina 20 ready jules 18 closed chen 19 active dina 13 closed farah 12 pending farah 30 failed chen 11 failed chen 21 failed
failed closed ready closed active closed pending failed failed failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047260-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 28 ready ivan 15 ready hana 10 paused chen 9 closed dina 1 failed chen 27 paused
ready ready paused closed failed paused
hana 8 failed ivan 5 closed dina 20 ready jules 18 closed chen 19 active dina 13 closed farah 12 pending farah 30 failed chen 11 failed chen 21 failed
failed closed ready closed active closed pending failed failed failed
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0047260
qwen/qwen3.7-plus
awkweave-0047261
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8.
BEGIN{FS=OFS=","}$2>8{print $1}
chen,2,paused eli,21,active farah,13,paused farah,21,pending gus,26,failed jules,18,paused bruno,2,failed
eli farah farah gus jules
ivan,4,closed kim,11,closed lina,24,active dina,17,closed alice,29,paused bruno,17,failed bruno,29,closed
kim lina dina alice bruno bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047261-p1
Output the first field of comma-separated records where the second field is strictly greater than 8, assuming no quoted commas.
BEGIN{FS=OFS=","}$2>8{print $1}
chen,2,paused eli,21,active farah,13,paused farah,21,pending gus,26,failed jules,18,paused bruno,2,failed
eli farah farah gus jules
ivan,4,closed kim,11,closed lina,24,active dina,17,closed alice,29,paused bruno,17,failed bruno,29,closed
kim lina dina alice bruno bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047261
qwen/qwen3.7-plus
awkweave-0047262
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim indigo 116 gus ember 58 eli amber 92 farah juniper 33 alice harbor 78 chen indigo 67 lina birch 114 alice indigo 41 farah cobalt 30
kim indigo 116 gus ember 58 eli amber 92 farah juniper 33 alice harbor 78 chen indigo 67 lina birch 114 alice indigo 41 farah cobalt 30
jules birch 47 lina fable 106 jules birch 18 farah indigo 76 hana amber 100 gus fable 72 farah harbor 17 jules delta 98 hana cobalt 83 hana amber 104
jules birch 47 lina fable 106 jules birch 18 farah indigo 76 hana amber 100 gus fable 72 farah harbor 17 jules delta 98 hana cobalt 83 hana amber 104
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047262-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
kim indigo 116 gus ember 58 eli amber 92 farah juniper 33 alice harbor 78 chen indigo 67 lina birch 114 alice indigo 41 farah cobalt 30
kim indigo 116 gus ember 58 eli amber 92 farah juniper 33 alice harbor 78 chen indigo 67 lina birch 114 alice indigo 41 farah cobalt 30
jules birch 47 lina fable 106 jules birch 18 farah indigo 76 hana amber 100 gus fable 72 farah harbor 17 jules delta 98 hana cobalt 83 hana amber 104
jules birch 47 lina fable 106 jules birch 18 farah indigo 76 hana amber 100 gus fable 72 farah harbor 17 jules delta 98 hana cobalt 83 hana amber 104
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047262
qwen/qwen3.7-plus
awkweave-0047263
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus fable 110 pending bruno ember 9 paused bruno fable 113 closed chen delta 115 paused gus harbor 72 failed eli harbor 102 closed kim juniper 50 ready
bruno fable 113 closed
farah indigo 51 failed jules birch 67 paused kim indigo 68 ready alice fable 112 ready chen cobalt 10 closed eli harbor 103 failed gus juniper 103 failed ivan ember 24 failed
farah indigo 51 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047263-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, output the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
gus fable 110 pending bruno ember 9 paused bruno fable 113 closed chen delta 115 paused gus harbor 72 failed eli harbor 102 closed kim juniper 50 ready
bruno fable 113 closed
farah indigo 51 failed jules birch 67 paused kim indigo 68 ready alice fable 112 ready chen cobalt 10 closed eli harbor 103 failed gus juniper 103 failed ivan ember 24 failed
farah indigo 51 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047263
qwen/qwen3.7-plus
awkweave-0047264
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
kim 91 eli 84 gus 4 bruno 25 ivan 78 jules 21 bruno 97 chen 69
kim 91 ivan 78
jules 113 hana 49 jules 88 ivan 68 hana 10 chen 46
jules 113 hana 10
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047264-p1
Print lines 1, 5, 9, and so on, effectively selecting every fourth line starting from the first.
NR%4==1
kim 91 eli 84 gus 4 bruno 25 ivan 78 jules 21 bruno 97 chen 69
kim 91 ivan 78
jules 113 hana 49 jules 88 ivan 68 hana 10 chen 46
jules 113 hana 10
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047264
qwen/qwen3.7-plus
awkweave-0047265
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta cobalt 32 delta cobalt 97 delta indigo 71 beta delta 104 alpha grove 38 beta birch 53 beta cobalt 18
5
alpha harbor 40 alpha harbor 43 beta juniper 47 delta birch 88 alpha fable 106 gamma birch 73 alpha fable 44 alpha grove 16 beta indigo 66 beta indigo 45
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047265-p1
Calculate and output only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
beta cobalt 32 delta cobalt 97 delta indigo 71 beta delta 104 alpha grove 38 beta birch 53 beta cobalt 18
5
alpha harbor 40 alpha harbor 43 beta juniper 47 delta birch 88 alpha fable 106 gamma birch 73 alpha fable 44 alpha grove 16 beta indigo 66 beta indigo 45
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047265
qwen/qwen3.7-plus
awkweave-0047266
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}
farah 7 0 gus 16 2 alice 20 27 lina 4 21 lina 3 16 farah 2 9 ivan 25 12 kim 19 20
gus 8.00 alice 0.74 lina 0.19 lina 0.19 farah 0.22 ivan 2.08 kim 0.95
gus 21 0 lina 2 14 farah 12 25 hana 5 17 hana 17 27 gus 2 26 farah 17 24
lina 0.14 farah 0.48 hana 0.29 hana 0.63 gus 0.08 farah 0.71
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047266-p1
For each row where the third column is non-zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 7 0 gus 16 2 alice 20 27 lina 4 21 lina 3 16 farah 2 9 ivan 25 12 kim 19 20
gus 8.00 alice 0.74 lina 0.19 lina 0.19 farah 0.22 ivan 2.08 kim 0.95
gus 21 0 lina 2 14 farah 12 25 hana 5 17 hana 17 27 gus 2 26 farah 17 24
lina 0.14 farah 0.48 hana 0.29 hana 0.63 gus 0.08 farah 0.71
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047266
qwen/qwen3.7-plus
awkweave-0047267
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen cobalt 14 jules amber 25 hana amber 8 gus indigo 4 gus amber 29 jules delta 4 farah cobalt 21
gus amber 29 jules amber 25 farah cobalt 21
hana ember 8 lina amber 7 chen ember 4 bruno fable 11 lina ember 12 farah grove 10 eli cobalt 27 kim delta 20
eli cobalt 27 kim delta 20 lina ember 12
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047267-p1
Output the three full 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]}
chen cobalt 14 jules amber 25 hana amber 8 gus indigo 4 gus amber 29 jules delta 4 farah cobalt 21
gus amber 29 jules amber 25 farah cobalt 21
hana ember 8 lina amber 7 chen ember 4 bruno fable 11 lina ember 12 farah grove 10 eli cobalt 27 kim delta 20
eli cobalt 27 kim delta 20 lina ember 12
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047267
qwen/qwen3.7-plus
awkweave-0047268
For each line, output fields 5 and 2, in that order.
{print $5, $2}
amber cobalt 4 9 birch cobalt harbor 22 19 amber ember juniper 46 36 juniper grove amber 65 88 fable birch juniper 110 107 indigo cobalt delta 94 58 amber fable cobalt 73 71 birch
birch cobalt amber harbor juniper juniper fable amber indigo juniper amber delta birch cobalt
delta cobalt 8 87 cobalt fable delta 65 28 indigo delta delta 80 113 harbor delta indigo 59 54 harbor delta juniper 116 119 fable harbor juniper 45 109 delta
cobalt cobalt indigo delta harbor delta harbor indigo fable juniper delta juniper
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047268-p1
For every line, print the fifth field followed by the second field.
{print $5, $2}
amber cobalt 4 9 birch cobalt harbor 22 19 amber ember juniper 46 36 juniper grove amber 65 88 fable birch juniper 110 107 indigo cobalt delta 94 58 amber fable cobalt 73 71 birch
birch cobalt amber harbor juniper juniper fable amber indigo juniper amber delta birch cobalt
delta cobalt 8 87 cobalt fable delta 65 28 indigo delta delta 80 113 harbor delta indigo 59 54 harbor delta juniper 116 119 fable harbor juniper 45 109 delta
cobalt cobalt indigo delta harbor delta harbor indigo fable juniper delta juniper
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047268
qwen/qwen3.7-plus
awkweave-0047269
Print the last field of every input line.
{print $NF}
alice ready delta farah closed ember bruno pending ember dina failed cobalt dina failed cobalt lina failed delta jules paused fable hana paused birch
delta ember ember cobalt cobalt delta fable birch
eli closed harbor alice paused grove kim ready ember bruno closed birch hana failed harbor dina closed grove
harbor grove ember birch harbor grove
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047269-p1
Output the final field from each line of input.
{print $NF}
alice ready delta farah closed ember bruno pending ember dina failed cobalt dina failed cobalt lina failed delta jules paused fable hana paused birch
delta ember ember cobalt cobalt delta fable birch
eli closed harbor alice paused grove kim ready ember bruno closed birch hana failed harbor dina closed grove
harbor grove ember birch harbor grove
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047269
qwen/qwen3.7-plus
awkweave-0047270
Print the complete records where column 3 is greater than 21.
$3 > 21
ember cobalt 73 gus birch indigo delta 84 dina fable ember ember 42 gus amber delta amber 106 bruno fable grove cobalt 108 gus birch amber amber 116 chen amber cobalt ember 87 lina grove
ember cobalt 73 gus birch indigo delta 84 dina fable ember ember 42 gus amber delta amber 106 bruno fable grove cobalt 108 gus birch amber amber 116 chen amber cobalt ember 87 lina grove
harbor birch 18 chen ember harbor fable 108 eli indigo indigo juniper 58 alice amber juniper delta 112 ivan juniper amber indigo 104 farah ember amber birch 97 dina ember birch fable 5 kim juniper
harbor fable 108 eli indigo indigo juniper 58 alice amber juniper delta 112 ivan juniper amber indigo 104 farah ember amber birch 97 dina ember
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047270-p1
Display all complete records where the value in the third column exceeds 21.
$3 > 21
ember cobalt 73 gus birch indigo delta 84 dina fable ember ember 42 gus amber delta amber 106 bruno fable grove cobalt 108 gus birch amber amber 116 chen amber cobalt ember 87 lina grove
ember cobalt 73 gus birch indigo delta 84 dina fable ember ember 42 gus amber delta amber 106 bruno fable grove cobalt 108 gus birch amber amber 116 chen amber cobalt ember 87 lina grove
harbor birch 18 chen ember harbor fable 108 eli indigo indigo juniper 58 alice amber juniper delta 112 ivan juniper amber indigo 104 farah ember amber birch 97 dina ember birch fable 5 kim juniper
harbor fable 108 eli indigo indigo juniper 58 alice amber juniper delta 112 ivan juniper amber indigo 104 farah ember amber birch 97 dina ember
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047270
qwen/qwen3.7-plus
awkweave-0047271
Show whole lines whose 2nd field is between 4 and 23, inclusive.
$2 >= 4 && $2 <= 23
ready 25 eli bruno ready 4 kim hana ready 7 chen chen pending 2 kim alice active 26 dina alice pending 29 chen dina ready 13 kim lina pending 13 lina hana failed 26 lina bruno ready 12 jules lina
ready 4 kim hana ready 7 chen chen ready 13 kim lina pending 13 lina hana ready 12 jules lina
failed 18 chen alice paused 14 chen chen failed 28 eli farah pending 11 chen alice closed 18 hana ivan closed 26 ivan farah closed 10 dina jules paused 3 lina bruno ready 29 farah ivan
failed 18 chen alice paused 14 chen chen pending 11 chen alice closed 18 hana ivan closed 10 dina jules
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0047271-p1
Print entire lines where the second field falls within the inclusive range of 4 to 23.
$2 >= 4 && $2 <= 23
ready 25 eli bruno ready 4 kim hana ready 7 chen chen pending 2 kim alice active 26 dina alice pending 29 chen dina ready 13 kim lina pending 13 lina hana failed 26 lina bruno ready 12 jules lina
ready 4 kim hana ready 7 chen chen ready 13 kim lina pending 13 lina hana ready 12 jules lina
failed 18 chen alice paused 14 chen chen failed 28 eli farah pending 11 chen alice closed 18 hana ivan closed 26 ivan farah closed 10 dina jules paused 3 lina bruno ready 29 farah ivan
failed 18 chen alice paused 14 chen chen pending 11 chen alice closed 18 hana ivan closed 10 dina jules
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0047271
qwen/qwen3.7-plus
awkweave-0047272
Print column 4 only for rows where column 3 is exactly pending.
$3 == "pending"{print $4}
indigo 12 failed dina harbor 71 closed farah delta 52 pending ivan birch 41 ready bruno fable 97 failed ivan amber 114 paused gus
ivan
grove 102 paused chen harbor 33 ready jules indigo 13 ready hana delta 88 pending hana indigo 3 failed dina harbor 49 pending chen delta 102 paused farah
hana chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null