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-0009440-p1
Print the entire records for which the value in the first column exceeds 22.
$1 > 22
53 dina ivan dina 41 jules ivan ivan 50 alice bruno kim 17 jules eli dina 50 alice jules ivan 56 chen kim farah 116 eli ivan alice
53 dina ivan dina 41 jules ivan ivan 50 alice bruno kim 50 alice jules ivan 56 chen kim farah 116 eli ivan alice
43 farah farah alice 32 lina ivan dina 100 chen chen farah 114 eli jules dina 87 eli bruno ivan 119 farah hana ivan 114 bruno chen alice 120 kim dina farah
43 farah farah alice 32 lina ivan dina 100 chen chen farah 114 eli jules dina 87 eli bruno ivan 119 farah hana ivan 114 bruno chen alice 120 kim dina farah
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009440
qwen/qwen3.7-plus
awkweave-0009441
Show whole lines whose 2nd field is between 6 and 28, inclusive.
$2 >= 6 && $2 <= 28
lina 25 gus ready dina 27 ivan closed hana 30 jules active ivan 12 alice closed eli 1 ivan ready farah 3 gus failed kim 22 lina failed dina 26 farah active bruno 30 bruno ready
lina 25 gus ready dina 27 ivan closed ivan 12 alice closed kim 22 lina failed dina 26 farah active
hana 27 alice ready alice 20 alice pending farah 16 eli paused dina 17 eli pending ivan 21 dina active kim 11 dina ready alice 25 bruno paused bruno 25 ivan ready
hana 27 alice ready alice 20 alice pending farah 16 eli paused dina 17 eli pending ivan 21 dina active kim 11 dina ready alice 25 bruno paused bruno 25 ivan ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009441-p1
Display complete lines where the second field falls within the range of 6 to 28, inclusive.
$2 >= 6 && $2 <= 28
lina 25 gus ready dina 27 ivan closed hana 30 jules active ivan 12 alice closed eli 1 ivan ready farah 3 gus failed kim 22 lina failed dina 26 farah active bruno 30 bruno ready
lina 25 gus ready dina 27 ivan closed ivan 12 alice closed kim 22 lina failed dina 26 farah active
hana 27 alice ready alice 20 alice pending farah 16 eli paused dina 17 eli pending ivan 21 dina active kim 11 dina ready alice 25 bruno paused bruno 25 ivan ready
hana 27 alice ready alice 20 alice pending farah 16 eli paused dina 17 eli pending ivan 21 dina active kim 11 dina ready alice 25 bruno paused bruno 25 ivan ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009441
qwen/qwen3.7-plus
awkweave-0009442
Print column 2 only for rows where column 1 is exactly failed.
$1 == "failed"{print $2}
ready gus 89 birch closed dina 6 fable closed lina 50 harbor failed kim 13 cobalt active gus 92 amber pending kim 15 amber paused eli 45 grove
kim
active ivan 78 amber failed gus 27 birch closed kim 103 amber closed gus 83 birch paused chen 81 grove active alice 115 fable ready ivan 9 juniper paused hana 116 indigo failed ivan 7 amber active kim 78 delta
gus ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009442-p1
Output only the second column for rows where the first column contains exactly the text 'failed'.
$1 == "failed"{print $2}
ready gus 89 birch closed dina 6 fable closed lina 50 harbor failed kim 13 cobalt active gus 92 amber pending kim 15 amber paused eli 45 grove
kim
active ivan 78 amber failed gus 27 birch closed kim 103 amber closed gus 83 birch paused chen 81 grove active alice 115 fable ready ivan 9 juniper paused hana 116 indigo failed ivan 7 amber active kim 78 delta
gus ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009442
qwen/qwen3.7-plus
awkweave-0009443
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
74 birch INFO 41 juniper WARN 48 delta INFO 29 amber WARN 4 delta ERROR 61 harbor DEBUG 58 amber ERROR 24 delta WARN
41 juniper WARN 29 amber WARN 24 delta WARN
68 fable WARN 92 grove INFO 96 cobalt WARN 28 birch INFO 117 cobalt WARN 25 amber WARN
68 fable WARN 96 cobalt WARN 117 cobalt WARN 25 amber WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009443-p1
Print all fields from lines where the third field starts with the string 'WARN'.
$3 ~ /^WARN/
74 birch INFO 41 juniper WARN 48 delta INFO 29 amber WARN 4 delta ERROR 61 harbor DEBUG 58 amber ERROR 24 delta WARN
41 juniper WARN 29 amber WARN 24 delta WARN
68 fable WARN 92 grove INFO 96 cobalt WARN 28 birch INFO 117 cobalt WARN 25 amber WARN
68 fable WARN 96 cobalt WARN 117 cobalt WARN 25 amber WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009443
qwen/qwen3.7-plus
awkweave-0009444
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
fable 29 ready birch 17 closed juniper 6 active amber 46 paused harbor 94 ready juniper 41 failed fable 63 pending ember 68 closed indigo 96 active birch 57 active juniper 999 active
fable 29 ready birch 17 closed amber 46 paused harbor 94 ready fable 63 pending ember 68 closed indigo 96 active birch 57 active
juniper 58 paused juniper 20 failed fable 66 closed ember 2 active amber 105 failed grove 52 failed delta 37 paused delta 110 paused juniper 999 active
fable 66 closed ember 2 active amber 105 failed grove 52 failed delta 37 paused delta 110 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009444-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
fable 29 ready birch 17 closed juniper 6 active amber 46 paused harbor 94 ready juniper 41 failed fable 63 pending ember 68 closed indigo 96 active birch 57 active juniper 999 active
fable 29 ready birch 17 closed amber 46 paused harbor 94 ready fable 63 pending ember 68 closed indigo 96 active birch 57 active
juniper 58 paused juniper 20 failed fable 66 closed ember 2 active amber 105 failed grove 52 failed delta 37 paused delta 110 paused juniper 999 active
fable 66 closed ember 2 active amber 105 failed grove 52 failed delta 37 paused delta 110 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009444
qwen/qwen3.7-plus
awkweave-0009445
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
chen grove 15 farah fable 32 gus amber 80 kim amber 54 alice harbor 63 dina ember 119 lina cobalt 17 eli grove 101 alice amber 33 alice fable 25
farah fable 32 gus amber 80 kim amber 54
bruno fable 5 eli delta 98 alice amber 19 ivan juniper 81 eli juniper 89 ivan fable 13 eli birch 79 dina cobalt 64 chen delta 65 jules harbor 51
eli delta 98 alice amber 19 ivan juniper 81
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009445-p1
Print lines 2 through 4, inclusive of both the start and end lines.
NR >= 2 && NR <= 4
chen grove 15 farah fable 32 gus amber 80 kim amber 54 alice harbor 63 dina ember 119 lina cobalt 17 eli grove 101 alice amber 33 alice fable 25
farah fable 32 gus amber 80 kim amber 54
bruno fable 5 eli delta 98 alice amber 19 ivan juniper 81 eli juniper 89 ivan fable 13 eli birch 79 dina cobalt 64 chen delta 65 jules harbor 51
eli delta 98 alice amber 19 ivan juniper 81
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009445
qwen/qwen3.7-plus
awkweave-0009446
Output only the first 5 records.
NR <= 5
lina 25 fable chen 49 amber chen 0 juniper alice 29 cobalt eli 2 amber alice 97 birch jules 96 indigo jules 2 ember
lina 25 fable chen 49 amber chen 0 juniper alice 29 cobalt eli 2 amber
dina 68 birch bruno 64 amber hana 56 fable farah 104 birch farah 102 grove dina 33 delta alice 64 fable kim 21 fable dina 78 delta
dina 68 birch bruno 64 amber hana 56 fable farah 104 birch farah 102 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009446-p1
Output only the first 5 records from the input.
NR <= 5
lina 25 fable chen 49 amber chen 0 juniper alice 29 cobalt eli 2 amber alice 97 birch jules 96 indigo jules 2 ember
lina 25 fable chen 49 amber chen 0 juniper alice 29 cobalt eli 2 amber
dina 68 birch bruno 64 amber hana 56 fable farah 104 birch farah 102 grove dina 33 delta alice 64 fable kim 21 fable dina 78 delta
dina 68 birch bruno 64 amber hana 56 fable farah 104 birch farah 102 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009446
qwen/qwen3.7-plus
awkweave-0009447
Skip the first line and print every remaining line unchanged.
NR > 1
gus 120 birch hana 43 birch gus 55 birch hana 38 juniper chen 85 birch jules 8 fable hana 104 cobalt farah 1 indigo
hana 43 birch gus 55 birch hana 38 juniper chen 85 birch jules 8 fable hana 104 cobalt farah 1 indigo
kim 36 grove eli 16 cobalt eli 106 amber bruno 110 amber alice 116 cobalt farah 91 juniper kim 40 indigo
eli 16 cobalt eli 106 amber bruno 110 amber alice 116 cobalt farah 91 juniper kim 40 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009447-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
gus 120 birch hana 43 birch gus 55 birch hana 38 juniper chen 85 birch jules 8 fable hana 104 cobalt farah 1 indigo
hana 43 birch gus 55 birch hana 38 juniper chen 85 birch jules 8 fable hana 104 cobalt farah 1 indigo
kim 36 grove eli 16 cobalt eli 106 amber bruno 110 amber alice 116 cobalt farah 91 juniper kim 40 indigo
eli 16 cobalt eli 106 amber bruno 110 amber alice 116 cobalt farah 91 juniper kim 40 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009447
qwen/qwen3.7-plus
awkweave-0009448
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
dina ready 92 jules failed 24 hana paused 5 dina paused 99 eli pending 33 kim paused 50 eli paused 76 hana pending 115 kim failed 97
0
ivan pending 26 chen paused 120 lina failed 63 alice paused 109 kim failed 26 alice closed 24
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009448-p1
Count the entries in column 2 marked as 'closed' and output the total, defaulting to 0 if no matches are found.
$2 == "closed"{n++}END{print n+0}
dina ready 92 jules failed 24 hana paused 5 dina paused 99 eli pending 33 kim paused 50 eli paused 76 hana pending 115 kim failed 97
0
ivan pending 26 chen paused 120 lina failed 63 alice paused 109 kim failed 26 alice closed 24
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009448
qwen/qwen3.7-plus
awkweave-0009449
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
7 amber lina 21 harbor ivan 30 juniper farah 4 indigo eli 8 fable jules 12 cobalt jules 9 juniper lina 5 harbor bruno 11 indigo gus 16 indigo eli
123
20 ember lina 28 harbor farah 2 delta lina 23 amber chen 8 birch alice 30 harbor gus 9 amber hana
120
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009449-p1
Compute the sum of all integer values in column 1 and display the result.
{s+=$1}END{print s+0}
7 amber lina 21 harbor ivan 30 juniper farah 4 indigo eli 8 fable jules 12 cobalt jules 9 juniper lina 5 harbor bruno 11 indigo gus 16 indigo eli
123
20 ember lina 28 harbor farah 2 delta lina 23 amber chen 8 birch alice 30 harbor gus 9 amber hana
120
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009449
qwen/qwen3.7-plus
awkweave-0009450
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 19 juniper dina 15 cobalt eli 9 juniper gus 7 cobalt bruno 2 juniper eli 7 juniper
9.83
kim 21 delta hana 8 cobalt ivan 2 fable gus 18 amber lina 11 juniper lina 26 ember gus 27 ember dina 8 birch jules 24 cobalt
16.11
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009450-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}
dina 19 juniper dina 15 cobalt eli 9 juniper gus 7 cobalt bruno 2 juniper eli 7 juniper
9.83
kim 21 delta hana 8 cobalt ivan 2 fable gus 18 amber lina 11 juniper lina 26 ember gus 27 ember dina 8 birch jules 24 cobalt
16.11
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009450
qwen/qwen3.7-plus
awkweave-0009451
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 7 ember ivan 1 juniper chen 10 indigo jules 5 delta kim 25 amber eli 6 fable hana 9 juniper ivan 23 amber kim 20 birch gus 26 cobalt
1
eli 12 cobalt chen 16 ember hana 12 delta dina 1 ember alice 15 harbor dina 7 amber
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009451-p1
Identify and print the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 7 ember ivan 1 juniper chen 10 indigo jules 5 delta kim 25 amber eli 6 fable hana 9 juniper ivan 23 amber kim 20 birch gus 26 cobalt
1
eli 12 cobalt chen 16 ember hana 12 delta dina 1 ember alice 15 harbor dina 7 amber
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009451
qwen/qwen3.7-plus
awkweave-0009452
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
delta ivan 12 grove gus 30 fable hana 17 fable jules 3 cobalt kim 27 grove kim 21 birch jules 2 cobalt alice 13 juniper dina 24
30
harbor jules 2 delta chen 12 ember eli 10 cobalt dina 28 amber dina 29 fable eli 17 ember dina 14 juniper farah 10 indigo farah 13 indigo eli 1
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009452-p1
Identify and print the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
delta ivan 12 grove gus 30 fable hana 17 fable jules 3 cobalt kim 27 grove kim 21 birch jules 2 cobalt alice 13 juniper dina 24
30
harbor jules 2 delta chen 12 ember eli 10 cobalt dina 28 amber dina 29 fable eli 17 ember dina 14 juniper farah 10 indigo farah 13 indigo eli 1
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009452
qwen/qwen3.7-plus
awkweave-0009453
Count all input records and print the total.
END{print NR}
jules 96 eli 18 lina 38 eli 97 kim 14 farah 72 kim 35 bruno 14 bruno 26 alice 98
10
dina 94 gus 84 alice 21 alice 57 chen 81 eli 63
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009453-p1
Count the total number of input records and print the final count.
END{print NR}
jules 96 eli 18 lina 38 eli 97 kim 14 farah 72 kim 35 bruno 14 bruno 26 alice 98
10
dina 94 gus 84 alice 21 alice 57 chen 81 eli 63
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009453
qwen/qwen3.7-plus
awkweave-0009454
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan fable 1 bruno juniper 68 hana indigo 98 jules harbor 2 jules fable 23 dina cobalt 17 jules harbor 2 lina ember 59
ivan fable 1 bruno juniper 68 hana indigo 98 jules harbor 2 jules fable 23 dina cobalt 17 lina ember 59
jules cobalt 89 chen delta 39 ivan indigo 34 kim fable 71 ivan indigo 34 bruno juniper 14 gus fable 29 farah birch 97
jules cobalt 89 chen delta 39 ivan indigo 34 kim fable 71 bruno juniper 14 gus fable 29 farah birch 97
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009454-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
ivan fable 1 bruno juniper 68 hana indigo 98 jules harbor 2 jules fable 23 dina cobalt 17 jules harbor 2 lina ember 59
ivan fable 1 bruno juniper 68 hana indigo 98 jules harbor 2 jules fable 23 dina cobalt 17 lina ember 59
jules cobalt 89 chen delta 39 ivan indigo 34 kim fable 71 ivan indigo 34 bruno juniper 14 gus fable 29 farah birch 97
jules cobalt 89 chen delta 39 ivan indigo 34 kim fable 71 bruno juniper 14 gus fable 29 farah birch 97
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009454
qwen/qwen3.7-plus
awkweave-0009455
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim indigo 80 eli birch 74 chen harbor 29 lina grove 47 gus indigo 6 chen delta 55 hana grove 66 lina fable 6
kim indigo 80 eli birch 74 chen harbor 29 lina grove 47 gus indigo 6 chen delta 55 hana grove 66
gus ember 40 jules ember 2 ivan juniper 61 alice fable 51 gus fable 39 alice delta 104 gus birch 11 lina juniper 72 eli fable 80
gus ember 40 jules ember 2 ivan juniper 61 alice fable 51 gus fable 39 alice delta 104 gus birch 11 lina juniper 72 eli fable 80
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009455-p1
Retain only the first occurrence for every unique value in column 3, preserving the initial order of appearance.
!seen[$3]++
kim indigo 80 eli birch 74 chen harbor 29 lina grove 47 gus indigo 6 chen delta 55 hana grove 66 lina fable 6
kim indigo 80 eli birch 74 chen harbor 29 lina grove 47 gus indigo 6 chen delta 55 hana grove 66
gus ember 40 jules ember 2 ivan juniper 61 alice fable 51 gus fable 39 alice delta 104 gus birch 11 lina juniper 72 eli fable 80
gus ember 40 jules ember 2 ivan juniper 61 alice fable 51 gus fable 39 alice delta 104 gus birch 11 lina juniper 72 eli fable 80
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009455
qwen/qwen3.7-plus
awkweave-0009456
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 19 amber kim 17 harbor dina 19 cobalt alice 24 fable dina 26 indigo eli 5 birch alice 9 grove
chen 19 kim 36 dina 55 alice 79 dina 105 eli 110 alice 119
eli 25 grove ivan 26 ember gus 9 delta lina 19 grove dina 27 fable kim 23 fable ivan 22 cobalt gus 20 delta lina 18 amber alice 19 amber
eli 25 ivan 51 gus 60 lina 79 dina 106 kim 129 ivan 151 gus 171 lina 189 alice 208
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009456-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 19 amber kim 17 harbor dina 19 cobalt alice 24 fable dina 26 indigo eli 5 birch alice 9 grove
chen 19 kim 36 dina 55 alice 79 dina 105 eli 110 alice 119
eli 25 grove ivan 26 ember gus 9 delta lina 19 grove dina 27 fable kim 23 fable ivan 22 cobalt gus 20 delta lina 18 amber alice 19 amber
eli 25 ivan 51 gus 60 lina 79 dina 106 kim 129 ivan 151 gus 171 lina 189 alice 208
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009456
qwen/qwen3.7-plus
awkweave-0009457
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 16 29 amber farah 19 23 juniper ivan 14 23 grove farah 16 22 delta ivan 24 17 juniper alice 23 25 indigo alice 10 30 cobalt
alice 45 farah 42 ivan 37 farah 38 ivan 41 alice 48 alice 40
kim 28 29 cobalt alice 11 28 harbor jules 25 6 delta lina 26 6 harbor jules 2 29 juniper bruno 18 4 amber gus 26 11 fable chen 15 7 harbor
kim 57 alice 39 jules 31 lina 32 jules 31 bruno 22 gus 37 chen 22
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009457-p1
Print the value from field 1 followed by the sum of fields 2 and 3 for each row.
{print $1,$2+$3}
alice 16 29 amber farah 19 23 juniper ivan 14 23 grove farah 16 22 delta ivan 24 17 juniper alice 23 25 indigo alice 10 30 cobalt
alice 45 farah 42 ivan 37 farah 38 ivan 41 alice 48 alice 40
kim 28 29 cobalt alice 11 28 harbor jules 25 6 delta lina 26 6 harbor jules 2 29 juniper bruno 18 4 amber gus 26 11 fable chen 15 7 harbor
kim 57 alice 39 jules 31 lina 32 jules 31 bruno 22 gus 37 chen 22
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009457
qwen/qwen3.7-plus
awkweave-0009458
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
eli 14 gus 12 ivan 23 hana 20 ivan 13 eli 30
eli fail gus fail ivan pass hana pass ivan fail eli pass
ivan 14 ivan 3 hana 25 alice 15 lina 16 chen 24 farah 21 hana 1 gus 28 hana 8
ivan fail ivan fail hana pass alice fail lina fail chen pass farah pass hana fail gus pass hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009458-p1
Display column 1 with the label 'pass' if column 2 is 20 or greater, otherwise label it 'fail'.
{print $1,($2>=20?"pass":"fail")}
eli 14 gus 12 ivan 23 hana 20 ivan 13 eli 30
eli fail gus fail ivan pass hana pass ivan fail eli pass
ivan 14 ivan 3 hana 25 alice 15 lina 16 chen 24 farah 21 hana 1 gus 28 hana 8
ivan fail ivan fail hana pass alice fail lina fail chen pass farah pass hana fail gus pass hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009458
qwen/qwen3.7-plus
awkweave-0009459
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
hana indigo 116 lina harbor 95 lina amber 16 lina harbor 29 alice indigo 98 chen amber 93 alice indigo 31
HANA LINA LINA LINA ALICE CHEN ALICE
dina ember 114 farah indigo 114 lina grove 61 hana ember 110 farah juniper 106 gus ember 77 bruno harbor 2 ivan juniper 88 lina birch 84
DINA FARAH LINA HANA FARAH GUS BRUNO IVAN LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009459-p1
Transform column 1 to uppercase letters and output only this modified column.
{print toupper($1)}
hana indigo 116 lina harbor 95 lina amber 16 lina harbor 29 alice indigo 98 chen amber 93 alice indigo 31
HANA LINA LINA LINA ALICE CHEN ALICE
dina ember 114 farah indigo 114 lina grove 61 hana ember 110 farah juniper 106 gus ember 77 bruno harbor 2 ivan juniper 88 lina birch 84
DINA FARAH LINA HANA FARAH GUS BRUNO IVAN LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009459
qwen/qwen3.7-plus
awkweave-0009460
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
cobalt 117 indigo 86 grove 104 juniper 41 juniper 82 birch 94 delta 59
balt digo ove nipe nipe rch lta
birch 113 grove 12 grove 120 juniper 30 grove 107 cobalt 81 delta 36 ember 36
rch ove ove nipe ove balt lta ber
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009460-p1
Extract and display a 4-character substring from the first column, beginning at the third character.
{print substr($1,3,4)}
cobalt 117 indigo 86 grove 104 juniper 41 juniper 82 birch 94 delta 59
balt digo ove nipe nipe rch lta
birch 113 grove 12 grove 120 juniper 30 grove 107 cobalt 81 delta 36 ember 36
rch ove ove nipe ove balt lta ber
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009460
qwen/qwen3.7-plus
awkweave-0009461
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_fable 30 ember_fable 63 grove_grove 42 indigo_delta 32 juniper_harbor 32 birch_ember 42 cobalt_indigo 84 delta_juniper 63
juniper fable ember fable grove grove indigo delta juniper harbor birch ember cobalt indigo delta juniper
birch_grove 58 juniper_ember 101 harbor_juniper 42 ember_indigo 45 ember_delta 67 grove_harbor 70 fable_juniper 70 juniper_indigo 98 indigo_delta 65 harbor_cobalt 98
birch grove juniper ember harbor juniper ember indigo ember delta grove harbor fable juniper juniper indigo indigo delta harbor cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009461-p1
Substitute all underscores with spaces in the first column and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_fable 30 ember_fable 63 grove_grove 42 indigo_delta 32 juniper_harbor 32 birch_ember 42 cobalt_indigo 84 delta_juniper 63
juniper fable ember fable grove grove indigo delta juniper harbor birch ember cobalt indigo delta juniper
birch_grove 58 juniper_ember 101 harbor_juniper 42 ember_indigo 45 ember_delta 67 grove_harbor 70 fable_juniper 70 juniper_indigo 98 indigo_delta 65 harbor_cobalt 98
birch grove juniper ember harbor juniper ember indigo ember delta grove harbor fable juniper juniper indigo indigo delta harbor cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009461
qwen/qwen3.7-plus
awkweave-0009462
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 amber 11 failed farah birch 46 ready chen delta 114 active gus amber 115 closed kim harbor 111 closed farah harbor 88 paused kim amber 3 ready dina delta 47 paused
failed 11 amber alice ready 46 birch farah active 114 delta chen closed 115 amber gus closed 111 harbor kim paused 88 harbor farah ready 3 amber kim paused 47 delta dina
jules grove 28 active kim delta 46 failed bruno fable 13 paused eli grove 95 paused jules ember 41 closed gus harbor 103 paused alice birch 113 closed lina ember 33 active
active 28 grove jules failed 46 delta kim paused 13 fable bruno paused 95 grove eli closed 41 ember jules paused 103 harbor gus closed 113 birch alice active 33 ember lina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009462-p1
Reverse the sequence of fields for each line and output every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice amber 11 failed farah birch 46 ready chen delta 114 active gus amber 115 closed kim harbor 111 closed farah harbor 88 paused kim amber 3 ready dina delta 47 paused
failed 11 amber alice ready 46 birch farah active 114 delta chen closed 115 amber gus closed 111 harbor kim paused 88 harbor farah ready 3 amber kim paused 47 delta dina
jules grove 28 active kim delta 46 failed bruno fable 13 paused eli grove 95 paused jules ember 41 closed gus harbor 103 paused alice birch 113 closed lina ember 33 active
active 28 grove jules failed 46 delta kim paused 13 fable bruno paused 95 grove eli closed 41 ember jules paused 103 harbor gus closed 113 birch alice active 33 ember lina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009462
qwen/qwen3.7-plus
awkweave-0009463
Print the number of whitespace-separated fields on each line.
{print NF}
alice fable 51 failed kim fable 28 ready kim indigo 103 failed chen grove 51 pending eli harbor 14 active kim fable 93 paused dina delta 93 ready gus juniper 82 paused chen ember 62 pending lina harbor 99 closed
4 4 4 4 4 4 4 4 4 4
dina delta 1 active farah indigo 78 pending ivan fable 100 active jules birch 64 failed lina fable 118 paused gus amber 4 failed bruno cobalt 61 failed gus amber 94 ready
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009463-p1
Output the count of whitespace-delimited fields present on each line.
{print NF}
alice fable 51 failed kim fable 28 ready kim indigo 103 failed chen grove 51 pending eli harbor 14 active kim fable 93 paused dina delta 93 ready gus juniper 82 paused chen ember 62 pending lina harbor 99 closed
4 4 4 4 4 4 4 4 4 4
dina delta 1 active farah indigo 78 pending ivan fable 100 active jules birch 64 failed lina fable 118 paused gus amber 4 failed bruno cobalt 61 failed gus amber 94 ready
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009463
qwen/qwen3.7-plus
awkweave-0009464
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice alpha 7 gus delta 3 hana alpha 86 hana alpha 17 chen alpha 2 bruno beta 47 bruno delta 114
alpha 4 delta 2 beta 1
lina gamma 96 dina beta 4 hana beta 10 bruno delta 35 gus delta 48 hana alpha 72 kim delta 23 hana gamma 27 jules alpha 39 lina delta 118
gamma 2 beta 2 delta 4 alpha 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009464-p1
Tally the occurrences of each unique value in the second column and print the value alongside its count, maintaining 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]]}
alice alpha 7 gus delta 3 hana alpha 86 hana alpha 17 chen alpha 2 bruno beta 47 bruno delta 114
alpha 4 delta 2 beta 1
lina gamma 96 dina beta 4 hana beta 10 bruno delta 35 gus delta 48 hana alpha 72 kim delta 23 hana gamma 27 jules alpha 39 lina delta 118
gamma 2 beta 2 delta 4 alpha 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009464
qwen/qwen3.7-plus
awkweave-0009465
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan beta 17 alice beta 13 kim alpha 23 lina alpha 18 bruno delta 30 farah gamma 12 jules alpha 3 farah beta 21 dina beta 13 farah alpha 21
beta 64 alpha 65 delta 30 gamma 12
ivan alpha 7 dina beta 25 chen delta 17 ivan alpha 23 ivan gamma 16 dina alpha 9 dina alpha 19 gus gamma 7 chen beta 30
alpha 58 beta 55 delta 17 gamma 23
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009465-p1
Calculate the sum of the third column grouped by the second column, displaying results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan beta 17 alice beta 13 kim alpha 23 lina alpha 18 bruno delta 30 farah gamma 12 jules alpha 3 farah beta 21 dina beta 13 farah alpha 21
beta 64 alpha 65 delta 30 gamma 12
ivan alpha 7 dina beta 25 chen delta 17 ivan alpha 23 ivan gamma 16 dina alpha 9 dina alpha 19 gus gamma 7 chen beta 30
alpha 58 beta 55 delta 17 gamma 23
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009465
qwen/qwen3.7-plus
awkweave-0009466
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 fable 0 beta delta 69 beta fable 3 beta delta 106 beta grove 3 beta amber 38
beta 5
alpha cobalt 55 gamma harbor 10 beta amber 89 beta indigo 43 delta birch 35 delta fable 28 alpha ember 60 beta grove 77 gamma grove 15 beta fable 28
alpha 2 gamma 2 beta 4 delta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009466-p1
List each duplicate value from the first column along with its frequency, 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]]}
gamma fable 0 beta delta 69 beta fable 3 beta delta 106 beta grove 3 beta amber 38
beta 5
alpha cobalt 55 gamma harbor 10 beta amber 89 beta indigo 43 delta birch 35 delta fable 28 alpha ember 60 beta grove 77 gamma grove 15 beta fable 28
alpha 2 gamma 2 beta 4 delta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009466
qwen/qwen3.7-plus
awkweave-0009467
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
state region note score r001 farah 13 closed r002 chen 27 paused r003 kim 21 active r004 bruno 26 ready r005 jules 19 ready r006 lina 13 paused r007 jules 2 paused r008 chen 14 pending
13 27 21 26 19 13 2 14
state region note score r001 lina 6 ready r002 kim 12 pending r003 hana 24 paused r004 lina 20 pending r005 ivan 17 paused r006 alice 20 ready r007 bruno 15 pending r008 dina 12 active
6 12 24 20 17 20 15 12
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009467-p1
Skip the header row and output the contents of the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
state region note score r001 farah 13 closed r002 chen 27 paused r003 kim 21 active r004 bruno 26 ready r005 jules 19 ready r006 lina 13 paused r007 jules 2 paused r008 chen 14 pending
13 27 21 26 19 13 2 14
state region note score r001 lina 6 ready r002 kim 12 pending r003 hana 24 paused r004 lina 20 pending r005 ivan 17 paused r006 alice 20 ready r007 bruno 15 pending r008 dina 12 active
6 12 24 20 17 20 15 12
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009467
qwen/qwen3.7-plus
awkweave-0009468
The first row is a header. Print display_name for data rows whose score is greater than 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 ivan 5 active r002 alice 24 paused r003 kim 26 closed r004 farah 28 pending r005 chen 1 ready r006 lina 12 paused r007 kim 16 failed r008 eli 16 paused
alice kim farah
record_id display_name score state r001 gus 19 paused r002 bruno 29 active r003 chen 27 failed r004 lina 6 failed r005 hana 17 paused r006 kim 1 ready r007 farah 25 pending
gus bruno chen farah
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009468-p1
Ignoring the header row, output the display_name field for records where the score exceeds 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 ivan 5 active r002 alice 24 paused r003 kim 26 closed r004 farah 28 pending r005 chen 1 ready r006 lina 12 paused r007 kim 16 failed r008 eli 16 paused
alice kim farah
record_id display_name score state r001 gus 19 paused r002 bruno 29 active r003 chen 27 failed r004 lina 6 failed r005 hana 17 paused r006 kim 1 ready r007 farah 25 pending
gus bruno chen farah
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009468
qwen/qwen3.7-plus
awkweave-0009469
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 7 failed jules 19 closed dina 14 ready dina 26 pending ivan 21 ready dina 26 ready bruno 11 closed eli 3 ready ivan 18 closed jules 22 failed
failed closed ready pending ready ready closed ready closed failed
lina 21 failed eli 2 ready jules 24 failed gus 19 pending dina 8 pending eli 23 active jules 22 ready
failed ready failed pending pending active ready
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009469-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 7 failed jules 19 closed dina 14 ready dina 26 pending ivan 21 ready dina 26 ready bruno 11 closed eli 3 ready ivan 18 closed jules 22 failed
failed closed ready pending ready ready closed ready closed failed
lina 21 failed eli 2 ready jules 24 failed gus 19 pending dina 8 pending eli 23 active jules 22 ready
failed ready failed pending pending active ready
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009469
qwen/qwen3.7-plus
awkweave-0009470
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 12.
BEGIN{FS=OFS=","}$2>12{print $1}
alice,10,paused gus,10,paused gus,20,ready lina,24,failed lina,26,paused hana,3,pending hana,15,ready alice,3,paused
gus lina lina hana
kim,25,closed chen,21,ready jules,28,active lina,1,closed kim,28,failed jules,26,active chen,19,pending
kim chen jules kim jules chen
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009470-p1
For simple comma-separated input without quoted commas, print the first column if the second column's value is greater than 12.
BEGIN{FS=OFS=","}$2>12{print $1}
alice,10,paused gus,10,paused gus,20,ready lina,24,failed lina,26,paused hana,3,pending hana,15,ready alice,3,paused
gus lina lina hana
kim,25,closed chen,21,ready jules,28,active lina,1,closed kim,28,failed jules,26,active chen,19,pending
kim chen jules kim jules chen
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009470
qwen/qwen3.7-plus
awkweave-0009471
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen grove 66 alice birch 32 jules indigo 96 ivan grove 41 ivan juniper 74 alice ember 80 chen indigo 51
chen grove 66 alice birch 32 jules indigo 96 ivan grove 41 ivan juniper 74 alice ember 80 chen indigo 51
chen delta 15 ivan juniper 78 bruno ember 113 lina ember 117 lina indigo 111 bruno cobalt 40 lina fable 114 hana juniper 54 farah harbor 66 ivan cobalt 76
chen delta 15 ivan juniper 78 bruno ember 113 lina ember 117 lina indigo 111 bruno cobalt 40 lina fable 114 hana juniper 54 farah harbor 66 ivan cobalt 76
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009471-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
chen grove 66 alice birch 32 jules indigo 96 ivan grove 41 ivan juniper 74 alice ember 80 chen indigo 51
chen grove 66 alice birch 32 jules indigo 96 ivan grove 41 ivan juniper 74 alice ember 80 chen indigo 51
chen delta 15 ivan juniper 78 bruno ember 113 lina ember 117 lina indigo 111 bruno cobalt 40 lina fable 114 hana juniper 54 farah harbor 66 ivan cobalt 76
chen delta 15 ivan juniper 78 bruno ember 113 lina ember 117 lina indigo 111 bruno cobalt 40 lina fable 114 hana juniper 54 farah harbor 66 ivan cobalt 76
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009471
qwen/qwen3.7-plus
awkweave-0009472
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan harbor 83 pending lina cobalt 52 paused lina cobalt 74 pending lina amber 64 closed bruno birch 32 closed bruno indigo 81 ready farah birch 15 closed ivan juniper 76 failed bruno fable 107 pending
bruno fable 107 pending
dina harbor 2 failed ivan ember 113 closed gus delta 63 failed jules juniper 1 active hana juniper 115 closed bruno harbor 20 closed jules amber 85 active farah ember 99 paused
hana juniper 115 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009472-p1
Identify and output the longest line from the input, selecting the first occurrence in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
ivan harbor 83 pending lina cobalt 52 paused lina cobalt 74 pending lina amber 64 closed bruno birch 32 closed bruno indigo 81 ready farah birch 15 closed ivan juniper 76 failed bruno fable 107 pending
bruno fable 107 pending
dina harbor 2 failed ivan ember 113 closed gus delta 63 failed jules juniper 1 active hana juniper 115 closed bruno harbor 20 closed jules amber 85 active farah ember 99 paused
hana juniper 115 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009472
qwen/qwen3.7-plus
awkweave-0009473
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
eli 8 bruno 33 lina 55 ivan 27 lina 33 hana 30 jules 59
ivan 27
hana 51 bruno 108 farah 4 ivan 71 eli 94 hana 4 alice 85 gus 41 bruno 13
ivan 71 gus 41
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009473-p1
Output every fourth line, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
eli 8 bruno 33 lina 55 ivan 27 lina 33 hana 30 jules 59
ivan 27
hana 51 bruno 108 farah 4 ivan 71 eli 94 hana 4 alice 85 gus 41 bruno 13
ivan 71 gus 41
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009473
qwen/qwen3.7-plus
awkweave-0009474
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta harbor 50 gamma ember 30 beta amber 15 delta indigo 106 delta amber 50 beta cobalt 64 delta birch 75
6
beta fable 68 beta delta 13 gamma ember 107 gamma amber 79 delta delta 1 delta cobalt 8 gamma cobalt 26
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009474-p1
Calculate and display only the total number of unique values found in column 2.
{if(!seen[$2]++)n++}END{print n+0}
delta harbor 50 gamma ember 30 beta amber 15 delta indigo 106 delta amber 50 beta cobalt 64 delta birch 75
6
beta fable 68 beta delta 13 gamma ember 107 gamma amber 79 delta delta 1 delta cobalt 8 gamma cobalt 26
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009474
qwen/qwen3.7-plus
awkweave-0009475
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}
hana 26 0 gus 9 1 ivan 17 20 dina 16 23 kim 14 12 eli 1 21 ivan 13 11 dina 7 28
gus 9.00 ivan 0.85 dina 0.70 kim 1.17 eli 0.05 ivan 1.18 dina 0.25
hana 21 0 ivan 16 9 ivan 9 5 hana 11 12 gus 5 26 dina 22 8 hana 7 10 jules 4 12
ivan 1.78 ivan 1.80 hana 0.92 gus 0.19 dina 2.75 hana 0.70 jules 0.33
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009475-p1
For each row where column 3 is non-zero, output column 1 and the result of column 2 divided by column 3, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 26 0 gus 9 1 ivan 17 20 dina 16 23 kim 14 12 eli 1 21 ivan 13 11 dina 7 28
gus 9.00 ivan 0.85 dina 0.70 kim 1.17 eli 0.05 ivan 1.18 dina 0.25
hana 21 0 ivan 16 9 ivan 9 5 hana 11 12 gus 5 26 dina 22 8 hana 7 10 jules 4 12
ivan 1.78 ivan 1.80 hana 0.92 gus 0.19 dina 2.75 hana 0.70 jules 0.33
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009475
qwen/qwen3.7-plus
awkweave-0009476
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]}
ivan grove 24 eli harbor 25 farah indigo 22 kim delta 6 jules harbor 23 dina delta 27 eli indigo 5 farah juniper 21
dina delta 27 eli harbor 25 ivan grove 24
chen delta 28 dina ember 8 farah birch 13 gus harbor 22 dina birch 28 farah birch 14 ivan grove 11 farah juniper 16
chen delta 28 dina birch 28 gus harbor 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009476-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order; maintain 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]}
ivan grove 24 eli harbor 25 farah indigo 22 kim delta 6 jules harbor 23 dina delta 27 eli indigo 5 farah juniper 21
dina delta 27 eli harbor 25 ivan grove 24
chen delta 28 dina ember 8 farah birch 13 gus harbor 22 dina birch 28 farah birch 14 ivan grove 11 farah juniper 16
chen delta 28 dina birch 28 gus harbor 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009476
qwen/qwen3.7-plus
awkweave-0009477
Select the 4th and 3rd fields in that order.
{print $4, $3}
114 active active fable eli 5 30 ready failed birch bruno 70 23 failed ready juniper hana 36 115 pending failed cobalt lina 88 10 active active delta jules 48 50 paused active birch kim 25
fable active birch failed juniper ready cobalt failed delta active birch active
2 closed closed juniper jules 29 3 closed ready grove farah 110 40 failed pending birch eli 5 118 closed active fable farah 94 9 pending failed delta farah 0 92 ready failed cobalt chen 95 97 ready ready indigo chen 55 29 paused ready fable alice 57 17 pending closed juniper alice 65
juniper closed grove ready birch pending fable active delta failed cobalt failed indigo ready fable ready juniper closed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009477-p1
Extract and print the 4th field followed by the 3rd field for each record.
{print $4, $3}
114 active active fable eli 5 30 ready failed birch bruno 70 23 failed ready juniper hana 36 115 pending failed cobalt lina 88 10 active active delta jules 48 50 paused active birch kim 25
fable active birch failed juniper ready cobalt failed delta active birch active
2 closed closed juniper jules 29 3 closed ready grove farah 110 40 failed pending birch eli 5 118 closed active fable farah 94 9 pending failed delta farah 0 92 ready failed cobalt chen 95 97 ready ready indigo chen 55 29 paused ready fable alice 57 17 pending closed juniper alice 65
juniper closed grove ready birch pending fable active delta failed cobalt failed indigo ready fable ready juniper closed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009477
qwen/qwen3.7-plus
awkweave-0009478
Print the last field of every input line.
{print $NF}
10 harbor pending birch ivan 3 amber active fable alice 7 indigo failed harbor chen 83 cobalt active cobalt alice 89 harbor failed harbor ivan 17 delta ready harbor eli 64 indigo pending grove ivan 6 fable ready amber hana 52 ember active indigo alice 100 grove pending juniper farah
ivan alice chen alice ivan eli ivan hana alice farah
90 fable paused amber kim 32 cobalt paused indigo lina 65 fable closed delta lina 78 fable closed delta eli 59 delta pending birch bruno 111 indigo ready juniper dina 56 amber pending grove hana 101 fable closed fable jules 65 grove closed cobalt alice 14 grove pending juniper chen
kim lina lina eli bruno dina hana jules alice chen
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009478-p1
Output the final field of every input line.
{print $NF}
10 harbor pending birch ivan 3 amber active fable alice 7 indigo failed harbor chen 83 cobalt active cobalt alice 89 harbor failed harbor ivan 17 delta ready harbor eli 64 indigo pending grove ivan 6 fable ready amber hana 52 ember active indigo alice 100 grove pending juniper farah
ivan alice chen alice ivan eli ivan hana alice farah
90 fable paused amber kim 32 cobalt paused indigo lina 65 fable closed delta lina 78 fable closed delta eli 59 delta pending birch bruno 111 indigo ready juniper dina 56 amber pending grove hana 101 fable closed fable jules 65 grove closed cobalt alice 14 grove pending juniper chen
kim lina lina eli bruno dina hana jules alice chen
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009478
qwen/qwen3.7-plus
awkweave-0009479
Print the complete records where column 1 is at most 48.
$1 <= 48
22 hana lina 21 jules chen 112 bruno farah 85 bruno bruno 96 alice jules 36 gus bruno 26 gus farah 3 kim gus 19 lina lina 49 alice chen
22 hana lina 21 jules chen 36 gus bruno 26 gus farah 3 kim gus 19 lina lina
26 alice bruno 76 bruno bruno 109 dina jules 41 eli lina 31 dina lina 103 farah eli
26 alice bruno 41 eli lina 31 dina lina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009479-p1
Print full records where the value in column 1 is less than or equal to 48.
$1 <= 48
22 hana lina 21 jules chen 112 bruno farah 85 bruno bruno 96 alice jules 36 gus bruno 26 gus farah 3 kim gus 19 lina lina 49 alice chen
22 hana lina 21 jules chen 36 gus bruno 26 gus farah 3 kim gus 19 lina lina
26 alice bruno 76 bruno bruno 109 dina jules 41 eli lina 31 dina lina 103 farah eli
26 alice bruno 41 eli lina 31 dina lina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009479
qwen/qwen3.7-plus
awkweave-0009480
Show whole lines whose 1st field is between 5 and 19, inclusive.
$1 >= 5 && $1 <= 19
11 delta cobalt juniper 15 ember birch harbor 27 harbor delta indigo 29 juniper grove fable 28 harbor fable fable 29 fable birch indigo 23 amber grove indigo
11 delta cobalt juniper 15 ember birch harbor
22 fable fable delta 14 cobalt ember cobalt 7 amber birch harbor 9 juniper cobalt juniper 27 delta cobalt birch 8 harbor harbor juniper 23 fable indigo amber 8 fable cobalt grove 2 birch amber harbor
14 cobalt ember cobalt 7 amber birch harbor 9 juniper cobalt juniper 8 harbor harbor juniper 8 fable cobalt grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009480-p1
Display entire lines where the first field falls within the inclusive range of 5 to 19.
$1 >= 5 && $1 <= 19
11 delta cobalt juniper 15 ember birch harbor 27 harbor delta indigo 29 juniper grove fable 28 harbor fable fable 29 fable birch indigo 23 amber grove indigo
11 delta cobalt juniper 15 ember birch harbor
22 fable fable delta 14 cobalt ember cobalt 7 amber birch harbor 9 juniper cobalt juniper 27 delta cobalt birch 8 harbor harbor juniper 23 fable indigo amber 8 fable cobalt grove 2 birch amber harbor
14 cobalt ember cobalt 7 amber birch harbor 9 juniper cobalt juniper 8 harbor harbor juniper 8 fable cobalt grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009480
qwen/qwen3.7-plus
awkweave-0009481
Print column 3 only for rows where column 1 is exactly paused.
$1 == "paused"{print $3}
paused 2 ivan juniper active 41 chen ember pending 101 chen indigo pending 34 ivan grove pending 108 lina amber failed 57 hana cobalt failed 39 ivan cobalt ready 75 dina ember
ivan
ready 100 dina indigo active 117 lina ember paused 58 alice ember closed 51 eli cobalt failed 111 dina delta closed 117 jules fable paused 34 jules delta failed 117 dina delta ready 47 dina delta closed 70 chen ember
alice jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009481-p1
Output only column 3 for rows where column 1 contains the exact value 'paused'.
$1 == "paused"{print $3}
paused 2 ivan juniper active 41 chen ember pending 101 chen indigo pending 34 ivan grove pending 108 lina amber failed 57 hana cobalt failed 39 ivan cobalt ready 75 dina ember
ivan
ready 100 dina indigo active 117 lina ember paused 58 alice ember closed 51 eli cobalt failed 111 dina delta closed 117 jules fable paused 34 jules delta failed 117 dina delta ready 47 dina delta closed 70 chen ember
alice jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009481
qwen/qwen3.7-plus
awkweave-0009482
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
WARN birch 103 WARN amber 49 ERROR indigo 75 DEBUG grove 72 ERROR ember 49 ERROR birch 68 WARN harbor 25 INFO fable 2
WARN birch 103 WARN amber 49 WARN harbor 25
WARN cobalt 92 INFO grove 33 ERROR grove 58 INFO birch 57 WARN fable 70 WARN amber 10 DEBUG ember 88 DEBUG fable 112
WARN cobalt 92 WARN fable 70 WARN amber 10
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009482-p1
Print all fields from any line where the first field starts with the string 'WARN'.
$1 ~ /^WARN/
WARN birch 103 WARN amber 49 ERROR indigo 75 DEBUG grove 72 ERROR ember 49 ERROR birch 68 WARN harbor 25 INFO fable 2
WARN birch 103 WARN amber 49 WARN harbor 25
WARN cobalt 92 INFO grove 33 ERROR grove 58 INFO birch 57 WARN fable 70 WARN amber 10 DEBUG ember 88 DEBUG fable 112
WARN cobalt 92 WARN fable 70 WARN amber 10
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009482
qwen/qwen3.7-plus
awkweave-0009483
Print every line except those containing the exact text amber.
$0 !~ /amber/
ember 70 failed harbor 61 closed indigo 32 closed cobalt 114 paused juniper 18 paused birch 115 ready birch 4 closed amber 999 active
ember 70 failed harbor 61 closed indigo 32 closed cobalt 114 paused juniper 18 paused birch 115 ready birch 4 closed
amber 34 paused birch 70 pending ember 62 ready grove 18 failed harbor 46 closed juniper 69 active grove 57 failed amber 999 active
birch 70 pending ember 62 ready grove 18 failed harbor 46 closed juniper 69 active grove 57 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009483-p1
Output every line that does not contain the exact string 'amber'.
$0 !~ /amber/
ember 70 failed harbor 61 closed indigo 32 closed cobalt 114 paused juniper 18 paused birch 115 ready birch 4 closed amber 999 active
ember 70 failed harbor 61 closed indigo 32 closed cobalt 114 paused juniper 18 paused birch 115 ready birch 4 closed
amber 34 paused birch 70 pending ember 62 ready grove 18 failed harbor 46 closed juniper 69 active grove 57 failed amber 999 active
birch 70 pending ember 62 ready grove 18 failed harbor 46 closed juniper 69 active grove 57 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009483
qwen/qwen3.7-plus
awkweave-0009484
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
kim cobalt 108 farah ember 49 kim fable 32 alice juniper 113 jules indigo 59 dina cobalt 33 chen fable 112
alice juniper 113 jules indigo 59 dina cobalt 33 chen fable 112
farah delta 53 hana grove 32 kim ember 55 dina grove 71 bruno cobalt 112 alice fable 85
dina grove 71 bruno cobalt 112 alice fable 85
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009484-p1
Display lines 4 to 7, inclusive.
NR >= 4 && NR <= 7
kim cobalt 108 farah ember 49 kim fable 32 alice juniper 113 jules indigo 59 dina cobalt 33 chen fable 112
alice juniper 113 jules indigo 59 dina cobalt 33 chen fable 112
farah delta 53 hana grove 32 kim ember 55 dina grove 71 bruno cobalt 112 alice fable 85
dina grove 71 bruno cobalt 112 alice fable 85
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009484
qwen/qwen3.7-plus
awkweave-0009485
Output only the first 3 records.
NR <= 3
ivan 35 indigo bruno 62 cobalt chen 86 fable lina 40 indigo farah 118 delta dina 60 grove alice 116 amber ivan 74 ember dina 41 cobalt
ivan 35 indigo bruno 62 cobalt chen 86 fable
dina 86 amber lina 46 grove kim 48 birch alice 34 delta gus 104 juniper bruno 113 grove farah 54 ember alice 104 amber eli 3 indigo bruno 48 ember
dina 86 amber lina 46 grove kim 48 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009485-p1
Output just the initial 3 records.
NR <= 3
ivan 35 indigo bruno 62 cobalt chen 86 fable lina 40 indigo farah 118 delta dina 60 grove alice 116 amber ivan 74 ember dina 41 cobalt
ivan 35 indigo bruno 62 cobalt chen 86 fable
dina 86 amber lina 46 grove kim 48 birch alice 34 delta gus 104 juniper bruno 113 grove farah 54 ember alice 104 amber eli 3 indigo bruno 48 ember
dina 86 amber lina 46 grove kim 48 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009485
qwen/qwen3.7-plus
awkweave-0009486
Skip the first line and print every remaining line unchanged.
NR > 1
alice 48 grove gus 37 grove gus 62 grove lina 92 cobalt lina 113 birch kim 112 grove gus 10 grove
gus 37 grove gus 62 grove lina 92 cobalt lina 113 birch kim 112 grove gus 10 grove
chen 74 cobalt bruno 88 harbor farah 6 juniper farah 38 juniper dina 75 birch kim 50 delta lina 67 harbor gus 104 ember alice 77 amber
bruno 88 harbor farah 6 juniper farah 38 juniper dina 75 birch kim 50 delta lina 67 harbor gus 104 ember alice 77 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009486-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
alice 48 grove gus 37 grove gus 62 grove lina 92 cobalt lina 113 birch kim 112 grove gus 10 grove
gus 37 grove gus 62 grove lina 92 cobalt lina 113 birch kim 112 grove gus 10 grove
chen 74 cobalt bruno 88 harbor farah 6 juniper farah 38 juniper dina 75 birch kim 50 delta lina 67 harbor gus 104 ember alice 77 amber
bruno 88 harbor farah 6 juniper farah 38 juniper dina 75 birch kim 50 delta lina 67 harbor gus 104 ember alice 77 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009486
qwen/qwen3.7-plus
awkweave-0009487
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
jules paused 34 gus failed 76 farah paused 105 ivan failed 44 bruno paused 118 bruno pending 65
1
gus closed 48 jules ready 80 gus active 91 dina ready 90 eli active 114 jules failed 22 eli ready 46
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009487-p1
Tally the records where column 2 is 'pending', outputting 0 if none exist.
$2 == "pending"{n++}END{print n+0}
jules paused 34 gus failed 76 farah paused 105 ivan failed 44 bruno paused 118 bruno pending 65
1
gus closed 48 jules ready 80 gus active 91 dina ready 90 eli active 114 jules failed 22 eli ready 46
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009487
qwen/qwen3.7-plus
awkweave-0009488
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
amber 11 eli amber 23 ivan amber 9 hana amber 19 chen fable 11 alice fable 9 lina harbor 7 eli amber 9 chen amber 20 dina
118
harbor 23 hana fable 17 alice cobalt 17 eli juniper 20 chen harbor 15 farah juniper 10 farah grove 26 lina delta 22 jules
150
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009488-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
amber 11 eli amber 23 ivan amber 9 hana amber 19 chen fable 11 alice fable 9 lina harbor 7 eli amber 9 chen amber 20 dina
118
harbor 23 hana fable 17 alice cobalt 17 eli juniper 20 chen harbor 15 farah juniper 10 farah grove 26 lina delta 22 jules
150
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009488
qwen/qwen3.7-plus
awkweave-0009489
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 alice ember 9 lina fable 21 lina fable 22 hana harbor 13 hana birch 11 chen grove 23 bruno ember
17.86
7 eli harbor 18 ivan amber 13 ivan amber 18 hana indigo 7 alice harbor 4 alice grove 15 bruno ember 23 dina juniper 7 gus birch
12.44
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009489-p1
Print the average of column 1, formatted to exactly 2 decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 alice ember 9 lina fable 21 lina fable 22 hana harbor 13 hana birch 11 chen grove 23 bruno ember
17.86
7 eli harbor 18 ivan amber 13 ivan amber 18 hana indigo 7 alice harbor 4 alice grove 15 bruno ember 23 dina juniper 7 gus birch
12.44
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009489
qwen/qwen3.7-plus
awkweave-0009500
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_harbor 61 fable_amber 7 delta_birch 64 juniper_amber 17 cobalt_ember 16 harbor_cobalt 20 cobalt_fable 44 grove_juniper 115 grove_juniper 117 fable_indigo 15
birch harbor fable amber delta birch juniper amber cobalt ember harbor cobalt cobalt fable grove juniper grove juniper fable indigo
indigo_amber 83 birch_fable 93 amber_juniper 30 birch_indigo 87 indigo_ember 24 grove_ember 34 indigo_delta 2 grove_cobalt 17 indigo_ember 112 grove_cobalt 18
indigo amber birch fable amber juniper birch indigo indigo ember grove ember indigo delta grove cobalt indigo ember grove cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null