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-0015330-p1
Display entire lines where the first field falls within the inclusive range of 8 to 24.
$1 >= 8 && $1 <= 24
25 cobalt amber ready 30 delta delta paused 12 fable grove paused 6 indigo cobalt pending 6 cobalt grove closed 7 indigo indigo closed 11 juniper grove closed 7 delta juniper closed 29 delta amber failed
12 fable grove paused 11 juniper grove closed
15 juniper birch pending 17 harbor birch closed 28 cobalt birch failed 10 fable juniper pending 1 delta birch pending 21 indigo delta pending 17 harbor delta active 9 fable cobalt failed 17 juniper fable failed
15 juniper birch pending 17 harbor birch closed 10 fable juniper pending 21 indigo delta pending 17 harbor delta active 9 fable cobalt failed 17 juniper fable failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015330
qwen/qwen3.7-plus
awkweave-0015331
Print column 3 only for rows where column 4 is exactly failed.
$4 == "failed"{print $3}
birch 120 alice active harbor 63 chen pending fable 80 jules failed birch 86 gus active delta 39 bruno failed amber 0 chen pending fable 54 jules paused juniper 67 lina ready
jules bruno
harbor 86 lina active birch 81 eli active cobalt 32 farah ready cobalt 55 bruno closed ember 20 chen ready ember 57 farah active amber 46 lina closed
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015331-p1
Output only the third column for rows where the fourth column is exactly 'failed'.
$4 == "failed"{print $3}
birch 120 alice active harbor 63 chen pending fable 80 jules failed birch 86 gus active delta 39 bruno failed amber 0 chen pending fable 54 jules paused juniper 67 lina ready
jules bruno
harbor 86 lina active birch 81 eli active cobalt 32 farah ready cobalt 55 bruno closed ember 20 chen ready ember 57 farah active amber 46 lina closed
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015331
qwen/qwen3.7-plus
awkweave-0015332
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
66 juniper WARN 103 delta INFO 117 cobalt DEBUG 39 grove INFO 45 grove ERROR 118 fable DEBUG 57 grove ERROR 57 indigo WARN 97 grove DEBUG 38 delta DEBUG
45 grove ERROR 57 grove ERROR
26 fable DEBUG 56 amber WARN 42 birch WARN 82 grove DEBUG 25 cobalt DEBUG 75 indigo DEBUG 14 delta DEBUG 4 harbor DEBUG
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015332-p1
Print all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
66 juniper WARN 103 delta INFO 117 cobalt DEBUG 39 grove INFO 45 grove ERROR 118 fable DEBUG 57 grove ERROR 57 indigo WARN 97 grove DEBUG 38 delta DEBUG
45 grove ERROR 57 grove ERROR
26 fable DEBUG 56 amber WARN 42 birch WARN 82 grove DEBUG 25 cobalt DEBUG 75 indigo DEBUG 14 delta DEBUG 4 harbor DEBUG
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015332
qwen/qwen3.7-plus
awkweave-0015333
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
indigo 75 ready amber 53 paused delta 81 paused amber 51 pending fable 4 active birch 96 ready amber 92 paused ember 106 pending harbor 81 active cobalt 110 closed juniper 999 active
indigo 75 ready amber 53 paused delta 81 paused amber 51 pending fable 4 active birch 96 ready amber 92 paused ember 106 pending harbor 81 active cobalt 110 closed
juniper 112 failed indigo 49 active indigo 28 paused birch 58 active amber 82 ready harbor 3 paused fable 63 closed cobalt 99 closed fable 90 ready juniper 999 active
indigo 49 active indigo 28 paused birch 58 active amber 82 ready harbor 3 paused fable 63 closed cobalt 99 closed fable 90 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015333-p1
Print every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
indigo 75 ready amber 53 paused delta 81 paused amber 51 pending fable 4 active birch 96 ready amber 92 paused ember 106 pending harbor 81 active cobalt 110 closed juniper 999 active
indigo 75 ready amber 53 paused delta 81 paused amber 51 pending fable 4 active birch 96 ready amber 92 paused ember 106 pending harbor 81 active cobalt 110 closed
juniper 112 failed indigo 49 active indigo 28 paused birch 58 active amber 82 ready harbor 3 paused fable 63 closed cobalt 99 closed fable 90 ready juniper 999 active
indigo 49 active indigo 28 paused birch 58 active amber 82 ready harbor 3 paused fable 63 closed cobalt 99 closed fable 90 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015333
qwen/qwen3.7-plus
awkweave-0015334
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
gus grove 43 jules indigo 25 eli indigo 49 chen harbor 20 chen harbor 39 eli ember 117 dina fable 68 gus cobalt 69
jules indigo 25 eli indigo 49 chen harbor 20
alice amber 81 ivan harbor 6 eli indigo 37 gus indigo 6 bruno grove 111 dina grove 104 farah grove 91 lina fable 47
ivan harbor 6 eli indigo 37 gus indigo 6
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015334-p1
Output lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
gus grove 43 jules indigo 25 eli indigo 49 chen harbor 20 chen harbor 39 eli ember 117 dina fable 68 gus cobalt 69
jules indigo 25 eli indigo 49 chen harbor 20
alice amber 81 ivan harbor 6 eli indigo 37 gus indigo 6 bruno grove 111 dina grove 104 farah grove 91 lina fable 47
ivan harbor 6 eli indigo 37 gus indigo 6
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015334
qwen/qwen3.7-plus
awkweave-0015335
Output only the first 5 records.
NR <= 5
alice 67 amber jules 79 delta hana 55 indigo dina 11 delta lina 5 indigo farah 49 birch
alice 67 amber jules 79 delta hana 55 indigo dina 11 delta lina 5 indigo
kim 83 harbor dina 6 fable ivan 36 ember kim 110 ember bruno 58 cobalt bruno 45 grove chen 12 amber lina 68 cobalt farah 65 cobalt
kim 83 harbor dina 6 fable ivan 36 ember kim 110 ember bruno 58 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015335-p1
Display only the first 5 records.
NR <= 5
alice 67 amber jules 79 delta hana 55 indigo dina 11 delta lina 5 indigo farah 49 birch
alice 67 amber jules 79 delta hana 55 indigo dina 11 delta lina 5 indigo
kim 83 harbor dina 6 fable ivan 36 ember kim 110 ember bruno 58 cobalt bruno 45 grove chen 12 amber lina 68 cobalt farah 65 cobalt
kim 83 harbor dina 6 fable ivan 36 ember kim 110 ember bruno 58 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015335
qwen/qwen3.7-plus
awkweave-0015336
Skip the first line and print every remaining line unchanged.
NR > 1
kim 19 juniper alice 23 fable farah 80 harbor kim 68 amber farah 96 grove bruno 3 cobalt
alice 23 fable farah 80 harbor kim 68 amber farah 96 grove bruno 3 cobalt
dina 88 indigo farah 29 harbor lina 117 juniper gus 3 ember alice 95 ember ivan 105 cobalt dina 55 cobalt
farah 29 harbor lina 117 juniper gus 3 ember alice 95 ember ivan 105 cobalt dina 55 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015336-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
kim 19 juniper alice 23 fable farah 80 harbor kim 68 amber farah 96 grove bruno 3 cobalt
alice 23 fable farah 80 harbor kim 68 amber farah 96 grove bruno 3 cobalt
dina 88 indigo farah 29 harbor lina 117 juniper gus 3 ember alice 95 ember ivan 105 cobalt dina 55 cobalt
farah 29 harbor lina 117 juniper gus 3 ember alice 95 ember ivan 105 cobalt dina 55 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015336
qwen/qwen3.7-plus
awkweave-0015337
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
gus paused 70 lina failed 51 gus pending 75 alice active 42 chen paused 78 dina failed 9 eli failed 23 jules active 77 eli paused 65 kim active 95
3
chen pending 49 jules active 57 gus failed 61 lina active 65 ivan active 110 ivan active 18 chen paused 94 lina ready 87 jules paused 108 eli active 98
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015337-p1
Count the number of records where column 2 is 'paused'; output 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
gus paused 70 lina failed 51 gus pending 75 alice active 42 chen paused 78 dina failed 9 eli failed 23 jules active 77 eli paused 65 kim active 95
3
chen pending 49 jules active 57 gus failed 61 lina active 65 ivan active 110 ivan active 18 chen paused 94 lina ready 87 jules paused 108 eli active 98
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015337
qwen/qwen3.7-plus
awkweave-0015338
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
cobalt ivan 2 indigo kim 28 indigo lina 2 grove alice 15 amber jules 22 indigo chen 17 ember farah 21 delta alice 9 ember kim 10 amber gus 17
143
ember lina 25 delta alice 20 grove gus 7 fable eli 22 ember jules 4 birch farah 16 amber kim 14
108
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015338-p1
Compute and print the sum of integer values in column 3.
{s+=$3}END{print s+0}
cobalt ivan 2 indigo kim 28 indigo lina 2 grove alice 15 amber jules 22 indigo chen 17 ember farah 21 delta alice 9 ember kim 10 amber gus 17
143
ember lina 25 delta alice 20 grove gus 7 fable eli 22 ember jules 4 birch farah 16 amber kim 14
108
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015338
qwen/qwen3.7-plus
awkweave-0015339
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
15 gus harbor 7 eli grove 2 alice grove 18 jules grove 6 kim juniper 1 ivan amber 7 kim birch 18 farah harbor 9 ivan harbor
9.22
26 hana ember 3 gus delta 19 ivan fable 16 hana cobalt 15 gus amber 27 dina indigo 4 alice amber 7 farah juniper
14.62
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015339-p1
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
15 gus harbor 7 eli grove 2 alice grove 18 jules grove 6 kim juniper 1 ivan amber 7 kim birch 18 farah harbor 9 ivan harbor
9.22
26 hana ember 3 gus delta 19 ivan fable 16 hana cobalt 15 gus amber 27 dina indigo 4 alice amber 7 farah juniper
14.62
average_field
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0015339
qwen/qwen3.7-plus
awkweave-0015340
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
bruno 16 amber ivan 7 birch kim 14 birch lina 22 juniper bruno 17 ember chen 25 ember alice 1 birch dina 7 harbor lina 27 ember bruno 23 delta
1
jules 28 indigo bruno 11 grove bruno 6 grove kim 6 ember hana 13 ember kim 21 indigo bruno 4 harbor lina 6 ember
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015340-p1
Identify and print the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
bruno 16 amber ivan 7 birch kim 14 birch lina 22 juniper bruno 17 ember chen 25 ember alice 1 birch dina 7 harbor lina 27 ember bruno 23 delta
1
jules 28 indigo bruno 11 grove bruno 6 grove kim 6 ember hana 13 ember kim 21 indigo bruno 4 harbor lina 6 ember
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015340
qwen/qwen3.7-plus
awkweave-0015341
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember dina 29 grove chen 23 delta dina 7 grove hana 21 delta lina 22 juniper chen 10 ember dina 4 indigo bruno 25
29
harbor eli 16 indigo eli 13 amber bruno 7 amber eli 11 delta eli 14 grove alice 12 juniper alice 22
22
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015341-p1
Identify and print the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember dina 29 grove chen 23 delta dina 7 grove hana 21 delta lina 22 juniper chen 10 ember dina 4 indigo bruno 25
29
harbor eli 16 indigo eli 13 amber bruno 7 amber eli 11 delta eli 14 grove alice 12 juniper alice 22
22
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015341
qwen/qwen3.7-plus
awkweave-0015342
Count all input records and print the total.
END{print NR}
alice 64 jules 85 dina 78 lina 105 ivan 95 gus 6 eli 118 eli 53
8
ivan 82 bruno 41 chen 76 hana 104 jules 27 dina 92 lina 23 chen 89 ivan 99
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015342-p1
Output the total count of all input records.
END{print NR}
alice 64 jules 85 dina 78 lina 105 ivan 95 gus 6 eli 118 eli 53
8
ivan 82 bruno 41 chen 76 hana 104 jules 27 dina 92 lina 23 chen 89 ivan 99
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015342
qwen/qwen3.7-plus
awkweave-0015343
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno grove 113 farah delta 25 eli amber 44 chen juniper 49 bruno grove 113 gus birch 115 hana delta 51 farah cobalt 30 ivan cobalt 95
bruno grove 113 farah delta 25 eli amber 44 chen juniper 49 gus birch 115 hana delta 51 farah cobalt 30 ivan cobalt 95
hana delta 116 eli juniper 69 lina cobalt 38 alice harbor 48 alice delta 94 farah grove 108 alice harbor 48
hana delta 116 eli juniper 69 lina cobalt 38 alice harbor 48 alice delta 94 farah grove 108
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015343-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
bruno grove 113 farah delta 25 eli amber 44 chen juniper 49 bruno grove 113 gus birch 115 hana delta 51 farah cobalt 30 ivan cobalt 95
bruno grove 113 farah delta 25 eli amber 44 chen juniper 49 gus birch 115 hana delta 51 farah cobalt 30 ivan cobalt 95
hana delta 116 eli juniper 69 lina cobalt 38 alice harbor 48 alice delta 94 farah grove 108 alice harbor 48
hana delta 116 eli juniper 69 lina cobalt 38 alice harbor 48 alice delta 94 farah grove 108
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015343
qwen/qwen3.7-plus
awkweave-0015344
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
jules harbor 75 lina ember 33 chen harbor 85 eli indigo 95 gus fable 97 ivan harbor 46 alice harbor 29 hana cobalt 43 hana ember 72 lina amber 89
jules harbor 75 lina ember 33 chen harbor 85 eli indigo 95 gus fable 97 ivan harbor 46 alice harbor 29 hana cobalt 43 hana ember 72 lina amber 89
bruno ember 34 chen harbor 23 lina juniper 62 bruno juniper 49 gus grove 33 lina juniper 17 gus harbor 84 alice amber 119 jules cobalt 85
bruno ember 34 chen harbor 23 lina juniper 62 bruno juniper 49 gus grove 33 lina juniper 17 gus harbor 84 alice amber 119 jules cobalt 85
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015344-p1
Retain only the initial line for every unique value found in column 3, ensuring the original input order is preserved.
!seen[$3]++
jules harbor 75 lina ember 33 chen harbor 85 eli indigo 95 gus fable 97 ivan harbor 46 alice harbor 29 hana cobalt 43 hana ember 72 lina amber 89
jules harbor 75 lina ember 33 chen harbor 85 eli indigo 95 gus fable 97 ivan harbor 46 alice harbor 29 hana cobalt 43 hana ember 72 lina amber 89
bruno ember 34 chen harbor 23 lina juniper 62 bruno juniper 49 gus grove 33 lina juniper 17 gus harbor 84 alice amber 119 jules cobalt 85
bruno ember 34 chen harbor 23 lina juniper 62 bruno juniper 49 gus grove 33 lina juniper 17 gus harbor 84 alice amber 119 jules cobalt 85
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015344
qwen/qwen3.7-plus
awkweave-0015345
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 3 ember alice 10 grove hana 15 grove alice 28 amber chen 21 delta farah 27 grove
gus 3 alice 13 hana 28 alice 56 chen 77 farah 104
jules 2 harbor kim 10 cobalt eli 3 grove lina 19 cobalt ivan 16 birch ivan 5 harbor hana 11 amber lina 7 delta gus 21 juniper
jules 2 kim 12 eli 15 lina 34 ivan 50 ivan 55 hana 66 lina 73 gus 94
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015345-p1
For each entry, output column 1 alongside the cumulative sum of column 2, using a space as the delimiter.
{s+=$2;print $1,s}
gus 3 ember alice 10 grove hana 15 grove alice 28 amber chen 21 delta farah 27 grove
gus 3 alice 13 hana 28 alice 56 chen 77 farah 104
jules 2 harbor kim 10 cobalt eli 3 grove lina 19 cobalt ivan 16 birch ivan 5 harbor hana 11 amber lina 7 delta gus 21 juniper
jules 2 kim 12 eli 15 lina 34 ivan 50 ivan 55 hana 66 lina 73 gus 94
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015345
qwen/qwen3.7-plus
awkweave-0015346
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 7 3 birch chen 14 18 juniper ivan 6 11 fable farah 17 27 amber eli 11 16 ember ivan 28 19 harbor eli 30 12 amber bruno 6 30 cobalt
lina 10 chen 32 ivan 17 farah 44 eli 27 ivan 47 eli 42 bruno 36
bruno 19 24 delta chen 15 17 fable kim 17 25 harbor dina 13 30 juniper dina 22 22 fable eli 3 4 amber lina 7 6 ember gus 1 23 delta bruno 10 20 harbor
bruno 43 chen 32 kim 42 dina 43 dina 44 eli 7 lina 13 gus 24 bruno 30
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015346-p1
Display field 1 followed by the sum of fields 2 and 3 for every row.
{print $1,$2+$3}
lina 7 3 birch chen 14 18 juniper ivan 6 11 fable farah 17 27 amber eli 11 16 ember ivan 28 19 harbor eli 30 12 amber bruno 6 30 cobalt
lina 10 chen 32 ivan 17 farah 44 eli 27 ivan 47 eli 42 bruno 36
bruno 19 24 delta chen 15 17 fable kim 17 25 harbor dina 13 30 juniper dina 22 22 fable eli 3 4 amber lina 7 6 ember gus 1 23 delta bruno 10 20 harbor
bruno 43 chen 32 kim 42 dina 43 dina 44 eli 7 lina 13 gus 24 bruno 30
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015346
qwen/qwen3.7-plus
awkweave-0015347
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
farah 28 kim 29 alice 3 ivan 18 dina 9 lina 15 eli 26 chen 11 lina 14
farah pass kim pass alice fail ivan fail dina fail lina fail eli pass chen fail lina fail
jules 3 hana 24 lina 22 lina 10 dina 13 dina 5 jules 12 lina 1
jules fail hana pass lina pass lina fail dina fail dina fail jules fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015347-p1
Output column 1 with 'pass' if column 2 is 22 or greater; otherwise, output 'fail'.
{print $1,($2>=22?"pass":"fail")}
farah 28 kim 29 alice 3 ivan 18 dina 9 lina 15 eli 26 chen 11 lina 14
farah pass kim pass alice fail ivan fail dina fail lina fail eli pass chen fail lina fail
jules 3 hana 24 lina 22 lina 10 dina 13 dina 5 jules 12 lina 1
jules fail hana pass lina pass lina fail dina fail dina fail jules fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015347
qwen/qwen3.7-plus
awkweave-0015348
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
kim juniper 50 bruno indigo 58 jules juniper 20 alice indigo 10 gus juniper 3 kim amber 95 ivan birch 51 gus ember 2 farah indigo 100 lina cobalt 99
JUNIPER INDIGO JUNIPER INDIGO JUNIPER AMBER BIRCH EMBER INDIGO COBALT
jules harbor 83 farah fable 115 dina fable 64 bruno grove 71 eli fable 101 gus juniper 106
HARBOR FABLE FABLE GROVE FABLE JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015348-p1
Transform column 2 to uppercase and display only that column.
{print toupper($2)}
kim juniper 50 bruno indigo 58 jules juniper 20 alice indigo 10 gus juniper 3 kim amber 95 ivan birch 51 gus ember 2 farah indigo 100 lina cobalt 99
JUNIPER INDIGO JUNIPER INDIGO JUNIPER AMBER BIRCH EMBER INDIGO COBALT
jules harbor 83 farah fable 115 dina fable 64 bruno grove 71 eli fable 101 gus juniper 106
HARBOR FABLE FABLE GROVE FABLE JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015348
qwen/qwen3.7-plus
awkweave-0015349
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
delta 88 juniper 6 ember 83 ember 90 cobalt 47 juniper 16 ember 33 birch 97 birch 114 harbor 103
lta nip ber ber bal nip ber rch rch rbo
grove 7 birch 7 amber 44 fable 3 delta 32 juniper 113 harbor 68 juniper 21
ove rch ber ble lta nip rbo nip
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015349-p1
Extract and print a 3-character substring from column 1, beginning at character position 3.
{print substr($1,3,3)}
delta 88 juniper 6 ember 83 ember 90 cobalt 47 juniper 16 ember 33 birch 97 birch 114 harbor 103
lta nip ber ber bal nip ber rch rch rbo
grove 7 birch 7 amber 44 fable 3 delta 32 juniper 113 harbor 68 juniper 21
ove rch ber ble lta nip rbo nip
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015349
qwen/qwen3.7-plus
awkweave-0015350
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_indigo 49 juniper_juniper 71 juniper_amber 24 birch_ember 92 amber_amber 77 delta_amber 116 ember_ember 100 juniper_birch 21 birch_fable 0 fable_harbor 84
amber indigo juniper juniper juniper amber birch ember amber amber delta amber ember ember juniper birch birch fable fable harbor
cobalt_fable 70 harbor_amber 30 cobalt_fable 99 fable_ember 68 indigo_cobalt 24 indigo_ember 25 amber_ember 84 fable_harbor 107
cobalt fable harbor amber cobalt fable fable ember indigo cobalt indigo ember amber ember fable harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015350-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
amber_indigo 49 juniper_juniper 71 juniper_amber 24 birch_ember 92 amber_amber 77 delta_amber 116 ember_ember 100 juniper_birch 21 birch_fable 0 fable_harbor 84
amber indigo juniper juniper juniper amber birch ember amber amber delta amber ember ember juniper birch birch fable fable harbor
cobalt_fable 70 harbor_amber 30 cobalt_fable 99 fable_ember 68 indigo_cobalt 24 indigo_ember 25 amber_ember 84 fable_harbor 107
cobalt fable harbor amber cobalt fable fable ember indigo cobalt indigo ember amber ember fable harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015350
qwen/qwen3.7-plus
awkweave-0015351
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus harbor 29 pending bruno grove 13 active jules amber 93 ready lina harbor 106 closed kim delta 6 ready ivan fable 20 paused
pending 29 harbor gus active 13 grove bruno ready 93 amber jules closed 106 harbor lina ready 6 delta kim paused 20 fable ivan
gus birch 29 closed hana delta 53 ready chen cobalt 83 pending farah fable 39 closed jules amber 34 ready lina harbor 69 closed kim cobalt 17 closed bruno juniper 21 paused alice ember 28 closed hana cobalt 62 pending
closed 29 birch gus ready 53 delta hana pending 83 cobalt chen closed 39 fable farah ready 34 amber jules closed 69 harbor lina closed 17 cobalt kim paused 21 juniper bruno closed 28 ember alice pending 62 cobalt hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015351-p1
Reverse the sequence of fields for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus harbor 29 pending bruno grove 13 active jules amber 93 ready lina harbor 106 closed kim delta 6 ready ivan fable 20 paused
pending 29 harbor gus active 13 grove bruno ready 93 amber jules closed 106 harbor lina ready 6 delta kim paused 20 fable ivan
gus birch 29 closed hana delta 53 ready chen cobalt 83 pending farah fable 39 closed jules amber 34 ready lina harbor 69 closed kim cobalt 17 closed bruno juniper 21 paused alice ember 28 closed hana cobalt 62 pending
closed 29 birch gus ready 53 delta hana pending 83 cobalt chen closed 39 fable farah ready 34 amber jules closed 69 harbor lina closed 17 cobalt kim paused 21 juniper bruno closed 28 ember alice pending 62 cobalt hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015351
qwen/qwen3.7-plus
awkweave-0015352
Print the number of whitespace-separated fields on each line.
{print NF}
gus juniper 20 failed eli indigo 51 paused eli birch 4 closed dina cobalt 0 ready alice cobalt 68 pending hana cobalt 108 failed chen delta 14 active
4 4 4 4 4 4 4
gus fable 116 ready farah harbor 65 pending farah birch 110 active bruno grove 118 closed eli harbor 89 paused kim ember 51 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015352-p1
Print the count of whitespace-delimited fields present on each line.
{print NF}
gus juniper 20 failed eli indigo 51 paused eli birch 4 closed dina cobalt 0 ready alice cobalt 68 pending hana cobalt 108 failed chen delta 14 active
4 4 4 4 4 4 4
gus fable 116 ready farah harbor 65 pending farah birch 110 active bruno grove 118 closed eli harbor 89 paused kim ember 51 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015352
qwen/qwen3.7-plus
awkweave-0015353
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]]}
chen beta 67 gus delta 63 bruno alpha 12 hana alpha 39 kim beta 115 hana alpha 61 eli alpha 16 farah gamma 2 hana beta 95 kim delta 63
beta 3 delta 2 alpha 4 gamma 1
alice alpha 42 gus delta 15 dina delta 29 jules alpha 16 alice gamma 47 bruno delta 87
alpha 2 delta 3 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015353-p1
Tally the number of records for each distinct value in column 2, then print each value and its corresponding count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
chen beta 67 gus delta 63 bruno alpha 12 hana alpha 39 kim beta 115 hana alpha 61 eli alpha 16 farah gamma 2 hana beta 95 kim delta 63
beta 3 delta 2 alpha 4 gamma 1
alice alpha 42 gus delta 15 dina delta 29 jules alpha 16 alice gamma 47 bruno delta 87
alpha 2 delta 3 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015353
qwen/qwen3.7-plus
awkweave-0015354
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]]}
alice alpha 28 kim alpha 12 jules delta 2 eli gamma 16 jules beta 22 alice beta 22 ivan beta 21
alpha 40 delta 2 gamma 16 beta 65
alice delta 15 ivan delta 8 lina alpha 12 alice delta 8 ivan beta 13 ivan gamma 3
delta 31 alpha 12 beta 13 gamma 3
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015354-p1
Group by column 2 and sum column 3 for each group, listing the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice alpha 28 kim alpha 12 jules delta 2 eli gamma 16 jules beta 22 alice beta 22 ivan beta 21
alpha 40 delta 2 gamma 16 beta 65
alice delta 15 ivan delta 8 lina alpha 12 alice delta 8 ivan beta 13 ivan gamma 3
delta 31 alpha 12 beta 13 gamma 3
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015354
qwen/qwen3.7-plus
awkweave-0015355
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]]}
alpha indigo 54 beta grove 66 beta fable 60 beta delta 61 beta juniper 65 alpha delta 19 delta juniper 60 delta ember 3 beta grove 106
alpha 2 beta 5 delta 2
gamma amber 84 alpha delta 28 gamma delta 76 alpha delta 106 alpha amber 44 beta amber 53 alpha birch 40 alpha cobalt 28
gamma 2 alpha 5
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015355-p1
List each value from column 1 that appears more than once along with its count, ordered by 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]]}
alpha indigo 54 beta grove 66 beta fable 60 beta delta 61 beta juniper 65 alpha delta 19 delta juniper 60 delta ember 3 beta grove 106
alpha 2 beta 5 delta 2
gamma amber 84 alpha delta 28 gamma delta 76 alpha delta 106 alpha amber 44 beta amber 53 alpha birch 40 alpha cobalt 28
gamma 2 alpha 5
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015355
qwen/qwen3.7-plus
awkweave-0015356
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id state note region r001 dina 11 closed r002 bruno 3 pending r003 jules 6 pending r004 dina 23 paused r005 jules 18 pending r006 hana 23 ready r007 bruno 30 pending r008 hana 27 pending
11 3 6 23 18 23 30 27
record_id state note region r001 ivan 21 failed r002 alice 4 paused r003 lina 19 closed r004 chen 14 active r005 dina 3 pending r006 hana 24 closed r007 farah 27 paused r008 alice 16 paused r009 farah 12 failed r010 gus 18 ready
21 4 19 14 3 24 27 16 12 18
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015356-p1
Treat the first line as a header and output the note column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id state note region r001 dina 11 closed r002 bruno 3 pending r003 jules 6 pending r004 dina 23 paused r005 jules 18 pending r006 hana 23 ready r007 bruno 30 pending r008 hana 27 pending
11 3 6 23 18 23 30 27
record_id state note region r001 ivan 21 failed r002 alice 4 paused r003 lina 19 closed r004 chen 14 active r005 dina 3 pending r006 hana 24 closed r007 farah 27 paused r008 alice 16 paused r009 farah 12 failed r010 gus 18 ready
21 4 19 14 3 24 27 16 12 18
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015356
qwen/qwen3.7-plus
awkweave-0015357
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 kim 3 paused r002 chen 13 active r003 kim 13 failed r004 dina 26 active r005 bruno 4 paused r006 eli 13 pending r007 ivan 28 paused r008 alice 6 active r009 hana 22 ready r010 ivan 10 failed
dina ivan
record_id display_name score state r001 eli 1 ready r002 gus 26 pending r003 jules 30 paused r004 kim 13 failed r005 bruno 10 active r006 alice 8 paused
gus jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015357-p1
Assuming the first row is a header, output the display_name field for data rows where the 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 kim 3 paused r002 chen 13 active r003 kim 13 failed r004 dina 26 active r005 bruno 4 paused r006 eli 13 pending r007 ivan 28 paused r008 alice 6 active r009 hana 22 ready r010 ivan 10 failed
dina ivan
record_id display_name score state r001 eli 1 ready r002 gus 26 pending r003 jules 30 paused r004 kim 13 failed r005 bruno 10 active r006 alice 8 paused
gus jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015357
qwen/qwen3.7-plus
awkweave-0015358
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
jules 14 active chen 9 closed farah 3 ready ivan 15 closed hana 15 closed gus 26 active dina 20 failed farah 8 pending
jules chen farah ivan hana gus dina farah
bruno 10 ready alice 17 failed eli 3 pending jules 15 failed hana 20 pending dina 14 ready
bruno alice eli jules hana dina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015358-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
jules 14 active chen 9 closed farah 3 ready ivan 15 closed hana 15 closed gus 26 active dina 20 failed farah 8 pending
jules chen farah ivan hana gus dina farah
bruno 10 ready alice 17 failed eli 3 pending jules 15 failed hana 20 pending dina 14 ready
bruno alice eli jules hana dina
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015358
qwen/qwen3.7-plus
awkweave-0015359
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}
ivan,15,pending dina,7,pending chen,2,failed ivan,30,ready eli,4,ready alice,18,pending farah,23,failed jules,2,closed
ivan ivan alice farah
eli,12,active jules,15,active kim,25,active eli,7,pending farah,8,paused jules,30,pending jules,5,failed bruno,20,active ivan,10,active
jules kim jules bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015359-p1
For simple comma-separated data without quoted commas, print the first column if the second column is greater than 12.
BEGIN{FS=OFS=","}$2>12{print $1}
ivan,15,pending dina,7,pending chen,2,failed ivan,30,ready eli,4,ready alice,18,pending farah,23,failed jules,2,closed
ivan ivan alice farah
eli,12,active jules,15,active kim,25,active eli,7,pending farah,8,paused jules,30,pending jules,5,failed bruno,20,active ivan,10,active
jules kim jules bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015359
qwen/qwen3.7-plus
awkweave-0015360
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah harbor 18 lina amber 69 kim birch 63 ivan delta 21 farah cobalt 56 ivan cobalt 68 hana cobalt 63 lina grove 52 alice fable 38 bruno amber 77
farah harbor 18 lina amber 69 kim birch 63 ivan delta 21 farah cobalt 56 ivan cobalt 68 hana cobalt 63 lina grove 52 alice fable 38 bruno amber 77
hana cobalt 65 kim birch 41 jules fable 14 ivan fable 42 chen cobalt 104 jules cobalt 61
hana cobalt 65 kim birch 41 jules fable 14 ivan fable 42 chen cobalt 104 jules cobalt 61
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015360-p1
Remove leading and trailing whitespace and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
farah harbor 18 lina amber 69 kim birch 63 ivan delta 21 farah cobalt 56 ivan cobalt 68 hana cobalt 63 lina grove 52 alice fable 38 bruno amber 77
farah harbor 18 lina amber 69 kim birch 63 ivan delta 21 farah cobalt 56 ivan cobalt 68 hana cobalt 63 lina grove 52 alice fable 38 bruno amber 77
hana cobalt 65 kim birch 41 jules fable 14 ivan fable 42 chen cobalt 104 jules cobalt 61
hana cobalt 65 kim birch 41 jules fable 14 ivan fable 42 chen cobalt 104 jules cobalt 61
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015360
qwen/qwen3.7-plus
awkweave-0015361
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus juniper 70 ready chen juniper 106 closed lina fable 23 active lina grove 84 ready chen amber 114 ready eli grove 8 ready bruno harbor 58 active gus juniper 101 paused
chen juniper 106 closed
dina juniper 41 active kim cobalt 105 paused dina ember 94 closed eli juniper 33 ready jules ember 109 pending bruno delta 94 pending farah cobalt 89 ready
jules ember 109 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015361-p1
Output the longest line from the input; if multiple lines share the maximum length, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
gus juniper 70 ready chen juniper 106 closed lina fable 23 active lina grove 84 ready chen amber 114 ready eli grove 8 ready bruno harbor 58 active gus juniper 101 paused
chen juniper 106 closed
dina juniper 41 active kim cobalt 105 paused dina ember 94 closed eli juniper 33 ready jules ember 109 pending bruno delta 94 pending farah cobalt 89 ready
jules ember 109 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015361
qwen/qwen3.7-plus
awkweave-0015362
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
alice 52 ivan 110 ivan 43 eli 111 chen 88 farah 72 chen 35 ivan 12 hana 64 dina 72
alice 52 ivan 43 chen 88 chen 35 hana 64
alice 15 dina 21 chen 53 bruno 65 hana 13 eli 28 kim 4 dina 84
alice 15 chen 53 hana 13 kim 4
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015362-p1
Print every other line starting from the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
alice 52 ivan 110 ivan 43 eli 111 chen 88 farah 72 chen 35 ivan 12 hana 64 dina 72
alice 52 ivan 43 chen 88 chen 35 hana 64
alice 15 dina 21 chen 53 bruno 65 hana 13 eli 28 kim 4 dina 84
alice 15 chen 53 hana 13 kim 4
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015362
qwen/qwen3.7-plus
awkweave-0015363
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha harbor 43 delta indigo 38 beta cobalt 54 delta delta 93 delta amber 36 gamma ember 31 delta birch 51 alpha ember 116 delta harbor 101 alpha juniper 102
8
beta birch 105 alpha fable 110 delta amber 112 gamma grove 101 delta ember 108 alpha birch 108 alpha fable 65 beta grove 58
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015363-p1
Calculate and print only the total number of unique values found in column 2.
{if(!seen[$2]++)n++}END{print n+0}
alpha harbor 43 delta indigo 38 beta cobalt 54 delta delta 93 delta amber 36 gamma ember 31 delta birch 51 alpha ember 116 delta harbor 101 alpha juniper 102
8
beta birch 105 alpha fable 110 delta amber 112 gamma grove 101 delta ember 108 alpha birch 108 alpha fable 65 beta grove 58
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015363
qwen/qwen3.7-plus
awkweave-0015364
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 23 0 eli 11 27 bruno 21 17 hana 15 1 gus 15 2 kim 14 28 gus 11 25
eli 0.41 bruno 1.24 hana 15.00 gus 7.50 kim 0.50 gus 0.44
gus 6 0 gus 24 19 eli 26 4 lina 9 4 bruno 2 5 eli 3 14 eli 19 9 hana 10 21 farah 1 9
gus 1.26 eli 6.50 lina 2.25 bruno 0.40 eli 0.21 eli 2.11 hana 0.48 farah 0.11
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015364-p1
For each row where column 3 is not zero, print 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}
dina 23 0 eli 11 27 bruno 21 17 hana 15 1 gus 15 2 kim 14 28 gus 11 25
eli 0.41 bruno 1.24 hana 15.00 gus 7.50 kim 0.50 gus 0.44
gus 6 0 gus 24 19 eli 26 4 lina 9 4 bruno 2 5 eli 3 14 eli 19 9 hana 10 21 farah 1 9
gus 1.26 eli 6.50 lina 2.25 bruno 0.40 eli 0.21 eli 2.11 hana 0.48 farah 0.11
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015364
qwen/qwen3.7-plus
awkweave-0015365
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno birch 2 kim harbor 8 kim cobalt 19 bruno birch 10 dina harbor 21 ivan grove 29 farah delta 18
ivan grove 29 dina harbor 21 kim cobalt 19
lina amber 1 dina cobalt 13 gus grove 13 kim fable 20 kim cobalt 14 hana ember 25 bruno fable 5 eli indigo 20 gus fable 28
gus fable 28 hana ember 25 kim fable 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015365-p1
Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain original input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno birch 2 kim harbor 8 kim cobalt 19 bruno birch 10 dina harbor 21 ivan grove 29 farah delta 18
ivan grove 29 dina harbor 21 kim cobalt 19
lina amber 1 dina cobalt 13 gus grove 13 kim fable 20 kim cobalt 14 hana ember 25 bruno fable 5 eli indigo 20 gus fable 28
gus fable 28 hana ember 25 kim fable 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015365
qwen/qwen3.7-plus
awkweave-0015366
For each line, output fields 4 and 2, in that order.
{print $4, $2}
chen 56 ready grove cobalt jules 70 ready indigo grove lina 52 pending juniper harbor bruno 66 closed grove juniper hana 23 failed harbor cobalt bruno 14 failed indigo birch bruno 114 pending juniper fable bruno 111 closed fable harbor
grove 56 indigo 70 juniper 52 grove 66 harbor 23 indigo 14 juniper 114 fable 111
eli 72 failed harbor grove gus 117 failed birch ember farah 82 failed indigo ember ivan 66 active birch delta eli 119 failed grove indigo dina 60 ready indigo grove kim 106 failed grove juniper farah 51 ready juniper delta jules 63 closed juniper grove
harbor 72 birch 117 indigo 82 birch 66 grove 119 indigo 60 grove 106 juniper 51 juniper 63
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015366-p1
Extract and display the fourth and second fields from each line, maintaining that sequence.
{print $4, $2}
chen 56 ready grove cobalt jules 70 ready indigo grove lina 52 pending juniper harbor bruno 66 closed grove juniper hana 23 failed harbor cobalt bruno 14 failed indigo birch bruno 114 pending juniper fable bruno 111 closed fable harbor
grove 56 indigo 70 juniper 52 grove 66 harbor 23 indigo 14 juniper 114 fable 111
eli 72 failed harbor grove gus 117 failed birch ember farah 82 failed indigo ember ivan 66 active birch delta eli 119 failed grove indigo dina 60 ready indigo grove kim 106 failed grove juniper farah 51 ready juniper delta jules 63 closed juniper grove
harbor 72 birch 117 indigo 82 birch 66 grove 119 indigo 60 grove 106 juniper 51 juniper 63
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015366
qwen/qwen3.7-plus
awkweave-0015367
Print the last field of every input line.
{print $NF}
65 ember alice active cobalt ready closed 27 indigo alice ready harbor paused paused 33 amber dina failed birch failed pending 44 birch bruno paused amber pending paused 39 ember gus ready juniper closed paused 74 juniper farah paused birch paused ready 92 juniper gus failed ember ready ready 51 ember bruno failed delt...
closed paused pending paused paused ready ready active
56 harbor ivan active delta paused active 69 amber bruno paused harbor failed ready 116 fable bruno failed grove ready pending 13 delta alice failed fable paused closed 83 harbor dina pending fable failed paused 67 ember hana paused amber paused pending 8 cobalt dina pending birch failed failed 37 indigo chen ready jun...
active ready pending closed paused pending failed pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015367-p1
Output the final field found on every input line.
{print $NF}
65 ember alice active cobalt ready closed 27 indigo alice ready harbor paused paused 33 amber dina failed birch failed pending 44 birch bruno paused amber pending paused 39 ember gus ready juniper closed paused 74 juniper farah paused birch paused ready 92 juniper gus failed ember ready ready 51 ember bruno failed delt...
closed paused pending paused paused ready ready active
56 harbor ivan active delta paused active 69 amber bruno paused harbor failed ready 116 fable bruno failed grove ready pending 13 delta alice failed fable paused closed 83 harbor dina pending fable failed paused 67 ember hana paused amber paused pending 8 cobalt dina pending birch failed failed 37 indigo chen ready jun...
active ready pending closed paused pending failed pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015367
qwen/qwen3.7-plus
awkweave-0015368
Print the complete records where column 1 is less than 43.
$1 < 43
94 closed cobalt pending 90 paused birch closed 118 active grove closed 20 failed harbor failed 38 closed cobalt active 41 pending juniper pending
20 failed harbor failed 38 closed cobalt active 41 pending juniper pending
62 closed cobalt paused 15 paused ember closed 114 active harbor active 107 ready amber paused 57 pending indigo paused 28 pending grove active 120 closed ember closed 69 paused delta closed 78 closed birch pending
15 paused ember closed 28 pending grove active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015368-p1
Display full records where the value in the first column is strictly less than 43.
$1 < 43
94 closed cobalt pending 90 paused birch closed 118 active grove closed 20 failed harbor failed 38 closed cobalt active 41 pending juniper pending
20 failed harbor failed 38 closed cobalt active 41 pending juniper pending
62 closed cobalt paused 15 paused ember closed 114 active harbor active 107 ready amber paused 57 pending indigo paused 28 pending grove active 120 closed ember closed 69 paused delta closed 78 closed birch pending
15 paused ember closed 28 pending grove active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015368
qwen/qwen3.7-plus
awkweave-0015369
Show whole lines whose 2nd field is between 12 and 23, inclusive.
$2 >= 12 && $2 <= 23
fable 26 fable amber grove 12 cobalt juniper fable 28 harbor grove juniper 1 ember juniper birch 16 birch fable delta 19 cobalt ember harbor 14 birch juniper juniper 15 birch grove
grove 12 cobalt juniper birch 16 birch fable delta 19 cobalt ember harbor 14 birch juniper juniper 15 birch grove
fable 11 harbor ember grove 18 birch grove amber 28 indigo cobalt birch 26 delta ember cobalt 18 delta amber delta 30 birch ember
grove 18 birch grove cobalt 18 delta amber
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015369-p1
Show entire lines where the second field falls within the inclusive range of 12 to 23.
$2 >= 12 && $2 <= 23
fable 26 fable amber grove 12 cobalt juniper fable 28 harbor grove juniper 1 ember juniper birch 16 birch fable delta 19 cobalt ember harbor 14 birch juniper juniper 15 birch grove
grove 12 cobalt juniper birch 16 birch fable delta 19 cobalt ember harbor 14 birch juniper juniper 15 birch grove
fable 11 harbor ember grove 18 birch grove amber 28 indigo cobalt birch 26 delta ember cobalt 18 delta amber delta 30 birch ember
grove 18 birch grove cobalt 18 delta amber
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015369
qwen/qwen3.7-plus
awkweave-0015370
Print column 1 only for rows where column 3 is exactly ready.
$3 == "ready"{print $1}
kim grove active 34 chen indigo closed 9 lina indigo pending 94 farah harbor paused 46 farah indigo ready 80 eli grove ready 59 gus delta closed 73
farah eli
eli cobalt ready 19 kim amber paused 92 ivan cobalt pending 63 ivan cobalt failed 99 alice grove failed 84 farah birch active 14 ivan birch ready 57
eli ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015370-p1
Output only the first column for rows where the third column matches the string ready exactly.
$3 == "ready"{print $1}
kim grove active 34 chen indigo closed 9 lina indigo pending 94 farah harbor paused 46 farah indigo ready 80 eli grove ready 59 gus delta closed 73
farah eli
eli cobalt ready 19 kim amber paused 92 ivan cobalt pending 63 ivan cobalt failed 99 alice grove failed 84 farah birch active 14 ivan birch ready 57
eli ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015370
qwen/qwen3.7-plus
awkweave-0015371
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
WARN indigo 95 INFO indigo 33 ERROR birch 77 INFO cobalt 63 ERROR harbor 51 WARN birch 108 ERROR fable 69 DEBUG grove 59 WARN delta 65
ERROR birch 77 ERROR harbor 51 ERROR fable 69
INFO juniper 120 WARN fable 120 ERROR harbor 116 WARN harbor 101 WARN amber 92 WARN indigo 81 WARN delta 16 ERROR cobalt 68 ERROR birch 20 ERROR delta 22
ERROR harbor 116 ERROR cobalt 68 ERROR birch 20 ERROR delta 22
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015371-p1
Print all fields for any line where the first field starts with the prefix ERROR.
$1 ~ /^ERROR/
WARN indigo 95 INFO indigo 33 ERROR birch 77 INFO cobalt 63 ERROR harbor 51 WARN birch 108 ERROR fable 69 DEBUG grove 59 WARN delta 65
ERROR birch 77 ERROR harbor 51 ERROR fable 69
INFO juniper 120 WARN fable 120 ERROR harbor 116 WARN harbor 101 WARN amber 92 WARN indigo 81 WARN delta 16 ERROR cobalt 68 ERROR birch 20 ERROR delta 22
ERROR harbor 116 ERROR cobalt 68 ERROR birch 20 ERROR delta 22
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015371
qwen/qwen3.7-plus
awkweave-0015372
Print every line except those containing the exact text ember.
$0 !~ /ember/
delta 77 paused juniper 41 closed delta 111 ready grove 82 closed ember 111 active fable 103 active ember 58 active ember 77 ready ember 999 active
delta 77 paused juniper 41 closed delta 111 ready grove 82 closed fable 103 active
fable 73 failed indigo 118 paused cobalt 61 ready indigo 70 failed cobalt 72 closed indigo 94 closed ember 88 paused ember 999 active
fable 73 failed indigo 118 paused cobalt 61 ready indigo 70 failed cobalt 72 closed indigo 94 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015372-p1
Output every line that does not contain the exact substring ember.
$0 !~ /ember/
delta 77 paused juniper 41 closed delta 111 ready grove 82 closed ember 111 active fable 103 active ember 58 active ember 77 ready ember 999 active
delta 77 paused juniper 41 closed delta 111 ready grove 82 closed fable 103 active
fable 73 failed indigo 118 paused cobalt 61 ready indigo 70 failed cobalt 72 closed indigo 94 closed ember 88 paused ember 999 active
fable 73 failed indigo 118 paused cobalt 61 ready indigo 70 failed cobalt 72 closed indigo 94 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015372
qwen/qwen3.7-plus
awkweave-0015373
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
ivan harbor 43 lina grove 61 alice cobalt 98 ivan birch 51 farah indigo 66 ivan ember 87 eli juniper 39 eli fable 14 eli grove 95 ivan amber 25
ivan birch 51 farah indigo 66 ivan ember 87 eli juniper 39
kim indigo 87 bruno ember 28 jules amber 82 jules juniper 102 gus fable 29 hana delta 1 gus indigo 12 gus juniper 92 alice ember 102
jules juniper 102 gus fable 29 hana delta 1 gus indigo 12
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015373-p1
Display lines 4 through 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
ivan harbor 43 lina grove 61 alice cobalt 98 ivan birch 51 farah indigo 66 ivan ember 87 eli juniper 39 eli fable 14 eli grove 95 ivan amber 25
ivan birch 51 farah indigo 66 ivan ember 87 eli juniper 39
kim indigo 87 bruno ember 28 jules amber 82 jules juniper 102 gus fable 29 hana delta 1 gus indigo 12 gus juniper 92 alice ember 102
jules juniper 102 gus fable 29 hana delta 1 gus indigo 12
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015373
qwen/qwen3.7-plus
awkweave-0015374
Output only the first 2 records.
NR <= 2
jules 45 juniper kim 110 cobalt bruno 107 cobalt lina 112 grove bruno 76 delta kim 78 grove kim 70 delta dina 63 cobalt gus 53 ember
jules 45 juniper kim 110 cobalt
farah 64 fable eli 72 amber chen 48 indigo bruno 12 amber lina 80 amber bruno 51 delta hana 54 ember
farah 64 fable eli 72 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015374-p1
Output only the initial 2 records from the input.
NR <= 2
jules 45 juniper kim 110 cobalt bruno 107 cobalt lina 112 grove bruno 76 delta kim 78 grove kim 70 delta dina 63 cobalt gus 53 ember
jules 45 juniper kim 110 cobalt
farah 64 fable eli 72 amber chen 48 indigo bruno 12 amber lina 80 amber bruno 51 delta hana 54 ember
farah 64 fable eli 72 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015374
qwen/qwen3.7-plus
awkweave-0015375
Skip the first line and print every remaining line unchanged.
NR > 1
farah 67 indigo hana 69 ember jules 32 delta jules 21 ember bruno 11 juniper lina 75 grove
hana 69 ember jules 32 delta jules 21 ember bruno 11 juniper lina 75 grove
eli 3 juniper eli 71 juniper kim 17 indigo jules 68 indigo bruno 98 indigo dina 25 amber bruno 23 juniper kim 69 delta hana 76 amber hana 1 fable
eli 71 juniper kim 17 indigo jules 68 indigo bruno 98 indigo dina 25 amber bruno 23 juniper kim 69 delta hana 76 amber hana 1 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015375-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
farah 67 indigo hana 69 ember jules 32 delta jules 21 ember bruno 11 juniper lina 75 grove
hana 69 ember jules 32 delta jules 21 ember bruno 11 juniper lina 75 grove
eli 3 juniper eli 71 juniper kim 17 indigo jules 68 indigo bruno 98 indigo dina 25 amber bruno 23 juniper kim 69 delta hana 76 amber hana 1 fable
eli 71 juniper kim 17 indigo jules 68 indigo bruno 98 indigo dina 25 amber bruno 23 juniper kim 69 delta hana 76 amber hana 1 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015375
qwen/qwen3.7-plus
awkweave-0015376
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
lina active 58 alice closed 68 alice active 84 jules paused 113 bruno active 41 farah closed 24 ivan ready 23
0
dina active 112 kim paused 116 bruno active 18 chen active 67 eli active 114 bruno paused 118 jules closed 1
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015376-p1
Count the number of records containing pending in the second column, outputting 0 if the count is zero.
$2 == "pending"{n++}END{print n+0}
lina active 58 alice closed 68 alice active 84 jules paused 113 bruno active 41 farah closed 24 ivan ready 23
0
dina active 112 kim paused 116 bruno active 18 chen active 67 eli active 114 bruno paused 118 jules closed 1
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015376
qwen/qwen3.7-plus
awkweave-0015377
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
indigo 9 jules harbor 30 farah grove 16 hana grove 24 lina amber 16 jules fable 17 ivan harbor 25 alice cobalt 21 jules
158
harbor 20 kim grove 14 ivan ember 27 lina harbor 25 eli fable 15 alice grove 8 bruno ember 10 hana amber 6 lina indigo 15 bruno
140
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015377-p1
Compute and print the total sum of integer values located in the second column.
{s+=$2}END{print s+0}
indigo 9 jules harbor 30 farah grove 16 hana grove 24 lina amber 16 jules fable 17 ivan harbor 25 alice cobalt 21 jules
158
harbor 20 kim grove 14 ivan ember 27 lina harbor 25 eli fable 15 alice grove 8 bruno ember 10 hana amber 6 lina indigo 15 bruno
140
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015377
qwen/qwen3.7-plus
awkweave-0015378
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
4 cobalt bruno 8 amber dina 25 amber hana 19 juniper dina 19 grove hana 12 birch gus 8 cobalt gus
13.57
27 juniper alice 11 delta kim 29 ember farah 9 juniper kim 30 amber ivan 6 indigo jules 10 grove kim 30 delta jules
19.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015378-p1
Output the average of the values in column 1, formatted to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
4 cobalt bruno 8 amber dina 25 amber hana 19 juniper dina 19 grove hana 12 birch gus 8 cobalt gus
13.57
27 juniper alice 11 delta kim 29 ember farah 9 juniper kim 30 amber ivan 6 indigo jules 10 grove kim 30 delta jules
19.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015378
qwen/qwen3.7-plus
awkweave-0015379
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable farah 27 amber eli 12 ember hana 25 harbor eli 10 grove bruno 2 harbor kim 26 amber lina 28
2
amber farah 15 harbor gus 9 juniper farah 29 birch jules 18 delta bruno 12 amber bruno 14
9
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0015379-p1
Identify and display the minimum number found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable farah 27 amber eli 12 ember hana 25 harbor eli 10 grove bruno 2 harbor kim 26 amber lina 28
2
amber farah 15 harbor gus 9 juniper farah 29 birch jules 18 delta bruno 12 amber bruno 14
9
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0015379
qwen/qwen3.7-plus
awkweave-0015380
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
alice 2 harbor gus 21 amber eli 29 fable dina 18 amber bruno 5 harbor dina 30 amber
30
chen 28 fable eli 24 birch ivan 5 delta alice 10 cobalt gus 22 delta dina 29 birch farah 26 grove jules 8 amber ivan 19 harbor farah 9 harbor
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null