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-0037441-p1
Output the final field from every line of input.
{print $NF}
active 32 kim ready 64 gus active 99 jules closed 10 kim ready 100 chen active 65 hana pending 22 alice
kim gus jules kim chen hana alice
closed 88 jules paused 92 alice pending 55 hana closed 33 eli paused 111 eli failed 84 dina
jules alice hana eli eli dina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037441
qwen/qwen3.7-plus
awkweave-0037442
Print the complete records where column 3 is less than 72.
$3 < 72
closed lina 82 kim pending farah 3 chen paused jules 52 hana ready jules 86 chen pending jules 16 kim ready chen 95 dina failed jules 17 eli ready bruno 118 farah
pending farah 3 chen paused jules 52 hana pending jules 16 kim failed jules 17 eli
ready hana 69 farah closed ivan 59 chen active ivan 24 jules paused dina 111 alice paused gus 93 chen pending chen 25 eli active hana 61 alice
ready hana 69 farah closed ivan 59 chen active ivan 24 jules pending chen 25 eli active hana 61 alice
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037442-p1
Print the entire records where the value in the third column is less than 72.
$3 < 72
closed lina 82 kim pending farah 3 chen paused jules 52 hana ready jules 86 chen pending jules 16 kim ready chen 95 dina failed jules 17 eli ready bruno 118 farah
pending farah 3 chen paused jules 52 hana pending jules 16 kim failed jules 17 eli
ready hana 69 farah closed ivan 59 chen active ivan 24 jules paused dina 111 alice paused gus 93 chen pending chen 25 eli active hana 61 alice
ready hana 69 farah closed ivan 59 chen active ivan 24 jules pending chen 25 eli active hana 61 alice
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037442
qwen/qwen3.7-plus
awkweave-0037443
Show whole lines whose 1st field is between 8 and 27, inclusive.
$1 >= 8 && $1 <= 27
14 farah paused grove 29 gus failed cobalt 11 lina failed delta 3 eli active harbor 12 gus closed delta 19 lina active amber 19 bruno failed cobalt 5 alice active grove 19 gus pending delta 3 jules failed indigo
14 farah paused grove 11 lina failed delta 12 gus closed delta 19 lina active amber 19 bruno failed cobalt 19 gus pending delta
30 farah active amber 7 alice failed ember 24 ivan paused ember 19 ivan paused grove 25 bruno failed grove 29 bruno ready juniper
24 ivan paused ember 19 ivan paused grove 25 bruno failed grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037443-p1
Display complete lines where the first field falls within the inclusive range of 8 to 27.
$1 >= 8 && $1 <= 27
14 farah paused grove 29 gus failed cobalt 11 lina failed delta 3 eli active harbor 12 gus closed delta 19 lina active amber 19 bruno failed cobalt 5 alice active grove 19 gus pending delta 3 jules failed indigo
14 farah paused grove 11 lina failed delta 12 gus closed delta 19 lina active amber 19 bruno failed cobalt 19 gus pending delta
30 farah active amber 7 alice failed ember 24 ivan paused ember 19 ivan paused grove 25 bruno failed grove 29 bruno ready juniper
24 ivan paused ember 19 ivan paused grove 25 bruno failed grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037443
qwen/qwen3.7-plus
awkweave-0037444
Print column 4 only for rows where column 2 is exactly ready.
$2 == "ready"{print $4}
25 closed harbor kim 119 pending fable alice 6 ready amber lina 116 paused cobalt bruno 14 paused harbor ivan 120 paused juniper ivan 8 ready harbor eli 76 failed cobalt eli 78 ready grove jules
lina eli jules
27 ready amber alice 50 paused ember kim 59 pending juniper bruno 20 active juniper hana 53 closed indigo alice 65 paused indigo farah
alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037444-p1
Output only the fourth column for rows where the second column is exactly 'ready'.
$2 == "ready"{print $4}
25 closed harbor kim 119 pending fable alice 6 ready amber lina 116 paused cobalt bruno 14 paused harbor ivan 120 paused juniper ivan 8 ready harbor eli 76 failed cobalt eli 78 ready grove jules
lina eli jules
27 ready amber alice 50 paused ember kim 59 pending juniper bruno 20 active juniper hana 53 closed indigo alice 65 paused indigo farah
alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037444
qwen/qwen3.7-plus
awkweave-0037445
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
21 grove DEBUG 20 delta INFO 58 harbor ERROR 114 grove INFO 114 harbor WARN 59 grove WARN 81 cobalt DEBUG 116 ember DEBUG 62 fable WARN 107 harbor ERROR
58 harbor ERROR 107 harbor ERROR
106 amber DEBUG 78 grove INFO 22 juniper DEBUG 58 fable ERROR 105 indigo WARN 102 birch INFO 113 ember INFO
58 fable ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037445-p1
Print all fields from lines where the third field starts with the text 'ERROR'.
$3 ~ /^ERROR/
21 grove DEBUG 20 delta INFO 58 harbor ERROR 114 grove INFO 114 harbor WARN 59 grove WARN 81 cobalt DEBUG 116 ember DEBUG 62 fable WARN 107 harbor ERROR
58 harbor ERROR 107 harbor ERROR
106 amber DEBUG 78 grove INFO 22 juniper DEBUG 58 fable ERROR 105 indigo WARN 102 birch INFO 113 ember INFO
58 fable ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037445
qwen/qwen3.7-plus
awkweave-0037446
Print every line except those containing the exact text amber.
$0 !~ /amber/
cobalt 33 paused harbor 18 failed fable 23 paused ember 71 pending amber 106 pending birch 51 pending indigo 84 closed delta 31 ready amber 999 active
cobalt 33 paused harbor 18 failed fable 23 paused ember 71 pending birch 51 pending indigo 84 closed delta 31 ready
ember 23 paused amber 78 failed grove 66 closed harbor 108 failed indigo 25 pending birch 78 active ember 106 closed harbor 117 failed fable 116 closed amber 999 active
ember 23 paused grove 66 closed harbor 108 failed indigo 25 pending birch 78 active ember 106 closed harbor 117 failed fable 116 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037446-p1
Output every line that does not contain the exact string 'amber'.
$0 !~ /amber/
cobalt 33 paused harbor 18 failed fable 23 paused ember 71 pending amber 106 pending birch 51 pending indigo 84 closed delta 31 ready amber 999 active
cobalt 33 paused harbor 18 failed fable 23 paused ember 71 pending birch 51 pending indigo 84 closed delta 31 ready
ember 23 paused amber 78 failed grove 66 closed harbor 108 failed indigo 25 pending birch 78 active ember 106 closed harbor 117 failed fable 116 closed amber 999 active
ember 23 paused grove 66 closed harbor 108 failed indigo 25 pending birch 78 active ember 106 closed harbor 117 failed fable 116 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037446
qwen/qwen3.7-plus
awkweave-0037447
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
bruno juniper 74 hana harbor 46 ivan amber 80 alice amber 91 gus cobalt 18 chen delta 40 lina birch 47
hana harbor 46 ivan amber 80 alice amber 91 gus cobalt 18
farah fable 37 dina grove 47 hana grove 21 farah ember 70 bruno fable 34 alice ember 46
dina grove 47 hana grove 21 farah ember 70 bruno fable 34
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037447-p1
Print lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
bruno juniper 74 hana harbor 46 ivan amber 80 alice amber 91 gus cobalt 18 chen delta 40 lina birch 47
hana harbor 46 ivan amber 80 alice amber 91 gus cobalt 18
farah fable 37 dina grove 47 hana grove 21 farah ember 70 bruno fable 34 alice ember 46
dina grove 47 hana grove 21 farah ember 70 bruno fable 34
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037447
qwen/qwen3.7-plus
awkweave-0037448
Output only the first 4 records.
NR <= 4
lina 111 fable alice 33 delta kim 97 birch lina 29 indigo alice 52 ember kim 75 harbor alice 72 amber kim 58 ember
lina 111 fable alice 33 delta kim 97 birch lina 29 indigo
alice 81 birch alice 118 grove dina 27 delta gus 104 indigo eli 39 cobalt eli 6 grove ivan 120 harbor jules 44 birch hana 82 cobalt
alice 81 birch alice 118 grove dina 27 delta gus 104 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037448-p1
Display only the initial four entries.
NR <= 4
lina 111 fable alice 33 delta kim 97 birch lina 29 indigo alice 52 ember kim 75 harbor alice 72 amber kim 58 ember
lina 111 fable alice 33 delta kim 97 birch lina 29 indigo
alice 81 birch alice 118 grove dina 27 delta gus 104 indigo eli 39 cobalt eli 6 grove ivan 120 harbor jules 44 birch hana 82 cobalt
alice 81 birch alice 118 grove dina 27 delta gus 104 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037448
qwen/qwen3.7-plus
awkweave-0037449
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 87 ember dina 4 birch farah 36 fable lina 13 birch jules 38 birch lina 96 birch
dina 4 birch farah 36 fable lina 13 birch jules 38 birch lina 96 birch
ivan 72 fable eli 55 juniper gus 33 ember bruno 34 amber chen 47 delta hana 52 indigo gus 8 delta
eli 55 juniper gus 33 ember bruno 34 amber chen 47 delta hana 52 indigo gus 8 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037449-p1
Omit the header line and output all subsequent lines as they are.
NR > 1
ivan 87 ember dina 4 birch farah 36 fable lina 13 birch jules 38 birch lina 96 birch
dina 4 birch farah 36 fable lina 13 birch jules 38 birch lina 96 birch
ivan 72 fable eli 55 juniper gus 33 ember bruno 34 amber chen 47 delta hana 52 indigo gus 8 delta
eli 55 juniper gus 33 ember bruno 34 amber chen 47 delta hana 52 indigo gus 8 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037449
qwen/qwen3.7-plus
awkweave-0037450
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
alice paused 90 ivan closed 71 eli failed 31 kim failed 96 gus active 35 dina pending 3
1
eli pending 59 alice ready 9 dina ready 10 hana ready 78 bruno paused 63 chen ready 85 farah pending 29 eli active 101
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037450-p1
Tally the number of records where column 2 contains 'paused', outputting 0 if no matches are found.
$2 == "paused"{n++}END{print n+0}
alice paused 90 ivan closed 71 eli failed 31 kim failed 96 gus active 35 dina pending 3
1
eli pending 59 alice ready 9 dina ready 10 hana ready 78 bruno paused 63 chen ready 85 farah pending 29 eli active 101
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037450
qwen/qwen3.7-plus
awkweave-0037451
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
juniper 16 jules fable 28 kim indigo 25 hana grove 28 farah birch 21 dina grove 22 eli
140
amber 6 gus amber 8 dina grove 4 gus juniper 12 lina ember 3 dina indigo 7 ivan harbor 20 gus harbor 1 dina indigo 18 jules ember 6 lina
85
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037451-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
juniper 16 jules fable 28 kim indigo 25 hana grove 28 farah birch 21 dina grove 22 eli
140
amber 6 gus amber 8 dina grove 4 gus juniper 12 lina ember 3 dina indigo 7 ivan harbor 20 gus harbor 1 dina indigo 18 jules ember 6 lina
85
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037451
qwen/qwen3.7-plus
awkweave-0037452
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
lina 10 grove eli 7 grove hana 29 cobalt alice 19 delta gus 27 grove ivan 5 delta gus 9 fable
15.14
ivan 4 fable alice 19 juniper ivan 30 birch hana 22 juniper gus 2 harbor farah 17 delta
15.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037452-p1
Output the average of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
lina 10 grove eli 7 grove hana 29 cobalt alice 19 delta gus 27 grove ivan 5 delta gus 9 fable
15.14
ivan 4 fable alice 19 juniper ivan 30 birch hana 22 juniper gus 2 harbor farah 17 delta
15.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037452
qwen/qwen3.7-plus
awkweave-0037453
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 farah amber 10 kim birch 10 farah ember 3 bruno amber 7 eli delta 20 eli cobalt 10 dina indigo
3
20 farah cobalt 22 kim ember 1 hana indigo 26 ivan birch 6 lina grove 25 chen birch 16 farah amber
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037453-p1
Identify and print the minimum numeric value located in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 farah amber 10 kim birch 10 farah ember 3 bruno amber 7 eli delta 20 eli cobalt 10 dina indigo
3
20 farah cobalt 22 kim ember 1 hana indigo 26 ivan birch 6 lina grove 25 chen birch 16 farah amber
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037453
qwen/qwen3.7-plus
awkweave-0037454
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
18 dina ember 22 eli fable 17 bruno cobalt 20 jules ember 23 bruno harbor 20 lina grove 28 eli juniper 15 farah juniper
28
30 jules amber 7 alice juniper 6 gus indigo 4 farah grove 1 lina birch 15 hana fable 13 farah birch 16 lina fable
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037454-p1
Identify and print the maximum numeric value located in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
18 dina ember 22 eli fable 17 bruno cobalt 20 jules ember 23 bruno harbor 20 lina grove 28 eli juniper 15 farah juniper
28
30 jules amber 7 alice juniper 6 gus indigo 4 farah grove 1 lina birch 15 hana fable 13 farah birch 16 lina fable
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037454
qwen/qwen3.7-plus
awkweave-0037455
Count all input records and print the total.
END{print NR}
hana 32 gus 81 lina 77 dina 70 hana 99 ivan 1 bruno 70 kim 117
8
gus 24 ivan 35 lina 93 alice 38 chen 27 dina 68 alice 9 bruno 85 lina 32
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037455-p1
Count the total number of input records and print the result.
END{print NR}
hana 32 gus 81 lina 77 dina 70 hana 99 ivan 1 bruno 70 kim 117
8
gus 24 ivan 35 lina 93 alice 38 chen 27 dina 68 alice 9 bruno 85 lina 32
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037455
qwen/qwen3.7-plus
awkweave-0037456
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina amber 96 lina fable 27 gus fable 29 bruno grove 3 gus harbor 36 hana fable 109 hana fable 109 hana amber 99
lina amber 96 lina fable 27 gus fable 29 bruno grove 3 gus harbor 36 hana fable 109 hana amber 99
gus delta 81 alice birch 68 hana harbor 100 eli indigo 58 chen fable 69 chen fable 69 ivan fable 48 dina delta 108 gus amber 86 hana birch 66
gus delta 81 alice birch 68 hana harbor 100 eli indigo 58 chen fable 69 ivan fable 48 dina delta 108 gus amber 86 hana birch 66
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037456-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance.
!seen[$0]++
lina amber 96 lina fable 27 gus fable 29 bruno grove 3 gus harbor 36 hana fable 109 hana fable 109 hana amber 99
lina amber 96 lina fable 27 gus fable 29 bruno grove 3 gus harbor 36 hana fable 109 hana amber 99
gus delta 81 alice birch 68 hana harbor 100 eli indigo 58 chen fable 69 chen fable 69 ivan fable 48 dina delta 108 gus amber 86 hana birch 66
gus delta 81 alice birch 68 hana harbor 100 eli indigo 58 chen fable 69 ivan fable 48 dina delta 108 gus amber 86 hana birch 66
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037456
qwen/qwen3.7-plus
awkweave-0037457
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
farah grove 17 farah delta 59 bruno juniper 8 lina indigo 37 dina birch 117 dina delta 30
farah grove 17 farah delta 59 bruno juniper 8 lina indigo 37 dina birch 117 dina delta 30
gus cobalt 89 hana ember 34 eli ember 114 eli ember 113 gus birch 91 eli grove 79 lina harbor 74 chen juniper 22 lina indigo 9
gus cobalt 89 hana ember 34 eli ember 114 eli ember 113 gus birch 91 eli grove 79 lina harbor 74 chen juniper 22 lina indigo 9
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037457-p1
Retain only the first occurrence for each unique value in column 3, preserving the original sequence.
!seen[$3]++
farah grove 17 farah delta 59 bruno juniper 8 lina indigo 37 dina birch 117 dina delta 30
farah grove 17 farah delta 59 bruno juniper 8 lina indigo 37 dina birch 117 dina delta 30
gus cobalt 89 hana ember 34 eli ember 114 eli ember 113 gus birch 91 eli grove 79 lina harbor 74 chen juniper 22 lina indigo 9
gus cobalt 89 hana ember 34 eli ember 114 eli ember 113 gus birch 91 eli grove 79 lina harbor 74 chen juniper 22 lina indigo 9
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037457
qwen/qwen3.7-plus
awkweave-0037458
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 21 fable gus 24 delta ivan 8 birch kim 5 delta farah 19 cobalt kim 28 cobalt farah 20 ember
farah 21 gus 45 ivan 53 kim 58 farah 77 kim 105 farah 125
dina 13 ember jules 15 birch hana 6 juniper alice 28 amber ivan 14 birch farah 4 cobalt farah 13 delta ivan 25 indigo
dina 13 jules 28 hana 34 alice 62 ivan 76 farah 80 farah 93 ivan 118
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037458-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 21 fable gus 24 delta ivan 8 birch kim 5 delta farah 19 cobalt kim 28 cobalt farah 20 ember
farah 21 gus 45 ivan 53 kim 58 farah 77 kim 105 farah 125
dina 13 ember jules 15 birch hana 6 juniper alice 28 amber ivan 14 birch farah 4 cobalt farah 13 delta ivan 25 indigo
dina 13 jules 28 hana 34 alice 62 ivan 76 farah 80 farah 93 ivan 118
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037458
qwen/qwen3.7-plus
awkweave-0037459
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 18 2 indigo jules 24 4 ember dina 21 28 birch bruno 15 6 delta kim 22 27 cobalt alice 8 13 harbor eli 14 3 ember gus 10 28 birch bruno 21 4 cobalt
alice 20 jules 28 dina 49 bruno 21 kim 49 alice 21 eli 17 gus 38 bruno 25
dina 26 17 delta lina 25 2 indigo farah 3 15 harbor gus 19 21 harbor eli 7 3 indigo dina 17 18 fable gus 28 6 grove alice 25 25 indigo hana 19 3 juniper eli 16 8 juniper
dina 43 lina 27 farah 18 gus 40 eli 10 dina 35 gus 34 alice 50 hana 22 eli 24
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037459-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 18 2 indigo jules 24 4 ember dina 21 28 birch bruno 15 6 delta kim 22 27 cobalt alice 8 13 harbor eli 14 3 ember gus 10 28 birch bruno 21 4 cobalt
alice 20 jules 28 dina 49 bruno 21 kim 49 alice 21 eli 17 gus 38 bruno 25
dina 26 17 delta lina 25 2 indigo farah 3 15 harbor gus 19 21 harbor eli 7 3 indigo dina 17 18 fable gus 28 6 grove alice 25 25 indigo hana 19 3 juniper eli 16 8 juniper
dina 43 lina 27 farah 18 gus 40 eli 10 dina 35 gus 34 alice 50 hana 22 eli 24
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037459
qwen/qwen3.7-plus
awkweave-0037460
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
chen 3 gus 2 kim 22 farah 7 bruno 11 jules 12 hana 16 jules 20 jules 13 jules 2
chen fail gus fail kim fail farah fail bruno fail jules fail hana fail jules fail jules fail jules fail
hana 8 chen 16 ivan 19 kim 28 lina 9 jules 6
hana fail chen fail ivan fail kim pass lina fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037460-p1
Output the first column; if the second column is 24 or higher, output 'pass', otherwise output 'fail'.
{print $1,($2>=24?"pass":"fail")}
chen 3 gus 2 kim 22 farah 7 bruno 11 jules 12 hana 16 jules 20 jules 13 jules 2
chen fail gus fail kim fail farah fail bruno fail jules fail hana fail jules fail jules fail jules fail
hana 8 chen 16 ivan 19 kim 28 lina 9 jules 6
hana fail chen fail ivan fail kim pass lina fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037460
qwen/qwen3.7-plus
awkweave-0037461
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina indigo 66 eli fable 116 kim cobalt 42 ivan harbor 101 kim delta 110 jules harbor 46 kim harbor 9 bruno ember 20
DINA ELI KIM IVAN KIM JULES KIM BRUNO
jules grove 65 dina ember 106 eli birch 11 kim harbor 18 lina birch 61 bruno birch 43 jules delta 73 hana harbor 89 kim birch 98 farah amber 52
JULES DINA ELI KIM LINA BRUNO JULES HANA KIM FARAH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037461-p1
Transform the first column to uppercase and display only that column.
{print toupper($1)}
dina indigo 66 eli fable 116 kim cobalt 42 ivan harbor 101 kim delta 110 jules harbor 46 kim harbor 9 bruno ember 20
DINA ELI KIM IVAN KIM JULES KIM BRUNO
jules grove 65 dina ember 106 eli birch 11 kim harbor 18 lina birch 61 bruno birch 43 jules delta 73 hana harbor 89 kim birch 98 farah amber 52
JULES DINA ELI KIM LINA BRUNO JULES HANA KIM FARAH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037461
qwen/qwen3.7-plus
awkweave-0037462
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
ember 114 fable 76 birch 88 cobalt 45 delta 101 juniper 16 birch 43 ember 2 fable 79 grove 29
mb ab ir ob el un ir mb ab ro
harbor 98 fable 79 birch 87 fable 54 amber 8 amber 103
ar ab ir ab mb mb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037462-p1
Extract and print a 2-character substring from the first column, starting at the second character.
{print substr($1,2,2)}
ember 114 fable 76 birch 88 cobalt 45 delta 101 juniper 16 birch 43 ember 2 fable 79 grove 29
mb ab ir ob el un ir mb ab ro
harbor 98 fable 79 birch 87 fable 54 amber 8 amber 103
ar ab ir ab mb mb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037462
qwen/qwen3.7-plus
awkweave-0037463
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_birch 73 harbor_juniper 113 birch_juniper 102 birch_cobalt 102 delta_fable 87 cobalt_grove 66 juniper_indigo 110 grove_grove 96 ember_indigo 7
juniper birch harbor juniper birch juniper birch cobalt delta fable cobalt grove juniper indigo grove grove ember indigo
cobalt_ember 10 ember_grove 67 grove_juniper 72 harbor_fable 1 indigo_grove 41 fable_grove 72 amber_juniper 80 ember_harbor 62 birch_grove 76 indigo_delta 119
cobalt ember ember grove grove juniper harbor fable indigo grove fable grove amber juniper ember harbor birch grove indigo delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037463-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
juniper_birch 73 harbor_juniper 113 birch_juniper 102 birch_cobalt 102 delta_fable 87 cobalt_grove 66 juniper_indigo 110 grove_grove 96 ember_indigo 7
juniper birch harbor juniper birch juniper birch cobalt delta fable cobalt grove juniper indigo grove grove ember indigo
cobalt_ember 10 ember_grove 67 grove_juniper 72 harbor_fable 1 indigo_grove 41 fable_grove 72 amber_juniper 80 ember_harbor 62 birch_grove 76 indigo_delta 119
cobalt ember ember grove grove juniper harbor fable indigo grove fable grove amber juniper ember harbor birch grove indigo delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037463
qwen/qwen3.7-plus
awkweave-0037464
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)}
dina grove 1 closed farah delta 66 paused alice juniper 39 paused kim birch 2 failed kim delta 116 closed bruno cobalt 114 closed gus harbor 20 active dina delta 64 paused lina juniper 76 ready farah fable 107 paused
closed 1 grove dina paused 66 delta farah paused 39 juniper alice failed 2 birch kim closed 116 delta kim closed 114 cobalt bruno active 20 harbor gus paused 64 delta dina ready 76 juniper lina paused 107 fable farah
alice indigo 75 pending gus indigo 17 pending farah fable 61 closed kim amber 107 active jules amber 40 paused hana cobalt 95 failed jules delta 68 failed
pending 75 indigo alice pending 17 indigo gus closed 61 fable farah active 107 amber kim paused 40 amber jules failed 95 cobalt hana failed 68 delta jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037464-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)}
dina grove 1 closed farah delta 66 paused alice juniper 39 paused kim birch 2 failed kim delta 116 closed bruno cobalt 114 closed gus harbor 20 active dina delta 64 paused lina juniper 76 ready farah fable 107 paused
closed 1 grove dina paused 66 delta farah paused 39 juniper alice failed 2 birch kim closed 116 delta kim closed 114 cobalt bruno active 20 harbor gus paused 64 delta dina ready 76 juniper lina paused 107 fable farah
alice indigo 75 pending gus indigo 17 pending farah fable 61 closed kim amber 107 active jules amber 40 paused hana cobalt 95 failed jules delta 68 failed
pending 75 indigo alice pending 17 indigo gus closed 61 fable farah active 107 amber kim paused 40 amber jules failed 95 cobalt hana failed 68 delta jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037464
qwen/qwen3.7-plus
awkweave-0037465
Print the number of whitespace-separated fields on each line.
{print NF}
hana indigo 95 ready gus fable 45 ready hana birch 2 active dina fable 54 pending dina fable 53 pending bruno fable 104 paused lina fable 14 paused
4 4 4 4 4 4 4
dina delta 6 ready chen juniper 38 ready gus amber 62 pending lina amber 16 paused jules juniper 48 closed dina indigo 68 failed kim indigo 101 failed
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037465-p1
Print the count of whitespace-delimited fields for every line.
{print NF}
hana indigo 95 ready gus fable 45 ready hana birch 2 active dina fable 54 pending dina fable 53 pending bruno fable 104 paused lina fable 14 paused
4 4 4 4 4 4 4
dina delta 6 ready chen juniper 38 ready gus amber 62 pending lina amber 16 paused jules juniper 48 closed dina indigo 68 failed kim indigo 101 failed
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037465
qwen/qwen3.7-plus
awkweave-0037466
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]]}
hana alpha 39 hana delta 3 eli gamma 29 gus alpha 18 farah delta 105 farah beta 61 bruno beta 93 chen delta 37 lina alpha 40 lina beta 40
alpha 3 delta 3 gamma 1 beta 3
ivan alpha 120 kim beta 61 bruno gamma 103 lina gamma 61 alice beta 106 dina gamma 34 dina alpha 102 bruno alpha 39
alpha 3 beta 2 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037466-p1
Tally the records for each unique value in the second column. Output each value alongside its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana alpha 39 hana delta 3 eli gamma 29 gus alpha 18 farah delta 105 farah beta 61 bruno beta 93 chen delta 37 lina alpha 40 lina beta 40
alpha 3 delta 3 gamma 1 beta 3
ivan alpha 120 kim beta 61 bruno gamma 103 lina gamma 61 alice beta 106 dina gamma 34 dina alpha 102 bruno alpha 39
alpha 3 beta 2 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037466
qwen/qwen3.7-plus
awkweave-0037467
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
hana gamma 20 dina beta 3 dina gamma 10 eli beta 10 ivan beta 13 farah beta 13 hana gamma 26 ivan gamma 17 chen beta 19
gamma 73 beta 58
farah alpha 7 hana gamma 16 jules beta 5 farah delta 19 chen alpha 9 gus gamma 21 farah delta 13
alpha 16 gamma 37 beta 5 delta 32
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037467-p1
Calculate the sum of the third column for each group defined by the second column, printing the results in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
hana gamma 20 dina beta 3 dina gamma 10 eli beta 10 ivan beta 13 farah beta 13 hana gamma 26 ivan gamma 17 chen beta 19
gamma 73 beta 58
farah alpha 7 hana gamma 16 jules beta 5 farah delta 19 chen alpha 9 gus gamma 21 farah delta 13
alpha 16 gamma 37 beta 5 delta 32
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037467
qwen/qwen3.7-plus
awkweave-0037468
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 cobalt 14 beta juniper 82 alpha delta 7 gamma delta 33 alpha cobalt 29 alpha ember 52
alpha 4
alpha juniper 42 delta grove 89 beta delta 38 gamma delta 77 beta juniper 97 delta amber 66 delta birch 63 alpha ember 84 gamma juniper 59 beta birch 79
alpha 2 delta 3 beta 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037468-p1
List each duplicate value from the first column along with its occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha cobalt 14 beta juniper 82 alpha delta 7 gamma delta 33 alpha cobalt 29 alpha ember 52
alpha 4
alpha juniper 42 delta grove 89 beta delta 38 gamma delta 77 beta juniper 97 delta amber 66 delta birch 63 alpha ember 84 gamma juniper 59 beta birch 79
alpha 2 delta 3 beta 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037468
qwen/qwen3.7-plus
awkweave-0037469
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name score note region r001 jules 23 active r002 alice 14 pending r003 hana 24 pending r004 eli 29 pending r005 kim 17 closed r006 jules 14 ready
active pending pending pending closed ready
display_name score note region r001 ivan 14 pending r002 alice 24 failed r003 gus 15 paused r004 gus 8 pending r005 farah 15 active r006 bruno 28 pending r007 bruno 20 ready r008 dina 13 ready r009 lina 8 failed r010 chen 12 ready
pending failed paused pending active pending ready ready failed ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037469-p1
Skip the header row and print the 'region' column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name score note region r001 jules 23 active r002 alice 14 pending r003 hana 24 pending r004 eli 29 pending r005 kim 17 closed r006 jules 14 ready
active pending pending pending closed ready
display_name score note region r001 ivan 14 pending r002 alice 24 failed r003 gus 15 paused r004 gus 8 pending r005 farah 15 active r006 bruno 28 pending r007 bruno 20 ready r008 dina 13 ready r009 lina 8 failed r010 chen 12 ready
pending failed paused pending active pending ready ready failed ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037469
qwen/qwen3.7-plus
awkweave-0037470
The first row is a header. Print display_name for data rows whose score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 gus 8 closed r002 dina 4 active r003 dina 10 paused r004 dina 13 active r005 eli 22 active r006 alice 5 closed r007 bruno 25 pending r008 jules 29 failed r009 chen 18 failed r010 bruno 7 active
eli bruno jules
record_id display_name score state r001 farah 10 pending r002 bruno 23 active r003 bruno 30 ready r004 hana 5 closed r005 ivan 9 ready r006 gus 19 ready r007 bruno 7 paused r008 dina 25 active r009 eli 25 paused r010 bruno 25 closed
bruno bruno dina eli bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037470-p1
Ignore the header row and print the 'display_name' column for data rows where the 'score' exceeds 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 gus 8 closed r002 dina 4 active r003 dina 10 paused r004 dina 13 active r005 eli 22 active r006 alice 5 closed r007 bruno 25 pending r008 jules 29 failed r009 chen 18 failed r010 bruno 7 active
eli bruno jules
record_id display_name score state r001 farah 10 pending r002 bruno 23 active r003 bruno 30 ready r004 hana 5 closed r005 ivan 9 ready r006 gus 19 ready r007 bruno 7 paused r008 dina 25 active r009 eli 25 paused r010 bruno 25 closed
bruno bruno dina eli bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037470
qwen/qwen3.7-plus
awkweave-0037471
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 24 failed gus 29 closed dina 25 active dina 17 active alice 12 closed hana 5 paused
24 29 25 17 12 5
eli 20 active gus 18 paused hana 2 ready chen 22 closed hana 9 active ivan 14 failed chen 2 active dina 2 closed lina 1 failed alice 4 paused
20 18 2 22 9 14 2 2 1 4
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037471-p1
Given tab-separated input, output the second column for every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 24 failed gus 29 closed dina 25 active dina 17 active alice 12 closed hana 5 paused
24 29 25 17 12 5
eli 20 active gus 18 paused hana 2 ready chen 22 closed hana 9 active ivan 14 failed chen 2 active dina 2 closed lina 1 failed alice 4 paused
20 18 2 22 9 14 2 2 1 4
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037471
qwen/qwen3.7-plus
awkweave-0037472
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
kim,4,closed kim,27,closed chen,17,paused bruno,21,active chen,18,active jules,10,failed gus,3,paused dina,17,ready kim,9,paused alice,16,ready
kim chen bruno chen dina alice
bruno,28,paused jules,10,ready hana,29,closed alice,3,failed dina,20,ready alice,11,paused farah,20,failed kim,13,failed farah,7,ready bruno,2,ready
bruno hana dina farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037472-p1
Given comma-separated input without quoted commas, output the first column whenever the second column is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
kim,4,closed kim,27,closed chen,17,paused bruno,21,active chen,18,active jules,10,failed gus,3,paused dina,17,ready kim,9,paused alice,16,ready
kim chen bruno chen dina alice
bruno,28,paused jules,10,ready hana,29,closed alice,3,failed dina,20,ready alice,11,paused farah,20,failed kim,13,failed farah,7,ready bruno,2,ready
bruno hana dina farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037472
qwen/qwen3.7-plus
awkweave-0037473
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules birch 97 kim grove 15 ivan birch 120 kim ember 19 eli cobalt 23 lina ember 24 bruno ember 113 gus amber 90
jules birch 97 kim grove 15 ivan birch 120 kim ember 19 eli cobalt 23 lina ember 24 bruno ember 113 gus amber 90
gus grove 58 dina amber 8 eli cobalt 54 alice birch 25 gus ember 23 eli fable 16 jules harbor 39 chen fable 107
gus grove 58 dina amber 8 eli cobalt 54 alice birch 25 gus ember 23 eli fable 16 jules harbor 39 chen fable 107
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037473-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
jules birch 97 kim grove 15 ivan birch 120 kim ember 19 eli cobalt 23 lina ember 24 bruno ember 113 gus amber 90
jules birch 97 kim grove 15 ivan birch 120 kim ember 19 eli cobalt 23 lina ember 24 bruno ember 113 gus amber 90
gus grove 58 dina amber 8 eli cobalt 54 alice birch 25 gus ember 23 eli fable 16 jules harbor 39 chen fable 107
gus grove 58 dina amber 8 eli cobalt 54 alice birch 25 gus ember 23 eli fable 16 jules harbor 39 chen fable 107
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037473
qwen/qwen3.7-plus
awkweave-0037474
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 14 active hana cobalt 79 failed alice amber 86 closed bruno indigo 3 pending farah harbor 119 pending bruno amber 89 closed chen delta 74 paused
farah harbor 119 pending
farah fable 17 closed eli indigo 34 paused eli amber 86 ready alice amber 97 pending kim harbor 97 closed gus juniper 99 pending eli fable 29 ready bruno harbor 42 closed dina juniper 87 closed jules delta 81 failed
alice amber 97 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037474-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 14 active hana cobalt 79 failed alice amber 86 closed bruno indigo 3 pending farah harbor 119 pending bruno amber 89 closed chen delta 74 paused
farah harbor 119 pending
farah fable 17 closed eli indigo 34 paused eli amber 86 ready alice amber 97 pending kim harbor 97 closed gus juniper 99 pending eli fable 29 ready bruno harbor 42 closed dina juniper 87 closed jules delta 81 failed
alice amber 97 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037474
qwen/qwen3.7-plus
awkweave-0037475
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
farah 20 farah 80 jules 49 farah 111 farah 106 dina 30 jules 61 lina 13
farah 20 farah 106
ivan 96 ivan 58 farah 57 lina 57 ivan 8 chen 84 jules 67 dina 44 ivan 79
ivan 96 ivan 8 ivan 79
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037475-p1
Output every fourth line beginning with the first line (i.e., lines 1, 5, 9, etc.).
NR%4==1
farah 20 farah 80 jules 49 farah 111 farah 106 dina 30 jules 61 lina 13
farah 20 farah 106
ivan 96 ivan 58 farah 57 lina 57 ivan 8 chen 84 jules 67 dina 44 ivan 79
ivan 96 ivan 8 ivan 79
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037475
qwen/qwen3.7-plus
awkweave-0037476
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 15 delta fable 69 gamma harbor 74 alpha amber 93 gamma birch 25 alpha delta 32 gamma delta 71
6
beta birch 26 delta birch 115 beta amber 2 alpha grove 46 alpha birch 90 alpha delta 15 beta fable 62 delta ember 87 alpha juniper 88 delta indigo 20
8
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037476-p1
Calculate the number of unique values in the second column and display only that total count.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 15 delta fable 69 gamma harbor 74 alpha amber 93 gamma birch 25 alpha delta 32 gamma delta 71
6
beta birch 26 delta birch 115 beta amber 2 alpha grove 46 alpha birch 90 alpha delta 15 beta fable 62 delta ember 87 alpha juniper 88 delta indigo 20
8
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037476
qwen/qwen3.7-plus
awkweave-0037477
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}
jules 13 0 chen 10 6 dina 7 28 farah 5 30 eli 22 4 alice 15 16 bruno 23 9 ivan 13 19 bruno 26 29
chen 1.67 dina 0.25 farah 0.17 eli 5.50 alice 0.94 bruno 2.56 ivan 0.68 bruno 0.90
ivan 25 0 jules 14 24 alice 19 20 jules 12 1 eli 11 16 farah 23 5
jules 0.58 alice 0.95 jules 12.00 eli 0.69 farah 4.60
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037477-p1
For each record, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 13 0 chen 10 6 dina 7 28 farah 5 30 eli 22 4 alice 15 16 bruno 23 9 ivan 13 19 bruno 26 29
chen 1.67 dina 0.25 farah 0.17 eli 5.50 alice 0.94 bruno 2.56 ivan 0.68 bruno 0.90
ivan 25 0 jules 14 24 alice 19 20 jules 12 1 eli 11 16 farah 23 5
jules 0.58 alice 0.95 jules 12.00 eli 0.69 farah 4.60
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037477
qwen/qwen3.7-plus
awkweave-0037478
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]}
gus birch 4 farah delta 3 dina ember 1 dina birch 17 kim delta 10 dina delta 25 ivan juniper 6 ivan fable 27
ivan fable 27 dina delta 25 dina birch 17
kim delta 19 ivan indigo 20 eli grove 24 kim grove 9 jules harbor 8 lina juniper 10
eli grove 24 ivan indigo 20 kim delta 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037478-p1
Display the top three records based on the highest numeric values in the third column, sorted in descending order, while maintaining 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]}
gus birch 4 farah delta 3 dina ember 1 dina birch 17 kim delta 10 dina delta 25 ivan juniper 6 ivan fable 27
ivan fable 27 dina delta 25 dina birch 17
kim delta 19 ivan indigo 20 eli grove 24 kim grove 9 jules harbor 8 lina juniper 10
eli grove 24 ivan indigo 20 kim delta 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037478
qwen/qwen3.7-plus
awkweave-0037479
Select the 4th and 1st fields in that order.
{print $4, $1}
birch bruno kim 119 juniper jules ivan 61 harbor lina alice 53 birch ivan farah 98 ember eli ivan 3 birch gus farah 48 delta lina gus 103 grove eli dina 89 birch kim ivan 44 birch hana jules 32
119 birch 61 juniper 53 harbor 98 birch 3 ember 48 birch 103 delta 89 grove 44 birch 32 birch
amber dina alice 20 cobalt hana alice 80 birch hana lina 73 harbor farah jules 34 harbor chen bruno 92 grove chen bruno 19 delta dina lina 110 juniper ivan eli 120 harbor jules kim 9 indigo alice hana 114
20 amber 80 cobalt 73 birch 34 harbor 92 harbor 19 grove 110 delta 120 juniper 9 harbor 114 indigo
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037479-p1
Extract and print the fourth field followed by the first field, in that specific sequence.
{print $4, $1}
birch bruno kim 119 juniper jules ivan 61 harbor lina alice 53 birch ivan farah 98 ember eli ivan 3 birch gus farah 48 delta lina gus 103 grove eli dina 89 birch kim ivan 44 birch hana jules 32
119 birch 61 juniper 53 harbor 98 birch 3 ember 48 birch 103 delta 89 grove 44 birch 32 birch
amber dina alice 20 cobalt hana alice 80 birch hana lina 73 harbor farah jules 34 harbor chen bruno 92 grove chen bruno 19 delta dina lina 110 juniper ivan eli 120 harbor jules kim 9 indigo alice hana 114
20 amber 80 cobalt 73 birch 34 harbor 92 harbor 19 grove 110 delta 120 juniper 9 harbor 114 indigo
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037479
qwen/qwen3.7-plus
awkweave-0037480
Print the last field of every input line.
{print $NF}
failed dina ivan bruno 67 ember lina ready alice gus jules 83 birch eli paused bruno alice farah 112 amber chen paused jules kim hana 16 ember jules closed eli kim chen 89 harbor gus active ivan jules alice 116 ember bruno
lina eli chen jules gus bruno
active farah alice lina 90 fable gus closed kim eli farah 97 birch ivan ready hana chen eli 119 delta lina ready alice eli hana 109 juniper hana pending chen bruno jules 24 harbor dina failed eli chen lina 6 harbor jules
gus ivan lina hana dina jules
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037480-p1
Output the final field from every line of the input.
{print $NF}
failed dina ivan bruno 67 ember lina ready alice gus jules 83 birch eli paused bruno alice farah 112 amber chen paused jules kim hana 16 ember jules closed eli kim chen 89 harbor gus active ivan jules alice 116 ember bruno
lina eli chen jules gus bruno
active farah alice lina 90 fable gus closed kim eli farah 97 birch ivan ready hana chen eli 119 delta lina ready alice eli hana 109 juniper hana pending chen bruno jules 24 harbor dina failed eli chen lina 6 harbor jules
gus ivan lina hana dina jules
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037480
qwen/qwen3.7-plus
awkweave-0037481
Print the complete records where column 1 is at least 62.
$1 >= 62
35 indigo delta 51 harbor amber 54 juniper juniper 17 juniper ember 50 grove delta 99 delta indigo 117 harbor cobalt 93 delta fable
99 delta indigo 117 harbor cobalt 93 delta fable
92 delta delta 61 harbor birch 38 cobalt harbor 59 indigo amber 3 juniper delta 112 delta grove 119 delta grove 26 cobalt fable
92 delta delta 112 delta grove 119 delta grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037481-p1
Print the full records for which the value in the first column is 62 or higher.
$1 >= 62
35 indigo delta 51 harbor amber 54 juniper juniper 17 juniper ember 50 grove delta 99 delta indigo 117 harbor cobalt 93 delta fable
99 delta indigo 117 harbor cobalt 93 delta fable
92 delta delta 61 harbor birch 38 cobalt harbor 59 indigo amber 3 juniper delta 112 delta grove 119 delta grove 26 cobalt fable
92 delta delta 112 delta grove 119 delta grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037481
qwen/qwen3.7-plus
awkweave-0037482
Show whole lines whose 1st field is between 8 and 26, inclusive.
$1 >= 8 && $1 <= 26
29 cobalt active pending 27 birch ready paused 29 birch paused paused 2 grove failed closed 29 harbor active active 15 grove paused pending
15 grove paused pending
14 fable pending active 5 grove pending closed 9 amber active pending 1 ember paused failed 30 birch failed paused 2 juniper failed closed 24 ember failed pending 2 amber failed paused
14 fable pending active 9 amber active pending 24 ember failed pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037482-p1
Display entire lines where the first field falls within the inclusive range of 8 to 26.
$1 >= 8 && $1 <= 26
29 cobalt active pending 27 birch ready paused 29 birch paused paused 2 grove failed closed 29 harbor active active 15 grove paused pending
15 grove paused pending
14 fable pending active 5 grove pending closed 9 amber active pending 1 ember paused failed 30 birch failed paused 2 juniper failed closed 24 ember failed pending 2 amber failed paused
14 fable pending active 9 amber active pending 24 ember failed pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037482
qwen/qwen3.7-plus
awkweave-0037483
Print column 2 only for rows where column 4 is exactly paused.
$4 == "paused"{print $2}
delta alice 33 paused fable farah 24 closed delta chen 60 failed indigo lina 114 failed delta dina 41 failed indigo alice 102 active ember ivan 48 active cobalt chen 26 failed harbor farah 75 failed ember hana 47 pending
alice
juniper bruno 73 ready amber gus 50 pending cobalt lina 17 closed cobalt lina 38 ready cobalt chen 39 closed fable ivan 44 ready ember eli 94 paused grove hana 49 pending amber hana 119 closed
eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037483-p1
Output only the second column for those rows where the fourth column contains the exact value 'paused'.
$4 == "paused"{print $2}
delta alice 33 paused fable farah 24 closed delta chen 60 failed indigo lina 114 failed delta dina 41 failed indigo alice 102 active ember ivan 48 active cobalt chen 26 failed harbor farah 75 failed ember hana 47 pending
alice
juniper bruno 73 ready amber gus 50 pending cobalt lina 17 closed cobalt lina 38 ready cobalt chen 39 closed fable ivan 44 ready ember eli 94 paused grove hana 49 pending amber hana 119 closed
eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037483
qwen/qwen3.7-plus
awkweave-0037484
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
delta INFO 95 ember INFO 40 juniper INFO 2 fable WARN 79 cobalt DEBUG 112 juniper INFO 120 amber INFO 57
fable WARN 79
harbor DEBUG 22 indigo ERROR 81 cobalt INFO 76 ember INFO 44 delta WARN 30 juniper WARN 64 juniper WARN 71 indigo WARN 84 juniper WARN 79
delta WARN 30 juniper WARN 64 juniper WARN 71 indigo WARN 84 juniper WARN 79
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037484-p1
Output all fields from rows where the second field starts with WARN.
$2 ~ /^WARN/
delta INFO 95 ember INFO 40 juniper INFO 2 fable WARN 79 cobalt DEBUG 112 juniper INFO 120 amber INFO 57
fable WARN 79
harbor DEBUG 22 indigo ERROR 81 cobalt INFO 76 ember INFO 44 delta WARN 30 juniper WARN 64 juniper WARN 71 indigo WARN 84 juniper WARN 79
delta WARN 30 juniper WARN 64 juniper WARN 71 indigo WARN 84 juniper WARN 79
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037484
qwen/qwen3.7-plus
awkweave-0037485
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
birch 25 closed juniper 29 active harbor 77 active delta 94 closed harbor 59 active indigo 11 closed cobalt 72 active indigo 999 active
birch 25 closed juniper 29 active harbor 77 active delta 94 closed harbor 59 active cobalt 72 active
birch 53 paused birch 93 pending delta 60 closed grove 73 active indigo 44 paused indigo 120 active indigo 94 failed harbor 58 failed harbor 92 failed delta 87 paused indigo 999 active
birch 53 paused birch 93 pending delta 60 closed grove 73 active harbor 58 failed harbor 92 failed delta 87 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037485-p1
Display every line that does not contain the exact string indigo.
$0 !~ /indigo/
birch 25 closed juniper 29 active harbor 77 active delta 94 closed harbor 59 active indigo 11 closed cobalt 72 active indigo 999 active
birch 25 closed juniper 29 active harbor 77 active delta 94 closed harbor 59 active cobalt 72 active
birch 53 paused birch 93 pending delta 60 closed grove 73 active indigo 44 paused indigo 120 active indigo 94 failed harbor 58 failed harbor 92 failed delta 87 paused indigo 999 active
birch 53 paused birch 93 pending delta 60 closed grove 73 active harbor 58 failed harbor 92 failed delta 87 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037485
qwen/qwen3.7-plus
awkweave-0037486
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
dina grove 98 chen harbor 53 jules amber 25 alice cobalt 47 bruno delta 74 ivan indigo 118 bruno cobalt 15
chen harbor 53 jules amber 25
lina grove 8 farah harbor 64 hana amber 97 hana birch 79 eli fable 4 dina indigo 104 hana amber 100
farah harbor 64 hana amber 97
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037486-p1
Show lines 2 to 3, inclusive.
NR >= 2 && NR <= 3
dina grove 98 chen harbor 53 jules amber 25 alice cobalt 47 bruno delta 74 ivan indigo 118 bruno cobalt 15
chen harbor 53 jules amber 25
lina grove 8 farah harbor 64 hana amber 97 hana birch 79 eli fable 4 dina indigo 104 hana amber 100
farah harbor 64 hana amber 97
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037486
qwen/qwen3.7-plus
awkweave-0037487
Output only the first 4 records.
NR <= 4
farah 33 amber bruno 22 amber lina 108 amber farah 120 juniper dina 32 birch jules 116 harbor chen 30 fable ivan 94 amber
farah 33 amber bruno 22 amber lina 108 amber farah 120 juniper
chen 43 harbor alice 47 cobalt lina 33 juniper dina 59 amber lina 15 grove bruno 91 indigo
chen 43 harbor alice 47 cobalt lina 33 juniper dina 59 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037487-p1
Print only the first 4 records.
NR <= 4
farah 33 amber bruno 22 amber lina 108 amber farah 120 juniper dina 32 birch jules 116 harbor chen 30 fable ivan 94 amber
farah 33 amber bruno 22 amber lina 108 amber farah 120 juniper
chen 43 harbor alice 47 cobalt lina 33 juniper dina 59 amber lina 15 grove bruno 91 indigo
chen 43 harbor alice 47 cobalt lina 33 juniper dina 59 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037487
qwen/qwen3.7-plus
awkweave-0037488
Skip the first line and print every remaining line unchanged.
NR > 1
lina 18 indigo ivan 18 indigo kim 34 birch chen 31 fable gus 92 amber ivan 72 ember lina 71 indigo
ivan 18 indigo kim 34 birch chen 31 fable gus 92 amber ivan 72 ember lina 71 indigo
jules 117 ember kim 94 delta jules 31 fable lina 27 grove jules 10 grove kim 29 amber hana 107 cobalt bruno 28 harbor bruno 48 fable
kim 94 delta jules 31 fable lina 27 grove jules 10 grove kim 29 amber hana 107 cobalt bruno 28 harbor bruno 48 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037488-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
lina 18 indigo ivan 18 indigo kim 34 birch chen 31 fable gus 92 amber ivan 72 ember lina 71 indigo
ivan 18 indigo kim 34 birch chen 31 fable gus 92 amber ivan 72 ember lina 71 indigo
jules 117 ember kim 94 delta jules 31 fable lina 27 grove jules 10 grove kim 29 amber hana 107 cobalt bruno 28 harbor bruno 48 fable
kim 94 delta jules 31 fable lina 27 grove jules 10 grove kim 29 amber hana 107 cobalt bruno 28 harbor bruno 48 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037488
qwen/qwen3.7-plus
awkweave-0037489
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
chen pending 52 ivan pending 33 eli failed 75 gus closed 93 hana pending 12 jules ready 56 alice failed 63
3
farah failed 89 hana ready 31 gus failed 84 hana active 45 eli failed 79 eli ready 28
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037489-p1
Count the number of records with pending in the second column; output 0 if none exist.
$2 == "pending"{n++}END{print n+0}
chen pending 52 ivan pending 33 eli failed 75 gus closed 93 hana pending 12 jules ready 56 alice failed 63
3
farah failed 89 hana ready 31 gus failed 84 hana active 45 eli failed 79 eli ready 28
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037489
qwen/qwen3.7-plus
awkweave-0037500
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
hana harbor 69 hana juniper 96 ivan fable 115 kim birch 66 gus grove 9 gus juniper 77 jules ember 51 eli ember 106 alice fable 35 ivan delta 73
HANA HANA IVAN KIM GUS GUS JULES ELI ALICE IVAN
lina delta 32 kim fable 113 alice cobalt 53 hana fable 23 dina cobalt 17 gus grove 111 ivan delta 27 gus cobalt 53 kim cobalt 62
LINA KIM ALICE HANA DINA GUS IVAN GUS KIM
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037500-p1
Transform the first column to uppercase and display only that column.
{print toupper($1)}
hana harbor 69 hana juniper 96 ivan fable 115 kim birch 66 gus grove 9 gus juniper 77 jules ember 51 eli ember 106 alice fable 35 ivan delta 73
HANA HANA IVAN KIM GUS GUS JULES ELI ALICE IVAN
lina delta 32 kim fable 113 alice cobalt 53 hana fable 23 dina cobalt 17 gus grove 111 ivan delta 27 gus cobalt 53 kim cobalt 62
LINA KIM ALICE HANA DINA GUS IVAN GUS KIM
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037500
qwen/qwen3.7-plus
awkweave-0037501
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
birch 5 birch 101 birch 27 cobalt 102 fable 24 harbor 91 indigo 14 indigo 110 delta 113
rch rch rch balt ble rbor digo digo lta
fable 19 birch 96 harbor 96 ember 89 grove 98 amber 113 birch 32 delta 41 ember 25
ble rch rbor ber ove ber rch lta ber
substring
1
train
original-grammar
CC-BY-4.0
null
null