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-0049332-p1
Calculate and print only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
delta ember 45 alpha ember 110 delta grove 84 delta fable 25 delta amber 86 beta amber 111
4
gamma ember 10 gamma birch 28 alpha cobalt 94 delta harbor 111 delta amber 30 gamma cobalt 65 delta amber 50 gamma indigo 39 beta indigo 64 alpha ember 10
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049332
qwen/qwen3.7-plus
awkweave-0049333
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}
farah 23 0 gus 26 26 bruno 3 1 hana 27 28 kim 15 8 alice 12 26
gus 1.00 bruno 3.00 hana 0.96 kim 1.88 alice 0.46
eli 19 0 kim 25 19 hana 15 17 chen 9 3 jules 29 3 jules 8 6 ivan 8 28 dina 10 22 farah 4 2 farah 4 3
kim 1.32 hana 0.88 chen 3.00 jules 9.67 jules 1.33 ivan 0.29 dina 0.45 farah 2.00 farah 1.33
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049333-p1
For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 23 0 gus 26 26 bruno 3 1 hana 27 28 kim 15 8 alice 12 26
gus 1.00 bruno 3.00 hana 0.96 kim 1.88 alice 0.46
eli 19 0 kim 25 19 hana 15 17 chen 9 3 jules 29 3 jules 8 6 ivan 8 28 dina 10 22 farah 4 2 farah 4 3
kim 1.32 hana 0.88 chen 3.00 jules 9.67 jules 1.33 ivan 0.29 dina 0.45 farah 2.00 farah 1.33
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049333
qwen/qwen3.7-plus
awkweave-0049334
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]}
kim ember 9 gus cobalt 9 bruno ember 23 ivan birch 27 chen ember 19 alice cobalt 15 kim juniper 21 jules amber 2 lina delta 11
ivan birch 27 bruno ember 23 kim juniper 21
chen indigo 14 dina fable 27 lina amber 9 alice cobalt 8 dina juniper 9 gus cobalt 25
dina fable 27 gus cobalt 25 chen indigo 14
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049334-p1
Display the three records with the highest numeric values in column 3 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]}
kim ember 9 gus cobalt 9 bruno ember 23 ivan birch 27 chen ember 19 alice cobalt 15 kim juniper 21 jules amber 2 lina delta 11
ivan birch 27 bruno ember 23 kim juniper 21
chen indigo 14 dina fable 27 lina amber 9 alice cobalt 8 dina juniper 9 gus cobalt 25
dina fable 27 gus cobalt 25 chen indigo 14
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049334
qwen/qwen3.7-plus
awkweave-0049335
Print column 5 followed by column 4 for every record.
{print $5, $4}
chen closed paused 82 ivan failed alice pending paused 14 ivan paused gus failed closed 120 jules pending jules paused closed 58 bruno ready hana failed paused 6 alice closed kim paused pending 44 eli failed
ivan 82 ivan 14 jules 120 bruno 58 alice 6 eli 44
gus failed closed 66 gus closed lina active paused 88 kim active farah failed paused 43 gus closed jules closed pending 22 gus pending gus ready closed 38 eli closed jules ready pending 36 dina pending jules closed failed 4 dina closed
gus 66 kim 88 gus 43 gus 22 eli 38 dina 36 dina 4
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049335-p1
Output column 5 followed by column 4 for every record in the input.
{print $5, $4}
chen closed paused 82 ivan failed alice pending paused 14 ivan paused gus failed closed 120 jules pending jules paused closed 58 bruno ready hana failed paused 6 alice closed kim paused pending 44 eli failed
ivan 82 ivan 14 jules 120 bruno 58 alice 6 eli 44
gus failed closed 66 gus closed lina active paused 88 kim active farah failed paused 43 gus closed jules closed pending 22 gus pending gus ready closed 38 eli closed jules ready pending 36 dina pending jules closed failed 4 dina closed
gus 66 kim 88 gus 43 gus 22 eli 38 dina 36 dina 4
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049335
qwen/qwen3.7-plus
awkweave-0049336
Print the last field of every input line.
{print $NF}
48 56 33 97 68 15 93 10 106 33 51 80 17 47 101 70 84 12
33 15 106 80 101 12
64 3 114 106 52 23 71 103 74 38 34 101 38 39 15 14 66 56 54 95 85 86 108 80
114 23 74 101 15 56 85 80
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049336-p1
Print the final field of each input line.
{print $NF}
48 56 33 97 68 15 93 10 106 33 51 80 17 47 101 70 84 12
33 15 106 80 101 12
64 3 114 106 52 23 71 103 74 38 34 101 38 39 15 14 66 56 54 95 85 86 108 80
114 23 74 101 15 56 85 80
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049336
qwen/qwen3.7-plus
awkweave-0049337
Print the complete records where column 3 is at least 66.
$3 >= 66
ivan paused 62 harbor farah paused 22 juniper bruno ready 60 grove gus ready 63 fable ivan failed 117 delta dina closed 92 amber
ivan failed 117 delta dina closed 92 amber
eli active 95 fable farah active 64 cobalt jules ready 120 amber eli active 3 ember chen ready 66 fable dina ready 63 grove ivan closed 73 delta lina paused 23 grove gus ready 114 ember jules active 100 amber
eli active 95 fable jules ready 120 amber chen ready 66 fable ivan closed 73 delta gus ready 114 ember jules active 100 amber
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049337-p1
Output the full records for which the value in column 3 is greater than or equal to 66.
$3 >= 66
ivan paused 62 harbor farah paused 22 juniper bruno ready 60 grove gus ready 63 fable ivan failed 117 delta dina closed 92 amber
ivan failed 117 delta dina closed 92 amber
eli active 95 fable farah active 64 cobalt jules ready 120 amber eli active 3 ember chen ready 66 fable dina ready 63 grove ivan closed 73 delta lina paused 23 grove gus ready 114 ember jules active 100 amber
eli active 95 fable jules ready 120 amber chen ready 66 fable ivan closed 73 delta gus ready 114 ember jules active 100 amber
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049337
qwen/qwen3.7-plus
awkweave-0049338
Show whole lines whose 2nd field is between 4 and 24, inclusive.
$2 >= 4 && $2 <= 24
jules 10 pending ivan alice 10 failed chen jules 23 pending eli chen 15 active farah farah 14 active eli dina 16 paused lina alice 27 closed alice bruno 4 failed hana
jules 10 pending ivan alice 10 failed chen jules 23 pending eli chen 15 active farah farah 14 active eli dina 16 paused lina bruno 4 failed hana
jules 13 failed hana bruno 9 pending jules farah 3 pending lina eli 18 active jules gus 28 active alice ivan 4 active kim
jules 13 failed hana bruno 9 pending jules eli 18 active jules ivan 4 active kim
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049338-p1
Display entire lines where the second field has a value between 4 and 24, inclusive.
$2 >= 4 && $2 <= 24
jules 10 pending ivan alice 10 failed chen jules 23 pending eli chen 15 active farah farah 14 active eli dina 16 paused lina alice 27 closed alice bruno 4 failed hana
jules 10 pending ivan alice 10 failed chen jules 23 pending eli chen 15 active farah farah 14 active eli dina 16 paused lina bruno 4 failed hana
jules 13 failed hana bruno 9 pending jules farah 3 pending lina eli 18 active jules gus 28 active alice ivan 4 active kim
jules 13 failed hana bruno 9 pending jules eli 18 active jules ivan 4 active kim
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049338
qwen/qwen3.7-plus
awkweave-0049339
Print column 1 only for rows where column 4 is exactly pending.
$4 == "pending"{print $1}
kim grove 80 closed alice grove 103 paused farah indigo 83 active alice amber 25 failed hana ember 24 ready bruno juniper 63 pending
bruno
lina amber 49 ready chen birch 110 closed farah indigo 32 failed ivan grove 118 ready hana delta 57 closed gus cobalt 75 pending ivan ember 56 ready
gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049339-p1
Print only the first column for rows where the fourth column contains exactly the text pending.
$4 == "pending"{print $1}
kim grove 80 closed alice grove 103 paused farah indigo 83 active alice amber 25 failed hana ember 24 ready bruno juniper 63 pending
bruno
lina amber 49 ready chen birch 110 closed farah indigo 32 failed ivan grove 118 ready hana delta 57 closed gus cobalt 75 pending ivan ember 56 ready
gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049339
qwen/qwen3.7-plus
awkweave-0049340
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
amber 70 WARN grove 52 DEBUG indigo 89 INFO indigo 56 DEBUG cobalt 27 WARN birch 64 INFO delta 70 ERROR ember 114 INFO
delta 70 ERROR
ember 22 DEBUG fable 62 INFO amber 91 DEBUG cobalt 79 WARN delta 30 WARN cobalt 18 DEBUG fable 33 ERROR amber 15 DEBUG cobalt 24 INFO
fable 33 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049340-p1
Output all fields from lines where the third field starts with the string ERROR.
$3 ~ /^ERROR/
amber 70 WARN grove 52 DEBUG indigo 89 INFO indigo 56 DEBUG cobalt 27 WARN birch 64 INFO delta 70 ERROR ember 114 INFO
delta 70 ERROR
ember 22 DEBUG fable 62 INFO amber 91 DEBUG cobalt 79 WARN delta 30 WARN cobalt 18 DEBUG fable 33 ERROR amber 15 DEBUG cobalt 24 INFO
fable 33 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049340
qwen/qwen3.7-plus
awkweave-0049341
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
cobalt 44 closed indigo 69 failed indigo 18 active indigo 98 active birch 104 ready fable 111 failed cobalt 0 pending cobalt 59 pending fable 54 paused harbor 61 ready cobalt 999 active
indigo 69 failed indigo 18 active indigo 98 active birch 104 ready fable 111 failed fable 54 paused harbor 61 ready
indigo 98 closed ember 13 active grove 17 paused birch 70 ready juniper 89 active indigo 62 paused fable 8 ready harbor 70 pending fable 90 paused harbor 98 pending cobalt 999 active
indigo 98 closed ember 13 active grove 17 paused birch 70 ready juniper 89 active indigo 62 paused fable 8 ready harbor 70 pending fable 90 paused harbor 98 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049341-p1
Print every line that does not contain the exact string cobalt.
$0 !~ /cobalt/
cobalt 44 closed indigo 69 failed indigo 18 active indigo 98 active birch 104 ready fable 111 failed cobalt 0 pending cobalt 59 pending fable 54 paused harbor 61 ready cobalt 999 active
indigo 69 failed indigo 18 active indigo 98 active birch 104 ready fable 111 failed fable 54 paused harbor 61 ready
indigo 98 closed ember 13 active grove 17 paused birch 70 ready juniper 89 active indigo 62 paused fable 8 ready harbor 70 pending fable 90 paused harbor 98 pending cobalt 999 active
indigo 98 closed ember 13 active grove 17 paused birch 70 ready juniper 89 active indigo 62 paused fable 8 ready harbor 70 pending fable 90 paused harbor 98 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049341
qwen/qwen3.7-plus
awkweave-0049342
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
hana fable 114 alice amber 31 kim ember 6 alice amber 34 gus indigo 97 chen ember 42 hana ember 101
kim ember 6 alice amber 34 gus indigo 97 chen ember 42
lina delta 107 dina ember 17 hana indigo 112 eli amber 115 jules indigo 69 kim amber 32
hana indigo 112 eli amber 115 jules indigo 69 kim amber 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049342-p1
Display lines 3 to 6, inclusive.
NR >= 3 && NR <= 6
hana fable 114 alice amber 31 kim ember 6 alice amber 34 gus indigo 97 chen ember 42 hana ember 101
kim ember 6 alice amber 34 gus indigo 97 chen ember 42
lina delta 107 dina ember 17 hana indigo 112 eli amber 115 jules indigo 69 kim amber 32
hana indigo 112 eli amber 115 jules indigo 69 kim amber 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049342
qwen/qwen3.7-plus
awkweave-0049343
Output only the first 3 records.
NR <= 3
hana 90 ember farah 53 fable lina 26 harbor lina 84 ember dina 82 birch dina 0 fable jules 51 delta eli 104 birch kim 17 amber gus 20 indigo
hana 90 ember farah 53 fable lina 26 harbor
farah 27 birch kim 9 grove lina 12 cobalt chen 16 ember jules 37 indigo dina 116 birch kim 40 birch farah 5 amber dina 78 fable jules 47 juniper
farah 27 birch kim 9 grove lina 12 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049343-p1
Output just the initial 3 records.
NR <= 3
hana 90 ember farah 53 fable lina 26 harbor lina 84 ember dina 82 birch dina 0 fable jules 51 delta eli 104 birch kim 17 amber gus 20 indigo
hana 90 ember farah 53 fable lina 26 harbor
farah 27 birch kim 9 grove lina 12 cobalt chen 16 ember jules 37 indigo dina 116 birch kim 40 birch farah 5 amber dina 78 fable jules 47 juniper
farah 27 birch kim 9 grove lina 12 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049343
qwen/qwen3.7-plus
awkweave-0049344
Skip the first line and print every remaining line unchanged.
NR > 1
kim 39 indigo kim 67 indigo gus 120 grove ivan 118 grove farah 114 cobalt eli 114 harbor ivan 81 harbor
kim 67 indigo gus 120 grove ivan 118 grove farah 114 cobalt eli 114 harbor ivan 81 harbor
jules 15 amber chen 56 birch farah 22 ember lina 57 amber alice 8 harbor farah 18 cobalt ivan 92 juniper ivan 68 cobalt
chen 56 birch farah 22 ember lina 57 amber alice 8 harbor farah 18 cobalt ivan 92 juniper ivan 68 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049344-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
kim 39 indigo kim 67 indigo gus 120 grove ivan 118 grove farah 114 cobalt eli 114 harbor ivan 81 harbor
kim 67 indigo gus 120 grove ivan 118 grove farah 114 cobalt eli 114 harbor ivan 81 harbor
jules 15 amber chen 56 birch farah 22 ember lina 57 amber alice 8 harbor farah 18 cobalt ivan 92 juniper ivan 68 cobalt
chen 56 birch farah 22 ember lina 57 amber alice 8 harbor farah 18 cobalt ivan 92 juniper ivan 68 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049344
qwen/qwen3.7-plus
awkweave-0049345
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
dina closed 57 alice pending 5 alice active 4 ivan pending 106 ivan active 115 hana ready 50 gus closed 86
2
kim paused 57 gus closed 27 farah closed 90 chen failed 72 dina closed 23 lina closed 108 ivan closed 107 hana ready 12 farah failed 105 bruno ready 6
5
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049345-p1
Tally the records where column 2 is 'closed'; output 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
dina closed 57 alice pending 5 alice active 4 ivan pending 106 ivan active 115 hana ready 50 gus closed 86
2
kim paused 57 gus closed 27 farah closed 90 chen failed 72 dina closed 23 lina closed 108 ivan closed 107 hana ready 12 farah failed 105 bruno ready 6
5
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049345
qwen/qwen3.7-plus
awkweave-0049346
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
chen 15 harbor ivan 10 cobalt dina 18 indigo jules 18 birch jules 13 ember gus 8 grove chen 7 delta eli 8 indigo
97
alice 22 fable kim 5 harbor bruno 21 juniper lina 18 indigo chen 22 delta chen 12 grove gus 24 amber kim 9 delta bruno 4 ember
137
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049346-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
chen 15 harbor ivan 10 cobalt dina 18 indigo jules 18 birch jules 13 ember gus 8 grove chen 7 delta eli 8 indigo
97
alice 22 fable kim 5 harbor bruno 21 juniper lina 18 indigo chen 22 delta chen 12 grove gus 24 amber kim 9 delta bruno 4 ember
137
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049346
qwen/qwen3.7-plus
awkweave-0049347
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
jules 2 birch kim 17 harbor jules 18 juniper jules 5 juniper kim 7 amber dina 30 harbor jules 30 delta ivan 17 fable jules 18 grove
16.00
jules 6 harbor farah 24 indigo bruno 1 cobalt dina 20 amber hana 5 indigo alice 27 grove alice 7 indigo dina 6 amber
12.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049347-p1
Print the average of column 2, formatted to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
jules 2 birch kim 17 harbor jules 18 juniper jules 5 juniper kim 7 amber dina 30 harbor jules 30 delta ivan 17 fable jules 18 grove
16.00
jules 6 harbor farah 24 indigo bruno 1 cobalt dina 20 amber hana 5 indigo alice 27 grove alice 7 indigo dina 6 amber
12.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049347
qwen/qwen3.7-plus
awkweave-0049348
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt dina 7 juniper chen 18 ember lina 24 indigo gus 1 ember jules 29 juniper lina 9 cobalt kim 18 amber dina 10 amber bruno 29
1
indigo gus 2 delta eli 11 delta lina 12 delta dina 1 juniper farah 21 cobalt bruno 19 birch alice 8 fable farah 15
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049348-p1
Identify and output the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt dina 7 juniper chen 18 ember lina 24 indigo gus 1 ember jules 29 juniper lina 9 cobalt kim 18 amber dina 10 amber bruno 29
1
indigo gus 2 delta eli 11 delta lina 12 delta dina 1 juniper farah 21 cobalt bruno 19 birch alice 8 fable farah 15
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049348
qwen/qwen3.7-plus
awkweave-0049349
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
amber 2 eli fable 2 bruno grove 5 jules cobalt 6 lina cobalt 21 bruno harbor 16 dina ember 6 alice cobalt 14 hana
21
ember 26 bruno grove 29 lina ember 25 chen grove 7 jules birch 24 bruno juniper 5 jules cobalt 23 lina delta 29 dina
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049349-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
amber 2 eli fable 2 bruno grove 5 jules cobalt 6 lina cobalt 21 bruno harbor 16 dina ember 6 alice cobalt 14 hana
21
ember 26 bruno grove 29 lina ember 25 chen grove 7 jules birch 24 bruno juniper 5 jules cobalt 23 lina delta 29 dina
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049349
qwen/qwen3.7-plus
awkweave-0049350
Count all input records and print the total.
END{print NR}
gus 16 kim 75 farah 110 kim 70 alice 98 kim 10 bruno 36 hana 4 farah 12
9
ivan 49 bruno 49 lina 25 ivan 95 chen 82 bruno 100 kim 111 farah 0 gus 110
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049350-p1
Count the total number of input records and print the result.
END{print NR}
gus 16 kim 75 farah 110 kim 70 alice 98 kim 10 bruno 36 hana 4 farah 12
9
ivan 49 bruno 49 lina 25 ivan 95 chen 82 bruno 100 kim 111 farah 0 gus 110
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049350
qwen/qwen3.7-plus
awkweave-0049351
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah harbor 33 kim juniper 49 hana ember 86 kim grove 73 chen cobalt 32 lina harbor 83 ivan ember 58 kim amber 17 farah harbor 33 gus ember 78
farah harbor 33 kim juniper 49 hana ember 86 kim grove 73 chen cobalt 32 lina harbor 83 ivan ember 58 kim amber 17 gus ember 78
eli fable 74 ivan juniper 74 ivan fable 29 bruno harbor 86 ivan ember 11 eli fable 74 ivan fable 114 alice juniper 60
eli fable 74 ivan juniper 74 ivan fable 29 bruno harbor 86 ivan ember 11 ivan fable 114 alice juniper 60
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049351-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
farah harbor 33 kim juniper 49 hana ember 86 kim grove 73 chen cobalt 32 lina harbor 83 ivan ember 58 kim amber 17 farah harbor 33 gus ember 78
farah harbor 33 kim juniper 49 hana ember 86 kim grove 73 chen cobalt 32 lina harbor 83 ivan ember 58 kim amber 17 gus ember 78
eli fable 74 ivan juniper 74 ivan fable 29 bruno harbor 86 ivan ember 11 eli fable 74 ivan fable 114 alice juniper 60
eli fable 74 ivan juniper 74 ivan fable 29 bruno harbor 86 ivan ember 11 ivan fable 114 alice juniper 60
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049351
qwen/qwen3.7-plus
awkweave-0049352
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
farah indigo 37 dina juniper 6 alice fable 105 kim delta 105 jules amber 87 jules birch 73
farah indigo 37 dina juniper 6 alice fable 105 kim delta 105 jules amber 87 jules birch 73
farah fable 90 farah amber 2 gus delta 87 alice harbor 64 kim juniper 106 kim juniper 52 lina ember 41
farah fable 90 farah amber 2 gus delta 87 alice harbor 64 kim juniper 106 lina ember 41
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049352-p1
Retain only the first occurrence for each unique value in column 2, keeping the input order.
!seen[$2]++
farah indigo 37 dina juniper 6 alice fable 105 kim delta 105 jules amber 87 jules birch 73
farah indigo 37 dina juniper 6 alice fable 105 kim delta 105 jules amber 87 jules birch 73
farah fable 90 farah amber 2 gus delta 87 alice harbor 64 kim juniper 106 kim juniper 52 lina ember 41
farah fable 90 farah amber 2 gus delta 87 alice harbor 64 kim juniper 106 lina ember 41
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049352
qwen/qwen3.7-plus
awkweave-0049353
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 27 juniper ivan 8 ember bruno 27 grove chen 8 cobalt eli 15 indigo eli 10 harbor
chen 27 ivan 35 bruno 62 chen 70 eli 85 eli 95
jules 18 ember bruno 2 amber hana 6 cobalt gus 7 fable alice 9 juniper dina 13 juniper hana 15 grove eli 23 birch kim 12 cobalt
jules 18 bruno 20 hana 26 gus 33 alice 42 dina 55 hana 70 eli 93 kim 105
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049353-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 27 juniper ivan 8 ember bruno 27 grove chen 8 cobalt eli 15 indigo eli 10 harbor
chen 27 ivan 35 bruno 62 chen 70 eli 85 eli 95
jules 18 ember bruno 2 amber hana 6 cobalt gus 7 fable alice 9 juniper dina 13 juniper hana 15 grove eli 23 birch kim 12 cobalt
jules 18 bruno 20 hana 26 gus 33 alice 42 dina 55 hana 70 eli 93 kim 105
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049353
qwen/qwen3.7-plus
awkweave-0049354
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 7 15 juniper alice 10 18 fable alice 6 22 cobalt farah 27 15 cobalt lina 28 15 delta kim 21 24 juniper chen 8 5 cobalt
chen 22 alice 28 alice 28 farah 42 lina 43 kim 45 chen 13
jules 22 6 juniper gus 12 20 grove dina 22 7 juniper dina 6 22 birch farah 16 10 juniper farah 28 1 indigo hana 29 25 harbor gus 20 18 delta
jules 28 gus 32 dina 29 dina 28 farah 26 farah 29 hana 54 gus 38
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049354-p1
For each line, output the first field followed by the total of the second and third fields.
{print $1,$2+$3}
chen 7 15 juniper alice 10 18 fable alice 6 22 cobalt farah 27 15 cobalt lina 28 15 delta kim 21 24 juniper chen 8 5 cobalt
chen 22 alice 28 alice 28 farah 42 lina 43 kim 45 chen 13
jules 22 6 juniper gus 12 20 grove dina 22 7 juniper dina 6 22 birch farah 16 10 juniper farah 28 1 indigo hana 29 25 harbor gus 20 18 delta
jules 28 gus 32 dina 29 dina 28 farah 26 farah 29 hana 54 gus 38
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049354
qwen/qwen3.7-plus
awkweave-0049355
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
chen 19 ivan 26 ivan 22 hana 2 bruno 13 gus 18 lina 5 kim 16 chen 23
chen fail ivan pass ivan fail hana fail bruno fail gus fail lina fail kim fail chen pass
dina 23 ivan 11 bruno 7 hana 28 dina 3 chen 15
dina pass ivan fail bruno fail hana pass dina fail chen fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049355-p1
Output the first column; if the second column is 23 or higher, output pass, otherwise output fail.
{print $1,($2>=23?"pass":"fail")}
chen 19 ivan 26 ivan 22 hana 2 bruno 13 gus 18 lina 5 kim 16 chen 23
chen fail ivan pass ivan fail hana fail bruno fail gus fail lina fail kim fail chen pass
dina 23 ivan 11 bruno 7 hana 28 dina 3 chen 15
dina pass ivan fail bruno fail hana pass dina fail chen fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049355
qwen/qwen3.7-plus
awkweave-0049356
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice birch 111 alice delta 67 dina indigo 30 hana ember 89 eli grove 112 eli ember 54
BIRCH DELTA INDIGO EMBER GROVE EMBER
ivan ember 116 gus cobalt 75 ivan indigo 95 jules birch 63 ivan fable 76 gus birch 49
EMBER COBALT INDIGO BIRCH FABLE BIRCH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049356-p1
Transform the second column to uppercase and display only that column.
{print toupper($2)}
alice birch 111 alice delta 67 dina indigo 30 hana ember 89 eli grove 112 eli ember 54
BIRCH DELTA INDIGO EMBER GROVE EMBER
ivan ember 116 gus cobalt 75 ivan indigo 95 jules birch 63 ivan fable 76 gus birch 49
EMBER COBALT INDIGO BIRCH FABLE BIRCH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049356
qwen/qwen3.7-plus
awkweave-0049357
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
grove 106 indigo 76 cobalt 88 birch 5 ember 41 harbor 101 grove 120 cobalt 5
rov ndi oba irc mbe arb rov oba
grove 49 ember 5 harbor 55 cobalt 54 fable 19 harbor 69 amber 73
rov mbe arb oba abl arb mbe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049357-p1
Extract and print a 3-character substring from the first column, starting at the second character.
{print substr($1,2,3)}
grove 106 indigo 76 cobalt 88 birch 5 ember 41 harbor 101 grove 120 cobalt 5
rov ndi oba irc mbe arb rov oba
grove 49 ember 5 harbor 55 cobalt 54 fable 19 harbor 69 amber 73
rov mbe arb oba abl arb mbe
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049357
qwen/qwen3.7-plus
awkweave-0049358
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 52 harbor_fable 93 fable_cobalt 115 fable_ember 105 birch_cobalt 87 fable_fable 94 indigo_grove 73 amber_harbor 19 cobalt_fable 71
delta cobalt harbor fable fable cobalt fable ember birch cobalt fable fable indigo grove amber harbor cobalt fable
juniper_harbor 26 indigo_delta 14 ember_ember 117 amber_harbor 42 birch_fable 37 indigo_delta 102 amber_delta 22
juniper harbor indigo delta ember ember amber harbor birch fable indigo delta amber delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049358-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_cobalt 52 harbor_fable 93 fable_cobalt 115 fable_ember 105 birch_cobalt 87 fable_fable 94 indigo_grove 73 amber_harbor 19 cobalt_fable 71
delta cobalt harbor fable fable cobalt fable ember birch cobalt fable fable indigo grove amber harbor cobalt fable
juniper_harbor 26 indigo_delta 14 ember_ember 117 amber_harbor 42 birch_fable 37 indigo_delta 102 amber_delta 22
juniper harbor indigo delta ember ember amber harbor birch fable indigo delta amber delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049358
qwen/qwen3.7-plus
awkweave-0049359
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)}
alice birch 114 closed eli harbor 42 ready kim delta 10 ready hana delta 23 failed hana birch 59 pending bruno harbor 63 failed gus delta 28 active
closed 114 birch alice ready 42 harbor eli ready 10 delta kim failed 23 delta hana pending 59 birch hana failed 63 harbor bruno active 28 delta gus
alice grove 54 ready hana birch 94 paused farah indigo 11 active chen amber 92 active gus harbor 106 closed ivan delta 80 pending bruno fable 115 closed ivan birch 92 ready
ready 54 grove alice paused 94 birch hana active 11 indigo farah active 92 amber chen closed 106 harbor gus pending 80 delta ivan closed 115 fable bruno ready 92 birch ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049359-p1
Reverse the sequence of fields on each line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice birch 114 closed eli harbor 42 ready kim delta 10 ready hana delta 23 failed hana birch 59 pending bruno harbor 63 failed gus delta 28 active
closed 114 birch alice ready 42 harbor eli ready 10 delta kim failed 23 delta hana pending 59 birch hana failed 63 harbor bruno active 28 delta gus
alice grove 54 ready hana birch 94 paused farah indigo 11 active chen amber 92 active gus harbor 106 closed ivan delta 80 pending bruno fable 115 closed ivan birch 92 ready
ready 54 grove alice paused 94 birch hana active 11 indigo farah active 92 amber chen closed 106 harbor gus pending 80 delta ivan closed 115 fable bruno ready 92 birch ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049359
qwen/qwen3.7-plus
awkweave-0049360
Print the number of whitespace-separated fields on each line.
{print NF}
eli fable 72 ready farah indigo 71 closed jules amber 34 paused bruno birch 2 paused kim amber 78 active kim cobalt 87 pending ivan amber 74 pending ivan delta 88 active
4 4 4 4 4 4 4 4
lina cobalt 85 closed chen harbor 44 active dina indigo 48 paused dina indigo 30 paused dina indigo 71 failed hana delta 49 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049360-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
eli fable 72 ready farah indigo 71 closed jules amber 34 paused bruno birch 2 paused kim amber 78 active kim cobalt 87 pending ivan amber 74 pending ivan delta 88 active
4 4 4 4 4 4 4 4
lina cobalt 85 closed chen harbor 44 active dina indigo 48 paused dina indigo 30 paused dina indigo 71 failed hana delta 49 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049360
qwen/qwen3.7-plus
awkweave-0049361
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]]}
gus alpha 16 kim gamma 81 lina delta 109 dina alpha 0 lina beta 67 alice gamma 105 eli beta 5 lina gamma 96
alpha 2 gamma 3 delta 1 beta 2
dina beta 17 eli beta 5 gus delta 117 lina gamma 8 lina gamma 6 chen delta 47 kim gamma 52 chen delta 3 kim beta 3 jules alpha 114
beta 3 delta 3 gamma 3 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049361-p1
Tally the records for each unique value in the second column and print each value alongside its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus alpha 16 kim gamma 81 lina delta 109 dina alpha 0 lina beta 67 alice gamma 105 eli beta 5 lina gamma 96
alpha 2 gamma 3 delta 1 beta 2
dina beta 17 eli beta 5 gus delta 117 lina gamma 8 lina gamma 6 chen delta 47 kim gamma 52 chen delta 3 kim beta 3 jules alpha 114
beta 3 delta 3 gamma 3 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049361
qwen/qwen3.7-plus
awkweave-0049362
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]]}
dina gamma 11 kim delta 4 alice beta 2 chen alpha 7 jules beta 2 bruno alpha 7 lina alpha 30
gamma 11 delta 4 beta 4 alpha 44
ivan beta 4 kim delta 30 eli alpha 3 lina alpha 24 hana alpha 10 gus gamma 16 gus alpha 24 ivan gamma 17
beta 4 delta 30 alpha 61 gamma 33
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049362-p1
Calculate the sum of the third column for each group defined by the second column, printing the results 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]]}
dina gamma 11 kim delta 4 alice beta 2 chen alpha 7 jules beta 2 bruno alpha 7 lina alpha 30
gamma 11 delta 4 beta 4 alpha 44
ivan beta 4 kim delta 30 eli alpha 3 lina alpha 24 hana alpha 10 gus gamma 16 gus alpha 24 ivan gamma 17
beta 4 delta 30 alpha 61 gamma 33
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049362
qwen/qwen3.7-plus
awkweave-0049363
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 amber 93 beta birch 35 delta grove 80 beta fable 105 delta ember 61 beta indigo 106 delta grove 3 delta fable 87 beta delta 116 delta cobalt 120
delta 6 beta 4
delta harbor 16 alpha ember 25 beta indigo 87 delta ember 97 alpha grove 60 gamma fable 108 delta indigo 67 alpha grove 26 beta fable 17
delta 3 alpha 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049363-p1
List each duplicate value from the first column along with its occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta amber 93 beta birch 35 delta grove 80 beta fable 105 delta ember 61 beta indigo 106 delta grove 3 delta fable 87 beta delta 116 delta cobalt 120
delta 6 beta 4
delta harbor 16 alpha ember 25 beta indigo 87 delta ember 97 alpha grove 60 gamma fable 108 delta indigo 67 alpha grove 26 beta fable 17
delta 3 alpha 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049363
qwen/qwen3.7-plus
awkweave-0049364
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note score state record_id r001 ivan 6 closed r002 eli 18 paused r003 bruno 10 ready r004 gus 30 failed r005 jules 15 closed r006 lina 5 closed r007 chen 12 pending r008 jules 14 failed r009 bruno 4 failed r010 dina 2 pending
6 18 10 30 15 5 12 14 4 2
note score state record_id r001 farah 18 closed r002 bruno 12 failed r003 bruno 9 failed r004 gus 7 closed r005 kim 19 pending r006 kim 5 pending r007 ivan 6 closed r008 eli 29 paused
18 12 9 7 19 5 6 29
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049364-p1
Skip the header row and print the state column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note score state record_id r001 ivan 6 closed r002 eli 18 paused r003 bruno 10 ready r004 gus 30 failed r005 jules 15 closed r006 lina 5 closed r007 chen 12 pending r008 jules 14 failed r009 bruno 4 failed r010 dina 2 pending
6 18 10 30 15 5 12 14 4 2
note score state record_id r001 farah 18 closed r002 bruno 12 failed r003 bruno 9 failed r004 gus 7 closed r005 kim 19 pending r006 kim 5 pending r007 ivan 6 closed r008 eli 29 paused
18 12 9 7 19 5 6 29
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049364
qwen/qwen3.7-plus
awkweave-0049365
The first row is a header. Print display_name for data rows whose score is greater than 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 eli 1 ready r002 farah 7 ready r003 jules 4 paused r004 bruno 12 closed r005 dina 4 closed r006 bruno 4 failed
bruno
record_id display_name score state r001 bruno 19 pending r002 dina 3 active r003 farah 15 paused r004 alice 11 ready r005 chen 17 paused r006 chen 10 ready
bruno farah alice chen chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049365-p1
Ignoring the header, print the display_name for rows where the score exceeds 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 eli 1 ready r002 farah 7 ready r003 jules 4 paused r004 bruno 12 closed r005 dina 4 closed r006 bruno 4 failed
bruno
record_id display_name score state r001 bruno 19 pending r002 dina 3 active r003 farah 15 paused r004 alice 11 ready r005 chen 17 paused r006 chen 10 ready
bruno farah alice chen chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049365
qwen/qwen3.7-plus
awkweave-0049366
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 6 paused hana 18 ready hana 19 ready bruno 16 failed lina 18 ready farah 15 pending jules 5 pending gus 25 pending alice 22 ready
paused ready ready failed ready pending pending pending ready
dina 20 active farah 17 active bruno 30 paused ivan 21 paused eli 13 paused ivan 15 closed
active active paused paused paused closed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049366-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 6 paused hana 18 ready hana 19 ready bruno 16 failed lina 18 ready farah 15 pending jules 5 pending gus 25 pending alice 22 ready
paused ready ready failed ready pending pending pending ready
dina 20 active farah 17 active bruno 30 paused ivan 21 paused eli 13 paused ivan 15 closed
active active paused paused paused closed
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0049366
qwen/qwen3.7-plus
awkweave-0049367
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}
farah,3,failed bruno,23,ready farah,9,active kim,3,closed eli,11,ready chen,10,failed jules,17,active gus,22,failed
bruno gus
eli,14,closed jules,29,closed alice,23,failed lina,27,pending farah,17,paused dina,4,active jules,28,failed
jules alice lina jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049367-p1
Output the first column for rows where the second column is greater than 18, assuming simple CSV input without quoted commas.
BEGIN{FS=OFS=","}$2>18{print $1}
farah,3,failed bruno,23,ready farah,9,active kim,3,closed eli,11,ready chen,10,failed jules,17,active gus,22,failed
bruno gus
eli,14,closed jules,29,closed alice,23,failed lina,27,pending farah,17,paused dina,4,active jules,28,failed
jules alice lina jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049367
qwen/qwen3.7-plus
awkweave-0049368
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina amber 53 bruno fable 59 dina amber 93 lina ember 4 bruno juniper 93 hana grove 97 dina fable 103
lina amber 53 bruno fable 59 dina amber 93 lina ember 4 bruno juniper 93 hana grove 97 dina fable 103
farah juniper 2 hana amber 87 dina fable 115 alice amber 99 ivan fable 2 farah juniper 50 dina juniper 25
farah juniper 2 hana amber 87 dina fable 115 alice amber 99 ivan fable 2 farah juniper 50 dina juniper 25
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049368-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
lina amber 53 bruno fable 59 dina amber 93 lina ember 4 bruno juniper 93 hana grove 97 dina fable 103
lina amber 53 bruno fable 59 dina amber 93 lina ember 4 bruno juniper 93 hana grove 97 dina fable 103
farah juniper 2 hana amber 87 dina fable 115 alice amber 99 ivan fable 2 farah juniper 50 dina juniper 25
farah juniper 2 hana amber 87 dina fable 115 alice amber 99 ivan fable 2 farah juniper 50 dina juniper 25
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049368
qwen/qwen3.7-plus
awkweave-0049369
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus fable 63 closed hana amber 82 paused hana indigo 33 failed hana ember 41 pending bruno cobalt 5 active alice delta 87 failed lina delta 8 paused
hana indigo 33 failed
eli delta 50 failed jules birch 29 pending alice amber 74 pending ivan grove 50 active hana cobalt 27 failed alice amber 0 paused lina indigo 22 active
jules birch 29 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049369-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
gus fable 63 closed hana amber 82 paused hana indigo 33 failed hana ember 41 pending bruno cobalt 5 active alice delta 87 failed lina delta 8 paused
hana indigo 33 failed
eli delta 50 failed jules birch 29 pending alice amber 74 pending ivan grove 50 active hana cobalt 27 failed alice amber 0 paused lina indigo 22 active
jules birch 29 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049369
qwen/qwen3.7-plus
awkweave-0049370
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
eli 18 chen 69 chen 84 jules 114 gus 62 lina 119 alice 37
jules 114
hana 46 dina 50 kim 28 lina 111 lina 85 farah 67 dina 53 kim 116 ivan 105
lina 111 kim 116
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049370-p1
Print every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
eli 18 chen 69 chen 84 jules 114 gus 62 lina 119 alice 37
jules 114
hana 46 dina 50 kim 28 lina 111 lina 85 farah 67 dina 53 kim 116 ivan 105
lina 111 kim 116
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049370
qwen/qwen3.7-plus
awkweave-0049371
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha grove 109 gamma fable 23 gamma juniper 76 alpha delta 74 alpha harbor 76 beta grove 42 gamma harbor 60 delta juniper 27
4
gamma harbor 89 delta ember 7 beta indigo 47 beta juniper 91 beta indigo 48 alpha delta 17 delta amber 55
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049371-p1
Calculate the number of unique values in the first column and output only that total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha grove 109 gamma fable 23 gamma juniper 76 alpha delta 74 alpha harbor 76 beta grove 42 gamma harbor 60 delta juniper 27
4
gamma harbor 89 delta ember 7 beta indigo 47 beta juniper 91 beta indigo 48 alpha delta 17 delta amber 55
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049371
qwen/qwen3.7-plus
awkweave-0049372
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 30 0 bruno 8 27 jules 20 7 alice 9 25 bruno 28 2 lina 14 8 hana 19 12 jules 13 10
bruno 0.30 jules 2.86 alice 0.36 bruno 14.00 lina 1.75 hana 1.58 jules 1.30
ivan 29 0 ivan 2 22 farah 27 5 gus 20 15 ivan 3 28 eli 29 8
ivan 0.09 farah 5.40 gus 1.33 ivan 0.11 eli 3.62
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049372-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, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 30 0 bruno 8 27 jules 20 7 alice 9 25 bruno 28 2 lina 14 8 hana 19 12 jules 13 10
bruno 0.30 jules 2.86 alice 0.36 bruno 14.00 lina 1.75 hana 1.58 jules 1.30
ivan 29 0 ivan 2 22 farah 27 5 gus 20 15 ivan 3 28 eli 29 8
ivan 0.09 farah 5.40 gus 1.33 ivan 0.11 eli 3.62
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049372
qwen/qwen3.7-plus
awkweave-0049373
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]}
hana amber 12 bruno indigo 20 gus harbor 19 chen cobalt 7 hana ember 3 jules harbor 30 lina birch 12 jules indigo 7 hana juniper 24
jules harbor 30 hana juniper 24 bruno indigo 20
farah indigo 8 chen birch 19 chen ember 28 bruno delta 24 lina amber 17 dina indigo 17 gus indigo 30 lina indigo 7 kim grove 13
gus indigo 30 chen ember 28 bruno delta 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049373-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana amber 12 bruno indigo 20 gus harbor 19 chen cobalt 7 hana ember 3 jules harbor 30 lina birch 12 jules indigo 7 hana juniper 24
jules harbor 30 hana juniper 24 bruno indigo 20
farah indigo 8 chen birch 19 chen ember 28 bruno delta 24 lina amber 17 dina indigo 17 gus indigo 30 lina indigo 7 kim grove 13
gus indigo 30 chen ember 28 bruno delta 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049373
qwen/qwen3.7-plus
awkweave-0049374
Print column 4 followed by column 1 for every record.
{print $4, $1}
delta failed 85 paused amber closed 60 paused amber paused 88 active ember active 54 failed indigo ready 4 ready grove ready 34 ready grove ready 36 failed birch closed 98 active
paused delta paused amber active amber failed ember ready indigo ready grove failed grove active birch
ember pending 27 ready juniper pending 23 closed indigo active 47 active juniper pending 23 closed harbor pending 72 closed grove active 5 paused birch closed 35 pending
ready ember closed juniper active indigo closed juniper closed harbor paused grove pending birch
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049374-p1
Output the fourth column followed by the first column for every record.
{print $4, $1}
delta failed 85 paused amber closed 60 paused amber paused 88 active ember active 54 failed indigo ready 4 ready grove ready 34 ready grove ready 36 failed birch closed 98 active
paused delta paused amber active amber failed ember ready indigo ready grove failed grove active birch
ember pending 27 ready juniper pending 23 closed indigo active 47 active juniper pending 23 closed harbor pending 72 closed grove active 5 paused birch closed 35 pending
ready ember closed juniper active indigo closed juniper closed harbor paused grove pending birch
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049374
qwen/qwen3.7-plus
awkweave-0049375
Print the last field of every input line.
{print $NF}
30 ember 87 hana grove harbor bruno 62 grove 2 alice amber grove bruno 65 grove 61 hana amber delta dina 48 indigo 111 bruno harbor amber lina 70 indigo 52 ivan fable grove ivan 53 ember 93 eli amber grove alice 99 grove 19 bruno amber ember eli 81 juniper 99 lina ember fable kim
bruno bruno dina lina ivan alice eli kim
43 fable 12 kim indigo fable lina 66 juniper 63 gus birch cobalt hana 61 cobalt 96 alice cobalt harbor alice 65 delta 89 kim ember juniper eli 60 grove 71 dina harbor amber farah 68 amber 100 chen juniper ember jules 64 amber 77 bruno amber juniper gus 108 cobalt 67 eli indigo cobalt dina 60 grove 96 chen cobalt delta ...
lina hana alice eli farah jules gus dina lina kim
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049375-p1
Print the final field of each input line.
{print $NF}
30 ember 87 hana grove harbor bruno 62 grove 2 alice amber grove bruno 65 grove 61 hana amber delta dina 48 indigo 111 bruno harbor amber lina 70 indigo 52 ivan fable grove ivan 53 ember 93 eli amber grove alice 99 grove 19 bruno amber ember eli 81 juniper 99 lina ember fable kim
bruno bruno dina lina ivan alice eli kim
43 fable 12 kim indigo fable lina 66 juniper 63 gus birch cobalt hana 61 cobalt 96 alice cobalt harbor alice 65 delta 89 kim ember juniper eli 60 grove 71 dina harbor amber farah 68 amber 100 chen juniper ember jules 64 amber 77 bruno amber juniper gus 108 cobalt 67 eli indigo cobalt dina 60 grove 96 chen cobalt delta ...
lina hana alice eli farah jules gus dina lina kim
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049375
qwen/qwen3.7-plus
awkweave-0049376
Print the complete records where column 3 is greater than 21.
$3 > 21
active lina 106 harbor paused gus 81 amber active eli 65 ember pending ivan 24 grove active dina 103 indigo ready bruno 115 fable failed dina 66 birch failed alice 71 amber closed jules 90 juniper
active lina 106 harbor paused gus 81 amber active eli 65 ember pending ivan 24 grove active dina 103 indigo ready bruno 115 fable failed dina 66 birch failed alice 71 amber closed jules 90 juniper
closed hana 78 juniper ready alice 73 amber active alice 102 grove closed ivan 117 harbor closed ivan 46 amber active eli 107 birch closed ivan 28 birch failed lina 74 indigo paused bruno 79 amber
closed hana 78 juniper ready alice 73 amber active alice 102 grove closed ivan 117 harbor closed ivan 46 amber active eli 107 birch closed ivan 28 birch failed lina 74 indigo paused bruno 79 amber
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049376-p1
Output the full records for which the value in column 3 exceeds 21.
$3 > 21
active lina 106 harbor paused gus 81 amber active eli 65 ember pending ivan 24 grove active dina 103 indigo ready bruno 115 fable failed dina 66 birch failed alice 71 amber closed jules 90 juniper
active lina 106 harbor paused gus 81 amber active eli 65 ember pending ivan 24 grove active dina 103 indigo ready bruno 115 fable failed dina 66 birch failed alice 71 amber closed jules 90 juniper
closed hana 78 juniper ready alice 73 amber active alice 102 grove closed ivan 117 harbor closed ivan 46 amber active eli 107 birch closed ivan 28 birch failed lina 74 indigo paused bruno 79 amber
closed hana 78 juniper ready alice 73 amber active alice 102 grove closed ivan 117 harbor closed ivan 46 amber active eli 107 birch closed ivan 28 birch failed lina 74 indigo paused bruno 79 amber
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049376
qwen/qwen3.7-plus
awkweave-0049377
Show whole lines whose 3rd field is between 9 and 23, inclusive.
$3 >= 9 && $3 <= 23
hana closed 15 paused chen paused 7 closed dina active 10 closed chen ready 9 pending kim closed 30 failed farah closed 5 closed
hana closed 15 paused dina active 10 closed chen ready 9 pending
kim ready 4 active dina ready 9 closed ivan failed 8 pending chen active 11 closed alice ready 23 ready farah failed 29 closed gus failed 27 paused dina failed 20 paused farah active 6 pending gus paused 26 pending
dina ready 9 closed chen active 11 closed alice ready 23 ready dina failed 20 paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049377-p1
Display entire lines where the third field falls within the inclusive range of 9 to 23.
$3 >= 9 && $3 <= 23
hana closed 15 paused chen paused 7 closed dina active 10 closed chen ready 9 pending kim closed 30 failed farah closed 5 closed
hana closed 15 paused dina active 10 closed chen ready 9 pending
kim ready 4 active dina ready 9 closed ivan failed 8 pending chen active 11 closed alice ready 23 ready farah failed 29 closed gus failed 27 paused dina failed 20 paused farah active 6 pending gus paused 26 pending
dina ready 9 closed chen active 11 closed alice ready 23 ready dina failed 20 paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049377
qwen/qwen3.7-plus
awkweave-0049378
Print column 2 only for rows where column 3 is exactly failed.
$3 == "failed"{print $2}
29 lina active grove 71 lina closed cobalt 110 dina closed fable 83 chen pending birch 76 bruno paused indigo 32 farah failed ember 63 dina active amber
farah
3 eli pending indigo 105 kim ready birch 117 farah pending cobalt 25 gus failed harbor 0 hana pending juniper 112 ivan active juniper 8 dina paused indigo
gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049378-p1
Output the second column exclusively for rows where the third column matches 'failed' exactly.
$3 == "failed"{print $2}
29 lina active grove 71 lina closed cobalt 110 dina closed fable 83 chen pending birch 76 bruno paused indigo 32 farah failed ember 63 dina active amber
farah
3 eli pending indigo 105 kim ready birch 117 farah pending cobalt 25 gus failed harbor 0 hana pending juniper 112 ivan active juniper 8 dina paused indigo
gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049378
qwen/qwen3.7-plus
awkweave-0049379
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
INFO 59 birch INFO 31 grove WARN 77 indigo ERROR 54 birch INFO 29 juniper INFO 34 indigo
ERROR 54 birch
WARN 84 cobalt DEBUG 47 ember ERROR 12 amber ERROR 116 juniper INFO 66 amber WARN 48 amber ERROR 71 harbor ERROR 78 fable
ERROR 12 amber ERROR 116 juniper ERROR 71 harbor ERROR 78 fable
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049379-p1
Display all fields from lines where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
INFO 59 birch INFO 31 grove WARN 77 indigo ERROR 54 birch INFO 29 juniper INFO 34 indigo
ERROR 54 birch
WARN 84 cobalt DEBUG 47 ember ERROR 12 amber ERROR 116 juniper INFO 66 amber WARN 48 amber ERROR 71 harbor ERROR 78 fable
ERROR 12 amber ERROR 116 juniper ERROR 71 harbor ERROR 78 fable
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049379
qwen/qwen3.7-plus
awkweave-0049380
Print every line except those containing the exact text amber.
$0 !~ /amber/
cobalt 49 paused delta 68 active juniper 89 failed birch 1 closed indigo 69 paused cobalt 16 closed harbor 88 ready ember 41 ready cobalt 24 failed amber 999 active
cobalt 49 paused delta 68 active juniper 89 failed birch 1 closed indigo 69 paused cobalt 16 closed harbor 88 ready ember 41 ready cobalt 24 failed
grove 65 ready harbor 93 ready amber 57 active ember 115 active delta 35 pending juniper 108 closed amber 999 active
grove 65 ready harbor 93 ready ember 115 active delta 35 pending juniper 108 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049380-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
cobalt 49 paused delta 68 active juniper 89 failed birch 1 closed indigo 69 paused cobalt 16 closed harbor 88 ready ember 41 ready cobalt 24 failed amber 999 active
cobalt 49 paused delta 68 active juniper 89 failed birch 1 closed indigo 69 paused cobalt 16 closed harbor 88 ready ember 41 ready cobalt 24 failed
grove 65 ready harbor 93 ready amber 57 active ember 115 active delta 35 pending juniper 108 closed amber 999 active
grove 65 ready harbor 93 ready ember 115 active delta 35 pending juniper 108 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049380
qwen/qwen3.7-plus
awkweave-0049381
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
gus delta 36 farah amber 42 dina harbor 52 dina delta 56 hana cobalt 51 gus fable 5
dina harbor 52 dina delta 56
chen harbor 7 bruno cobalt 16 bruno juniper 109 chen ember 6 alice juniper 92 jules harbor 114 ivan cobalt 2 chen cobalt 43 hana cobalt 9
bruno juniper 109 chen ember 6
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0049381-p1
Output lines 3 to 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
gus delta 36 farah amber 42 dina harbor 52 dina delta 56 hana cobalt 51 gus fable 5
dina harbor 52 dina delta 56
chen harbor 7 bruno cobalt 16 bruno juniper 109 chen ember 6 alice juniper 92 jules harbor 114 ivan cobalt 2 chen cobalt 43 hana cobalt 9
bruno juniper 109 chen ember 6
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0049381
qwen/qwen3.7-plus
awkweave-0049382
Output only the first 4 records.
NR <= 4
eli 74 grove jules 98 delta dina 9 harbor ivan 8 amber bruno 95 harbor chen 24 amber ivan 97 grove
eli 74 grove jules 98 delta dina 9 harbor ivan 8 amber
ivan 111 cobalt hana 9 fable bruno 68 fable chen 30 ember bruno 71 ember hana 85 cobalt lina 119 cobalt chen 13 harbor alice 10 amber hana 39 harbor
ivan 111 cobalt hana 9 fable bruno 68 fable chen 30 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null