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-0018110-p1
Identify and print the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
2 harbor lina 18 grove bruno 4 amber kim 21 birch ivan 12 indigo jules 16 juniper bruno 15 birch farah 23 amber alice 16 harbor gus
23
29 birch lina 24 grove dina 6 delta farah 20 delta lina 16 ember lina 6 birch bruno 27 harbor bruno 18 delta gus 10 birch eli 8 juniper dina
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018110
qwen/qwen3.7-plus
awkweave-0018111
Count all input records and print the total.
END{print NR}
chen 72 chen 40 alice 85 alice 78 chen 35 eli 69 hana 62 dina 91 farah 85
9
gus 43 alice 32 alice 36 eli 92 eli 32 alice 111 alice 83 ivan 23
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018111-p1
Count the total number of input records and print the result.
END{print NR}
chen 72 chen 40 alice 85 alice 78 chen 35 eli 69 hana 62 dina 91 farah 85
9
gus 43 alice 32 alice 36 eli 92 eli 32 alice 111 alice 83 ivan 23
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018111
qwen/qwen3.7-plus
awkweave-0018112
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus fable 72 chen birch 25 eli indigo 14 gus indigo 23 kim harbor 71 farah fable 112 gus fable 72 kim ember 33 gus fable 117 kim amber 71 lina grove 6
gus fable 72 chen birch 25 eli indigo 14 gus indigo 23 kim harbor 71 farah fable 112 kim ember 33 gus fable 117 kim amber 71 lina grove 6
ivan fable 9 eli cobalt 79 jules grove 64 lina fable 29 gus grove 12 kim cobalt 23 gus grove 12 farah amber 0
ivan fable 9 eli cobalt 79 jules grove 64 lina fable 29 gus grove 12 kim cobalt 23 farah amber 0
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018112-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each unique line.
!seen[$0]++
gus fable 72 chen birch 25 eli indigo 14 gus indigo 23 kim harbor 71 farah fable 112 gus fable 72 kim ember 33 gus fable 117 kim amber 71 lina grove 6
gus fable 72 chen birch 25 eli indigo 14 gus indigo 23 kim harbor 71 farah fable 112 kim ember 33 gus fable 117 kim amber 71 lina grove 6
ivan fable 9 eli cobalt 79 jules grove 64 lina fable 29 gus grove 12 kim cobalt 23 gus grove 12 farah amber 0
ivan fable 9 eli cobalt 79 jules grove 64 lina fable 29 gus grove 12 kim cobalt 23 farah amber 0
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018112
qwen/qwen3.7-plus
awkweave-0018113
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
jules harbor 53 ivan delta 66 hana amber 20 jules ember 102 eli grove 59 kim cobalt 17 hana cobalt 63 bruno ember 4
jules harbor 53 ivan delta 66 hana amber 20 jules ember 102 eli grove 59 kim cobalt 17
bruno grove 33 kim indigo 3 alice harbor 105 alice indigo 10 chen cobalt 84 eli amber 26 eli juniper 118
bruno grove 33 kim indigo 3 alice harbor 105 chen cobalt 84 eli amber 26 eli juniper 118
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018113-p1
Retain only the first occurrence for every unique value in column 2, preserving the original input sequence.
!seen[$2]++
jules harbor 53 ivan delta 66 hana amber 20 jules ember 102 eli grove 59 kim cobalt 17 hana cobalt 63 bruno ember 4
jules harbor 53 ivan delta 66 hana amber 20 jules ember 102 eli grove 59 kim cobalt 17
bruno grove 33 kim indigo 3 alice harbor 105 alice indigo 10 chen cobalt 84 eli amber 26 eli juniper 118
bruno grove 33 kim indigo 3 alice harbor 105 chen cobalt 84 eli amber 26 eli juniper 118
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018113
qwen/qwen3.7-plus
awkweave-0018114
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 9 juniper kim 15 juniper bruno 11 juniper eli 27 indigo alice 28 delta jules 23 indigo ivan 29 amber farah 12 fable eli 14 juniper
alice 9 kim 24 bruno 35 eli 62 alice 90 jules 113 ivan 142 farah 154 eli 168
chen 20 indigo kim 23 fable gus 6 delta ivan 17 birch jules 21 cobalt ivan 14 indigo
chen 20 kim 43 gus 49 ivan 66 jules 87 ivan 101
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018114-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 9 juniper kim 15 juniper bruno 11 juniper eli 27 indigo alice 28 delta jules 23 indigo ivan 29 amber farah 12 fable eli 14 juniper
alice 9 kim 24 bruno 35 eli 62 alice 90 jules 113 ivan 142 farah 154 eli 168
chen 20 indigo kim 23 fable gus 6 delta ivan 17 birch jules 21 cobalt ivan 14 indigo
chen 20 kim 43 gus 49 ivan 66 jules 87 ivan 101
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018114
qwen/qwen3.7-plus
awkweave-0018115
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 3 29 ember dina 13 15 cobalt jules 10 28 harbor hana 11 24 harbor jules 6 6 delta chen 15 6 grove ivan 7 13 juniper kim 26 22 harbor chen 23 12 fable ivan 1 4 grove
hana 32 dina 28 jules 38 hana 35 jules 12 chen 21 ivan 20 kim 48 chen 35 ivan 5
chen 4 1 juniper hana 20 30 juniper hana 22 18 juniper farah 12 30 fable dina 22 27 amber bruno 19 27 grove jules 1 19 ember
chen 5 hana 50 hana 40 farah 42 dina 49 bruno 46 jules 20
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018115-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 3 29 ember dina 13 15 cobalt jules 10 28 harbor hana 11 24 harbor jules 6 6 delta chen 15 6 grove ivan 7 13 juniper kim 26 22 harbor chen 23 12 fable ivan 1 4 grove
hana 32 dina 28 jules 38 hana 35 jules 12 chen 21 ivan 20 kim 48 chen 35 ivan 5
chen 4 1 juniper hana 20 30 juniper hana 22 18 juniper farah 12 30 fable dina 22 27 amber bruno 19 27 grove jules 1 19 ember
chen 5 hana 50 hana 40 farah 42 dina 49 bruno 46 jules 20
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018115
qwen/qwen3.7-plus
awkweave-0018116
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
alice 27 lina 15 lina 4 hana 24 alice 11 farah 13
alice pass lina fail lina fail hana fail alice fail farah fail
hana 19 jules 22 lina 24 kim 23 ivan 19 jules 2 kim 10
hana fail jules fail lina fail kim fail ivan fail jules fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018116-p1
Print the value from column 1, appending 'pass' if column 2 is greater than or equal to 26, otherwise append 'fail'.
{print $1,($2>=26?"pass":"fail")}
alice 27 lina 15 lina 4 hana 24 alice 11 farah 13
alice pass lina fail lina fail hana fail alice fail farah fail
hana 19 jules 22 lina 24 kim 23 ivan 19 jules 2 kim 10
hana fail jules fail lina fail kim fail ivan fail jules fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018116
qwen/qwen3.7-plus
awkweave-0018117
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice ember 116 gus birch 60 kim ember 63 dina delta 13 gus juniper 15 kim ember 84 farah birch 114
EMBER BIRCH EMBER DELTA JUNIPER EMBER BIRCH
jules amber 32 farah birch 117 dina harbor 115 jules fable 101 lina cobalt 45 jules amber 23 dina delta 74
AMBER BIRCH HARBOR FABLE COBALT AMBER DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018117-p1
Transform the text in column 2 to uppercase and output only that modified column.
{print toupper($2)}
alice ember 116 gus birch 60 kim ember 63 dina delta 13 gus juniper 15 kim ember 84 farah birch 114
EMBER BIRCH EMBER DELTA JUNIPER EMBER BIRCH
jules amber 32 farah birch 117 dina harbor 115 jules fable 101 lina cobalt 45 jules amber 23 dina delta 74
AMBER BIRCH HARBOR FABLE COBALT AMBER DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018117
qwen/qwen3.7-plus
awkweave-0018118
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
birch 37 harbor 36 cobalt 62 cobalt 38 indigo 90 ember 112
bir har cob cob ind emb
grove 91 juniper 38 delta 35 ember 31 delta 80 juniper 45 juniper 81 juniper 111
gro jun del emb del jun jun jun
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018118-p1
Extract and display the first 3 characters from the first column.
{print substr($1,1,3)}
birch 37 harbor 36 cobalt 62 cobalt 38 indigo 90 ember 112
bir har cob cob ind emb
grove 91 juniper 38 delta 35 ember 31 delta 80 juniper 45 juniper 81 juniper 111
gro jun del emb del jun jun jun
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018118
qwen/qwen3.7-plus
awkweave-0018119
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_juniper 2 cobalt_delta 44 ember_ember 3 harbor_juniper 80 indigo_amber 54 delta_amber 105 cobalt_cobalt 99 juniper_cobalt 108
indigo juniper cobalt delta ember ember harbor juniper indigo amber delta amber cobalt cobalt juniper cobalt
birch_delta 15 fable_indigo 97 fable_juniper 110 delta_indigo 30 cobalt_birch 12 indigo_fable 13 cobalt_birch 1
birch delta fable indigo fable juniper delta indigo cobalt birch indigo fable cobalt birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018119-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
indigo_juniper 2 cobalt_delta 44 ember_ember 3 harbor_juniper 80 indigo_amber 54 delta_amber 105 cobalt_cobalt 99 juniper_cobalt 108
indigo juniper cobalt delta ember ember harbor juniper indigo amber delta amber cobalt cobalt juniper cobalt
birch_delta 15 fable_indigo 97 fable_juniper 110 delta_indigo 30 cobalt_birch 12 indigo_fable 13 cobalt_birch 1
birch delta fable indigo fable juniper delta indigo cobalt birch indigo fable cobalt birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018119
qwen/qwen3.7-plus
awkweave-0018120
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 delta 39 paused bruno juniper 117 paused jules juniper 54 closed eli delta 17 ready eli delta 48 paused farah amber 110 closed lina indigo 90 closed
paused 39 delta hana paused 117 juniper bruno closed 54 juniper jules ready 17 delta eli paused 48 delta eli closed 110 amber farah closed 90 indigo lina
lina juniper 98 paused chen fable 20 active hana delta 48 pending jules harbor 19 paused kim delta 33 closed ivan juniper 21 paused
paused 98 juniper lina active 20 fable chen pending 48 delta hana paused 19 harbor jules closed 33 delta kim paused 21 juniper ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018120-p1
Output all fields for each line after reversing their sequence.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana delta 39 paused bruno juniper 117 paused jules juniper 54 closed eli delta 17 ready eli delta 48 paused farah amber 110 closed lina indigo 90 closed
paused 39 delta hana paused 117 juniper bruno closed 54 juniper jules ready 17 delta eli paused 48 delta eli closed 110 amber farah closed 90 indigo lina
lina juniper 98 paused chen fable 20 active hana delta 48 pending jules harbor 19 paused kim delta 33 closed ivan juniper 21 paused
paused 98 juniper lina active 20 fable chen pending 48 delta hana paused 19 harbor jules closed 33 delta kim paused 21 juniper ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018120
qwen/qwen3.7-plus
awkweave-0018121
Print the number of whitespace-separated fields on each line.
{print NF}
farah delta 71 paused kim amber 82 pending alice ember 102 pending hana juniper 84 active jules cobalt 1 paused ivan grove 35 paused hana fable 69 ready
4 4 4 4 4 4 4
chen ember 59 failed lina grove 105 active chen delta 44 closed bruno birch 99 active hana ember 74 pending kim juniper 7 ready ivan harbor 30 closed lina delta 27 failed
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018121-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
farah delta 71 paused kim amber 82 pending alice ember 102 pending hana juniper 84 active jules cobalt 1 paused ivan grove 35 paused hana fable 69 ready
4 4 4 4 4 4 4
chen ember 59 failed lina grove 105 active chen delta 44 closed bruno birch 99 active hana ember 74 pending kim juniper 7 ready ivan harbor 30 closed lina delta 27 failed
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018121
qwen/qwen3.7-plus
awkweave-0018122
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]]}
alice beta 82 farah gamma 22 bruno gamma 26 dina alpha 24 alice delta 30 alice alpha 44 lina beta 73
beta 2 gamma 2 alpha 2 delta 1
lina gamma 25 lina gamma 98 hana delta 106 hana beta 69 ivan gamma 42 jules beta 46 dina alpha 79
gamma 3 delta 1 beta 2 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018122-p1
Tally the occurrences of each unique value in column 2, listing them alongside their counts in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice beta 82 farah gamma 22 bruno gamma 26 dina alpha 24 alice delta 30 alice alpha 44 lina beta 73
beta 2 gamma 2 alpha 2 delta 1
lina gamma 25 lina gamma 98 hana delta 106 hana beta 69 ivan gamma 42 jules beta 46 dina alpha 79
gamma 3 delta 1 beta 2 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018122
qwen/qwen3.7-plus
awkweave-0018123
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 2 jules beta 10 jules alpha 27 farah gamma 11 eli gamma 19 farah delta 9 dina alpha 2 eli delta 3 ivan gamma 7 hana alpha 14
gamma 39 beta 10 alpha 43 delta 12
gus alpha 19 gus alpha 12 ivan delta 2 ivan delta 11 alice delta 23 jules gamma 27 jules gamma 26 dina alpha 21
alpha 52 delta 36 gamma 53
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018123-p1
Calculate the sum of column 3 values grouped by column 2 categories, presenting the results in the order of the category's 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 2 jules beta 10 jules alpha 27 farah gamma 11 eli gamma 19 farah delta 9 dina alpha 2 eli delta 3 ivan gamma 7 hana alpha 14
gamma 39 beta 10 alpha 43 delta 12
gus alpha 19 gus alpha 12 ivan delta 2 ivan delta 11 alice delta 23 jules gamma 27 jules gamma 26 dina alpha 21
alpha 52 delta 36 gamma 53
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018123
qwen/qwen3.7-plus
awkweave-0018124
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]]}
alpha ember 96 beta cobalt 12 beta amber 95 delta harbor 51 delta juniper 2 alpha indigo 11 alpha grove 2 beta cobalt 111 delta juniper 64
alpha 3 beta 3 delta 3
alpha delta 112 delta delta 120 beta birch 96 delta delta 6 gamma amber 97 gamma cobalt 36 delta grove 7 alpha ember 31 alpha amber 25 beta amber 109
alpha 3 delta 3 beta 2 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018124-p1
List each duplicate value found in column 1 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]]}
alpha ember 96 beta cobalt 12 beta amber 95 delta harbor 51 delta juniper 2 alpha indigo 11 alpha grove 2 beta cobalt 111 delta juniper 64
alpha 3 beta 3 delta 3
alpha delta 112 delta delta 120 beta birch 96 delta delta 6 gamma amber 97 gamma cobalt 36 delta grove 7 alpha ember 31 alpha amber 25 beta amber 109
alpha 3 delta 3 beta 2 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018124
qwen/qwen3.7-plus
awkweave-0018125
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name state score record_id r001 chen 15 paused r002 alice 9 failed r003 lina 6 closed r004 dina 11 failed r005 kim 1 active r006 gus 6 paused r007 jules 7 closed r008 dina 5 pending r009 farah 27 pending r010 farah 16 paused
paused failed closed failed active paused closed pending pending paused
display_name state score record_id r001 lina 6 pending r002 jules 14 ready r003 dina 21 active r004 dina 28 pending r005 chen 23 failed r006 ivan 5 paused r007 kim 17 ready r008 lina 9 failed r009 hana 23 paused r010 bruno 27 pending
pending ready active pending failed paused ready failed paused pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018125-p1
Skip the header row and output the values from the record_id column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
display_name state score record_id r001 chen 15 paused r002 alice 9 failed r003 lina 6 closed r004 dina 11 failed r005 kim 1 active r006 gus 6 paused r007 jules 7 closed r008 dina 5 pending r009 farah 27 pending r010 farah 16 paused
paused failed closed failed active paused closed pending pending paused
display_name state score record_id r001 lina 6 pending r002 jules 14 ready r003 dina 21 active r004 dina 28 pending r005 chen 23 failed r006 ivan 5 paused r007 kim 17 ready r008 lina 9 failed r009 hana 23 paused r010 bruno 27 pending
pending ready active pending failed paused ready failed paused pending
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018125
qwen/qwen3.7-plus
awkweave-0018126
The first row is a header. Print display_name for data rows whose score is greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 ivan 10 active r002 kim 16 ready r003 gus 9 active r004 bruno 24 active r005 alice 1 closed r006 hana 14 closed r007 dina 2 ready
bruno
record_id display_name score state r001 bruno 30 ready r002 chen 30 paused r003 alice 4 closed r004 dina 4 closed r005 kim 1 paused r006 jules 7 ready r007 farah 26 failed r008 chen 27 closed r009 gus 25 failed
bruno chen farah chen gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018126-p1
Ignoring the header, print the display_name for any row where the score is strictly greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 ivan 10 active r002 kim 16 ready r003 gus 9 active r004 bruno 24 active r005 alice 1 closed r006 hana 14 closed r007 dina 2 ready
bruno
record_id display_name score state r001 bruno 30 ready r002 chen 30 paused r003 alice 4 closed r004 dina 4 closed r005 kim 1 paused r006 jules 7 ready r007 farah 26 failed r008 chen 27 closed r009 gus 25 failed
bruno chen farah chen gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018126
qwen/qwen3.7-plus
awkweave-0018127
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 11 paused chen 21 ready lina 15 active lina 6 failed dina 12 paused dina 3 ready
paused ready active failed paused ready
jules 2 ready kim 25 active lina 28 paused farah 30 ready lina 1 failed jules 24 ready lina 24 failed eli 11 ready kim 18 failed
ready active paused ready failed ready failed ready failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018127-p1
Given tab-separated input, output the third column for every record.
BEGIN{FS=OFS="\t"}{print $3}
lina 11 paused chen 21 ready lina 15 active lina 6 failed dina 12 paused dina 3 ready
paused ready active failed paused ready
jules 2 ready kim 25 active lina 28 paused farah 30 ready lina 1 failed jules 24 ready lina 24 failed eli 11 ready kim 18 failed
ready active paused ready failed ready failed ready failed
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018127
qwen/qwen3.7-plus
awkweave-0018128
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17.
BEGIN{FS=OFS=","}$2>17{print $1}
chen,24,ready gus,15,pending hana,24,closed farah,15,paused farah,12,pending chen,4,active gus,17,pending
chen hana
chen,13,ready eli,27,active jules,10,pending gus,26,paused bruno,21,failed ivan,5,active
eli gus bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018128-p1
For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 17.
BEGIN{FS=OFS=","}$2>17{print $1}
chen,24,ready gus,15,pending hana,24,closed farah,15,paused farah,12,pending chen,4,active gus,17,pending
chen hana
chen,13,ready eli,27,active jules,10,pending gus,26,paused bruno,21,failed ivan,5,active
eli gus bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018128
qwen/qwen3.7-plus
awkweave-0018129
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice juniper 1 alice juniper 3 farah indigo 67 kim fable 98 chen juniper 89 jules cobalt 99
alice juniper 1 alice juniper 3 farah indigo 67 kim fable 98 chen juniper 89 jules cobalt 99
gus juniper 85 jules delta 16 chen juniper 101 gus ember 0 eli grove 107 bruno juniper 27 kim grove 33 gus delta 116 ivan fable 45 gus cobalt 70
gus juniper 85 jules delta 16 chen juniper 101 gus ember 0 eli grove 107 bruno juniper 27 kim grove 33 gus delta 116 ivan fable 45 gus cobalt 70
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018129-p1
Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space.
{$1=$1;print}
alice juniper 1 alice juniper 3 farah indigo 67 kim fable 98 chen juniper 89 jules cobalt 99
alice juniper 1 alice juniper 3 farah indigo 67 kim fable 98 chen juniper 89 jules cobalt 99
gus juniper 85 jules delta 16 chen juniper 101 gus ember 0 eli grove 107 bruno juniper 27 kim grove 33 gus delta 116 ivan fable 45 gus cobalt 70
gus juniper 85 jules delta 16 chen juniper 101 gus ember 0 eli grove 107 bruno juniper 27 kim grove 33 gus delta 116 ivan fable 45 gus cobalt 70
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018129
qwen/qwen3.7-plus
awkweave-0018130
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 63 paused lina grove 66 pending ivan birch 85 ready eli delta 6 ready gus birch 101 failed eli ember 69 active lina delta 76 pending gus cobalt 120 active
lina grove 66 pending
alice juniper 100 active gus ember 74 closed gus grove 114 active kim birch 110 active eli amber 61 active jules amber 78 active dina fable 90 active ivan cobalt 89 ready ivan birch 69 active
alice juniper 100 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018130-p1
Output the longest line from the input, selecting the first one encountered if multiple lines share the maximum length.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 63 paused lina grove 66 pending ivan birch 85 ready eli delta 6 ready gus birch 101 failed eli ember 69 active lina delta 76 pending gus cobalt 120 active
lina grove 66 pending
alice juniper 100 active gus ember 74 closed gus grove 114 active kim birch 110 active eli amber 61 active jules amber 78 active dina fable 90 active ivan cobalt 89 ready ivan birch 69 active
alice juniper 100 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018130
qwen/qwen3.7-plus
awkweave-0018131
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
alice 32 gus 104 alice 60 farah 83 kim 3 chen 29 hana 38 kim 33
alice 32 alice 60 kim 3 hana 38
bruno 18 lina 80 farah 61 alice 67 jules 53 chen 108 bruno 76 dina 36
bruno 18 farah 61 jules 53 bruno 76
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018131-p1
Print lines 1, 3, 5, and so on, effectively outputting every second line starting from the first.
NR%2==1
alice 32 gus 104 alice 60 farah 83 kim 3 chen 29 hana 38 kim 33
alice 32 alice 60 kim 3 hana 38
bruno 18 lina 80 farah 61 alice 67 jules 53 chen 108 bruno 76 dina 36
bruno 18 farah 61 jules 53 bruno 76
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018131
qwen/qwen3.7-plus
awkweave-0018132
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta fable 30 gamma indigo 54 beta birch 100 delta harbor 119 beta cobalt 115 alpha indigo 56 beta ember 104 gamma ember 45 alpha fable 50
4
gamma juniper 114 beta fable 83 delta birch 103 gamma birch 14 beta juniper 33 delta fable 118 beta grove 5 delta fable 80 delta amber 102 beta ember 52
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018132-p1
Calculate and display only the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
delta fable 30 gamma indigo 54 beta birch 100 delta harbor 119 beta cobalt 115 alpha indigo 56 beta ember 104 gamma ember 45 alpha fable 50
4
gamma juniper 114 beta fable 83 delta birch 103 gamma birch 14 beta juniper 33 delta fable 118 beta grove 5 delta fable 80 delta amber 102 beta ember 52
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018132
qwen/qwen3.7-plus
awkweave-0018133
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}
jules 27 0 kim 11 25 farah 24 3 eli 22 27 farah 24 22 eli 17 24 farah 19 7 dina 9 23 alice 1 23 ivan 27 20
kim 0.44 farah 8.00 eli 0.81 farah 1.09 eli 0.71 farah 2.71 dina 0.39 alice 0.04 ivan 1.35
eli 27 0 dina 30 10 bruno 9 2 chen 11 4 gus 9 30 chen 24 19 bruno 16 5 eli 8 16 hana 27 23 alice 27 2
dina 3.00 bruno 4.50 chen 2.75 gus 0.30 chen 1.26 bruno 3.20 eli 0.50 hana 1.17 alice 13.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018133-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}
jules 27 0 kim 11 25 farah 24 3 eli 22 27 farah 24 22 eli 17 24 farah 19 7 dina 9 23 alice 1 23 ivan 27 20
kim 0.44 farah 8.00 eli 0.81 farah 1.09 eli 0.71 farah 2.71 dina 0.39 alice 0.04 ivan 1.35
eli 27 0 dina 30 10 bruno 9 2 chen 11 4 gus 9 30 chen 24 19 bruno 16 5 eli 8 16 hana 27 23 alice 27 2
dina 3.00 bruno 4.50 chen 2.75 gus 0.30 chen 1.26 bruno 3.20 eli 0.50 hana 1.17 alice 13.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018133
qwen/qwen3.7-plus
awkweave-0018134
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]}
eli amber 15 chen ember 18 dina amber 3 lina cobalt 2 hana indigo 20 hana delta 30 dina delta 20
hana delta 30 hana indigo 20 dina delta 20
alice ember 17 jules cobalt 14 alice birch 5 gus ember 28 dina fable 17 farah cobalt 19 dina fable 5 alice ember 6
gus ember 28 farah cobalt 19 alice ember 17
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018134-p1
Display the full records corresponding to the three 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]}
eli amber 15 chen ember 18 dina amber 3 lina cobalt 2 hana indigo 20 hana delta 30 dina delta 20
hana delta 30 hana indigo 20 dina delta 20
alice ember 17 jules cobalt 14 alice birch 5 gus ember 28 dina fable 17 farah cobalt 19 dina fable 5 alice ember 6
gus ember 28 farah cobalt 19 alice ember 17
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018134
qwen/qwen3.7-plus
awkweave-0018135
Select the 2nd and 1st fields in that order.
{print $2, $1}
failed indigo 26 delta juniper pending active indigo 42 juniper ember ready closed fable 12 cobalt indigo failed ready indigo 81 birch harbor closed paused birch 33 delta amber closed pending birch 74 delta fable ready paused harbor 58 ember birch failed closed harbor 9 amber amber pending paused fable 55 cobalt birch ...
indigo failed indigo active fable closed indigo ready birch paused birch pending harbor paused harbor closed fable paused
active ember 8 cobalt grove ready ready indigo 114 harbor harbor active failed cobalt 64 delta birch closed active grove 61 amber amber paused ready harbor 39 ember birch active ready delta 112 indigo indigo pending failed juniper 12 cobalt indigo active failed cobalt 32 ember indigo ready pending amber 88 cobalt birch...
ember active indigo ready cobalt failed grove active harbor ready delta ready juniper failed cobalt failed amber pending indigo pending
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018135-p1
Output the second field followed by the first field for each record.
{print $2, $1}
failed indigo 26 delta juniper pending active indigo 42 juniper ember ready closed fable 12 cobalt indigo failed ready indigo 81 birch harbor closed paused birch 33 delta amber closed pending birch 74 delta fable ready paused harbor 58 ember birch failed closed harbor 9 amber amber pending paused fable 55 cobalt birch ...
indigo failed indigo active fable closed indigo ready birch paused birch pending harbor paused harbor closed fable paused
active ember 8 cobalt grove ready ready indigo 114 harbor harbor active failed cobalt 64 delta birch closed active grove 61 amber amber paused ready harbor 39 ember birch active ready delta 112 indigo indigo pending failed juniper 12 cobalt indigo active failed cobalt 32 ember indigo ready pending amber 88 cobalt birch...
ember active indigo ready cobalt failed grove active harbor ready delta ready juniper failed cobalt failed amber pending indigo pending
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018135
qwen/qwen3.7-plus
awkweave-0018136
Print the last field of every input line.
{print $NF}
farah active hana harbor gus failed dina closed jules ember ivan failed alice paused chen birch ivan paused chen failed hana delta eli ready lina closed jules delta bruno closed alice closed bruno birch alice paused
failed failed paused ready closed paused
jules closed farah delta jules active dina failed ivan indigo jules ready gus ready jules fable chen closed eli closed jules amber eli active jules pending chen birch jules ready lina failed alice harbor eli pending dina pending dina birch dina ready chen paused ivan delta gus closed bruno failed bruno grove lina ready...
active ready closed active ready pending ready closed ready
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018136-p1
Print the final field from every line in the input.
{print $NF}
farah active hana harbor gus failed dina closed jules ember ivan failed alice paused chen birch ivan paused chen failed hana delta eli ready lina closed jules delta bruno closed alice closed bruno birch alice paused
failed failed paused ready closed paused
jules closed farah delta jules active dina failed ivan indigo jules ready gus ready jules fable chen closed eli closed jules amber eli active jules pending chen birch jules ready lina failed alice harbor eli pending dina pending dina birch dina ready chen paused ivan delta gus closed bruno failed bruno grove lina ready...
active ready closed active ready pending ready closed ready
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018136
qwen/qwen3.7-plus
awkweave-0018137
Print the complete records where column 1 is less than 42.
$1 < 42
34 pending cobalt lina grove 105 paused fable eli amber 16 active amber alice delta 76 failed cobalt bruno delta 34 active juniper kim amber 56 paused birch alice amber
34 pending cobalt lina grove 16 active amber alice delta 34 active juniper kim amber
52 active birch jules juniper 14 paused harbor gus fable 119 active juniper gus juniper 26 pending fable chen juniper 55 closed amber bruno fable 108 pending delta farah delta
14 paused harbor gus fable 26 pending fable chen juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018137-p1
Output the entire record for any row where the value in the first column is strictly less than 42.
$1 < 42
34 pending cobalt lina grove 105 paused fable eli amber 16 active amber alice delta 76 failed cobalt bruno delta 34 active juniper kim amber 56 paused birch alice amber
34 pending cobalt lina grove 16 active amber alice delta 34 active juniper kim amber
52 active birch jules juniper 14 paused harbor gus fable 119 active juniper gus juniper 26 pending fable chen juniper 55 closed amber bruno fable 108 pending delta farah delta
14 paused harbor gus fable 26 pending fable chen juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018137
qwen/qwen3.7-plus
awkweave-0018138
Show whole lines whose 3rd field is between 10 and 25, inclusive.
$3 >= 10 && $3 <= 25
birch cobalt 16 hana fable harbor 14 bruno fable ember 6 gus harbor birch 11 eli fable grove 25 bruno birch cobalt 2 kim cobalt delta 9 chen amber harbor 26 kim birch delta 10 farah
birch cobalt 16 hana fable harbor 14 bruno harbor birch 11 eli fable grove 25 bruno birch delta 10 farah
cobalt grove 22 farah grove indigo 30 hana delta fable 27 alice juniper cobalt 24 bruno birch amber 27 lina amber fable 8 gus juniper indigo 3 lina juniper harbor 7 lina
cobalt grove 22 farah juniper cobalt 24 bruno
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018138-p1
Display complete lines where the value in the third field falls within the inclusive range of 10 to 25.
$3 >= 10 && $3 <= 25
birch cobalt 16 hana fable harbor 14 bruno fable ember 6 gus harbor birch 11 eli fable grove 25 bruno birch cobalt 2 kim cobalt delta 9 chen amber harbor 26 kim birch delta 10 farah
birch cobalt 16 hana fable harbor 14 bruno harbor birch 11 eli fable grove 25 bruno birch delta 10 farah
cobalt grove 22 farah grove indigo 30 hana delta fable 27 alice juniper cobalt 24 bruno birch amber 27 lina amber fable 8 gus juniper indigo 3 lina juniper harbor 7 lina
cobalt grove 22 farah juniper cobalt 24 bruno
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018138
qwen/qwen3.7-plus
awkweave-0018139
Print column 1 only for rows where column 4 is exactly paused.
$4 == "paused"{print $1}
gus 55 fable pending dina 31 indigo closed hana 70 harbor failed gus 73 ember closed jules 41 grove failed dina 40 harbor closed lina 51 grove paused
lina
chen 53 grove paused dina 34 harbor ready dina 117 fable failed lina 115 juniper paused chen 102 harbor ready ivan 92 amber ready kim 69 cobalt active farah 14 grove paused ivan 11 fable ready eli 45 delta active
chen lina farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018139-p1
Print only the first column for rows where the fourth column contains the exact string 'paused'.
$4 == "paused"{print $1}
gus 55 fable pending dina 31 indigo closed hana 70 harbor failed gus 73 ember closed jules 41 grove failed dina 40 harbor closed lina 51 grove paused
lina
chen 53 grove paused dina 34 harbor ready dina 117 fable failed lina 115 juniper paused chen 102 harbor ready ivan 92 amber ready kim 69 cobalt active farah 14 grove paused ivan 11 fable ready eli 45 delta active
chen lina farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018139
qwen/qwen3.7-plus
awkweave-0018140
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
indigo 46 WARN juniper 108 WARN fable 15 WARN birch 57 WARN birch 49 ERROR harbor 75 INFO birch 13 INFO grove 71 WARN
birch 49 ERROR
ember 23 INFO juniper 111 INFO fable 96 INFO birch 15 DEBUG harbor 104 DEBUG harbor 10 DEBUG harbor 57 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018140-p1
Output all fields from any line where the third field starts with the prefix 'ERROR'.
$3 ~ /^ERROR/
indigo 46 WARN juniper 108 WARN fable 15 WARN birch 57 WARN birch 49 ERROR harbor 75 INFO birch 13 INFO grove 71 WARN
birch 49 ERROR
ember 23 INFO juniper 111 INFO fable 96 INFO birch 15 DEBUG harbor 104 DEBUG harbor 10 DEBUG harbor 57 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018140
qwen/qwen3.7-plus
awkweave-0018141
Print every line except those containing the exact text delta.
$0 !~ /delta/
harbor 70 closed fable 112 active birch 101 pending cobalt 65 pending amber 87 ready juniper 2 closed juniper 7 active birch 35 active delta 999 active
harbor 70 closed fable 112 active birch 101 pending cobalt 65 pending amber 87 ready juniper 2 closed juniper 7 active birch 35 active
birch 45 ready fable 49 pending indigo 50 paused delta 115 paused ember 44 ready cobalt 21 ready indigo 72 paused juniper 83 ready delta 999 active
birch 45 ready fable 49 pending indigo 50 paused ember 44 ready cobalt 21 ready indigo 72 paused juniper 83 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018141-p1
Print every input line except those that contain the exact substring 'delta'.
$0 !~ /delta/
harbor 70 closed fable 112 active birch 101 pending cobalt 65 pending amber 87 ready juniper 2 closed juniper 7 active birch 35 active delta 999 active
harbor 70 closed fable 112 active birch 101 pending cobalt 65 pending amber 87 ready juniper 2 closed juniper 7 active birch 35 active
birch 45 ready fable 49 pending indigo 50 paused delta 115 paused ember 44 ready cobalt 21 ready indigo 72 paused juniper 83 ready delta 999 active
birch 45 ready fable 49 pending indigo 50 paused ember 44 ready cobalt 21 ready indigo 72 paused juniper 83 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018141
qwen/qwen3.7-plus
awkweave-0018142
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
chen cobalt 62 bruno ember 4 hana indigo 115 alice harbor 32 gus cobalt 58 dina delta 55 bruno amber 59 jules amber 32 eli juniper 63
hana indigo 115 alice harbor 32 gus cobalt 58
kim fable 75 bruno grove 74 gus juniper 80 dina grove 8 farah grove 99 dina fable 118 lina fable 111 hana grove 0 ivan delta 5 hana harbor 0
gus juniper 80 dina grove 8 farah grove 99
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018142-p1
Display lines 3 to 5, inclusive.
NR >= 3 && NR <= 5
chen cobalt 62 bruno ember 4 hana indigo 115 alice harbor 32 gus cobalt 58 dina delta 55 bruno amber 59 jules amber 32 eli juniper 63
hana indigo 115 alice harbor 32 gus cobalt 58
kim fable 75 bruno grove 74 gus juniper 80 dina grove 8 farah grove 99 dina fable 118 lina fable 111 hana grove 0 ivan delta 5 hana harbor 0
gus juniper 80 dina grove 8 farah grove 99
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018142
qwen/qwen3.7-plus
awkweave-0018143
Output only the first 5 records.
NR <= 5
alice 118 ember alice 13 birch dina 51 indigo kim 97 amber alice 43 ember gus 78 cobalt
alice 118 ember alice 13 birch dina 51 indigo kim 97 amber alice 43 ember
chen 34 amber alice 23 fable farah 44 ember alice 80 grove eli 9 grove bruno 113 indigo hana 72 ember hana 92 grove gus 99 ember lina 86 fable
chen 34 amber alice 23 fable farah 44 ember alice 80 grove eli 9 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018143-p1
Output just the initial 5 records.
NR <= 5
alice 118 ember alice 13 birch dina 51 indigo kim 97 amber alice 43 ember gus 78 cobalt
alice 118 ember alice 13 birch dina 51 indigo kim 97 amber alice 43 ember
chen 34 amber alice 23 fable farah 44 ember alice 80 grove eli 9 grove bruno 113 indigo hana 72 ember hana 92 grove gus 99 ember lina 86 fable
chen 34 amber alice 23 fable farah 44 ember alice 80 grove eli 9 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018143
qwen/qwen3.7-plus
awkweave-0018144
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 48 cobalt jules 80 harbor alice 58 birch gus 91 fable hana 81 cobalt kim 26 ember dina 119 cobalt ivan 69 grove
jules 80 harbor alice 58 birch gus 91 fable hana 81 cobalt kim 26 ember dina 119 cobalt ivan 69 grove
chen 113 delta alice 2 fable gus 17 juniper farah 74 amber chen 2 indigo gus 10 harbor kim 90 ember chen 110 cobalt hana 120 amber lina 46 indigo
alice 2 fable gus 17 juniper farah 74 amber chen 2 indigo gus 10 harbor kim 90 ember chen 110 cobalt hana 120 amber lina 46 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018144-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
ivan 48 cobalt jules 80 harbor alice 58 birch gus 91 fable hana 81 cobalt kim 26 ember dina 119 cobalt ivan 69 grove
jules 80 harbor alice 58 birch gus 91 fable hana 81 cobalt kim 26 ember dina 119 cobalt ivan 69 grove
chen 113 delta alice 2 fable gus 17 juniper farah 74 amber chen 2 indigo gus 10 harbor kim 90 ember chen 110 cobalt hana 120 amber lina 46 indigo
alice 2 fable gus 17 juniper farah 74 amber chen 2 indigo gus 10 harbor kim 90 ember chen 110 cobalt hana 120 amber lina 46 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018144
qwen/qwen3.7-plus
awkweave-0018145
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
hana failed 0 alice paused 112 gus ready 18 eli active 89 ivan paused 43 bruno ready 38
2
dina active 82 ivan active 43 chen active 50 alice failed 53 hana ready 61 gus paused 40 lina active 120
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018145-p1
Tally the records where column 2 is 'paused' and print the count, defaulting to 0 if none exist.
$2 == "paused"{n++}END{print n+0}
hana failed 0 alice paused 112 gus ready 18 eli active 89 ivan paused 43 bruno ready 38
2
dina active 82 ivan active 43 chen active 50 alice failed 53 hana ready 61 gus paused 40 lina active 120
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018145
qwen/qwen3.7-plus
awkweave-0018146
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
amber 17 eli ember 7 chen cobalt 30 alice grove 11 alice amber 16 dina fable 16 chen indigo 7 alice harbor 13 bruno
117
birch 22 jules ember 1 kim indigo 3 farah harbor 29 gus harbor 14 alice indigo 4 kim birch 22 alice amber 27 alice
122
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018146-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
amber 17 eli ember 7 chen cobalt 30 alice grove 11 alice amber 16 dina fable 16 chen indigo 7 alice harbor 13 bruno
117
birch 22 jules ember 1 kim indigo 3 farah harbor 29 gus harbor 14 alice indigo 4 kim birch 22 alice amber 27 alice
122
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018146
qwen/qwen3.7-plus
awkweave-0018147
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 26 alice harbor 5 ivan cobalt 8 alice ember 22 alice juniper 24 farah indigo 9 jules amber 6 gus birch 24 gus cobalt 16 farah indigo 12 lina
15.20
fable 19 chen delta 16 alice delta 15 jules fable 4 hana birch 9 alice juniper 24 farah ember 8 ivan juniper 21 eli
14.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018147-p1
Print the average of column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 26 alice harbor 5 ivan cobalt 8 alice ember 22 alice juniper 24 farah indigo 9 jules amber 6 gus birch 24 gus cobalt 16 farah indigo 12 lina
15.20
fable 19 chen delta 16 alice delta 15 jules fable 4 hana birch 9 alice juniper 24 farah ember 8 ivan juniper 21 eli
14.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018147
qwen/qwen3.7-plus
awkweave-0018148
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
29 fable kim 12 ember alice 20 indigo bruno 16 harbor eli 3 ember chen 15 birch jules 19 birch lina 12 amber hana
3
13 delta lina 29 fable hana 24 cobalt ivan 24 birch chen 2 juniper alice 10 harbor jules 4 juniper ivan 20 birch lina 3 harbor jules
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018148-p1
Identify and output the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
29 fable kim 12 ember alice 20 indigo bruno 16 harbor eli 3 ember chen 15 birch jules 19 birch lina 12 amber hana
3
13 delta lina 29 fable hana 24 cobalt ivan 24 birch chen 2 juniper alice 10 harbor jules 4 juniper ivan 20 birch lina 3 harbor jules
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018148
qwen/qwen3.7-plus
awkweave-0018149
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
fable 4 hana juniper 6 eli juniper 11 hana birch 2 lina birch 25 chen ember 23 hana delta 12 lina cobalt 8 gus harbor 3 lina juniper 28 bruno
28
grove 11 alice harbor 14 dina indigo 25 kim amber 29 hana delta 20 hana harbor 26 ivan grove 15 dina
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018149-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
fable 4 hana juniper 6 eli juniper 11 hana birch 2 lina birch 25 chen ember 23 hana delta 12 lina cobalt 8 gus harbor 3 lina juniper 28 bruno
28
grove 11 alice harbor 14 dina indigo 25 kim amber 29 hana delta 20 hana harbor 26 ivan grove 15 dina
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018149
qwen/qwen3.7-plus
awkweave-0018150
Count all input records and print the total.
END{print NR}
gus 29 ivan 28 kim 116 ivan 53 kim 80 eli 111 bruno 72 kim 49 farah 74 lina 109
10
bruno 61 farah 39 bruno 60 alice 71 dina 65 lina 46 lina 7 farah 120
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018150-p1
Count the total number of input records and print the result.
END{print NR}
gus 29 ivan 28 kim 116 ivan 53 kim 80 eli 111 bruno 72 kim 49 farah 74 lina 109
10
bruno 61 farah 39 bruno 60 alice 71 dina 65 lina 46 lina 7 farah 120
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018150
qwen/qwen3.7-plus
awkweave-0018151
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana juniper 87 gus harbor 96 lina cobalt 81 hana grove 6 dina amber 49 kim fable 107 hana juniper 87 jules grove 113 bruno fable 77 jules amber 13
hana juniper 87 gus harbor 96 lina cobalt 81 hana grove 6 dina amber 49 kim fable 107 jules grove 113 bruno fable 77 jules amber 13
lina amber 42 jules indigo 93 alice fable 66 lina delta 113 kim amber 12 ivan harbor 77 lina birch 17 gus amber 74 kim amber 12
lina amber 42 jules indigo 93 alice fable 66 lina delta 113 kim amber 12 ivan harbor 77 lina birch 17 gus amber 74
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018151-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
hana juniper 87 gus harbor 96 lina cobalt 81 hana grove 6 dina amber 49 kim fable 107 hana juniper 87 jules grove 113 bruno fable 77 jules amber 13
hana juniper 87 gus harbor 96 lina cobalt 81 hana grove 6 dina amber 49 kim fable 107 jules grove 113 bruno fable 77 jules amber 13
lina amber 42 jules indigo 93 alice fable 66 lina delta 113 kim amber 12 ivan harbor 77 lina birch 17 gus amber 74 kim amber 12
lina amber 42 jules indigo 93 alice fable 66 lina delta 113 kim amber 12 ivan harbor 77 lina birch 17 gus amber 74
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018151
qwen/qwen3.7-plus
awkweave-0018152
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
gus juniper 26 farah grove 40 jules indigo 8 eli indigo 45 farah birch 109 kim harbor 116 eli delta 111 jules harbor 90 ivan cobalt 4 farah indigo 71
gus juniper 26 farah grove 40 jules indigo 8 farah birch 109 kim harbor 116 eli delta 111 ivan cobalt 4
farah ember 49 kim amber 28 bruno grove 91 gus indigo 39 gus birch 22 bruno fable 74 bruno grove 82 farah delta 86 eli juniper 39
farah ember 49 kim amber 28 bruno grove 91 gus indigo 39 gus birch 22 bruno fable 74 farah delta 86 eli juniper 39
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018152-p1
Retain only the first occurrence for each unique value in column 2, preserving the input order.
!seen[$2]++
gus juniper 26 farah grove 40 jules indigo 8 eli indigo 45 farah birch 109 kim harbor 116 eli delta 111 jules harbor 90 ivan cobalt 4 farah indigo 71
gus juniper 26 farah grove 40 jules indigo 8 farah birch 109 kim harbor 116 eli delta 111 ivan cobalt 4
farah ember 49 kim amber 28 bruno grove 91 gus indigo 39 gus birch 22 bruno fable 74 bruno grove 82 farah delta 86 eli juniper 39
farah ember 49 kim amber 28 bruno grove 91 gus indigo 39 gus birch 22 bruno fable 74 farah delta 86 eli juniper 39
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018152
qwen/qwen3.7-plus
awkweave-0018153
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 25 harbor jules 11 grove kim 17 indigo ivan 2 delta alice 7 birch ivan 21 grove dina 24 harbor chen 17 delta gus 14 birch
chen 25 jules 36 kim 53 ivan 55 alice 62 ivan 83 dina 107 chen 124 gus 138
bruno 5 ember alice 14 fable alice 20 cobalt gus 10 indigo alice 11 amber jules 22 indigo lina 17 harbor alice 24 ember alice 20 harbor ivan 1 indigo
bruno 5 alice 19 alice 39 gus 49 alice 60 jules 82 lina 99 alice 123 alice 143 ivan 144
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018153-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 25 harbor jules 11 grove kim 17 indigo ivan 2 delta alice 7 birch ivan 21 grove dina 24 harbor chen 17 delta gus 14 birch
chen 25 jules 36 kim 53 ivan 55 alice 62 ivan 83 dina 107 chen 124 gus 138
bruno 5 ember alice 14 fable alice 20 cobalt gus 10 indigo alice 11 amber jules 22 indigo lina 17 harbor alice 24 ember alice 20 harbor ivan 1 indigo
bruno 5 alice 19 alice 39 gus 49 alice 60 jules 82 lina 99 alice 123 alice 143 ivan 144
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018153
qwen/qwen3.7-plus
awkweave-0018154
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 26 19 fable chen 29 2 ember ivan 3 10 indigo kim 16 16 delta jules 23 16 grove eli 6 28 grove jules 12 12 delta alice 29 26 juniper kim 29 13 indigo hana 17 22 juniper
jules 45 chen 31 ivan 13 kim 32 jules 39 eli 34 jules 24 alice 55 kim 42 hana 39
dina 23 9 fable bruno 9 24 indigo kim 26 20 amber chen 16 14 juniper jules 8 29 harbor jules 23 6 ember hana 3 6 ember lina 11 5 delta
dina 32 bruno 33 kim 46 chen 30 jules 37 jules 29 hana 9 lina 16
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018154-p1
For each line, output the first field followed by the total of the second and third fields.
{print $1,$2+$3}
jules 26 19 fable chen 29 2 ember ivan 3 10 indigo kim 16 16 delta jules 23 16 grove eli 6 28 grove jules 12 12 delta alice 29 26 juniper kim 29 13 indigo hana 17 22 juniper
jules 45 chen 31 ivan 13 kim 32 jules 39 eli 34 jules 24 alice 55 kim 42 hana 39
dina 23 9 fable bruno 9 24 indigo kim 26 20 amber chen 16 14 juniper jules 8 29 harbor jules 23 6 ember hana 3 6 ember lina 11 5 delta
dina 32 bruno 33 kim 46 chen 30 jules 37 jules 29 hana 9 lina 16
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018154
qwen/qwen3.7-plus
awkweave-0018155
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
eli 1 farah 3 alice 3 hana 6 bruno 27 ivan 4
eli fail farah fail alice fail hana fail bruno pass ivan fail
lina 19 ivan 15 ivan 23 eli 19 dina 12 dina 26
lina fail ivan fail ivan fail eli fail dina fail dina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018155-p1
Output the first column; if the second column is 24 or higher, print pass, otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
eli 1 farah 3 alice 3 hana 6 bruno 27 ivan 4
eli fail farah fail alice fail hana fail bruno pass ivan fail
lina 19 ivan 15 ivan 23 eli 19 dina 12 dina 26
lina fail ivan fail ivan fail eli fail dina fail dina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018155
qwen/qwen3.7-plus
awkweave-0018156
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
farah fable 88 jules juniper 3 lina indigo 96 dina fable 28 lina birch 47 dina amber 40 kim amber 8 ivan juniper 8 lina ember 21 jules fable 104
FABLE JUNIPER INDIGO FABLE BIRCH AMBER AMBER JUNIPER EMBER FABLE
ivan juniper 64 farah ember 115 ivan indigo 13 bruno indigo 113 chen cobalt 113 lina harbor 112
JUNIPER EMBER INDIGO INDIGO COBALT HARBOR
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018156-p1
Transform the second column to uppercase and display only that column.
{print toupper($2)}
farah fable 88 jules juniper 3 lina indigo 96 dina fable 28 lina birch 47 dina amber 40 kim amber 8 ivan juniper 8 lina ember 21 jules fable 104
FABLE JUNIPER INDIGO FABLE BIRCH AMBER AMBER JUNIPER EMBER FABLE
ivan juniper 64 farah ember 115 ivan indigo 13 bruno indigo 113 chen cobalt 113 lina harbor 112
JUNIPER EMBER INDIGO INDIGO COBALT HARBOR
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018156
qwen/qwen3.7-plus
awkweave-0018157
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
juniper 102 fable 9 harbor 90 birch 109 cobalt 31 birch 120
unip able arbo irch obal irch
fable 27 fable 42 indigo 95 fable 35 harbor 90 cobalt 66 grove 95 ember 8 cobalt 17 juniper 108
able able ndig able arbo obal rove mber obal unip
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018157-p1
Extract and print a 4-character substring from the first column, starting at the second character.
{print substr($1,2,4)}
juniper 102 fable 9 harbor 90 birch 109 cobalt 31 birch 120
unip able arbo irch obal irch
fable 27 fable 42 indigo 95 fable 35 harbor 90 cobalt 66 grove 95 ember 8 cobalt 17 juniper 108
able able ndig able arbo obal rove mber obal unip
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018157
qwen/qwen3.7-plus
awkweave-0018158
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_delta 8 grove_juniper 2 grove_juniper 34 harbor_harbor 98 delta_indigo 58 amber_harbor 120 fable_indigo 117 ember_fable 76 indigo_juniper 21
birch delta grove juniper grove juniper harbor harbor delta indigo amber harbor fable indigo ember fable indigo juniper
juniper_birch 52 amber_fable 26 harbor_amber 57 indigo_cobalt 119 fable_grove 66 fable_indigo 104 juniper_birch 59 ember_grove 104
juniper birch amber fable harbor amber indigo cobalt fable grove fable indigo juniper birch ember grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018158-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_delta 8 grove_juniper 2 grove_juniper 34 harbor_harbor 98 delta_indigo 58 amber_harbor 120 fable_indigo 117 ember_fable 76 indigo_juniper 21
birch delta grove juniper grove juniper harbor harbor delta indigo amber harbor fable indigo ember fable indigo juniper
juniper_birch 52 amber_fable 26 harbor_amber 57 indigo_cobalt 119 fable_grove 66 fable_indigo 104 juniper_birch 59 ember_grove 104
juniper birch amber fable harbor amber indigo cobalt fable grove fable indigo juniper birch ember grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018158
qwen/qwen3.7-plus
awkweave-0018159
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)}
kim cobalt 38 active kim grove 110 closed lina indigo 46 failed jules juniper 7 closed farah birch 9 paused gus indigo 55 ready hana fable 97 ready
active 38 cobalt kim closed 110 grove kim failed 46 indigo lina closed 7 juniper jules paused 9 birch farah ready 55 indigo gus ready 97 fable hana
ivan ember 117 closed kim ember 29 paused dina cobalt 30 closed chen fable 49 active lina juniper 8 paused hana cobalt 41 failed gus harbor 79 active jules fable 12 paused kim juniper 88 failed hana amber 105 closed
closed 117 ember ivan paused 29 ember kim closed 30 cobalt dina active 49 fable chen paused 8 juniper lina failed 41 cobalt hana active 79 harbor gus paused 12 fable jules failed 88 juniper kim closed 105 amber hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018159-p1
Reverse the sequence of fields on each line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim cobalt 38 active kim grove 110 closed lina indigo 46 failed jules juniper 7 closed farah birch 9 paused gus indigo 55 ready hana fable 97 ready
active 38 cobalt kim closed 110 grove kim failed 46 indigo lina closed 7 juniper jules paused 9 birch farah ready 55 indigo gus ready 97 fable hana
ivan ember 117 closed kim ember 29 paused dina cobalt 30 closed chen fable 49 active lina juniper 8 paused hana cobalt 41 failed gus harbor 79 active jules fable 12 paused kim juniper 88 failed hana amber 105 closed
closed 117 ember ivan paused 29 ember kim closed 30 cobalt dina active 49 fable chen paused 8 juniper lina failed 41 cobalt hana active 79 harbor gus paused 12 fable jules failed 88 juniper kim closed 105 amber hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018159
qwen/qwen3.7-plus
awkweave-0018160
Print the number of whitespace-separated fields on each line.
{print NF}
alice indigo 17 failed alice juniper 9 failed farah grove 113 failed gus ember 103 pending alice juniper 75 failed dina indigo 85 closed lina birch 66 pending
4 4 4 4 4 4 4
alice fable 79 closed bruno juniper 27 ready alice grove 1 ready farah birch 44 ready lina ember 10 paused hana birch 86 active bruno harbor 65 closed bruno harbor 115 active
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null