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-0033271-p1
Print only the third column for rows where the second column contains the exact value 'closed'.
$2 == "closed"{print $3}
fable paused ivan 55 ember closed kim 83 amber ready jules 39 birch ready gus 100 fable active bruno 45 indigo active gus 40 harbor paused eli 106 indigo paused dina 76 cobalt ready ivan 35
kim
juniper pending lina 65 birch active bruno 97 delta active alice 32 amber ready eli 43 cobalt closed farah 74 indigo active bruno 98 indigo ready lina 39
farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033271
qwen/qwen3.7-plus
awkweave-0033272
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
ERROR delta 61 INFO indigo 19 INFO indigo 120 ERROR indigo 103 INFO ember 73 ERROR delta 119 WARN amber 105 ERROR indigo 119 WARN juniper 26
WARN amber 105 WARN juniper 26
INFO cobalt 105 DEBUG cobalt 120 ERROR juniper 76 WARN birch 118 WARN grove 120 ERROR harbor 96 DEBUG ember 76 ERROR juniper 8 DEBUG juniper 103
WARN birch 118 WARN grove 120
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033272-p1
Output the entire line for any record where the first field starts with WARN.
$1 ~ /^WARN/
ERROR delta 61 INFO indigo 19 INFO indigo 120 ERROR indigo 103 INFO ember 73 ERROR delta 119 WARN amber 105 ERROR indigo 119 WARN juniper 26
WARN amber 105 WARN juniper 26
INFO cobalt 105 DEBUG cobalt 120 ERROR juniper 76 WARN birch 118 WARN grove 120 ERROR harbor 96 DEBUG ember 76 ERROR juniper 8 DEBUG juniper 103
WARN birch 118 WARN grove 120
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033272
qwen/qwen3.7-plus
awkweave-0033273
Print every line except those containing the exact text delta.
$0 !~ /delta/
birch 70 failed cobalt 69 active delta 116 pending fable 101 active amber 117 paused ember 90 active delta 999 active
birch 70 failed cobalt 69 active fable 101 active amber 117 paused ember 90 active
cobalt 67 closed delta 109 failed amber 9 ready juniper 58 ready indigo 31 failed indigo 79 ready amber 85 failed birch 114 pending delta 31 pending delta 999 active
cobalt 67 closed amber 9 ready juniper 58 ready indigo 31 failed indigo 79 ready amber 85 failed birch 114 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033273-p1
Display all lines that do not contain the exact string delta.
$0 !~ /delta/
birch 70 failed cobalt 69 active delta 116 pending fable 101 active amber 117 paused ember 90 active delta 999 active
birch 70 failed cobalt 69 active fable 101 active amber 117 paused ember 90 active
cobalt 67 closed delta 109 failed amber 9 ready juniper 58 ready indigo 31 failed indigo 79 ready amber 85 failed birch 114 pending delta 31 pending delta 999 active
cobalt 67 closed amber 9 ready juniper 58 ready indigo 31 failed indigo 79 ready amber 85 failed birch 114 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033273
qwen/qwen3.7-plus
awkweave-0033274
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
ivan indigo 102 chen indigo 89 dina indigo 40 jules indigo 114 jules cobalt 98 dina grove 28
chen indigo 89 dina indigo 40 jules indigo 114 jules cobalt 98
eli amber 42 lina cobalt 18 gus amber 83 eli harbor 3 chen harbor 33 hana harbor 5 chen grove 82
lina cobalt 18 gus amber 83 eli harbor 3 chen harbor 33
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033274-p1
Print lines 2 to 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
ivan indigo 102 chen indigo 89 dina indigo 40 jules indigo 114 jules cobalt 98 dina grove 28
chen indigo 89 dina indigo 40 jules indigo 114 jules cobalt 98
eli amber 42 lina cobalt 18 gus amber 83 eli harbor 3 chen harbor 33 hana harbor 5 chen grove 82
lina cobalt 18 gus amber 83 eli harbor 3 chen harbor 33
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033274
qwen/qwen3.7-plus
awkweave-0033275
Output only the first 3 records.
NR <= 3
eli 35 birch gus 81 birch gus 79 fable jules 86 ember jules 71 juniper gus 107 ember
eli 35 birch gus 81 birch gus 79 fable
kim 115 juniper kim 90 amber dina 5 grove dina 102 juniper lina 17 delta chen 100 juniper dina 50 ember bruno 56 ember hana 87 grove
kim 115 juniper kim 90 amber dina 5 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033275-p1
Show only the first 3 records from the input.
NR <= 3
eli 35 birch gus 81 birch gus 79 fable jules 86 ember jules 71 juniper gus 107 ember
eli 35 birch gus 81 birch gus 79 fable
kim 115 juniper kim 90 amber dina 5 grove dina 102 juniper lina 17 delta chen 100 juniper dina 50 ember bruno 56 ember hana 87 grove
kim 115 juniper kim 90 amber dina 5 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033275
qwen/qwen3.7-plus
awkweave-0033276
Skip the first line and print every remaining line unchanged.
NR > 1
farah 45 delta bruno 4 amber alice 109 amber ivan 49 delta gus 19 juniper bruno 98 delta ivan 107 ember bruno 101 delta
bruno 4 amber alice 109 amber ivan 49 delta gus 19 juniper bruno 98 delta ivan 107 ember bruno 101 delta
dina 62 indigo bruno 15 indigo chen 3 birch lina 95 amber ivan 40 juniper bruno 49 amber gus 76 ember
bruno 15 indigo chen 3 birch lina 95 amber ivan 40 juniper bruno 49 amber gus 76 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033276-p1
Omit the header line and output the rest of the lines as they are.
NR > 1
farah 45 delta bruno 4 amber alice 109 amber ivan 49 delta gus 19 juniper bruno 98 delta ivan 107 ember bruno 101 delta
bruno 4 amber alice 109 amber ivan 49 delta gus 19 juniper bruno 98 delta ivan 107 ember bruno 101 delta
dina 62 indigo bruno 15 indigo chen 3 birch lina 95 amber ivan 40 juniper bruno 49 amber gus 76 ember
bruno 15 indigo chen 3 birch lina 95 amber ivan 40 juniper bruno 49 amber gus 76 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033276
qwen/qwen3.7-plus
awkweave-0033277
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
farah ready 27 alice failed 78 farah paused 58 jules active 108 eli active 116 kim failed 28 bruno active 55
3
eli pending 36 eli active 20 farah failed 69 farah paused 65 farah paused 116 chen pending 53
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033277-p1
Count the number of records with active in the second column; output 0 if the count is zero.
$2 == "active"{n++}END{print n+0}
farah ready 27 alice failed 78 farah paused 58 jules active 108 eli active 116 kim failed 28 bruno active 55
3
eli pending 36 eli active 20 farah failed 69 farah paused 65 farah paused 116 chen pending 53
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033277
qwen/qwen3.7-plus
awkweave-0033278
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
ember gus 27 delta chen 5 amber hana 19 indigo jules 15 delta eli 8 grove farah 14 indigo hana 4
92
indigo dina 18 fable jules 30 indigo jules 22 ember chen 4 birch kim 9 birch farah 14
97
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033278-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
ember gus 27 delta chen 5 amber hana 19 indigo jules 15 delta eli 8 grove farah 14 indigo hana 4
92
indigo dina 18 fable jules 30 indigo jules 22 ember chen 4 birch kim 9 birch farah 14
97
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033278
qwen/qwen3.7-plus
awkweave-0033279
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
23 indigo ivan 24 grove alice 17 ember eli 4 juniper kim 26 cobalt alice 22 delta gus 10 delta bruno 18 amber hana 8 ember chen 9 ember bruno
16.10
17 delta farah 19 amber lina 29 grove eli 24 juniper bruno 20 delta alice 8 harbor lina 12 indigo eli 27 fable alice 6 birch alice
18.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033279-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}
23 indigo ivan 24 grove alice 17 ember eli 4 juniper kim 26 cobalt alice 22 delta gus 10 delta bruno 18 amber hana 8 ember chen 9 ember bruno
16.10
17 delta farah 19 amber lina 29 grove eli 24 juniper bruno 20 delta alice 8 harbor lina 12 indigo eli 27 fable alice 6 birch alice
18.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033279
qwen/qwen3.7-plus
awkweave-0033280
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt gus 7 fable eli 25 juniper dina 19 ember lina 17 harbor eli 2 delta chen 26 delta jules 8
2
grove ivan 8 indigo alice 14 harbor jules 13 cobalt gus 23 grove jules 19 harbor eli 17 cobalt bruno 28 indigo hana 20 juniper hana 30 birch jules 6
6
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033280-p1
Identify and output the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt gus 7 fable eli 25 juniper dina 19 ember lina 17 harbor eli 2 delta chen 26 delta jules 8
2
grove ivan 8 indigo alice 14 harbor jules 13 cobalt gus 23 grove jules 19 harbor eli 17 cobalt bruno 28 indigo hana 20 juniper hana 30 birch jules 6
6
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033280
qwen/qwen3.7-plus
awkweave-0033281
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
alice ember 28 bruno birch 25 gus birch 12 lina indigo 30 gus juniper 23 eli grove 8 ivan indigo 25
30
farah ember 11 bruno harbor 9 chen ember 8 farah delta 12 gus cobalt 20 chen cobalt 26 dina fable 21 kim indigo 13 farah delta 23
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033281-p1
Identify and output the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
alice ember 28 bruno birch 25 gus birch 12 lina indigo 30 gus juniper 23 eli grove 8 ivan indigo 25
30
farah ember 11 bruno harbor 9 chen ember 8 farah delta 12 gus cobalt 20 chen cobalt 26 dina fable 21 kim indigo 13 farah delta 23
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033281
qwen/qwen3.7-plus
awkweave-0033282
Count all input records and print the total.
END{print NR}
kim 101 lina 51 gus 108 jules 30 kim 57 bruno 65 kim 62 chen 41
8
chen 39 gus 98 farah 8 gus 57 gus 93 kim 18 eli 98
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033282-p1
Count the total number of input records and print the result.
END{print NR}
kim 101 lina 51 gus 108 jules 30 kim 57 bruno 65 kim 62 chen 41
8
chen 39 gus 98 farah 8 gus 57 gus 93 kim 18 eli 98
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033282
qwen/qwen3.7-plus
awkweave-0033283
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah indigo 21 hana cobalt 9 bruno amber 24 bruno harbor 69 eli fable 65 lina grove 63 lina grove 63 dina cobalt 45 kim harbor 67 bruno harbor 56
farah indigo 21 hana cobalt 9 bruno amber 24 bruno harbor 69 eli fable 65 lina grove 63 dina cobalt 45 kim harbor 67 bruno harbor 56
ivan delta 76 alice ember 68 dina grove 71 jules juniper 97 ivan delta 76 bruno delta 51 farah fable 41 hana cobalt 29
ivan delta 76 alice ember 68 dina grove 71 jules juniper 97 bruno delta 51 farah fable 41 hana cobalt 29
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033283-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
farah indigo 21 hana cobalt 9 bruno amber 24 bruno harbor 69 eli fable 65 lina grove 63 lina grove 63 dina cobalt 45 kim harbor 67 bruno harbor 56
farah indigo 21 hana cobalt 9 bruno amber 24 bruno harbor 69 eli fable 65 lina grove 63 dina cobalt 45 kim harbor 67 bruno harbor 56
ivan delta 76 alice ember 68 dina grove 71 jules juniper 97 ivan delta 76 bruno delta 51 farah fable 41 hana cobalt 29
ivan delta 76 alice ember 68 dina grove 71 jules juniper 97 bruno delta 51 farah fable 41 hana cobalt 29
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033283
qwen/qwen3.7-plus
awkweave-0033284
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
hana ember 11 eli amber 78 gus ember 95 chen amber 23 hana fable 103 alice birch 22 ivan indigo 90 kim grove 34 alice cobalt 78
hana ember 11 eli amber 78 gus ember 95 chen amber 23 hana fable 103 alice birch 22 ivan indigo 90 kim grove 34
dina juniper 76 alice ember 82 alice grove 5 alice indigo 102 jules amber 43 jules juniper 114 gus harbor 25 jules ember 61
dina juniper 76 alice ember 82 alice grove 5 alice indigo 102 jules amber 43 jules juniper 114 gus harbor 25 jules ember 61
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033284-p1
Retain only the first occurrence of each unique value in column 3, maintaining the original input order.
!seen[$3]++
hana ember 11 eli amber 78 gus ember 95 chen amber 23 hana fable 103 alice birch 22 ivan indigo 90 kim grove 34 alice cobalt 78
hana ember 11 eli amber 78 gus ember 95 chen amber 23 hana fable 103 alice birch 22 ivan indigo 90 kim grove 34
dina juniper 76 alice ember 82 alice grove 5 alice indigo 102 jules amber 43 jules juniper 114 gus harbor 25 jules ember 61
dina juniper 76 alice ember 82 alice grove 5 alice indigo 102 jules amber 43 jules juniper 114 gus harbor 25 jules ember 61
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033284
qwen/qwen3.7-plus
awkweave-0033285
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 19 amber kim 19 birch gus 17 juniper farah 11 indigo chen 18 delta lina 1 fable
chen 19 kim 38 gus 55 farah 66 chen 84 lina 85
chen 29 juniper hana 2 harbor eli 29 amber alice 2 ember dina 4 ember chen 30 amber kim 29 birch dina 28 harbor alice 27 grove farah 10 ember
chen 29 hana 31 eli 60 alice 62 dina 66 chen 96 kim 125 dina 153 alice 180 farah 190
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033285-p1
Output column 1 and the cumulative sum of column 2 for each record, separated by a space.
{s+=$2;print $1,s}
chen 19 amber kim 19 birch gus 17 juniper farah 11 indigo chen 18 delta lina 1 fable
chen 19 kim 38 gus 55 farah 66 chen 84 lina 85
chen 29 juniper hana 2 harbor eli 29 amber alice 2 ember dina 4 ember chen 30 amber kim 29 birch dina 28 harbor alice 27 grove farah 10 ember
chen 29 hana 31 eli 60 alice 62 dina 66 chen 96 kim 125 dina 153 alice 180 farah 190
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033285
qwen/qwen3.7-plus
awkweave-0033286
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 15 17 delta bruno 9 26 juniper farah 17 23 birch jules 23 20 birch farah 15 29 fable alice 9 24 ember alice 19 23 harbor bruno 12 29 ember jules 26 3 juniper
alice 32 bruno 35 farah 40 jules 43 farah 44 alice 33 alice 42 bruno 41 jules 29
lina 4 26 harbor lina 14 20 birch eli 3 30 harbor dina 16 13 juniper gus 29 26 fable jules 28 13 birch
lina 30 lina 34 eli 33 dina 29 gus 55 jules 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033286-p1
For every row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 15 17 delta bruno 9 26 juniper farah 17 23 birch jules 23 20 birch farah 15 29 fable alice 9 24 ember alice 19 23 harbor bruno 12 29 ember jules 26 3 juniper
alice 32 bruno 35 farah 40 jules 43 farah 44 alice 33 alice 42 bruno 41 jules 29
lina 4 26 harbor lina 14 20 birch eli 3 30 harbor dina 16 13 juniper gus 29 26 fable jules 28 13 birch
lina 30 lina 34 eli 33 dina 29 gus 55 jules 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033286
qwen/qwen3.7-plus
awkweave-0033287
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
gus 24 alice 19 kim 28 kim 19 eli 10 ivan 3 ivan 11
gus pass alice fail kim pass kim fail eli fail ivan fail ivan fail
farah 23 hana 7 hana 3 jules 27 lina 19 eli 1 gus 27 hana 19 farah 7
farah pass hana fail hana fail jules pass lina fail eli fail gus pass hana fail farah fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033287-p1
Output column 1 along with 'pass' if column 2 is 23 or greater; otherwise, output 'fail'.
{print $1,($2>=23?"pass":"fail")}
gus 24 alice 19 kim 28 kim 19 eli 10 ivan 3 ivan 11
gus pass alice fail kim pass kim fail eli fail ivan fail ivan fail
farah 23 hana 7 hana 3 jules 27 lina 19 eli 1 gus 27 hana 19 farah 7
farah pass hana fail hana fail jules pass lina fail eli fail gus pass hana fail farah fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033287
qwen/qwen3.7-plus
awkweave-0033288
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
jules delta 12 ivan cobalt 43 hana birch 95 lina delta 72 alice indigo 4 lina ember 52 kim cobalt 62 dina delta 107 farah cobalt 59 alice juniper 54
DELTA COBALT BIRCH DELTA INDIGO EMBER COBALT DELTA COBALT JUNIPER
bruno indigo 96 bruno amber 99 eli ember 49 hana ember 77 farah amber 80 hana birch 70
INDIGO AMBER EMBER EMBER AMBER BIRCH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033288-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
jules delta 12 ivan cobalt 43 hana birch 95 lina delta 72 alice indigo 4 lina ember 52 kim cobalt 62 dina delta 107 farah cobalt 59 alice juniper 54
DELTA COBALT BIRCH DELTA INDIGO EMBER COBALT DELTA COBALT JUNIPER
bruno indigo 96 bruno amber 99 eli ember 49 hana ember 77 farah amber 80 hana birch 70
INDIGO AMBER EMBER EMBER AMBER BIRCH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033288
qwen/qwen3.7-plus
awkweave-0033289
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
grove 39 harbor 46 harbor 77 cobalt 11 ember 38 amber 90 amber 37 indigo 14 indigo 118 harbor 43
ove rbo rbo bal ber ber ber dig dig rbo
delta 71 harbor 38 cobalt 109 amber 108 amber 15 grove 1 birch 10 harbor 104
lta rbo bal ber ber ove rch rbo
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033289-p1
Extract and print 3 characters from column 1, starting at the 3rd character position.
{print substr($1,3,3)}
grove 39 harbor 46 harbor 77 cobalt 11 ember 38 amber 90 amber 37 indigo 14 indigo 118 harbor 43
ove rbo rbo bal ber ber ber dig dig rbo
delta 71 harbor 38 cobalt 109 amber 108 amber 15 grove 1 birch 10 harbor 104
lta rbo bal ber ber ove rch rbo
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033289
qwen/qwen3.7-plus
awkweave-0033300
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim cobalt 67 alice grove 95 jules indigo 89 alice ember 34 jules birch 79 jules ember 37
kim cobalt 67 alice grove 95 jules indigo 89 alice ember 34 jules birch 79 jules ember 37
hana harbor 3 dina juniper 118 eli delta 6 hana amber 92 bruno fable 31 bruno juniper 28
hana harbor 3 dina juniper 118 eli delta 6 hana amber 92 bruno fable 31 bruno juniper 28
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033300-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with single spaces.
{$1=$1;print}
kim cobalt 67 alice grove 95 jules indigo 89 alice ember 34 jules birch 79 jules ember 37
kim cobalt 67 alice grove 95 jules indigo 89 alice ember 34 jules birch 79 jules ember 37
hana harbor 3 dina juniper 118 eli delta 6 hana amber 92 bruno fable 31 bruno juniper 28
hana harbor 3 dina juniper 118 eli delta 6 hana amber 92 bruno fable 31 bruno juniper 28
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033300
qwen/qwen3.7-plus
awkweave-0033301
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen indigo 46 active kim cobalt 98 closed chen birch 69 closed gus harbor 119 pending gus juniper 31 ready dina harbor 72 failed gus juniper 26 pending alice grove 45 pending
gus harbor 119 pending
bruno fable 71 paused alice juniper 97 paused bruno juniper 99 paused dina indigo 58 closed alice juniper 107 closed bruno cobalt 26 active lina indigo 31 paused
alice juniper 107 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033301-p1
Identify and print the longest line from the input; in case of a tie, select the earliest one.
{if(length($0)>length(best))best=$0}END{print best}
chen indigo 46 active kim cobalt 98 closed chen birch 69 closed gus harbor 119 pending gus juniper 31 ready dina harbor 72 failed gus juniper 26 pending alice grove 45 pending
gus harbor 119 pending
bruno fable 71 paused alice juniper 97 paused bruno juniper 99 paused dina indigo 58 closed alice juniper 107 closed bruno cobalt 26 active lina indigo 31 paused
alice juniper 107 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033301
qwen/qwen3.7-plus
awkweave-0033302
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
jules 53 jules 62 eli 64 bruno 84 gus 24 eli 5
jules 53 bruno 84
alice 118 gus 86 farah 31 lina 24 chen 104 bruno 65 jules 37
alice 118 lina 24 jules 37
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033302-p1
Print lines 1, 4, 7, and so on (every 3rd line starting from line 1).
NR%3==1
jules 53 jules 62 eli 64 bruno 84 gus 24 eli 5
jules 53 bruno 84
alice 118 gus 86 farah 31 lina 24 chen 104 bruno 65 jules 37
alice 118 lina 24 jules 37
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033302
qwen/qwen3.7-plus
awkweave-0033303
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta fable 82 alpha fable 30 gamma grove 102 gamma amber 40 gamma amber 106 gamma grove 109 beta harbor 29 gamma birch 91 beta indigo 104
6
alpha birch 31 delta grove 25 gamma delta 38 alpha juniper 28 alpha delta 33 alpha ember 107 delta cobalt 51 gamma grove 42 delta harbor 25
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033303-p1
Count the number of unique values in column 2 and output only the total count.
{if(!seen[$2]++)n++}END{print n+0}
beta fable 82 alpha fable 30 gamma grove 102 gamma amber 40 gamma amber 106 gamma grove 109 beta harbor 29 gamma birch 91 beta indigo 104
6
alpha birch 31 delta grove 25 gamma delta 38 alpha juniper 28 alpha delta 33 alpha ember 107 delta cobalt 51 gamma grove 42 delta harbor 25
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033303
qwen/qwen3.7-plus
awkweave-0033304
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 30 0 jules 9 28 bruno 1 21 hana 22 1 jules 11 5 chen 5 20 farah 23 6 dina 16 26 ivan 2 18 bruno 14 23
jules 0.32 bruno 0.05 hana 22.00 jules 2.20 chen 0.25 farah 3.83 dina 0.62 ivan 0.11 bruno 0.61
farah 27 0 hana 20 3 alice 20 21 gus 4 19 hana 26 14 kim 9 6 ivan 14 23 alice 4 22 alice 7 15
hana 6.67 alice 0.95 gus 0.21 hana 1.86 kim 1.50 ivan 0.61 alice 0.18 alice 0.47
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033304-p1
For each row where column 3 is non-zero, print column 1 and the result of column 2 divided by column 3, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 30 0 jules 9 28 bruno 1 21 hana 22 1 jules 11 5 chen 5 20 farah 23 6 dina 16 26 ivan 2 18 bruno 14 23
jules 0.32 bruno 0.05 hana 22.00 jules 2.20 chen 0.25 farah 3.83 dina 0.62 ivan 0.11 bruno 0.61
farah 27 0 hana 20 3 alice 20 21 gus 4 19 hana 26 14 kim 9 6 ivan 14 23 alice 4 22 alice 7 15
hana 6.67 alice 0.95 gus 0.21 hana 1.86 kim 1.50 ivan 0.61 alice 0.18 alice 0.47
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033304
qwen/qwen3.7-plus
awkweave-0033305
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan ember 15 lina ember 25 gus delta 12 dina harbor 14 farah cobalt 23 gus indigo 13 farah birch 9 kim delta 1 farah birch 24
lina ember 25 farah birch 24 farah cobalt 23
lina ember 24 dina fable 2 dina cobalt 29 lina cobalt 9 bruno fable 14 eli juniper 27
dina cobalt 29 eli juniper 27 lina ember 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033305-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; preserve the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan ember 15 lina ember 25 gus delta 12 dina harbor 14 farah cobalt 23 gus indigo 13 farah birch 9 kim delta 1 farah birch 24
lina ember 25 farah birch 24 farah cobalt 23
lina ember 24 dina fable 2 dina cobalt 29 lina cobalt 9 bruno fable 14 eli juniper 27
dina cobalt 29 eli juniper 27 lina ember 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033305
qwen/qwen3.7-plus
awkweave-0033306
Select the 4th and 2nd fields in that order.
{print $4, $2}
farah 24 dina ember ember 93 kim 24 hana juniper harbor 5 jules 49 lina ember grove 57 alice 77 kim cobalt indigo 29 ivan 87 lina amber juniper 92 farah 15 dina birch amber 106 farah 47 dina delta indigo 59 ivan 23 eli delta cobalt 101
ember 24 juniper 24 ember 49 cobalt 77 amber 87 birch 15 delta 47 delta 23
dina 111 kim birch delta 17 gus 98 ivan amber amber 22 eli 67 lina amber fable 46 kim 42 hana ember delta 113 kim 74 kim grove grove 11 hana 17 chen delta juniper 57 eli 36 dina birch fable 115 lina 88 jules fable grove 19 farah 106 kim indigo indigo 4
birch 111 amber 98 amber 67 ember 42 grove 74 delta 17 birch 36 fable 88 indigo 106
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033306-p1
Extract the fourth field followed by the second field.
{print $4, $2}
farah 24 dina ember ember 93 kim 24 hana juniper harbor 5 jules 49 lina ember grove 57 alice 77 kim cobalt indigo 29 ivan 87 lina amber juniper 92 farah 15 dina birch amber 106 farah 47 dina delta indigo 59 ivan 23 eli delta cobalt 101
ember 24 juniper 24 ember 49 cobalt 77 amber 87 birch 15 delta 47 delta 23
dina 111 kim birch delta 17 gus 98 ivan amber amber 22 eli 67 lina amber fable 46 kim 42 hana ember delta 113 kim 74 kim grove grove 11 hana 17 chen delta juniper 57 eli 36 dina birch fable 115 lina 88 jules fable grove 19 farah 106 kim indigo indigo 4
birch 111 amber 98 amber 67 ember 42 grove 74 delta 17 birch 36 fable 88 indigo 106
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033306
qwen/qwen3.7-plus
awkweave-0033307
Print the last field of every input line.
{print $NF}
chen closed ready kim closed failed hana paused paused eli paused closed alice active paused lina paused pending chen active pending alice ready ready
ready failed paused closed paused pending pending ready
dina ready active gus closed ready alice active ready farah pending active dina active ready chen active active
active ready ready active ready active
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033307-p1
Output the final field from each line of input.
{print $NF}
chen closed ready kim closed failed hana paused paused eli paused closed alice active paused lina paused pending chen active pending alice ready ready
ready failed paused closed paused pending pending ready
dina ready active gus closed ready alice active ready farah pending active dina active ready chen active active
active ready ready active ready active
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033307
qwen/qwen3.7-plus
awkweave-0033308
Print the complete records where column 3 is greater than 52.
$3 > 52
eli indigo 50 juniper ivan juniper 20 indigo bruno fable 100 indigo kim grove 78 ember alice grove 64 indigo gus cobalt 61 amber chen cobalt 61 fable jules grove 1 amber eli indigo 56 ember
bruno fable 100 indigo kim grove 78 ember alice grove 64 indigo gus cobalt 61 amber chen cobalt 61 fable eli indigo 56 ember
alice birch 28 indigo bruno ember 17 amber farah harbor 16 cobalt kim juniper 43 delta kim grove 74 birch lina indigo 15 fable jules grove 53 cobalt dina amber 46 juniper ivan delta 46 ember gus grove 41 birch
kim grove 74 birch jules grove 53 cobalt
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033308-p1
Display full records where the value in the third column exceeds 52.
$3 > 52
eli indigo 50 juniper ivan juniper 20 indigo bruno fable 100 indigo kim grove 78 ember alice grove 64 indigo gus cobalt 61 amber chen cobalt 61 fable jules grove 1 amber eli indigo 56 ember
bruno fable 100 indigo kim grove 78 ember alice grove 64 indigo gus cobalt 61 amber chen cobalt 61 fable eli indigo 56 ember
alice birch 28 indigo bruno ember 17 amber farah harbor 16 cobalt kim juniper 43 delta kim grove 74 birch lina indigo 15 fable jules grove 53 cobalt dina amber 46 juniper ivan delta 46 ember gus grove 41 birch
kim grove 74 birch jules grove 53 cobalt
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033308
qwen/qwen3.7-plus
awkweave-0033309
Show whole lines whose 1st field is between 12 and 27, inclusive.
$1 >= 12 && $1 <= 27
25 juniper pending juniper 13 fable closed grove 19 birch closed ember 22 delta closed juniper 1 ember ready amber 28 harbor paused harbor 6 harbor active harbor 24 indigo closed juniper
25 juniper pending juniper 13 fable closed grove 19 birch closed ember 22 delta closed juniper 24 indigo closed juniper
1 harbor ready cobalt 13 birch ready birch 23 cobalt active birch 5 indigo paused fable 9 grove ready indigo 12 amber closed harbor 4 fable closed grove 5 indigo closed ember 29 fable pending birch
13 birch ready birch 23 cobalt active birch 12 amber closed harbor
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033309-p1
Show entire lines where the first field falls within the inclusive range of 12 to 27.
$1 >= 12 && $1 <= 27
25 juniper pending juniper 13 fable closed grove 19 birch closed ember 22 delta closed juniper 1 ember ready amber 28 harbor paused harbor 6 harbor active harbor 24 indigo closed juniper
25 juniper pending juniper 13 fable closed grove 19 birch closed ember 22 delta closed juniper 24 indigo closed juniper
1 harbor ready cobalt 13 birch ready birch 23 cobalt active birch 5 indigo paused fable 9 grove ready indigo 12 amber closed harbor 4 fable closed grove 5 indigo closed ember 29 fable pending birch
13 birch ready birch 23 cobalt active birch 12 amber closed harbor
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033309
qwen/qwen3.7-plus
awkweave-0033310
Print column 3 only for rows where column 1 is exactly active.
$1 == "active"{print $3}
failed grove chen 6 active grove bruno 49 failed juniper alice 105 pending grove jules 50 closed fable farah 119 ready ember bruno 18 ready delta jules 4 ready delta alice 68 paused delta lina 61
bruno
failed indigo hana 115 pending harbor gus 19 active delta kim 90 pending cobalt kim 69 failed ember eli 78 failed harbor bruno 43
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033310-p1
Output only the third column for rows where the first column is exactly active.
$1 == "active"{print $3}
failed grove chen 6 active grove bruno 49 failed juniper alice 105 pending grove jules 50 closed fable farah 119 ready ember bruno 18 ready delta jules 4 ready delta alice 68 paused delta lina 61
bruno
failed indigo hana 115 pending harbor gus 19 active delta kim 90 pending cobalt kim 69 failed ember eli 78 failed harbor bruno 43
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033310
qwen/qwen3.7-plus
awkweave-0033311
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
birch 102 DEBUG harbor 105 ERROR indigo 114 INFO juniper 39 WARN indigo 28 WARN ember 102 ERROR delta 16 INFO juniper 115 ERROR harbor 114 ERROR juniper 15 INFO
juniper 39 WARN indigo 28 WARN
birch 96 ERROR amber 80 INFO ember 67 ERROR ember 104 INFO fable 4 DEBUG amber 57 INFO indigo 94 DEBUG harbor 119 INFO birch 31 INFO indigo 94 DEBUG
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033311-p1
Print all fields from lines where the third field starts with WARN.
$3 ~ /^WARN/
birch 102 DEBUG harbor 105 ERROR indigo 114 INFO juniper 39 WARN indigo 28 WARN ember 102 ERROR delta 16 INFO juniper 115 ERROR harbor 114 ERROR juniper 15 INFO
juniper 39 WARN indigo 28 WARN
birch 96 ERROR amber 80 INFO ember 67 ERROR ember 104 INFO fable 4 DEBUG amber 57 INFO indigo 94 DEBUG harbor 119 INFO birch 31 INFO indigo 94 DEBUG
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033311
qwen/qwen3.7-plus
awkweave-0033312
Print every line except those containing the exact text grove.
$0 !~ /grove/
harbor 39 failed indigo 92 paused fable 65 active ember 21 active ember 101 paused fable 71 failed cobalt 113 active ember 1 pending indigo 99 closed grove 999 active
harbor 39 failed indigo 92 paused fable 65 active ember 21 active ember 101 paused fable 71 failed cobalt 113 active ember 1 pending indigo 99 closed
cobalt 118 closed amber 21 active indigo 107 paused harbor 7 failed ember 60 failed ember 18 paused cobalt 112 ready cobalt 69 ready indigo 46 ready grove 999 active
cobalt 118 closed amber 21 active indigo 107 paused harbor 7 failed ember 60 failed ember 18 paused cobalt 112 ready cobalt 69 ready indigo 46 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033312-p1
Output every line that does not contain the exact string grove.
$0 !~ /grove/
harbor 39 failed indigo 92 paused fable 65 active ember 21 active ember 101 paused fable 71 failed cobalt 113 active ember 1 pending indigo 99 closed grove 999 active
harbor 39 failed indigo 92 paused fable 65 active ember 21 active ember 101 paused fable 71 failed cobalt 113 active ember 1 pending indigo 99 closed
cobalt 118 closed amber 21 active indigo 107 paused harbor 7 failed ember 60 failed ember 18 paused cobalt 112 ready cobalt 69 ready indigo 46 ready grove 999 active
cobalt 118 closed amber 21 active indigo 107 paused harbor 7 failed ember 60 failed ember 18 paused cobalt 112 ready cobalt 69 ready indigo 46 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033312
qwen/qwen3.7-plus
awkweave-0033313
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
bruno delta 9 lina birch 61 hana amber 65 chen ember 25 ivan indigo 76 chen birch 93 gus fable 49 alice fable 96
lina birch 61 hana amber 65 chen ember 25
eli fable 89 bruno juniper 71 farah fable 40 eli ember 86 ivan indigo 51 jules ember 69 dina delta 105 dina fable 53
bruno juniper 71 farah fable 40 eli ember 86
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033313-p1
Print lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
bruno delta 9 lina birch 61 hana amber 65 chen ember 25 ivan indigo 76 chen birch 93 gus fable 49 alice fable 96
lina birch 61 hana amber 65 chen ember 25
eli fable 89 bruno juniper 71 farah fable 40 eli ember 86 ivan indigo 51 jules ember 69 dina delta 105 dina fable 53
bruno juniper 71 farah fable 40 eli ember 86
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033313
qwen/qwen3.7-plus
awkweave-0033314
Output only the first 4 records.
NR <= 4
chen 45 amber lina 21 fable jules 19 delta alice 70 grove jules 17 grove farah 24 fable lina 73 indigo eli 23 amber
chen 45 amber lina 21 fable jules 19 delta alice 70 grove
chen 35 cobalt jules 26 cobalt kim 24 birch chen 1 harbor eli 5 indigo farah 102 fable jules 114 indigo dina 106 amber
chen 35 cobalt jules 26 cobalt kim 24 birch chen 1 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033314-p1
Output only the first 4 records.
NR <= 4
chen 45 amber lina 21 fable jules 19 delta alice 70 grove jules 17 grove farah 24 fable lina 73 indigo eli 23 amber
chen 45 amber lina 21 fable jules 19 delta alice 70 grove
chen 35 cobalt jules 26 cobalt kim 24 birch chen 1 harbor eli 5 indigo farah 102 fable jules 114 indigo dina 106 amber
chen 35 cobalt jules 26 cobalt kim 24 birch chen 1 harbor
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0033314
qwen/qwen3.7-plus
awkweave-0033315
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 0 cobalt hana 109 juniper jules 11 harbor kim 2 juniper chen 107 fable chen 26 birch chen 92 juniper
hana 109 juniper jules 11 harbor kim 2 juniper chen 107 fable chen 26 birch chen 92 juniper
chen 9 cobalt farah 14 fable eli 104 ember kim 65 grove alice 101 amber kim 110 juniper hana 32 ember ivan 26 birch lina 48 harbor chen 55 fable
farah 14 fable eli 104 ember kim 65 grove alice 101 amber kim 110 juniper hana 32 ember ivan 26 birch lina 48 harbor chen 55 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033315-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
ivan 0 cobalt hana 109 juniper jules 11 harbor kim 2 juniper chen 107 fable chen 26 birch chen 92 juniper
hana 109 juniper jules 11 harbor kim 2 juniper chen 107 fable chen 26 birch chen 92 juniper
chen 9 cobalt farah 14 fable eli 104 ember kim 65 grove alice 101 amber kim 110 juniper hana 32 ember ivan 26 birch lina 48 harbor chen 55 fable
farah 14 fable eli 104 ember kim 65 grove alice 101 amber kim 110 juniper hana 32 ember ivan 26 birch lina 48 harbor chen 55 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033315
qwen/qwen3.7-plus
awkweave-0033316
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
chen active 71 alice ready 105 lina active 18 gus failed 49 chen active 1 lina pending 35 chen ready 74 gus ready 3
0
ivan failed 65 eli closed 83 alice failed 60 farah failed 69 hana pending 107 hana closed 18 kim closed 104 kim active 98 chen failed 10 ivan closed 53
4
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033316-p1
Count the number of records with closed in the second column; output 0 if none exist.
$2 == "closed"{n++}END{print n+0}
chen active 71 alice ready 105 lina active 18 gus failed 49 chen active 1 lina pending 35 chen ready 74 gus ready 3
0
ivan failed 65 eli closed 83 alice failed 60 farah failed 69 hana pending 107 hana closed 18 kim closed 104 kim active 98 chen failed 10 ivan closed 53
4
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033316
qwen/qwen3.7-plus
awkweave-0033317
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
27 delta alice 16 fable ivan 29 harbor alice 18 ember kim 27 delta ivan 17 ember farah 5 amber chen 15 delta chen 6 cobalt eli 6 grove chen
166
5 birch chen 5 indigo farah 23 indigo gus 23 indigo hana 3 grove dina 3 juniper farah
62
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033317-p1
Compute and display the sum of integer values in the first column.
{s+=$1}END{print s+0}
27 delta alice 16 fable ivan 29 harbor alice 18 ember kim 27 delta ivan 17 ember farah 5 amber chen 15 delta chen 6 cobalt eli 6 grove chen
166
5 birch chen 5 indigo farah 23 indigo gus 23 indigo hana 3 grove dina 3 juniper farah
62
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033317
qwen/qwen3.7-plus
awkweave-0033318
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 delta dina 1 amber kim 24 harbor bruno 26 cobalt chen 18 harbor dina 23 harbor kim
15.67
30 fable lina 28 juniper jules 16 birch lina 28 ember alice 28 delta eli 25 ember jules 4 juniper bruno 10 birch jules 2 ember alice
19.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033318-p1
Output the average of the values in column 1, formatted to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 delta dina 1 amber kim 24 harbor bruno 26 cobalt chen 18 harbor dina 23 harbor kim
15.67
30 fable lina 28 juniper jules 16 birch lina 28 ember alice 28 delta eli 25 ember jules 4 juniper bruno 10 birch jules 2 ember alice
19.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033318
qwen/qwen3.7-plus
awkweave-0033319
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 alice amber 11 hana fable 13 alice juniper 8 gus grove 30 eli fable 9 alice cobalt 25 jules indigo
8
29 bruno amber 5 chen juniper 19 ivan indigo 16 gus cobalt 7 bruno fable 21 farah amber 20 dina indigo 16 farah delta
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033319-p1
Identify and display the minimum number found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 alice amber 11 hana fable 13 alice juniper 8 gus grove 30 eli fable 9 alice cobalt 25 jules indigo
8
29 bruno amber 5 chen juniper 19 ivan indigo 16 gus cobalt 7 bruno fable 21 farah amber 20 dina indigo 16 farah delta
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033319
qwen/qwen3.7-plus
awkweave-0033320
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 27 chen juniper 10 eli birch 21 kim amber 11 hana delta 21 lina grove 25 chen cobalt 17 hana
27
delta 27 bruno fable 21 alice grove 5 eli cobalt 27 hana amber 21 gus harbor 1 bruno ember 7 ivan birch 30 kim
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033320-p1
Identify and display the maximum number found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 27 chen juniper 10 eli birch 21 kim amber 11 hana delta 21 lina grove 25 chen cobalt 17 hana
27
delta 27 bruno fable 21 alice grove 5 eli cobalt 27 hana amber 21 gus harbor 1 bruno ember 7 ivan birch 30 kim
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033320
qwen/qwen3.7-plus
awkweave-0033321
Count all input records and print the total.
END{print NR}
dina 4 eli 63 kim 88 alice 64 bruno 97 dina 78 chen 23 eli 87 ivan 88
9
ivan 51 kim 114 hana 85 lina 90 hana 78 eli 90
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033321-p1
Calculate and output the total number of input lines.
END{print NR}
dina 4 eli 63 kim 88 alice 64 bruno 97 dina 78 chen 23 eli 87 ivan 88
9
ivan 51 kim 114 hana 85 lina 90 hana 78 eli 90
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033321
qwen/qwen3.7-plus
awkweave-0033322
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno juniper 17 farah harbor 3 ivan juniper 33 dina juniper 75 kim indigo 72 bruno delta 15 alice cobalt 85 jules grove 99 lina ember 70 bruno delta 15 lina harbor 99
bruno juniper 17 farah harbor 3 ivan juniper 33 dina juniper 75 kim indigo 72 bruno delta 15 alice cobalt 85 jules grove 99 lina ember 70 lina harbor 99
farah birch 9 farah birch 9 eli ember 56 lina birch 0 hana delta 106 gus ember 101 kim indigo 93
farah birch 9 eli ember 56 lina birch 0 hana delta 106 gus ember 101 kim indigo 93
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033322-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
bruno juniper 17 farah harbor 3 ivan juniper 33 dina juniper 75 kim indigo 72 bruno delta 15 alice cobalt 85 jules grove 99 lina ember 70 bruno delta 15 lina harbor 99
bruno juniper 17 farah harbor 3 ivan juniper 33 dina juniper 75 kim indigo 72 bruno delta 15 alice cobalt 85 jules grove 99 lina ember 70 lina harbor 99
farah birch 9 farah birch 9 eli ember 56 lina birch 0 hana delta 106 gus ember 101 kim indigo 93
farah birch 9 eli ember 56 lina birch 0 hana delta 106 gus ember 101 kim indigo 93
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033322
qwen/qwen3.7-plus
awkweave-0033323
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
bruno ember 71 gus juniper 117 jules amber 43 dina birch 45 kim delta 13 dina ember 7 chen delta 88 hana delta 40 eli harbor 71 kim grove 55
bruno ember 71 gus juniper 117 jules amber 43 dina birch 45 kim delta 13 eli harbor 71 kim grove 55
farah harbor 11 bruno juniper 77 alice ember 83 lina delta 28 hana birch 39 jules juniper 28 jules amber 13 kim delta 110
farah harbor 11 bruno juniper 77 alice ember 83 lina delta 28 hana birch 39 jules amber 13
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033323-p1
Retain only the initial line for every unique value in column 2, keeping the original order.
!seen[$2]++
bruno ember 71 gus juniper 117 jules amber 43 dina birch 45 kim delta 13 dina ember 7 chen delta 88 hana delta 40 eli harbor 71 kim grove 55
bruno ember 71 gus juniper 117 jules amber 43 dina birch 45 kim delta 13 eli harbor 71 kim grove 55
farah harbor 11 bruno juniper 77 alice ember 83 lina delta 28 hana birch 39 jules juniper 28 jules amber 13 kim delta 110
farah harbor 11 bruno juniper 77 alice ember 83 lina delta 28 hana birch 39 jules amber 13
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033323
qwen/qwen3.7-plus
awkweave-0033324
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 12 ember dina 8 cobalt jules 22 fable jules 4 cobalt lina 19 fable lina 25 birch gus 4 grove
alice 12 dina 20 jules 42 jules 46 lina 65 lina 90 gus 94
kim 26 fable bruno 12 delta ivan 8 ember gus 6 birch lina 30 amber jules 20 harbor
kim 26 bruno 38 ivan 46 gus 52 lina 82 jules 102
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033324-p1
For each line, output column 1 and the cumulative total of column 2, separated by a space.
{s+=$2;print $1,s}
alice 12 ember dina 8 cobalt jules 22 fable jules 4 cobalt lina 19 fable lina 25 birch gus 4 grove
alice 12 dina 20 jules 42 jules 46 lina 65 lina 90 gus 94
kim 26 fable bruno 12 delta ivan 8 ember gus 6 birch lina 30 amber jules 20 harbor
kim 26 bruno 38 ivan 46 gus 52 lina 82 jules 102
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033324
qwen/qwen3.7-plus
awkweave-0033325
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 3 13 grove dina 23 27 indigo jules 2 2 delta kim 21 11 fable chen 15 28 cobalt farah 23 6 delta eli 1 19 juniper
hana 16 dina 50 jules 4 kim 32 chen 43 farah 29 eli 20
alice 7 5 delta jules 1 24 birch chen 11 22 amber lina 2 10 grove kim 1 14 amber gus 1 9 fable lina 8 6 harbor jules 17 5 delta alice 18 11 harbor jules 1 16 ember
alice 12 jules 25 chen 33 lina 12 kim 15 gus 10 lina 14 jules 22 alice 29 jules 17
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033325-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 3 13 grove dina 23 27 indigo jules 2 2 delta kim 21 11 fable chen 15 28 cobalt farah 23 6 delta eli 1 19 juniper
hana 16 dina 50 jules 4 kim 32 chen 43 farah 29 eli 20
alice 7 5 delta jules 1 24 birch chen 11 22 amber lina 2 10 grove kim 1 14 amber gus 1 9 fable lina 8 6 harbor jules 17 5 delta alice 18 11 harbor jules 1 16 ember
alice 12 jules 25 chen 33 lina 12 kim 15 gus 10 lina 14 jules 22 alice 29 jules 17
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033325
qwen/qwen3.7-plus
awkweave-0033326
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
chen 7 gus 25 alice 27 alice 6 dina 22 bruno 3 eli 28 jules 7 dina 12
chen fail gus fail alice pass alice fail dina fail bruno fail eli pass jules fail dina fail
bruno 9 ivan 25 kim 2 hana 25 kim 19 jules 1 lina 24 kim 21 lina 17
bruno fail ivan fail kim fail hana fail kim fail jules fail lina fail kim fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033326-p1
Output column 1 along with 'pass' if column 2 is 27 or greater, otherwise output 'fail'.
{print $1,($2>=27?"pass":"fail")}
chen 7 gus 25 alice 27 alice 6 dina 22 bruno 3 eli 28 jules 7 dina 12
chen fail gus fail alice pass alice fail dina fail bruno fail eli pass jules fail dina fail
bruno 9 ivan 25 kim 2 hana 25 kim 19 jules 1 lina 24 kim 21 lina 17
bruno fail ivan fail kim fail hana fail kim fail jules fail lina fail kim fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033326
qwen/qwen3.7-plus
awkweave-0033327
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
chen delta 105 bruno delta 39 kim grove 31 lina delta 119 farah grove 24 bruno delta 83 bruno fable 100 ivan cobalt 71 bruno amber 105
DELTA DELTA GROVE DELTA GROVE DELTA FABLE COBALT AMBER
gus birch 69 eli ember 30 hana indigo 19 eli cobalt 4 gus amber 91 kim grove 49 chen indigo 45 ivan grove 77
BIRCH EMBER INDIGO COBALT AMBER GROVE INDIGO GROVE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033327-p1
Transform column 2 to uppercase letters and print only that column.
{print toupper($2)}
chen delta 105 bruno delta 39 kim grove 31 lina delta 119 farah grove 24 bruno delta 83 bruno fable 100 ivan cobalt 71 bruno amber 105
DELTA DELTA GROVE DELTA GROVE DELTA FABLE COBALT AMBER
gus birch 69 eli ember 30 hana indigo 19 eli cobalt 4 gus amber 91 kim grove 49 chen indigo 45 ivan grove 77
BIRCH EMBER INDIGO COBALT AMBER GROVE INDIGO GROVE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033327
qwen/qwen3.7-plus
awkweave-0033328
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
delta 45 birch 99 birch 90 indigo 41 harbor 89 delta 16 ember 51 cobalt 38 delta 37
delt birc birc indi harb delt embe coba delt
harbor 75 indigo 55 delta 41 amber 98 birch 48 birch 38 delta 66 harbor 98 juniper 30
harb indi delt ambe birc birc delt harb juni
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033328-p1
Extract and print the first 4 characters from column 1.
{print substr($1,1,4)}
delta 45 birch 99 birch 90 indigo 41 harbor 89 delta 16 ember 51 cobalt 38 delta 37
delt birc birc indi harb delt embe coba delt
harbor 75 indigo 55 delta 41 amber 98 birch 48 birch 38 delta 66 harbor 98 juniper 30
harb indi delt ambe birc birc delt harb juni
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033328
qwen/qwen3.7-plus
awkweave-0033329
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_cobalt 117 harbor_cobalt 61 delta_juniper 41 amber_indigo 97 delta_indigo 39 cobalt_fable 44 juniper_delta 115
cobalt cobalt harbor cobalt delta juniper amber indigo delta indigo cobalt fable juniper delta
delta_cobalt 108 harbor_amber 54 ember_fable 108 ember_ember 67 amber_indigo 54 harbor_birch 12 amber_ember 17
delta cobalt harbor amber ember fable ember ember amber indigo harbor birch amber ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033329-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_cobalt 117 harbor_cobalt 61 delta_juniper 41 amber_indigo 97 delta_indigo 39 cobalt_fable 44 juniper_delta 115
cobalt cobalt harbor cobalt delta juniper amber indigo delta indigo cobalt fable juniper delta
delta_cobalt 108 harbor_amber 54 ember_fable 108 ember_ember 67 amber_indigo 54 harbor_birch 12 amber_ember 17
delta cobalt harbor amber ember fable ember ember amber indigo harbor birch amber ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033329
qwen/qwen3.7-plus
awkweave-0033330
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)}
lina ember 93 failed chen cobalt 0 failed lina harbor 118 active eli fable 79 ready bruno amber 46 closed hana grove 45 failed eli juniper 60 closed
failed 93 ember lina failed 0 cobalt chen active 118 harbor lina ready 79 fable eli closed 46 amber bruno failed 45 grove hana closed 60 juniper eli
dina harbor 52 ready bruno juniper 62 paused bruno ember 18 failed eli harbor 22 failed kim grove 38 active lina grove 6 failed lina grove 81 failed farah birch 39 failed
ready 52 harbor dina paused 62 juniper bruno failed 18 ember bruno failed 22 harbor eli active 38 grove kim failed 6 grove lina failed 81 grove lina failed 39 birch farah
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033330-p1
Reverse the field sequence on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
lina ember 93 failed chen cobalt 0 failed lina harbor 118 active eli fable 79 ready bruno amber 46 closed hana grove 45 failed eli juniper 60 closed
failed 93 ember lina failed 0 cobalt chen active 118 harbor lina ready 79 fable eli closed 46 amber bruno failed 45 grove hana closed 60 juniper eli
dina harbor 52 ready bruno juniper 62 paused bruno ember 18 failed eli harbor 22 failed kim grove 38 active lina grove 6 failed lina grove 81 failed farah birch 39 failed
ready 52 harbor dina paused 62 juniper bruno failed 18 ember bruno failed 22 harbor eli active 38 grove kim failed 6 grove lina failed 81 grove lina failed 39 birch farah
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033330
qwen/qwen3.7-plus
awkweave-0033331
Print the number of whitespace-separated fields on each line.
{print NF}
ivan cobalt 117 active jules birch 0 failed gus juniper 7 failed jules amber 42 ready jules cobalt 23 failed alice indigo 6 pending ivan delta 92 ready
4 4 4 4 4 4 4
farah juniper 40 pending ivan birch 67 failed dina cobalt 72 active bruno grove 72 active ivan delta 73 failed lina amber 93 ready farah cobalt 95 paused dina birch 2 active jules cobalt 43 ready lina delta 80 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null