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-0056053
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
bruno paused 40 bruno paused 79 gus closed 45 eli pending 64 alice closed 31 bruno paused 113 ivan closed 118 jules active 26 hana pending 70 farah ready 47
1
gus closed 108 dina ready 74 lina active 80 eli paused 52 gus failed 90 jules ready 11
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056053-p1
Tally records with active in the second column; output 0 if none match.
$2 == "active"{n++}END{print n+0}
bruno paused 40 bruno paused 79 gus closed 45 eli pending 64 alice closed 31 bruno paused 113 ivan closed 118 jules active 26 hana pending 70 farah ready 47
1
gus closed 108 dina ready 74 lina active 80 eli paused 52 gus failed 90 jules ready 11
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056053
qwen/qwen3.7-plus
awkweave-0056054
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
jules 2 ember hana 10 indigo jules 14 grove bruno 3 amber kim 28 juniper eli 21 amber kim 18 juniper farah 22 birch hana 29 juniper bruno 1 fable
148
hana 19 grove farah 6 indigo alice 11 harbor dina 27 juniper dina 2 harbor jules 20 ember kim 24 juniper gus 26 amber farah 5 indigo gus 5 amber
145
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056054-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
jules 2 ember hana 10 indigo jules 14 grove bruno 3 amber kim 28 juniper eli 21 amber kim 18 juniper farah 22 birch hana 29 juniper bruno 1 fable
148
hana 19 grove farah 6 indigo alice 11 harbor dina 27 juniper dina 2 harbor jules 20 ember kim 24 juniper gus 26 amber farah 5 indigo gus 5 amber
145
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056054
qwen/qwen3.7-plus
awkweave-0056055
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
27 cobalt bruno 18 cobalt farah 15 indigo eli 29 grove chen 20 delta hana 20 amber kim 16 cobalt kim 10 juniper chen 16 harbor lina
19.00
5 ember ivan 9 juniper alice 17 birch ivan 1 fable alice 14 harbor kim 30 birch ivan 16 fable kim 3 ember bruno
11.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056055-p1
Output the average of column 1, formatted to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
27 cobalt bruno 18 cobalt farah 15 indigo eli 29 grove chen 20 delta hana 20 amber kim 16 cobalt kim 10 juniper chen 16 harbor lina
19.00
5 ember ivan 9 juniper alice 17 birch ivan 1 fable alice 14 harbor kim 30 birch ivan 16 fable kim 3 ember bruno
11.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056055
qwen/qwen3.7-plus
awkweave-0056056
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 8 fable lina 23 amber kim 30 grove ivan 9 cobalt lina 27 amber alice 3 grove lina 17 amber dina 21 fable ivan 10 harbor hana 1 indigo
1
lina 11 harbor bruno 11 amber dina 30 ember lina 25 ember ivan 13 grove alice 18 grove gus 12 delta dina 16 delta farah 11 juniper
11
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056056-p1
Identify and print the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 8 fable lina 23 amber kim 30 grove ivan 9 cobalt lina 27 amber alice 3 grove lina 17 amber dina 21 fable ivan 10 harbor hana 1 indigo
1
lina 11 harbor bruno 11 amber dina 30 ember lina 25 ember ivan 13 grove alice 18 grove gus 12 delta dina 16 delta farah 11 juniper
11
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056056
qwen/qwen3.7-plus
awkweave-0056057
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 14 lina indigo 26 kim ember 2 gus grove 30 chen ember 22 gus fable 29 alice birch 12 alice cobalt 29 jules
30
delta 8 alice cobalt 26 bruno ember 11 gus fable 11 jules ember 4 alice birch 20 jules
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056057-p1
Identify and print the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 14 lina indigo 26 kim ember 2 gus grove 30 chen ember 22 gus fable 29 alice birch 12 alice cobalt 29 jules
30
delta 8 alice cobalt 26 bruno ember 11 gus fable 11 jules ember 4 alice birch 20 jules
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056057
qwen/qwen3.7-plus
awkweave-0056058
Count all input records and print the total.
END{print NR}
bruno 22 gus 1 lina 54 alice 35 lina 66 jules 45 ivan 77
7
dina 31 chen 98 gus 60 kim 38 dina 80 jules 59 alice 64 lina 88 ivan 119
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056058-p1
Count the total number of input records and print the result.
END{print NR}
bruno 22 gus 1 lina 54 alice 35 lina 66 jules 45 ivan 77
7
dina 31 chen 98 gus 60 kim 38 dina 80 jules 59 alice 64 lina 88 ivan 119
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056058
qwen/qwen3.7-plus
awkweave-0056059
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim amber 27 dina harbor 64 kim birch 119 jules fable 95 gus juniper 12 gus delta 22 gus harbor 73 jules fable 95 ivan birch 106
kim amber 27 dina harbor 64 kim birch 119 jules fable 95 gus juniper 12 gus delta 22 gus harbor 73 ivan birch 106
alice birch 1 kim birch 26 eli harbor 53 alice birch 1 alice amber 61 kim harbor 23 farah juniper 8
alice birch 1 kim birch 26 eli harbor 53 alice amber 61 kim harbor 23 farah juniper 8
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056059-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining original order.
!seen[$0]++
kim amber 27 dina harbor 64 kim birch 119 jules fable 95 gus juniper 12 gus delta 22 gus harbor 73 jules fable 95 ivan birch 106
kim amber 27 dina harbor 64 kim birch 119 jules fable 95 gus juniper 12 gus delta 22 gus harbor 73 ivan birch 106
alice birch 1 kim birch 26 eli harbor 53 alice birch 1 alice amber 61 kim harbor 23 farah juniper 8
alice birch 1 kim birch 26 eli harbor 53 alice amber 61 kim harbor 23 farah juniper 8
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056059
qwen/qwen3.7-plus
awkweave-0056060
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
farah amber 90 eli indigo 26 jules juniper 82 bruno delta 12 lina harbor 1 dina cobalt 59 alice grove 101 eli birch 58 dina juniper 98 alice delta 18
farah amber 90 eli indigo 26 jules juniper 82 bruno delta 12 lina harbor 1 dina cobalt 59 alice grove 101
hana juniper 50 alice ember 111 farah birch 77 alice ember 81 kim cobalt 19 alice fable 79 kim grove 17 farah amber 96 ivan ember 63
hana juniper 50 alice ember 111 farah birch 77 kim cobalt 19 ivan ember 63
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056060-p1
Retain only the first occurrence of each unique value in column 1, maintaining the original input sequence.
!seen[$1]++
farah amber 90 eli indigo 26 jules juniper 82 bruno delta 12 lina harbor 1 dina cobalt 59 alice grove 101 eli birch 58 dina juniper 98 alice delta 18
farah amber 90 eli indigo 26 jules juniper 82 bruno delta 12 lina harbor 1 dina cobalt 59 alice grove 101
hana juniper 50 alice ember 111 farah birch 77 alice ember 81 kim cobalt 19 alice fable 79 kim grove 17 farah amber 96 ivan ember 63
hana juniper 50 alice ember 111 farah birch 77 kim cobalt 19 ivan ember 63
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056060
qwen/qwen3.7-plus
awkweave-0056061
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 2 indigo hana 5 delta alice 25 delta bruno 24 harbor kim 2 harbor farah 16 delta hana 16 ember
jules 2 hana 7 alice 32 bruno 56 kim 58 farah 74 hana 90
hana 14 grove hana 23 harbor farah 22 amber chen 9 amber bruno 28 indigo hana 10 birch jules 22 amber farah 26 juniper
hana 14 hana 37 farah 59 chen 68 bruno 96 hana 106 jules 128 farah 154
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056061-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 2 indigo hana 5 delta alice 25 delta bruno 24 harbor kim 2 harbor farah 16 delta hana 16 ember
jules 2 hana 7 alice 32 bruno 56 kim 58 farah 74 hana 90
hana 14 grove hana 23 harbor farah 22 amber chen 9 amber bruno 28 indigo hana 10 birch jules 22 amber farah 26 juniper
hana 14 hana 37 farah 59 chen 68 bruno 96 hana 106 jules 128 farah 154
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056061
qwen/qwen3.7-plus
awkweave-0056062
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 23 19 harbor bruno 18 12 amber hana 4 11 juniper ivan 22 6 indigo alice 10 8 fable farah 1 8 grove dina 23 18 indigo lina 27 27 delta
dina 42 bruno 30 hana 15 ivan 28 alice 18 farah 9 dina 41 lina 54
lina 22 13 amber bruno 9 21 ember dina 22 12 amber alice 29 20 cobalt gus 22 1 cobalt alice 24 7 harbor
lina 35 bruno 30 dina 34 alice 49 gus 23 alice 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056062-p1
For each row, display field 1 followed by the combined total of fields 2 and 3.
{print $1,$2+$3}
dina 23 19 harbor bruno 18 12 amber hana 4 11 juniper ivan 22 6 indigo alice 10 8 fable farah 1 8 grove dina 23 18 indigo lina 27 27 delta
dina 42 bruno 30 hana 15 ivan 28 alice 18 farah 9 dina 41 lina 54
lina 22 13 amber bruno 9 21 ember dina 22 12 amber alice 29 20 cobalt gus 22 1 cobalt alice 24 7 harbor
lina 35 bruno 30 dina 34 alice 49 gus 23 alice 31
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056062
qwen/qwen3.7-plus
awkweave-0056063
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
farah 6 chen 18 farah 28 kim 20 farah 23 farah 22 hana 19 bruno 4
farah fail chen fail farah pass kim fail farah pass farah pass hana fail bruno fail
kim 26 hana 30 dina 28 ivan 29 gus 8 chen 1 chen 6 bruno 11
kim pass hana pass dina pass ivan pass gus fail chen fail chen fail bruno fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056063-p1
Output column 1 with the label 'pass' if column 2 is 22 or greater, otherwise output 'fail'.
{print $1,($2>=22?"pass":"fail")}
farah 6 chen 18 farah 28 kim 20 farah 23 farah 22 hana 19 bruno 4
farah fail chen fail farah pass kim fail farah pass farah pass hana fail bruno fail
kim 26 hana 30 dina 28 ivan 29 gus 8 chen 1 chen 6 bruno 11
kim pass hana pass dina pass ivan pass gus fail chen fail chen fail bruno fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056063
qwen/qwen3.7-plus
awkweave-0056064
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice amber 18 dina cobalt 72 ivan birch 93 ivan cobalt 94 hana juniper 2 jules cobalt 60 lina fable 56
AMBER COBALT BIRCH COBALT JUNIPER COBALT FABLE
farah indigo 64 alice amber 74 alice harbor 34 hana grove 71 farah amber 21 gus delta 51 chen amber 23
INDIGO AMBER HARBOR GROVE AMBER DELTA AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056064-p1
Transform column 2 to uppercase letters and output exclusively that column.
{print toupper($2)}
alice amber 18 dina cobalt 72 ivan birch 93 ivan cobalt 94 hana juniper 2 jules cobalt 60 lina fable 56
AMBER COBALT BIRCH COBALT JUNIPER COBALT FABLE
farah indigo 64 alice amber 74 alice harbor 34 hana grove 71 farah amber 21 gus delta 51 chen amber 23
INDIGO AMBER HARBOR GROVE AMBER DELTA AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056064
qwen/qwen3.7-plus
awkweave-0056065
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
amber 44 amber 120 birch 116 fable 35 ember 33 harbor 20 cobalt 94 indigo 55 ember 113 amber 18
ambe ambe birc fabl embe harb coba indi embe ambe
harbor 71 cobalt 102 birch 33 fable 17 juniper 51 grove 12 ember 5 ember 112 delta 11
harb coba birc fabl juni grov embe embe delt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056065-p1
Extract and print the first 4 characters from column 1, beginning at position 1.
{print substr($1,1,4)}
amber 44 amber 120 birch 116 fable 35 ember 33 harbor 20 cobalt 94 indigo 55 ember 113 amber 18
ambe ambe birc fabl embe harb coba indi embe ambe
harbor 71 cobalt 102 birch 33 fable 17 juniper 51 grove 12 ember 5 ember 112 delta 11
harb coba birc fabl juni grov embe embe delt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056065
qwen/qwen3.7-plus
awkweave-0056066
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_amber 110 fable_amber 113 ember_ember 85 harbor_juniper 13 grove_grove 68 ember_harbor 118 grove_indigo 95 birch_delta 120
harbor amber fable amber ember ember harbor juniper grove grove ember harbor grove indigo birch delta
indigo_amber 44 juniper_delta 120 harbor_birch 37 grove_grove 43 juniper_indigo 30 amber_ember 79 juniper_harbor 119
indigo amber juniper delta harbor birch grove grove juniper indigo amber ember juniper harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056066-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
harbor_amber 110 fable_amber 113 ember_ember 85 harbor_juniper 13 grove_grove 68 ember_harbor 118 grove_indigo 95 birch_delta 120
harbor amber fable amber ember ember harbor juniper grove grove ember harbor grove indigo birch delta
indigo_amber 44 juniper_delta 120 harbor_birch 37 grove_grove 43 juniper_indigo 30 amber_ember 79 juniper_harbor 119
indigo amber juniper delta harbor birch grove grove juniper indigo amber ember juniper harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056066
qwen/qwen3.7-plus
awkweave-0056067
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 indigo 66 paused farah ember 39 paused bruno delta 29 paused eli birch 69 closed lina cobalt 97 ready lina indigo 6 active hana harbor 23 closed hana juniper 91 closed gus delta 29 ready chen indigo 100 ready
paused 66 indigo hana paused 39 ember farah paused 29 delta bruno closed 69 birch eli ready 97 cobalt lina active 6 indigo lina closed 23 harbor hana closed 91 juniper hana ready 29 delta gus ready 100 indigo chen
dina juniper 114 active bruno indigo 110 closed chen ember 110 active dina harbor 3 closed chen delta 94 paused lina juniper 47 failed bruno grove 82 closed lina birch 51 closed hana harbor 84 pending
active 114 juniper dina closed 110 indigo bruno active 110 ember chen closed 3 harbor dina paused 94 delta chen failed 47 juniper lina closed 82 grove bruno closed 51 birch lina pending 84 harbor hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056067-p1
Invert the sequence of fields for every line and output the complete set of fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana indigo 66 paused farah ember 39 paused bruno delta 29 paused eli birch 69 closed lina cobalt 97 ready lina indigo 6 active hana harbor 23 closed hana juniper 91 closed gus delta 29 ready chen indigo 100 ready
paused 66 indigo hana paused 39 ember farah paused 29 delta bruno closed 69 birch eli ready 97 cobalt lina active 6 indigo lina closed 23 harbor hana closed 91 juniper hana ready 29 delta gus ready 100 indigo chen
dina juniper 114 active bruno indigo 110 closed chen ember 110 active dina harbor 3 closed chen delta 94 paused lina juniper 47 failed bruno grove 82 closed lina birch 51 closed hana harbor 84 pending
active 114 juniper dina closed 110 indigo bruno active 110 ember chen closed 3 harbor dina paused 94 delta chen failed 47 juniper lina closed 82 grove bruno closed 51 birch lina pending 84 harbor hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056067
qwen/qwen3.7-plus
awkweave-0056068
Print the number of whitespace-separated fields on each line.
{print NF}
chen harbor 32 ready bruno indigo 66 ready alice fable 97 failed jules grove 73 active ivan amber 35 pending kim cobalt 18 paused eli ember 57 ready
4 4 4 4 4 4 4
gus ember 60 ready hana amber 5 pending chen ember 26 active kim juniper 39 closed gus grove 62 active lina harbor 96 pending
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056068-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
chen harbor 32 ready bruno indigo 66 ready alice fable 97 failed jules grove 73 active ivan amber 35 pending kim cobalt 18 paused eli ember 57 ready
4 4 4 4 4 4 4
gus ember 60 ready hana amber 5 pending chen ember 26 active kim juniper 39 closed gus grove 62 active lina harbor 96 pending
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056068
qwen/qwen3.7-plus
awkweave-0056069
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]]}
hana gamma 57 jules delta 42 lina delta 73 lina alpha 14 kim alpha 61 bruno beta 100
gamma 1 delta 2 alpha 2 beta 1
alice delta 59 ivan gamma 33 kim alpha 17 alice alpha 64 ivan delta 117 dina alpha 118 chen gamma 66 farah gamma 65 kim alpha 29 farah delta 4
delta 3 gamma 3 alpha 4
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056069-p1
Tally the number of records for each distinct value in column 2, listing each value and its count 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]]}
hana gamma 57 jules delta 42 lina delta 73 lina alpha 14 kim alpha 61 bruno beta 100
gamma 1 delta 2 alpha 2 beta 1
alice delta 59 ivan gamma 33 kim alpha 17 alice alpha 64 ivan delta 117 dina alpha 118 chen gamma 66 farah gamma 65 kim alpha 29 farah delta 4
delta 3 gamma 3 alpha 4
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056069
qwen/qwen3.7-plus
awkweave-0056070
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]]}
kim alpha 6 jules alpha 29 bruno alpha 4 lina delta 12 bruno alpha 14 bruno delta 9 jules beta 3
alpha 53 delta 21 beta 3
ivan alpha 2 ivan alpha 25 alice delta 12 jules gamma 13 lina alpha 9 jules delta 19 dina beta 10 jules alpha 3
alpha 39 delta 31 gamma 13 beta 10
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056070-p1
Calculate the sum of column 3 for each group defined by column 2, presenting the results in the order of the groups' 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]]}
kim alpha 6 jules alpha 29 bruno alpha 4 lina delta 12 bruno alpha 14 bruno delta 9 jules beta 3
alpha 53 delta 21 beta 3
ivan alpha 2 ivan alpha 25 alice delta 12 jules gamma 13 lina alpha 9 jules delta 19 dina beta 10 jules alpha 3
alpha 39 delta 31 gamma 13 beta 10
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056070
qwen/qwen3.7-plus
awkweave-0056071
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 fable 83 beta harbor 25 gamma grove 58 gamma ember 93 alpha delta 98 beta amber 90 alpha ember 96 gamma grove 17
beta 2 gamma 3 alpha 2
beta fable 77 beta delta 71 alpha juniper 77 alpha grove 34 delta delta 57 beta birch 30 delta grove 110
beta 3 alpha 2 delta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056071-p1
List each value from column 1 that appears more than once, along with its frequency, ordered 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]]}
delta fable 83 beta harbor 25 gamma grove 58 gamma ember 93 alpha delta 98 beta amber 90 alpha ember 96 gamma grove 17
beta 2 gamma 3 alpha 2
beta fable 77 beta delta 71 alpha juniper 77 alpha grove 34 delta delta 57 beta birch 30 delta grove 110
beta 3 alpha 2 delta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056071
qwen/qwen3.7-plus
awkweave-0056072
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
record_id display_name note state r001 bruno 16 paused r002 chen 3 failed r003 chen 13 closed r004 hana 12 paused r005 dina 13 closed r006 ivan 30 closed r007 alice 4 closed r008 eli 22 active r009 chen 9 active r010 ivan 19 failed
bruno chen chen hana dina ivan alice eli chen ivan
record_id display_name note state r001 eli 25 paused r002 chen 19 pending r003 chen 12 closed r004 hana 24 failed r005 eli 23 ready r006 bruno 30 ready r007 gus 12 ready
eli chen chen hana eli bruno gus
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056072-p1
Skip the header row and output the display_name field for all remaining records.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
record_id display_name note state r001 bruno 16 paused r002 chen 3 failed r003 chen 13 closed r004 hana 12 paused r005 dina 13 closed r006 ivan 30 closed r007 alice 4 closed r008 eli 22 active r009 chen 9 active r010 ivan 19 failed
bruno chen chen hana dina ivan alice eli chen ivan
record_id display_name note state r001 eli 25 paused r002 chen 19 pending r003 chen 12 closed r004 hana 24 failed r005 eli 23 ready r006 bruno 30 ready r007 gus 12 ready
eli chen chen hana eli bruno gus
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056072
qwen/qwen3.7-plus
awkweave-0056073
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 jules 19 pending r002 chen 2 paused r003 hana 7 ready r004 chen 19 active r005 bruno 10 pending r006 lina 28 failed r007 hana 18 active r008 hana 1 pending
jules chen lina hana
record_id display_name score state r001 lina 24 paused r002 jules 8 ready r003 alice 25 active r004 gus 28 closed r005 ivan 6 closed r006 farah 1 closed r007 lina 21 ready
lina alice gus lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056073-p1
Ignore the header, then print the display_name for any data row where the score exceeds 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 jules 19 pending r002 chen 2 paused r003 hana 7 ready r004 chen 19 active r005 bruno 10 pending r006 lina 28 failed r007 hana 18 active r008 hana 1 pending
jules chen lina hana
record_id display_name score state r001 lina 24 paused r002 jules 8 ready r003 alice 25 active r004 gus 28 closed r005 ivan 6 closed r006 farah 1 closed r007 lina 21 ready
lina alice gus lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056073
qwen/qwen3.7-plus
awkweave-0056074
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 3 ready hana 14 active farah 23 ready kim 12 ready dina 15 paused lina 24 active bruno 26 failed ivan 19 ready hana 18 closed
3 14 23 12 15 24 26 19 18
alice 9 paused eli 4 active hana 14 ready ivan 15 paused alice 11 pending kim 17 pending lina 6 pending kim 18 paused bruno 21 ready kim 30 pending
9 4 14 15 11 17 6 18 21 30
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056074-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
hana 3 ready hana 14 active farah 23 ready kim 12 ready dina 15 paused lina 24 active bruno 26 failed ivan 19 ready hana 18 closed
3 14 23 12 15 24 26 19 18
alice 9 paused eli 4 active hana 14 ready ivan 15 paused alice 11 pending kim 17 pending lina 6 pending kim 18 paused bruno 21 ready kim 30 pending
9 4 14 15 11 17 6 18 21 30
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0056074
qwen/qwen3.7-plus
awkweave-0056075
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
lina,21,pending farah,10,active jules,30,closed jules,12,paused eli,24,paused ivan,22,failed jules,18,pending hana,19,closed hana,15,active farah,12,pending
lina farah jules jules eli ivan jules hana hana farah
lina,15,failed alice,3,ready gus,16,closed farah,29,ready jules,6,pending hana,10,active jules,4,ready lina,26,paused
lina gus farah hana lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056075-p1
Process simple CSV data without quoted commas; output the first column only if the second column is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
lina,21,pending farah,10,active jules,30,closed jules,12,paused eli,24,paused ivan,22,failed jules,18,pending hana,19,closed hana,15,active farah,12,pending
lina farah jules jules eli ivan jules hana hana farah
lina,15,failed alice,3,ready gus,16,closed farah,29,ready jules,6,pending hana,10,active jules,4,ready lina,26,paused
lina gus farah hana lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056075
qwen/qwen3.7-plus
awkweave-0056076
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli birch 89 eli harbor 112 lina fable 66 gus birch 10 hana fable 30 lina fable 55
eli birch 89 eli harbor 112 lina fable 66 gus birch 10 hana fable 30 lina fable 55
gus fable 44 ivan ember 47 kim grove 47 jules birch 48 alice indigo 57 alice indigo 102
gus fable 44 ivan ember 47 kim grove 47 jules birch 48 alice indigo 57 alice indigo 102
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056076-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
eli birch 89 eli harbor 112 lina fable 66 gus birch 10 hana fable 30 lina fable 55
eli birch 89 eli harbor 112 lina fable 66 gus birch 10 hana fable 30 lina fable 55
gus fable 44 ivan ember 47 kim grove 47 jules birch 48 alice indigo 57 alice indigo 102
gus fable 44 ivan ember 47 kim grove 47 jules birch 48 alice indigo 57 alice indigo 102
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056076
qwen/qwen3.7-plus
awkweave-0056077
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim fable 7 active dina ember 30 active gus delta 17 paused gus birch 5 paused alice cobalt 31 closed farah birch 5 closed bruno ember 88 active farah ember 51 active lina amber 50 pending farah fable 56 ready
alice cobalt 31 closed
kim fable 40 active bruno amber 109 failed chen amber 57 active alice delta 45 ready gus grove 62 failed eli indigo 67 paused dina grove 104 failed dina birch 32 paused kim ember 88 failed gus amber 73 closed
bruno amber 109 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056077-p1
Identify and output the longest line from the input; in case of a tie in length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
kim fable 7 active dina ember 30 active gus delta 17 paused gus birch 5 paused alice cobalt 31 closed farah birch 5 closed bruno ember 88 active farah ember 51 active lina amber 50 pending farah fable 56 ready
alice cobalt 31 closed
kim fable 40 active bruno amber 109 failed chen amber 57 active alice delta 45 ready gus grove 62 failed eli indigo 67 paused dina grove 104 failed dina birch 32 paused kim ember 88 failed gus amber 73 closed
bruno amber 109 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056077
qwen/qwen3.7-plus
awkweave-0056078
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
kim 38 jules 76 gus 98 farah 36 gus 65 alice 4 hana 82
jules 76 alice 4
dina 31 gus 60 lina 77 bruno 117 gus 117 chen 111 kim 112 alice 100 bruno 77
gus 60 chen 111
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056078-p1
Output lines 2, 6, 10, and so on, effectively printing every fourth line starting from the second.
NR%4==2
kim 38 jules 76 gus 98 farah 36 gus 65 alice 4 hana 82
jules 76 alice 4
dina 31 gus 60 lina 77 bruno 117 gus 117 chen 111 kim 112 alice 100 bruno 77
gus 60 chen 111
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056078
qwen/qwen3.7-plus
awkweave-0056079
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha fable 18 beta indigo 10 delta ember 109 beta juniper 72 delta delta 65 delta juniper 7 alpha ember 72 beta cobalt 101
3
beta amber 0 gamma indigo 65 beta fable 96 beta delta 25 beta delta 10 alpha juniper 115 delta fable 83 delta fable 19 alpha indigo 77 delta grove 1
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056079-p1
Calculate the number of unique values in the first column and print just that total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha fable 18 beta indigo 10 delta ember 109 beta juniper 72 delta delta 65 delta juniper 7 alpha ember 72 beta cobalt 101
3
beta amber 0 gamma indigo 65 beta fable 96 beta delta 25 beta delta 10 alpha juniper 115 delta fable 83 delta fable 19 alpha indigo 77 delta grove 1
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056079
qwen/qwen3.7-plus
awkweave-0056080
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}
bruno 21 0 farah 11 28 alice 27 16 lina 18 23 jules 7 11 hana 8 22 jules 14 26 chen 16 13 lina 30 19 ivan 25 23
farah 0.39 alice 1.69 lina 0.78 jules 0.64 hana 0.36 jules 0.54 chen 1.23 lina 1.58 ivan 1.09
eli 28 0 farah 20 30 chen 25 5 jules 22 18 jules 15 1 jules 8 29 eli 11 27 hana 14 14
farah 0.67 chen 5.00 jules 1.22 jules 15.00 jules 0.28 eli 0.41 hana 1.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056080-p1
For each row, output the first column and the result of dividing the second column by the third (formatted to two decimal places), omitting rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
bruno 21 0 farah 11 28 alice 27 16 lina 18 23 jules 7 11 hana 8 22 jules 14 26 chen 16 13 lina 30 19 ivan 25 23
farah 0.39 alice 1.69 lina 0.78 jules 0.64 hana 0.36 jules 0.54 chen 1.23 lina 1.58 ivan 1.09
eli 28 0 farah 20 30 chen 25 5 jules 22 18 jules 15 1 jules 8 29 eli 11 27 hana 14 14
farah 0.67 chen 5.00 jules 1.22 jules 15.00 jules 0.28 eli 0.41 hana 1.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056080
qwen/qwen3.7-plus
awkweave-0056081
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah indigo 30 lina cobalt 16 ivan amber 26 jules juniper 14 kim fable 8 jules indigo 6 ivan indigo 14 alice delta 20 gus grove 4
farah indigo 30 ivan amber 26 alice delta 20
kim delta 1 hana birch 16 chen delta 7 kim amber 15 bruno fable 29 kim birch 28 dina harbor 14
bruno fable 29 kim birch 28 hana birch 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056081-p1
Retrieve the top three records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah indigo 30 lina cobalt 16 ivan amber 26 jules juniper 14 kim fable 8 jules indigo 6 ivan indigo 14 alice delta 20 gus grove 4
farah indigo 30 ivan amber 26 alice delta 20
kim delta 1 hana birch 16 chen delta 7 kim amber 15 bruno fable 29 kim birch 28 dina harbor 14
bruno fable 29 kim birch 28 hana birch 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056081
qwen/qwen3.7-plus
awkweave-0056082
For each line, output fields 4 and 1, in that order.
{print $4, $1}
ember harbor indigo amber active indigo harbor birch indigo indigo ready juniper harbor harbor fable delta active juniper grove fable amber amber active grove delta juniper juniper harbor failed harbor amber cobalt ember fable paused fable harbor indigo ember fable failed amber
amber ember indigo harbor delta harbor amber grove harbor delta fable amber fable harbor
harbor cobalt birch ember failed delta birch birch grove cobalt ready amber indigo grove cobalt ember failed grove indigo indigo ember cobalt closed grove indigo birch cobalt amber ready juniper juniper juniper birch amber paused fable juniper fable cobalt indigo paused delta grove cobalt grove ember active cobalt ambe...
ember harbor cobalt birch ember indigo cobalt indigo amber indigo amber juniper indigo juniper ember grove delta amber delta ember
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056082-p1
For every line, print the fourth field followed by the first field.
{print $4, $1}
ember harbor indigo amber active indigo harbor birch indigo indigo ready juniper harbor harbor fable delta active juniper grove fable amber amber active grove delta juniper juniper harbor failed harbor amber cobalt ember fable paused fable harbor indigo ember fable failed amber
amber ember indigo harbor delta harbor amber grove harbor delta fable amber fable harbor
harbor cobalt birch ember failed delta birch birch grove cobalt ready amber indigo grove cobalt ember failed grove indigo indigo ember cobalt closed grove indigo birch cobalt amber ready juniper juniper juniper birch amber paused fable juniper fable cobalt indigo paused delta grove cobalt grove ember active cobalt ambe...
ember harbor cobalt birch ember indigo cobalt indigo amber indigo amber juniper indigo juniper ember grove delta amber delta ember
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056082
qwen/qwen3.7-plus
awkweave-0056083
Print the last field of every input line.
{print $NF}
failed juniper delta 68 117 closed pending cobalt indigo 5 24 active ready delta fable 28 27 closed pending juniper grove 116 38 pending failed ember ember 2 63 failed active amber ember 102 29 ready
closed active closed pending failed ready
paused amber birch 85 6 failed paused juniper juniper 8 19 failed closed delta delta 47 30 ready ready indigo amber 61 69 failed active harbor ember 107 79 failed closed birch grove 76 102 ready failed amber ember 114 1 failed
failed failed ready failed failed ready failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056083-p1
Output the final field from each line of the input.
{print $NF}
failed juniper delta 68 117 closed pending cobalt indigo 5 24 active ready delta fable 28 27 closed pending juniper grove 116 38 pending failed ember ember 2 63 failed active amber ember 102 29 ready
closed active closed pending failed ready
paused amber birch 85 6 failed paused juniper juniper 8 19 failed closed delta delta 47 30 ready ready indigo amber 61 69 failed active harbor ember 107 79 failed closed birch grove 76 102 ready failed amber ember 114 1 failed
failed failed ready failed failed ready failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056083
qwen/qwen3.7-plus
awkweave-0056084
Print the complete records where column 2 is less than 55.
$2 < 55
bruno 69 delta failed jules chen 93 juniper ready hana dina 110 grove active jules lina 92 birch paused alice hana 66 fable paused farah eli 22 fable active hana dina 119 amber active hana
eli 22 fable active hana
lina 16 fable ready kim ivan 68 harbor pending chen lina 19 juniper failed kim kim 38 harbor active hana gus 3 delta ready farah dina 44 cobalt failed ivan bruno 10 ember paused alice
lina 16 fable ready kim lina 19 juniper failed kim kim 38 harbor active hana gus 3 delta ready farah dina 44 cobalt failed ivan bruno 10 ember paused alice
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056084-p1
Output full records where the value in column 2 is strictly less than 55.
$2 < 55
bruno 69 delta failed jules chen 93 juniper ready hana dina 110 grove active jules lina 92 birch paused alice hana 66 fable paused farah eli 22 fable active hana dina 119 amber active hana
eli 22 fable active hana
lina 16 fable ready kim ivan 68 harbor pending chen lina 19 juniper failed kim kim 38 harbor active hana gus 3 delta ready farah dina 44 cobalt failed ivan bruno 10 ember paused alice
lina 16 fable ready kim lina 19 juniper failed kim kim 38 harbor active hana gus 3 delta ready farah dina 44 cobalt failed ivan bruno 10 ember paused alice
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056084
qwen/qwen3.7-plus
awkweave-0056085
Show whole lines whose 2nd field is between 10 and 20, inclusive.
$2 >= 10 && $2 <= 20
ready 14 ember closed paused 9 delta paused closed 25 ember ready pending 21 indigo closed failed 23 delta ready active 8 fable closed paused 14 amber pending
ready 14 ember closed paused 14 amber pending
ready 1 grove pending pending 23 indigo failed closed 3 grove active pending 2 harbor failed closed 8 cobalt ready closed 16 amber closed ready 3 birch pending active 27 birch failed closed 7 cobalt ready paused 12 indigo ready
closed 16 amber closed paused 12 indigo ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056085-p1
Display entire lines where the second field falls within the inclusive range of 10 to 20.
$2 >= 10 && $2 <= 20
ready 14 ember closed paused 9 delta paused closed 25 ember ready pending 21 indigo closed failed 23 delta ready active 8 fable closed paused 14 amber pending
ready 14 ember closed paused 14 amber pending
ready 1 grove pending pending 23 indigo failed closed 3 grove active pending 2 harbor failed closed 8 cobalt ready closed 16 amber closed ready 3 birch pending active 27 birch failed closed 7 cobalt ready paused 12 indigo ready
closed 16 amber closed paused 12 indigo ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056085
qwen/qwen3.7-plus
awkweave-0056086
Print column 3 only for rows where column 1 is exactly pending.
$1 == "pending"{print $3}
closed 8 jules harbor failed 32 bruno indigo closed 120 eli amber pending 17 bruno cobalt failed 35 lina delta closed 116 farah ember pending 109 alice ember ready 34 chen juniper failed 112 alice harbor
bruno alice
ready 43 alice grove failed 48 farah delta pending 102 jules harbor failed 44 dina amber closed 26 kim harbor failed 114 gus fable
jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056086-p1
Output only the third column for rows where the first column equals pending.
$1 == "pending"{print $3}
closed 8 jules harbor failed 32 bruno indigo closed 120 eli amber pending 17 bruno cobalt failed 35 lina delta closed 116 farah ember pending 109 alice ember ready 34 chen juniper failed 112 alice harbor
bruno alice
ready 43 alice grove failed 48 farah delta pending 102 jules harbor failed 44 dina amber closed 26 kim harbor failed 114 gus fable
jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056086
qwen/qwen3.7-plus
awkweave-0056087
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO 73 fable INFO 14 indigo DEBUG 90 ember INFO 50 ember INFO 104 delta WARN 80 grove WARN 85 amber WARN 3 fable ERROR 117 ember
INFO 73 fable INFO 14 indigo INFO 50 ember INFO 104 delta
DEBUG 68 delta INFO 44 grove WARN 78 fable ERROR 72 delta DEBUG 67 indigo ERROR 20 harbor
INFO 44 grove
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056087-p1
Print all fields from lines where the first field starts with INFO.
$1 ~ /^INFO/
INFO 73 fable INFO 14 indigo DEBUG 90 ember INFO 50 ember INFO 104 delta WARN 80 grove WARN 85 amber WARN 3 fable ERROR 117 ember
INFO 73 fable INFO 14 indigo INFO 50 ember INFO 104 delta
DEBUG 68 delta INFO 44 grove WARN 78 fable ERROR 72 delta DEBUG 67 indigo ERROR 20 harbor
INFO 44 grove
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056087
qwen/qwen3.7-plus
awkweave-0056088
Print every line except those containing the exact text fable.
$0 !~ /fable/
ember 103 ready ember 113 closed indigo 22 ready cobalt 107 closed delta 61 pending birch 109 active fable 999 active
ember 103 ready ember 113 closed indigo 22 ready cobalt 107 closed delta 61 pending birch 109 active
cobalt 100 pending cobalt 31 closed harbor 87 closed harbor 13 pending indigo 22 paused harbor 106 ready grove 50 paused delta 98 failed fable 999 active
cobalt 100 pending cobalt 31 closed harbor 87 closed harbor 13 pending indigo 22 paused harbor 106 ready grove 50 paused delta 98 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056088-p1
Output every line that does not contain the exact string fable.
$0 !~ /fable/
ember 103 ready ember 113 closed indigo 22 ready cobalt 107 closed delta 61 pending birch 109 active fable 999 active
ember 103 ready ember 113 closed indigo 22 ready cobalt 107 closed delta 61 pending birch 109 active
cobalt 100 pending cobalt 31 closed harbor 87 closed harbor 13 pending indigo 22 paused harbor 106 ready grove 50 paused delta 98 failed fable 999 active
cobalt 100 pending cobalt 31 closed harbor 87 closed harbor 13 pending indigo 22 paused harbor 106 ready grove 50 paused delta 98 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056088
qwen/qwen3.7-plus
awkweave-0056089
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
dina birch 19 dina harbor 88 lina fable 36 farah amber 77 gus indigo 78 eli indigo 41 ivan juniper 1 kim juniper 96
dina harbor 88 lina fable 36 farah amber 77 gus indigo 78
alice fable 8 hana indigo 116 ivan birch 90 bruno fable 63 lina cobalt 32 dina delta 69 kim fable 116 dina cobalt 8 farah cobalt 76
hana indigo 116 ivan birch 90 bruno fable 63 lina cobalt 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056089-p1
Print lines numbered 2 through 5, inclusive of both ends.
NR >= 2 && NR <= 5
dina birch 19 dina harbor 88 lina fable 36 farah amber 77 gus indigo 78 eli indigo 41 ivan juniper 1 kim juniper 96
dina harbor 88 lina fable 36 farah amber 77 gus indigo 78
alice fable 8 hana indigo 116 ivan birch 90 bruno fable 63 lina cobalt 32 dina delta 69 kim fable 116 dina cobalt 8 farah cobalt 76
hana indigo 116 ivan birch 90 bruno fable 63 lina cobalt 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056089
qwen/qwen3.7-plus
awkweave-0056100
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 7 birch hana 7 indigo ivan 7 cobalt ivan 3 ember kim 25 indigo alice 6 cobalt hana 13 indigo gus 24 birch kim 18 indigo hana 28 delta
hana 7 hana 14 ivan 21 ivan 24 kim 49 alice 55 hana 68 gus 92 kim 110 hana 138
jules 28 cobalt hana 22 delta jules 18 amber bruno 24 cobalt dina 22 cobalt eli 20 cobalt
jules 28 hana 50 jules 68 bruno 92 dina 114 eli 134
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056100-p1
For each record, output column 1 and the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 7 birch hana 7 indigo ivan 7 cobalt ivan 3 ember kim 25 indigo alice 6 cobalt hana 13 indigo gus 24 birch kim 18 indigo hana 28 delta
hana 7 hana 14 ivan 21 ivan 24 kim 49 alice 55 hana 68 gus 92 kim 110 hana 138
jules 28 cobalt hana 22 delta jules 18 amber bruno 24 cobalt dina 22 cobalt eli 20 cobalt
jules 28 hana 50 jules 68 bruno 92 dina 114 eli 134
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056100
qwen/qwen3.7-plus
awkweave-0056101
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 30 4 harbor alice 6 11 fable alice 22 10 grove bruno 30 8 fable alice 5 11 delta dina 15 18 amber lina 23 23 grove ivan 19 11 fable hana 26 21 grove chen 16 25 ember
chen 34 alice 17 alice 32 bruno 38 alice 16 dina 33 lina 46 ivan 30 hana 47 chen 41
bruno 6 3 juniper jules 14 17 grove ivan 10 29 delta dina 30 11 delta dina 26 12 cobalt chen 21 3 grove alice 16 27 amber dina 18 14 birch ivan 28 29 juniper
bruno 9 jules 31 ivan 39 dina 41 dina 38 chen 24 alice 43 dina 32 ivan 57
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056101-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 30 4 harbor alice 6 11 fable alice 22 10 grove bruno 30 8 fable alice 5 11 delta dina 15 18 amber lina 23 23 grove ivan 19 11 fable hana 26 21 grove chen 16 25 ember
chen 34 alice 17 alice 32 bruno 38 alice 16 dina 33 lina 46 ivan 30 hana 47 chen 41
bruno 6 3 juniper jules 14 17 grove ivan 10 29 delta dina 30 11 delta dina 26 12 cobalt chen 21 3 grove alice 16 27 amber dina 18 14 birch ivan 28 29 juniper
bruno 9 jules 31 ivan 39 dina 41 dina 38 chen 24 alice 43 dina 32 ivan 57
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056101
qwen/qwen3.7-plus
awkweave-0056102
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
farah 29 dina 19 jules 12 bruno 23 dina 28 dina 18 dina 20 kim 22 chen 8 dina 18
farah pass dina fail jules fail bruno fail dina pass dina fail dina fail kim fail chen fail dina fail
bruno 23 alice 29 ivan 9 alice 6 bruno 13 eli 10
bruno fail alice pass ivan fail alice fail bruno fail eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056102-p1
Output column 1 and pass if column 2 is greater than or equal to 26; otherwise, output fail.
{print $1,($2>=26?"pass":"fail")}
farah 29 dina 19 jules 12 bruno 23 dina 28 dina 18 dina 20 kim 22 chen 8 dina 18
farah pass dina fail jules fail bruno fail dina pass dina fail dina fail kim fail chen fail dina fail
bruno 23 alice 29 ivan 9 alice 6 bruno 13 eli 10
bruno fail alice pass ivan fail alice fail bruno fail eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056102
qwen/qwen3.7-plus
awkweave-0056103
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
farah delta 115 kim fable 91 dina amber 26 bruno delta 114 farah cobalt 35 hana delta 67 bruno ember 32
DELTA FABLE AMBER DELTA COBALT DELTA EMBER
farah birch 34 alice birch 101 farah fable 64 kim cobalt 32 chen delta 119 farah indigo 24
BIRCH BIRCH FABLE COBALT DELTA INDIGO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056103-p1
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
farah delta 115 kim fable 91 dina amber 26 bruno delta 114 farah cobalt 35 hana delta 67 bruno ember 32
DELTA FABLE AMBER DELTA COBALT DELTA EMBER
farah birch 34 alice birch 101 farah fable 64 kim cobalt 32 chen delta 119 farah indigo 24
BIRCH BIRCH FABLE COBALT DELTA INDIGO
uppercase
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0056103
qwen/qwen3.7-plus
awkweave-0056104
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
amber 81 cobalt 80 harbor 118 cobalt 72 juniper 65 grove 12 cobalt 2
ambe coba harb coba juni grov coba
indigo 92 ember 75 birch 90 cobalt 44 harbor 114 indigo 110
indi embe birc coba harb indi
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056104-p1
From column 1, extract and print the 4 characters beginning at position 1.
{print substr($1,1,4)}
amber 81 cobalt 80 harbor 118 cobalt 72 juniper 65 grove 12 cobalt 2
ambe coba harb coba juni grov coba
indigo 92 ember 75 birch 90 cobalt 44 harbor 114 indigo 110
indi embe birc coba harb indi
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056104
qwen/qwen3.7-plus
awkweave-0056105
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_amber 78 fable_grove 10 delta_cobalt 5 birch_indigo 4 amber_harbor 119 fable_amber 40 cobalt_birch 0 delta_cobalt 92 juniper_juniper 69
birch amber fable grove delta cobalt birch indigo amber harbor fable amber cobalt birch delta cobalt juniper juniper
grove_juniper 69 harbor_juniper 5 birch_indigo 9 birch_grove 48 harbor_amber 12 birch_harbor 114
grove juniper harbor juniper birch indigo birch grove harbor amber birch harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056105-p1
Replace all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
birch_amber 78 fable_grove 10 delta_cobalt 5 birch_indigo 4 amber_harbor 119 fable_amber 40 cobalt_birch 0 delta_cobalt 92 juniper_juniper 69
birch amber fable grove delta cobalt birch indigo amber harbor fable amber cobalt birch delta cobalt juniper juniper
grove_juniper 69 harbor_juniper 5 birch_indigo 9 birch_grove 48 harbor_amber 12 birch_harbor 114
grove juniper harbor juniper birch indigo birch grove harbor amber birch harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056105
qwen/qwen3.7-plus
awkweave-0056106
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)}
chen grove 20 ready lina cobalt 39 paused hana ember 8 failed ivan indigo 72 failed lina harbor 37 failed farah ember 8 paused jules fable 120 ready hana delta 54 active alice harbor 119 paused
ready 20 grove chen paused 39 cobalt lina failed 8 ember hana failed 72 indigo ivan failed 37 harbor lina paused 8 ember farah ready 120 fable jules active 54 delta hana paused 119 harbor alice
eli grove 46 paused lina cobalt 84 closed kim juniper 23 closed chen amber 0 paused eli fable 41 ready farah harbor 117 failed farah birch 77 closed eli indigo 82 failed alice harbor 17 ready chen indigo 7 active
paused 46 grove eli closed 84 cobalt lina closed 23 juniper kim paused 0 amber chen ready 41 fable eli failed 117 harbor farah closed 77 birch farah failed 82 indigo eli ready 17 harbor alice active 7 indigo chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056106-p1
Reverse the field order on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen grove 20 ready lina cobalt 39 paused hana ember 8 failed ivan indigo 72 failed lina harbor 37 failed farah ember 8 paused jules fable 120 ready hana delta 54 active alice harbor 119 paused
ready 20 grove chen paused 39 cobalt lina failed 8 ember hana failed 72 indigo ivan failed 37 harbor lina paused 8 ember farah ready 120 fable jules active 54 delta hana paused 119 harbor alice
eli grove 46 paused lina cobalt 84 closed kim juniper 23 closed chen amber 0 paused eli fable 41 ready farah harbor 117 failed farah birch 77 closed eli indigo 82 failed alice harbor 17 ready chen indigo 7 active
paused 46 grove eli closed 84 cobalt lina closed 23 juniper kim paused 0 amber chen ready 41 fable eli failed 117 harbor farah closed 77 birch farah failed 82 indigo eli ready 17 harbor alice active 7 indigo chen
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056106
qwen/qwen3.7-plus
awkweave-0056107
Print the number of whitespace-separated fields on each line.
{print NF}
lina harbor 110 closed alice ember 17 ready lina ember 36 active kim harbor 89 paused chen grove 60 closed ivan ember 112 active hana amber 16 closed lina cobalt 112 active
4 4 4 4 4 4 4 4
eli grove 52 ready ivan amber 24 failed ivan delta 83 failed jules cobalt 89 pending farah delta 90 pending alice birch 99 pending kim delta 64 ready lina cobalt 39 pending
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056107-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
lina harbor 110 closed alice ember 17 ready lina ember 36 active kim harbor 89 paused chen grove 60 closed ivan ember 112 active hana amber 16 closed lina cobalt 112 active
4 4 4 4 4 4 4 4
eli grove 52 ready ivan amber 24 failed ivan delta 83 failed jules cobalt 89 pending farah delta 90 pending alice birch 99 pending kim delta 64 ready lina cobalt 39 pending
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056107
qwen/qwen3.7-plus
awkweave-0056108
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]]}
bruno delta 3 kim gamma 92 dina alpha 58 eli alpha 96 gus delta 64 farah delta 93 farah delta 17
delta 4 gamma 1 alpha 2
hana beta 23 bruno alpha 101 bruno delta 32 dina alpha 112 hana gamma 49 farah delta 5 jules alpha 23 kim alpha 51 hana gamma 113
beta 1 alpha 4 delta 2 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056108-p1
Tally records by the value in column 2, then print each unique value alongside its total count 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]]}
bruno delta 3 kim gamma 92 dina alpha 58 eli alpha 96 gus delta 64 farah delta 93 farah delta 17
delta 4 gamma 1 alpha 2
hana beta 23 bruno alpha 101 bruno delta 32 dina alpha 112 hana gamma 49 farah delta 5 jules alpha 23 kim alpha 51 hana gamma 113
beta 1 alpha 4 delta 2 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056108
qwen/qwen3.7-plus
awkweave-0056109
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan delta 26 alice delta 26 alice delta 7 ivan delta 30 lina delta 3 lina alpha 20
delta 92 alpha 20
gus alpha 1 lina alpha 21 bruno alpha 19 ivan alpha 12 farah gamma 26 gus alpha 30 gus gamma 18 farah beta 25 bruno alpha 14 bruno beta 6
alpha 97 gamma 44 beta 31
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056109-p1
Calculate the sum of column 3 grouped by column 2 values, displaying the 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]]}
ivan delta 26 alice delta 26 alice delta 7 ivan delta 30 lina delta 3 lina alpha 20
delta 92 alpha 20
gus alpha 1 lina alpha 21 bruno alpha 19 ivan alpha 12 farah gamma 26 gus alpha 30 gus gamma 18 farah beta 25 bruno alpha 14 bruno beta 6
alpha 97 gamma 44 beta 31
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056109
qwen/qwen3.7-plus
awkweave-0056110
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 delta 78 alpha amber 115 alpha indigo 16 alpha indigo 39 gamma ember 7 delta grove 23 alpha grove 106
delta 2 alpha 4
beta juniper 0 delta cobalt 22 delta cobalt 78 alpha delta 3 alpha ember 81 delta harbor 62 delta grove 112 beta grove 86 beta harbor 84 beta fable 27
beta 4 delta 4 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056110-p1
List each duplicate value from column 1 with its occurrence count, ordered 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]]}
delta delta 78 alpha amber 115 alpha indigo 16 alpha indigo 39 gamma ember 7 delta grove 23 alpha grove 106
delta 2 alpha 4
beta juniper 0 delta cobalt 22 delta cobalt 78 alpha delta 3 alpha ember 81 delta harbor 62 delta grove 112 beta grove 86 beta harbor 84 beta fable 27
beta 4 delta 4 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056110
qwen/qwen3.7-plus
awkweave-0056111
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
score display_name record_id region r001 alice 17 pending r002 hana 28 active r003 alice 9 closed r004 hana 1 closed r005 lina 16 active r006 lina 2 failed r007 dina 26 failed r008 kim 28 failed r009 gus 26 ready
alice hana alice hana lina lina dina kim gus
score display_name record_id region r001 alice 14 paused r002 eli 23 closed r003 dina 23 active r004 farah 8 failed r005 alice 17 failed r006 ivan 16 failed r007 gus 2 pending
alice eli dina farah alice ivan gus
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056111-p1
Treating the first row as a header, output the display_name column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
score display_name record_id region r001 alice 17 pending r002 hana 28 active r003 alice 9 closed r004 hana 1 closed r005 lina 16 active r006 lina 2 failed r007 dina 26 failed r008 kim 28 failed r009 gus 26 ready
alice hana alice hana lina lina dina kim gus
score display_name record_id region r001 alice 14 paused r002 eli 23 closed r003 dina 23 active r004 farah 8 failed r005 alice 17 failed r006 ivan 16 failed r007 gus 2 pending
alice eli dina farah alice ivan gus
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056111
qwen/qwen3.7-plus
awkweave-0056112
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 dina 22 active r002 farah 16 paused r003 gus 4 closed r004 dina 19 failed r005 alice 6 ready r006 dina 22 paused r007 gus 28 active r008 alice 12 pending
dina farah dina dina gus alice
record_id display_name score state r001 ivan 7 paused r002 farah 23 ready r003 alice 3 active r004 gus 23 closed r005 bruno 19 active r006 jules 25 pending r007 gus 19 ready r008 farah 27 pending r009 chen 20 closed
farah gus bruno jules gus farah chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056112-p1
With the first row as a header, output the display_name for data rows where the 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 dina 22 active r002 farah 16 paused r003 gus 4 closed r004 dina 19 failed r005 alice 6 ready r006 dina 22 paused r007 gus 28 active r008 alice 12 pending
dina farah dina dina gus alice
record_id display_name score state r001 ivan 7 paused r002 farah 23 ready r003 alice 3 active r004 gus 23 closed r005 bruno 19 active r006 jules 25 pending r007 gus 19 ready r008 farah 27 pending r009 chen 20 closed
farah gus bruno jules gus farah chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056112
qwen/qwen3.7-plus