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-0015550-p1
Identify duplicate values in the first column and print each repeated value with its frequency, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta birch 61 alpha delta 118 gamma juniper 18 beta cobalt 32 delta juniper 72 gamma birch 24 delta fable 25 delta grove 39 delta cobalt 9
beta 2 gamma 2 delta 4
gamma harbor 30 alpha fable 0 beta grove 36 alpha birch 6 beta juniper 119 delta grove 79
alpha 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015550
qwen/qwen3.7-plus
awkweave-0015551
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region score display_name record_id r001 eli 7 paused r002 gus 28 pending r003 bruno 3 ready r004 jules 28 closed r005 hana 17 ready r006 gus 13 failed r007 eli 10 pending r008 hana 25 pending r009 hana 24 failed
eli gus bruno jules hana gus eli hana hana
region score display_name record_id r001 chen 28 failed r002 jules 6 ready r003 dina 2 pending r004 kim 27 ready r005 kim 9 closed r006 dina 7 ready
chen jules dina kim kim dina
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015551-p1
Treating the initial row as a header, output the values from the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region score display_name record_id r001 eli 7 paused r002 gus 28 pending r003 bruno 3 ready r004 jules 28 closed r005 hana 17 ready r006 gus 13 failed r007 eli 10 pending r008 hana 25 pending r009 hana 24 failed
eli gus bruno jules hana gus eli hana hana
region score display_name record_id r001 chen 28 failed r002 jules 6 ready r003 dina 2 pending r004 kim 27 ready r005 kim 9 closed r006 dina 7 ready
chen jules dina kim kim dina
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015551
qwen/qwen3.7-plus
awkweave-0015552
The first row is a header. Print display_name for data rows whose score is greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 jules 21 active r002 bruno 6 active r003 bruno 9 closed r004 dina 29 failed r005 jules 21 paused r006 lina 27 ready
jules dina jules lina
record_id display_name score state r001 lina 20 pending r002 kim 13 ready r003 eli 11 active r004 farah 7 ready r005 ivan 24 pending r006 gus 28 active r007 farah 21 failed
lina kim eli ivan gus farah
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015552-p1
With the first row as a header, print the display_name field for data rows where the score exceeds 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 jules 21 active r002 bruno 6 active r003 bruno 9 closed r004 dina 29 failed r005 jules 21 paused r006 lina 27 ready
jules dina jules lina
record_id display_name score state r001 lina 20 pending r002 kim 13 ready r003 eli 11 active r004 farah 7 ready r005 ivan 24 pending r006 gus 28 active r007 farah 21 failed
lina kim eli ivan gus farah
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015552
qwen/qwen3.7-plus
awkweave-0015553
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
gus 9 paused kim 18 pending alice 17 paused farah 3 paused lina 15 closed bruno 3 pending lina 25 pending hana 19 closed
gus kim alice farah lina bruno lina hana
lina 15 paused farah 15 ready ivan 10 closed ivan 11 closed bruno 7 closed kim 11 failed alice 26 pending
lina farah ivan ivan bruno kim alice
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015553-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
gus 9 paused kim 18 pending alice 17 paused farah 3 paused lina 15 closed bruno 3 pending lina 25 pending hana 19 closed
gus kim alice farah lina bruno lina hana
lina 15 paused farah 15 ready ivan 10 closed ivan 11 closed bruno 7 closed kim 11 failed alice 26 pending
lina farah ivan ivan bruno kim alice
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015553
qwen/qwen3.7-plus
awkweave-0015554
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
farah,26,pending eli,23,ready jules,2,pending jules,5,paused jules,28,closed chen,26,ready kim,22,pending kim,20,active ivan,20,ready chen,30,paused
farah eli jules chen kim kim ivan chen
alice,2,pending dina,8,failed gus,6,active hana,20,active farah,2,closed bruno,20,pending
hana bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015554-p1
Output the first field from comma-separated input (without quoted commas) whenever the second field is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
farah,26,pending eli,23,ready jules,2,pending jules,5,paused jules,28,closed chen,26,ready kim,22,pending kim,20,active ivan,20,ready chen,30,paused
farah eli jules chen kim kim ivan chen
alice,2,pending dina,8,failed gus,6,active hana,20,active farah,2,closed bruno,20,pending
hana bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015554
qwen/qwen3.7-plus
awkweave-0015555
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen birch 10 dina grove 33 hana juniper 102 farah delta 80 lina harbor 71 gus juniper 4 lina fable 107 lina birch 16 eli delta 47 eli cobalt 41
chen birch 10 dina grove 33 hana juniper 102 farah delta 80 lina harbor 71 gus juniper 4 lina fable 107 lina birch 16 eli delta 47 eli cobalt 41
jules fable 13 lina ember 71 ivan delta 21 eli juniper 80 ivan birch 86 gus birch 13
jules fable 13 lina ember 71 ivan delta 21 eli juniper 80 ivan birch 86 gus birch 13
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015555-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen birch 10 dina grove 33 hana juniper 102 farah delta 80 lina harbor 71 gus juniper 4 lina fable 107 lina birch 16 eli delta 47 eli cobalt 41
chen birch 10 dina grove 33 hana juniper 102 farah delta 80 lina harbor 71 gus juniper 4 lina fable 107 lina birch 16 eli delta 47 eli cobalt 41
jules fable 13 lina ember 71 ivan delta 21 eli juniper 80 ivan birch 86 gus birch 13
jules fable 13 lina ember 71 ivan delta 21 eli juniper 80 ivan birch 86 gus birch 13
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015555
qwen/qwen3.7-plus
awkweave-0015556
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan fable 64 closed ivan ember 97 pending jules ember 41 ready ivan amber 22 failed alice delta 111 paused lina indigo 2 closed ivan amber 64 pending bruno birch 10 ready farah cobalt 38 failed
alice delta 111 paused
ivan cobalt 34 closed chen juniper 42 paused lina harbor 21 closed kim fable 99 pending gus harbor 0 failed hana ember 47 paused eli delta 10 pending jules juniper 84 pending
jules juniper 84 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015556-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
ivan fable 64 closed ivan ember 97 pending jules ember 41 ready ivan amber 22 failed alice delta 111 paused lina indigo 2 closed ivan amber 64 pending bruno birch 10 ready farah cobalt 38 failed
alice delta 111 paused
ivan cobalt 34 closed chen juniper 42 paused lina harbor 21 closed kim fable 99 pending gus harbor 0 failed hana ember 47 paused eli delta 10 pending jules juniper 84 pending
jules juniper 84 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015556
qwen/qwen3.7-plus
awkweave-0015557
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
jules 102 alice 115 eli 64 gus 16 kim 57 alice 112 bruno 57 dina 83
jules 102 eli 64 kim 57 bruno 57
bruno 94 ivan 67 jules 49 lina 106 kim 30 eli 15
bruno 94 jules 49 kim 30
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015557-p1
Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
jules 102 alice 115 eli 64 gus 16 kim 57 alice 112 bruno 57 dina 83
jules 102 eli 64 kim 57 bruno 57
bruno 94 ivan 67 jules 49 lina 106 kim 30 eli 15
bruno 94 jules 49 kim 30
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015557
qwen/qwen3.7-plus
awkweave-0015558
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma cobalt 40 alpha juniper 5 alpha cobalt 42 gamma cobalt 52 beta harbor 12 gamma indigo 96 gamma ember 7 alpha cobalt 118 beta fable 70
6
gamma delta 52 beta juniper 6 beta delta 39 alpha juniper 42 gamma ember 13 beta juniper 95 gamma amber 66 delta ember 45
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015558-p1
Calculate the number of unique values present in the second column and output only that total count.
{if(!seen[$2]++)n++}END{print n+0}
gamma cobalt 40 alpha juniper 5 alpha cobalt 42 gamma cobalt 52 beta harbor 12 gamma indigo 96 gamma ember 7 alpha cobalt 118 beta fable 70
6
gamma delta 52 beta juniper 6 beta delta 39 alpha juniper 42 gamma ember 13 beta juniper 95 gamma amber 66 delta ember 45
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015558
qwen/qwen3.7-plus
awkweave-0015559
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}
chen 11 0 bruno 19 26 hana 29 5 farah 24 7 gus 24 6 farah 22 27 gus 9 23 jules 28 17 lina 14 6
bruno 0.73 hana 5.80 farah 3.43 gus 4.00 farah 0.81 gus 0.39 jules 1.65 lina 2.33
farah 19 0 lina 21 25 gus 1 28 ivan 10 2 lina 22 17 dina 7 24 chen 16 15 farah 17 1 eli 22 28 ivan 28 1
lina 0.84 gus 0.04 ivan 5.00 lina 1.29 dina 0.29 chen 1.07 farah 17.00 eli 0.79 ivan 28.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015559-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}
chen 11 0 bruno 19 26 hana 29 5 farah 24 7 gus 24 6 farah 22 27 gus 9 23 jules 28 17 lina 14 6
bruno 0.73 hana 5.80 farah 3.43 gus 4.00 farah 0.81 gus 0.39 jules 1.65 lina 2.33
farah 19 0 lina 21 25 gus 1 28 ivan 10 2 lina 22 17 dina 7 24 chen 16 15 farah 17 1 eli 22 28 ivan 28 1
lina 0.84 gus 0.04 ivan 5.00 lina 1.29 dina 0.29 chen 1.07 farah 17.00 eli 0.79 ivan 28.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015559
qwen/qwen3.7-plus
awkweave-0015560
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus cobalt 12 bruno cobalt 11 ivan cobalt 17 kim ember 11 bruno birch 15 jules harbor 28 alice grove 18 eli juniper 13
jules harbor 28 alice grove 18 ivan cobalt 17
jules grove 5 jules fable 25 farah indigo 22 kim harbor 25 eli harbor 14 gus ember 13 alice indigo 3 ivan birch 19 gus grove 22
jules fable 25 kim harbor 25 farah indigo 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015560-p1
Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus cobalt 12 bruno cobalt 11 ivan cobalt 17 kim ember 11 bruno birch 15 jules harbor 28 alice grove 18 eli juniper 13
jules harbor 28 alice grove 18 ivan cobalt 17
jules grove 5 jules fable 25 farah indigo 22 kim harbor 25 eli harbor 14 gus ember 13 alice indigo 3 ivan birch 19 gus grove 22
jules fable 25 kim harbor 25 farah indigo 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015560
qwen/qwen3.7-plus
awkweave-0015561
Print column 3 followed by column 1 for every record.
{print $3, $1}
juniper ready ivan 33 fable paused lina 20 cobalt failed gus 102 delta paused lina 89 delta active bruno 25 ember paused gus 25 delta ready dina 76
ivan juniper lina fable gus cobalt lina delta bruno delta gus ember dina delta
delta active dina 100 juniper closed lina 89 indigo closed gus 26 grove failed ivan 21 harbor active ivan 105 ember paused dina 2 birch ready gus 76 ember pending kim 100 indigo active alice 120 grove paused bruno 94
dina delta lina juniper gus indigo ivan grove ivan harbor dina ember gus birch kim ember alice indigo bruno grove
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015561-p1
For every record, output the third column followed by the first column.
{print $3, $1}
juniper ready ivan 33 fable paused lina 20 cobalt failed gus 102 delta paused lina 89 delta active bruno 25 ember paused gus 25 delta ready dina 76
ivan juniper lina fable gus cobalt lina delta bruno delta gus ember dina delta
delta active dina 100 juniper closed lina 89 indigo closed gus 26 grove failed ivan 21 harbor active ivan 105 ember paused dina 2 birch ready gus 76 ember pending kim 100 indigo active alice 120 grove paused bruno 94
dina delta lina juniper gus indigo ivan grove ivan harbor dina ember gus birch kim ember alice indigo bruno grove
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015561
qwen/qwen3.7-plus
awkweave-0015562
Print the last field of every input line.
{print $NF}
71 failed ivan 36 20 chen 106 50 pending gus 67 82 hana 54 64 ready alice 43 20 hana 58 5 ready kim 35 3 bruno 23 109 ready dina 15 7 chen 0 88 failed kim 38 67 eli 22 24 failed ivan 30 97 bruno 90 3 paused farah 31 1 jules 63 84 active dina 34 60 eli 78
106 54 58 23 0 22 90 63 78
40 active alice 66 119 lina 65 81 active ivan 10 46 bruno 21 64 pending kim 94 97 ivan 25 62 ready eli 86 26 farah 5 51 pending ivan 23 22 bruno 81 53 active jules 115 117 chen 41 51 paused ivan 69 4 hana 107 61 pending bruno 56 0 alice 28
65 21 25 5 81 41 107 28
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015562-p1
Output the final field from each line of input.
{print $NF}
71 failed ivan 36 20 chen 106 50 pending gus 67 82 hana 54 64 ready alice 43 20 hana 58 5 ready kim 35 3 bruno 23 109 ready dina 15 7 chen 0 88 failed kim 38 67 eli 22 24 failed ivan 30 97 bruno 90 3 paused farah 31 1 jules 63 84 active dina 34 60 eli 78
106 54 58 23 0 22 90 63 78
40 active alice 66 119 lina 65 81 active ivan 10 46 bruno 21 64 pending kim 94 97 ivan 25 62 ready eli 86 26 farah 5 51 pending ivan 23 22 bruno 81 53 active jules 115 117 chen 41 51 paused ivan 69 4 hana 107 61 pending bruno 56 0 alice 28
65 21 25 5 81 41 107 28
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015562
qwen/qwen3.7-plus
awkweave-0015563
Print the complete records where column 1 is at most 61.
$1 <= 61
64 failed gus closed 107 ready hana closed 89 active dina active 51 pending alice active 74 ready jules ready 49 ready hana paused 56 closed ivan pending 57 pending dina paused
51 pending alice active 49 ready hana paused 56 closed ivan pending 57 pending dina paused
109 pending lina active 6 paused hana active 83 pending lina paused 78 active alice failed 1 ready ivan pending 62 ready lina paused
6 paused hana active 1 ready ivan pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015563-p1
Output the full records for which the value in the first column is less than or equal to 61.
$1 <= 61
64 failed gus closed 107 ready hana closed 89 active dina active 51 pending alice active 74 ready jules ready 49 ready hana paused 56 closed ivan pending 57 pending dina paused
51 pending alice active 49 ready hana paused 56 closed ivan pending 57 pending dina paused
109 pending lina active 6 paused hana active 83 pending lina paused 78 active alice failed 1 ready ivan pending 62 ready lina paused
6 paused hana active 1 ready ivan pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015563
qwen/qwen3.7-plus
awkweave-0015564
Show whole lines whose 1st field is between 7 and 19, inclusive.
$1 >= 7 && $1 <= 19
13 ivan paused paused 7 chen ready closed 12 ivan active paused 9 chen failed closed 1 hana ready paused 13 kim ready active 11 lina ready ready 26 chen ready pending 18 kim closed failed
13 ivan paused paused 7 chen ready closed 12 ivan active paused 9 chen failed closed 13 kim ready active 11 lina ready ready 18 kim closed failed
4 kim pending closed 23 farah closed pending 9 lina ready pending 14 ivan paused paused 5 eli paused closed 29 chen ready closed
9 lina ready pending 14 ivan paused paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015564-p1
Display entire lines where the first field falls within the inclusive range of 7 to 19.
$1 >= 7 && $1 <= 19
13 ivan paused paused 7 chen ready closed 12 ivan active paused 9 chen failed closed 1 hana ready paused 13 kim ready active 11 lina ready ready 26 chen ready pending 18 kim closed failed
13 ivan paused paused 7 chen ready closed 12 ivan active paused 9 chen failed closed 13 kim ready active 11 lina ready ready 18 kim closed failed
4 kim pending closed 23 farah closed pending 9 lina ready pending 14 ivan paused paused 5 eli paused closed 29 chen ready closed
9 lina ready pending 14 ivan paused paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015564
qwen/qwen3.7-plus
awkweave-0015565
Print column 1 only for rows where column 3 is exactly pending.
$3 == "pending"{print $1}
eli 27 active birch hana 113 ready indigo alice 72 paused delta gus 14 paused birch dina 60 closed harbor bruno 66 pending birch
bruno
gus 88 ready amber ivan 57 pending amber alice 22 active fable lina 22 paused grove lina 28 paused delta lina 45 paused fable
ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015565-p1
Output only the first column for rows where the third column contains the exact string 'pending'.
$3 == "pending"{print $1}
eli 27 active birch hana 113 ready indigo alice 72 paused delta gus 14 paused birch dina 60 closed harbor bruno 66 pending birch
bruno
gus 88 ready amber ivan 57 pending amber alice 22 active fable lina 22 paused grove lina 28 paused delta lina 45 paused fable
ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015565
qwen/qwen3.7-plus
awkweave-0015566
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
62 WARN fable 90 DEBUG delta 44 WARN ember 56 DEBUG fable 56 ERROR harbor 56 ERROR indigo 80 DEBUG fable 71 INFO harbor
56 ERROR harbor 56 ERROR indigo
103 WARN juniper 75 DEBUG harbor 42 ERROR indigo 99 ERROR indigo 102 INFO harbor 36 WARN harbor 77 INFO grove 19 DEBUG indigo 85 DEBUG fable
42 ERROR indigo 99 ERROR indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015566-p1
Output every field from rows where the second field starts with ERROR.
$2 ~ /^ERROR/
62 WARN fable 90 DEBUG delta 44 WARN ember 56 DEBUG fable 56 ERROR harbor 56 ERROR indigo 80 DEBUG fable 71 INFO harbor
56 ERROR harbor 56 ERROR indigo
103 WARN juniper 75 DEBUG harbor 42 ERROR indigo 99 ERROR indigo 102 INFO harbor 36 WARN harbor 77 INFO grove 19 DEBUG indigo 85 DEBUG fable
42 ERROR indigo 99 ERROR indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015566
qwen/qwen3.7-plus
awkweave-0015567
Print every line except those containing the exact text ember.
$0 !~ /ember/
ember 87 paused amber 113 active birch 77 active cobalt 49 ready juniper 68 closed indigo 91 closed juniper 51 failed ember 999 active
amber 113 active birch 77 active cobalt 49 ready juniper 68 closed indigo 91 closed juniper 51 failed
amber 42 paused birch 69 pending grove 52 closed delta 111 pending fable 66 failed amber 24 failed juniper 41 pending ember 999 active
amber 42 paused birch 69 pending grove 52 closed delta 111 pending fable 66 failed amber 24 failed juniper 41 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015567-p1
Display all lines that do not contain the exact string ember.
$0 !~ /ember/
ember 87 paused amber 113 active birch 77 active cobalt 49 ready juniper 68 closed indigo 91 closed juniper 51 failed ember 999 active
amber 113 active birch 77 active cobalt 49 ready juniper 68 closed indigo 91 closed juniper 51 failed
amber 42 paused birch 69 pending grove 52 closed delta 111 pending fable 66 failed amber 24 failed juniper 41 pending ember 999 active
amber 42 paused birch 69 pending grove 52 closed delta 111 pending fable 66 failed amber 24 failed juniper 41 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015567
qwen/qwen3.7-plus
awkweave-0015568
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
ivan indigo 90 chen cobalt 103 bruno indigo 77 dina delta 99 farah juniper 26 ivan amber 72 gus grove 12 gus indigo 39 ivan juniper 23
dina delta 99 farah juniper 26 ivan amber 72 gus grove 12
hana delta 78 dina fable 51 gus cobalt 33 dina delta 12 dina juniper 27 lina juniper 38 jules juniper 113
dina delta 12 dina juniper 27 lina juniper 38 jules juniper 113
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015568-p1
Show lines 4 to 7, inclusive of both ends.
NR >= 4 && NR <= 7
ivan indigo 90 chen cobalt 103 bruno indigo 77 dina delta 99 farah juniper 26 ivan amber 72 gus grove 12 gus indigo 39 ivan juniper 23
dina delta 99 farah juniper 26 ivan amber 72 gus grove 12
hana delta 78 dina fable 51 gus cobalt 33 dina delta 12 dina juniper 27 lina juniper 38 jules juniper 113
dina delta 12 dina juniper 27 lina juniper 38 jules juniper 113
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015568
qwen/qwen3.7-plus
awkweave-0015569
Output only the first 4 records.
NR <= 4
farah 107 harbor hana 18 fable bruno 79 birch bruno 120 cobalt chen 2 cobalt bruno 45 delta chen 3 delta jules 74 fable hana 30 fable dina 89 harbor
farah 107 harbor hana 18 fable bruno 79 birch bruno 120 cobalt
dina 78 amber chen 36 cobalt chen 106 amber farah 47 ember gus 102 grove alice 26 fable jules 109 juniper
dina 78 amber chen 36 cobalt chen 106 amber farah 47 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015569-p1
Print only the initial 4 records.
NR <= 4
farah 107 harbor hana 18 fable bruno 79 birch bruno 120 cobalt chen 2 cobalt bruno 45 delta chen 3 delta jules 74 fable hana 30 fable dina 89 harbor
farah 107 harbor hana 18 fable bruno 79 birch bruno 120 cobalt
dina 78 amber chen 36 cobalt chen 106 amber farah 47 ember gus 102 grove alice 26 fable jules 109 juniper
dina 78 amber chen 36 cobalt chen 106 amber farah 47 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015569
qwen/qwen3.7-plus
awkweave-0015570
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 66 harbor jules 101 amber gus 89 ember kim 92 cobalt dina 68 amber chen 75 amber jules 35 grove gus 88 harbor
jules 101 amber gus 89 ember kim 92 cobalt dina 68 amber chen 75 amber jules 35 grove gus 88 harbor
bruno 67 birch ivan 103 fable ivan 79 delta kim 76 harbor jules 109 amber hana 14 delta jules 8 indigo hana 85 birch kim 16 juniper
ivan 103 fable ivan 79 delta kim 76 harbor jules 109 amber hana 14 delta jules 8 indigo hana 85 birch kim 16 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015570-p1
Omit the first line and output the rest of the lines as they are.
NR > 1
ivan 66 harbor jules 101 amber gus 89 ember kim 92 cobalt dina 68 amber chen 75 amber jules 35 grove gus 88 harbor
jules 101 amber gus 89 ember kim 92 cobalt dina 68 amber chen 75 amber jules 35 grove gus 88 harbor
bruno 67 birch ivan 103 fable ivan 79 delta kim 76 harbor jules 109 amber hana 14 delta jules 8 indigo hana 85 birch kim 16 juniper
ivan 103 fable ivan 79 delta kim 76 harbor jules 109 amber hana 14 delta jules 8 indigo hana 85 birch kim 16 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015570
qwen/qwen3.7-plus
awkweave-0015571
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
jules paused 63 alice failed 50 bruno pending 64 alice ready 114 gus paused 103 bruno paused 119
0
bruno ready 28 farah pending 69 eli paused 6 alice active 48 gus closed 110 dina paused 29 eli closed 44
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015571-p1
Tally the records with 'closed' in column 2 and print 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
jules paused 63 alice failed 50 bruno pending 64 alice ready 114 gus paused 103 bruno paused 119
0
bruno ready 28 farah pending 69 eli paused 6 alice active 48 gus closed 110 dina paused 29 eli closed 44
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015571
qwen/qwen3.7-plus
awkweave-0015572
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
dina grove 25 bruno cobalt 8 farah amber 30 chen fable 11 eli ember 9 ivan delta 26 alice harbor 5 ivan birch 19
133
gus harbor 11 gus ember 6 lina indigo 12 chen cobalt 1 alice indigo 1 gus delta 27 bruno harbor 12
70
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015572-p1
Compute and display the total sum of integer values in column 3.
{s+=$3}END{print s+0}
dina grove 25 bruno cobalt 8 farah amber 30 chen fable 11 eli ember 9 ivan delta 26 alice harbor 5 ivan birch 19
133
gus harbor 11 gus ember 6 lina indigo 12 chen cobalt 1 alice indigo 1 gus delta 27 bruno harbor 12
70
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015572
qwen/qwen3.7-plus
awkweave-0015573
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
kim grove 1 dina cobalt 27 farah fable 15 farah fable 25 hana birch 8 kim cobalt 12 bruno fable 23
15.86
hana fable 6 chen birch 14 bruno delta 1 kim cobalt 13 jules grove 30 farah cobalt 19 hana fable 30 farah delta 6
14.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015573-p1
Print the average of column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
kim grove 1 dina cobalt 27 farah fable 15 farah fable 25 hana birch 8 kim cobalt 12 bruno fable 23
15.86
hana fable 6 chen birch 14 bruno delta 1 kim cobalt 13 jules grove 30 farah cobalt 19 hana fable 30 farah delta 6
14.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015573
qwen/qwen3.7-plus
awkweave-0015574
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 21 cobalt lina 13 fable hana 24 harbor bruno 18 delta kim 1 cobalt alice 9 cobalt lina 20 ember dina 1 grove
1
lina 17 grove dina 29 ember jules 9 cobalt gus 1 indigo dina 18 indigo eli 10 ember hana 9 amber kim 3 birch
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015574-p1
Identify and output the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 21 cobalt lina 13 fable hana 24 harbor bruno 18 delta kim 1 cobalt alice 9 cobalt lina 20 ember dina 1 grove
1
lina 17 grove dina 29 ember jules 9 cobalt gus 1 indigo dina 18 indigo eli 10 ember hana 9 amber kim 3 birch
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015574
qwen/qwen3.7-plus
awkweave-0015575
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
birch dina 3 birch kim 16 indigo ivan 6 birch ivan 28 grove dina 4 birch ivan 14
28
indigo bruno 2 fable lina 19 ember chen 26 amber ivan 21 birch jules 17 juniper jules 28 harbor ivan 2 cobalt farah 20 amber alice 3 juniper eli 9
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015575-p1
Identify and output the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
birch dina 3 birch kim 16 indigo ivan 6 birch ivan 28 grove dina 4 birch ivan 14
28
indigo bruno 2 fable lina 19 ember chen 26 amber ivan 21 birch jules 17 juniper jules 28 harbor ivan 2 cobalt farah 20 amber alice 3 juniper eli 9
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015575
qwen/qwen3.7-plus
awkweave-0015576
Count all input records and print the total.
END{print NR}
eli 21 kim 76 eli 106 gus 2 lina 103 kim 54 bruno 56 alice 27 hana 84 ivan 10
10
dina 61 bruno 113 bruno 23 hana 18 hana 46 kim 93 farah 5 hana 24
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015576-p1
Count the total number of input records and print the result.
END{print NR}
eli 21 kim 76 eli 106 gus 2 lina 103 kim 54 bruno 56 alice 27 hana 84 ivan 10
10
dina 61 bruno 113 bruno 23 hana 18 hana 46 kim 93 farah 5 hana 24
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015576
qwen/qwen3.7-plus
awkweave-0015577
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules amber 108 bruno cobalt 110 chen juniper 38 jules amber 8 bruno cobalt 110 bruno grove 70 dina fable 83 alice ember 61
jules amber 108 bruno cobalt 110 chen juniper 38 jules amber 8 bruno grove 70 dina fable 83 alice ember 61
gus juniper 31 ivan birch 26 bruno delta 5 chen ember 118 ivan harbor 55 alice delta 51 gus juniper 31
gus juniper 31 ivan birch 26 bruno delta 5 chen ember 118 ivan harbor 55 alice delta 51
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015577-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence.
!seen[$0]++
jules amber 108 bruno cobalt 110 chen juniper 38 jules amber 8 bruno cobalt 110 bruno grove 70 dina fable 83 alice ember 61
jules amber 108 bruno cobalt 110 chen juniper 38 jules amber 8 bruno grove 70 dina fable 83 alice ember 61
gus juniper 31 ivan birch 26 bruno delta 5 chen ember 118 ivan harbor 55 alice delta 51 gus juniper 31
gus juniper 31 ivan birch 26 bruno delta 5 chen ember 118 ivan harbor 55 alice delta 51
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015577
qwen/qwen3.7-plus
awkweave-0015578
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
bruno indigo 29 alice ember 64 jules harbor 0 lina indigo 14 chen ember 31 eli cobalt 120
bruno indigo 29 alice ember 64 jules harbor 0 eli cobalt 120
lina amber 62 alice indigo 12 farah cobalt 96 dina fable 108 eli delta 79 kim juniper 23 ivan harbor 4
lina amber 62 alice indigo 12 farah cobalt 96 dina fable 108 eli delta 79 kim juniper 23 ivan harbor 4
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015578-p1
Retain only the first occurrence of each unique value in column 2, maintaining the original input sequence.
!seen[$2]++
bruno indigo 29 alice ember 64 jules harbor 0 lina indigo 14 chen ember 31 eli cobalt 120
bruno indigo 29 alice ember 64 jules harbor 0 eli cobalt 120
lina amber 62 alice indigo 12 farah cobalt 96 dina fable 108 eli delta 79 kim juniper 23 ivan harbor 4
lina amber 62 alice indigo 12 farah cobalt 96 dina fable 108 eli delta 79 kim juniper 23 ivan harbor 4
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015578
qwen/qwen3.7-plus
awkweave-0015579
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 8 cobalt bruno 9 fable bruno 8 fable lina 6 delta eli 30 birch kim 1 delta jules 17 amber jules 5 fable
jules 8 bruno 17 bruno 25 lina 31 eli 61 kim 62 jules 79 jules 84
farah 9 amber jules 20 harbor dina 10 indigo bruno 12 harbor chen 10 juniper farah 24 grove
farah 9 jules 29 dina 39 bruno 51 chen 61 farah 85
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015579-p1
Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter.
{s+=$2;print $1,s}
jules 8 cobalt bruno 9 fable bruno 8 fable lina 6 delta eli 30 birch kim 1 delta jules 17 amber jules 5 fable
jules 8 bruno 17 bruno 25 lina 31 eli 61 kim 62 jules 79 jules 84
farah 9 amber jules 20 harbor dina 10 indigo bruno 12 harbor chen 10 juniper farah 24 grove
farah 9 jules 29 dina 39 bruno 51 chen 61 farah 85
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015579
qwen/qwen3.7-plus
awkweave-0015580
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 19 2 juniper hana 19 27 cobalt dina 13 20 birch ivan 14 6 juniper jules 8 13 delta eli 22 8 amber eli 4 3 harbor gus 22 16 birch jules 25 1 cobalt
ivan 21 hana 46 dina 33 ivan 20 jules 21 eli 30 eli 7 gus 38 jules 26
hana 30 30 indigo ivan 26 10 grove alice 28 12 delta chen 6 5 fable alice 9 5 delta hana 13 1 harbor lina 7 9 fable ivan 5 10 birch bruno 27 9 birch chen 25 14 birch
hana 60 ivan 36 alice 40 chen 11 alice 14 hana 14 lina 16 ivan 15 bruno 36 chen 39
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015580-p1
For each row, display field 1 followed by the total of fields 2 and 3.
{print $1,$2+$3}
ivan 19 2 juniper hana 19 27 cobalt dina 13 20 birch ivan 14 6 juniper jules 8 13 delta eli 22 8 amber eli 4 3 harbor gus 22 16 birch jules 25 1 cobalt
ivan 21 hana 46 dina 33 ivan 20 jules 21 eli 30 eli 7 gus 38 jules 26
hana 30 30 indigo ivan 26 10 grove alice 28 12 delta chen 6 5 fable alice 9 5 delta hana 13 1 harbor lina 7 9 fable ivan 5 10 birch bruno 27 9 birch chen 25 14 birch
hana 60 ivan 36 alice 40 chen 11 alice 14 hana 14 lina 16 ivan 15 bruno 36 chen 39
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015580
qwen/qwen3.7-plus
awkweave-0015581
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
chen 6 eli 7 chen 12 lina 18 bruno 30 eli 8 hana 1 hana 18 farah 2 ivan 17
chen fail eli fail chen fail lina fail bruno pass eli fail hana fail hana fail farah fail ivan fail
ivan 23 alice 4 ivan 3 alice 26 farah 2 eli 7 jules 7 kim 2 chen 2 bruno 20
ivan pass alice fail ivan fail alice pass farah fail eli fail jules fail kim fail chen fail bruno fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015581-p1
Output column 1 and 'pass' if column 2 is greater than or equal to 23; otherwise, output 'fail'.
{print $1,($2>=23?"pass":"fail")}
chen 6 eli 7 chen 12 lina 18 bruno 30 eli 8 hana 1 hana 18 farah 2 ivan 17
chen fail eli fail chen fail lina fail bruno pass eli fail hana fail hana fail farah fail ivan fail
ivan 23 alice 4 ivan 3 alice 26 farah 2 eli 7 jules 7 kim 2 chen 2 bruno 20
ivan pass alice fail ivan fail alice pass farah fail eli fail jules fail kim fail chen fail bruno fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015581
qwen/qwen3.7-plus
awkweave-0015582
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
gus birch 109 lina harbor 9 chen indigo 14 alice birch 45 hana cobalt 68 dina juniper 53 bruno ember 67 eli amber 39 gus indigo 51
GUS LINA CHEN ALICE HANA DINA BRUNO ELI GUS
ivan ember 15 ivan amber 93 chen amber 51 gus harbor 81 farah birch 96 chen juniper 19
IVAN IVAN CHEN GUS FARAH CHEN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015582-p1
Transform column 1 to uppercase and output exclusively that column.
{print toupper($1)}
gus birch 109 lina harbor 9 chen indigo 14 alice birch 45 hana cobalt 68 dina juniper 53 bruno ember 67 eli amber 39 gus indigo 51
GUS LINA CHEN ALICE HANA DINA BRUNO ELI GUS
ivan ember 15 ivan amber 93 chen amber 51 gus harbor 81 farah birch 96 chen juniper 19
IVAN IVAN CHEN GUS FARAH CHEN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015582
qwen/qwen3.7-plus
awkweave-0015583
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
harbor 49 grove 19 harbor 35 birch 113 birch 81 ember 0 juniper 52 amber 93 juniper 56 harbor 114
arb rov arb irc irc mbe uni mbe uni arb
fable 51 delta 51 amber 65 cobalt 49 ember 42 delta 14 fable 94 cobalt 63 amber 65
abl elt mbe oba mbe elt abl oba mbe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015583-p1
Extract and print a substring of 3 characters from column 1, beginning at the second character.
{print substr($1,2,3)}
harbor 49 grove 19 harbor 35 birch 113 birch 81 ember 0 juniper 52 amber 93 juniper 56 harbor 114
arb rov arb irc irc mbe uni mbe uni arb
fable 51 delta 51 amber 65 cobalt 49 ember 42 delta 14 fable 94 cobalt 63 amber 65
abl elt mbe oba mbe elt abl oba mbe
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015583
qwen/qwen3.7-plus
awkweave-0015584
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_indigo 89 grove_harbor 99 birch_fable 102 indigo_harbor 105 ember_amber 111 ember_harbor 27 fable_birch 81
indigo indigo grove harbor birch fable indigo harbor ember amber ember harbor fable birch
fable_birch 102 grove_amber 16 amber_grove 93 harbor_ember 70 fable_harbor 79 birch_cobalt 58 indigo_juniper 76
fable birch grove amber amber grove harbor ember fable harbor birch cobalt indigo juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015584-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
indigo_indigo 89 grove_harbor 99 birch_fable 102 indigo_harbor 105 ember_amber 111 ember_harbor 27 fable_birch 81
indigo indigo grove harbor birch fable indigo harbor ember amber ember harbor fable birch
fable_birch 102 grove_amber 16 amber_grove 93 harbor_ember 70 fable_harbor 79 birch_cobalt 58 indigo_juniper 76
fable birch grove amber amber grove harbor ember fable harbor birch cobalt indigo juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015584
qwen/qwen3.7-plus
awkweave-0015585
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)}
gus fable 8 paused alice cobalt 70 active lina cobalt 94 pending ivan delta 33 ready eli juniper 63 pending chen amber 112 paused
paused 8 fable gus active 70 cobalt alice pending 94 cobalt lina ready 33 delta ivan pending 63 juniper eli paused 112 amber chen
chen grove 34 closed bruno juniper 100 ready ivan delta 105 pending jules birch 96 ready alice indigo 70 closed bruno ember 41 pending kim juniper 31 active
closed 34 grove chen ready 100 juniper bruno pending 105 delta ivan ready 96 birch jules closed 70 indigo alice pending 41 ember bruno active 31 juniper kim
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015585-p1
Invert the sequence of fields for every line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus fable 8 paused alice cobalt 70 active lina cobalt 94 pending ivan delta 33 ready eli juniper 63 pending chen amber 112 paused
paused 8 fable gus active 70 cobalt alice pending 94 cobalt lina ready 33 delta ivan pending 63 juniper eli paused 112 amber chen
chen grove 34 closed bruno juniper 100 ready ivan delta 105 pending jules birch 96 ready alice indigo 70 closed bruno ember 41 pending kim juniper 31 active
closed 34 grove chen ready 100 juniper bruno pending 105 delta ivan ready 96 birch jules closed 70 indigo alice pending 41 ember bruno active 31 juniper kim
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015585
qwen/qwen3.7-plus
awkweave-0015586
Print the number of whitespace-separated fields on each line.
{print NF}
kim birch 120 ready jules amber 85 paused hana amber 2 closed jules harbor 73 active alice fable 100 paused kim indigo 101 closed
4 4 4 4 4 4
jules ember 52 closed jules harbor 59 paused hana indigo 71 active lina ember 55 failed jules ember 33 active hana amber 73 closed lina amber 119 failed
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015586-p1
Output the count of whitespace-delimited fields present on each line.
{print NF}
kim birch 120 ready jules amber 85 paused hana amber 2 closed jules harbor 73 active alice fable 100 paused kim indigo 101 closed
4 4 4 4 4 4
jules ember 52 closed jules harbor 59 paused hana indigo 71 active lina ember 55 failed jules ember 33 active hana amber 73 closed lina amber 119 failed
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015586
qwen/qwen3.7-plus
awkweave-0015587
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
farah alpha 114 chen alpha 29 alice gamma 111 gus gamma 40 chen gamma 82 hana alpha 7 bruno gamma 74 farah alpha 56 chen alpha 0
alpha 5 gamma 4
bruno delta 57 kim beta 91 chen delta 78 eli alpha 49 jules beta 69 chen delta 120
delta 3 beta 2 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015587-p1
Tally the records for each distinct value in column 2 and print the value with its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
farah alpha 114 chen alpha 29 alice gamma 111 gus gamma 40 chen gamma 82 hana alpha 7 bruno gamma 74 farah alpha 56 chen alpha 0
alpha 5 gamma 4
bruno delta 57 kim beta 91 chen delta 78 eli alpha 49 jules beta 69 chen delta 120
delta 3 beta 2 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015587
qwen/qwen3.7-plus
awkweave-0015588
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]]}
lina gamma 15 chen beta 15 kim gamma 3 gus alpha 11 alice delta 22 eli gamma 28 eli gamma 27 hana alpha 9 eli delta 11
gamma 73 beta 15 alpha 20 delta 33
kim delta 23 farah beta 25 bruno gamma 3 hana beta 8 jules beta 17 ivan beta 5 jules gamma 28 dina beta 2 jules gamma 9 eli delta 6
delta 29 beta 57 gamma 40
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015588-p1
Calculate the sum of column 3 for each group defined by column 2, displaying results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
lina gamma 15 chen beta 15 kim gamma 3 gus alpha 11 alice delta 22 eli gamma 28 eli gamma 27 hana alpha 9 eli delta 11
gamma 73 beta 15 alpha 20 delta 33
kim delta 23 farah beta 25 bruno gamma 3 hana beta 8 jules beta 17 ivan beta 5 jules gamma 28 dina beta 2 jules gamma 9 eli delta 6
delta 29 beta 57 gamma 40
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015588
qwen/qwen3.7-plus
awkweave-0015589
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta harbor 43 beta harbor 119 alpha amber 119 delta ember 113 delta cobalt 98 alpha harbor 16 alpha ember 50 beta amber 73
delta 3 beta 2 alpha 3
beta delta 6 beta delta 38 gamma cobalt 48 beta delta 38 delta delta 37 beta delta 84 gamma grove 13 alpha fable 20 alpha cobalt 65
beta 4 gamma 2 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015589-p1
List each duplicate value from column 1 along with its frequency, sorted by the order of first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta harbor 43 beta harbor 119 alpha amber 119 delta ember 113 delta cobalt 98 alpha harbor 16 alpha ember 50 beta amber 73
delta 3 beta 2 alpha 3
beta delta 6 beta delta 38 gamma cobalt 48 beta delta 38 delta delta 37 beta delta 84 gamma grove 13 alpha fable 20 alpha cobalt 65
beta 4 gamma 2 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015589
qwen/qwen3.7-plus
awkweave-0015600
Print column 3 followed by column 1 for every record.
{print $3, $1}
active failed failed 38 ready ivan closed failed paused 90 active ivan ready closed ready 12 ready hana paused active failed 58 active chen pending failed failed 105 failed lina ready paused ready 113 closed chen pending pending ready 5 paused alice ready failed active 8 closed hana
failed active paused closed ready ready failed paused failed pending ready ready ready pending active ready
active pending ready 4 pending kim pending active paused 39 active alice active active active 87 active hana failed ready closed 73 ready chen closed ready pending 28 pending gus failed ready paused 83 ready lina active closed failed 120 closed lina
ready active paused pending active active closed failed pending closed paused failed failed active
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015600-p1
For each record, output the third column followed by the first column.
{print $3, $1}
active failed failed 38 ready ivan closed failed paused 90 active ivan ready closed ready 12 ready hana paused active failed 58 active chen pending failed failed 105 failed lina ready paused ready 113 closed chen pending pending ready 5 paused alice ready failed active 8 closed hana
failed active paused closed ready ready failed paused failed pending ready ready ready pending active ready
active pending ready 4 pending kim pending active paused 39 active alice active active active 87 active hana failed ready closed 73 ready chen closed ready pending 28 pending gus failed ready paused 83 ready lina active closed failed 120 closed lina
ready active paused pending active active closed failed pending closed paused failed failed active
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015600
qwen/qwen3.7-plus
awkweave-0015601
Print the last field of every input line.
{print $NF}
paused failed lina failed active chen active active kim closed pending gus active ready kim closed paused lina paused ready lina paused paused farah active active lina failed active chen
lina chen kim gus kim lina lina farah lina chen
paused pending hana pending closed farah active closed dina ready closed lina ready closed alice pending pending chen ready pending dina closed failed chen
hana farah dina lina alice chen dina chen
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015601-p1
Output the final field from every input line.
{print $NF}
paused failed lina failed active chen active active kim closed pending gus active ready kim closed paused lina paused ready lina paused paused farah active active lina failed active chen
lina chen kim gus kim lina lina farah lina chen
paused pending hana pending closed farah active closed dina ready closed lina ready closed alice pending pending chen ready pending dina closed failed chen
hana farah dina lina alice chen dina chen
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015601
qwen/qwen3.7-plus
awkweave-0015602
Print the complete records where column 1 is less than 59.
$1 < 59
106 closed ready 55 paused paused 57 ready ready 43 ready failed 75 active pending 38 active closed 107 paused active 46 ready ready 65 ready active
55 paused paused 57 ready ready 43 ready failed 38 active closed 46 ready ready
33 ready paused 58 closed closed 13 closed failed 84 failed paused 115 closed failed 11 pending closed
33 ready paused 58 closed closed 13 closed failed 11 pending closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015602-p1
Display full records where the value in the first column is less than 59.
$1 < 59
106 closed ready 55 paused paused 57 ready ready 43 ready failed 75 active pending 38 active closed 107 paused active 46 ready ready 65 ready active
55 paused paused 57 ready ready 43 ready failed 38 active closed 46 ready ready
33 ready paused 58 closed closed 13 closed failed 84 failed paused 115 closed failed 11 pending closed
33 ready paused 58 closed closed 13 closed failed 11 pending closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015602
qwen/qwen3.7-plus
awkweave-0015603
Show whole lines whose 1st field is between 12 and 27, inclusive.
$1 >= 12 && $1 <= 27
18 ember ready failed 20 delta paused failed 28 amber ready failed 3 delta closed paused 16 indigo pending closed 1 amber ready pending 24 amber closed paused 19 amber failed pending 24 cobalt active failed
18 ember ready failed 20 delta paused failed 16 indigo pending closed 24 amber closed paused 19 amber failed pending 24 cobalt active failed
23 juniper pending pending 13 cobalt paused active 9 juniper active closed 19 cobalt active active 23 amber pending failed 21 amber closed failed
23 juniper pending pending 13 cobalt paused active 19 cobalt active active 23 amber pending failed 21 amber closed failed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015603-p1
Show entire lines where the first field falls within the inclusive range of 12 to 27.
$1 >= 12 && $1 <= 27
18 ember ready failed 20 delta paused failed 28 amber ready failed 3 delta closed paused 16 indigo pending closed 1 amber ready pending 24 amber closed paused 19 amber failed pending 24 cobalt active failed
18 ember ready failed 20 delta paused failed 16 indigo pending closed 24 amber closed paused 19 amber failed pending 24 cobalt active failed
23 juniper pending pending 13 cobalt paused active 9 juniper active closed 19 cobalt active active 23 amber pending failed 21 amber closed failed
23 juniper pending pending 13 cobalt paused active 19 cobalt active active 23 amber pending failed 21 amber closed failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015603
qwen/qwen3.7-plus
awkweave-0015604
Print column 3 only for rows where column 4 is exactly paused.
$4 == "paused"{print $3}
54 birch chen ready 9 amber chen active 77 amber ivan ready 36 birch kim paused 53 fable chen active 59 amber kim paused 107 birch kim failed 49 amber ivan failed 104 grove bruno failed 69 grove farah failed
kim kim
24 indigo gus active 59 ember jules ready 0 cobalt lina failed 42 indigo gus failed 51 birch kim closed 29 fable dina active 80 juniper gus closed
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015604-p1
Output only the third column for rows where the fourth column is exactly 'paused'.
$4 == "paused"{print $3}
54 birch chen ready 9 amber chen active 77 amber ivan ready 36 birch kim paused 53 fable chen active 59 amber kim paused 107 birch kim failed 49 amber ivan failed 104 grove bruno failed 69 grove farah failed
kim kim
24 indigo gus active 59 ember jules ready 0 cobalt lina failed 42 indigo gus failed 51 birch kim closed 29 fable dina active 80 juniper gus closed
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015604
qwen/qwen3.7-plus
awkweave-0015605
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
114 ember ERROR 10 indigo DEBUG 67 grove WARN 116 ember ERROR 12 harbor DEBUG 37 grove DEBUG 98 ember DEBUG 68 birch INFO 19 birch DEBUG
114 ember ERROR 116 ember ERROR
108 juniper INFO 52 fable WARN 34 birch ERROR 86 amber WARN 102 birch ERROR 98 fable INFO 42 birch INFO
34 birch ERROR 102 birch ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015605-p1
Print all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
114 ember ERROR 10 indigo DEBUG 67 grove WARN 116 ember ERROR 12 harbor DEBUG 37 grove DEBUG 98 ember DEBUG 68 birch INFO 19 birch DEBUG
114 ember ERROR 116 ember ERROR
108 juniper INFO 52 fable WARN 34 birch ERROR 86 amber WARN 102 birch ERROR 98 fable INFO 42 birch INFO
34 birch ERROR 102 birch ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015605
qwen/qwen3.7-plus
awkweave-0015606
Print every line except those containing the exact text ember.
$0 !~ /ember/
cobalt 103 active cobalt 52 paused ember 53 failed indigo 46 active juniper 91 failed fable 45 closed grove 14 ready juniper 92 paused fable 49 active harbor 50 closed ember 999 active
cobalt 103 active cobalt 52 paused indigo 46 active juniper 91 failed fable 45 closed grove 14 ready juniper 92 paused fable 49 active harbor 50 closed
indigo 21 pending fable 57 closed amber 3 ready juniper 35 ready amber 73 pending cobalt 38 closed juniper 37 ready birch 91 pending cobalt 98 active ember 999 active
indigo 21 pending fable 57 closed amber 3 ready juniper 35 ready amber 73 pending cobalt 38 closed juniper 37 ready birch 91 pending cobalt 98 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015606-p1
Output every line that does not contain the exact string 'ember'.
$0 !~ /ember/
cobalt 103 active cobalt 52 paused ember 53 failed indigo 46 active juniper 91 failed fable 45 closed grove 14 ready juniper 92 paused fable 49 active harbor 50 closed ember 999 active
cobalt 103 active cobalt 52 paused indigo 46 active juniper 91 failed fable 45 closed grove 14 ready juniper 92 paused fable 49 active harbor 50 closed
indigo 21 pending fable 57 closed amber 3 ready juniper 35 ready amber 73 pending cobalt 38 closed juniper 37 ready birch 91 pending cobalt 98 active ember 999 active
indigo 21 pending fable 57 closed amber 3 ready juniper 35 ready amber 73 pending cobalt 38 closed juniper 37 ready birch 91 pending cobalt 98 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015606
qwen/qwen3.7-plus
awkweave-0015607
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
hana ember 104 jules birch 88 lina juniper 79 eli juniper 57 dina amber 113 kim cobalt 94
jules birch 88 lina juniper 79 eli juniper 57
kim indigo 16 ivan juniper 29 chen cobalt 104 hana delta 40 farah juniper 84 bruno harbor 111 hana juniper 112 chen indigo 61 hana fable 100
ivan juniper 29 chen cobalt 104 hana delta 40
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015607-p1
Print lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
hana ember 104 jules birch 88 lina juniper 79 eli juniper 57 dina amber 113 kim cobalt 94
jules birch 88 lina juniper 79 eli juniper 57
kim indigo 16 ivan juniper 29 chen cobalt 104 hana delta 40 farah juniper 84 bruno harbor 111 hana juniper 112 chen indigo 61 hana fable 100
ivan juniper 29 chen cobalt 104 hana delta 40
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015607
qwen/qwen3.7-plus
awkweave-0015608
Output only the first 4 records.
NR <= 4
jules 66 grove chen 82 fable hana 15 grove ivan 51 delta farah 11 amber bruno 63 birch
jules 66 grove chen 82 fable hana 15 grove ivan 51 delta
chen 116 ember kim 113 ember gus 71 amber lina 14 grove bruno 37 delta alice 34 fable eli 28 ember alice 18 harbor
chen 116 ember kim 113 ember gus 71 amber lina 14 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015608-p1
Output only the first 4 records.
NR <= 4
jules 66 grove chen 82 fable hana 15 grove ivan 51 delta farah 11 amber bruno 63 birch
jules 66 grove chen 82 fable hana 15 grove ivan 51 delta
chen 116 ember kim 113 ember gus 71 amber lina 14 grove bruno 37 delta alice 34 fable eli 28 ember alice 18 harbor
chen 116 ember kim 113 ember gus 71 amber lina 14 grove
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0015608
qwen/qwen3.7-plus
awkweave-0015609
Skip the first line and print every remaining line unchanged.
NR > 1
chen 53 indigo jules 115 amber farah 51 delta chen 106 cobalt hana 98 fable kim 107 birch jules 34 amber hana 76 juniper
jules 115 amber farah 51 delta chen 106 cobalt hana 98 fable kim 107 birch jules 34 amber hana 76 juniper
eli 87 birch gus 48 grove jules 104 birch bruno 115 birch farah 18 amber alice 65 harbor ivan 21 ember
gus 48 grove jules 104 birch bruno 115 birch farah 18 amber alice 65 harbor ivan 21 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015609-p1
Skip the first line and print all subsequent lines without modification.
NR > 1
chen 53 indigo jules 115 amber farah 51 delta chen 106 cobalt hana 98 fable kim 107 birch jules 34 amber hana 76 juniper
jules 115 amber farah 51 delta chen 106 cobalt hana 98 fable kim 107 birch jules 34 amber hana 76 juniper
eli 87 birch gus 48 grove jules 104 birch bruno 115 birch farah 18 amber alice 65 harbor ivan 21 ember
gus 48 grove jules 104 birch bruno 115 birch farah 18 amber alice 65 harbor ivan 21 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015609
qwen/qwen3.7-plus
awkweave-0015610
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
ivan pending 60 hana failed 54 kim closed 58 dina active 64 gus ready 70 jules failed 49 bruno paused 86
1
kim pending 103 farah closed 82 ivan closed 110 chen active 111 bruno paused 100 chen pending 70 lina paused 73
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null