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-0040161-p1
Ignoring the header, print the display_name field for any data row where the score is strictly greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 chen 4 closed r002 jules 1 pending r003 lina 13 closed r004 eli 19 ready r005 jules 18 paused r006 hana 20 ready r007 jules 3 active
lina eli jules hana
record_id display_name score state r001 farah 17 pending r002 hana 4 pending r003 kim 3 paused r004 bruno 21 active r005 bruno 1 paused r006 ivan 30 paused r007 eli 15 closed r008 farah 7 active r009 dina 20 active
farah bruno ivan eli dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040161
qwen/qwen3.7-plus
awkweave-0040162
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 16 closed alice 16 pending bruno 7 closed ivan 4 closed farah 18 active gus 17 pending kim 11 paused chen 29 failed alice 26 active
bruno alice bruno ivan farah gus kim chen alice
gus 6 failed lina 9 closed kim 6 ready bruno 24 failed eli 4 ready bruno 18 failed ivan 6 ready gus 26 closed eli 12 failed
gus lina kim bruno eli bruno ivan gus eli
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040162-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 16 closed alice 16 pending bruno 7 closed ivan 4 closed farah 18 active gus 17 pending kim 11 paused chen 29 failed alice 26 active
bruno alice bruno ivan farah gus kim chen alice
gus 6 failed lina 9 closed kim 6 ready bruno 24 failed eli 4 ready bruno 18 failed ivan 6 ready gus 26 closed eli 12 failed
gus lina kim bruno eli bruno ivan gus eli
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040162
qwen/qwen3.7-plus
awkweave-0040163
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
eli,10,ready hana,19,active gus,25,closed gus,9,active hana,3,pending bruno,30,failed hana,9,pending
hana gus bruno
gus,13,ready alice,29,paused kim,3,failed lina,14,paused kim,20,pending bruno,14,closed bruno,15,active bruno,15,closed
alice kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040163-p1
For simple comma-separated input without quoted commas, print the first column only if the second column value is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
eli,10,ready hana,19,active gus,25,closed gus,9,active hana,3,pending bruno,30,failed hana,9,pending
hana gus bruno
gus,13,ready alice,29,paused kim,3,failed lina,14,paused kim,20,pending bruno,14,closed bruno,15,active bruno,15,closed
alice kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040163
qwen/qwen3.7-plus
awkweave-0040164
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli ember 54 gus harbor 19 hana birch 72 lina cobalt 107 dina birch 85 gus indigo 11 eli juniper 4 lina indigo 1
eli ember 54 gus harbor 19 hana birch 72 lina cobalt 107 dina birch 85 gus indigo 11 eli juniper 4 lina indigo 1
hana grove 35 gus juniper 79 bruno delta 32 eli grove 69 lina grove 0 kim cobalt 108 hana indigo 57 lina indigo 66 hana fable 65
hana grove 35 gus juniper 79 bruno delta 32 eli grove 69 lina grove 0 kim cobalt 108 hana indigo 57 lina indigo 66 hana fable 65
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040164-p1
Remove leading and trailing whitespace and replace consecutive internal whitespace characters with a single space.
{$1=$1;print}
eli ember 54 gus harbor 19 hana birch 72 lina cobalt 107 dina birch 85 gus indigo 11 eli juniper 4 lina indigo 1
eli ember 54 gus harbor 19 hana birch 72 lina cobalt 107 dina birch 85 gus indigo 11 eli juniper 4 lina indigo 1
hana grove 35 gus juniper 79 bruno delta 32 eli grove 69 lina grove 0 kim cobalt 108 hana indigo 57 lina indigo 66 hana fable 65
hana grove 35 gus juniper 79 bruno delta 32 eli grove 69 lina grove 0 kim cobalt 108 hana indigo 57 lina indigo 66 hana fable 65
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040164
qwen/qwen3.7-plus
awkweave-0040165
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules juniper 22 pending kim birch 0 active chen cobalt 89 paused farah fable 10 pending alice fable 58 failed kim fable 11 paused
jules juniper 22 pending
farah cobalt 33 paused kim amber 20 pending chen harbor 82 active lina cobalt 23 active lina harbor 63 ready hana juniper 56 ready dina ember 86 paused alice cobalt 78 failed kim indigo 6 paused jules delta 59 paused
farah cobalt 33 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040165-p1
Identify and print the longest line from the input; in case of a tie in length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
jules juniper 22 pending kim birch 0 active chen cobalt 89 paused farah fable 10 pending alice fable 58 failed kim fable 11 paused
jules juniper 22 pending
farah cobalt 33 paused kim amber 20 pending chen harbor 82 active lina cobalt 23 active lina harbor 63 ready hana juniper 56 ready dina ember 86 paused alice cobalt 78 failed kim indigo 6 paused jules delta 59 paused
farah cobalt 33 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040165
qwen/qwen3.7-plus
awkweave-0040166
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
farah 87 kim 119 kim 116 hana 32 chen 38 bruno 111 kim 86
farah 87 hana 32 kim 86
hana 40 lina 70 hana 35 ivan 78 farah 112 farah 38
hana 40 ivan 78
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040166-p1
Output every third line beginning with the first line (i.e., lines 1, 4, 7, etc.).
NR%3==1
farah 87 kim 119 kim 116 hana 32 chen 38 bruno 111 kim 86
farah 87 hana 32 kim 86
hana 40 lina 70 hana 35 ivan 78 farah 112 farah 38
hana 40 ivan 78
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040166
qwen/qwen3.7-plus
awkweave-0040167
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta cobalt 21 beta indigo 8 delta grove 65 delta delta 34 beta indigo 72 delta birch 65 beta harbor 24 gamma cobalt 100
6
beta amber 83 beta cobalt 71 delta juniper 45 delta amber 51 beta amber 14 beta indigo 30 beta amber 85
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040167-p1
Calculate and display only the number of unique entries found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
beta cobalt 21 beta indigo 8 delta grove 65 delta delta 34 beta indigo 72 delta birch 65 beta harbor 24 gamma cobalt 100
6
beta amber 83 beta cobalt 71 delta juniper 45 delta amber 51 beta amber 14 beta indigo 30 beta amber 85
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040167
qwen/qwen3.7-plus
awkweave-0040168
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 16 0 bruno 1 28 lina 26 19 gus 1 8 alice 29 14 farah 17 19 ivan 8 1
bruno 0.04 lina 1.37 gus 0.12 alice 2.07 farah 0.89 ivan 8.00
hana 21 0 bruno 23 9 kim 25 14 hana 5 17 jules 15 3 farah 1 9
bruno 2.56 kim 1.79 hana 0.29 jules 5.00 farah 0.11
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040168-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, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 16 0 bruno 1 28 lina 26 19 gus 1 8 alice 29 14 farah 17 19 ivan 8 1
bruno 0.04 lina 1.37 gus 0.12 alice 2.07 farah 0.89 ivan 8.00
hana 21 0 bruno 23 9 kim 25 14 hana 5 17 jules 15 3 farah 1 9
bruno 2.56 kim 1.79 hana 0.29 jules 5.00 farah 0.11
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040168
qwen/qwen3.7-plus
awkweave-0040169
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 juniper 12 alice harbor 14 bruno amber 16 ivan cobalt 5 bruno cobalt 18 gus amber 16 gus amber 28 bruno delta 29
bruno delta 29 gus amber 28 bruno cobalt 18
bruno fable 17 jules fable 15 eli fable 30 bruno fable 6 lina delta 2 chen grove 11 gus juniper 19 ivan grove 29 gus indigo 9
eli fable 30 ivan grove 29 gus juniper 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040169-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input sequence for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah juniper 12 alice harbor 14 bruno amber 16 ivan cobalt 5 bruno cobalt 18 gus amber 16 gus amber 28 bruno delta 29
bruno delta 29 gus amber 28 bruno cobalt 18
bruno fable 17 jules fable 15 eli fable 30 bruno fable 6 lina delta 2 chen grove 11 gus juniper 19 ivan grove 29 gus indigo 9
eli fable 30 ivan grove 29 gus juniper 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040169
qwen/qwen3.7-plus
awkweave-0040170
Print column 4 followed by column 1 for every record.
{print $4, $1}
pending indigo fable chen paused fable harbor alice ready harbor amber eli pending birch delta bruno closed ember grove bruno closed fable delta farah closed indigo cobalt alice pending grove juniper gus pending juniper fable alice
chen pending alice paused eli ready bruno pending bruno closed farah closed alice closed gus pending alice pending
failed delta amber ivan paused ember indigo lina failed fable delta lina ready harbor amber chen failed ember juniper alice closed indigo grove chen active indigo birch bruno pending harbor grove kim paused ember fable bruno
ivan failed lina paused lina failed chen ready alice failed chen closed bruno active kim pending bruno paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040170-p1
Output the fourth column followed by the first column for all records.
{print $4, $1}
pending indigo fable chen paused fable harbor alice ready harbor amber eli pending birch delta bruno closed ember grove bruno closed fable delta farah closed indigo cobalt alice pending grove juniper gus pending juniper fable alice
chen pending alice paused eli ready bruno pending bruno closed farah closed alice closed gus pending alice pending
failed delta amber ivan paused ember indigo lina failed fable delta lina ready harbor amber chen failed ember juniper alice closed indigo grove chen active indigo birch bruno pending harbor grove kim paused ember fable bruno
ivan failed lina paused lina failed chen ready alice failed chen closed bruno active kim pending bruno paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040170
qwen/qwen3.7-plus
awkweave-0040171
Print the last field of every input line.
{print $NF}
65 grove alice bruno ember 116 31 fable kim gus harbor 105 38 birch chen ivan harbor 14 9 ember bruno hana fable 82 5 amber bruno chen delta 95 7 fable hana chen cobalt 86 93 indigo alice dina harbor 27 82 harbor jules dina birch 84 7 fable farah ivan ember 78 59 fable bruno lina amber 16
116 105 14 82 95 86 27 84 78 16
45 grove chen kim amber 52 25 cobalt jules alice birch 38 89 harbor lina alice cobalt 40 108 harbor gus lina harbor 59 63 cobalt kim hana indigo 99 47 juniper alice ivan birch 87 18 amber ivan alice birch 70 61 amber lina dina indigo 24
52 38 40 59 99 87 70 24
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040171-p1
Print the final field from every line of input.
{print $NF}
65 grove alice bruno ember 116 31 fable kim gus harbor 105 38 birch chen ivan harbor 14 9 ember bruno hana fable 82 5 amber bruno chen delta 95 7 fable hana chen cobalt 86 93 indigo alice dina harbor 27 82 harbor jules dina birch 84 7 fable farah ivan ember 78 59 fable bruno lina amber 16
116 105 14 82 95 86 27 84 78 16
45 grove chen kim amber 52 25 cobalt jules alice birch 38 89 harbor lina alice cobalt 40 108 harbor gus lina harbor 59 63 cobalt kim hana indigo 99 47 juniper alice ivan birch 87 18 amber ivan alice birch 70 61 amber lina dina indigo 24
52 38 40 59 99 87 70 24
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040171
qwen/qwen3.7-plus
awkweave-0040172
Print the complete records where column 2 is less than 21.
$2 < 21
delta 110 delta paused kim grove 26 juniper active chen fable 94 birch active farah juniper 6 fable pending gus delta 0 ember closed jules ember 9 birch failed alice ember 35 grove pending lina amber 103 cobalt closed alice indigo 26 indigo pending dina
juniper 6 fable pending gus delta 0 ember closed jules ember 9 birch failed alice
juniper 93 juniper active bruno delta 13 ember pending lina cobalt 67 birch active ivan fable 24 amber active farah cobalt 115 delta paused alice birch 5 amber closed kim grove 46 grove paused farah fable 87 harbor pending alice birch 49 harbor pending gus
delta 13 ember pending lina birch 5 amber closed kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040172-p1
Output the entire records where the value in the second column is strictly less than 21.
$2 < 21
delta 110 delta paused kim grove 26 juniper active chen fable 94 birch active farah juniper 6 fable pending gus delta 0 ember closed jules ember 9 birch failed alice ember 35 grove pending lina amber 103 cobalt closed alice indigo 26 indigo pending dina
juniper 6 fable pending gus delta 0 ember closed jules ember 9 birch failed alice
juniper 93 juniper active bruno delta 13 ember pending lina cobalt 67 birch active ivan fable 24 amber active farah cobalt 115 delta paused alice birch 5 amber closed kim grove 46 grove paused farah fable 87 harbor pending alice birch 49 harbor pending gus
delta 13 ember pending lina birch 5 amber closed kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040172
qwen/qwen3.7-plus
awkweave-0040173
Show whole lines whose 1st field is between 6 and 29, inclusive.
$1 >= 6 && $1 <= 29
17 grove pending paused 12 indigo pending closed 23 fable paused closed 19 grove ready ready 6 fable failed active 27 amber closed pending
17 grove pending paused 12 indigo pending closed 23 fable paused closed 19 grove ready ready 6 fable failed active 27 amber closed pending
1 cobalt ready pending 16 fable ready active 11 indigo ready paused 6 harbor active paused 6 harbor paused closed 16 ember ready closed 24 grove active active 20 juniper active pending 11 indigo failed pending
16 fable ready active 11 indigo ready paused 6 harbor active paused 6 harbor paused closed 16 ember ready closed 24 grove active active 20 juniper active pending 11 indigo failed pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040173-p1
Display complete lines where the first field falls within the inclusive range of 6 to 29.
$1 >= 6 && $1 <= 29
17 grove pending paused 12 indigo pending closed 23 fable paused closed 19 grove ready ready 6 fable failed active 27 amber closed pending
17 grove pending paused 12 indigo pending closed 23 fable paused closed 19 grove ready ready 6 fable failed active 27 amber closed pending
1 cobalt ready pending 16 fable ready active 11 indigo ready paused 6 harbor active paused 6 harbor paused closed 16 ember ready closed 24 grove active active 20 juniper active pending 11 indigo failed pending
16 fable ready active 11 indigo ready paused 6 harbor active paused 6 harbor paused closed 16 ember ready closed 24 grove active active 20 juniper active pending 11 indigo failed pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040173
qwen/qwen3.7-plus
awkweave-0040174
Print column 1 only for rows where column 3 is exactly pending.
$3 == "pending"{print $1}
gus harbor closed 107 hana fable paused 57 eli indigo active 108 bruno amber paused 72 lina grove paused 97 hana cobalt active 91 dina delta pending 103 jules juniper paused 58 bruno grove paused 56
dina
chen harbor ready 23 ivan birch pending 101 chen birch ready 70 alice harbor pending 91 kim delta closed 86 jules ember pending 39
ivan alice jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040174-p1
Output only the first column for rows where the third column contains exactly the text 'pending'.
$3 == "pending"{print $1}
gus harbor closed 107 hana fable paused 57 eli indigo active 108 bruno amber paused 72 lina grove paused 97 hana cobalt active 91 dina delta pending 103 jules juniper paused 58 bruno grove paused 56
dina
chen harbor ready 23 ivan birch pending 101 chen birch ready 70 alice harbor pending 91 kim delta closed 86 jules ember pending 39
ivan alice jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040174
qwen/qwen3.7-plus
awkweave-0040175
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
DEBUG indigo 52 WARN ember 10 ERROR ember 19 ERROR ember 0 ERROR cobalt 48 WARN indigo 118 ERROR ember 64 WARN cobalt 50 DEBUG grove 103 INFO grove 36
ERROR ember 19 ERROR ember 0 ERROR cobalt 48 ERROR ember 64
ERROR grove 9 WARN delta 69 INFO fable 62 INFO grove 112 WARN fable 120 INFO cobalt 22 DEBUG juniper 112 WARN cobalt 88 WARN amber 51 DEBUG delta 63
ERROR grove 9
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040175-p1
Print all fields from lines where the first field starts with the string 'ERROR'.
$1 ~ /^ERROR/
DEBUG indigo 52 WARN ember 10 ERROR ember 19 ERROR ember 0 ERROR cobalt 48 WARN indigo 118 ERROR ember 64 WARN cobalt 50 DEBUG grove 103 INFO grove 36
ERROR ember 19 ERROR ember 0 ERROR cobalt 48 ERROR ember 64
ERROR grove 9 WARN delta 69 INFO fable 62 INFO grove 112 WARN fable 120 INFO cobalt 22 DEBUG juniper 112 WARN cobalt 88 WARN amber 51 DEBUG delta 63
ERROR grove 9
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040175
qwen/qwen3.7-plus
awkweave-0040176
Print every line except those containing the exact text delta.
$0 !~ /delta/
birch 45 closed cobalt 24 pending grove 41 paused indigo 102 paused delta 13 pending grove 53 failed delta 999 active
birch 45 closed cobalt 24 pending grove 41 paused indigo 102 paused grove 53 failed
grove 117 ready birch 28 closed fable 14 paused birch 26 paused grove 65 ready birch 17 paused fable 92 pending fable 116 closed amber 53 pending fable 13 ready delta 999 active
grove 117 ready birch 28 closed fable 14 paused birch 26 paused grove 65 ready birch 17 paused fable 92 pending fable 116 closed amber 53 pending fable 13 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040176-p1
Output every line that does not contain the exact string 'delta'.
$0 !~ /delta/
birch 45 closed cobalt 24 pending grove 41 paused indigo 102 paused delta 13 pending grove 53 failed delta 999 active
birch 45 closed cobalt 24 pending grove 41 paused indigo 102 paused grove 53 failed
grove 117 ready birch 28 closed fable 14 paused birch 26 paused grove 65 ready birch 17 paused fable 92 pending fable 116 closed amber 53 pending fable 13 ready delta 999 active
grove 117 ready birch 28 closed fable 14 paused birch 26 paused grove 65 ready birch 17 paused fable 92 pending fable 116 closed amber 53 pending fable 13 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040176
qwen/qwen3.7-plus
awkweave-0040177
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
chen delta 76 eli indigo 45 lina juniper 64 kim cobalt 26 hana juniper 22 ivan birch 4 hana cobalt 36 lina harbor 41 eli harbor 2 alice birch 62
lina juniper 64 kim cobalt 26 hana juniper 22 ivan birch 4
bruno ember 96 eli harbor 62 alice grove 32 gus delta 28 ivan indigo 22 ivan amber 52 jules ember 118
alice grove 32 gus delta 28 ivan indigo 22 ivan amber 52
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040177-p1
Print lines 3 through 6, inclusive.
NR >= 3 && NR <= 6
chen delta 76 eli indigo 45 lina juniper 64 kim cobalt 26 hana juniper 22 ivan birch 4 hana cobalt 36 lina harbor 41 eli harbor 2 alice birch 62
lina juniper 64 kim cobalt 26 hana juniper 22 ivan birch 4
bruno ember 96 eli harbor 62 alice grove 32 gus delta 28 ivan indigo 22 ivan amber 52 jules ember 118
alice grove 32 gus delta 28 ivan indigo 22 ivan amber 52
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040177
qwen/qwen3.7-plus
awkweave-0040178
Output only the first 4 records.
NR <= 4
lina 28 grove farah 92 delta jules 2 delta bruno 52 delta chen 39 birch jules 40 fable dina 6 indigo bruno 98 amber dina 13 birch
lina 28 grove farah 92 delta jules 2 delta bruno 52 delta
lina 88 juniper alice 86 fable alice 36 indigo farah 28 juniper bruno 23 grove hana 76 grove kim 49 indigo ivan 100 delta ivan 66 indigo lina 9 juniper
lina 88 juniper alice 86 fable alice 36 indigo farah 28 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040178-p1
Display only the initial four records.
NR <= 4
lina 28 grove farah 92 delta jules 2 delta bruno 52 delta chen 39 birch jules 40 fable dina 6 indigo bruno 98 amber dina 13 birch
lina 28 grove farah 92 delta jules 2 delta bruno 52 delta
lina 88 juniper alice 86 fable alice 36 indigo farah 28 juniper bruno 23 grove hana 76 grove kim 49 indigo ivan 100 delta ivan 66 indigo lina 9 juniper
lina 88 juniper alice 86 fable alice 36 indigo farah 28 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040178
qwen/qwen3.7-plus
awkweave-0040179
Skip the first line and print every remaining line unchanged.
NR > 1
kim 24 juniper chen 96 delta hana 60 juniper jules 81 delta kim 94 ember hana 34 indigo kim 110 indigo chen 24 harbor
chen 96 delta hana 60 juniper jules 81 delta kim 94 ember hana 34 indigo kim 110 indigo chen 24 harbor
chen 15 ember bruno 61 ember chen 83 juniper gus 43 cobalt eli 94 juniper ivan 53 cobalt ivan 33 amber hana 89 fable
bruno 61 ember chen 83 juniper gus 43 cobalt eli 94 juniper ivan 53 cobalt ivan 33 amber hana 89 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040179-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
kim 24 juniper chen 96 delta hana 60 juniper jules 81 delta kim 94 ember hana 34 indigo kim 110 indigo chen 24 harbor
chen 96 delta hana 60 juniper jules 81 delta kim 94 ember hana 34 indigo kim 110 indigo chen 24 harbor
chen 15 ember bruno 61 ember chen 83 juniper gus 43 cobalt eli 94 juniper ivan 53 cobalt ivan 33 amber hana 89 fable
bruno 61 ember chen 83 juniper gus 43 cobalt eli 94 juniper ivan 53 cobalt ivan 33 amber hana 89 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040179
qwen/qwen3.7-plus
awkweave-0040180
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
gus ready 17 eli pending 65 chen ready 53 jules pending 4 gus ready 53 kim failed 67 farah active 85 kim closed 120
1
gus closed 117 chen pending 41 alice pending 49 chen ready 63 ivan closed 2 farah closed 48 ivan pending 62 eli pending 38 hana paused 5
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040180-p1
Tally the number of entries marked as failed in the second column, outputting 0 if none are found.
$2 == "failed"{n++}END{print n+0}
gus ready 17 eli pending 65 chen ready 53 jules pending 4 gus ready 53 kim failed 67 farah active 85 kim closed 120
1
gus closed 117 chen pending 41 alice pending 49 chen ready 63 ivan closed 2 farah closed 48 ivan pending 62 eli pending 38 hana paused 5
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040180
qwen/qwen3.7-plus
awkweave-0040181
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
harbor dina 7 grove farah 14 amber dina 3 indigo alice 27 cobalt bruno 14 cobalt eli 19 juniper gus 10 grove farah 7 grove jules 19 delta gus 29
149
indigo eli 8 harbor gus 29 delta eli 4 fable lina 22 grove dina 27 indigo hana 1
91
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040181-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
harbor dina 7 grove farah 14 amber dina 3 indigo alice 27 cobalt bruno 14 cobalt eli 19 juniper gus 10 grove farah 7 grove jules 19 delta gus 29
149
indigo eli 8 harbor gus 29 delta eli 4 fable lina 22 grove dina 27 indigo hana 1
91
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040181
qwen/qwen3.7-plus
awkweave-0040182
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana cobalt 15 chen cobalt 2 alice indigo 18 farah ember 13 jules harbor 20 bruno amber 27 gus fable 11 ivan ember 15
15.12
alice fable 27 dina harbor 6 ivan cobalt 25 gus juniper 20 lina grove 9 hana ember 19 ivan juniper 3
15.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040182-p1
Output the average of the values in column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana cobalt 15 chen cobalt 2 alice indigo 18 farah ember 13 jules harbor 20 bruno amber 27 gus fable 11 ivan ember 15
15.12
alice fable 27 dina harbor 6 ivan cobalt 25 gus juniper 20 lina grove 9 hana ember 19 ivan juniper 3
15.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040182
qwen/qwen3.7-plus
awkweave-0040183
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ember lina 16 harbor chen 8 delta hana 26 delta bruno 17 cobalt bruno 15 delta alice 19 indigo alice 3 fable hana 25
3
juniper alice 1 delta chen 19 ember kim 8 ember jules 13 fable ivan 15 ember hana 24 juniper alice 16
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040183-p1
Identify and print the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ember lina 16 harbor chen 8 delta hana 26 delta bruno 17 cobalt bruno 15 delta alice 19 indigo alice 3 fable hana 25
3
juniper alice 1 delta chen 19 ember kim 8 ember jules 13 fable ivan 15 ember hana 24 juniper alice 16
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040183
qwen/qwen3.7-plus
awkweave-0040184
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
26 eli birch 24 hana fable 18 farah delta 26 alice grove 5 alice fable 2 bruno delta 14 kim ember
26
5 kim cobalt 2 jules cobalt 23 alice juniper 2 bruno cobalt 23 chen juniper 19 bruno delta 23 lina grove
23
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040184-p1
Identify and print the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
26 eli birch 24 hana fable 18 farah delta 26 alice grove 5 alice fable 2 bruno delta 14 kim ember
26
5 kim cobalt 2 jules cobalt 23 alice juniper 2 bruno cobalt 23 chen juniper 19 bruno delta 23 lina grove
23
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040184
qwen/qwen3.7-plus
awkweave-0040185
Count all input records and print the total.
END{print NR}
chen 48 jules 99 jules 107 farah 85 lina 67 dina 55 kim 109 alice 42
8
eli 94 bruno 36 lina 114 hana 38 hana 34 chen 58 lina 33
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040185-p1
Count the total number of input records and print the result.
END{print NR}
chen 48 jules 99 jules 107 farah 85 lina 67 dina 55 kim 109 alice 42
8
eli 94 bruno 36 lina 114 hana 38 hana 34 chen 58 lina 33
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040185
qwen/qwen3.7-plus
awkweave-0040186
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana grove 21 gus delta 38 eli delta 111 eli delta 111 chen amber 70 kim harbor 23 kim juniper 73 lina juniper 67 bruno ember 88
hana grove 21 gus delta 38 eli delta 111 chen amber 70 kim harbor 23 kim juniper 73 lina juniper 67 bruno ember 88
jules ember 15 alice juniper 104 ivan ember 57 ivan delta 78 dina indigo 53 kim grove 23 ivan ember 57 eli indigo 5 jules harbor 24
jules ember 15 alice juniper 104 ivan ember 57 ivan delta 78 dina indigo 53 kim grove 23 eli indigo 5 jules harbor 24
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040186-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first occurrence.
!seen[$0]++
hana grove 21 gus delta 38 eli delta 111 eli delta 111 chen amber 70 kim harbor 23 kim juniper 73 lina juniper 67 bruno ember 88
hana grove 21 gus delta 38 eli delta 111 chen amber 70 kim harbor 23 kim juniper 73 lina juniper 67 bruno ember 88
jules ember 15 alice juniper 104 ivan ember 57 ivan delta 78 dina indigo 53 kim grove 23 ivan ember 57 eli indigo 5 jules harbor 24
jules ember 15 alice juniper 104 ivan ember 57 ivan delta 78 dina indigo 53 kim grove 23 eli indigo 5 jules harbor 24
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040186
qwen/qwen3.7-plus
awkweave-0040187
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
eli harbor 97 bruno fable 7 chen indigo 32 alice birch 40 kim delta 2 chen indigo 71 chen amber 20
eli harbor 97 bruno fable 7 chen indigo 32 alice birch 40 kim delta 2 chen indigo 71 chen amber 20
ivan birch 34 gus harbor 67 kim fable 75 kim delta 76 chen delta 10 lina indigo 81 jules amber 22 hana indigo 86
ivan birch 34 gus harbor 67 kim fable 75 kim delta 76 chen delta 10 lina indigo 81 jules amber 22 hana indigo 86
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040187-p1
Retain only the first row for every unique value in column 3, preserving the original sequence.
!seen[$3]++
eli harbor 97 bruno fable 7 chen indigo 32 alice birch 40 kim delta 2 chen indigo 71 chen amber 20
eli harbor 97 bruno fable 7 chen indigo 32 alice birch 40 kim delta 2 chen indigo 71 chen amber 20
ivan birch 34 gus harbor 67 kim fable 75 kim delta 76 chen delta 10 lina indigo 81 jules amber 22 hana indigo 86
ivan birch 34 gus harbor 67 kim fable 75 kim delta 76 chen delta 10 lina indigo 81 jules amber 22 hana indigo 86
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040187
qwen/qwen3.7-plus
awkweave-0040188
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 22 indigo farah 26 ember lina 20 cobalt ivan 15 juniper gus 28 cobalt bruno 19 grove
alice 22 farah 48 lina 68 ivan 83 gus 111 bruno 130
dina 25 juniper dina 17 grove ivan 9 grove farah 7 indigo bruno 2 cobalt chen 12 fable
dina 25 dina 42 ivan 51 farah 58 bruno 60 chen 72
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040188-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 22 indigo farah 26 ember lina 20 cobalt ivan 15 juniper gus 28 cobalt bruno 19 grove
alice 22 farah 48 lina 68 ivan 83 gus 111 bruno 130
dina 25 juniper dina 17 grove ivan 9 grove farah 7 indigo bruno 2 cobalt chen 12 fable
dina 25 dina 42 ivan 51 farah 58 bruno 60 chen 72
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040188
qwen/qwen3.7-plus
awkweave-0040189
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 16 12 amber alice 7 19 grove gus 22 9 ember jules 14 11 fable hana 12 25 indigo lina 27 3 birch farah 19 20 harbor chen 22 10 harbor
hana 28 alice 26 gus 31 jules 25 hana 37 lina 30 farah 39 chen 32
gus 19 25 fable bruno 1 30 fable lina 6 7 ember alice 26 6 grove bruno 17 29 birch hana 10 10 delta bruno 15 11 harbor bruno 29 25 delta ivan 19 29 indigo jules 5 5 birch
gus 44 bruno 31 lina 13 alice 32 bruno 46 hana 20 bruno 26 bruno 54 ivan 48 jules 10
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040189-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 16 12 amber alice 7 19 grove gus 22 9 ember jules 14 11 fable hana 12 25 indigo lina 27 3 birch farah 19 20 harbor chen 22 10 harbor
hana 28 alice 26 gus 31 jules 25 hana 37 lina 30 farah 39 chen 32
gus 19 25 fable bruno 1 30 fable lina 6 7 ember alice 26 6 grove bruno 17 29 birch hana 10 10 delta bruno 15 11 harbor bruno 29 25 delta ivan 19 29 indigo jules 5 5 birch
gus 44 bruno 31 lina 13 alice 32 bruno 46 hana 20 bruno 26 bruno 54 ivan 48 jules 10
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040189
qwen/qwen3.7-plus
awkweave-0040200
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 dina 24 pending r002 dina 26 closed r003 jules 9 active r004 chen 28 closed r005 chen 18 active r006 bruno 5 paused r007 ivan 9 pending
dina dina chen chen
record_id display_name score state r001 hana 24 ready r002 lina 19 active r003 kim 28 ready r004 jules 29 ready r005 dina 16 active r006 kim 8 closed r007 kim 26 failed
hana lina kim jules dina kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040200-p1
Treat the first line as a header and output the display_name field for all data rows where the score exceeds 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 dina 24 pending r002 dina 26 closed r003 jules 9 active r004 chen 28 closed r005 chen 18 active r006 bruno 5 paused r007 ivan 9 pending
dina dina chen chen
record_id display_name score state r001 hana 24 ready r002 lina 19 active r003 kim 28 ready r004 jules 29 ready r005 dina 16 active r006 kim 8 closed r007 kim 26 failed
hana lina kim jules dina kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040200
qwen/qwen3.7-plus
awkweave-0040201
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
kim 16 ready hana 16 paused hana 9 closed dina 14 pending farah 18 paused jules 20 paused alice 29 failed bruno 1 pending hana 28 active bruno 9 paused
kim hana hana dina farah jules alice bruno hana bruno
gus 14 active hana 4 paused farah 13 closed ivan 29 failed alice 22 ready dina 20 ready
gus hana farah ivan alice dina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040201-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
kim 16 ready hana 16 paused hana 9 closed dina 14 pending farah 18 paused jules 20 paused alice 29 failed bruno 1 pending hana 28 active bruno 9 paused
kim hana hana dina farah jules alice bruno hana bruno
gus 14 active hana 4 paused farah 13 closed ivan 29 failed alice 22 ready dina 20 ready
gus hana farah ivan alice dina
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0040201
qwen/qwen3.7-plus
awkweave-0040202
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
alice,28,active bruno,1,failed bruno,22,active dina,3,active chen,6,ready dina,17,failed chen,25,paused dina,14,failed eli,10,pending lina,4,paused
alice bruno dina chen dina
alice,28,closed kim,23,closed jules,14,active hana,3,ready hana,17,pending lina,30,paused bruno,23,ready
alice kim jules hana lina bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040202-p1
For simple comma-separated input without quoted commas, print the first column whenever the second column is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
alice,28,active bruno,1,failed bruno,22,active dina,3,active chen,6,ready dina,17,failed chen,25,paused dina,14,failed eli,10,pending lina,4,paused
alice bruno dina chen dina
alice,28,closed kim,23,closed jules,14,active hana,3,ready hana,17,pending lina,30,paused bruno,23,ready
alice kim jules hana lina bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040202
qwen/qwen3.7-plus
awkweave-0040203
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan indigo 81 hana fable 21 gus ember 26 dina fable 92 ivan harbor 5 ivan delta 98 dina indigo 11 lina fable 64 gus fable 90 ivan cobalt 57
ivan indigo 81 hana fable 21 gus ember 26 dina fable 92 ivan harbor 5 ivan delta 98 dina indigo 11 lina fable 64 gus fable 90 ivan cobalt 57
kim indigo 69 ivan grove 114 hana birch 62 lina harbor 57 lina amber 59 alice fable 49 kim harbor 44 farah amber 116 lina delta 33 farah fable 120
kim indigo 69 ivan grove 114 hana birch 62 lina harbor 57 lina amber 59 alice fable 49 kim harbor 44 farah amber 116 lina delta 33 farah fable 120
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040203-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
ivan indigo 81 hana fable 21 gus ember 26 dina fable 92 ivan harbor 5 ivan delta 98 dina indigo 11 lina fable 64 gus fable 90 ivan cobalt 57
ivan indigo 81 hana fable 21 gus ember 26 dina fable 92 ivan harbor 5 ivan delta 98 dina indigo 11 lina fable 64 gus fable 90 ivan cobalt 57
kim indigo 69 ivan grove 114 hana birch 62 lina harbor 57 lina amber 59 alice fable 49 kim harbor 44 farah amber 116 lina delta 33 farah fable 120
kim indigo 69 ivan grove 114 hana birch 62 lina harbor 57 lina amber 59 alice fable 49 kim harbor 44 farah amber 116 lina delta 33 farah fable 120
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040203
qwen/qwen3.7-plus
awkweave-0040204
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus amber 32 paused eli indigo 72 active ivan juniper 102 ready farah fable 80 ready lina birch 79 paused eli delta 23 active
ivan juniper 102 ready
hana ember 24 paused alice fable 25 closed jules juniper 113 ready dina ember 66 pending gus amber 120 paused hana amber 107 paused farah cobalt 85 active
jules juniper 113 ready
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040204-p1
Identify and print the longest line from the input; in case of a tie in length, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
gus amber 32 paused eli indigo 72 active ivan juniper 102 ready farah fable 80 ready lina birch 79 paused eli delta 23 active
ivan juniper 102 ready
hana ember 24 paused alice fable 25 closed jules juniper 113 ready dina ember 66 pending gus amber 120 paused hana amber 107 paused farah cobalt 85 active
jules juniper 113 ready
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040204
qwen/qwen3.7-plus
awkweave-0040205
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
alice 9 alice 11 jules 106 jules 46 jules 50 eli 50 alice 61
alice 9 jules 50
eli 52 lina 7 lina 18 kim 108 chen 76 ivan 42 kim 98 eli 109 bruno 20 bruno 2
eli 52 chen 76 bruno 20
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040205-p1
Output every fourth line, beginning with line 1 (i.e., lines 1, 5, 9, etc.).
NR%4==1
alice 9 alice 11 jules 106 jules 46 jules 50 eli 50 alice 61
alice 9 jules 50
eli 52 lina 7 lina 18 kim 108 chen 76 ivan 42 kim 98 eli 109 bruno 20 bruno 2
eli 52 chen 76 bruno 20
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040205
qwen/qwen3.7-plus
awkweave-0040206
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta indigo 14 beta grove 86 gamma harbor 32 gamma cobalt 59 gamma grove 91 gamma birch 94 gamma grove 10
5
delta grove 1 delta juniper 93 beta delta 113 delta birch 85 alpha delta 52 beta delta 33 alpha fable 113
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040206-p1
Calculate the number of unique values in the second column and print only that count.
{if(!seen[$2]++)n++}END{print n+0}
delta indigo 14 beta grove 86 gamma harbor 32 gamma cobalt 59 gamma grove 91 gamma birch 94 gamma grove 10
5
delta grove 1 delta juniper 93 beta delta 113 delta birch 85 alpha delta 52 beta delta 33 alpha fable 113
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040206
qwen/qwen3.7-plus
awkweave-0040207
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}
gus 1 0 bruno 3 8 jules 5 12 kim 14 15 kim 10 23 jules 14 16 lina 10 3 farah 2 19
bruno 0.38 jules 0.42 kim 0.93 kim 0.43 jules 0.88 lina 3.33 farah 0.11
gus 29 0 dina 9 28 hana 22 11 eli 20 19 dina 3 19 ivan 21 14 gus 16 11 alice 28 20
dina 0.32 hana 2.00 eli 1.05 dina 0.16 ivan 1.50 gus 1.45 alice 1.40
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040207-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, skipping any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 1 0 bruno 3 8 jules 5 12 kim 14 15 kim 10 23 jules 14 16 lina 10 3 farah 2 19
bruno 0.38 jules 0.42 kim 0.93 kim 0.43 jules 0.88 lina 3.33 farah 0.11
gus 29 0 dina 9 28 hana 22 11 eli 20 19 dina 3 19 ivan 21 14 gus 16 11 alice 28 20
dina 0.32 hana 2.00 eli 1.05 dina 0.16 ivan 1.50 gus 1.45 alice 1.40
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040207
qwen/qwen3.7-plus
awkweave-0040208
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]}
kim birch 2 kim cobalt 17 hana fable 5 ivan juniper 26 chen amber 2 farah harbor 27 farah indigo 9 dina harbor 19
farah harbor 27 ivan juniper 26 dina harbor 19
lina birch 29 kim indigo 3 ivan indigo 23 lina harbor 9 kim delta 23 lina fable 27 lina indigo 22 bruno juniper 7
lina birch 29 lina fable 27 ivan indigo 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040208-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
kim birch 2 kim cobalt 17 hana fable 5 ivan juniper 26 chen amber 2 farah harbor 27 farah indigo 9 dina harbor 19
farah harbor 27 ivan juniper 26 dina harbor 19
lina birch 29 kim indigo 3 ivan indigo 23 lina harbor 9 kim delta 23 lina fable 27 lina indigo 22 bruno juniper 7
lina birch 29 lina fable 27 ivan indigo 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040208
qwen/qwen3.7-plus
awkweave-0040209
Select the 4th and 3rd fields in that order.
{print $4, $3}
68 29 eli cobalt jules lina 45 2 kim indigo ivan alice 45 120 kim indigo gus eli 53 66 kim juniper ivan jules 99 32 bruno ember bruno dina 112 14 eli juniper alice alice 14 91 ivan harbor dina chen
cobalt eli indigo kim indigo kim juniper kim ember bruno juniper eli harbor ivan
19 67 lina amber hana eli 66 99 lina grove kim dina 116 7 bruno indigo hana eli 20 22 dina grove eli bruno 102 35 dina cobalt dina dina 38 43 kim cobalt bruno lina 1 80 eli cobalt hana dina 51 75 ivan indigo jules jules 96 68 ivan grove ivan dina 47 25 jules harbor gus kim
amber lina grove lina indigo bruno grove dina cobalt dina cobalt kim cobalt eli indigo ivan grove ivan harbor jules
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040209-p1
Extract and print the 4th field followed by the 3rd field.
{print $4, $3}
68 29 eli cobalt jules lina 45 2 kim indigo ivan alice 45 120 kim indigo gus eli 53 66 kim juniper ivan jules 99 32 bruno ember bruno dina 112 14 eli juniper alice alice 14 91 ivan harbor dina chen
cobalt eli indigo kim indigo kim juniper kim ember bruno juniper eli harbor ivan
19 67 lina amber hana eli 66 99 lina grove kim dina 116 7 bruno indigo hana eli 20 22 dina grove eli bruno 102 35 dina cobalt dina dina 38 43 kim cobalt bruno lina 1 80 eli cobalt hana dina 51 75 ivan indigo jules jules 96 68 ivan grove ivan dina 47 25 jules harbor gus kim
amber lina grove lina indigo bruno grove dina cobalt dina cobalt kim cobalt eli indigo ivan grove ivan harbor jules
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040209
qwen/qwen3.7-plus
awkweave-0040210
Print the last field of every input line.
{print $NF}
kim alice indigo 85 paused hana dina birch 12 active lina farah cobalt 42 paused kim eli cobalt 74 pending alice dina juniper 35 paused farah eli ember 93 ready kim hana indigo 35 closed dina hana delta 108 pending hana farah grove 113 failed
paused active paused pending paused ready closed pending failed
dina farah juniper 32 pending bruno dina juniper 12 failed gus jules cobalt 12 closed farah jules fable 34 pending farah ivan ember 74 closed lina chen indigo 77 paused
pending failed closed pending closed paused
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040210-p1
Print the final field from every line of input.
{print $NF}
kim alice indigo 85 paused hana dina birch 12 active lina farah cobalt 42 paused kim eli cobalt 74 pending alice dina juniper 35 paused farah eli ember 93 ready kim hana indigo 35 closed dina hana delta 108 pending hana farah grove 113 failed
paused active paused pending paused ready closed pending failed
dina farah juniper 32 pending bruno dina juniper 12 failed gus jules cobalt 12 closed farah jules fable 34 pending farah ivan ember 74 closed lina chen indigo 77 paused
pending failed closed pending closed paused
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040210
qwen/qwen3.7-plus
awkweave-0040211
Print the complete records where column 1 is less than 37.
$1 < 37
80 alice birch 89 hana indigo 14 alice fable 58 dina birch 8 chen fable 95 dina indigo 86 gus fable
14 alice fable 8 chen fable
46 hana birch 29 bruno amber 52 lina indigo 24 lina grove 54 hana ember 104 farah ember
29 bruno amber 24 lina grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040211-p1
Output the full records for which the value in the first column is less than 37.
$1 < 37
80 alice birch 89 hana indigo 14 alice fable 58 dina birch 8 chen fable 95 dina indigo 86 gus fable
14 alice fable 8 chen fable
46 hana birch 29 bruno amber 52 lina indigo 24 lina grove 54 hana ember 104 farah ember
29 bruno amber 24 lina grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040211
qwen/qwen3.7-plus
awkweave-0040212
Show whole lines whose 2nd field is between 3 and 21, inclusive.
$2 >= 3 && $2 <= 21
paused 23 hana active pending 24 lina active paused 14 jules closed paused 29 kim ready ready 29 hana paused paused 15 dina closed
paused 14 jules closed paused 15 dina closed
active 11 dina ready paused 23 gus paused closed 19 chen paused paused 22 hana closed ready 17 ivan ready ready 30 jules failed closed 12 dina closed ready 8 chen failed
active 11 dina ready closed 19 chen paused ready 17 ivan ready closed 12 dina closed ready 8 chen failed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040212-p1
Display entire lines where the second field falls within the inclusive range of 3 to 21.
$2 >= 3 && $2 <= 21
paused 23 hana active pending 24 lina active paused 14 jules closed paused 29 kim ready ready 29 hana paused paused 15 dina closed
paused 14 jules closed paused 15 dina closed
active 11 dina ready paused 23 gus paused closed 19 chen paused paused 22 hana closed ready 17 ivan ready ready 30 jules failed closed 12 dina closed ready 8 chen failed
active 11 dina ready closed 19 chen paused ready 17 ivan ready closed 12 dina closed ready 8 chen failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040212
qwen/qwen3.7-plus
awkweave-0040213
Print column 2 only for rows where column 3 is exactly ready.
$3 == "ready"{print $2}
indigo farah paused 94 juniper ivan ready 66 fable gus failed 85 amber lina closed 20 indigo gus ready 113 birch farah active 0
ivan gus
juniper eli pending 79 ember lina pending 113 amber jules ready 81 cobalt jules failed 120 indigo kim failed 91 indigo lina paused 97 grove bruno active 7
jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040213-p1
Output only the second column for rows in which the third column is exactly 'ready'.
$3 == "ready"{print $2}
indigo farah paused 94 juniper ivan ready 66 fable gus failed 85 amber lina closed 20 indigo gus ready 113 birch farah active 0
ivan gus
juniper eli pending 79 ember lina pending 113 amber jules ready 81 cobalt jules failed 120 indigo kim failed 91 indigo lina paused 97 grove bruno active 7
jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040213
qwen/qwen3.7-plus
awkweave-0040214
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
fable 48 DEBUG grove 79 ERROR amber 94 INFO juniper 1 ERROR ember 8 INFO cobalt 43 WARN
grove 79 ERROR juniper 1 ERROR
juniper 94 INFO indigo 52 WARN harbor 92 WARN delta 118 ERROR delta 92 ERROR amber 120 ERROR birch 105 INFO juniper 87 DEBUG ember 102 ERROR delta 13 ERROR
delta 118 ERROR delta 92 ERROR amber 120 ERROR ember 102 ERROR delta 13 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040214-p1
Print all fields from any line where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
fable 48 DEBUG grove 79 ERROR amber 94 INFO juniper 1 ERROR ember 8 INFO cobalt 43 WARN
grove 79 ERROR juniper 1 ERROR
juniper 94 INFO indigo 52 WARN harbor 92 WARN delta 118 ERROR delta 92 ERROR amber 120 ERROR birch 105 INFO juniper 87 DEBUG ember 102 ERROR delta 13 ERROR
delta 118 ERROR delta 92 ERROR amber 120 ERROR ember 102 ERROR delta 13 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040214
qwen/qwen3.7-plus
awkweave-0040215
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
fable 4 pending fable 31 closed cobalt 30 failed ember 26 active amber 49 ready fable 84 ready amber 33 closed ember 106 active harbor 999 active
fable 4 pending fable 31 closed cobalt 30 failed ember 26 active amber 49 ready fable 84 ready amber 33 closed ember 106 active
cobalt 24 failed juniper 57 paused delta 106 paused amber 52 pending amber 34 active fable 2 ready amber 8 active juniper 102 active harbor 999 active
cobalt 24 failed juniper 57 paused delta 106 paused amber 52 pending amber 34 active fable 2 ready amber 8 active juniper 102 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040215-p1
Print every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
fable 4 pending fable 31 closed cobalt 30 failed ember 26 active amber 49 ready fable 84 ready amber 33 closed ember 106 active harbor 999 active
fable 4 pending fable 31 closed cobalt 30 failed ember 26 active amber 49 ready fable 84 ready amber 33 closed ember 106 active
cobalt 24 failed juniper 57 paused delta 106 paused amber 52 pending amber 34 active fable 2 ready amber 8 active juniper 102 active harbor 999 active
cobalt 24 failed juniper 57 paused delta 106 paused amber 52 pending amber 34 active fable 2 ready amber 8 active juniper 102 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040215
qwen/qwen3.7-plus
awkweave-0040216
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
hana juniper 27 farah juniper 60 jules ember 76 eli indigo 27 alice birch 62 kim grove 106 lina ember 65 ivan fable 105 gus fable 86 bruno juniper 31
eli indigo 27 alice birch 62 kim grove 106 lina ember 65
chen fable 80 farah indigo 103 bruno indigo 72 kim cobalt 4 lina delta 119 gus amber 58 bruno cobalt 52
kim cobalt 4 lina delta 119 gus amber 58 bruno cobalt 52
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040216-p1
Output lines 4 through 7, inclusive of both endpoints.
NR >= 4 && NR <= 7
hana juniper 27 farah juniper 60 jules ember 76 eli indigo 27 alice birch 62 kim grove 106 lina ember 65 ivan fable 105 gus fable 86 bruno juniper 31
eli indigo 27 alice birch 62 kim grove 106 lina ember 65
chen fable 80 farah indigo 103 bruno indigo 72 kim cobalt 4 lina delta 119 gus amber 58 bruno cobalt 52
kim cobalt 4 lina delta 119 gus amber 58 bruno cobalt 52
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040216
qwen/qwen3.7-plus
awkweave-0040217
Output only the first 4 records.
NR <= 4
eli 110 amber kim 58 fable lina 44 juniper jules 43 harbor gus 14 harbor alice 72 birch gus 39 ember
eli 110 amber kim 58 fable lina 44 juniper jules 43 harbor
bruno 96 amber kim 73 ember farah 65 grove bruno 117 birch bruno 117 cobalt alice 8 delta alice 13 indigo jules 84 cobalt
bruno 96 amber kim 73 ember farah 65 grove bruno 117 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040217-p1
Display only the first 4 records.
NR <= 4
eli 110 amber kim 58 fable lina 44 juniper jules 43 harbor gus 14 harbor alice 72 birch gus 39 ember
eli 110 amber kim 58 fable lina 44 juniper jules 43 harbor
bruno 96 amber kim 73 ember farah 65 grove bruno 117 birch bruno 117 cobalt alice 8 delta alice 13 indigo jules 84 cobalt
bruno 96 amber kim 73 ember farah 65 grove bruno 117 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040217
qwen/qwen3.7-plus
awkweave-0040218
Skip the first line and print every remaining line unchanged.
NR > 1
lina 27 harbor gus 88 indigo bruno 71 birch bruno 27 amber jules 58 delta bruno 0 juniper
gus 88 indigo bruno 71 birch bruno 27 amber jules 58 delta bruno 0 juniper
jules 38 birch lina 30 juniper kim 65 indigo kim 83 birch kim 89 indigo bruno 63 grove chen 70 indigo dina 117 indigo
lina 30 juniper kim 65 indigo kim 83 birch kim 89 indigo bruno 63 grove chen 70 indigo dina 117 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040218-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
lina 27 harbor gus 88 indigo bruno 71 birch bruno 27 amber jules 58 delta bruno 0 juniper
gus 88 indigo bruno 71 birch bruno 27 amber jules 58 delta bruno 0 juniper
jules 38 birch lina 30 juniper kim 65 indigo kim 83 birch kim 89 indigo bruno 63 grove chen 70 indigo dina 117 indigo
lina 30 juniper kim 65 indigo kim 83 birch kim 89 indigo bruno 63 grove chen 70 indigo dina 117 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040218
qwen/qwen3.7-plus
awkweave-0040219
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
lina ready 2 eli active 3 lina pending 52 eli paused 36 ivan active 12 lina pending 96 kim paused 118 gus closed 37 jules paused 3 kim paused 24
2
lina pending 85 lina active 27 farah closed 27 hana ready 92 alice failed 110 lina failed 20
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040219-p1
Count the number of records with 'active' in the second column; output 0 if none exist.
$2 == "active"{n++}END{print n+0}
lina ready 2 eli active 3 lina pending 52 eli paused 36 ivan active 12 lina pending 96 kim paused 118 gus closed 37 jules paused 3 kim paused 24
2
lina pending 85 lina active 27 farah closed 27 hana ready 92 alice failed 110 lina failed 20
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040219
qwen/qwen3.7-plus
awkweave-0040220
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
10 bruno birch 16 lina ember 1 farah birch 16 alice ember 8 alice grove 3 bruno amber
54
25 alice grove 13 eli indigo 22 farah amber 8 alice harbor 7 ivan juniper 3 dina ember
78
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0040220-p1
Compute and display the sum of all integer values in the first column.
{s+=$1}END{print s+0}
10 bruno birch 16 lina ember 1 farah birch 16 alice ember 8 alice grove 3 bruno amber
54
25 alice grove 13 eli indigo 22 farah amber 8 alice harbor 7 ivan juniper 3 dina ember
78
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0040220
qwen/qwen3.7-plus
awkweave-0040221
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
bruno indigo 14 eli fable 13 alice indigo 5 ivan amber 8 lina amber 23 hana indigo 6 ivan birch 26 ivan cobalt 27 lina ember 4
14.00
kim fable 13 bruno harbor 16 gus indigo 18 bruno delta 26 hana grove 1 gus juniper 26 dina fable 4 hana cobalt 13 bruno ember 26
15.89
average_field
2
train
original-grammar
CC-BY-4.0
null
null