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-0004330-p1
Output the final field from each line of input.
{print $NF}
dina 99 grove eli 88 cobalt bruno 26 grove dina 0 cobalt lina 49 ember eli 113 grove lina 68 juniper gus 8 juniper
grove cobalt grove cobalt ember grove juniper juniper
chen 10 birch kim 1 fable kim 90 fable jules 98 cobalt eli 89 delta hana 89 amber lina 114 cobalt lina 40 amber ivan 36 fable ivan 19 harbor
birch fable fable cobalt delta amber cobalt amber fable harbor
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004330
qwen/qwen3.7-plus
awkweave-0004331
Print the complete records where column 1 is at least 38.
$1 >= 38
111 failed chen 39 paused bruno 112 ready kim 84 failed lina 91 failed kim 110 closed farah 48 ready alice 81 paused eli
111 failed chen 39 paused bruno 112 ready kim 84 failed lina 91 failed kim 110 closed farah 48 ready alice 81 paused eli
32 active alice 35 closed gus 71 ready chen 79 failed hana 73 pending bruno 100 pending ivan 66 failed alice 53 closed chen 38 failed jules
71 ready chen 79 failed hana 73 pending bruno 100 pending ivan 66 failed alice 53 closed chen 38 failed jules
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004331-p1
Display full records where the value in the first column is greater than or equal to 38.
$1 >= 38
111 failed chen 39 paused bruno 112 ready kim 84 failed lina 91 failed kim 110 closed farah 48 ready alice 81 paused eli
111 failed chen 39 paused bruno 112 ready kim 84 failed lina 91 failed kim 110 closed farah 48 ready alice 81 paused eli
32 active alice 35 closed gus 71 ready chen 79 failed hana 73 pending bruno 100 pending ivan 66 failed alice 53 closed chen 38 failed jules
71 ready chen 79 failed hana 73 pending bruno 100 pending ivan 66 failed alice 53 closed chen 38 failed jules
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004331
qwen/qwen3.7-plus
awkweave-0004332
Show whole lines whose 2nd field is between 7 and 27, inclusive.
$2 >= 7 && $2 <= 27
failed 19 gus juniper ready 23 eli cobalt ready 6 gus grove ready 19 dina harbor paused 12 farah delta pending 26 gus grove closed 23 lina ember active 16 hana ember pending 26 ivan cobalt
failed 19 gus juniper ready 23 eli cobalt ready 19 dina harbor paused 12 farah delta pending 26 gus grove closed 23 lina ember active 16 hana ember pending 26 ivan cobalt
active 4 chen cobalt pending 2 dina birch paused 5 gus cobalt closed 10 jules juniper failed 12 hana harbor active 17 hana ember failed 11 kim grove failed 28 lina amber active 17 gus harbor ready 28 ivan ember
closed 10 jules juniper failed 12 hana harbor active 17 hana ember failed 11 kim grove active 17 gus harbor
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004332-p1
Show entire lines where the second field falls within the range of 7 to 27, inclusive.
$2 >= 7 && $2 <= 27
failed 19 gus juniper ready 23 eli cobalt ready 6 gus grove ready 19 dina harbor paused 12 farah delta pending 26 gus grove closed 23 lina ember active 16 hana ember pending 26 ivan cobalt
failed 19 gus juniper ready 23 eli cobalt ready 19 dina harbor paused 12 farah delta pending 26 gus grove closed 23 lina ember active 16 hana ember pending 26 ivan cobalt
active 4 chen cobalt pending 2 dina birch paused 5 gus cobalt closed 10 jules juniper failed 12 hana harbor active 17 hana ember failed 11 kim grove failed 28 lina amber active 17 gus harbor ready 28 ivan ember
closed 10 jules juniper failed 12 hana harbor active 17 hana ember failed 11 kim grove active 17 gus harbor
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004332
qwen/qwen3.7-plus
awkweave-0004333
Print column 3 only for rows where column 2 is exactly closed.
$2 == "closed"{print $3}
birch active jules 42 cobalt paused gus 4 amber closed eli 75 juniper paused farah 41 harbor active jules 72 ember active alice 9 amber active farah 83 birch closed chen 48
eli chen
delta closed chen 8 birch ready alice 32 indigo failed ivan 72 cobalt failed chen 27 cobalt active dina 32 fable failed farah 68 delta pending chen 119 birch failed gus 51
chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004333-p1
Extract and print only the third column for rows where the second column matches 'closed' exactly.
$2 == "closed"{print $3}
birch active jules 42 cobalt paused gus 4 amber closed eli 75 juniper paused farah 41 harbor active jules 72 ember active alice 9 amber active farah 83 birch closed chen 48
eli chen
delta closed chen 8 birch ready alice 32 indigo failed ivan 72 cobalt failed chen 27 cobalt active dina 32 fable failed farah 68 delta pending chen 119 birch failed gus 51
chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004333
qwen/qwen3.7-plus
awkweave-0004334
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
103 cobalt INFO 20 cobalt DEBUG 46 birch DEBUG 108 cobalt WARN 85 harbor INFO 25 grove INFO 66 ember INFO 109 fable DEBUG 96 amber INFO 24 amber INFO
103 cobalt INFO 85 harbor INFO 25 grove INFO 66 ember INFO 96 amber INFO 24 amber INFO
13 cobalt DEBUG 37 delta ERROR 84 birch WARN 65 delta INFO 57 amber DEBUG 80 grove WARN
65 delta INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004334-p1
Print all fields from any line where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
103 cobalt INFO 20 cobalt DEBUG 46 birch DEBUG 108 cobalt WARN 85 harbor INFO 25 grove INFO 66 ember INFO 109 fable DEBUG 96 amber INFO 24 amber INFO
103 cobalt INFO 85 harbor INFO 25 grove INFO 66 ember INFO 96 amber INFO 24 amber INFO
13 cobalt DEBUG 37 delta ERROR 84 birch WARN 65 delta INFO 57 amber DEBUG 80 grove WARN
65 delta INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004334
qwen/qwen3.7-plus
awkweave-0004335
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
delta 110 failed harbor 107 active ember 64 ready ember 116 closed cobalt 103 paused fable 104 pending grove 4 pending juniper 999 active
delta 110 failed harbor 107 active ember 64 ready ember 116 closed cobalt 103 paused fable 104 pending grove 4 pending
juniper 104 failed grove 120 active birch 33 active harbor 31 active fable 28 paused cobalt 23 paused birch 63 paused amber 72 closed amber 34 active grove 76 pending juniper 999 active
grove 120 active birch 33 active harbor 31 active fable 28 paused cobalt 23 paused birch 63 paused amber 72 closed amber 34 active grove 76 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004335-p1
Output every line that does not contain the exact substring 'juniper'.
$0 !~ /juniper/
delta 110 failed harbor 107 active ember 64 ready ember 116 closed cobalt 103 paused fable 104 pending grove 4 pending juniper 999 active
delta 110 failed harbor 107 active ember 64 ready ember 116 closed cobalt 103 paused fable 104 pending grove 4 pending
juniper 104 failed grove 120 active birch 33 active harbor 31 active fable 28 paused cobalt 23 paused birch 63 paused amber 72 closed amber 34 active grove 76 pending juniper 999 active
grove 120 active birch 33 active harbor 31 active fable 28 paused cobalt 23 paused birch 63 paused amber 72 closed amber 34 active grove 76 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004335
qwen/qwen3.7-plus
awkweave-0004336
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
bruno harbor 23 eli fable 18 eli harbor 40 jules delta 98 alice juniper 94 alice harbor 53
jules delta 98 alice juniper 94 alice harbor 53
bruno ember 64 ivan juniper 75 ivan grove 7 alice fable 37 gus amber 16 lina birch 109
alice fable 37 gus amber 16 lina birch 109
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004336-p1
Print lines numbered 4 to 6, inclusive of both the start and end lines.
NR >= 4 && NR <= 6
bruno harbor 23 eli fable 18 eli harbor 40 jules delta 98 alice juniper 94 alice harbor 53
jules delta 98 alice juniper 94 alice harbor 53
bruno ember 64 ivan juniper 75 ivan grove 7 alice fable 37 gus amber 16 lina birch 109
alice fable 37 gus amber 16 lina birch 109
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004336
qwen/qwen3.7-plus
awkweave-0004337
Output only the first 3 records.
NR <= 3
kim 91 cobalt gus 66 fable chen 17 delta gus 63 amber kim 5 delta eli 41 amber chen 78 amber jules 74 ember
kim 91 cobalt gus 66 fable chen 17 delta
farah 64 amber bruno 112 harbor jules 101 juniper alice 55 delta hana 105 delta bruno 108 cobalt alice 31 amber eli 91 juniper
farah 64 amber bruno 112 harbor jules 101 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004337-p1
Output only the first three records from the input.
NR <= 3
kim 91 cobalt gus 66 fable chen 17 delta gus 63 amber kim 5 delta eli 41 amber chen 78 amber jules 74 ember
kim 91 cobalt gus 66 fable chen 17 delta
farah 64 amber bruno 112 harbor jules 101 juniper alice 55 delta hana 105 delta bruno 108 cobalt alice 31 amber eli 91 juniper
farah 64 amber bruno 112 harbor jules 101 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004337
qwen/qwen3.7-plus
awkweave-0004338
Skip the first line and print every remaining line unchanged.
NR > 1
gus 78 delta chen 59 juniper ivan 87 fable jules 106 fable eli 36 birch dina 78 delta farah 42 grove dina 58 birch kim 19 fable
chen 59 juniper ivan 87 fable jules 106 fable eli 36 birch dina 78 delta farah 42 grove dina 58 birch kim 19 fable
hana 34 indigo hana 82 amber lina 22 grove chen 61 harbor farah 8 indigo eli 18 juniper lina 7 harbor eli 7 grove
hana 82 amber lina 22 grove chen 61 harbor farah 8 indigo eli 18 juniper lina 7 harbor eli 7 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004338-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
gus 78 delta chen 59 juniper ivan 87 fable jules 106 fable eli 36 birch dina 78 delta farah 42 grove dina 58 birch kim 19 fable
chen 59 juniper ivan 87 fable jules 106 fable eli 36 birch dina 78 delta farah 42 grove dina 58 birch kim 19 fable
hana 34 indigo hana 82 amber lina 22 grove chen 61 harbor farah 8 indigo eli 18 juniper lina 7 harbor eli 7 grove
hana 82 amber lina 22 grove chen 61 harbor farah 8 indigo eli 18 juniper lina 7 harbor eli 7 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004338
qwen/qwen3.7-plus
awkweave-0004339
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
hana failed 80 chen ready 61 eli closed 116 ivan ready 2 jules failed 108 dina paused 97 gus closed 91 alice closed 43 jules ready 57 eli paused 30
2
farah ready 120 farah active 83 ivan active 51 dina closed 30 gus paused 0 bruno ready 40
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004339-p1
Count the number of records where the second column is 'paused', and output 0 if the count is zero.
$2 == "paused"{n++}END{print n+0}
hana failed 80 chen ready 61 eli closed 116 ivan ready 2 jules failed 108 dina paused 97 gus closed 91 alice closed 43 jules ready 57 eli paused 30
2
farah ready 120 farah active 83 ivan active 51 dina closed 30 gus paused 0 bruno ready 40
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004339
qwen/qwen3.7-plus
awkweave-0004340
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
18 alice birch 4 gus amber 2 alice delta 21 eli delta 16 farah harbor 21 jules juniper 12 eli juniper 24 bruno delta 20 ivan delta
138
9 lina ember 11 jules delta 29 hana amber 16 lina delta 13 ivan birch 13 ivan cobalt 15 hana delta 13 hana amber 20 gus cobalt 17 hana indigo
156
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004340-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
18 alice birch 4 gus amber 2 alice delta 21 eli delta 16 farah harbor 21 jules juniper 12 eli juniper 24 bruno delta 20 ivan delta
138
9 lina ember 11 jules delta 29 hana amber 16 lina delta 13 ivan birch 13 ivan cobalt 15 hana delta 13 hana amber 20 gus cobalt 17 hana indigo
156
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004340
qwen/qwen3.7-plus
awkweave-0004341
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
5 juniper jules 28 birch ivan 6 amber jules 24 delta ivan 18 delta jules 29 birch alice
18.33
1 delta alice 18 fable bruno 27 ember lina 17 amber lina 23 amber lina 2 harbor farah 9 amber bruno 26 cobalt gus 21 grove alice 24 juniper jules
16.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004341-p1
Calculate the average of the values in the first column and print it rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
5 juniper jules 28 birch ivan 6 amber jules 24 delta ivan 18 delta jules 29 birch alice
18.33
1 delta alice 18 fable bruno 27 ember lina 17 amber lina 23 amber lina 2 harbor farah 9 amber bruno 26 cobalt gus 21 grove alice 24 juniper jules
16.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004341
qwen/qwen3.7-plus
awkweave-0004342
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
lina ember 26 lina delta 7 chen grove 21 alice birch 28 gus cobalt 20 gus ember 10 alice juniper 8 chen indigo 5 bruno grove 23
5
ivan amber 2 bruno amber 28 hana delta 26 kim amber 22 jules cobalt 25 farah delta 29 bruno birch 10
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004342-p1
Identify and output the minimum number found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
lina ember 26 lina delta 7 chen grove 21 alice birch 28 gus cobalt 20 gus ember 10 alice juniper 8 chen indigo 5 bruno grove 23
5
ivan amber 2 bruno amber 28 hana delta 26 kim amber 22 jules cobalt 25 farah delta 29 bruno birch 10
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004342
qwen/qwen3.7-plus
awkweave-0004343
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
dina delta 30 dina indigo 30 chen grove 17 kim grove 18 lina delta 28 gus indigo 1
30
eli amber 24 chen fable 2 dina ember 13 eli indigo 27 gus delta 16 ivan indigo 8 chen juniper 14 kim birch 21
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004343-p1
Identify and output the maximum number found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
dina delta 30 dina indigo 30 chen grove 17 kim grove 18 lina delta 28 gus indigo 1
30
eli amber 24 chen fable 2 dina ember 13 eli indigo 27 gus delta 16 ivan indigo 8 chen juniper 14 kim birch 21
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004343
qwen/qwen3.7-plus
awkweave-0004344
Count all input records and print the total.
END{print NR}
lina 83 ivan 31 farah 65 jules 93 dina 10 farah 77
6
bruno 113 kim 75 ivan 44 jules 94 dina 7 lina 65 ivan 51
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004344-p1
Calculate the total number of input records and display the count.
END{print NR}
lina 83 ivan 31 farah 65 jules 93 dina 10 farah 77
6
bruno 113 kim 75 ivan 44 jules 94 dina 7 lina 65 ivan 51
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004344
qwen/qwen3.7-plus
awkweave-0004345
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice harbor 114 eli amber 76 kim indigo 71 chen grove 59 eli amber 76 alice indigo 102 jules ember 26
alice harbor 114 eli amber 76 kim indigo 71 chen grove 59 alice indigo 102 jules ember 26
ivan indigo 11 farah fable 89 eli juniper 2 dina juniper 14 lina juniper 77 lina cobalt 84 chen juniper 78 chen juniper 78 lina harbor 45
ivan indigo 11 farah fable 89 eli juniper 2 dina juniper 14 lina juniper 77 lina cobalt 84 chen juniper 78 lina harbor 45
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004345-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice harbor 114 eli amber 76 kim indigo 71 chen grove 59 eli amber 76 alice indigo 102 jules ember 26
alice harbor 114 eli amber 76 kim indigo 71 chen grove 59 alice indigo 102 jules ember 26
ivan indigo 11 farah fable 89 eli juniper 2 dina juniper 14 lina juniper 77 lina cobalt 84 chen juniper 78 chen juniper 78 lina harbor 45
ivan indigo 11 farah fable 89 eli juniper 2 dina juniper 14 lina juniper 77 lina cobalt 84 chen juniper 78 lina harbor 45
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004345
qwen/qwen3.7-plus
awkweave-0004346
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
bruno harbor 34 eli juniper 81 dina amber 55 hana indigo 14 eli juniper 60 chen juniper 33 ivan grove 100 lina delta 111 alice juniper 29
bruno harbor 34 eli juniper 81 dina amber 55 hana indigo 14 ivan grove 100 lina delta 111
alice cobalt 9 hana ember 35 gus cobalt 89 ivan cobalt 64 kim ember 76 chen grove 36
alice cobalt 9 hana ember 35 chen grove 36
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004346-p1
Retain only the initial line for every unique value in the second column, keeping the original order.
!seen[$2]++
bruno harbor 34 eli juniper 81 dina amber 55 hana indigo 14 eli juniper 60 chen juniper 33 ivan grove 100 lina delta 111 alice juniper 29
bruno harbor 34 eli juniper 81 dina amber 55 hana indigo 14 ivan grove 100 lina delta 111
alice cobalt 9 hana ember 35 gus cobalt 89 ivan cobalt 64 kim ember 76 chen grove 36
alice cobalt 9 hana ember 35 chen grove 36
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004346
qwen/qwen3.7-plus
awkweave-0004347
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 12 delta hana 19 amber chen 2 delta kim 10 amber dina 9 harbor lina 21 harbor eli 2 indigo hana 12 cobalt bruno 27 cobalt
eli 12 hana 31 chen 33 kim 43 dina 52 lina 73 eli 75 hana 87 bruno 114
hana 29 delta alice 18 harbor dina 28 delta chen 1 indigo lina 19 cobalt alice 25 indigo dina 19 fable
hana 29 alice 47 dina 75 chen 76 lina 95 alice 120 dina 139
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004347-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
eli 12 delta hana 19 amber chen 2 delta kim 10 amber dina 9 harbor lina 21 harbor eli 2 indigo hana 12 cobalt bruno 27 cobalt
eli 12 hana 31 chen 33 kim 43 dina 52 lina 73 eli 75 hana 87 bruno 114
hana 29 delta alice 18 harbor dina 28 delta chen 1 indigo lina 19 cobalt alice 25 indigo dina 19 fable
hana 29 alice 47 dina 75 chen 76 lina 95 alice 120 dina 139
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004347
qwen/qwen3.7-plus
awkweave-0004348
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 6 4 fable bruno 22 24 ember farah 27 6 grove dina 24 16 grove jules 9 12 cobalt hana 5 26 grove
alice 10 bruno 46 farah 33 dina 40 jules 21 hana 31
hana 9 25 indigo hana 23 2 birch dina 30 13 juniper jules 25 29 delta eli 13 3 amber lina 19 21 cobalt
hana 34 hana 25 dina 43 jules 54 eli 16 lina 40
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004348-p1
For each row, display the first field followed by the total of the second and third fields.
{print $1,$2+$3}
alice 6 4 fable bruno 22 24 ember farah 27 6 grove dina 24 16 grove jules 9 12 cobalt hana 5 26 grove
alice 10 bruno 46 farah 33 dina 40 jules 21 hana 31
hana 9 25 indigo hana 23 2 birch dina 30 13 juniper jules 25 29 delta eli 13 3 amber lina 19 21 cobalt
hana 34 hana 25 dina 43 jules 54 eli 16 lina 40
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004348
qwen/qwen3.7-plus
awkweave-0004349
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
bruno 21 eli 15 farah 25 alice 22 eli 10 ivan 18
bruno pass eli fail farah pass alice pass eli fail ivan fail
alice 14 dina 1 jules 29 chen 15 ivan 8 eli 13 bruno 24 alice 5 ivan 16 gus 4
alice fail dina fail jules pass chen fail ivan fail eli fail bruno pass alice fail ivan fail gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004349-p1
Display the first column with 'pass' if the second column is 20 or greater, otherwise display 'fail'.
{print $1,($2>=20?"pass":"fail")}
bruno 21 eli 15 farah 25 alice 22 eli 10 ivan 18
bruno pass eli fail farah pass alice pass eli fail ivan fail
alice 14 dina 1 jules 29 chen 15 ivan 8 eli 13 bruno 24 alice 5 ivan 16 gus 4
alice fail dina fail jules pass chen fail ivan fail eli fail bruno pass alice fail ivan fail gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004349
qwen/qwen3.7-plus
awkweave-0004350
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
ivan delta 66 gus birch 97 kim amber 31 kim ember 90 lina ember 37 lina birch 24 chen juniper 84 dina amber 96
IVAN GUS KIM KIM LINA LINA CHEN DINA
hana juniper 80 farah harbor 68 eli harbor 14 hana delta 2 farah fable 107 chen indigo 44 alice cobalt 74 jules indigo 101
HANA FARAH ELI HANA FARAH CHEN ALICE JULES
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004350-p1
Transform the first column to uppercase letters and print only that column.
{print toupper($1)}
ivan delta 66 gus birch 97 kim amber 31 kim ember 90 lina ember 37 lina birch 24 chen juniper 84 dina amber 96
IVAN GUS KIM KIM LINA LINA CHEN DINA
hana juniper 80 farah harbor 68 eli harbor 14 hana delta 2 farah fable 107 chen indigo 44 alice cobalt 74 jules indigo 101
HANA FARAH ELI HANA FARAH CHEN ALICE JULES
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004350
qwen/qwen3.7-plus
awkweave-0004351
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
harbor 39 indigo 69 indigo 71 fable 80 fable 46 delta 25 fable 6
rbor digo digo ble ble lta ble
grove 98 cobalt 30 harbor 76 amber 43 juniper 59 indigo 50
ove balt rbor ber nipe digo
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004351-p1
Extract and print a substring of 4 characters from the first column, beginning at the third character.
{print substr($1,3,4)}
harbor 39 indigo 69 indigo 71 fable 80 fable 46 delta 25 fable 6
rbor digo digo ble ble lta ble
grove 98 cobalt 30 harbor 76 amber 43 juniper 59 indigo 50
ove balt rbor ber nipe digo
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004351
qwen/qwen3.7-plus
awkweave-0004352
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_birch 9 juniper_birch 114 indigo_harbor 111 indigo_birch 76 grove_indigo 21 grove_birch 74 amber_amber 48 indigo_grove 12 birch_juniper 23
birch birch juniper birch indigo harbor indigo birch grove indigo grove birch amber amber indigo grove birch juniper
ember_indigo 19 ember_fable 65 cobalt_delta 2 fable_birch 44 harbor_delta 116 ember_indigo 71 indigo_juniper 56
ember indigo ember fable cobalt delta fable birch harbor delta ember indigo indigo juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004352-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_birch 9 juniper_birch 114 indigo_harbor 111 indigo_birch 76 grove_indigo 21 grove_birch 74 amber_amber 48 indigo_grove 12 birch_juniper 23
birch birch juniper birch indigo harbor indigo birch grove indigo grove birch amber amber indigo grove birch juniper
ember_indigo 19 ember_fable 65 cobalt_delta 2 fable_birch 44 harbor_delta 116 ember_indigo 71 indigo_juniper 56
ember indigo ember fable cobalt delta fable birch harbor delta ember indigo indigo juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004352
qwen/qwen3.7-plus
awkweave-0004353
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)}
kim birch 112 ready dina fable 77 ready eli grove 93 active chen fable 68 closed kim cobalt 17 pending gus birch 33 failed lina harbor 73 active hana indigo 47 active lina fable 89 failed hana birch 64 pending
ready 112 birch kim ready 77 fable dina active 93 grove eli closed 68 fable chen pending 17 cobalt kim failed 33 birch gus active 73 harbor lina active 47 indigo hana failed 89 fable lina pending 64 birch hana
eli ember 91 closed hana birch 93 paused chen juniper 26 active chen juniper 91 active kim indigo 64 pending kim cobalt 86 active bruno grove 60 paused gus delta 33 active
closed 91 ember eli paused 93 birch hana active 26 juniper chen active 91 juniper chen pending 64 indigo kim active 86 cobalt kim paused 60 grove bruno active 33 delta gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004353-p1
Invert the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim birch 112 ready dina fable 77 ready eli grove 93 active chen fable 68 closed kim cobalt 17 pending gus birch 33 failed lina harbor 73 active hana indigo 47 active lina fable 89 failed hana birch 64 pending
ready 112 birch kim ready 77 fable dina active 93 grove eli closed 68 fable chen pending 17 cobalt kim failed 33 birch gus active 73 harbor lina active 47 indigo hana failed 89 fable lina pending 64 birch hana
eli ember 91 closed hana birch 93 paused chen juniper 26 active chen juniper 91 active kim indigo 64 pending kim cobalt 86 active bruno grove 60 paused gus delta 33 active
closed 91 ember eli paused 93 birch hana active 26 juniper chen active 91 juniper chen pending 64 indigo kim active 86 cobalt kim paused 60 grove bruno active 33 delta gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004353
qwen/qwen3.7-plus
awkweave-0004354
Print the number of whitespace-separated fields on each line.
{print NF}
kim juniper 43 ready bruno indigo 17 active ivan fable 106 pending alice delta 109 ready lina indigo 91 active farah juniper 49 closed dina harbor 41 failed kim delta 114 active dina juniper 61 ready chen ember 28 failed
4 4 4 4 4 4 4 4 4 4
ivan juniper 20 paused gus birch 79 pending ivan cobalt 53 closed chen grove 35 ready kim grove 11 closed kim delta 45 ready chen delta 79 failed bruno birch 105 active gus indigo 92 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004354-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
kim juniper 43 ready bruno indigo 17 active ivan fable 106 pending alice delta 109 ready lina indigo 91 active farah juniper 49 closed dina harbor 41 failed kim delta 114 active dina juniper 61 ready chen ember 28 failed
4 4 4 4 4 4 4 4 4 4
ivan juniper 20 paused gus birch 79 pending ivan cobalt 53 closed chen grove 35 ready kim grove 11 closed kim delta 45 ready chen delta 79 failed bruno birch 105 active gus indigo 92 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004354
qwen/qwen3.7-plus
awkweave-0004355
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 10 dina beta 116 farah beta 88 bruno gamma 15 ivan alpha 56 jules delta 65 gus beta 118 bruno alpha 24 farah gamma 22
delta 2 beta 3 gamma 2 alpha 2
dina alpha 103 alice alpha 25 jules delta 71 bruno beta 2 hana gamma 49 alice beta 69 kim beta 5 bruno delta 29 kim gamma 50 gus gamma 67
alpha 2 delta 2 beta 3 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004355-p1
Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus delta 10 dina beta 116 farah beta 88 bruno gamma 15 ivan alpha 56 jules delta 65 gus beta 118 bruno alpha 24 farah gamma 22
delta 2 beta 3 gamma 2 alpha 2
dina alpha 103 alice alpha 25 jules delta 71 bruno beta 2 hana gamma 49 alice beta 69 kim beta 5 bruno delta 29 kim gamma 50 gus gamma 67
alpha 2 delta 2 beta 3 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004355
qwen/qwen3.7-plus
awkweave-0004356
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]]}
hana delta 21 farah delta 12 dina alpha 9 chen delta 30 farah delta 21 hana delta 28 dina alpha 27 jules delta 4
delta 116 alpha 36
gus gamma 27 alice beta 20 hana delta 6 jules alpha 27 gus beta 8 dina delta 12 farah delta 13 eli delta 4 farah delta 20 dina beta 5
gamma 27 beta 33 delta 55 alpha 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004356-p1
Calculate the sum of the third column grouped by the second column's categories, listing the results in the order the categories 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]]}
hana delta 21 farah delta 12 dina alpha 9 chen delta 30 farah delta 21 hana delta 28 dina alpha 27 jules delta 4
delta 116 alpha 36
gus gamma 27 alice beta 20 hana delta 6 jules alpha 27 gus beta 8 dina delta 12 farah delta 13 eli delta 4 farah delta 20 dina beta 5
gamma 27 beta 33 delta 55 alpha 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004356
qwen/qwen3.7-plus
awkweave-0004357
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta cobalt 46 delta indigo 60 alpha amber 39 gamma delta 42 alpha amber 90 alpha delta 38 delta indigo 75 beta juniper 0 gamma amber 106
delta 3 alpha 3 gamma 2
delta birch 29 gamma harbor 14 delta grove 40 beta harbor 71 gamma harbor 26 beta grove 60 delta cobalt 52 gamma indigo 77
delta 3 gamma 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004357-p1
List each value from the first column that appears more than once, along with its frequency, sorted by the order of first occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta cobalt 46 delta indigo 60 alpha amber 39 gamma delta 42 alpha amber 90 alpha delta 38 delta indigo 75 beta juniper 0 gamma amber 106
delta 3 alpha 3 gamma 2
delta birch 29 gamma harbor 14 delta grove 40 beta harbor 71 gamma harbor 26 beta grove 60 delta cobalt 52 gamma indigo 77
delta 3 gamma 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004357
qwen/qwen3.7-plus
awkweave-0004358
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state note score region r001 gus 19 active r002 alice 20 paused r003 hana 24 failed r004 hana 19 failed r005 farah 12 failed r006 hana 6 failed r007 farah 27 paused
19 20 24 19 12 6 27
state note score region r001 kim 23 pending r002 ivan 19 ready r003 jules 25 ready r004 bruno 28 ready r005 bruno 17 ready r006 eli 12 failed
23 19 25 28 17 12
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004358-p1
Skip the header row and output the values from the score column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state note score region r001 gus 19 active r002 alice 20 paused r003 hana 24 failed r004 hana 19 failed r005 farah 12 failed r006 hana 6 failed r007 farah 27 paused
19 20 24 19 12 6 27
state note score region r001 kim 23 pending r002 ivan 19 ready r003 jules 25 ready r004 bruno 28 ready r005 bruno 17 ready r006 eli 12 failed
23 19 25 28 17 12
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004358
qwen/qwen3.7-plus
awkweave-0004359
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 ivan 20 closed r002 gus 24 paused r003 lina 26 pending r004 eli 24 pending r005 ivan 10 active r006 alice 2 failed r007 lina 11 failed r008 lina 20 active r009 farah 7 pending
lina
record_id display_name score state r001 farah 14 failed r002 eli 8 pending r003 lina 25 pending r004 dina 17 paused r005 kim 25 ready r006 jules 15 failed r007 lina 8 paused r008 alice 25 pending
lina kim alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004359-p1
Ignoring the header row, print the display_name field for any record where the score is strictly greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 ivan 20 closed r002 gus 24 paused r003 lina 26 pending r004 eli 24 pending r005 ivan 10 active r006 alice 2 failed r007 lina 11 failed r008 lina 20 active r009 farah 7 pending
lina
record_id display_name score state r001 farah 14 failed r002 eli 8 pending r003 lina 25 pending r004 dina 17 paused r005 kim 25 ready r006 jules 15 failed r007 lina 8 paused r008 alice 25 pending
lina kim alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004359
qwen/qwen3.7-plus
awkweave-0004360
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
dina 15 ready jules 25 ready chen 18 closed ivan 15 active chen 3 active jules 14 closed farah 30 pending eli 28 paused
dina jules chen ivan chen jules farah eli
chen 8 failed farah 10 pending jules 30 ready eli 5 closed jules 25 ready eli 14 failed bruno 27 ready kim 17 paused ivan 7 pending
chen farah jules eli jules eli bruno kim ivan
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004360-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
dina 15 ready jules 25 ready chen 18 closed ivan 15 active chen 3 active jules 14 closed farah 30 pending eli 28 paused
dina jules chen ivan chen jules farah eli
chen 8 failed farah 10 pending jules 30 ready eli 5 closed jules 25 ready eli 14 failed bruno 27 ready kim 17 paused ivan 7 pending
chen farah jules eli jules eli bruno kim ivan
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004360
qwen/qwen3.7-plus
awkweave-0004361
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
lina,7,pending ivan,9,ready dina,22,active ivan,18,failed hana,4,active dina,17,failed kim,27,paused alice,5,paused
dina ivan dina kim
jules,9,closed farah,23,active chen,16,pending farah,4,ready kim,9,closed hana,13,ready chen,22,failed kim,6,closed ivan,10,failed eli,8,failed
farah chen chen
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004361-p1
For simple comma-separated data without quoted commas, print the first column if the value in the second column is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
lina,7,pending ivan,9,ready dina,22,active ivan,18,failed hana,4,active dina,17,failed kim,27,paused alice,5,paused
dina ivan dina kim
jules,9,closed farah,23,active chen,16,pending farah,4,ready kim,9,closed hana,13,ready chen,22,failed kim,6,closed ivan,10,failed eli,8,failed
farah chen chen
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004361
qwen/qwen3.7-plus
awkweave-0004362
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice birch 64 lina fable 109 kim birch 61 kim harbor 63 bruno cobalt 35 kim delta 44 dina birch 14 hana cobalt 70 ivan amber 93 jules indigo 3
alice birch 64 lina fable 109 kim birch 61 kim harbor 63 bruno cobalt 35 kim delta 44 dina birch 14 hana cobalt 70 ivan amber 93 jules indigo 3
kim delta 31 jules grove 25 alice cobalt 93 kim amber 33 kim grove 114 ivan cobalt 52 eli grove 36
kim delta 31 jules grove 25 alice cobalt 93 kim amber 33 kim grove 114 ivan cobalt 52 eli grove 36
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004362-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
alice birch 64 lina fable 109 kim birch 61 kim harbor 63 bruno cobalt 35 kim delta 44 dina birch 14 hana cobalt 70 ivan amber 93 jules indigo 3
alice birch 64 lina fable 109 kim birch 61 kim harbor 63 bruno cobalt 35 kim delta 44 dina birch 14 hana cobalt 70 ivan amber 93 jules indigo 3
kim delta 31 jules grove 25 alice cobalt 93 kim amber 33 kim grove 114 ivan cobalt 52 eli grove 36
kim delta 31 jules grove 25 alice cobalt 93 kim amber 33 kim grove 114 ivan cobalt 52 eli grove 36
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004362
qwen/qwen3.7-plus
awkweave-0004363
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli indigo 47 active alice juniper 35 paused eli cobalt 81 ready ivan fable 82 failed bruno delta 67 closed hana cobalt 110 paused eli juniper 98 failed gus amber 64 active jules amber 65 paused
alice juniper 35 paused
eli delta 98 pending lina cobalt 24 ready eli fable 64 ready eli juniper 7 ready kim birch 58 paused gus amber 28 closed
eli delta 98 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004363-p1
Identify and print the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli indigo 47 active alice juniper 35 paused eli cobalt 81 ready ivan fable 82 failed bruno delta 67 closed hana cobalt 110 paused eli juniper 98 failed gus amber 64 active jules amber 65 paused
alice juniper 35 paused
eli delta 98 pending lina cobalt 24 ready eli fable 64 ready eli juniper 7 ready kim birch 58 paused gus amber 28 closed
eli delta 98 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004363
qwen/qwen3.7-plus
awkweave-0004364
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
gus 35 dina 73 lina 113 hana 20 ivan 14 bruno 50 lina 100
gus 35 hana 20 lina 100
ivan 57 hana 93 ivan 6 jules 30 ivan 100 eli 109 dina 81 ivan 99 jules 83
ivan 57 jules 30 dina 81
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004364-p1
Output every third line, beginning with the first line (i.e., lines 1, 4, 7, etc.).
NR%3==1
gus 35 dina 73 lina 113 hana 20 ivan 14 bruno 50 lina 100
gus 35 hana 20 lina 100
ivan 57 hana 93 ivan 6 jules 30 ivan 100 eli 109 dina 81 ivan 99 jules 83
ivan 57 jules 30 dina 81
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004364
qwen/qwen3.7-plus
awkweave-0004365
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha juniper 108 delta amber 84 delta fable 46 delta grove 19 beta harbor 91 delta delta 25 beta harbor 33 delta ember 15 alpha harbor 61
7
gamma cobalt 29 beta indigo 118 beta delta 50 alpha harbor 118 alpha harbor 29 gamma amber 17 beta indigo 80 beta birch 99
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004365-p1
Determine the number of unique values in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha juniper 108 delta amber 84 delta fable 46 delta grove 19 beta harbor 91 delta delta 25 beta harbor 33 delta ember 15 alpha harbor 61
7
gamma cobalt 29 beta indigo 118 beta delta 50 alpha harbor 118 alpha harbor 29 gamma amber 17 beta indigo 80 beta birch 99
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004365
qwen/qwen3.7-plus
awkweave-0004366
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}
dina 22 0 farah 1 9 chen 25 13 farah 10 16 eli 15 20 kim 26 30
farah 0.11 chen 1.92 farah 0.62 eli 0.75 kim 0.87
dina 20 0 farah 29 14 hana 3 1 hana 15 6 gus 28 18 dina 30 3 jules 1 15
farah 2.07 hana 3.00 hana 2.50 gus 1.56 dina 10.00 jules 0.07
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004366-p1
For every row, output the value of column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, while omitting any rows where column 3 equals zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 22 0 farah 1 9 chen 25 13 farah 10 16 eli 15 20 kim 26 30
farah 0.11 chen 1.92 farah 0.62 eli 0.75 kim 0.87
dina 20 0 farah 29 14 hana 3 1 hana 15 6 gus 28 18 dina 30 3 jules 1 15
farah 2.07 hana 3.00 hana 2.50 gus 1.56 dina 10.00 jules 0.07
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004366
qwen/qwen3.7-plus
awkweave-0004367
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]}
jules fable 12 kim birch 19 kim birch 26 jules amber 23 chen birch 30 chen juniper 5 dina cobalt 13 farah grove 25 hana ember 17 kim amber 1
chen birch 30 kim birch 26 farah grove 25
farah fable 15 alice ember 1 kim fable 23 eli amber 26 farah indigo 30 chen birch 20 alice fable 12 farah fable 9 ivan fable 9 farah ember 23
farah indigo 30 eli amber 26 kim fable 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004367-p1
Display the full records corresponding to the top three highest numeric values in column 3, arranged in descending order, maintaining the original input sequence for any tied values.
{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]}
jules fable 12 kim birch 19 kim birch 26 jules amber 23 chen birch 30 chen juniper 5 dina cobalt 13 farah grove 25 hana ember 17 kim amber 1
chen birch 30 kim birch 26 farah grove 25
farah fable 15 alice ember 1 kim fable 23 eli amber 26 farah indigo 30 chen birch 20 alice fable 12 farah fable 9 ivan fable 9 farah ember 23
farah indigo 30 eli amber 26 kim fable 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004367
qwen/qwen3.7-plus
awkweave-0004368
For each line, output fields 3 and 2, in that order.
{print $3, $2}
ready juniper 104 active active birch 109 pending active ember 108 pending failed grove 99 failed closed delta 95 failed failed indigo 52 paused
104 juniper 109 birch 108 ember 99 grove 95 delta 52 indigo
ready grove 106 pending failed grove 24 failed pending grove 6 failed active delta 26 ready active amber 86 paused pending indigo 17 closed closed birch 119 closed failed juniper 23 failed
106 grove 24 grove 6 grove 26 delta 86 amber 17 indigo 119 birch 23 juniper
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004368-p1
Output field 3 followed by field 2 for each line.
{print $3, $2}
ready juniper 104 active active birch 109 pending active ember 108 pending failed grove 99 failed closed delta 95 failed failed indigo 52 paused
104 juniper 109 birch 108 ember 99 grove 95 delta 52 indigo
ready grove 106 pending failed grove 24 failed pending grove 6 failed active delta 26 ready active amber 86 paused pending indigo 17 closed closed birch 119 closed failed juniper 23 failed
106 grove 24 grove 6 grove 26 delta 86 amber 17 indigo 119 birch 23 juniper
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004368
qwen/qwen3.7-plus
awkweave-0004369
Print the last field of every input line.
{print $NF}
ivan pending grove ivan 95 harbor hana closed harbor chen 96 indigo chen paused indigo bruno 85 juniper kim ready amber dina 33 fable gus closed amber farah 56 juniper gus ready amber lina 57 birch ivan active juniper bruno 12 juniper kim ready grove kim 94 birch
harbor indigo juniper fable juniper birch juniper birch
lina closed grove eli 95 amber lina ready indigo ivan 2 harbor farah closed fable alice 76 fable gus ready indigo gus 35 fable eli ready amber gus 14 amber ivan ready indigo farah 58 ember lina failed cobalt farah 3 fable gus paused amber lina 86 birch
amber harbor fable fable amber ember fable birch
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004369-p1
Print the final field from every line of input.
{print $NF}
ivan pending grove ivan 95 harbor hana closed harbor chen 96 indigo chen paused indigo bruno 85 juniper kim ready amber dina 33 fable gus closed amber farah 56 juniper gus ready amber lina 57 birch ivan active juniper bruno 12 juniper kim ready grove kim 94 birch
harbor indigo juniper fable juniper birch juniper birch
lina closed grove eli 95 amber lina ready indigo ivan 2 harbor farah closed fable alice 76 fable gus ready indigo gus 35 fable eli ready amber gus 14 amber ivan ready indigo farah 58 ember lina failed cobalt farah 3 fable gus paused amber lina 86 birch
amber harbor fable fable amber ember fable birch
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004369
qwen/qwen3.7-plus
awkweave-0004370
Print the complete records where column 2 is at most 57.
$2 <= 57
lina 1 bruno cobalt hana 51 kim ember hana 56 alice juniper lina 100 alice amber dina 49 farah fable gus 19 ivan ember bruno 57 kim amber chen 89 hana ember alice 84 ivan birch
lina 1 bruno cobalt hana 51 kim ember hana 56 alice juniper dina 49 farah fable gus 19 ivan ember bruno 57 kim amber
chen 24 ivan delta alice 41 hana harbor lina 27 gus grove alice 92 eli juniper bruno 64 jules birch bruno 58 dina juniper
chen 24 ivan delta alice 41 hana harbor lina 27 gus grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004370-p1
Output the entire records for which the value in column 2 is less than or equal to 57.
$2 <= 57
lina 1 bruno cobalt hana 51 kim ember hana 56 alice juniper lina 100 alice amber dina 49 farah fable gus 19 ivan ember bruno 57 kim amber chen 89 hana ember alice 84 ivan birch
lina 1 bruno cobalt hana 51 kim ember hana 56 alice juniper dina 49 farah fable gus 19 ivan ember bruno 57 kim amber
chen 24 ivan delta alice 41 hana harbor lina 27 gus grove alice 92 eli juniper bruno 64 jules birch bruno 58 dina juniper
chen 24 ivan delta alice 41 hana harbor lina 27 gus grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004370
qwen/qwen3.7-plus
awkweave-0004371
Show whole lines whose 3rd field is between 3 and 18, inclusive.
$3 >= 3 && $3 <= 18
active harbor 15 chen paused cobalt 21 ivan paused cobalt 27 chen active fable 23 ivan failed delta 27 lina pending cobalt 6 jules pending ember 20 bruno active ember 7 lina
active harbor 15 chen pending cobalt 6 jules active ember 7 lina
ready ember 24 bruno ready amber 8 dina closed grove 30 dina failed delta 2 farah ready ember 21 gus closed amber 29 dina pending birch 2 bruno closed ember 19 gus
ready amber 8 dina
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004371-p1
Display complete lines where the third field falls within the inclusive range of 3 to 18.
$3 >= 3 && $3 <= 18
active harbor 15 chen paused cobalt 21 ivan paused cobalt 27 chen active fable 23 ivan failed delta 27 lina pending cobalt 6 jules pending ember 20 bruno active ember 7 lina
active harbor 15 chen pending cobalt 6 jules active ember 7 lina
ready ember 24 bruno ready amber 8 dina closed grove 30 dina failed delta 2 farah ready ember 21 gus closed amber 29 dina pending birch 2 bruno closed ember 19 gus
ready amber 8 dina
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004371
qwen/qwen3.7-plus
awkweave-0004372
Print column 2 only for rows where column 1 is exactly closed.
$1 == "closed"{print $2}
active gus 79 juniper failed farah 115 indigo active bruno 84 ember closed gus 68 indigo closed jules 31 ember closed ivan 46 cobalt closed eli 13 indigo paused gus 107 amber pending hana 78 juniper
gus jules ivan eli
active alice 48 delta ready hana 42 delta active dina 46 amber ready bruno 58 delta pending farah 56 fable pending gus 109 amber
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004372-p1
Output only column 2 for those rows where column 1 matches the exact string 'closed'.
$1 == "closed"{print $2}
active gus 79 juniper failed farah 115 indigo active bruno 84 ember closed gus 68 indigo closed jules 31 ember closed ivan 46 cobalt closed eli 13 indigo paused gus 107 amber pending hana 78 juniper
gus jules ivan eli
active alice 48 delta ready hana 42 delta active dina 46 amber ready bruno 58 delta pending farah 56 fable pending gus 109 amber
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004372
qwen/qwen3.7-plus
awkweave-0004373
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
DEBUG juniper 62 DEBUG fable 8 INFO delta 100 DEBUG ember 75 WARN delta 46 ERROR indigo 77 DEBUG juniper 12
WARN delta 46
INFO cobalt 6 DEBUG harbor 81 WARN birch 16 INFO juniper 85 WARN harbor 28 WARN birch 29 ERROR cobalt 67 ERROR juniper 93 INFO harbor 82
WARN birch 16 WARN harbor 28 WARN birch 29
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004373-p1
Print all fields from lines where the first field starts with the prefix 'WARN'.
$1 ~ /^WARN/
DEBUG juniper 62 DEBUG fable 8 INFO delta 100 DEBUG ember 75 WARN delta 46 ERROR indigo 77 DEBUG juniper 12
WARN delta 46
INFO cobalt 6 DEBUG harbor 81 WARN birch 16 INFO juniper 85 WARN harbor 28 WARN birch 29 ERROR cobalt 67 ERROR juniper 93 INFO harbor 82
WARN birch 16 WARN harbor 28 WARN birch 29
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004373
qwen/qwen3.7-plus
awkweave-0004374
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
juniper 71 closed juniper 69 paused ember 94 active harbor 79 failed birch 12 failed juniper 23 failed amber 36 active fable 59 ready juniper 3 pending juniper 999 active
ember 94 active harbor 79 failed birch 12 failed amber 36 active fable 59 ready
grove 44 active juniper 113 closed indigo 38 ready cobalt 120 ready cobalt 106 ready amber 46 closed indigo 59 pending birch 80 ready delta 59 pending juniper 999 active
grove 44 active indigo 38 ready cobalt 120 ready cobalt 106 ready amber 46 closed indigo 59 pending birch 80 ready delta 59 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004374-p1
Output every line that does not contain the exact substring 'juniper'.
$0 !~ /juniper/
juniper 71 closed juniper 69 paused ember 94 active harbor 79 failed birch 12 failed juniper 23 failed amber 36 active fable 59 ready juniper 3 pending juniper 999 active
ember 94 active harbor 79 failed birch 12 failed amber 36 active fable 59 ready
grove 44 active juniper 113 closed indigo 38 ready cobalt 120 ready cobalt 106 ready amber 46 closed indigo 59 pending birch 80 ready delta 59 pending juniper 999 active
grove 44 active indigo 38 ready cobalt 120 ready cobalt 106 ready amber 46 closed indigo 59 pending birch 80 ready delta 59 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004374
qwen/qwen3.7-plus
awkweave-0004375
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
dina juniper 8 jules ember 46 gus amber 8 farah fable 57 hana juniper 24 dina juniper 46
jules ember 46 gus amber 8
eli grove 72 hana delta 49 kim cobalt 68 hana amber 74 hana birch 89 chen juniper 1 lina harbor 3 lina amber 84 lina delta 97
hana delta 49 kim cobalt 68
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004375-p1
Print lines 2 through 3, inclusive.
NR >= 2 && NR <= 3
dina juniper 8 jules ember 46 gus amber 8 farah fable 57 hana juniper 24 dina juniper 46
jules ember 46 gus amber 8
eli grove 72 hana delta 49 kim cobalt 68 hana amber 74 hana birch 89 chen juniper 1 lina harbor 3 lina amber 84 lina delta 97
hana delta 49 kim cobalt 68
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004375
qwen/qwen3.7-plus
awkweave-0004376
Output only the first 5 records.
NR <= 5
gus 54 ember alice 37 birch farah 1 harbor dina 23 indigo alice 103 delta kim 20 amber farah 51 juniper hana 54 harbor ivan 61 grove eli 87 grove
gus 54 ember alice 37 birch farah 1 harbor dina 23 indigo alice 103 delta
jules 45 fable gus 101 grove ivan 17 ember hana 68 birch lina 54 ember gus 9 cobalt
jules 45 fable gus 101 grove ivan 17 ember hana 68 birch lina 54 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004376-p1
Output only the first 5 records.
NR <= 5
gus 54 ember alice 37 birch farah 1 harbor dina 23 indigo alice 103 delta kim 20 amber farah 51 juniper hana 54 harbor ivan 61 grove eli 87 grove
gus 54 ember alice 37 birch farah 1 harbor dina 23 indigo alice 103 delta
jules 45 fable gus 101 grove ivan 17 ember hana 68 birch lina 54 ember gus 9 cobalt
jules 45 fable gus 101 grove ivan 17 ember hana 68 birch lina 54 ember
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0004376
qwen/qwen3.7-plus
awkweave-0004377
Skip the first line and print every remaining line unchanged.
NR > 1
farah 108 cobalt gus 72 amber alice 14 indigo chen 36 cobalt gus 119 indigo eli 50 fable chen 84 birch eli 89 fable
gus 72 amber alice 14 indigo chen 36 cobalt gus 119 indigo eli 50 fable chen 84 birch eli 89 fable
hana 35 delta alice 72 grove farah 60 harbor lina 23 cobalt ivan 76 juniper eli 55 juniper
alice 72 grove farah 60 harbor lina 23 cobalt ivan 76 juniper eli 55 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004377-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
farah 108 cobalt gus 72 amber alice 14 indigo chen 36 cobalt gus 119 indigo eli 50 fable chen 84 birch eli 89 fable
gus 72 amber alice 14 indigo chen 36 cobalt gus 119 indigo eli 50 fable chen 84 birch eli 89 fable
hana 35 delta alice 72 grove farah 60 harbor lina 23 cobalt ivan 76 juniper eli 55 juniper
alice 72 grove farah 60 harbor lina 23 cobalt ivan 76 juniper eli 55 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004377
qwen/qwen3.7-plus
awkweave-0004378
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
gus paused 47 kim paused 120 alice closed 76 ivan paused 97 lina active 6 bruno ready 65 lina paused 23 farah failed 1 farah ready 115 alice closed 58
1
lina ready 30 bruno failed 0 bruno closed 35 ivan closed 54 lina ready 13 jules paused 99 kim ready 97 alice closed 50
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004378-p1
Output the count of records where column 2 is 'active', defaulting to 0 if no matches are found.
$2 == "active"{n++}END{print n+0}
gus paused 47 kim paused 120 alice closed 76 ivan paused 97 lina active 6 bruno ready 65 lina paused 23 farah failed 1 farah ready 115 alice closed 58
1
lina ready 30 bruno failed 0 bruno closed 35 ivan closed 54 lina ready 13 jules paused 99 kim ready 97 alice closed 50
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004378
qwen/qwen3.7-plus
awkweave-0004379
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
16 alice cobalt 18 chen juniper 11 ivan delta 28 eli juniper 15 kim fable 1 chen juniper
89
3 ivan amber 4 eli delta 22 kim harbor 18 farah harbor 30 alice grove 22 gus harbor 17 alice fable 8 alice cobalt 10 alice harbor 6 dina amber
140
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004379-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
16 alice cobalt 18 chen juniper 11 ivan delta 28 eli juniper 15 kim fable 1 chen juniper
89
3 ivan amber 4 eli delta 22 kim harbor 18 farah harbor 30 alice grove 22 gus harbor 17 alice fable 8 alice cobalt 10 alice harbor 6 dina amber
140
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004379
qwen/qwen3.7-plus
awkweave-0004380
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
alice 20 fable gus 6 fable lina 16 amber kim 3 indigo bruno 3 fable hana 15 fable hana 29 ember lina 7 juniper eli 6 juniper alice 10 indigo
11.50
dina 3 grove farah 24 cobalt farah 23 birch farah 1 juniper eli 15 amber farah 1 indigo
11.17
average_field
2
train
original-grammar
CC-BY-4.0
null
null