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-0035051-p1
Treating the first line as a header, extract and print the state column from all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
region note state score r001 ivan 24 paused r002 gus 13 pending r003 hana 24 active r004 eli 27 pending r005 chen 15 paused r006 kim 7 paused
24 13 24 27 15 7
region note state score r001 farah 5 ready r002 gus 27 ready r003 farah 23 failed r004 lina 2 ready r005 bruno 17 active r006 alice 30 pending r007 eli 4 pending r008 eli 25 failed r009 jules 22 active r010 farah 25 closed
5 27 23 2 17 30 4 25 22 25
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035051
qwen/qwen3.7-plus
awkweave-0035052
The first row is a header. Print display_name for data rows whose score is greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 hana 7 closed r002 ivan 22 paused r003 kim 9 ready r004 alice 27 ready r005 jules 11 failed r006 jules 22 failed r007 ivan 24 paused
ivan alice jules ivan
record_id display_name score state r001 bruno 24 active r002 hana 26 active r003 dina 17 failed r004 lina 9 active r005 lina 26 pending r006 eli 18 ready r007 gus 15 closed r008 dina 5 paused
bruno hana lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035052-p1
Ignoring the header row, output the display_name field for any record where the score exceeds 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 hana 7 closed r002 ivan 22 paused r003 kim 9 ready r004 alice 27 ready r005 jules 11 failed r006 jules 22 failed r007 ivan 24 paused
ivan alice jules ivan
record_id display_name score state r001 bruno 24 active r002 hana 26 active r003 dina 17 failed r004 lina 9 active r005 lina 26 pending r006 eli 18 ready r007 gus 15 closed r008 dina 5 paused
bruno hana lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035052
qwen/qwen3.7-plus
awkweave-0035053
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 12 active chen 11 pending lina 23 paused chen 14 pending farah 21 closed gus 29 failed alice 11 paused dina 16 closed ivan 19 paused
farah chen lina chen farah gus alice dina ivan
farah 29 pending bruno 2 failed kim 14 ready alice 23 pending dina 1 failed gus 17 failed
farah bruno kim alice dina gus
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035053-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 12 active chen 11 pending lina 23 paused chen 14 pending farah 21 closed gus 29 failed alice 11 paused dina 16 closed ivan 19 paused
farah chen lina chen farah gus alice dina ivan
farah 29 pending bruno 2 failed kim 14 ready alice 23 pending dina 1 failed gus 17 failed
farah bruno kim alice dina gus
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0035053
qwen/qwen3.7-plus
awkweave-0035054
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
kim,4,failed bruno,17,paused kim,5,paused chen,23,failed farah,17,failed dina,7,pending lina,10,closed eli,30,ready bruno,18,pending
chen eli
farah,24,paused eli,21,failed gus,7,pending lina,20,paused bruno,15,failed ivan,8,closed farah,29,closed lina,27,failed gus,25,active
farah eli lina farah lina gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035054-p1
For simple comma-separated input without quoted fields, print the first column only if the value in the second column is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
kim,4,failed bruno,17,paused kim,5,paused chen,23,failed farah,17,failed dina,7,pending lina,10,closed eli,30,ready bruno,18,pending
chen eli
farah,24,paused eli,21,failed gus,7,pending lina,20,paused bruno,15,failed ivan,8,closed farah,29,closed lina,27,failed gus,25,active
farah eli lina farah lina gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035054
qwen/qwen3.7-plus
awkweave-0035055
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah harbor 40 kim juniper 117 bruno fable 108 chen amber 27 kim amber 70 kim birch 114 kim indigo 43 farah harbor 14 lina grove 101 chen harbor 4
farah harbor 40 kim juniper 117 bruno fable 108 chen amber 27 kim amber 70 kim birch 114 kim indigo 43 farah harbor 14 lina grove 101 chen harbor 4
hana delta 84 dina cobalt 74 lina ember 104 jules indigo 27 farah ember 10 ivan fable 8 eli cobalt 12 gus fable 80 eli juniper 38 farah ember 26
hana delta 84 dina cobalt 74 lina ember 104 jules indigo 27 farah ember 10 ivan fable 8 eli cobalt 12 gus fable 80 eli juniper 38 farah ember 26
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035055-p1
Remove leading and trailing whitespace from the text and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
farah harbor 40 kim juniper 117 bruno fable 108 chen amber 27 kim amber 70 kim birch 114 kim indigo 43 farah harbor 14 lina grove 101 chen harbor 4
farah harbor 40 kim juniper 117 bruno fable 108 chen amber 27 kim amber 70 kim birch 114 kim indigo 43 farah harbor 14 lina grove 101 chen harbor 4
hana delta 84 dina cobalt 74 lina ember 104 jules indigo 27 farah ember 10 ivan fable 8 eli cobalt 12 gus fable 80 eli juniper 38 farah ember 26
hana delta 84 dina cobalt 74 lina ember 104 jules indigo 27 farah ember 10 ivan fable 8 eli cobalt 12 gus fable 80 eli juniper 38 farah ember 26
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035055
qwen/qwen3.7-plus
awkweave-0035056
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 3 paused kim juniper 18 failed hana fable 65 paused jules indigo 18 paused bruno harbor 63 paused eli harbor 98 failed
jules indigo 18 paused
alice grove 37 closed bruno ember 28 pending chen amber 116 paused dina harbor 88 failed ivan grove 81 failed dina delta 40 failed
bruno ember 28 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035056-p1
Output the longest line from the input; in the event of a tie in length, select the line that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 3 paused kim juniper 18 failed hana fable 65 paused jules indigo 18 paused bruno harbor 63 paused eli harbor 98 failed
jules indigo 18 paused
alice grove 37 closed bruno ember 28 pending chen amber 116 paused dina harbor 88 failed ivan grove 81 failed dina delta 40 failed
bruno ember 28 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035056
qwen/qwen3.7-plus
awkweave-0035057
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
farah 97 jules 81 dina 99 farah 63 chen 20 kim 83 gus 93 gus 71 chen 88
farah 63 gus 71
gus 2 hana 29 dina 87 alice 90 hana 77 ivan 2 eli 83 alice 48 alice 33
alice 90 alice 48
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035057-p1
Print every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
farah 97 jules 81 dina 99 farah 63 chen 20 kim 83 gus 93 gus 71 chen 88
farah 63 gus 71
gus 2 hana 29 dina 87 alice 90 hana 77 ivan 2 eli 83 alice 48 alice 33
alice 90 alice 48
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035057
qwen/qwen3.7-plus
awkweave-0035058
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 5 delta birch 99 beta juniper 53 delta fable 105 alpha juniper 11 delta birch 68
4
delta ember 119 beta juniper 64 delta grove 9 delta harbor 77 gamma delta 100 gamma juniper 10 gamma cobalt 5 gamma fable 109 alpha ember 74 beta ember 55
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035058-p1
Determine the number of unique values present in column 1 and output only this total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 5 delta birch 99 beta juniper 53 delta fable 105 alpha juniper 11 delta birch 68
4
delta ember 119 beta juniper 64 delta grove 9 delta harbor 77 gamma delta 100 gamma juniper 10 gamma cobalt 5 gamma fable 109 alpha ember 74 beta ember 55
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035058
qwen/qwen3.7-plus
awkweave-0035059
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}
alice 2 0 dina 27 6 hana 29 5 farah 21 7 lina 1 11 bruno 10 2
dina 4.50 hana 5.80 farah 3.00 lina 0.09 bruno 5.00
ivan 22 0 dina 1 21 farah 2 7 lina 17 1 kim 27 6 hana 12 13 alice 5 17 bruno 28 16
dina 0.05 farah 0.29 lina 17.00 kim 4.50 hana 0.92 alice 0.29 bruno 1.75
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035059-p1
For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, omitting any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 2 0 dina 27 6 hana 29 5 farah 21 7 lina 1 11 bruno 10 2
dina 4.50 hana 5.80 farah 3.00 lina 0.09 bruno 5.00
ivan 22 0 dina 1 21 farah 2 7 lina 17 1 kim 27 6 hana 12 13 alice 5 17 bruno 28 16
dina 0.05 farah 0.29 lina 17.00 kim 4.50 hana 0.92 alice 0.29 bruno 1.75
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035059
qwen/qwen3.7-plus
awkweave-0035060
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 birch 4 kim grove 20 farah grove 9 ivan fable 24 jules birch 9 eli harbor 1 kim juniper 5
ivan fable 24 kim grove 20 farah grove 9
gus delta 11 chen juniper 28 dina delta 8 chen ember 17 farah juniper 20 gus grove 10 eli ember 18 hana fable 21
chen juniper 28 hana fable 21 farah juniper 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035060-p1
Output the top 3 records based on the highest numeric values in column 3, sorted in descending order, while 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]}
chen birch 4 kim grove 20 farah grove 9 ivan fable 24 jules birch 9 eli harbor 1 kim juniper 5
ivan fable 24 kim grove 20 farah grove 9
gus delta 11 chen juniper 28 dina delta 8 chen ember 17 farah juniper 20 gus grove 10 eli ember 18 hana fable 21
chen juniper 28 hana fable 21 farah juniper 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035060
qwen/qwen3.7-plus
awkweave-0035061
For each line, output fields 2 and 1, in that order.
{print $2, $1}
cobalt active pending pending amber ready active active harbor failed paused closed indigo closed paused paused amber pending paused ready birch closed active failed
active cobalt ready amber failed harbor closed indigo pending amber closed birch
indigo paused ready failed grove paused closed ready delta failed active active cobalt ready pending ready birch pending ready ready ember active failed paused juniper pending paused closed harbor failed closed closed amber failed pending paused fable closed ready paused
paused indigo paused grove failed delta ready cobalt pending birch active ember pending juniper failed harbor failed amber closed fable
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035061-p1
For every line, display field 2 followed by field 1.
{print $2, $1}
cobalt active pending pending amber ready active active harbor failed paused closed indigo closed paused paused amber pending paused ready birch closed active failed
active cobalt ready amber failed harbor closed indigo pending amber closed birch
indigo paused ready failed grove paused closed ready delta failed active active cobalt ready pending ready birch pending ready ready ember active failed paused juniper pending paused closed harbor failed closed closed amber failed pending paused fable closed ready paused
paused indigo paused grove failed delta ready cobalt pending birch active ember pending juniper failed harbor failed amber closed fable
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035061
qwen/qwen3.7-plus
awkweave-0035062
Print the last field of every input line.
{print $NF}
117 alice 18 117 lina 43 13 kim 36 54 bruno 112 18 dina 57 12 jules 58 49 gus 110 100 farah 42 20 jules 4
18 43 36 112 57 58 110 42 4
38 hana 106 67 ivan 2 41 alice 82 86 chen 38 24 farah 72 88 hana 57 82 gus 78 51 alice 93 11 kim 2 29 hana 102
106 2 82 38 72 57 78 93 2 102
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035062-p1
Print the final field from each input line.
{print $NF}
117 alice 18 117 lina 43 13 kim 36 54 bruno 112 18 dina 57 12 jules 58 49 gus 110 100 farah 42 20 jules 4
18 43 36 112 57 58 110 42 4
38 hana 106 67 ivan 2 41 alice 82 86 chen 38 24 farah 72 88 hana 57 82 gus 78 51 alice 93 11 kim 2 29 hana 102
106 2 82 38 72 57 78 93 2 102
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035062
qwen/qwen3.7-plus
awkweave-0035063
Print the complete records where column 3 is at least 67.
$3 >= 67
juniper indigo 83 indigo fable delta grove 53 harbor juniper birch cobalt 99 cobalt juniper amber birch 108 birch fable ember amber 68 indigo amber ember cobalt 75 ember juniper harbor amber 89 fable fable juniper cobalt 34 harbor harbor grove grove 40 cobalt birch
juniper indigo 83 indigo fable birch cobalt 99 cobalt juniper amber birch 108 birch fable ember amber 68 indigo amber ember cobalt 75 ember juniper harbor amber 89 fable fable
delta amber 73 birch juniper harbor birch 9 birch delta grove birch 89 grove amber harbor fable 24 cobalt amber grove amber 113 birch amber indigo birch 24 amber amber amber amber 67 delta birch ember ember 68 birch juniper
delta amber 73 birch juniper grove birch 89 grove amber grove amber 113 birch amber amber amber 67 delta birch ember ember 68 birch juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035063-p1
Display all complete records where the value in column 3 is greater than or equal to 67.
$3 >= 67
juniper indigo 83 indigo fable delta grove 53 harbor juniper birch cobalt 99 cobalt juniper amber birch 108 birch fable ember amber 68 indigo amber ember cobalt 75 ember juniper harbor amber 89 fable fable juniper cobalt 34 harbor harbor grove grove 40 cobalt birch
juniper indigo 83 indigo fable birch cobalt 99 cobalt juniper amber birch 108 birch fable ember amber 68 indigo amber ember cobalt 75 ember juniper harbor amber 89 fable fable
delta amber 73 birch juniper harbor birch 9 birch delta grove birch 89 grove amber harbor fable 24 cobalt amber grove amber 113 birch amber indigo birch 24 amber amber amber amber 67 delta birch ember ember 68 birch juniper
delta amber 73 birch juniper grove birch 89 grove amber grove amber 113 birch amber amber amber 67 delta birch ember ember 68 birch juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035063
qwen/qwen3.7-plus
awkweave-0035064
Show whole lines whose 1st field is between 7 and 21, inclusive.
$1 >= 7 && $1 <= 21
7 indigo amber active 6 grove indigo paused 2 fable grove closed 20 juniper indigo pending 7 juniper juniper active 12 delta fable active 13 amber cobalt failed 18 amber ember paused 2 indigo grove failed
7 indigo amber active 20 juniper indigo pending 7 juniper juniper active 12 delta fable active 13 amber cobalt failed 18 amber ember paused
26 grove harbor paused 23 harbor cobalt failed 27 delta harbor paused 30 fable harbor paused 22 juniper grove failed 14 harbor amber pending
14 harbor amber pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035064-p1
Show entire lines where the first field falls within the inclusive range of 7 to 21.
$1 >= 7 && $1 <= 21
7 indigo amber active 6 grove indigo paused 2 fable grove closed 20 juniper indigo pending 7 juniper juniper active 12 delta fable active 13 amber cobalt failed 18 amber ember paused 2 indigo grove failed
7 indigo amber active 20 juniper indigo pending 7 juniper juniper active 12 delta fable active 13 amber cobalt failed 18 amber ember paused
26 grove harbor paused 23 harbor cobalt failed 27 delta harbor paused 30 fable harbor paused 22 juniper grove failed 14 harbor amber pending
14 harbor amber pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035064
qwen/qwen3.7-plus
awkweave-0035065
Print column 2 only for rows where column 3 is exactly paused.
$3 == "paused"{print $2}
birch gus failed 56 harbor gus active 32 delta ivan closed 54 birch farah paused 43 cobalt hana pending 86 harbor ivan closed 62 fable jules active 56 harbor chen active 6 harbor gus pending 90
farah
birch lina active 81 juniper hana closed 83 cobalt eli closed 69 ember hana pending 98 fable chen closed 9 indigo dina ready 72 delta lina active 118
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035065-p1
Output only column 2 for rows where column 3 contains the exact value 'paused'.
$3 == "paused"{print $2}
birch gus failed 56 harbor gus active 32 delta ivan closed 54 birch farah paused 43 cobalt hana pending 86 harbor ivan closed 62 fable jules active 56 harbor chen active 6 harbor gus pending 90
farah
birch lina active 81 juniper hana closed 83 cobalt eli closed 69 ember hana pending 98 fable chen closed 9 indigo dina ready 72 delta lina active 118
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035065
qwen/qwen3.7-plus
awkweave-0035066
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
harbor INFO 30 juniper DEBUG 81 indigo ERROR 16 delta ERROR 87 juniper DEBUG 35 ember INFO 32 grove WARN 53
indigo ERROR 16 delta ERROR 87
birch INFO 78 indigo DEBUG 29 amber WARN 54 harbor DEBUG 47 cobalt INFO 98 fable ERROR 62 ember WARN 32 juniper INFO 37 cobalt DEBUG 93 ember DEBUG 41
fable ERROR 62
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035066-p1
Print all fields from lines where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
harbor INFO 30 juniper DEBUG 81 indigo ERROR 16 delta ERROR 87 juniper DEBUG 35 ember INFO 32 grove WARN 53
indigo ERROR 16 delta ERROR 87
birch INFO 78 indigo DEBUG 29 amber WARN 54 harbor DEBUG 47 cobalt INFO 98 fable ERROR 62 ember WARN 32 juniper INFO 37 cobalt DEBUG 93 ember DEBUG 41
fable ERROR 62
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035066
qwen/qwen3.7-plus
awkweave-0035067
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
fable 95 ready grove 63 active juniper 68 pending birch 108 ready harbor 40 ready grove 3 paused juniper 39 active harbor 999 active
fable 95 ready grove 63 active juniper 68 pending birch 108 ready grove 3 paused juniper 39 active
delta 21 closed ember 41 ready birch 61 paused juniper 58 failed delta 94 pending juniper 63 closed birch 57 paused ember 67 pending harbor 999 active
delta 21 closed ember 41 ready birch 61 paused juniper 58 failed delta 94 pending juniper 63 closed birch 57 paused ember 67 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035067-p1
Print every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
fable 95 ready grove 63 active juniper 68 pending birch 108 ready harbor 40 ready grove 3 paused juniper 39 active harbor 999 active
fable 95 ready grove 63 active juniper 68 pending birch 108 ready grove 3 paused juniper 39 active
delta 21 closed ember 41 ready birch 61 paused juniper 58 failed delta 94 pending juniper 63 closed birch 57 paused ember 67 pending harbor 999 active
delta 21 closed ember 41 ready birch 61 paused juniper 58 failed delta 94 pending juniper 63 closed birch 57 paused ember 67 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035067
qwen/qwen3.7-plus
awkweave-0035068
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
gus amber 116 gus cobalt 44 chen ember 26 farah amber 73 chen harbor 94 ivan cobalt 85
gus cobalt 44 chen ember 26 farah amber 73
gus delta 24 jules fable 112 jules juniper 62 farah juniper 6 ivan cobalt 61 lina ember 93 eli delta 10 gus indigo 35
jules fable 112 jules juniper 62 farah juniper 6
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035068-p1
Print lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
gus amber 116 gus cobalt 44 chen ember 26 farah amber 73 chen harbor 94 ivan cobalt 85
gus cobalt 44 chen ember 26 farah amber 73
gus delta 24 jules fable 112 jules juniper 62 farah juniper 6 ivan cobalt 61 lina ember 93 eli delta 10 gus indigo 35
jules fable 112 jules juniper 62 farah juniper 6
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035068
qwen/qwen3.7-plus
awkweave-0035069
Output only the first 3 records.
NR <= 3
chen 0 juniper eli 3 indigo gus 90 juniper alice 99 ember lina 96 amber dina 32 indigo kim 13 cobalt kim 52 juniper lina 20 grove
chen 0 juniper eli 3 indigo gus 90 juniper
ivan 14 indigo dina 61 harbor ivan 1 delta hana 115 birch ivan 22 harbor alice 80 indigo bruno 87 birch
ivan 14 indigo dina 61 harbor ivan 1 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035069-p1
Output only the first 3 records.
NR <= 3
chen 0 juniper eli 3 indigo gus 90 juniper alice 99 ember lina 96 amber dina 32 indigo kim 13 cobalt kim 52 juniper lina 20 grove
chen 0 juniper eli 3 indigo gus 90 juniper
ivan 14 indigo dina 61 harbor ivan 1 delta hana 115 birch ivan 22 harbor alice 80 indigo bruno 87 birch
ivan 14 indigo dina 61 harbor ivan 1 delta
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0035069
qwen/qwen3.7-plus
awkweave-0035070
Skip the first line and print every remaining line unchanged.
NR > 1
hana 69 amber bruno 41 birch chen 13 birch gus 41 indigo farah 70 delta kim 73 delta kim 70 ember gus 73 birch bruno 74 delta hana 79 fable
bruno 41 birch chen 13 birch gus 41 indigo farah 70 delta kim 73 delta kim 70 ember gus 73 birch bruno 74 delta hana 79 fable
jules 41 juniper kim 22 harbor eli 57 indigo lina 65 cobalt alice 3 ember eli 7 juniper alice 82 cobalt jules 65 delta
kim 22 harbor eli 57 indigo lina 65 cobalt alice 3 ember eli 7 juniper alice 82 cobalt jules 65 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035070-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
hana 69 amber bruno 41 birch chen 13 birch gus 41 indigo farah 70 delta kim 73 delta kim 70 ember gus 73 birch bruno 74 delta hana 79 fable
bruno 41 birch chen 13 birch gus 41 indigo farah 70 delta kim 73 delta kim 70 ember gus 73 birch bruno 74 delta hana 79 fable
jules 41 juniper kim 22 harbor eli 57 indigo lina 65 cobalt alice 3 ember eli 7 juniper alice 82 cobalt jules 65 delta
kim 22 harbor eli 57 indigo lina 65 cobalt alice 3 ember eli 7 juniper alice 82 cobalt jules 65 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035070
qwen/qwen3.7-plus
awkweave-0035071
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
ivan active 24 gus closed 79 chen paused 48 ivan pending 64 dina paused 40 alice closed 94 dina active 115 alice pending 64 jules failed 28
2
ivan active 102 eli closed 76 alice pending 76 eli pending 0 ivan failed 8 farah pending 98 alice pending 98 dina pending 75 kim ready 58
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035071-p1
Count the number of records where column 2 is 'closed', and print 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
ivan active 24 gus closed 79 chen paused 48 ivan pending 64 dina paused 40 alice closed 94 dina active 115 alice pending 64 jules failed 28
2
ivan active 102 eli closed 76 alice pending 76 eli pending 0 ivan failed 8 farah pending 98 alice pending 98 dina pending 75 kim ready 58
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035071
qwen/qwen3.7-plus
awkweave-0035072
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ember 13 eli harbor 21 lina grove 9 kim juniper 22 eli ember 17 ivan ember 2 bruno cobalt 25 gus
109
fable 19 jules delta 24 lina cobalt 10 lina grove 10 gus cobalt 24 jules harbor 16 chen birch 13 chen juniper 26 bruno harbor 16 gus
158
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035072-p1
Compute and output the total of all integer values found in the second column.
{s+=$2}END{print s+0}
ember 13 eli harbor 21 lina grove 9 kim juniper 22 eli ember 17 ivan ember 2 bruno cobalt 25 gus
109
fable 19 jules delta 24 lina cobalt 10 lina grove 10 gus cobalt 24 jules harbor 16 chen birch 13 chen juniper 26 bruno harbor 16 gus
158
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035072
qwen/qwen3.7-plus
awkweave-0035073
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
indigo bruno 21 juniper alice 13 birch dina 27 birch hana 8 juniper eli 8 grove eli 3 ember ivan 10 juniper gus 2
11.50
ember gus 19 delta dina 16 birch lina 26 harbor lina 23 ember dina 19 juniper eli 10 juniper bruno 17 juniper chen 27 birch hana 25 delta dina 26
20.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035073-p1
Output the average of the values in the third column, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
indigo bruno 21 juniper alice 13 birch dina 27 birch hana 8 juniper eli 8 grove eli 3 ember ivan 10 juniper gus 2
11.50
ember gus 19 delta dina 16 birch lina 26 harbor lina 23 ember dina 19 juniper eli 10 juniper bruno 17 juniper chen 27 birch hana 25 delta dina 26
20.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035073
qwen/qwen3.7-plus
awkweave-0035074
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 9 alice ember 23 kim juniper 12 gus grove 7 lina cobalt 22 ivan delta 7 gus
7
amber 4 ivan ember 7 gus grove 3 gus harbor 23 farah cobalt 7 dina delta 10 bruno ember 10 eli ember 16 dina amber 26 jules amber 5 gus
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035074-p1
Identify and display the minimum numerical value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 9 alice ember 23 kim juniper 12 gus grove 7 lina cobalt 22 ivan delta 7 gus
7
amber 4 ivan ember 7 gus grove 3 gus harbor 23 farah cobalt 7 dina delta 10 bruno ember 10 eli ember 16 dina amber 26 jules amber 5 gus
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035074
qwen/qwen3.7-plus
awkweave-0035075
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
16 gus birch 27 alice indigo 17 ivan amber 11 farah indigo 8 lina delta 7 farah harbor 3 farah birch
27
3 jules fable 17 ivan juniper 17 eli juniper 1 gus indigo 21 lina juniper 24 chen birch 9 ivan juniper 8 dina indigo 6 alice ember 9 hana delta
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035075-p1
Identify and display the maximum numerical value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
16 gus birch 27 alice indigo 17 ivan amber 11 farah indigo 8 lina delta 7 farah harbor 3 farah birch
27
3 jules fable 17 ivan juniper 17 eli juniper 1 gus indigo 21 lina juniper 24 chen birch 9 ivan juniper 8 dina indigo 6 alice ember 9 hana delta
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035075
qwen/qwen3.7-plus
awkweave-0035076
Count all input records and print the total.
END{print NR}
chen 119 hana 12 kim 68 jules 65 alice 97 eli 12
6
eli 90 lina 78 jules 40 kim 27 ivan 3 alice 77 ivan 35 hana 82 ivan 74 jules 88
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035076-p1
Determine the total number of input records and print this count.
END{print NR}
chen 119 hana 12 kim 68 jules 65 alice 97 eli 12
6
eli 90 lina 78 jules 40 kim 27 ivan 3 alice 77 ivan 35 hana 82 ivan 74 jules 88
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035076
qwen/qwen3.7-plus
awkweave-0035077
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan birch 97 eli juniper 15 bruno juniper 105 eli amber 50 gus ember 70 eli juniper 15 chen fable 25 gus delta 54 gus grove 13 alice cobalt 65 ivan delta 44
ivan birch 97 eli juniper 15 bruno juniper 105 eli amber 50 gus ember 70 chen fable 25 gus delta 54 gus grove 13 alice cobalt 65 ivan delta 44
kim grove 3 bruno ember 0 hana harbor 6 gus cobalt 118 gus indigo 20 dina cobalt 64 farah fable 59 bruno ember 0
kim grove 3 bruno ember 0 hana harbor 6 gus cobalt 118 gus indigo 20 dina cobalt 64 farah fable 59
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035077-p1
Eliminate duplicate lines by keeping only the first instance of each, while maintaining the original sequence.
!seen[$0]++
ivan birch 97 eli juniper 15 bruno juniper 105 eli amber 50 gus ember 70 eli juniper 15 chen fable 25 gus delta 54 gus grove 13 alice cobalt 65 ivan delta 44
ivan birch 97 eli juniper 15 bruno juniper 105 eli amber 50 gus ember 70 chen fable 25 gus delta 54 gus grove 13 alice cobalt 65 ivan delta 44
kim grove 3 bruno ember 0 hana harbor 6 gus cobalt 118 gus indigo 20 dina cobalt 64 farah fable 59 bruno ember 0
kim grove 3 bruno ember 0 hana harbor 6 gus cobalt 118 gus indigo 20 dina cobalt 64 farah fable 59
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035077
qwen/qwen3.7-plus
awkweave-0035078
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
lina cobalt 3 chen cobalt 56 farah birch 76 chen cobalt 99 eli birch 75 hana indigo 99 alice cobalt 46 kim cobalt 45 ivan fable 29 farah harbor 110
lina cobalt 3 chen cobalt 56 farah birch 76 chen cobalt 99 eli birch 75 alice cobalt 46 kim cobalt 45 ivan fable 29 farah harbor 110
alice fable 28 dina fable 38 jules fable 48 farah cobalt 3 kim birch 46 farah amber 107 alice indigo 34
alice fable 28 dina fable 38 jules fable 48 farah cobalt 3 kim birch 46 farah amber 107 alice indigo 34
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035078-p1
Retain only the initial line for every unique value in the third column, ensuring the original order is preserved.
!seen[$3]++
lina cobalt 3 chen cobalt 56 farah birch 76 chen cobalt 99 eli birch 75 hana indigo 99 alice cobalt 46 kim cobalt 45 ivan fable 29 farah harbor 110
lina cobalt 3 chen cobalt 56 farah birch 76 chen cobalt 99 eli birch 75 alice cobalt 46 kim cobalt 45 ivan fable 29 farah harbor 110
alice fable 28 dina fable 38 jules fable 48 farah cobalt 3 kim birch 46 farah amber 107 alice indigo 34
alice fable 28 dina fable 38 jules fable 48 farah cobalt 3 kim birch 46 farah amber 107 alice indigo 34
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035078
qwen/qwen3.7-plus
awkweave-0035079
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 1 cobalt hana 11 juniper lina 23 juniper hana 18 fable dina 28 birch farah 23 juniper
gus 1 hana 12 lina 35 hana 53 dina 81 farah 104
jules 12 indigo lina 28 cobalt farah 15 harbor chen 29 amber bruno 17 amber ivan 27 grove chen 22 fable eli 28 fable chen 9 birch dina 7 ember
jules 12 lina 40 farah 55 chen 84 bruno 101 ivan 128 chen 150 eli 178 chen 187 dina 194
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035079-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
gus 1 cobalt hana 11 juniper lina 23 juniper hana 18 fable dina 28 birch farah 23 juniper
gus 1 hana 12 lina 35 hana 53 dina 81 farah 104
jules 12 indigo lina 28 cobalt farah 15 harbor chen 29 amber bruno 17 amber ivan 27 grove chen 22 fable eli 28 fable chen 9 birch dina 7 ember
jules 12 lina 40 farah 55 chen 84 bruno 101 ivan 128 chen 150 eli 178 chen 187 dina 194
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035079
qwen/qwen3.7-plus
awkweave-0035080
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 4 18 ember hana 26 14 cobalt eli 16 24 cobalt lina 5 16 grove gus 9 26 fable farah 14 4 indigo chen 25 4 fable eli 24 20 juniper
dina 22 hana 40 eli 40 lina 21 gus 35 farah 18 chen 29 eli 44
kim 8 28 amber lina 26 19 ember dina 11 16 harbor lina 30 11 amber gus 28 8 harbor eli 8 2 delta eli 24 8 fable farah 26 9 birch
kim 36 lina 45 dina 27 lina 41 gus 36 eli 10 eli 32 farah 35
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035080-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
dina 4 18 ember hana 26 14 cobalt eli 16 24 cobalt lina 5 16 grove gus 9 26 fable farah 14 4 indigo chen 25 4 fable eli 24 20 juniper
dina 22 hana 40 eli 40 lina 21 gus 35 farah 18 chen 29 eli 44
kim 8 28 amber lina 26 19 ember dina 11 16 harbor lina 30 11 amber gus 28 8 harbor eli 8 2 delta eli 24 8 fable farah 26 9 birch
kim 36 lina 45 dina 27 lina 41 gus 36 eli 10 eli 32 farah 35
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035080
qwen/qwen3.7-plus
awkweave-0035081
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
ivan 13 gus 14 eli 27 hana 21 ivan 11 alice 27 lina 26 gus 12 bruno 13 chen 12
ivan fail gus fail eli pass hana fail ivan fail alice pass lina pass gus fail bruno fail chen fail
gus 3 eli 16 kim 25 farah 6 jules 19 alice 28 alice 11 alice 30 ivan 8
gus fail eli fail kim pass farah fail jules fail alice pass alice fail alice pass ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035081-p1
Output the first column along with 'pass' if the second column is 24 or greater, otherwise output 'fail'.
{print $1,($2>=24?"pass":"fail")}
ivan 13 gus 14 eli 27 hana 21 ivan 11 alice 27 lina 26 gus 12 bruno 13 chen 12
ivan fail gus fail eli pass hana fail ivan fail alice pass lina pass gus fail bruno fail chen fail
gus 3 eli 16 kim 25 farah 6 jules 19 alice 28 alice 11 alice 30 ivan 8
gus fail eli fail kim pass farah fail jules fail alice pass alice fail alice pass ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035081
qwen/qwen3.7-plus
awkweave-0035082
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
gus grove 8 bruno ember 63 jules cobalt 92 jules harbor 31 gus amber 115 hana birch 91 ivan juniper 69 farah harbor 8 eli harbor 101 dina cobalt 20
GUS BRUNO JULES JULES GUS HANA IVAN FARAH ELI DINA
chen juniper 84 alice birch 3 dina cobalt 96 ivan fable 96 ivan juniper 105 kim delta 108 bruno grove 37 ivan harbor 14
CHEN ALICE DINA IVAN IVAN KIM BRUNO IVAN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035082-p1
Transform the first column to uppercase letters and print only this modified column.
{print toupper($1)}
gus grove 8 bruno ember 63 jules cobalt 92 jules harbor 31 gus amber 115 hana birch 91 ivan juniper 69 farah harbor 8 eli harbor 101 dina cobalt 20
GUS BRUNO JULES JULES GUS HANA IVAN FARAH ELI DINA
chen juniper 84 alice birch 3 dina cobalt 96 ivan fable 96 ivan juniper 105 kim delta 108 bruno grove 37 ivan harbor 14
CHEN ALICE DINA IVAN IVAN KIM BRUNO IVAN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035082
qwen/qwen3.7-plus
awkweave-0035083
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
harbor 8 juniper 115 amber 17 fable 101 amber 50 cobalt 61 fable 117
rb ni be bl be ba bl
fable 77 cobalt 7 grove 93 ember 113 delta 71 grove 102 delta 38
bl ba ov be lt ov lt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035083-p1
Extract and print a substring of 2 characters from the first column, beginning at the third character position.
{print substr($1,3,2)}
harbor 8 juniper 115 amber 17 fable 101 amber 50 cobalt 61 fable 117
rb ni be bl be ba bl
fable 77 cobalt 7 grove 93 ember 113 delta 71 grove 102 delta 38
bl ba ov be lt ov lt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035083
qwen/qwen3.7-plus
awkweave-0035084
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_fable 113 fable_harbor 94 ember_juniper 23 fable_cobalt 6 birch_fable 74 cobalt_fable 102
juniper fable fable harbor ember juniper fable cobalt birch fable cobalt fable
amber_harbor 87 amber_cobalt 57 amber_amber 101 amber_fable 0 juniper_indigo 116 cobalt_juniper 90 birch_ember 89 fable_juniper 33
amber harbor amber cobalt amber amber amber fable juniper indigo cobalt juniper birch ember fable juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035084-p1
Substitute all underscores with spaces in the first column and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_fable 113 fable_harbor 94 ember_juniper 23 fable_cobalt 6 birch_fable 74 cobalt_fable 102
juniper fable fable harbor ember juniper fable cobalt birch fable cobalt fable
amber_harbor 87 amber_cobalt 57 amber_amber 101 amber_fable 0 juniper_indigo 116 cobalt_juniper 90 birch_ember 89 fable_juniper 33
amber harbor amber cobalt amber amber amber fable juniper indigo cobalt juniper birch ember fable juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035084
qwen/qwen3.7-plus
awkweave-0035085
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)}
hana amber 1 paused dina birch 73 active chen juniper 26 paused farah juniper 41 pending alice fable 10 active kim fable 40 pending farah cobalt 86 paused jules indigo 36 active alice cobalt 1 pending jules fable 34 pending
paused 1 amber hana active 73 birch dina paused 26 juniper chen pending 41 juniper farah active 10 fable alice pending 40 fable kim paused 86 cobalt farah active 36 indigo jules pending 1 cobalt alice pending 34 fable jules
kim grove 45 failed ivan indigo 111 active ivan birch 22 pending alice juniper 95 paused jules juniper 15 pending farah harbor 49 ready gus birch 20 active bruno harbor 20 failed ivan indigo 91 paused jules ember 69 failed
failed 45 grove kim active 111 indigo ivan pending 22 birch ivan paused 95 juniper alice pending 15 juniper jules ready 49 harbor farah active 20 birch gus failed 20 harbor bruno paused 91 indigo ivan failed 69 ember jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035085-p1
Output every field on each line in reverse order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana amber 1 paused dina birch 73 active chen juniper 26 paused farah juniper 41 pending alice fable 10 active kim fable 40 pending farah cobalt 86 paused jules indigo 36 active alice cobalt 1 pending jules fable 34 pending
paused 1 amber hana active 73 birch dina paused 26 juniper chen pending 41 juniper farah active 10 fable alice pending 40 fable kim paused 86 cobalt farah active 36 indigo jules pending 1 cobalt alice pending 34 fable jules
kim grove 45 failed ivan indigo 111 active ivan birch 22 pending alice juniper 95 paused jules juniper 15 pending farah harbor 49 ready gus birch 20 active bruno harbor 20 failed ivan indigo 91 paused jules ember 69 failed
failed 45 grove kim active 111 indigo ivan pending 22 birch ivan paused 95 juniper alice pending 15 juniper jules ready 49 harbor farah active 20 birch gus failed 20 harbor bruno paused 91 indigo ivan failed 69 ember jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035085
qwen/qwen3.7-plus
awkweave-0035086
Print the number of whitespace-separated fields on each line.
{print NF}
farah juniper 57 ready alice delta 76 ready jules ember 118 closed lina birch 19 closed kim delta 49 pending kim birch 111 ready hana indigo 66 closed hana fable 47 failed bruno amber 111 closed
4 4 4 4 4 4 4 4 4
lina delta 100 failed alice cobalt 87 closed alice cobalt 77 pending alice indigo 9 failed lina ember 48 paused farah amber 97 failed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035086-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
farah juniper 57 ready alice delta 76 ready jules ember 118 closed lina birch 19 closed kim delta 49 pending kim birch 111 ready hana indigo 66 closed hana fable 47 failed bruno amber 111 closed
4 4 4 4 4 4 4 4 4
lina delta 100 failed alice cobalt 87 closed alice cobalt 77 pending alice indigo 9 failed lina ember 48 paused farah amber 97 failed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035086
qwen/qwen3.7-plus
awkweave-0035087
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]]}
jules delta 83 jules alpha 8 hana delta 120 jules alpha 53 jules beta 77 gus alpha 114 jules alpha 100 hana alpha 59 dina alpha 10
delta 2 alpha 6 beta 1
bruno alpha 55 chen beta 46 eli beta 14 ivan beta 111 bruno alpha 91 kim alpha 90 kim alpha 59 bruno alpha 56 gus alpha 55
alpha 6 beta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035087-p1
Tally the occurrences of each unique value in the second column and print the value alongside its count, maintaining the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
jules delta 83 jules alpha 8 hana delta 120 jules alpha 53 jules beta 77 gus alpha 114 jules alpha 100 hana alpha 59 dina alpha 10
delta 2 alpha 6 beta 1
bruno alpha 55 chen beta 46 eli beta 14 ivan beta 111 bruno alpha 91 kim alpha 90 kim alpha 59 bruno alpha 56 gus alpha 55
alpha 6 beta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035087
qwen/qwen3.7-plus
awkweave-0035088
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]]}
chen beta 11 gus delta 18 jules delta 13 alice delta 9 kim gamma 2 kim delta 29 dina delta 10 farah gamma 6 lina beta 19
beta 30 delta 79 gamma 8
bruno alpha 1 ivan delta 8 dina gamma 11 bruno alpha 19 jules gamma 15 jules delta 11
alpha 20 delta 19 gamma 26
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035088-p1
Calculate the sum of the third column for each distinct category in the second column, listing the results in the order the categories first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
chen beta 11 gus delta 18 jules delta 13 alice delta 9 kim gamma 2 kim delta 29 dina delta 10 farah gamma 6 lina beta 19
beta 30 delta 79 gamma 8
bruno alpha 1 ivan delta 8 dina gamma 11 bruno alpha 19 jules gamma 15 jules delta 11
alpha 20 delta 19 gamma 26
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035088
qwen/qwen3.7-plus
awkweave-0035089
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 cobalt 106 alpha delta 8 delta grove 61 delta ember 15 gamma indigo 22 alpha ember 41
gamma 2 alpha 2 delta 2
alpha grove 7 gamma amber 114 beta juniper 51 alpha fable 70 beta ember 12 alpha grove 61 alpha harbor 20 alpha ember 95 gamma indigo 56
alpha 5 gamma 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035089-p1
List each duplicate value from the first column along with its frequency, sorted by the order of first occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma cobalt 106 alpha delta 8 delta grove 61 delta ember 15 gamma indigo 22 alpha ember 41
gamma 2 alpha 2 delta 2
alpha grove 7 gamma amber 114 beta juniper 51 alpha fable 70 beta ember 12 alpha grove 61 alpha harbor 20 alpha ember 95 gamma indigo 56
alpha 5 gamma 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035089
qwen/qwen3.7-plus
awkweave-0035100
Print column 4 followed by column 2 for every record.
{print $4, $2}
73 indigo pending cobalt 58 indigo 93 harbor pending birch 11 amber 110 indigo closed indigo 41 harbor 55 indigo pending delta 3 cobalt 53 harbor paused juniper 21 ember 92 harbor failed cobalt 99 harbor 103 delta ready harbor 13 harbor
cobalt indigo birch harbor indigo indigo delta indigo juniper harbor cobalt harbor harbor delta
62 juniper failed fable 70 fable 106 cobalt paused delta 56 birch 90 harbor ready cobalt 68 cobalt 104 harbor active indigo 41 amber 93 amber pending juniper 12 fable 108 indigo failed amber 1 birch 107 juniper pending ember 6 harbor 81 fable ready harbor 79 ember
fable juniper delta cobalt cobalt harbor indigo harbor juniper amber amber indigo ember juniper harbor fable
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035100-p1
Output the fourth column followed by the second column for each record.
{print $4, $2}
73 indigo pending cobalt 58 indigo 93 harbor pending birch 11 amber 110 indigo closed indigo 41 harbor 55 indigo pending delta 3 cobalt 53 harbor paused juniper 21 ember 92 harbor failed cobalt 99 harbor 103 delta ready harbor 13 harbor
cobalt indigo birch harbor indigo indigo delta indigo juniper harbor cobalt harbor harbor delta
62 juniper failed fable 70 fable 106 cobalt paused delta 56 birch 90 harbor ready cobalt 68 cobalt 104 harbor active indigo 41 amber 93 amber pending juniper 12 fable 108 indigo failed amber 1 birch 107 juniper pending ember 6 harbor 81 fable ready harbor 79 ember
fable juniper delta cobalt cobalt harbor indigo harbor juniper amber amber indigo ember juniper harbor fable
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035100
qwen/qwen3.7-plus
awkweave-0035101
Print the last field of every input line.
{print $NF}
fable 17 closed 90 amber 54 pending 108 fable 24 ready 66 harbor 65 failed 115 amber 87 failed 94 delta 32 paused 117 cobalt 37 pending 82
90 108 66 115 94 117 82
delta 65 active 78 delta 61 failed 76 indigo 78 active 14 birch 3 paused 88 amber 111 paused 15 grove 113 ready 18 ember 38 active 56 amber 37 active 97
78 76 14 88 15 18 56 97
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035101-p1
Print the final field of every input line.
{print $NF}
fable 17 closed 90 amber 54 pending 108 fable 24 ready 66 harbor 65 failed 115 amber 87 failed 94 delta 32 paused 117 cobalt 37 pending 82
90 108 66 115 94 117 82
delta 65 active 78 delta 61 failed 76 indigo 78 active 14 birch 3 paused 88 amber 111 paused 15 grove 113 ready 18 ember 38 active 56 amber 37 active 97
78 76 14 88 15 18 56 97
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035101
qwen/qwen3.7-plus
awkweave-0035102
Print the complete records where column 1 is at most 52.
$1 <= 52
75 kim dina delta 1 gus bruno indigo 86 jules hana fable 104 eli kim birch 102 hana farah harbor 40 kim gus fable 21 dina jules birch 21 kim bruno fable 18 hana gus cobalt 106 eli kim amber
1 gus bruno indigo 40 kim gus fable 21 dina jules birch 21 kim bruno fable 18 hana gus cobalt
44 jules chen delta 76 farah dina harbor 48 dina eli birch 108 lina ivan amber 13 farah jules ember 111 farah ivan grove 117 chen farah juniper 42 hana ivan juniper
44 jules chen delta 48 dina eli birch 13 farah jules ember 42 hana ivan juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035102-p1
Output full records where the value in the first column is less than or equal to 52.
$1 <= 52
75 kim dina delta 1 gus bruno indigo 86 jules hana fable 104 eli kim birch 102 hana farah harbor 40 kim gus fable 21 dina jules birch 21 kim bruno fable 18 hana gus cobalt 106 eli kim amber
1 gus bruno indigo 40 kim gus fable 21 dina jules birch 21 kim bruno fable 18 hana gus cobalt
44 jules chen delta 76 farah dina harbor 48 dina eli birch 108 lina ivan amber 13 farah jules ember 111 farah ivan grove 117 chen farah juniper 42 hana ivan juniper
44 jules chen delta 48 dina eli birch 13 farah jules ember 42 hana ivan juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035102
qwen/qwen3.7-plus
awkweave-0035103
Show whole lines whose 3rd field is between 11 and 20, inclusive.
$3 >= 11 && $3 <= 20
amber closed 15 indigo birch failed 6 fable grove pending 27 ember cobalt closed 13 birch indigo pending 29 indigo ember paused 30 fable fable ready 1 ember birch pending 21 cobalt
amber closed 15 indigo cobalt closed 13 birch
harbor ready 14 ember juniper pending 24 birch grove pending 23 delta cobalt failed 6 amber harbor closed 1 cobalt grove pending 24 ember
harbor ready 14 ember
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035103-p1
Display entire lines where the third field falls within the inclusive range of 11 to 20.
$3 >= 11 && $3 <= 20
amber closed 15 indigo birch failed 6 fable grove pending 27 ember cobalt closed 13 birch indigo pending 29 indigo ember paused 30 fable fable ready 1 ember birch pending 21 cobalt
amber closed 15 indigo cobalt closed 13 birch
harbor ready 14 ember juniper pending 24 birch grove pending 23 delta cobalt failed 6 amber harbor closed 1 cobalt grove pending 24 ember
harbor ready 14 ember
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035103
qwen/qwen3.7-plus
awkweave-0035104
Print column 3 only for rows where column 1 is exactly closed.
$1 == "closed"{print $3}
closed 77 hana ember failed 112 alice ember pending 107 eli cobalt paused 55 hana birch ready 50 bruno birch failed 67 hana grove paused 66 jules birch failed 13 kim indigo
hana
failed 58 kim delta paused 101 chen fable paused 63 eli amber closed 106 jules ember failed 27 lina ember active 61 alice amber paused 13 alice amber
jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035104-p1
Output only the third column for rows where the first column is exactly 'closed'.
$1 == "closed"{print $3}
closed 77 hana ember failed 112 alice ember pending 107 eli cobalt paused 55 hana birch ready 50 bruno birch failed 67 hana grove paused 66 jules birch failed 13 kim indigo
hana
failed 58 kim delta paused 101 chen fable paused 63 eli amber closed 106 jules ember failed 27 lina ember active 61 alice amber paused 13 alice amber
jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035104
qwen/qwen3.7-plus
awkweave-0035105
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
ERROR 77 juniper ERROR 113 delta WARN 52 ember WARN 5 ember INFO 117 delta WARN 46 birch
INFO 117 delta
INFO 56 juniper DEBUG 44 cobalt WARN 116 cobalt DEBUG 112 amber DEBUG 53 birch INFO 16 harbor
INFO 56 juniper INFO 16 harbor
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035105-p1
Print all fields from lines where the first field starts with 'INFO'.
$1 ~ /^INFO/
ERROR 77 juniper ERROR 113 delta WARN 52 ember WARN 5 ember INFO 117 delta WARN 46 birch
INFO 117 delta
INFO 56 juniper DEBUG 44 cobalt WARN 116 cobalt DEBUG 112 amber DEBUG 53 birch INFO 16 harbor
INFO 56 juniper INFO 16 harbor
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035105
qwen/qwen3.7-plus
awkweave-0035106
Print every line except those containing the exact text amber.
$0 !~ /amber/
delta 50 ready harbor 117 active birch 119 active delta 88 pending juniper 73 closed ember 1 ready delta 77 closed grove 12 active juniper 105 closed cobalt 64 paused amber 999 active
delta 50 ready harbor 117 active birch 119 active delta 88 pending juniper 73 closed ember 1 ready delta 77 closed grove 12 active juniper 105 closed cobalt 64 paused
grove 105 closed juniper 64 ready juniper 69 failed harbor 67 paused delta 50 pending ember 106 closed delta 72 pending grove 3 failed amber 999 active
grove 105 closed juniper 64 ready juniper 69 failed harbor 67 paused delta 50 pending ember 106 closed delta 72 pending grove 3 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035106-p1
Display all lines that do not contain the exact string amber.
$0 !~ /amber/
delta 50 ready harbor 117 active birch 119 active delta 88 pending juniper 73 closed ember 1 ready delta 77 closed grove 12 active juniper 105 closed cobalt 64 paused amber 999 active
delta 50 ready harbor 117 active birch 119 active delta 88 pending juniper 73 closed ember 1 ready delta 77 closed grove 12 active juniper 105 closed cobalt 64 paused
grove 105 closed juniper 64 ready juniper 69 failed harbor 67 paused delta 50 pending ember 106 closed delta 72 pending grove 3 failed amber 999 active
grove 105 closed juniper 64 ready juniper 69 failed harbor 67 paused delta 50 pending ember 106 closed delta 72 pending grove 3 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035106
qwen/qwen3.7-plus
awkweave-0035107
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
kim indigo 77 lina amber 71 alice birch 7 farah fable 63 bruno ember 52 lina juniper 83 chen ember 108 ivan grove 4 lina cobalt 111 jules fable 114
alice birch 7 farah fable 63 bruno ember 52 lina juniper 83
bruno delta 13 kim grove 3 bruno birch 109 alice fable 78 ivan indigo 72 eli amber 93 hana amber 65
bruno birch 109 alice fable 78 ivan indigo 72 eli amber 93
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035107-p1
Output lines 3 to 6, inclusive of both ends.
NR >= 3 && NR <= 6
kim indigo 77 lina amber 71 alice birch 7 farah fable 63 bruno ember 52 lina juniper 83 chen ember 108 ivan grove 4 lina cobalt 111 jules fable 114
alice birch 7 farah fable 63 bruno ember 52 lina juniper 83
bruno delta 13 kim grove 3 bruno birch 109 alice fable 78 ivan indigo 72 eli amber 93 hana amber 65
bruno birch 109 alice fable 78 ivan indigo 72 eli amber 93
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035107
qwen/qwen3.7-plus
awkweave-0035108
Output only the first 2 records.
NR <= 2
gus 40 cobalt dina 87 cobalt dina 72 delta dina 120 cobalt bruno 91 delta bruno 34 grove alice 58 harbor ivan 70 grove kim 90 harbor eli 99 juniper
gus 40 cobalt dina 87 cobalt
bruno 80 fable chen 62 harbor dina 23 grove hana 56 amber gus 65 grove chen 5 indigo dina 73 birch dina 12 birch chen 80 delta
bruno 80 fable chen 62 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035108-p1
Show only the initial 2 records.
NR <= 2
gus 40 cobalt dina 87 cobalt dina 72 delta dina 120 cobalt bruno 91 delta bruno 34 grove alice 58 harbor ivan 70 grove kim 90 harbor eli 99 juniper
gus 40 cobalt dina 87 cobalt
bruno 80 fable chen 62 harbor dina 23 grove hana 56 amber gus 65 grove chen 5 indigo dina 73 birch dina 12 birch chen 80 delta
bruno 80 fable chen 62 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035108
qwen/qwen3.7-plus
awkweave-0035109
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 77 harbor dina 59 grove bruno 108 cobalt chen 90 cobalt kim 65 fable bruno 95 cobalt
dina 59 grove bruno 108 cobalt chen 90 cobalt kim 65 fable bruno 95 cobalt
lina 50 cobalt farah 34 juniper bruno 109 juniper bruno 30 amber bruno 55 delta farah 3 amber gus 101 fable dina 109 harbor
farah 34 juniper bruno 109 juniper bruno 30 amber bruno 55 delta farah 3 amber gus 101 fable dina 109 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035109-p1
Omit the first line and print the rest as-is.
NR > 1
ivan 77 harbor dina 59 grove bruno 108 cobalt chen 90 cobalt kim 65 fable bruno 95 cobalt
dina 59 grove bruno 108 cobalt chen 90 cobalt kim 65 fable bruno 95 cobalt
lina 50 cobalt farah 34 juniper bruno 109 juniper bruno 30 amber bruno 55 delta farah 3 amber gus 101 fable dina 109 harbor
farah 34 juniper bruno 109 juniper bruno 30 amber bruno 55 delta farah 3 amber gus 101 fable dina 109 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035109
qwen/qwen3.7-plus
awkweave-0035110
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
gus active 20 kim failed 57 ivan ready 105 gus paused 63 alice paused 30 farah pending 97 dina active 2 chen pending 77
1
bruno paused 113 bruno closed 85 farah ready 113 kim pending 61 hana closed 112 alice failed 8 jules failed 108 hana ready 93 eli pending 68
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035110-p1
Count records with ready in column 2; output 0 if none exist.
$2 == "ready"{n++}END{print n+0}
gus active 20 kim failed 57 ivan ready 105 gus paused 63 alice paused 30 farah pending 97 dina active 2 chen pending 77
1
bruno paused 113 bruno closed 85 farah ready 113 kim pending 61 hana closed 112 alice failed 8 jules failed 108 hana ready 93 eli pending 68
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035110
qwen/qwen3.7-plus
awkweave-0035111
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ember 12 eli indigo 27 lina juniper 23 lina indigo 10 hana birch 19 dina indigo 25 eli ember 28 lina
144
ember 15 eli delta 30 eli grove 9 lina amber 6 hana harbor 3 eli cobalt 22 kim ember 14 eli grove 29 chen
128
sum_field
1
train
original-grammar
CC-BY-4.0
null
null