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-0010220-p1
Print the full records for all rows where the value in column 1 is greater than or equal to 56.
$1 >= 56
100 active indigo juniper kim 29 paused amber grove farah 97 paused grove birch chen 83 ready delta cobalt chen 37 active amber ember eli 58 failed delta cobalt dina 113 failed birch birch gus 39 ready juniper amber chen
100 active indigo juniper kim 97 paused grove birch chen 83 ready delta cobalt chen 58 failed delta cobalt dina 113 failed birch birch gus
5 closed juniper amber ivan 0 active grove indigo eli 90 active fable harbor eli 8 failed ember indigo kim 92 closed cobalt juniper jules 54 ready fable harbor hana 91 ready birch grove ivan 31 active birch delta jules 84 pending cobalt ember lina
90 active fable harbor eli 92 closed cobalt juniper jules 91 ready birch grove ivan 84 pending cobalt ember lina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010220
qwen/qwen3.7-plus
awkweave-0010221
Show whole lines whose 2nd field is between 7 and 21, inclusive.
$2 >= 7 && $2 <= 21
harbor 27 kim chen birch 7 ivan farah cobalt 26 dina alice ember 4 kim chen ember 9 hana hana delta 27 farah gus ember 15 eli kim indigo 17 kim alice indigo 13 gus eli
birch 7 ivan farah ember 9 hana hana ember 15 eli kim indigo 17 kim alice indigo 13 gus eli
indigo 8 alice dina harbor 11 chen kim grove 9 farah gus cobalt 10 dina hana harbor 23 ivan farah delta 1 ivan ivan
indigo 8 alice dina harbor 11 chen kim grove 9 farah gus cobalt 10 dina hana
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010221-p1
Display entire lines where the second field falls within the inclusive range of 7 to 21.
$2 >= 7 && $2 <= 21
harbor 27 kim chen birch 7 ivan farah cobalt 26 dina alice ember 4 kim chen ember 9 hana hana delta 27 farah gus ember 15 eli kim indigo 17 kim alice indigo 13 gus eli
birch 7 ivan farah ember 9 hana hana ember 15 eli kim indigo 17 kim alice indigo 13 gus eli
indigo 8 alice dina harbor 11 chen kim grove 9 farah gus cobalt 10 dina hana harbor 23 ivan farah delta 1 ivan ivan
indigo 8 alice dina harbor 11 chen kim grove 9 farah gus cobalt 10 dina hana
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010221
qwen/qwen3.7-plus
awkweave-0010222
Print column 1 only for rows where column 4 is exactly pending.
$4 == "pending"{print $1}
jules 7 grove paused lina 69 cobalt failed jules 19 indigo active jules 28 cobalt pending bruno 118 delta paused farah 108 grove paused jules 26 grove pending gus 112 amber failed
jules jules
alice 14 grove ready ivan 73 ember active bruno 115 amber pending jules 37 grove active eli 105 harbor paused ivan 110 birch paused eli 45 birch active chen 37 ember ready
bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010222-p1
Output only the first column for rows where the fourth column contains exactly the value pending.
$4 == "pending"{print $1}
jules 7 grove paused lina 69 cobalt failed jules 19 indigo active jules 28 cobalt pending bruno 118 delta paused farah 108 grove paused jules 26 grove pending gus 112 amber failed
jules jules
alice 14 grove ready ivan 73 ember active bruno 115 amber pending jules 37 grove active eli 105 harbor paused ivan 110 birch paused eli 45 birch active chen 37 ember ready
bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010222
qwen/qwen3.7-plus
awkweave-0010223
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
amber INFO 77 amber ERROR 106 grove INFO 120 harbor DEBUG 85 harbor INFO 45 ember DEBUG 78
amber INFO 77 grove INFO 120 harbor INFO 45
delta INFO 83 fable DEBUG 43 fable INFO 17 juniper ERROR 120 amber ERROR 63 cobalt INFO 8 cobalt ERROR 49 harbor WARN 118 indigo DEBUG 30 delta WARN 67
delta INFO 83 fable INFO 17 cobalt INFO 8
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010223-p1
Print all fields from any line where the second field starts with the string INFO.
$2 ~ /^INFO/
amber INFO 77 amber ERROR 106 grove INFO 120 harbor DEBUG 85 harbor INFO 45 ember DEBUG 78
amber INFO 77 grove INFO 120 harbor INFO 45
delta INFO 83 fable DEBUG 43 fable INFO 17 juniper ERROR 120 amber ERROR 63 cobalt INFO 8 cobalt ERROR 49 harbor WARN 118 indigo DEBUG 30 delta WARN 67
delta INFO 83 fable INFO 17 cobalt INFO 8
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010223
qwen/qwen3.7-plus
awkweave-0010224
Print every line except those containing the exact text grove.
$0 !~ /grove/
birch 116 paused harbor 98 paused harbor 99 closed ember 52 ready indigo 97 failed fable 23 pending grove 999 active
birch 116 paused harbor 98 paused harbor 99 closed ember 52 ready indigo 97 failed fable 23 pending
cobalt 45 failed amber 71 failed juniper 47 ready juniper 20 ready delta 114 paused cobalt 91 active grove 77 active juniper 57 failed ember 57 ready grove 999 active
cobalt 45 failed amber 71 failed juniper 47 ready juniper 20 ready delta 114 paused cobalt 91 active juniper 57 failed ember 57 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010224-p1
Display all lines that do not contain the exact string grove.
$0 !~ /grove/
birch 116 paused harbor 98 paused harbor 99 closed ember 52 ready indigo 97 failed fable 23 pending grove 999 active
birch 116 paused harbor 98 paused harbor 99 closed ember 52 ready indigo 97 failed fable 23 pending
cobalt 45 failed amber 71 failed juniper 47 ready juniper 20 ready delta 114 paused cobalt 91 active grove 77 active juniper 57 failed ember 57 ready grove 999 active
cobalt 45 failed amber 71 failed juniper 47 ready juniper 20 ready delta 114 paused cobalt 91 active juniper 57 failed ember 57 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010224
qwen/qwen3.7-plus
awkweave-0010225
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
hana delta 91 eli harbor 86 dina grove 88 dina indigo 66 dina juniper 54 bruno juniper 24 alice birch 60 ivan ember 99
dina grove 88 dina indigo 66 dina juniper 54
alice birch 44 chen grove 60 hana grove 54 chen fable 36 jules harbor 60 lina grove 49 jules ember 107 alice cobalt 94 gus juniper 81 dina birch 49
hana grove 54 chen fable 36 jules harbor 60
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010225-p1
Output lines 3 to 5, inclusive of both the start and end lines.
NR >= 3 && NR <= 5
hana delta 91 eli harbor 86 dina grove 88 dina indigo 66 dina juniper 54 bruno juniper 24 alice birch 60 ivan ember 99
dina grove 88 dina indigo 66 dina juniper 54
alice birch 44 chen grove 60 hana grove 54 chen fable 36 jules harbor 60 lina grove 49 jules ember 107 alice cobalt 94 gus juniper 81 dina birch 49
hana grove 54 chen fable 36 jules harbor 60
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010225
qwen/qwen3.7-plus
awkweave-0010226
Output only the first 2 records.
NR <= 2
ivan 54 fable alice 107 cobalt alice 85 birch hana 6 juniper farah 54 birch alice 114 grove
ivan 54 fable alice 107 cobalt
gus 21 delta bruno 57 birch chen 75 harbor bruno 96 ember hana 4 grove gus 49 delta chen 88 delta hana 105 juniper jules 76 delta jules 72 birch
gus 21 delta bruno 57 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010226-p1
Show only the initial 2 records from the input.
NR <= 2
ivan 54 fable alice 107 cobalt alice 85 birch hana 6 juniper farah 54 birch alice 114 grove
ivan 54 fable alice 107 cobalt
gus 21 delta bruno 57 birch chen 75 harbor bruno 96 ember hana 4 grove gus 49 delta chen 88 delta hana 105 juniper jules 76 delta jules 72 birch
gus 21 delta bruno 57 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010226
qwen/qwen3.7-plus
awkweave-0010227
Skip the first line and print every remaining line unchanged.
NR > 1
lina 52 juniper eli 112 delta lina 43 juniper ivan 31 grove gus 33 delta kim 79 amber
eli 112 delta lina 43 juniper ivan 31 grove gus 33 delta kim 79 amber
dina 33 ember kim 90 amber chen 90 juniper ivan 38 juniper farah 105 fable ivan 60 harbor chen 2 ember lina 12 amber
kim 90 amber chen 90 juniper ivan 38 juniper farah 105 fable ivan 60 harbor chen 2 ember lina 12 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010227-p1
Omit the first line and print the rest of the lines exactly as they appear.
NR > 1
lina 52 juniper eli 112 delta lina 43 juniper ivan 31 grove gus 33 delta kim 79 amber
eli 112 delta lina 43 juniper ivan 31 grove gus 33 delta kim 79 amber
dina 33 ember kim 90 amber chen 90 juniper ivan 38 juniper farah 105 fable ivan 60 harbor chen 2 ember lina 12 amber
kim 90 amber chen 90 juniper ivan 38 juniper farah 105 fable ivan 60 harbor chen 2 ember lina 12 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010227
qwen/qwen3.7-plus
awkweave-0010228
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
gus paused 13 hana pending 62 dina pending 1 dina active 118 lina closed 33 gus closed 20 hana ready 61
2
gus active 18 jules active 65 gus closed 119 farah closed 31 ivan closed 89 chen active 18 alice paused 62 kim failed 80 farah active 82
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010228-p1
Tally the number of records where column 2 is closed, outputting 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
gus paused 13 hana pending 62 dina pending 1 dina active 118 lina closed 33 gus closed 20 hana ready 61
2
gus active 18 jules active 65 gus closed 119 farah closed 31 ivan closed 89 chen active 18 alice paused 62 kim failed 80 farah active 82
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010228
qwen/qwen3.7-plus
awkweave-0010229
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
12 amber bruno 9 ember hana 5 fable jules 24 harbor chen 3 delta dina 10 amber chen 16 grove kim 3 harbor eli 16 indigo dina
98
3 cobalt chen 10 fable gus 23 harbor kim 5 harbor eli 13 indigo farah 13 harbor eli 5 juniper ivan 21 cobalt alice 14 cobalt ivan
107
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010229-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
12 amber bruno 9 ember hana 5 fable jules 24 harbor chen 3 delta dina 10 amber chen 16 grove kim 3 harbor eli 16 indigo dina
98
3 cobalt chen 10 fable gus 23 harbor kim 5 harbor eli 13 indigo farah 13 harbor eli 5 juniper ivan 21 cobalt alice 14 cobalt ivan
107
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010229
qwen/qwen3.7-plus
awkweave-0010230
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
28 jules delta 23 kim indigo 12 eli ember 21 kim ember 19 hana amber 29 gus delta 12 dina indigo 21 eli ember 16 ivan harbor 21 dina cobalt
20.20
11 chen ember 13 lina fable 4 kim ember 4 chen cobalt 10 kim ember 6 gus amber 12 bruno harbor 23 bruno harbor 1 gus amber
9.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010230-p1
Calculate the average of column 1 and print it rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
28 jules delta 23 kim indigo 12 eli ember 21 kim ember 19 hana amber 29 gus delta 12 dina indigo 21 eli ember 16 ivan harbor 21 dina cobalt
20.20
11 chen ember 13 lina fable 4 kim ember 4 chen cobalt 10 kim ember 6 gus amber 12 bruno harbor 23 bruno harbor 1 gus amber
9.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010230
qwen/qwen3.7-plus
awkweave-0010231
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 cobalt eli 8 grove lina 9 harbor lina 7 delta jules 29 delta ivan 28 harbor dina 9 grove chen 21 indigo eli
2
28 birch dina 14 birch gus 26 juniper bruno 15 juniper gus 20 fable gus 5 fable chen
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010231-p1
Identify and output the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 cobalt eli 8 grove lina 9 harbor lina 7 delta jules 29 delta ivan 28 harbor dina 9 grove chen 21 indigo eli
2
28 birch dina 14 birch gus 26 juniper bruno 15 juniper gus 20 fable gus 5 fable chen
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010231
qwen/qwen3.7-plus
awkweave-0010232
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
hana cobalt 21 kim amber 29 jules grove 18 gus fable 2 kim delta 2 dina delta 13 ivan cobalt 19 farah ember 25 kim indigo 18 alice fable 3
29
kim grove 5 ivan harbor 18 bruno amber 29 gus amber 19 ivan grove 24 gus birch 12 lina harbor 14 hana juniper 22
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010232-p1
Identify and output the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
hana cobalt 21 kim amber 29 jules grove 18 gus fable 2 kim delta 2 dina delta 13 ivan cobalt 19 farah ember 25 kim indigo 18 alice fable 3
29
kim grove 5 ivan harbor 18 bruno amber 29 gus amber 19 ivan grove 24 gus birch 12 lina harbor 14 hana juniper 22
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010232
qwen/qwen3.7-plus
awkweave-0010233
Count all input records and print the total.
END{print NR}
ivan 7 kim 94 jules 97 chen 64 bruno 1 gus 19 bruno 45 alice 63 lina 111 lina 4
10
ivan 50 chen 29 bruno 52 eli 41 alice 91 kim 41 bruno 13 lina 63 lina 42
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010233-p1
Count the total number of input records and print the result.
END{print NR}
ivan 7 kim 94 jules 97 chen 64 bruno 1 gus 19 bruno 45 alice 63 lina 111 lina 4
10
ivan 50 chen 29 bruno 52 eli 41 alice 91 kim 41 bruno 13 lina 63 lina 42
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010233
qwen/qwen3.7-plus
awkweave-0010234
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli fable 110 ivan juniper 58 ivan juniper 58 farah harbor 12 gus delta 113 ivan fable 71 chen fable 95 farah cobalt 89 ivan indigo 45 lina grove 101 alice birch 104
eli fable 110 ivan juniper 58 farah harbor 12 gus delta 113 ivan fable 71 chen fable 95 farah cobalt 89 ivan indigo 45 lina grove 101 alice birch 104
chen harbor 60 gus birch 84 alice amber 9 chen cobalt 36 chen harbor 60 ivan indigo 81 jules juniper 77
chen harbor 60 gus birch 84 alice amber 9 chen cobalt 36 ivan indigo 81 jules juniper 77
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010234-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
eli fable 110 ivan juniper 58 ivan juniper 58 farah harbor 12 gus delta 113 ivan fable 71 chen fable 95 farah cobalt 89 ivan indigo 45 lina grove 101 alice birch 104
eli fable 110 ivan juniper 58 farah harbor 12 gus delta 113 ivan fable 71 chen fable 95 farah cobalt 89 ivan indigo 45 lina grove 101 alice birch 104
chen harbor 60 gus birch 84 alice amber 9 chen cobalt 36 chen harbor 60 ivan indigo 81 jules juniper 77
chen harbor 60 gus birch 84 alice amber 9 chen cobalt 36 ivan indigo 81 jules juniper 77
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010234
qwen/qwen3.7-plus
awkweave-0010235
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
ivan grove 27 bruno ember 36 lina fable 51 bruno harbor 5 farah grove 89 farah grove 70 farah grove 110 farah birch 102
ivan grove 27 bruno ember 36 lina fable 51 bruno harbor 5 farah birch 102
gus juniper 114 lina harbor 22 eli harbor 32 eli juniper 27 ivan juniper 76 farah juniper 9
gus juniper 114 lina harbor 22
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010235-p1
Retain only the first occurrence of each unique value in column 2, keeping the original input order.
!seen[$2]++
ivan grove 27 bruno ember 36 lina fable 51 bruno harbor 5 farah grove 89 farah grove 70 farah grove 110 farah birch 102
ivan grove 27 bruno ember 36 lina fable 51 bruno harbor 5 farah birch 102
gus juniper 114 lina harbor 22 eli harbor 32 eli juniper 27 ivan juniper 76 farah juniper 9
gus juniper 114 lina harbor 22
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010235
qwen/qwen3.7-plus
awkweave-0010236
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 15 amber hana 8 birch lina 5 indigo gus 2 indigo ivan 25 juniper dina 19 fable
hana 15 hana 23 lina 28 gus 30 ivan 55 dina 74
alice 23 ember ivan 16 harbor alice 26 amber eli 20 ember hana 2 birch dina 14 fable alice 27 cobalt gus 2 indigo hana 17 cobalt
alice 23 ivan 39 alice 65 eli 85 hana 87 dina 101 alice 128 gus 130 hana 147
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010236-p1
Output the first column and the cumulative total of the second column for every record, using a space as the delimiter.
{s+=$2;print $1,s}
hana 15 amber hana 8 birch lina 5 indigo gus 2 indigo ivan 25 juniper dina 19 fable
hana 15 hana 23 lina 28 gus 30 ivan 55 dina 74
alice 23 ember ivan 16 harbor alice 26 amber eli 20 ember hana 2 birch dina 14 fable alice 27 cobalt gus 2 indigo hana 17 cobalt
alice 23 ivan 39 alice 65 eli 85 hana 87 dina 101 alice 128 gus 130 hana 147
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010236
qwen/qwen3.7-plus
awkweave-0010237
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 11 5 delta jules 12 27 amber dina 20 10 indigo farah 18 8 cobalt eli 22 8 ember hana 15 10 amber ivan 4 26 juniper
kim 16 jules 39 dina 30 farah 26 eli 30 hana 25 ivan 30
kim 21 3 ember hana 10 19 harbor dina 1 6 ember farah 5 27 delta lina 19 1 juniper eli 26 26 ember eli 3 21 birch lina 22 1 fable
kim 24 hana 29 dina 7 farah 32 lina 20 eli 52 eli 24 lina 23
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010237-p1
For each line, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 11 5 delta jules 12 27 amber dina 20 10 indigo farah 18 8 cobalt eli 22 8 ember hana 15 10 amber ivan 4 26 juniper
kim 16 jules 39 dina 30 farah 26 eli 30 hana 25 ivan 30
kim 21 3 ember hana 10 19 harbor dina 1 6 ember farah 5 27 delta lina 19 1 juniper eli 26 26 ember eli 3 21 birch lina 22 1 fable
kim 24 hana 29 dina 7 farah 32 lina 20 eli 52 eli 24 lina 23
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010237
qwen/qwen3.7-plus
awkweave-0010238
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
alice 28 gus 16 jules 27 dina 26 ivan 9 alice 27 lina 3
alice pass gus fail jules pass dina pass ivan fail alice pass lina fail
farah 26 ivan 23 farah 28 gus 8 gus 4 eli 19 alice 18 gus 30 dina 25 jules 27
farah pass ivan pass farah pass gus fail gus fail eli fail alice fail gus pass dina pass jules pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010238-p1
Show the first column; if the second column is 23 or greater, output 'pass', otherwise output 'fail'.
{print $1,($2>=23?"pass":"fail")}
alice 28 gus 16 jules 27 dina 26 ivan 9 alice 27 lina 3
alice pass gus fail jules pass dina pass ivan fail alice pass lina fail
farah 26 ivan 23 farah 28 gus 8 gus 4 eli 19 alice 18 gus 30 dina 25 jules 27
farah pass ivan pass farah pass gus fail gus fail eli fail alice fail gus pass dina pass jules pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010238
qwen/qwen3.7-plus
awkweave-0010239
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
ivan juniper 108 kim cobalt 104 farah indigo 80 lina ember 115 gus amber 98 farah grove 62 gus birch 86
JUNIPER COBALT INDIGO EMBER AMBER GROVE BIRCH
hana juniper 15 gus fable 101 bruno birch 3 jules grove 78 lina grove 92 eli birch 90 dina juniper 59 kim indigo 39
JUNIPER FABLE BIRCH GROVE GROVE BIRCH JUNIPER INDIGO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010239-p1
Transform the second column to uppercase letters and print only that modified column.
{print toupper($2)}
ivan juniper 108 kim cobalt 104 farah indigo 80 lina ember 115 gus amber 98 farah grove 62 gus birch 86
JUNIPER COBALT INDIGO EMBER AMBER GROVE BIRCH
hana juniper 15 gus fable 101 bruno birch 3 jules grove 78 lina grove 92 eli birch 90 dina juniper 59 kim indigo 39
JUNIPER FABLE BIRCH GROVE GROVE BIRCH JUNIPER INDIGO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010239
qwen/qwen3.7-plus
awkweave-0010240
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
harbor 110 indigo 115 birch 73 cobalt 78 fable 41 fable 105 juniper 62 delta 109
arb ndi irc oba abl abl uni elt
juniper 71 ember 36 ember 86 ember 65 birch 60 fable 98 delta 63 fable 9 juniper 22 grove 10
uni mbe mbe mbe irc abl elt abl uni rov
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010240-p1
Extract and print a substring of length 3 from the first column, beginning at the second character.
{print substr($1,2,3)}
harbor 110 indigo 115 birch 73 cobalt 78 fable 41 fable 105 juniper 62 delta 109
arb ndi irc oba abl abl uni elt
juniper 71 ember 36 ember 86 ember 65 birch 60 fable 98 delta 63 fable 9 juniper 22 grove 10
uni mbe mbe mbe irc abl elt abl uni rov
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010240
qwen/qwen3.7-plus
awkweave-0010241
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_harbor 26 birch_fable 13 juniper_juniper 37 harbor_ember 118 juniper_juniper 28 indigo_juniper 32 delta_indigo 19 indigo_delta 48 cobalt_birch 17 juniper_ember 90
delta harbor birch fable juniper juniper harbor ember juniper juniper indigo juniper delta indigo indigo delta cobalt birch juniper ember
amber_cobalt 25 fable_harbor 87 harbor_indigo 108 delta_birch 96 amber_cobalt 94 birch_juniper 86 ember_harbor 108
amber cobalt fable harbor harbor indigo delta birch amber cobalt birch juniper ember harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010241-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_harbor 26 birch_fable 13 juniper_juniper 37 harbor_ember 118 juniper_juniper 28 indigo_juniper 32 delta_indigo 19 indigo_delta 48 cobalt_birch 17 juniper_ember 90
delta harbor birch fable juniper juniper harbor ember juniper juniper indigo juniper delta indigo indigo delta cobalt birch juniper ember
amber_cobalt 25 fable_harbor 87 harbor_indigo 108 delta_birch 96 amber_cobalt 94 birch_juniper 86 ember_harbor 108
amber cobalt fable harbor harbor indigo delta birch amber cobalt birch juniper ember harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010241
qwen/qwen3.7-plus
awkweave-0010242
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 delta 18 failed gus ember 44 active eli juniper 3 ready hana grove 21 ready chen indigo 120 closed chen juniper 25 ready jules indigo 100 pending alice delta 43 closed
failed 18 delta lina active 44 ember gus ready 3 juniper eli ready 21 grove hana closed 120 indigo chen ready 25 juniper chen pending 100 indigo jules closed 43 delta alice
dina juniper 65 paused chen harbor 19 closed dina juniper 103 failed ivan ember 96 pending hana cobalt 117 ready bruno delta 46 closed eli indigo 116 failed kim grove 81 paused kim fable 77 ready dina birch 38 ready
paused 65 juniper dina closed 19 harbor chen failed 103 juniper dina pending 96 ember ivan ready 117 cobalt hana closed 46 delta bruno failed 116 indigo eli paused 81 grove kim ready 77 fable kim ready 38 birch dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010242-p1
Reverse the sequence of all fields on each line and print the result.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
lina delta 18 failed gus ember 44 active eli juniper 3 ready hana grove 21 ready chen indigo 120 closed chen juniper 25 ready jules indigo 100 pending alice delta 43 closed
failed 18 delta lina active 44 ember gus ready 3 juniper eli ready 21 grove hana closed 120 indigo chen ready 25 juniper chen pending 100 indigo jules closed 43 delta alice
dina juniper 65 paused chen harbor 19 closed dina juniper 103 failed ivan ember 96 pending hana cobalt 117 ready bruno delta 46 closed eli indigo 116 failed kim grove 81 paused kim fable 77 ready dina birch 38 ready
paused 65 juniper dina closed 19 harbor chen failed 103 juniper dina pending 96 ember ivan ready 117 cobalt hana closed 46 delta bruno failed 116 indigo eli paused 81 grove kim ready 77 fable kim ready 38 birch dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010242
qwen/qwen3.7-plus
awkweave-0010243
Print the number of whitespace-separated fields on each line.
{print NF}
alice harbor 69 paused alice delta 46 active chen fable 3 paused gus delta 53 active chen fable 3 active alice ember 99 ready chen fable 70 pending dina cobalt 97 active hana delta 55 closed hana juniper 42 active
4 4 4 4 4 4 4 4 4 4
gus ember 25 closed eli cobalt 11 pending hana harbor 7 ready eli indigo 55 paused gus harbor 16 closed chen cobalt 47 failed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010243-p1
Display the count of whitespace-delimited fields present in each line.
{print NF}
alice harbor 69 paused alice delta 46 active chen fable 3 paused gus delta 53 active chen fable 3 active alice ember 99 ready chen fable 70 pending dina cobalt 97 active hana delta 55 closed hana juniper 42 active
4 4 4 4 4 4 4 4 4 4
gus ember 25 closed eli cobalt 11 pending hana harbor 7 ready eli indigo 55 paused gus harbor 16 closed chen cobalt 47 failed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010243
qwen/qwen3.7-plus
awkweave-0010244
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]]}
lina delta 73 dina beta 112 eli beta 6 ivan delta 5 kim gamma 102 dina alpha 10 farah alpha 62 eli delta 106 lina beta 78
delta 3 beta 3 gamma 1 alpha 2
bruno alpha 13 kim alpha 107 gus gamma 63 farah delta 106 alice alpha 76 chen delta 7 ivan delta 6 chen beta 52
alpha 3 gamma 1 delta 3 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010244-p1
Tally the number of records for each unique value in the second column, printing the value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
lina delta 73 dina beta 112 eli beta 6 ivan delta 5 kim gamma 102 dina alpha 10 farah alpha 62 eli delta 106 lina beta 78
delta 3 beta 3 gamma 1 alpha 2
bruno alpha 13 kim alpha 107 gus gamma 63 farah delta 106 alice alpha 76 chen delta 7 ivan delta 6 chen beta 52
alpha 3 gamma 1 delta 3 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010244
qwen/qwen3.7-plus
awkweave-0010245
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice delta 2 kim gamma 6 jules beta 25 dina gamma 14 farah delta 26 bruno alpha 20 kim delta 18
delta 46 gamma 20 beta 25 alpha 20
kim delta 22 chen beta 20 gus alpha 20 ivan alpha 17 ivan delta 25 chen gamma 5 lina gamma 2 eli beta 18 lina beta 4
delta 47 beta 42 alpha 37 gamma 7
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010245-p1
Calculate the sum of the third column grouped by the second column, displaying the results in the order the groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice delta 2 kim gamma 6 jules beta 25 dina gamma 14 farah delta 26 bruno alpha 20 kim delta 18
delta 46 gamma 20 beta 25 alpha 20
kim delta 22 chen beta 20 gus alpha 20 ivan alpha 17 ivan delta 25 chen gamma 5 lina gamma 2 eli beta 18 lina beta 4
delta 47 beta 42 alpha 37 gamma 7
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010245
qwen/qwen3.7-plus
awkweave-0010246
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma delta 97 delta delta 49 gamma amber 19 beta harbor 90 delta juniper 86 gamma birch 99
gamma 3 delta 2
delta birch 65 beta delta 28 alpha delta 50 delta birch 105 alpha cobalt 59 delta grove 13 beta fable 12 delta delta 66 gamma delta 6 beta fable 38
delta 4 beta 3 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010246-p1
List each duplicate value from the first column along with its frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma delta 97 delta delta 49 gamma amber 19 beta harbor 90 delta juniper 86 gamma birch 99
gamma 3 delta 2
delta birch 65 beta delta 28 alpha delta 50 delta birch 105 alpha cobalt 59 delta grove 13 beta fable 12 delta delta 66 gamma delta 6 beta fable 38
delta 4 beta 3 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010246
qwen/qwen3.7-plus
awkweave-0010247
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 note region record_id r001 chen 25 ready r002 ivan 9 paused r003 alice 21 paused r004 dina 13 paused r005 bruno 13 active r006 dina 23 failed r007 ivan 20 ready r008 kim 9 active
25 9 21 13 13 23 20 9
display_name note region record_id r001 eli 14 paused r002 jules 3 closed r003 gus 16 failed r004 farah 21 closed r005 jules 25 failed r006 dina 9 ready r007 ivan 15 failed
14 3 16 21 25 9 15
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010247-p1
Skip the header row and print the values from the region column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name note region record_id r001 chen 25 ready r002 ivan 9 paused r003 alice 21 paused r004 dina 13 paused r005 bruno 13 active r006 dina 23 failed r007 ivan 20 ready r008 kim 9 active
25 9 21 13 13 23 20 9
display_name note region record_id r001 eli 14 paused r002 jules 3 closed r003 gus 16 failed r004 farah 21 closed r005 jules 25 failed r006 dina 9 ready r007 ivan 15 failed
14 3 16 21 25 9 15
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010247
qwen/qwen3.7-plus
awkweave-0010248
The first row is a header. Print display_name for data rows whose score is greater than 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 eli 20 active r002 ivan 2 ready r003 lina 30 active r004 jules 24 pending r005 bruno 20 ready r006 lina 29 active r007 chen 24 paused r008 ivan 18 closed r009 dina 24 paused
eli lina jules bruno lina chen ivan dina
record_id display_name score state r001 farah 25 active r002 jules 30 active r003 bruno 16 pending r004 ivan 2 closed r005 hana 28 closed r006 gus 11 active r007 jules 13 failed r008 dina 4 paused r009 gus 19 ready r010 alice 8 active
farah jules bruno hana gus jules gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010248-p1
Skip the header row and output the display_name field for all records where the score exceeds 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 eli 20 active r002 ivan 2 ready r003 lina 30 active r004 jules 24 pending r005 bruno 20 ready r006 lina 29 active r007 chen 24 paused r008 ivan 18 closed r009 dina 24 paused
eli lina jules bruno lina chen ivan dina
record_id display_name score state r001 farah 25 active r002 jules 30 active r003 bruno 16 pending r004 ivan 2 closed r005 hana 28 closed r006 gus 11 active r007 jules 13 failed r008 dina 4 paused r009 gus 19 ready r010 alice 8 active
farah jules bruno hana gus jules gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010248
qwen/qwen3.7-plus
awkweave-0010249
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 22 ready farah 13 closed jules 8 ready dina 1 closed jules 26 ready jules 16 failed
bruno farah jules dina jules jules
eli 2 paused dina 30 active chen 8 pending lina 1 closed jules 1 closed jules 15 active
eli dina chen lina jules jules
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010249-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 22 ready farah 13 closed jules 8 ready dina 1 closed jules 26 ready jules 16 failed
bruno farah jules dina jules jules
eli 2 paused dina 30 active chen 8 pending lina 1 closed jules 1 closed jules 15 active
eli dina chen lina jules jules
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0010249
qwen/qwen3.7-plus
awkweave-0010250
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
hana,21,pending eli,27,failed eli,2,pending farah,20,ready chen,14,pending jules,29,failed chen,25,ready kim,14,closed
hana eli farah chen jules chen kim
farah,17,pending chen,30,failed kim,11,failed eli,28,failed dina,24,pending jules,28,failed gus,5,closed lina,15,pending
farah chen eli dina jules lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010250-p1
Process simple comma-separated values without quoted commas; output the first column only if the second column is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
hana,21,pending eli,27,failed eli,2,pending farah,20,ready chen,14,pending jules,29,failed chen,25,ready kim,14,closed
hana eli farah chen jules chen kim
farah,17,pending chen,30,failed kim,11,failed eli,28,failed dina,24,pending jules,28,failed gus,5,closed lina,15,pending
farah chen eli dina jules lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010250
qwen/qwen3.7-plus
awkweave-0010251
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules delta 15 gus ember 16 hana delta 4 gus amber 3 bruno grove 64 lina cobalt 5
jules delta 15 gus ember 16 hana delta 4 gus amber 3 bruno grove 64 lina cobalt 5
gus harbor 23 bruno cobalt 54 jules indigo 22 farah amber 114 jules cobalt 75 lina ember 32 bruno amber 48 kim delta 62
gus harbor 23 bruno cobalt 54 jules indigo 22 farah amber 114 jules cobalt 75 lina ember 32 bruno amber 48 kim delta 62
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010251-p1
Remove leading and trailing whitespace from each line, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
jules delta 15 gus ember 16 hana delta 4 gus amber 3 bruno grove 64 lina cobalt 5
jules delta 15 gus ember 16 hana delta 4 gus amber 3 bruno grove 64 lina cobalt 5
gus harbor 23 bruno cobalt 54 jules indigo 22 farah amber 114 jules cobalt 75 lina ember 32 bruno amber 48 kim delta 62
gus harbor 23 bruno cobalt 54 jules indigo 22 farah amber 114 jules cobalt 75 lina ember 32 bruno amber 48 kim delta 62
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010251
qwen/qwen3.7-plus
awkweave-0010252
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen delta 110 pending gus juniper 21 ready hana ember 12 closed chen amber 35 closed alice birch 69 active hana delta 96 ready gus cobalt 60 active
chen delta 110 pending
kim delta 43 pending alice birch 79 active kim ember 47 active jules juniper 40 closed kim cobalt 100 paused lina juniper 46 ready alice birch 5 paused kim juniper 12 ready
jules juniper 40 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010252-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
chen delta 110 pending gus juniper 21 ready hana ember 12 closed chen amber 35 closed alice birch 69 active hana delta 96 ready gus cobalt 60 active
chen delta 110 pending
kim delta 43 pending alice birch 79 active kim ember 47 active jules juniper 40 closed kim cobalt 100 paused lina juniper 46 ready alice birch 5 paused kim juniper 12 ready
jules juniper 40 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010252
qwen/qwen3.7-plus
awkweave-0010253
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
hana 30 alice 4 bruno 102 eli 55 lina 114 ivan 3 eli 117 gus 58 chen 102
alice 4 eli 55 ivan 3 gus 58
chen 86 gus 54 bruno 3 chen 9 farah 27 eli 35 bruno 11 lina 30 lina 56
gus 54 chen 9 eli 35 lina 30
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010253-p1
Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
hana 30 alice 4 bruno 102 eli 55 lina 114 ivan 3 eli 117 gus 58 chen 102
alice 4 eli 55 ivan 3 gus 58
chen 86 gus 54 bruno 3 chen 9 farah 27 eli 35 bruno 11 lina 30 lina 56
gus 54 chen 9 eli 35 lina 30
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010253
qwen/qwen3.7-plus
awkweave-0010254
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha birch 81 alpha fable 97 delta cobalt 38 delta delta 79 gamma juniper 42 beta indigo 111 alpha ember 26 delta birch 3 alpha cobalt 68 delta fable 24
7
beta fable 75 beta birch 85 alpha indigo 61 alpha grove 95 gamma indigo 56 gamma birch 39 beta birch 43 delta delta 49 delta juniper 106
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010254-p1
Calculate the number of unique values in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha birch 81 alpha fable 97 delta cobalt 38 delta delta 79 gamma juniper 42 beta indigo 111 alpha ember 26 delta birch 3 alpha cobalt 68 delta fable 24
7
beta fable 75 beta birch 85 alpha indigo 61 alpha grove 95 gamma indigo 56 gamma birch 39 beta birch 43 delta delta 49 delta juniper 106
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010254
qwen/qwen3.7-plus
awkweave-0010255
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}
farah 23 0 lina 9 28 kim 9 20 jules 13 12 ivan 7 12 farah 9 12
lina 0.32 kim 0.45 jules 1.08 ivan 0.58 farah 0.75
eli 11 0 jules 8 17 gus 7 20 kim 2 12 dina 11 13 hana 13 3 alice 29 7
jules 0.47 gus 0.35 kim 0.17 dina 0.85 hana 4.33 alice 4.14
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010255-p1
For each row, skip entries where the third column is zero, then print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 23 0 lina 9 28 kim 9 20 jules 13 12 ivan 7 12 farah 9 12
lina 0.32 kim 0.45 jules 1.08 ivan 0.58 farah 0.75
eli 11 0 jules 8 17 gus 7 20 kim 2 12 dina 11 13 hana 13 3 alice 29 7
jules 0.47 gus 0.35 kim 0.17 dina 0.85 hana 4.33 alice 4.14
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010255
qwen/qwen3.7-plus
awkweave-0010256
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]}
chen juniper 21 hana cobalt 7 jules amber 14 jules juniper 28 dina juniper 29 dina delta 23 lina cobalt 2
dina juniper 29 jules juniper 28 dina delta 23
eli harbor 30 dina harbor 7 dina juniper 3 kim indigo 16 eli harbor 23 kim grove 24 bruno ember 12 dina delta 13
eli harbor 30 kim grove 24 eli harbor 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010256-p1
Select the top three records with the highest numeric values in column 3, sorted in descending order; maintain 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]}
chen juniper 21 hana cobalt 7 jules amber 14 jules juniper 28 dina juniper 29 dina delta 23 lina cobalt 2
dina juniper 29 jules juniper 28 dina delta 23
eli harbor 30 dina harbor 7 dina juniper 3 kim indigo 16 eli harbor 23 kim grove 24 bruno ember 12 dina delta 13
eli harbor 30 kim grove 24 eli harbor 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010256
qwen/qwen3.7-plus
awkweave-0010257
For each line, output fields 5 and 1, in that order.
{print $5, $1}
paused paused pending bruno indigo closed failed active alice grove pending ready paused lina indigo active closed pending gus amber pending active failed alice indigo active active active lina fable pending paused ready kim ember failed pending paused jules amber
indigo paused grove closed indigo pending amber active indigo pending fable active ember pending amber failed
active closed closed ivan delta closed paused paused jules cobalt active closed failed farah cobalt pending pending ready bruno birch active paused pending ivan fable active ready closed farah ember pending paused paused ivan harbor paused closed pending ivan harbor
delta active cobalt closed cobalt active birch pending fable active ember active harbor pending harbor paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010257-p1
For every line, print the fifth field followed by the first field.
{print $5, $1}
paused paused pending bruno indigo closed failed active alice grove pending ready paused lina indigo active closed pending gus amber pending active failed alice indigo active active active lina fable pending paused ready kim ember failed pending paused jules amber
indigo paused grove closed indigo pending amber active indigo pending fable active ember pending amber failed
active closed closed ivan delta closed paused paused jules cobalt active closed failed farah cobalt pending pending ready bruno birch active paused pending ivan fable active ready closed farah ember pending paused paused ivan harbor paused closed pending ivan harbor
delta active cobalt closed cobalt active birch pending fable active ember active harbor pending harbor paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010257
qwen/qwen3.7-plus
awkweave-0010258
Print the last field of every input line.
{print $NF}
paused ready bruno 7 53 cobalt closed failed alice 114 90 cobalt ready paused gus 27 50 indigo failed paused hana 33 119 harbor active paused lina 91 68 indigo pending closed bruno 72 47 harbor
cobalt cobalt indigo harbor indigo harbor
closed paused ivan 49 83 harbor pending closed gus 50 6 delta closed ready alice 4 21 indigo active paused kim 48 37 amber active failed gus 58 99 cobalt paused ready alice 74 11 fable paused active alice 23 3 delta closed failed chen 28 56 ember paused failed hana 37 79 juniper failed pending jules 109 24 fable
harbor delta indigo amber cobalt fable delta ember juniper fable
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010258-p1
Extract and print the final field from each input line.
{print $NF}
paused ready bruno 7 53 cobalt closed failed alice 114 90 cobalt ready paused gus 27 50 indigo failed paused hana 33 119 harbor active paused lina 91 68 indigo pending closed bruno 72 47 harbor
cobalt cobalt indigo harbor indigo harbor
closed paused ivan 49 83 harbor pending closed gus 50 6 delta closed ready alice 4 21 indigo active paused kim 48 37 amber active failed gus 58 99 cobalt paused ready alice 74 11 fable paused active alice 23 3 delta closed failed chen 28 56 ember paused failed hana 37 79 juniper failed pending jules 109 24 fable
harbor delta indigo amber cobalt fable delta ember juniper fable
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010258
qwen/qwen3.7-plus
awkweave-0010259
Print the complete records where column 1 is less than 39.
$1 < 39
111 indigo indigo 32 indigo grove 0 juniper birch 13 cobalt delta 47 birch amber 103 cobalt birch 101 cobalt indigo
32 indigo grove 0 juniper birch 13 cobalt delta
104 harbor cobalt 27 indigo juniper 63 delta juniper 76 ember juniper 8 delta juniper 39 juniper amber 71 cobalt delta 40 amber cobalt 26 grove harbor
27 indigo juniper 8 delta juniper 26 grove harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010259-p1
Output the full records for which the value in the first column is strictly less than 39.
$1 < 39
111 indigo indigo 32 indigo grove 0 juniper birch 13 cobalt delta 47 birch amber 103 cobalt birch 101 cobalt indigo
32 indigo grove 0 juniper birch 13 cobalt delta
104 harbor cobalt 27 indigo juniper 63 delta juniper 76 ember juniper 8 delta juniper 39 juniper amber 71 cobalt delta 40 amber cobalt 26 grove harbor
27 indigo juniper 8 delta juniper 26 grove harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010259
qwen/qwen3.7-plus
awkweave-0010260
Show whole lines whose 2nd field is between 4 and 22, inclusive.
$2 >= 4 && $2 <= 22
gus 26 dina indigo kim 21 ivan ember bruno 17 jules delta chen 30 eli delta gus 30 kim birch jules 1 alice harbor jules 25 lina amber
kim 21 ivan ember bruno 17 jules delta
ivan 30 eli juniper kim 6 ivan juniper eli 3 dina juniper hana 23 lina amber eli 19 dina birch hana 19 jules cobalt jules 28 kim grove
kim 6 ivan juniper eli 19 dina birch hana 19 jules cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010260-p1
Display entire lines where the second field falls within the inclusive range of 4 to 22.
$2 >= 4 && $2 <= 22
gus 26 dina indigo kim 21 ivan ember bruno 17 jules delta chen 30 eli delta gus 30 kim birch jules 1 alice harbor jules 25 lina amber
kim 21 ivan ember bruno 17 jules delta
ivan 30 eli juniper kim 6 ivan juniper eli 3 dina juniper hana 23 lina amber eli 19 dina birch hana 19 jules cobalt jules 28 kim grove
kim 6 ivan juniper eli 19 dina birch hana 19 jules cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010260
qwen/qwen3.7-plus
awkweave-0010261
Print column 1 only for rows where column 3 is exactly active.
$3 == "active"{print $1}
gus 47 pending birch hana 8 ready fable kim 6 failed amber dina 79 closed amber dina 67 pending ember hana 65 active cobalt dina 37 closed juniper
hana
gus 35 paused harbor chen 68 failed fable alice 78 failed amber hana 44 paused indigo gus 110 pending fable gus 6 closed ember hana 114 pending harbor
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010261-p1
Output only the first column for rows where the third column is exactly active.
$3 == "active"{print $1}
gus 47 pending birch hana 8 ready fable kim 6 failed amber dina 79 closed amber dina 67 pending ember hana 65 active cobalt dina 37 closed juniper
hana
gus 35 paused harbor chen 68 failed fable alice 78 failed amber hana 44 paused indigo gus 110 pending fable gus 6 closed ember hana 114 pending harbor
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010261
qwen/qwen3.7-plus
awkweave-0010262
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
66 ember WARN 7 ember INFO 66 ember INFO 103 birch DEBUG 96 juniper ERROR 13 indigo INFO 104 indigo WARN 6 grove ERROR
7 ember INFO 66 ember INFO 13 indigo INFO
71 cobalt WARN 89 indigo ERROR 91 fable INFO 49 delta WARN 53 ember ERROR 83 delta DEBUG 87 indigo DEBUG
91 fable INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010262-p1
Print all fields from lines where the third field starts with INFO.
$3 ~ /^INFO/
66 ember WARN 7 ember INFO 66 ember INFO 103 birch DEBUG 96 juniper ERROR 13 indigo INFO 104 indigo WARN 6 grove ERROR
7 ember INFO 66 ember INFO 13 indigo INFO
71 cobalt WARN 89 indigo ERROR 91 fable INFO 49 delta WARN 53 ember ERROR 83 delta DEBUG 87 indigo DEBUG
91 fable INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010262
qwen/qwen3.7-plus
awkweave-0010263
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
indigo 45 closed delta 85 pending delta 71 closed birch 42 failed ember 13 ready birch 94 ready amber 113 paused harbor 999 active
indigo 45 closed delta 85 pending delta 71 closed birch 42 failed ember 13 ready birch 94 ready amber 113 paused
ember 68 paused birch 14 ready juniper 77 paused harbor 65 closed birch 109 failed cobalt 81 ready juniper 10 ready juniper 32 failed cobalt 26 pending ember 33 pending harbor 999 active
ember 68 paused birch 14 ready juniper 77 paused birch 109 failed cobalt 81 ready juniper 10 ready juniper 32 failed cobalt 26 pending ember 33 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010263-p1
Print every line that does not contain the exact string harbor.
$0 !~ /harbor/
indigo 45 closed delta 85 pending delta 71 closed birch 42 failed ember 13 ready birch 94 ready amber 113 paused harbor 999 active
indigo 45 closed delta 85 pending delta 71 closed birch 42 failed ember 13 ready birch 94 ready amber 113 paused
ember 68 paused birch 14 ready juniper 77 paused harbor 65 closed birch 109 failed cobalt 81 ready juniper 10 ready juniper 32 failed cobalt 26 pending ember 33 pending harbor 999 active
ember 68 paused birch 14 ready juniper 77 paused birch 109 failed cobalt 81 ready juniper 10 ready juniper 32 failed cobalt 26 pending ember 33 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010263
qwen/qwen3.7-plus
awkweave-0010264
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
chen indigo 8 alice grove 104 bruno cobalt 55 ivan cobalt 27 kim juniper 6 hana cobalt 65 alice fable 85 ivan delta 65
bruno cobalt 55 ivan cobalt 27 kim juniper 6
ivan amber 68 dina amber 39 ivan grove 14 lina cobalt 54 eli birch 45 alice fable 56
ivan grove 14 lina cobalt 54 eli birch 45
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010264-p1
Output lines 3 through 5, inclusive of both endpoints.
NR >= 3 && NR <= 5
chen indigo 8 alice grove 104 bruno cobalt 55 ivan cobalt 27 kim juniper 6 hana cobalt 65 alice fable 85 ivan delta 65
bruno cobalt 55 ivan cobalt 27 kim juniper 6
ivan amber 68 dina amber 39 ivan grove 14 lina cobalt 54 eli birch 45 alice fable 56
ivan grove 14 lina cobalt 54 eli birch 45
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010264
qwen/qwen3.7-plus
awkweave-0010265
Output only the first 3 records.
NR <= 3
gus 64 amber lina 47 harbor eli 118 juniper gus 94 juniper gus 107 ember eli 88 delta ivan 6 indigo ivan 103 grove
gus 64 amber lina 47 harbor eli 118 juniper
eli 46 grove bruno 120 ember lina 58 delta eli 64 birch alice 40 delta dina 16 juniper eli 117 indigo gus 86 cobalt hana 62 ember
eli 46 grove bruno 120 ember lina 58 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010265-p1
Display only the first 3 records.
NR <= 3
gus 64 amber lina 47 harbor eli 118 juniper gus 94 juniper gus 107 ember eli 88 delta ivan 6 indigo ivan 103 grove
gus 64 amber lina 47 harbor eli 118 juniper
eli 46 grove bruno 120 ember lina 58 delta eli 64 birch alice 40 delta dina 16 juniper eli 117 indigo gus 86 cobalt hana 62 ember
eli 46 grove bruno 120 ember lina 58 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010265
qwen/qwen3.7-plus
awkweave-0010266
Skip the first line and print every remaining line unchanged.
NR > 1
lina 19 indigo kim 72 delta bruno 12 birch gus 28 grove bruno 70 amber farah 34 grove
kim 72 delta bruno 12 birch gus 28 grove bruno 70 amber farah 34 grove
kim 25 fable gus 115 cobalt eli 91 fable gus 75 cobalt farah 105 cobalt chen 97 fable
gus 115 cobalt eli 91 fable gus 75 cobalt farah 105 cobalt chen 97 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010266-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
lina 19 indigo kim 72 delta bruno 12 birch gus 28 grove bruno 70 amber farah 34 grove
kim 72 delta bruno 12 birch gus 28 grove bruno 70 amber farah 34 grove
kim 25 fable gus 115 cobalt eli 91 fable gus 75 cobalt farah 105 cobalt chen 97 fable
gus 115 cobalt eli 91 fable gus 75 cobalt farah 105 cobalt chen 97 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010266
qwen/qwen3.7-plus
awkweave-0010267
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
eli failed 63 bruno failed 27 farah pending 30 chen active 75 bruno ready 103 kim failed 45 kim pending 97
0
eli closed 98 ivan pending 80 gus ready 71 gus pending 48 bruno paused 111 dina paused 40
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010267-p1
Count the number of records with paused in the second column, printing 0 if none exist.
$2 == "paused"{n++}END{print n+0}
eli failed 63 bruno failed 27 farah pending 30 chen active 75 bruno ready 103 kim failed 45 kim pending 97
0
eli closed 98 ivan pending 80 gus ready 71 gus pending 48 bruno paused 111 dina paused 40
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010267
qwen/qwen3.7-plus
awkweave-0010268
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
13 indigo lina 26 delta kim 30 harbor kim 29 ember ivan 15 fable gus 22 indigo bruno
135
1 amber bruno 23 fable eli 26 fable bruno 14 grove lina 21 indigo hana 10 juniper gus
95
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010268-p1
Compute and output the sum of integer values in the first column.
{s+=$1}END{print s+0}
13 indigo lina 26 delta kim 30 harbor kim 29 ember ivan 15 fable gus 22 indigo bruno
135
1 amber bruno 23 fable eli 26 fable bruno 14 grove lina 21 indigo hana 10 juniper gus
95
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010268
qwen/qwen3.7-plus
awkweave-0010269
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 20 lina amber 1 lina ember 10 lina cobalt 7 gus cobalt 8 alice grove 16 bruno ember 12 gus cobalt 3 farah indigo 13 dina
10.00
birch 3 dina indigo 20 gus ember 6 jules grove 27 jules birch 24 hana amber 9 alice
14.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010269-p1
Print the average of the second column, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 20 lina amber 1 lina ember 10 lina cobalt 7 gus cobalt 8 alice grove 16 bruno ember 12 gus cobalt 3 farah indigo 13 dina
10.00
birch 3 dina indigo 20 gus ember 6 jules grove 27 jules birch 24 hana amber 9 alice
14.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010269
qwen/qwen3.7-plus
awkweave-0010270
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
chen indigo 25 lina grove 7 kim indigo 23 hana amber 17 bruno cobalt 11 bruno ember 21
7
jules cobalt 18 kim ember 28 kim fable 30 ivan indigo 26 lina birch 18 gus birch 4 eli birch 10 jules fable 1
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null