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-0050882-p1
Tally the number of records for each distinct value in the second column, printing the value and its count in the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan gamma 90 jules beta 6 ivan beta 120 farah delta 43 dina alpha 55 farah alpha 56 eli alpha 60
gamma 1 beta 2 delta 1 alpha 3
farah gamma 64 eli delta 40 hana beta 24 bruno gamma 94 farah delta 82 eli beta 90
gamma 2 delta 2 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050882
qwen/qwen3.7-plus
awkweave-0050883
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]]}
gus beta 27 jules alpha 13 alice delta 12 chen alpha 19 gus alpha 24 farah alpha 7 kim beta 12 ivan delta 6 farah delta 30
beta 39 alpha 63 delta 48
bruno delta 23 eli beta 30 chen beta 18 lina beta 2 ivan alpha 18 farah alpha 26 bruno gamma 14 ivan gamma 17 farah delta 4
delta 27 beta 50 alpha 44 gamma 31
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050883-p1
Calculate the sum of the third column for each group defined by the second column, 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]]}
gus beta 27 jules alpha 13 alice delta 12 chen alpha 19 gus alpha 24 farah alpha 7 kim beta 12 ivan delta 6 farah delta 30
beta 39 alpha 63 delta 48
bruno delta 23 eli beta 30 chen beta 18 lina beta 2 ivan alpha 18 farah alpha 26 bruno gamma 14 ivan gamma 17 farah delta 4
delta 27 beta 50 alpha 44 gamma 31
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050883
qwen/qwen3.7-plus
awkweave-0050884
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 juniper 2 gamma ember 105 gamma fable 82 gamma ember 40 alpha ember 39 beta grove 109 alpha harbor 45 beta juniper 77 delta harbor 0 alpha indigo 59
delta 2 gamma 3 alpha 3 beta 2
beta grove 51 delta juniper 34 beta harbor 30 beta amber 120 gamma delta 4 gamma birch 71
beta 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050884-p1
List each unique value from the first column alongside its frequency count, maintaining the order in which they first appear.
{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 juniper 2 gamma ember 105 gamma fable 82 gamma ember 40 alpha ember 39 beta grove 109 alpha harbor 45 beta juniper 77 delta harbor 0 alpha indigo 59
delta 2 gamma 3 alpha 3 beta 2
beta grove 51 delta juniper 34 beta harbor 30 beta amber 120 gamma delta 4 gamma birch 71
beta 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050884
qwen/qwen3.7-plus
awkweave-0050885
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name region score record_id r001 chen 26 failed r002 gus 23 closed r003 chen 22 closed r004 dina 26 closed r005 chen 26 pending r006 jules 26 pending r007 kim 3 failed r008 lina 21 failed r009 hana 26 failed
chen gus chen dina chen jules kim lina hana
display_name region score record_id r001 jules 11 active r002 dina 4 ready r003 dina 8 pending r004 alice 24 active r005 bruno 26 closed r006 kim 30 ready r007 gus 27 ready r008 farah 1 pending
jules dina dina alice bruno kim gus farah
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050885-p1
Treat the initial row as a header and output the values from the region column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name region score record_id r001 chen 26 failed r002 gus 23 closed r003 chen 22 closed r004 dina 26 closed r005 chen 26 pending r006 jules 26 pending r007 kim 3 failed r008 lina 21 failed r009 hana 26 failed
chen gus chen dina chen jules kim lina hana
display_name region score record_id r001 jules 11 active r002 dina 4 ready r003 dina 8 pending r004 alice 24 active r005 bruno 26 closed r006 kim 30 ready r007 gus 27 ready r008 farah 1 pending
jules dina dina alice bruno kim gus farah
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050885
qwen/qwen3.7-plus
awkweave-0050886
The first row is a header. Print display_name for data rows whose score is greater than 16.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]}
record_id display_name score state r001 lina 7 paused r002 kim 3 paused r003 jules 29 closed r004 kim 26 paused r005 gus 28 active r006 eli 28 closed
jules kim gus eli
record_id display_name score state r001 bruno 14 failed r002 ivan 12 closed r003 lina 11 paused r004 eli 24 ready r005 hana 12 active r006 alice 9 ready r007 eli 14 pending
eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050886-p1
Ignoring the header row, display the display_name field for any record where the score is strictly greater than 16.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]}
record_id display_name score state r001 lina 7 paused r002 kim 3 paused r003 jules 29 closed r004 kim 26 paused r005 gus 28 active r006 eli 28 closed
jules kim gus eli
record_id display_name score state r001 bruno 14 failed r002 ivan 12 closed r003 lina 11 paused r004 eli 24 ready r005 hana 12 active r006 alice 9 ready r007 eli 14 pending
eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050886
qwen/qwen3.7-plus
awkweave-0050887
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 23 closed hana 13 ready hana 23 closed dina 1 ready ivan 24 ready farah 20 pending bruno 20 ready farah 29 failed ivan 30 closed farah 15 paused
23 13 23 1 24 20 20 29 30 15
dina 21 pending lina 3 closed kim 20 closed ivan 26 pending farah 26 closed hana 22 active alice 27 closed eli 22 ready chen 28 paused
21 3 20 26 26 22 27 22 28
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050887-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 23 closed hana 13 ready hana 23 closed dina 1 ready ivan 24 ready farah 20 pending bruno 20 ready farah 29 failed ivan 30 closed farah 15 paused
23 13 23 1 24 20 20 29 30 15
dina 21 pending lina 3 closed kim 20 closed ivan 26 pending farah 26 closed hana 22 active alice 27 closed eli 22 ready chen 28 paused
21 3 20 26 26 22 27 22 28
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0050887
qwen/qwen3.7-plus
awkweave-0050888
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20.
BEGIN{FS=OFS=","}$2>20{print $1}
chen,4,failed alice,23,ready jules,11,closed kim,12,failed farah,11,ready gus,10,closed lina,25,failed lina,13,pending eli,15,active dina,19,ready
alice lina
ivan,8,closed chen,1,closed lina,26,ready farah,21,closed kim,24,closed dina,26,ready
lina farah kim dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050888-p1
For simple comma-separated input without quoted commas, output the first column only if the second column's value is greater than 20.
BEGIN{FS=OFS=","}$2>20{print $1}
chen,4,failed alice,23,ready jules,11,closed kim,12,failed farah,11,ready gus,10,closed lina,25,failed lina,13,pending eli,15,active dina,19,ready
alice lina
ivan,8,closed chen,1,closed lina,26,ready farah,21,closed kim,24,closed dina,26,ready
lina farah kim dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050888
qwen/qwen3.7-plus
awkweave-0050889
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim indigo 118 bruno harbor 116 gus grove 49 dina cobalt 104 gus ember 84 alice ember 25 alice ember 82 kim birch 34 eli indigo 86 lina juniper 29
kim indigo 118 bruno harbor 116 gus grove 49 dina cobalt 104 gus ember 84 alice ember 25 alice ember 82 kim birch 34 eli indigo 86 lina juniper 29
dina grove 77 jules cobalt 63 kim cobalt 32 lina ember 34 farah amber 117 jules birch 98 kim amber 60 gus grove 2 ivan amber 0 dina ember 80
dina grove 77 jules cobalt 63 kim cobalt 32 lina ember 34 farah amber 117 jules birch 98 kim amber 60 gus grove 2 ivan amber 0 dina ember 80
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050889-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
kim indigo 118 bruno harbor 116 gus grove 49 dina cobalt 104 gus ember 84 alice ember 25 alice ember 82 kim birch 34 eli indigo 86 lina juniper 29
kim indigo 118 bruno harbor 116 gus grove 49 dina cobalt 104 gus ember 84 alice ember 25 alice ember 82 kim birch 34 eli indigo 86 lina juniper 29
dina grove 77 jules cobalt 63 kim cobalt 32 lina ember 34 farah amber 117 jules birch 98 kim amber 60 gus grove 2 ivan amber 0 dina ember 80
dina grove 77 jules cobalt 63 kim cobalt 32 lina ember 34 farah amber 117 jules birch 98 kim amber 60 gus grove 2 ivan amber 0 dina ember 80
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050889
qwen/qwen3.7-plus
awkweave-0050900
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
delta 100 DEBUG indigo 99 INFO birch 17 DEBUG birch 41 INFO juniper 5 ERROR grove 78 WARN ember 7 ERROR juniper 49 DEBUG ember 113 INFO ember 117 DEBUG
indigo 99 INFO birch 41 INFO ember 113 INFO
indigo 13 WARN harbor 36 INFO juniper 78 WARN birch 46 DEBUG ember 102 WARN cobalt 94 INFO juniper 48 DEBUG indigo 78 INFO grove 116 ERROR
harbor 36 INFO cobalt 94 INFO indigo 78 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050900-p1
Output all fields from any line where the third field starts with the string INFO.
$3 ~ /^INFO/
delta 100 DEBUG indigo 99 INFO birch 17 DEBUG birch 41 INFO juniper 5 ERROR grove 78 WARN ember 7 ERROR juniper 49 DEBUG ember 113 INFO ember 117 DEBUG
indigo 99 INFO birch 41 INFO ember 113 INFO
indigo 13 WARN harbor 36 INFO juniper 78 WARN birch 46 DEBUG ember 102 WARN cobalt 94 INFO juniper 48 DEBUG indigo 78 INFO grove 116 ERROR
harbor 36 INFO cobalt 94 INFO indigo 78 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050900
qwen/qwen3.7-plus
awkweave-0050901
Print every line except those containing the exact text birch.
$0 !~ /birch/
fable 89 closed fable 29 failed juniper 47 ready grove 111 closed delta 7 ready juniper 83 closed delta 44 pending amber 14 active birch 999 active
fable 89 closed fable 29 failed juniper 47 ready grove 111 closed delta 7 ready juniper 83 closed delta 44 pending amber 14 active
birch 30 pending juniper 69 closed fable 50 ready amber 63 ready cobalt 69 pending juniper 46 failed birch 93 pending indigo 43 ready harbor 63 closed birch 999 active
juniper 69 closed fable 50 ready amber 63 ready cobalt 69 pending juniper 46 failed indigo 43 ready harbor 63 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050901-p1
Print every line that does not contain the exact substring birch.
$0 !~ /birch/
fable 89 closed fable 29 failed juniper 47 ready grove 111 closed delta 7 ready juniper 83 closed delta 44 pending amber 14 active birch 999 active
fable 89 closed fable 29 failed juniper 47 ready grove 111 closed delta 7 ready juniper 83 closed delta 44 pending amber 14 active
birch 30 pending juniper 69 closed fable 50 ready amber 63 ready cobalt 69 pending juniper 46 failed birch 93 pending indigo 43 ready harbor 63 closed birch 999 active
juniper 69 closed fable 50 ready amber 63 ready cobalt 69 pending juniper 46 failed indigo 43 ready harbor 63 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050901
qwen/qwen3.7-plus
awkweave-0050902
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
hana amber 49 gus grove 113 hana fable 10 lina birch 14 dina ember 13 lina harbor 115
lina birch 14 dina ember 13
dina fable 78 farah amber 94 eli ember 58 hana birch 103 jules ember 68 ivan amber 112 lina cobalt 100 eli birch 83 eli amber 93
hana birch 103 jules ember 68
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050902-p1
Display lines 4 through 5, inclusive of both the start and end lines.
NR >= 4 && NR <= 5
hana amber 49 gus grove 113 hana fable 10 lina birch 14 dina ember 13 lina harbor 115
lina birch 14 dina ember 13
dina fable 78 farah amber 94 eli ember 58 hana birch 103 jules ember 68 ivan amber 112 lina cobalt 100 eli birch 83 eli amber 93
hana birch 103 jules ember 68
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050902
qwen/qwen3.7-plus
awkweave-0050903
Output only the first 5 records.
NR <= 5
farah 89 cobalt kim 21 cobalt farah 105 indigo hana 1 ember alice 110 indigo dina 46 cobalt
farah 89 cobalt kim 21 cobalt farah 105 indigo hana 1 ember alice 110 indigo
dina 44 grove lina 30 harbor lina 42 harbor eli 29 juniper hana 58 ember jules 73 amber alice 108 amber lina 108 indigo kim 30 harbor
dina 44 grove lina 30 harbor lina 42 harbor eli 29 juniper hana 58 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050903-p1
Restrict the output to only the first five records.
NR <= 5
farah 89 cobalt kim 21 cobalt farah 105 indigo hana 1 ember alice 110 indigo dina 46 cobalt
farah 89 cobalt kim 21 cobalt farah 105 indigo hana 1 ember alice 110 indigo
dina 44 grove lina 30 harbor lina 42 harbor eli 29 juniper hana 58 ember jules 73 amber alice 108 amber lina 108 indigo kim 30 harbor
dina 44 grove lina 30 harbor lina 42 harbor eli 29 juniper hana 58 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050903
qwen/qwen3.7-plus
awkweave-0050904
Skip the first line and print every remaining line unchanged.
NR > 1
chen 18 grove alice 108 fable jules 0 harbor kim 29 fable hana 29 indigo bruno 92 cobalt lina 75 grove ivan 14 indigo
alice 108 fable jules 0 harbor kim 29 fable hana 29 indigo bruno 92 cobalt lina 75 grove ivan 14 indigo
dina 4 cobalt farah 102 fable ivan 61 juniper farah 28 juniper dina 84 cobalt farah 46 harbor
farah 102 fable ivan 61 juniper farah 28 juniper dina 84 cobalt farah 46 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050904-p1
Omit the first line and print all remaining lines exactly as they are.
NR > 1
chen 18 grove alice 108 fable jules 0 harbor kim 29 fable hana 29 indigo bruno 92 cobalt lina 75 grove ivan 14 indigo
alice 108 fable jules 0 harbor kim 29 fable hana 29 indigo bruno 92 cobalt lina 75 grove ivan 14 indigo
dina 4 cobalt farah 102 fable ivan 61 juniper farah 28 juniper dina 84 cobalt farah 46 harbor
farah 102 fable ivan 61 juniper farah 28 juniper dina 84 cobalt farah 46 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050904
qwen/qwen3.7-plus
awkweave-0050905
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
dina failed 107 kim failed 108 dina ready 81 kim ready 86 hana ready 60 lina ready 6
0
gus paused 8 bruno failed 119 lina pending 64 eli ready 68 chen pending 33 ivan paused 89 eli ready 89 alice pending 2 farah ready 12
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050905-p1
Calculate the number of records where the second column contains pending, and output 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
dina failed 107 kim failed 108 dina ready 81 kim ready 86 hana ready 60 lina ready 6
0
gus paused 8 bruno failed 119 lina pending 64 eli ready 68 chen pending 33 ivan paused 89 eli ready 89 alice pending 2 farah ready 12
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050905
qwen/qwen3.7-plus
awkweave-0050906
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
15 gus cobalt 10 alice birch 9 ivan delta 15 hana grove 7 hana fable 19 dina juniper 7 hana ember 14 eli grove 23 lina juniper 9 kim indigo
128
27 dina harbor 12 gus indigo 4 alice fable 23 lina ember 5 bruno juniper 11 alice delta 5 kim delta
87
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050906-p1
Compute and output the total of all integer values found in the first column.
{s+=$1}END{print s+0}
15 gus cobalt 10 alice birch 9 ivan delta 15 hana grove 7 hana fable 19 dina juniper 7 hana ember 14 eli grove 23 lina juniper 9 kim indigo
128
27 dina harbor 12 gus indigo 4 alice fable 23 lina ember 5 bruno juniper 11 alice delta 5 kim delta
87
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050906
qwen/qwen3.7-plus
awkweave-0050907
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
dina harbor 20 dina grove 20 chen fable 1 hana grove 19 ivan cobalt 9 lina birch 20 eli fable 14 jules juniper 19
15.25
kim birch 6 farah juniper 6 lina cobalt 4 chen indigo 12 farah cobalt 4 bruno delta 24 hana delta 2 jules amber 27 lina indigo 29
12.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050907-p1
Output the average of the values in the third column, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
dina harbor 20 dina grove 20 chen fable 1 hana grove 19 ivan cobalt 9 lina birch 20 eli fable 14 jules juniper 19
15.25
kim birch 6 farah juniper 6 lina cobalt 4 chen indigo 12 farah cobalt 4 bruno delta 24 hana delta 2 jules amber 27 lina indigo 29
12.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050907
qwen/qwen3.7-plus
awkweave-0050908
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules cobalt 25 gus harbor 11 eli fable 28 alice grove 29 kim delta 2 eli ember 25
2
kim harbor 15 chen grove 8 lina grove 15 lina delta 13 lina amber 17 hana fable 1 farah indigo 16 jules grove 14 jules amber 5
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050908-p1
Identify and display the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules cobalt 25 gus harbor 11 eli fable 28 alice grove 29 kim delta 2 eli ember 25
2
kim harbor 15 chen grove 8 lina grove 15 lina delta 13 lina amber 17 hana fable 1 farah indigo 16 jules grove 14 jules amber 5
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050908
qwen/qwen3.7-plus
awkweave-0050909
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
15 juniper kim 22 harbor chen 3 delta kim 25 juniper gus 19 fable chen 22 juniper bruno 23 grove hana 28 grove jules
28
5 amber chen 11 delta dina 8 ember bruno 9 indigo gus 6 cobalt eli 25 cobalt lina 9 fable hana 4 ember lina
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050909-p1
Identify and display the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
15 juniper kim 22 harbor chen 3 delta kim 25 juniper gus 19 fable chen 22 juniper bruno 23 grove hana 28 grove jules
28
5 amber chen 11 delta dina 8 ember bruno 9 indigo gus 6 cobalt eli 25 cobalt lina 9 fable hana 4 ember lina
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050909
qwen/qwen3.7-plus
awkweave-0050910
Count all input records and print the total.
END{print NR}
ivan 21 chen 76 lina 70 alice 42 farah 52 gus 120 ivan 95
7
gus 40 gus 52 hana 72 lina 84 dina 39 farah 33 alice 11 lina 21 bruno 1 alice 60
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050910-p1
Count the total number of input records and print the result.
END{print NR}
ivan 21 chen 76 lina 70 alice 42 farah 52 gus 120 ivan 95
7
gus 40 gus 52 hana 72 lina 84 dina 39 farah 33 alice 11 lina 21 bruno 1 alice 60
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050910
qwen/qwen3.7-plus
awkweave-0050911
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah amber 106 jules fable 15 gus grove 65 kim delta 107 kim delta 107 lina cobalt 85 farah indigo 35
farah amber 106 jules fable 15 gus grove 65 kim delta 107 lina cobalt 85 farah indigo 35
eli birch 8 farah amber 80 gus fable 93 eli birch 8 lina birch 12 dina harbor 34 ivan delta 91
eli birch 8 farah amber 80 gus fable 93 lina birch 12 dina harbor 34 ivan delta 91
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050911-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
farah amber 106 jules fable 15 gus grove 65 kim delta 107 kim delta 107 lina cobalt 85 farah indigo 35
farah amber 106 jules fable 15 gus grove 65 kim delta 107 lina cobalt 85 farah indigo 35
eli birch 8 farah amber 80 gus fable 93 eli birch 8 lina birch 12 dina harbor 34 ivan delta 91
eli birch 8 farah amber 80 gus fable 93 lina birch 12 dina harbor 34 ivan delta 91
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050911
qwen/qwen3.7-plus
awkweave-0050912
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
gus harbor 33 farah juniper 99 ivan ember 38 eli grove 109 kim amber 43 bruno harbor 79 kim fable 58
gus harbor 33 farah juniper 99 ivan ember 38 eli grove 109 kim amber 43 bruno harbor 79 kim fable 58
hana fable 107 dina birch 3 hana birch 66 eli fable 110 gus ember 33 ivan harbor 18
hana fable 107 dina birch 3 hana birch 66 eli fable 110 gus ember 33 ivan harbor 18
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050912-p1
Retain only the initial line for every unique value in column 3, while preserving the input order.
!seen[$3]++
gus harbor 33 farah juniper 99 ivan ember 38 eli grove 109 kim amber 43 bruno harbor 79 kim fable 58
gus harbor 33 farah juniper 99 ivan ember 38 eli grove 109 kim amber 43 bruno harbor 79 kim fable 58
hana fable 107 dina birch 3 hana birch 66 eli fable 110 gus ember 33 ivan harbor 18
hana fable 107 dina birch 3 hana birch 66 eli fable 110 gus ember 33 ivan harbor 18
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050912
qwen/qwen3.7-plus
awkweave-0050913
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 8 cobalt hana 6 indigo kim 2 delta chen 17 delta eli 26 juniper jules 1 delta hana 20 juniper kim 30 juniper alice 30 amber lina 30 delta
eli 8 hana 14 kim 16 chen 33 eli 59 jules 60 hana 80 kim 110 alice 140 lina 170
bruno 20 delta chen 14 harbor ivan 7 harbor dina 3 delta chen 24 grove jules 3 ember chen 18 delta alice 12 indigo hana 2 fable
bruno 20 chen 34 ivan 41 dina 44 chen 68 jules 71 chen 89 alice 101 hana 103
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050913-p1
For each entry, output the value from column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 8 cobalt hana 6 indigo kim 2 delta chen 17 delta eli 26 juniper jules 1 delta hana 20 juniper kim 30 juniper alice 30 amber lina 30 delta
eli 8 hana 14 kim 16 chen 33 eli 59 jules 60 hana 80 kim 110 alice 140 lina 170
bruno 20 delta chen 14 harbor ivan 7 harbor dina 3 delta chen 24 grove jules 3 ember chen 18 delta alice 12 indigo hana 2 fable
bruno 20 chen 34 ivan 41 dina 44 chen 68 jules 71 chen 89 alice 101 hana 103
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050913
qwen/qwen3.7-plus
awkweave-0050914
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 16 19 amber kim 26 22 birch ivan 30 10 fable jules 21 12 harbor ivan 3 4 harbor dina 13 15 fable farah 30 14 cobalt dina 12 13 amber ivan 25 17 ember jules 16 20 harbor
kim 35 kim 48 ivan 40 jules 33 ivan 7 dina 28 farah 44 dina 25 ivan 42 jules 36
gus 24 4 fable chen 27 23 indigo dina 23 4 birch dina 23 16 amber bruno 6 30 fable jules 6 4 birch farah 10 13 ember lina 18 14 amber farah 27 14 amber
gus 28 chen 50 dina 27 dina 39 bruno 36 jules 10 farah 23 lina 32 farah 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050914-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 16 19 amber kim 26 22 birch ivan 30 10 fable jules 21 12 harbor ivan 3 4 harbor dina 13 15 fable farah 30 14 cobalt dina 12 13 amber ivan 25 17 ember jules 16 20 harbor
kim 35 kim 48 ivan 40 jules 33 ivan 7 dina 28 farah 44 dina 25 ivan 42 jules 36
gus 24 4 fable chen 27 23 indigo dina 23 4 birch dina 23 16 amber bruno 6 30 fable jules 6 4 birch farah 10 13 ember lina 18 14 amber farah 27 14 amber
gus 28 chen 50 dina 27 dina 39 bruno 36 jules 10 farah 23 lina 32 farah 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050914
qwen/qwen3.7-plus
awkweave-0050915
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
lina 1 ivan 3 farah 5 jules 14 bruno 17 hana 29
lina fail ivan fail farah fail jules fail bruno fail hana pass
kim 8 gus 16 kim 9 gus 27 jules 1 farah 18 kim 26 chen 12 gus 21 hana 16
kim fail gus fail kim fail gus pass jules fail farah fail kim pass chen fail gus fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050915-p1
Print the value from column 1, appending 'pass' if column 2 is 22 or greater, otherwise append 'fail'.
{print $1,($2>=22?"pass":"fail")}
lina 1 ivan 3 farah 5 jules 14 bruno 17 hana 29
lina fail ivan fail farah fail jules fail bruno fail hana pass
kim 8 gus 16 kim 9 gus 27 jules 1 farah 18 kim 26 chen 12 gus 21 hana 16
kim fail gus fail kim fail gus pass jules fail farah fail kim pass chen fail gus fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050915
qwen/qwen3.7-plus
awkweave-0050916
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
gus grove 45 dina ember 71 lina harbor 104 chen birch 39 lina amber 113 eli harbor 112
GROVE EMBER HARBOR BIRCH AMBER HARBOR
dina grove 84 kim grove 47 farah amber 117 chen harbor 119 bruno delta 96 lina cobalt 88 eli grove 102 alice delta 15 alice delta 110 gus harbor 92
GROVE GROVE AMBER HARBOR DELTA COBALT GROVE DELTA DELTA HARBOR
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050916-p1
Transform the content of column 2 to uppercase and print only that modified column.
{print toupper($2)}
gus grove 45 dina ember 71 lina harbor 104 chen birch 39 lina amber 113 eli harbor 112
GROVE EMBER HARBOR BIRCH AMBER HARBOR
dina grove 84 kim grove 47 farah amber 117 chen harbor 119 bruno delta 96 lina cobalt 88 eli grove 102 alice delta 15 alice delta 110 gus harbor 92
GROVE GROVE AMBER HARBOR DELTA COBALT GROVE DELTA DELTA HARBOR
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050916
qwen/qwen3.7-plus
awkweave-0050917
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
delta 90 fable 11 indigo 62 amber 2 juniper 117 ember 113
el ab nd mb un mb
cobalt 26 birch 39 harbor 52 ember 63 cobalt 51 birch 100 juniper 115
ob ir ar mb ob ir un
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050917-p1
Extract and print a substring of length 2 from column 1, starting at the second character.
{print substr($1,2,2)}
delta 90 fable 11 indigo 62 amber 2 juniper 117 ember 113
el ab nd mb un mb
cobalt 26 birch 39 harbor 52 ember 63 cobalt 51 birch 100 juniper 115
ob ir ar mb ob ir un
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050917
qwen/qwen3.7-plus
awkweave-0050918
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_birch 78 harbor_indigo 62 ember_cobalt 53 indigo_delta 96 cobalt_ember 61 cobalt_delta 29 indigo_fable 84
ember birch harbor indigo ember cobalt indigo delta cobalt ember cobalt delta indigo fable
fable_juniper 104 amber_delta 51 delta_harbor 72 fable_harbor 117 harbor_grove 104 harbor_harbor 58 indigo_cobalt 16 fable_birch 116 cobalt_grove 14
fable juniper amber delta delta harbor fable harbor harbor grove harbor harbor indigo cobalt fable birch cobalt grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050918-p1
Substitute all underscores with spaces in the first column and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_birch 78 harbor_indigo 62 ember_cobalt 53 indigo_delta 96 cobalt_ember 61 cobalt_delta 29 indigo_fable 84
ember birch harbor indigo ember cobalt indigo delta cobalt ember cobalt delta indigo fable
fable_juniper 104 amber_delta 51 delta_harbor 72 fable_harbor 117 harbor_grove 104 harbor_harbor 58 indigo_cobalt 16 fable_birch 116 cobalt_grove 14
fable juniper amber delta delta harbor fable harbor harbor grove harbor harbor indigo cobalt fable birch cobalt grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050918
qwen/qwen3.7-plus
awkweave-0050919
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 106 failed chen fable 24 failed dina ember 25 active chen delta 97 ready ivan fable 74 paused ivan harbor 12 ready
failed 106 indigo hana failed 24 fable chen active 25 ember dina ready 97 delta chen paused 74 fable ivan ready 12 harbor ivan
gus harbor 85 active farah delta 48 closed jules fable 41 active lina indigo 60 ready jules cobalt 3 ready bruno ember 79 active jules fable 112 ready
active 85 harbor gus closed 48 delta farah active 41 fable jules ready 60 indigo lina ready 3 cobalt jules active 79 ember bruno ready 112 fable jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050919-p1
Reverse the sequence of fields for each line and display every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana indigo 106 failed chen fable 24 failed dina ember 25 active chen delta 97 ready ivan fable 74 paused ivan harbor 12 ready
failed 106 indigo hana failed 24 fable chen active 25 ember dina ready 97 delta chen paused 74 fable ivan ready 12 harbor ivan
gus harbor 85 active farah delta 48 closed jules fable 41 active lina indigo 60 ready jules cobalt 3 ready bruno ember 79 active jules fable 112 ready
active 85 harbor gus closed 48 delta farah active 41 fable jules ready 60 indigo lina ready 3 cobalt jules active 79 ember bruno ready 112 fable jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050919
qwen/qwen3.7-plus
awkweave-0050920
Print the number of whitespace-separated fields on each line.
{print NF}
ivan delta 19 closed gus indigo 101 ready eli cobalt 40 paused ivan juniper 109 active hana ember 95 failed lina juniper 67 failed hana delta 118 closed hana harbor 58 ready bruno juniper 53 ready
4 4 4 4 4 4 4 4 4
farah grove 55 closed ivan fable 62 paused lina delta 49 closed chen ember 40 active bruno ember 12 paused ivan cobalt 100 pending hana juniper 103 active lina indigo 6 failed eli amber 17 closed jules ember 105 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050920-p1
Output the count of whitespace-delimited fields found on each line.
{print NF}
ivan delta 19 closed gus indigo 101 ready eli cobalt 40 paused ivan juniper 109 active hana ember 95 failed lina juniper 67 failed hana delta 118 closed hana harbor 58 ready bruno juniper 53 ready
4 4 4 4 4 4 4 4 4
farah grove 55 closed ivan fable 62 paused lina delta 49 closed chen ember 40 active bruno ember 12 paused ivan cobalt 100 pending hana juniper 103 active lina indigo 6 failed eli amber 17 closed jules ember 105 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050920
qwen/qwen3.7-plus
awkweave-0050921
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 gamma 78 hana beta 101 dina gamma 73 bruno delta 82 alice delta 110 farah delta 66 chen alpha 106 eli alpha 18 alice gamma 104
gamma 3 beta 1 delta 3 alpha 2
dina alpha 113 gus gamma 10 alice alpha 87 farah delta 96 farah alpha 118 lina beta 110 bruno alpha 18
alpha 4 gamma 1 delta 1 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050921-p1
Tally the records for every distinct value in the second column, then print each value alongside 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]]}
bruno gamma 78 hana beta 101 dina gamma 73 bruno delta 82 alice delta 110 farah delta 66 chen alpha 106 eli alpha 18 alice gamma 104
gamma 3 beta 1 delta 3 alpha 2
dina alpha 113 gus gamma 10 alice alpha 87 farah delta 96 farah alpha 118 lina beta 110 bruno alpha 18
alpha 4 gamma 1 delta 1 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050921
qwen/qwen3.7-plus
awkweave-0050922
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]]}
farah alpha 24 ivan gamma 28 ivan beta 18 lina delta 12 chen alpha 12 gus beta 20 eli gamma 24 farah delta 10 ivan alpha 6 bruno gamma 13
alpha 42 gamma 65 beta 38 delta 22
alice beta 6 hana alpha 30 bruno alpha 8 ivan alpha 18 farah delta 5 farah beta 12
beta 18 alpha 56 delta 5
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050922-p1
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]]}
farah alpha 24 ivan gamma 28 ivan beta 18 lina delta 12 chen alpha 12 gus beta 20 eli gamma 24 farah delta 10 ivan alpha 6 bruno gamma 13
alpha 42 gamma 65 beta 38 delta 22
alice beta 6 hana alpha 30 bruno alpha 8 ivan alpha 18 farah delta 5 farah beta 12
beta 18 alpha 56 delta 5
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0050922
qwen/qwen3.7-plus
awkweave-0050923
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]]}
beta ember 65 gamma cobalt 36 delta ember 48 delta birch 50 alpha amber 24 alpha ember 108 beta indigo 120 beta amber 60
beta 3 delta 2 alpha 2
delta indigo 82 gamma indigo 12 gamma indigo 61 beta cobalt 32 gamma grove 62 gamma amber 46 beta harbor 84 gamma fable 52
gamma 5 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050923-p1
List each duplicate value from the first column 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]]}
beta ember 65 gamma cobalt 36 delta ember 48 delta birch 50 alpha amber 24 alpha ember 108 beta indigo 120 beta amber 60
beta 3 delta 2 alpha 2
delta indigo 82 gamma indigo 12 gamma indigo 61 beta cobalt 32 gamma grove 62 gamma amber 46 beta harbor 84 gamma fable 52
gamma 5 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050923
qwen/qwen3.7-plus
awkweave-0050924
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id note state display_name r001 eli 21 closed r002 kim 1 paused r003 kim 24 active r004 ivan 30 paused r005 alice 8 failed r006 jules 14 closed r007 alice 18 ready
eli kim kim ivan alice jules alice
record_id note state display_name r001 bruno 26 failed r002 bruno 29 failed r003 lina 18 ready r004 gus 6 ready r005 gus 5 ready r006 bruno 19 failed
bruno bruno lina gus gus bruno
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050924-p1
Treating the initial row as a header, output the contents of the note column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id note state display_name r001 eli 21 closed r002 kim 1 paused r003 kim 24 active r004 ivan 30 paused r005 alice 8 failed r006 jules 14 closed r007 alice 18 ready
eli kim kim ivan alice jules alice
record_id note state display_name r001 bruno 26 failed r002 bruno 29 failed r003 lina 18 ready r004 gus 6 ready r005 gus 5 ready r006 bruno 19 failed
bruno bruno lina gus gus bruno
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050924
qwen/qwen3.7-plus
awkweave-0050925
The first row is a header. Print display_name for data rows whose score is greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 ivan 28 paused r002 bruno 6 active r003 lina 3 paused r004 alice 11 paused r005 jules 18 active r006 kim 22 ready r007 jules 30 failed r008 dina 20 failed
ivan kim jules
record_id display_name score state r001 ivan 15 pending r002 gus 16 failed r003 dina 8 active r004 hana 20 paused r005 lina 27 pending r006 dina 6 ready r007 ivan 21 failed
lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050925-p1
With the first row as a header, print the display_name field for data rows where the score is strictly greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 ivan 28 paused r002 bruno 6 active r003 lina 3 paused r004 alice 11 paused r005 jules 18 active r006 kim 22 ready r007 jules 30 failed r008 dina 20 failed
ivan kim jules
record_id display_name score state r001 ivan 15 pending r002 gus 16 failed r003 dina 8 active r004 hana 20 paused r005 lina 27 pending r006 dina 6 ready r007 ivan 21 failed
lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050925
qwen/qwen3.7-plus
awkweave-0050926
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 12 failed bruno 19 active alice 20 active bruno 20 ready gus 29 paused eli 6 ready gus 23 closed dina 11 pending
bruno bruno alice bruno gus eli gus dina
lina 14 ready eli 7 closed farah 27 failed chen 19 ready hana 8 closed hana 5 closed alice 19 ready
lina eli farah chen hana hana alice
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050926-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 12 failed bruno 19 active alice 20 active bruno 20 ready gus 29 paused eli 6 ready gus 23 closed dina 11 pending
bruno bruno alice bruno gus eli gus dina
lina 14 ready eli 7 closed farah 27 failed chen 19 ready hana 8 closed hana 5 closed alice 19 ready
lina eli farah chen hana hana alice
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050926
qwen/qwen3.7-plus
awkweave-0050927
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18.
BEGIN{FS=OFS=","}$2>18{print $1}
chen,4,active kim,6,ready lina,2,pending gus,11,ready alice,30,active gus,14,pending farah,29,failed bruno,23,paused
alice farah bruno
jules,6,closed kim,14,ready hana,26,paused lina,13,closed farah,13,closed farah,16,pending alice,20,paused chen,16,pending
hana alice
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050927-p1
For simple comma-separated input without quoted commas, print the first column if the value in the second column is greater than 18.
BEGIN{FS=OFS=","}$2>18{print $1}
chen,4,active kim,6,ready lina,2,pending gus,11,ready alice,30,active gus,14,pending farah,29,failed bruno,23,paused
alice farah bruno
jules,6,closed kim,14,ready hana,26,paused lina,13,closed farah,13,closed farah,16,pending alice,20,paused chen,16,pending
hana alice
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050927
qwen/qwen3.7-plus
awkweave-0050928
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim juniper 97 hana ember 38 lina cobalt 12 farah harbor 34 dina cobalt 32 lina harbor 38 farah harbor 37 jules juniper 16
kim juniper 97 hana ember 38 lina cobalt 12 farah harbor 34 dina cobalt 32 lina harbor 38 farah harbor 37 jules juniper 16
jules fable 32 ivan delta 47 ivan ember 120 bruno fable 38 ivan cobalt 78 eli amber 0
jules fable 32 ivan delta 47 ivan ember 120 bruno fable 38 ivan cobalt 78 eli amber 0
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050928-p1
Remove leading and trailing whitespace, and replace any internal whitespace sequences with a single space.
{$1=$1;print}
kim juniper 97 hana ember 38 lina cobalt 12 farah harbor 34 dina cobalt 32 lina harbor 38 farah harbor 37 jules juniper 16
kim juniper 97 hana ember 38 lina cobalt 12 farah harbor 34 dina cobalt 32 lina harbor 38 farah harbor 37 jules juniper 16
jules fable 32 ivan delta 47 ivan ember 120 bruno fable 38 ivan cobalt 78 eli amber 0
jules fable 32 ivan delta 47 ivan ember 120 bruno fable 38 ivan cobalt 78 eli amber 0
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050928
qwen/qwen3.7-plus
awkweave-0050929
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice delta 22 active bruno harbor 50 active farah indigo 35 failed alice indigo 89 ready kim fable 86 ready alice juniper 41 failed alice amber 1 closed
alice juniper 41 failed
gus cobalt 6 failed bruno delta 108 closed jules fable 28 active hana grove 9 closed farah juniper 87 paused kim birch 36 failed eli birch 117 closed jules grove 75 closed alice delta 24 paused
farah juniper 87 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050929-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
alice delta 22 active bruno harbor 50 active farah indigo 35 failed alice indigo 89 ready kim fable 86 ready alice juniper 41 failed alice amber 1 closed
alice juniper 41 failed
gus cobalt 6 failed bruno delta 108 closed jules fable 28 active hana grove 9 closed farah juniper 87 paused kim birch 36 failed eli birch 117 closed jules grove 75 closed alice delta 24 paused
farah juniper 87 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050929
qwen/qwen3.7-plus
awkweave-0050930
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
kim 116 chen 68 farah 43 dina 25 hana 78 ivan 82 chen 13 gus 13
chen 68 dina 25 ivan 82 gus 13
chen 45 ivan 83 chen 65 farah 51 alice 63 jules 2 bruno 7 jules 73
ivan 83 farah 51 jules 2 jules 73
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050930-p1
Output every second line beginning with line 2 (i.e., lines 2, 4, etc.).
NR%2==0
kim 116 chen 68 farah 43 dina 25 hana 78 ivan 82 chen 13 gus 13
chen 68 dina 25 ivan 82 gus 13
chen 45 ivan 83 chen 65 farah 51 alice 63 jules 2 bruno 7 jules 73
ivan 83 farah 51 jules 2 jules 73
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050930
qwen/qwen3.7-plus
awkweave-0050931
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 109 delta ember 15 gamma amber 111 gamma juniper 7 alpha indigo 58 alpha indigo 46
5
delta juniper 115 gamma indigo 11 alpha fable 31 delta cobalt 49 gamma ember 46 alpha ember 49 gamma ember 114 alpha fable 32 beta delta 109
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050931-p1
Calculate and display the number of unique entries in the second column.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 109 delta ember 15 gamma amber 111 gamma juniper 7 alpha indigo 58 alpha indigo 46
5
delta juniper 115 gamma indigo 11 alpha fable 31 delta cobalt 49 gamma ember 46 alpha ember 49 gamma ember 114 alpha fable 32 beta delta 109
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050931
qwen/qwen3.7-plus
awkweave-0050932
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}
kim 30 0 gus 21 11 hana 19 29 chen 21 23 kim 30 8 hana 14 10 bruno 10 6
gus 1.91 hana 0.66 chen 0.91 kim 3.75 hana 1.40 bruno 1.67
eli 7 0 bruno 6 27 gus 12 30 dina 16 4 chen 12 30 dina 5 20 gus 12 21 farah 6 19
bruno 0.22 gus 0.40 dina 4.00 chen 0.40 dina 0.25 gus 0.57 farah 0.32
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050932-p1
For each row where the third column is non-zero, output the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 30 0 gus 21 11 hana 19 29 chen 21 23 kim 30 8 hana 14 10 bruno 10 6
gus 1.91 hana 0.66 chen 0.91 kim 3.75 hana 1.40 bruno 1.67
eli 7 0 bruno 6 27 gus 12 30 dina 16 4 chen 12 30 dina 5 20 gus 12 21 farah 6 19
bruno 0.22 gus 0.40 dina 4.00 chen 0.40 dina 0.25 gus 0.57 farah 0.32
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050932
qwen/qwen3.7-plus
awkweave-0050933
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen delta 27 farah amber 1 ivan cobalt 13 hana fable 15 dina grove 23 chen fable 14 dina cobalt 6 farah delta 8 jules fable 30 jules grove 22
jules fable 30 chen delta 27 dina grove 23
gus fable 18 eli fable 22 dina cobalt 13 dina delta 25 farah delta 2 hana birch 17 alice birch 23 jules ember 21 eli fable 5
dina delta 25 alice birch 23 eli fable 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050933-p1
Display the top three records with the largest 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]}
chen delta 27 farah amber 1 ivan cobalt 13 hana fable 15 dina grove 23 chen fable 14 dina cobalt 6 farah delta 8 jules fable 30 jules grove 22
jules fable 30 chen delta 27 dina grove 23
gus fable 18 eli fable 22 dina cobalt 13 dina delta 25 farah delta 2 hana birch 17 alice birch 23 jules ember 21 eli fable 5
dina delta 25 alice birch 23 eli fable 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050933
qwen/qwen3.7-plus
awkweave-0050934
Print column 4 followed by column 3 for every record.
{print $4, $3}
cobalt harbor 74 pending juniper amber 40 pending indigo cobalt 118 pending delta grove 32 closed indigo grove 73 failed juniper indigo 56 paused juniper birch 105 paused
pending 74 pending 40 pending 118 closed 32 failed 73 paused 56 paused 105
amber amber 80 active delta harbor 22 pending amber delta 48 ready harbor cobalt 80 active grove fable 120 active harbor delta 40 paused amber birch 80 ready grove cobalt 14 ready
active 80 pending 22 ready 48 active 80 active 120 paused 40 ready 80 ready 14
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050934-p1
Output the fourth column followed by the third column for all records.
{print $4, $3}
cobalt harbor 74 pending juniper amber 40 pending indigo cobalt 118 pending delta grove 32 closed indigo grove 73 failed juniper indigo 56 paused juniper birch 105 paused
pending 74 pending 40 pending 118 closed 32 failed 73 paused 56 paused 105
amber amber 80 active delta harbor 22 pending amber delta 48 ready harbor cobalt 80 active grove fable 120 active harbor delta 40 paused amber birch 80 ready grove cobalt 14 ready
active 80 pending 22 ready 48 active 80 active 120 paused 40 ready 80 ready 14
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050934
qwen/qwen3.7-plus
awkweave-0050935
Print the last field of every input line.
{print $NF}
failed paused fable ivan pending pending indigo farah paused ready birch alice paused ready ember jules paused ready delta farah ready failed fable kim ready ready fable farah active failed birch chen failed active grove ivan
ivan farah alice jules farah kim farah chen ivan
closed failed birch chen failed ready juniper lina failed failed cobalt gus closed paused cobalt chen pending closed ember chen ready paused juniper jules ready ready amber farah closed pending amber hana closed paused ember kim
chen lina gus chen chen jules farah hana kim
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050935-p1
Print the final field from every input line.
{print $NF}
failed paused fable ivan pending pending indigo farah paused ready birch alice paused ready ember jules paused ready delta farah ready failed fable kim ready ready fable farah active failed birch chen failed active grove ivan
ivan farah alice jules farah kim farah chen ivan
closed failed birch chen failed ready juniper lina failed failed cobalt gus closed paused cobalt chen pending closed ember chen ready paused juniper jules ready ready amber farah closed pending amber hana closed paused ember kim
chen lina gus chen chen jules farah hana kim
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050935
qwen/qwen3.7-plus
awkweave-0050936
Print the complete records where column 2 is at least 25.
$2 >= 25
amber 107 birch bruno harbor 7 juniper gus amber 70 ember gus fable 119 grove eli fable 45 birch kim delta 31 delta kim cobalt 58 birch jules birch 59 indigo gus juniper 89 birch lina cobalt 12 juniper gus
amber 107 birch bruno amber 70 ember gus fable 119 grove eli fable 45 birch kim delta 31 delta kim cobalt 58 birch jules birch 59 indigo gus juniper 89 birch lina
birch 63 grove chen grove 21 grove chen indigo 37 birch farah harbor 70 ember bruno juniper 101 amber chen indigo 21 cobalt eli cobalt 6 amber dina
birch 63 grove chen indigo 37 birch farah harbor 70 ember bruno juniper 101 amber chen
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050936-p1
Output full records where the value in column 2 is greater than or equal to 25.
$2 >= 25
amber 107 birch bruno harbor 7 juniper gus amber 70 ember gus fable 119 grove eli fable 45 birch kim delta 31 delta kim cobalt 58 birch jules birch 59 indigo gus juniper 89 birch lina cobalt 12 juniper gus
amber 107 birch bruno amber 70 ember gus fable 119 grove eli fable 45 birch kim delta 31 delta kim cobalt 58 birch jules birch 59 indigo gus juniper 89 birch lina
birch 63 grove chen grove 21 grove chen indigo 37 birch farah harbor 70 ember bruno juniper 101 amber chen indigo 21 cobalt eli cobalt 6 amber dina
birch 63 grove chen indigo 37 birch farah harbor 70 ember bruno juniper 101 amber chen
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050936
qwen/qwen3.7-plus
awkweave-0050937
Show whole lines whose 3rd field is between 4 and 26, inclusive.
$3 >= 4 && $3 <= 26
cobalt kim 22 delta cobalt alice 30 birch fable chen 25 delta delta chen 21 juniper fable kim 10 harbor birch gus 12 birch grove alice 14 indigo grove bruno 10 amber
cobalt kim 22 delta fable chen 25 delta delta chen 21 juniper fable kim 10 harbor birch gus 12 birch grove alice 14 indigo grove bruno 10 amber
juniper lina 15 grove harbor bruno 17 birch juniper lina 9 indigo fable eli 23 indigo fable dina 22 juniper grove jules 23 juniper
juniper lina 15 grove harbor bruno 17 birch juniper lina 9 indigo fable eli 23 indigo fable dina 22 juniper grove jules 23 juniper
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050937-p1
Display entire lines where the third field falls within the range of 4 to 26, inclusive.
$3 >= 4 && $3 <= 26
cobalt kim 22 delta cobalt alice 30 birch fable chen 25 delta delta chen 21 juniper fable kim 10 harbor birch gus 12 birch grove alice 14 indigo grove bruno 10 amber
cobalt kim 22 delta fable chen 25 delta delta chen 21 juniper fable kim 10 harbor birch gus 12 birch grove alice 14 indigo grove bruno 10 amber
juniper lina 15 grove harbor bruno 17 birch juniper lina 9 indigo fable eli 23 indigo fable dina 22 juniper grove jules 23 juniper
juniper lina 15 grove harbor bruno 17 birch juniper lina 9 indigo fable eli 23 indigo fable dina 22 juniper grove jules 23 juniper
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050937
qwen/qwen3.7-plus
awkweave-0050938
Print column 2 only for rows where column 4 is exactly active.
$4 == "active"{print $2}
birch chen 3 pending cobalt hana 106 ready cobalt chen 89 pending ember dina 94 paused amber eli 16 closed delta kim 104 pending indigo ivan 2 pending amber farah 115 active
farah
juniper alice 38 paused grove farah 28 paused cobalt chen 60 active amber gus 51 failed birch farah 49 active harbor ivan 68 closed delta jules 21 ready grove eli 63 pending birch jules 118 paused birch jules 7 paused
chen farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050938-p1
Print only the second column for rows where the fourth column is exactly 'active'.
$4 == "active"{print $2}
birch chen 3 pending cobalt hana 106 ready cobalt chen 89 pending ember dina 94 paused amber eli 16 closed delta kim 104 pending indigo ivan 2 pending amber farah 115 active
farah
juniper alice 38 paused grove farah 28 paused cobalt chen 60 active amber gus 51 failed birch farah 49 active harbor ivan 68 closed delta jules 21 ready grove eli 63 pending birch jules 118 paused birch jules 7 paused
chen farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050938
qwen/qwen3.7-plus
awkweave-0050939
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
40 WARN harbor 64 INFO juniper 15 DEBUG birch 50 INFO ember 16 INFO ember 120 WARN grove 93 DEBUG juniper
64 INFO juniper 50 INFO ember 16 INFO ember
0 DEBUG harbor 94 INFO birch 44 INFO amber 29 INFO harbor 8 ERROR fable 3 WARN harbor 96 INFO ember
94 INFO birch 44 INFO amber 29 INFO harbor 96 INFO ember
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050939-p1
Output all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
40 WARN harbor 64 INFO juniper 15 DEBUG birch 50 INFO ember 16 INFO ember 120 WARN grove 93 DEBUG juniper
64 INFO juniper 50 INFO ember 16 INFO ember
0 DEBUG harbor 94 INFO birch 44 INFO amber 29 INFO harbor 8 ERROR fable 3 WARN harbor 96 INFO ember
94 INFO birch 44 INFO amber 29 INFO harbor 96 INFO ember
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050939
qwen/qwen3.7-plus
awkweave-0050940
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
delta 101 failed delta 108 paused cobalt 81 pending harbor 96 pending amber 57 paused amber 81 pending harbor 999 active
delta 101 failed delta 108 paused cobalt 81 pending amber 57 paused amber 81 pending
delta 112 pending indigo 40 paused cobalt 54 pending juniper 18 pending amber 65 pending amber 106 ready delta 109 paused ember 97 failed birch 77 ready harbor 999 active
delta 112 pending indigo 40 paused cobalt 54 pending juniper 18 pending amber 65 pending amber 106 ready delta 109 paused ember 97 failed birch 77 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050940-p1
Print every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
delta 101 failed delta 108 paused cobalt 81 pending harbor 96 pending amber 57 paused amber 81 pending harbor 999 active
delta 101 failed delta 108 paused cobalt 81 pending amber 57 paused amber 81 pending
delta 112 pending indigo 40 paused cobalt 54 pending juniper 18 pending amber 65 pending amber 106 ready delta 109 paused ember 97 failed birch 77 ready harbor 999 active
delta 112 pending indigo 40 paused cobalt 54 pending juniper 18 pending amber 65 pending amber 106 ready delta 109 paused ember 97 failed birch 77 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050940
qwen/qwen3.7-plus
awkweave-0050941
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
eli cobalt 8 farah indigo 55 dina harbor 107 lina amber 22 lina birch 98 hana harbor 39 gus cobalt 40 farah harbor 119 ivan grove 67
farah indigo 55 dina harbor 107 lina amber 22
hana juniper 22 chen juniper 118 alice delta 42 alice indigo 21 farah ember 0 alice grove 17 lina cobalt 111 kim birch 91 alice cobalt 20 farah birch 72
chen juniper 118 alice delta 42 alice indigo 21
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050941-p1
Output lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
eli cobalt 8 farah indigo 55 dina harbor 107 lina amber 22 lina birch 98 hana harbor 39 gus cobalt 40 farah harbor 119 ivan grove 67
farah indigo 55 dina harbor 107 lina amber 22
hana juniper 22 chen juniper 118 alice delta 42 alice indigo 21 farah ember 0 alice grove 17 lina cobalt 111 kim birch 91 alice cobalt 20 farah birch 72
chen juniper 118 alice delta 42 alice indigo 21
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050941
qwen/qwen3.7-plus
awkweave-0050942
Output only the first 4 records.
NR <= 4
jules 98 indigo eli 68 amber kim 31 indigo alice 92 juniper ivan 77 fable hana 17 juniper gus 114 juniper bruno 43 harbor lina 67 delta
jules 98 indigo eli 68 amber kim 31 indigo alice 92 juniper
jules 7 fable jules 95 birch jules 103 fable dina 14 juniper eli 10 juniper farah 64 ember
jules 7 fable jules 95 birch jules 103 fable dina 14 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null