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-0059943
Select the 3rd and 1st fields in that order.
{print $3, $1}
paused lina grove indigo pending kim amber fable closed alice delta ember ready gus ember fable pending gus amber birch paused farah indigo delta active ivan indigo fable
grove paused amber pending delta closed ember ready amber pending indigo paused indigo active
closed ivan birch juniper failed bruno cobalt juniper paused lina ember grove ready lina grove fable active farah juniper fable paused gus juniper delta closed chen juniper harbor ready chen grove grove
birch closed cobalt failed ember paused grove ready juniper active juniper paused juniper closed grove ready
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059943-p1
Extract fields 3 and 1, in that specific sequence.
{print $3, $1}
paused lina grove indigo pending kim amber fable closed alice delta ember ready gus ember fable pending gus amber birch paused farah indigo delta active ivan indigo fable
grove paused amber pending delta closed ember ready amber pending indigo paused indigo active
closed ivan birch juniper failed bruno cobalt juniper paused lina ember grove ready lina grove fable active farah juniper fable paused gus juniper delta closed chen juniper harbor ready chen grove grove
birch closed cobalt failed ember paused grove ready juniper active juniper paused juniper closed grove ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059943
qwen/qwen3.7-plus
awkweave-0059944
Print the last field of every input line.
{print $NF}
active 109 indigo failed kim ready 40 juniper pending alice closed 31 birch paused chen paused 47 grove active ivan ready 114 ember pending dina failed 39 juniper pending gus active 59 birch failed lina active 41 cobalt paused kim paused 22 fable closed hana ready 103 birch failed gus
kim alice chen ivan dina gus lina kim hana gus
ready 104 birch failed chen pending 47 fable paused jules paused 65 grove closed chen pending 15 cobalt active hana failed 37 fable failed bruno ready 36 grove ready hana paused 77 amber paused eli
chen jules chen hana bruno hana eli
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059944-p1
Display the final field from each input line.
{print $NF}
active 109 indigo failed kim ready 40 juniper pending alice closed 31 birch paused chen paused 47 grove active ivan ready 114 ember pending dina failed 39 juniper pending gus active 59 birch failed lina active 41 cobalt paused kim paused 22 fable closed hana ready 103 birch failed gus
kim alice chen ivan dina gus lina kim hana gus
ready 104 birch failed chen pending 47 fable paused jules paused 65 grove closed chen pending 15 cobalt active hana failed 37 fable failed bruno ready 36 grove ready hana paused 77 amber paused eli
chen jules chen hana bruno hana eli
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059944
qwen/qwen3.7-plus
awkweave-0059945
Print the complete records where column 1 is greater than 32.
$1 > 32
5 closed paused pending 13 closed paused pending 110 failed ready pending 100 active paused closed 116 closed failed active 18 closed pending ready 2 failed active closed 1 failed failed paused 12 paused ready pending
110 failed ready pending 100 active paused closed 116 closed failed active
1 closed paused pending 48 active failed closed 23 paused failed pending 76 paused ready pending 63 active active ready 68 closed paused failed
48 active failed closed 76 paused ready pending 63 active active ready 68 closed paused failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059945-p1
Print full records where the value in column 1 exceeds 32.
$1 > 32
5 closed paused pending 13 closed paused pending 110 failed ready pending 100 active paused closed 116 closed failed active 18 closed pending ready 2 failed active closed 1 failed failed paused 12 paused ready pending
110 failed ready pending 100 active paused closed 116 closed failed active
1 closed paused pending 48 active failed closed 23 paused failed pending 76 paused ready pending 63 active active ready 68 closed paused failed
48 active failed closed 76 paused ready pending 63 active active ready 68 closed paused failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059945
qwen/qwen3.7-plus
awkweave-0059946
Show whole lines whose 1st field is between 8 and 24, inclusive.
$1 >= 8 && $1 <= 24
4 harbor paused jules 10 cobalt active kim 9 amber active ivan 14 indigo paused gus 4 birch active gus 12 fable ready kim 3 juniper failed hana 10 cobalt closed eli 16 harbor ready dina
10 cobalt active kim 9 amber active ivan 14 indigo paused gus 12 fable ready kim 10 cobalt closed eli 16 harbor ready dina
25 grove paused farah 18 birch ready eli 29 birch failed alice 20 grove failed jules 24 amber ready kim 9 birch active jules 24 ember failed chen 26 indigo active jules
18 birch ready eli 20 grove failed jules 24 amber ready kim 9 birch active jules 24 ember failed chen
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059946-p1
Show entire lines where the first field falls within the inclusive range of 8 to 24.
$1 >= 8 && $1 <= 24
4 harbor paused jules 10 cobalt active kim 9 amber active ivan 14 indigo paused gus 4 birch active gus 12 fable ready kim 3 juniper failed hana 10 cobalt closed eli 16 harbor ready dina
10 cobalt active kim 9 amber active ivan 14 indigo paused gus 12 fable ready kim 10 cobalt closed eli 16 harbor ready dina
25 grove paused farah 18 birch ready eli 29 birch failed alice 20 grove failed jules 24 amber ready kim 9 birch active jules 24 ember failed chen 26 indigo active jules
18 birch ready eli 20 grove failed jules 24 amber ready kim 9 birch active jules 24 ember failed chen
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059946
qwen/qwen3.7-plus
awkweave-0059947
Print column 2 only for rows where column 1 is exactly active.
$1 == "active"{print $2}
active gus delta 41 closed bruno cobalt 68 active chen amber 42 pending jules harbor 53 failed hana harbor 61 pending eli amber 70
gus chen
pending lina fable 47 failed lina indigo 10 failed chen amber 77 failed bruno fable 31 closed eli birch 102 ready dina ember 57 paused alice delta 81 closed hana fable 21
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059947-p1
Output only column 2 for rows where column 1 is exactly 'active'.
$1 == "active"{print $2}
active gus delta 41 closed bruno cobalt 68 active chen amber 42 pending jules harbor 53 failed hana harbor 61 pending eli amber 70
gus chen
pending lina fable 47 failed lina indigo 10 failed chen amber 77 failed bruno fable 31 closed eli birch 102 ready dina ember 57 paused alice delta 81 closed hana fable 21
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059947
qwen/qwen3.7-plus
awkweave-0059948
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
97 WARN harbor 78 WARN juniper 111 DEBUG harbor 117 INFO fable 94 INFO delta 78 ERROR fable 13 INFO harbor 27 ERROR juniper
117 INFO fable 94 INFO delta 13 INFO harbor
78 INFO indigo 94 ERROR grove 120 DEBUG fable 84 DEBUG delta 99 INFO cobalt 23 WARN amber 59 WARN ember 5 DEBUG harbor 71 WARN delta
78 INFO indigo 99 INFO cobalt
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059948-p1
Print all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
97 WARN harbor 78 WARN juniper 111 DEBUG harbor 117 INFO fable 94 INFO delta 78 ERROR fable 13 INFO harbor 27 ERROR juniper
117 INFO fable 94 INFO delta 13 INFO harbor
78 INFO indigo 94 ERROR grove 120 DEBUG fable 84 DEBUG delta 99 INFO cobalt 23 WARN amber 59 WARN ember 5 DEBUG harbor 71 WARN delta
78 INFO indigo 99 INFO cobalt
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059948
qwen/qwen3.7-plus
awkweave-0059949
Print every line except those containing the exact text amber.
$0 !~ /amber/
indigo 78 failed juniper 116 closed harbor 71 pending indigo 119 pending cobalt 4 active grove 93 active cobalt 28 ready amber 999 active
indigo 78 failed juniper 116 closed harbor 71 pending indigo 119 pending cobalt 4 active grove 93 active cobalt 28 ready
fable 120 paused fable 43 pending birch 59 ready indigo 44 failed harbor 19 pending grove 60 ready ember 89 paused grove 81 pending amber 999 active
fable 120 paused fable 43 pending birch 59 ready indigo 44 failed harbor 19 pending grove 60 ready ember 89 paused grove 81 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059949-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
indigo 78 failed juniper 116 closed harbor 71 pending indigo 119 pending cobalt 4 active grove 93 active cobalt 28 ready amber 999 active
indigo 78 failed juniper 116 closed harbor 71 pending indigo 119 pending cobalt 4 active grove 93 active cobalt 28 ready
fable 120 paused fable 43 pending birch 59 ready indigo 44 failed harbor 19 pending grove 60 ready ember 89 paused grove 81 pending amber 999 active
fable 120 paused fable 43 pending birch 59 ready indigo 44 failed harbor 19 pending grove 60 ready ember 89 paused grove 81 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059949
qwen/qwen3.7-plus
awkweave-0059950
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
farah juniper 111 lina juniper 21 ivan cobalt 74 ivan amber 118 ivan amber 51 farah juniper 54 lina delta 101 eli delta 79 kim harbor 42
ivan cobalt 74 ivan amber 118 ivan amber 51 farah juniper 54
dina grove 5 bruno fable 83 ivan indigo 36 ivan indigo 81 jules cobalt 56 bruno juniper 104 eli delta 27 jules harbor 93 dina cobalt 56
ivan indigo 36 ivan indigo 81 jules cobalt 56 bruno juniper 104
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059950-p1
Output lines 3 through 6, inclusive.
NR >= 3 && NR <= 6
farah juniper 111 lina juniper 21 ivan cobalt 74 ivan amber 118 ivan amber 51 farah juniper 54 lina delta 101 eli delta 79 kim harbor 42
ivan cobalt 74 ivan amber 118 ivan amber 51 farah juniper 54
dina grove 5 bruno fable 83 ivan indigo 36 ivan indigo 81 jules cobalt 56 bruno juniper 104 eli delta 27 jules harbor 93 dina cobalt 56
ivan indigo 36 ivan indigo 81 jules cobalt 56 bruno juniper 104
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059950
qwen/qwen3.7-plus
awkweave-0059951
Output only the first 5 records.
NR <= 5
ivan 95 indigo jules 112 ember eli 91 indigo eli 69 cobalt alice 79 grove gus 39 ember chen 77 amber ivan 23 grove ivan 93 cobalt
ivan 95 indigo jules 112 ember eli 91 indigo eli 69 cobalt alice 79 grove
dina 34 ember chen 80 amber chen 33 juniper farah 98 amber kim 77 harbor gus 43 ember jules 2 indigo chen 82 fable kim 79 cobalt hana 114 amber
dina 34 ember chen 80 amber chen 33 juniper farah 98 amber kim 77 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059951-p1
Display only the first five records.
NR <= 5
ivan 95 indigo jules 112 ember eli 91 indigo eli 69 cobalt alice 79 grove gus 39 ember chen 77 amber ivan 23 grove ivan 93 cobalt
ivan 95 indigo jules 112 ember eli 91 indigo eli 69 cobalt alice 79 grove
dina 34 ember chen 80 amber chen 33 juniper farah 98 amber kim 77 harbor gus 43 ember jules 2 indigo chen 82 fable kim 79 cobalt hana 114 amber
dina 34 ember chen 80 amber chen 33 juniper farah 98 amber kim 77 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059951
qwen/qwen3.7-plus
awkweave-0059952
Skip the first line and print every remaining line unchanged.
NR > 1
hana 102 ember bruno 9 cobalt hana 5 juniper eli 56 cobalt ivan 96 grove bruno 1 indigo alice 87 harbor farah 104 grove farah 72 fable chen 67 indigo
bruno 9 cobalt hana 5 juniper eli 56 cobalt ivan 96 grove bruno 1 indigo alice 87 harbor farah 104 grove farah 72 fable chen 67 indigo
chen 50 ember dina 76 harbor jules 69 grove gus 60 delta ivan 20 amber bruno 55 harbor
dina 76 harbor jules 69 grove gus 60 delta ivan 20 amber bruno 55 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059952-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
hana 102 ember bruno 9 cobalt hana 5 juniper eli 56 cobalt ivan 96 grove bruno 1 indigo alice 87 harbor farah 104 grove farah 72 fable chen 67 indigo
bruno 9 cobalt hana 5 juniper eli 56 cobalt ivan 96 grove bruno 1 indigo alice 87 harbor farah 104 grove farah 72 fable chen 67 indigo
chen 50 ember dina 76 harbor jules 69 grove gus 60 delta ivan 20 amber bruno 55 harbor
dina 76 harbor jules 69 grove gus 60 delta ivan 20 amber bruno 55 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059952
qwen/qwen3.7-plus
awkweave-0059953
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
ivan pending 99 ivan ready 12 eli pending 71 bruno closed 23 jules ready 25 gus active 1 ivan paused 50 alice pending 78 chen ready 57
3
lina closed 33 ivan closed 113 bruno failed 45 lina pending 64 farah active 51 farah ready 80 alice closed 24 alice closed 3 dina ready 31
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059953-p1
Count the number of records with 'ready' in column 2; output 0 if no such records exist.
$2 == "ready"{n++}END{print n+0}
ivan pending 99 ivan ready 12 eli pending 71 bruno closed 23 jules ready 25 gus active 1 ivan paused 50 alice pending 78 chen ready 57
3
lina closed 33 ivan closed 113 bruno failed 45 lina pending 64 farah active 51 farah ready 80 alice closed 24 alice closed 3 dina ready 31
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059953
qwen/qwen3.7-plus
awkweave-0059954
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
indigo 21 jules juniper 19 jules indigo 5 alice harbor 25 eli ember 6 bruno ember 24 hana juniper 11 dina grove 25 jules cobalt 4 gus cobalt 12 dina
152
cobalt 20 eli amber 5 farah fable 6 eli delta 27 lina delta 1 dina indigo 20 ivan amber 14 bruno delta 28 jules birch 13 alice
134
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059954-p1
Compute the total of all integer values found in the second column and display the result.
{s+=$2}END{print s+0}
indigo 21 jules juniper 19 jules indigo 5 alice harbor 25 eli ember 6 bruno ember 24 hana juniper 11 dina grove 25 jules cobalt 4 gus cobalt 12 dina
152
cobalt 20 eli amber 5 farah fable 6 eli delta 27 lina delta 1 dina indigo 20 ivan amber 14 bruno delta 28 jules birch 13 alice
134
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059954
qwen/qwen3.7-plus
awkweave-0059955
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 16 jules juniper 23 gus indigo 25 jules birch 19 bruno cobalt 22 bruno delta 19 ivan harbor 22 chen birch 25 alice
21.38
juniper 2 lina grove 23 lina harbor 29 ivan fable 27 alice amber 26 chen amber 19 chen
21.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059955-p1
Output the average of the values in column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 16 jules juniper 23 gus indigo 25 jules birch 19 bruno cobalt 22 bruno delta 19 ivan harbor 22 chen birch 25 alice
21.38
juniper 2 lina grove 23 lina harbor 29 ivan fable 27 alice amber 26 chen amber 19 chen
21.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059955
qwen/qwen3.7-plus
awkweave-0059956
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 6 alice birch 4 kim amber 8 jules amber 29 dina amber 23 jules fable 28 lina amber 18 jules
4
juniper 27 chen indigo 17 farah birch 28 jules harbor 6 lina harbor 30 lina delta 6 alice ember 6 bruno juniper 5 dina juniper 23 jules harbor 9 dina
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059956-p1
Identify and display the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 6 alice birch 4 kim amber 8 jules amber 29 dina amber 23 jules fable 28 lina amber 18 jules
4
juniper 27 chen indigo 17 farah birch 28 jules harbor 6 lina harbor 30 lina delta 6 alice ember 6 bruno juniper 5 dina juniper 23 jules harbor 9 dina
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059956
qwen/qwen3.7-plus
awkweave-0059957
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 16 hana birch 12 kim amber 22 eli cobalt 21 farah ember 8 jules harbor 13 lina juniper 20 ivan cobalt 6 lina ember 27 bruno
27
amber 18 chen cobalt 9 alice fable 15 jules delta 22 bruno delta 5 bruno grove 11 jules
22
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059957-p1
Identify and display the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 16 hana birch 12 kim amber 22 eli cobalt 21 farah ember 8 jules harbor 13 lina juniper 20 ivan cobalt 6 lina ember 27 bruno
27
amber 18 chen cobalt 9 alice fable 15 jules delta 22 bruno delta 5 bruno grove 11 jules
22
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059957
qwen/qwen3.7-plus
awkweave-0059958
Count all input records and print the total.
END{print NR}
hana 40 jules 38 bruno 11 hana 74 ivan 86 bruno 59 chen 59
7
bruno 24 alice 51 farah 75 lina 106 hana 1 kim 86 kim 99 kim 48 ivan 117 hana 80
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059958-p1
Count the total number of input records and print that count.
END{print NR}
hana 40 jules 38 bruno 11 hana 74 ivan 86 bruno 59 chen 59
7
bruno 24 alice 51 farah 75 lina 106 hana 1 kim 86 kim 99 kim 48 ivan 117 hana 80
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059958
qwen/qwen3.7-plus
awkweave-0059959
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan cobalt 8 bruno delta 59 eli delta 100 gus delta 27 dina delta 8 gus cobalt 17 gus birch 11 kim ember 94 bruno delta 59
ivan cobalt 8 bruno delta 59 eli delta 100 gus delta 27 dina delta 8 gus cobalt 17 gus birch 11 kim ember 94
gus birch 87 bruno cobalt 103 bruno cobalt 103 kim juniper 98 alice grove 2 hana indigo 22 bruno delta 16
gus birch 87 bruno cobalt 103 kim juniper 98 alice grove 2 hana indigo 22 bruno delta 16
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059959-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
ivan cobalt 8 bruno delta 59 eli delta 100 gus delta 27 dina delta 8 gus cobalt 17 gus birch 11 kim ember 94 bruno delta 59
ivan cobalt 8 bruno delta 59 eli delta 100 gus delta 27 dina delta 8 gus cobalt 17 gus birch 11 kim ember 94
gus birch 87 bruno cobalt 103 bruno cobalt 103 kim juniper 98 alice grove 2 hana indigo 22 bruno delta 16
gus birch 87 bruno cobalt 103 kim juniper 98 alice grove 2 hana indigo 22 bruno delta 16
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059959
qwen/qwen3.7-plus
awkweave-0059960
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
eli delta 115 chen cobalt 24 gus cobalt 77 jules fable 54 bruno harbor 75 kim fable 116
eli delta 115 chen cobalt 24 gus cobalt 77 jules fable 54 bruno harbor 75 kim fable 116
ivan ember 11 ivan harbor 103 jules harbor 34 farah cobalt 68 farah harbor 48 jules delta 31 jules cobalt 66 eli ember 49 hana delta 58 gus harbor 20
ivan ember 11 jules harbor 34 farah cobalt 68 eli ember 49 hana delta 58 gus harbor 20
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059960-p1
Retain only the initial line for every unique value in column 1, ensuring the original order is preserved.
!seen[$1]++
eli delta 115 chen cobalt 24 gus cobalt 77 jules fable 54 bruno harbor 75 kim fable 116
eli delta 115 chen cobalt 24 gus cobalt 77 jules fable 54 bruno harbor 75 kim fable 116
ivan ember 11 ivan harbor 103 jules harbor 34 farah cobalt 68 farah harbor 48 jules delta 31 jules cobalt 66 eli ember 49 hana delta 58 gus harbor 20
ivan ember 11 jules harbor 34 farah cobalt 68 eli ember 49 hana delta 58 gus harbor 20
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059960
qwen/qwen3.7-plus
awkweave-0059961
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 6 cobalt jules 23 juniper kim 24 harbor gus 6 grove alice 27 indigo eli 7 fable
kim 6 jules 29 kim 53 gus 59 alice 86 eli 93
farah 29 amber lina 20 amber lina 16 amber alice 18 fable bruno 9 amber jules 7 birch chen 11 fable dina 24 harbor
farah 29 lina 49 lina 65 alice 83 bruno 92 jules 99 chen 110 dina 134
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059961-p1
For each entry, output column 1 alongside the cumulative sum of column 2, using a space as the delimiter.
{s+=$2;print $1,s}
kim 6 cobalt jules 23 juniper kim 24 harbor gus 6 grove alice 27 indigo eli 7 fable
kim 6 jules 29 kim 53 gus 59 alice 86 eli 93
farah 29 amber lina 20 amber lina 16 amber alice 18 fable bruno 9 amber jules 7 birch chen 11 fable dina 24 harbor
farah 29 lina 49 lina 65 alice 83 bruno 92 jules 99 chen 110 dina 134
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059961
qwen/qwen3.7-plus
awkweave-0059962
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 4 17 harbor farah 17 19 delta ivan 6 5 delta chen 29 14 birch ivan 20 27 harbor alice 12 21 ember bruno 1 27 indigo ivan 18 5 indigo lina 12 8 harbor gus 21 24 indigo
jules 21 farah 36 ivan 11 chen 43 ivan 47 alice 33 bruno 28 ivan 23 lina 20 gus 45
eli 29 20 indigo bruno 9 12 grove gus 21 21 harbor eli 13 20 delta ivan 22 30 ember eli 23 10 delta alice 30 6 harbor kim 7 10 harbor hana 24 4 ember ivan 15 16 fable
eli 49 bruno 21 gus 42 eli 33 ivan 52 eli 33 alice 36 kim 17 hana 28 ivan 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059962-p1
For each row, output field 1 followed by the combined total of fields 2 and 3.
{print $1,$2+$3}
jules 4 17 harbor farah 17 19 delta ivan 6 5 delta chen 29 14 birch ivan 20 27 harbor alice 12 21 ember bruno 1 27 indigo ivan 18 5 indigo lina 12 8 harbor gus 21 24 indigo
jules 21 farah 36 ivan 11 chen 43 ivan 47 alice 33 bruno 28 ivan 23 lina 20 gus 45
eli 29 20 indigo bruno 9 12 grove gus 21 21 harbor eli 13 20 delta ivan 22 30 ember eli 23 10 delta alice 30 6 harbor kim 7 10 harbor hana 24 4 ember ivan 15 16 fable
eli 49 bruno 21 gus 42 eli 33 ivan 52 eli 33 alice 36 kim 17 hana 28 ivan 31
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059962
qwen/qwen3.7-plus
awkweave-0059963
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
ivan 4 gus 16 eli 5 farah 17 ivan 10 hana 25 lina 19
ivan fail gus fail eli fail farah fail ivan fail hana pass lina fail
ivan 17 alice 6 kim 9 gus 11 gus 19 kim 28 lina 14 jules 26 alice 28
ivan fail alice fail kim fail gus fail gus fail kim pass lina fail jules pass alice pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059963-p1
Display column 1 and output 'pass' if column 2 is 22 or greater; otherwise, output 'fail'.
{print $1,($2>=22?"pass":"fail")}
ivan 4 gus 16 eli 5 farah 17 ivan 10 hana 25 lina 19
ivan fail gus fail eli fail farah fail ivan fail hana pass lina fail
ivan 17 alice 6 kim 9 gus 11 gus 19 kim 28 lina 14 jules 26 alice 28
ivan fail alice fail kim fail gus fail gus fail kim pass lina fail jules pass alice pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059963
qwen/qwen3.7-plus
awkweave-0059964
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno fable 30 dina amber 110 farah harbor 104 chen cobalt 18 bruno indigo 21 kim grove 84 ivan indigo 8 chen ember 20
BRUNO DINA FARAH CHEN BRUNO KIM IVAN CHEN
bruno cobalt 75 dina harbor 90 bruno cobalt 0 eli delta 102 chen fable 11 alice ember 12 gus amber 81 kim indigo 96
BRUNO DINA BRUNO ELI CHEN ALICE GUS KIM
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059964-p1
Transform the text in column 1 to uppercase and print only that modified column.
{print toupper($1)}
bruno fable 30 dina amber 110 farah harbor 104 chen cobalt 18 bruno indigo 21 kim grove 84 ivan indigo 8 chen ember 20
BRUNO DINA FARAH CHEN BRUNO KIM IVAN CHEN
bruno cobalt 75 dina harbor 90 bruno cobalt 0 eli delta 102 chen fable 11 alice ember 12 gus amber 81 kim indigo 96
BRUNO DINA BRUNO ELI CHEN ALICE GUS KIM
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059964
qwen/qwen3.7-plus
awkweave-0059965
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
cobalt 49 delta 108 juniper 104 juniper 88 indigo 64 amber 16
balt lta nipe nipe digo ber
amber 117 indigo 52 indigo 55 amber 2 delta 87 birch 48
ber digo digo ber lta rch
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059965-p1
Extract and print a substring of 4 characters from column 1, beginning at the third character position.
{print substr($1,3,4)}
cobalt 49 delta 108 juniper 104 juniper 88 indigo 64 amber 16
balt lta nipe nipe digo ber
amber 117 indigo 52 indigo 55 amber 2 delta 87 birch 48
ber digo digo ber lta rch
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059965
qwen/qwen3.7-plus
awkweave-0059966
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_fable 90 birch_amber 58 cobalt_indigo 21 cobalt_cobalt 34 birch_fable 33 juniper_juniper 31
grove fable birch amber cobalt indigo cobalt cobalt birch fable juniper juniper
ember_indigo 46 cobalt_amber 9 grove_fable 68 harbor_cobalt 78 amber_amber 5 juniper_delta 116 birch_harbor 74 birch_ember 82
ember indigo cobalt amber grove fable harbor cobalt amber amber juniper delta birch harbor birch ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059966-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
grove_fable 90 birch_amber 58 cobalt_indigo 21 cobalt_cobalt 34 birch_fable 33 juniper_juniper 31
grove fable birch amber cobalt indigo cobalt cobalt birch fable juniper juniper
ember_indigo 46 cobalt_amber 9 grove_fable 68 harbor_cobalt 78 amber_amber 5 juniper_delta 116 birch_harbor 74 birch_ember 82
ember indigo cobalt amber grove fable harbor cobalt amber amber juniper delta birch harbor birch ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059966
qwen/qwen3.7-plus
awkweave-0059967
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus harbor 86 active hana cobalt 113 active farah delta 113 closed gus juniper 100 active farah fable 113 failed jules delta 117 active farah ember 53 ready dina amber 97 paused
active 86 harbor gus active 113 cobalt hana closed 113 delta farah active 100 juniper gus failed 113 fable farah active 117 delta jules ready 53 ember farah paused 97 amber dina
eli delta 107 pending farah amber 71 paused bruno juniper 49 paused bruno amber 52 paused gus amber 66 paused gus indigo 45 ready lina harbor 115 failed farah harbor 76 ready jules ember 103 failed eli delta 50 active
pending 107 delta eli paused 71 amber farah paused 49 juniper bruno paused 52 amber bruno paused 66 amber gus ready 45 indigo gus failed 115 harbor lina ready 76 harbor farah failed 103 ember jules active 50 delta eli
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059967-p1
Reverse the sequence of fields on each line and display every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus harbor 86 active hana cobalt 113 active farah delta 113 closed gus juniper 100 active farah fable 113 failed jules delta 117 active farah ember 53 ready dina amber 97 paused
active 86 harbor gus active 113 cobalt hana closed 113 delta farah active 100 juniper gus failed 113 fable farah active 117 delta jules ready 53 ember farah paused 97 amber dina
eli delta 107 pending farah amber 71 paused bruno juniper 49 paused bruno amber 52 paused gus amber 66 paused gus indigo 45 ready lina harbor 115 failed farah harbor 76 ready jules ember 103 failed eli delta 50 active
pending 107 delta eli paused 71 amber farah paused 49 juniper bruno paused 52 amber bruno paused 66 amber gus ready 45 indigo gus failed 115 harbor lina ready 76 harbor farah failed 103 ember jules active 50 delta eli
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059967
qwen/qwen3.7-plus
awkweave-0059968
Print the number of whitespace-separated fields on each line.
{print NF}
dina fable 37 closed gus amber 48 active farah juniper 54 ready dina cobalt 113 ready jules cobalt 82 paused chen amber 60 ready ivan juniper 67 active
4 4 4 4 4 4 4
hana amber 92 paused ivan ember 63 active alice harbor 27 closed bruno indigo 72 paused dina indigo 66 paused kim fable 66 active farah harbor 13 active hana delta 120 closed
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059968-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
dina fable 37 closed gus amber 48 active farah juniper 54 ready dina cobalt 113 ready jules cobalt 82 paused chen amber 60 ready ivan juniper 67 active
4 4 4 4 4 4 4
hana amber 92 paused ivan ember 63 active alice harbor 27 closed bruno indigo 72 paused dina indigo 66 paused kim fable 66 active farah harbor 13 active hana delta 120 closed
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059968
qwen/qwen3.7-plus
awkweave-0059969
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 delta 109 lina alpha 115 hana alpha 25 lina alpha 112 dina gamma 29 kim delta 45
delta 2 alpha 3 gamma 1
alice delta 117 dina alpha 94 lina alpha 42 eli gamma 68 alice delta 101 kim gamma 120 lina beta 37 ivan gamma 103 chen delta 43 dina delta 111
delta 4 alpha 2 gamma 3 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059969-p1
Tally the occurrences of each unique value in column 2, then print the value and its count sorted by 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]]}
gus delta 109 lina alpha 115 hana alpha 25 lina alpha 112 dina gamma 29 kim delta 45
delta 2 alpha 3 gamma 1
alice delta 117 dina alpha 94 lina alpha 42 eli gamma 68 alice delta 101 kim gamma 120 lina beta 37 ivan gamma 103 chen delta 43 dina delta 111
delta 4 alpha 2 gamma 3 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059969
qwen/qwen3.7-plus
awkweave-0059970
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]]}
eli gamma 24 bruno alpha 30 ivan gamma 2 farah alpha 27 bruno alpha 12 gus gamma 7
gamma 33 alpha 69
ivan beta 6 jules beta 20 ivan beta 20 lina delta 11 ivan alpha 8 eli gamma 24 gus beta 28 lina beta 25 bruno delta 24 lina delta 6
beta 99 delta 41 alpha 8 gamma 24
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059970-p1
Calculate the sum of column 3 grouped by categories in column 2, 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]]}
eli gamma 24 bruno alpha 30 ivan gamma 2 farah alpha 27 bruno alpha 12 gus gamma 7
gamma 33 alpha 69
ivan beta 6 jules beta 20 ivan beta 20 lina delta 11 ivan alpha 8 eli gamma 24 gus beta 28 lina beta 25 bruno delta 24 lina delta 6
beta 99 delta 41 alpha 8 gamma 24
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059970
qwen/qwen3.7-plus
awkweave-0059971
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]]}
gamma harbor 63 delta harbor 21 alpha juniper 117 delta delta 62 alpha harbor 119 beta birch 27 gamma birch 64 gamma delta 68 alpha cobalt 60 delta delta 29
gamma 3 delta 3 alpha 3
beta cobalt 107 beta ember 88 delta amber 84 alpha ember 75 alpha cobalt 4 alpha amber 46 beta amber 54 gamma harbor 26 delta amber 43
beta 3 delta 2 alpha 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059971-p1
List each duplicate value from column 1 alongside its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma harbor 63 delta harbor 21 alpha juniper 117 delta delta 62 alpha harbor 119 beta birch 27 gamma birch 64 gamma delta 68 alpha cobalt 60 delta delta 29
gamma 3 delta 3 alpha 3
beta cobalt 107 beta ember 88 delta amber 84 alpha ember 75 alpha cobalt 4 alpha amber 46 beta amber 54 gamma harbor 26 delta amber 43
beta 3 delta 2 alpha 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059971
qwen/qwen3.7-plus
awkweave-0059972
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"]}
state score region display_name r001 alice 17 paused r002 dina 5 active r003 bruno 12 active r004 chen 13 ready r005 bruno 28 pending r006 alice 26 paused r007 hana 16 failed r008 lina 29 closed r009 farah 22 ready
17 5 12 13 28 26 16 29 22
state score region display_name r001 farah 19 ready r002 alice 19 active r003 gus 30 failed r004 kim 2 ready r005 kim 26 pending r006 ivan 22 paused
19 19 30 2 26 22
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059972-p1
Treating the first row as a header, output the region column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state score region display_name r001 alice 17 paused r002 dina 5 active r003 bruno 12 active r004 chen 13 ready r005 bruno 28 pending r006 alice 26 paused r007 hana 16 failed r008 lina 29 closed r009 farah 22 ready
17 5 12 13 28 26 16 29 22
state score region display_name r001 farah 19 ready r002 alice 19 active r003 gus 30 failed r004 kim 2 ready r005 kim 26 pending r006 ivan 22 paused
19 19 30 2 26 22
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059972
qwen/qwen3.7-plus
awkweave-0059973
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 kim 5 paused r002 kim 14 pending r003 hana 3 paused r004 kim 28 active r005 chen 29 failed r006 ivan 30 pending r007 kim 27 closed
kim chen ivan kim
record_id display_name score state r001 jules 5 closed r002 lina 28 ready r003 alice 16 ready r004 gus 18 paused r005 eli 11 closed r006 bruno 13 pending r007 alice 18 closed r008 bruno 9 pending r009 jules 28 active
lina alice gus alice jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059973-p1
With the first row as a header, print the display_name for data rows where the score is strictly greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 kim 5 paused r002 kim 14 pending r003 hana 3 paused r004 kim 28 active r005 chen 29 failed r006 ivan 30 pending r007 kim 27 closed
kim chen ivan kim
record_id display_name score state r001 jules 5 closed r002 lina 28 ready r003 alice 16 ready r004 gus 18 paused r005 eli 11 closed r006 bruno 13 pending r007 alice 18 closed r008 bruno 9 pending r009 jules 28 active
lina alice gus alice jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059973
qwen/qwen3.7-plus
awkweave-0059974
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
gus 17 pending hana 18 paused farah 20 failed alice 6 active hana 1 paused kim 23 failed ivan 6 ready eli 14 closed
pending paused failed active paused failed ready closed
alice 20 pending hana 1 closed hana 17 paused lina 13 paused farah 20 paused chen 9 pending gus 14 paused
pending closed paused paused paused pending paused
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059974-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
gus 17 pending hana 18 paused farah 20 failed alice 6 active hana 1 paused kim 23 failed ivan 6 ready eli 14 closed
pending paused failed active paused failed ready closed
alice 20 pending hana 1 closed hana 17 paused lina 13 paused farah 20 paused chen 9 pending gus 14 paused
pending closed paused paused paused pending paused
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059974
qwen/qwen3.7-plus
awkweave-0059975
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10.
BEGIN{FS=OFS=","}$2>10{print $1}
hana,29,ready dina,2,pending ivan,4,paused hana,24,closed lina,21,closed eli,27,failed
hana hana lina eli
lina,21,ready chen,11,closed hana,19,pending ivan,5,pending ivan,3,paused jules,18,active
lina chen hana jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059975-p1
For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 10.
BEGIN{FS=OFS=","}$2>10{print $1}
hana,29,ready dina,2,pending ivan,4,paused hana,24,closed lina,21,closed eli,27,failed
hana hana lina eli
lina,21,ready chen,11,closed hana,19,pending ivan,5,pending ivan,3,paused jules,18,active
lina chen hana jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059975
qwen/qwen3.7-plus
awkweave-0059976
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah fable 52 ivan amber 5 chen cobalt 24 dina juniper 64 dina harbor 43 eli cobalt 13 alice indigo 99 bruno cobalt 64 gus indigo 54 bruno delta 98
farah fable 52 ivan amber 5 chen cobalt 24 dina juniper 64 dina harbor 43 eli cobalt 13 alice indigo 99 bruno cobalt 64 gus indigo 54 bruno delta 98
gus indigo 115 kim harbor 68 hana ember 66 gus indigo 4 chen fable 104 ivan fable 114 lina amber 81 alice ember 40
gus indigo 115 kim harbor 68 hana ember 66 gus indigo 4 chen fable 104 ivan fable 114 lina amber 81 alice ember 40
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059976-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
farah fable 52 ivan amber 5 chen cobalt 24 dina juniper 64 dina harbor 43 eli cobalt 13 alice indigo 99 bruno cobalt 64 gus indigo 54 bruno delta 98
farah fable 52 ivan amber 5 chen cobalt 24 dina juniper 64 dina harbor 43 eli cobalt 13 alice indigo 99 bruno cobalt 64 gus indigo 54 bruno delta 98
gus indigo 115 kim harbor 68 hana ember 66 gus indigo 4 chen fable 104 ivan fable 114 lina amber 81 alice ember 40
gus indigo 115 kim harbor 68 hana ember 66 gus indigo 4 chen fable 104 ivan fable 114 lina amber 81 alice ember 40
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059976
qwen/qwen3.7-plus
awkweave-0059977
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules ember 117 pending farah fable 58 ready farah indigo 54 ready jules ember 52 closed jules cobalt 6 ready farah fable 0 ready gus cobalt 115 failed bruno delta 60 paused lina grove 66 closed
jules ember 117 pending
alice birch 1 closed dina grove 10 closed alice indigo 45 closed jules fable 62 closed bruno harbor 104 closed jules harbor 54 paused
bruno harbor 104 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059977-p1
Identify and print the longest line from the input; in case of a tie, select the earliest one.
{if(length($0)>length(best))best=$0}END{print best}
jules ember 117 pending farah fable 58 ready farah indigo 54 ready jules ember 52 closed jules cobalt 6 ready farah fable 0 ready gus cobalt 115 failed bruno delta 60 paused lina grove 66 closed
jules ember 117 pending
alice birch 1 closed dina grove 10 closed alice indigo 45 closed jules fable 62 closed bruno harbor 104 closed jules harbor 54 paused
bruno harbor 104 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059977
qwen/qwen3.7-plus
awkweave-0059978
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
hana 94 kim 74 bruno 87 gus 0 alice 83 ivan 111 dina 71 gus 2 kim 83 hana 28
kim 74 gus 0 ivan 111 gus 2 hana 28
alice 30 chen 26 chen 32 bruno 28 hana 82 jules 115 jules 24 gus 58
chen 26 bruno 28 jules 115 gus 58
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059978-p1
Output every second line beginning with line 2 (i.e., lines 2, 4, etc.).
NR%2==0
hana 94 kim 74 bruno 87 gus 0 alice 83 ivan 111 dina 71 gus 2 kim 83 hana 28
kim 74 gus 0 ivan 111 gus 2 hana 28
alice 30 chen 26 chen 32 bruno 28 hana 82 jules 115 jules 24 gus 58
chen 26 bruno 28 jules 115 gus 58
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059978
qwen/qwen3.7-plus
awkweave-0059979
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma indigo 57 beta delta 9 beta delta 29 gamma fable 19 delta ember 12 beta cobalt 90
5
gamma fable 88 delta fable 0 alpha grove 26 beta ember 54 delta grove 12 alpha ember 61 beta cobalt 51 delta harbor 39 gamma delta 11 delta birch 24
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059979-p1
Calculate and display the number of unique entries in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma indigo 57 beta delta 9 beta delta 29 gamma fable 19 delta ember 12 beta cobalt 90
5
gamma fable 88 delta fable 0 alpha grove 26 beta ember 54 delta grove 12 alpha ember 61 beta cobalt 51 delta harbor 39 gamma delta 11 delta birch 24
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059979
qwen/qwen3.7-plus
awkweave-0059980
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}
ivan 11 0 eli 12 24 chen 10 13 farah 16 30 jules 13 18 eli 17 28 hana 24 4 alice 19 11 jules 4 9 eli 30 24
eli 0.50 chen 0.77 farah 0.53 jules 0.72 eli 0.61 hana 6.00 alice 1.73 jules 0.44 eli 1.25
bruno 9 0 chen 20 4 ivan 25 9 lina 6 28 alice 23 12 eli 10 2 kim 14 12
chen 5.00 ivan 2.78 lina 0.21 alice 1.92 eli 5.00 kim 1.17
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059980-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}
ivan 11 0 eli 12 24 chen 10 13 farah 16 30 jules 13 18 eli 17 28 hana 24 4 alice 19 11 jules 4 9 eli 30 24
eli 0.50 chen 0.77 farah 0.53 jules 0.72 eli 0.61 hana 6.00 alice 1.73 jules 0.44 eli 1.25
bruno 9 0 chen 20 4 ivan 25 9 lina 6 28 alice 23 12 eli 10 2 kim 14 12
chen 5.00 ivan 2.78 lina 0.21 alice 1.92 eli 5.00 kim 1.17
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059980
qwen/qwen3.7-plus
awkweave-0059981
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]}
bruno birch 15 hana birch 17 alice ember 24 kim fable 23 hana harbor 26 ivan ember 28
ivan ember 28 hana harbor 26 alice ember 24
gus grove 7 chen indigo 15 eli delta 8 jules cobalt 9 hana grove 25 lina harbor 26
lina harbor 26 hana grove 25 chen indigo 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059981-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]}
bruno birch 15 hana birch 17 alice ember 24 kim fable 23 hana harbor 26 ivan ember 28
ivan ember 28 hana harbor 26 alice ember 24
gus grove 7 chen indigo 15 eli delta 8 jules cobalt 9 hana grove 25 lina harbor 26
lina harbor 26 hana grove 25 chen indigo 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059981
qwen/qwen3.7-plus
awkweave-0059982
Select the 4th and 1st fields in that order.
{print $4, $1}
109 failed dina 96 109 active lina 5 19 ready lina 51 62 failed farah 41 120 paused kim 77 115 pending bruno 53 20 ready farah 78 80 pending jules 77
96 109 5 109 51 19 41 62 77 120 53 115 78 20 77 80
48 pending lina 108 59 failed gus 60 78 pending dina 119 119 paused eli 51 73 ready ivan 45 87 closed alice 53 55 pending gus 85 42 paused dina 22 17 paused alice 30
108 48 60 59 119 78 51 119 45 73 53 87 85 55 22 42 30 17
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059982-p1
Extract and print the fourth field followed by the first field.
{print $4, $1}
109 failed dina 96 109 active lina 5 19 ready lina 51 62 failed farah 41 120 paused kim 77 115 pending bruno 53 20 ready farah 78 80 pending jules 77
96 109 5 109 51 19 41 62 77 120 53 115 78 20 77 80
48 pending lina 108 59 failed gus 60 78 pending dina 119 119 paused eli 51 73 ready ivan 45 87 closed alice 53 55 pending gus 85 42 paused dina 22 17 paused alice 30
108 48 60 59 119 78 51 119 45 73 53 87 85 55 22 42 30 17
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059982
qwen/qwen3.7-plus
awkweave-0059983
Print the last field of every input line.
{print $NF}
63 ready paused jules paused juniper cobalt 15 active failed bruno closed amber juniper 16 closed paused gus paused ember fable 88 failed failed lina pending fable cobalt 19 ready paused chen pending indigo fable 48 ready failed chen pending amber ember
cobalt juniper fable cobalt fable ember
109 paused failed hana pending grove cobalt 35 closed pending eli failed birch harbor 26 active ready kim active indigo amber 111 ready pending dina ready juniper fable 23 paused ready kim pending amber juniper 24 pending failed lina failed grove birch 66 ready paused farah pending birch delta 20 active failed eli pend...
cobalt harbor amber fable juniper birch delta amber
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059983-p1
Output the final field from every line of input.
{print $NF}
63 ready paused jules paused juniper cobalt 15 active failed bruno closed amber juniper 16 closed paused gus paused ember fable 88 failed failed lina pending fable cobalt 19 ready paused chen pending indigo fable 48 ready failed chen pending amber ember
cobalt juniper fable cobalt fable ember
109 paused failed hana pending grove cobalt 35 closed pending eli failed birch harbor 26 active ready kim active indigo amber 111 ready pending dina ready juniper fable 23 paused ready kim pending amber juniper 24 pending failed lina failed grove birch 66 ready paused farah pending birch delta 20 active failed eli pend...
cobalt harbor amber fable juniper birch delta amber
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059983
qwen/qwen3.7-plus
awkweave-0059984
Print the complete records where column 4 is at most 51.
$4 <= 51
juniper closed lina 7 ready harbor failed bruno 42 ready ember pending gus 66 pending cobalt paused dina 99 paused amber active alice 112 closed delta ready lina 50 paused juniper ready lina 3 failed indigo active farah 111 closed
juniper closed lina 7 ready harbor failed bruno 42 ready delta ready lina 50 paused juniper ready lina 3 failed
harbor ready lina 71 paused indigo ready farah 61 closed delta closed alice 35 closed birch paused dina 1 active delta ready kim 27 paused ember active lina 98 active fable paused alice 61 closed
delta closed alice 35 closed birch paused dina 1 active delta ready kim 27 paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059984-p1
Print full records where the value in column 4 is less than or equal to 51.
$4 <= 51
juniper closed lina 7 ready harbor failed bruno 42 ready ember pending gus 66 pending cobalt paused dina 99 paused amber active alice 112 closed delta ready lina 50 paused juniper ready lina 3 failed indigo active farah 111 closed
juniper closed lina 7 ready harbor failed bruno 42 ready delta ready lina 50 paused juniper ready lina 3 failed
harbor ready lina 71 paused indigo ready farah 61 closed delta closed alice 35 closed birch paused dina 1 active delta ready kim 27 paused ember active lina 98 active fable paused alice 61 closed
delta closed alice 35 closed birch paused dina 1 active delta ready kim 27 paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059984
qwen/qwen3.7-plus
awkweave-0059985
Show whole lines whose 1st field is between 9 and 27, inclusive.
$1 >= 9 && $1 <= 27
1 closed jules pending 18 failed alice failed 10 failed alice ready 7 pending eli paused 27 failed chen failed 20 active hana paused 24 failed dina failed 11 pending hana closed
18 failed alice failed 10 failed alice ready 27 failed chen failed 20 active hana paused 24 failed dina failed 11 pending hana closed
1 failed ivan pending 1 closed bruno ready 15 closed chen pending 20 paused lina paused 27 pending ivan active 6 pending gus active 24 failed ivan closed
15 closed chen pending 20 paused lina paused 27 pending ivan active 24 failed ivan closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059985-p1
Display entire lines where the first field falls within the inclusive range of 9 to 27.
$1 >= 9 && $1 <= 27
1 closed jules pending 18 failed alice failed 10 failed alice ready 7 pending eli paused 27 failed chen failed 20 active hana paused 24 failed dina failed 11 pending hana closed
18 failed alice failed 10 failed alice ready 27 failed chen failed 20 active hana paused 24 failed dina failed 11 pending hana closed
1 failed ivan pending 1 closed bruno ready 15 closed chen pending 20 paused lina paused 27 pending ivan active 6 pending gus active 24 failed ivan closed
15 closed chen pending 20 paused lina paused 27 pending ivan active 24 failed ivan closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059985
qwen/qwen3.7-plus
awkweave-0059986
Print column 1 only for rows where column 2 is exactly failed.
$2 == "failed"{print $1}
ivan active delta 101 dina closed indigo 12 kim pending ember 77 ivan active juniper 103 farah failed cobalt 112 eli ready delta 42 bruno paused birch 17 gus pending ember 85 bruno failed harbor 103 dina failed harbor 113
farah bruno dina
ivan closed grove 81 chen ready fable 89 jules ready fable 49 farah active fable 120 dina ready grove 61 chen paused fable 5
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059986-p1
Output only the first column for rows where the second column matches 'failed' exactly.
$2 == "failed"{print $1}
ivan active delta 101 dina closed indigo 12 kim pending ember 77 ivan active juniper 103 farah failed cobalt 112 eli ready delta 42 bruno paused birch 17 gus pending ember 85 bruno failed harbor 103 dina failed harbor 113
farah bruno dina
ivan closed grove 81 chen ready fable 89 jules ready fable 49 farah active fable 120 dina ready grove 61 chen paused fable 5
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059986
qwen/qwen3.7-plus
awkweave-0059987
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
79 indigo WARN 90 cobalt WARN 35 delta DEBUG 36 fable DEBUG 51 ember DEBUG 75 cobalt INFO
79 indigo WARN 90 cobalt WARN
106 birch DEBUG 94 birch WARN 100 indigo DEBUG 96 indigo WARN 34 harbor ERROR 83 indigo WARN 3 harbor DEBUG
94 birch WARN 96 indigo WARN 83 indigo WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059987-p1
Print all fields from lines where the third field starts with the string 'WARN'.
$3 ~ /^WARN/
79 indigo WARN 90 cobalt WARN 35 delta DEBUG 36 fable DEBUG 51 ember DEBUG 75 cobalt INFO
79 indigo WARN 90 cobalt WARN
106 birch DEBUG 94 birch WARN 100 indigo DEBUG 96 indigo WARN 34 harbor ERROR 83 indigo WARN 3 harbor DEBUG
94 birch WARN 96 indigo WARN 83 indigo WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059987
qwen/qwen3.7-plus
awkweave-0059988
Print every line except those containing the exact text amber.
$0 !~ /amber/
grove 32 failed amber 18 failed ember 26 paused juniper 34 paused cobalt 118 ready fable 66 failed delta 66 ready indigo 24 pending grove 89 pending amber 999 active
grove 32 failed ember 26 paused juniper 34 paused cobalt 118 ready fable 66 failed delta 66 ready indigo 24 pending grove 89 pending
birch 115 active cobalt 12 paused ember 23 paused amber 30 closed fable 23 paused ember 16 active grove 67 paused indigo 93 failed amber 999 active
birch 115 active cobalt 12 paused ember 23 paused fable 23 paused ember 16 active grove 67 paused indigo 93 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059988-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
grove 32 failed amber 18 failed ember 26 paused juniper 34 paused cobalt 118 ready fable 66 failed delta 66 ready indigo 24 pending grove 89 pending amber 999 active
grove 32 failed ember 26 paused juniper 34 paused cobalt 118 ready fable 66 failed delta 66 ready indigo 24 pending grove 89 pending
birch 115 active cobalt 12 paused ember 23 paused amber 30 closed fable 23 paused ember 16 active grove 67 paused indigo 93 failed amber 999 active
birch 115 active cobalt 12 paused ember 23 paused fable 23 paused ember 16 active grove 67 paused indigo 93 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059988
qwen/qwen3.7-plus
awkweave-0059989
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
ivan juniper 75 hana harbor 90 farah birch 11 hana ember 110 ivan birch 60 gus fable 120
hana harbor 90 farah birch 11 hana ember 110
jules indigo 22 kim delta 86 kim juniper 113 dina fable 71 hana juniper 54 chen indigo 102 jules fable 115 dina amber 81
kim delta 86 kim juniper 113 dina fable 71
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059989-p1
Output lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
ivan juniper 75 hana harbor 90 farah birch 11 hana ember 110 ivan birch 60 gus fable 120
hana harbor 90 farah birch 11 hana ember 110
jules indigo 22 kim delta 86 kim juniper 113 dina fable 71 hana juniper 54 chen indigo 102 jules fable 115 dina amber 81
kim delta 86 kim juniper 113 dina fable 71
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059989
qwen/qwen3.7-plus