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-0036271-p1
Extract and print the final field from each input line.
{print $NF}
harbor paused 95 gus indigo fable cobalt closed 39 dina grove delta grove failed 100 chen ember birch delta ready 79 lina harbor indigo delta closed 118 alice grove grove juniper active 85 ivan grove grove juniper closed 54 hana juniper delta indigo pending 51 ivan cobalt fable harbor ready 78 lina birch amber harbor p...
fable delta birch indigo grove grove delta fable amber cobalt
juniper active 62 dina fable juniper fable closed 17 farah birch juniper delta active 7 lina harbor indigo ember ready 16 gus harbor fable grove active 45 dina fable delta fable ready 35 hana ember juniper birch pending 119 lina delta delta amber pending 116 ivan ember indigo
juniper juniper indigo fable delta juniper delta indigo
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036271
qwen/qwen3.7-plus
awkweave-0036272
Print the complete records where column 2 is at most 33.
$2 <= 33
ready 30 paused failed pending 53 active failed closed 58 active pending ready 24 ready ready active 83 active paused paused 93 active pending
ready 30 paused failed ready 24 ready ready
paused 74 failed ready active 12 paused pending ready 9 failed failed ready 67 closed paused pending 45 ready ready pending 99 failed failed closed 21 failed ready
active 12 paused pending ready 9 failed failed closed 21 failed ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036272-p1
Display full records where the value in the second column is less than or equal to 33.
$2 <= 33
ready 30 paused failed pending 53 active failed closed 58 active pending ready 24 ready ready active 83 active paused paused 93 active pending
ready 30 paused failed ready 24 ready ready
paused 74 failed ready active 12 paused pending ready 9 failed failed ready 67 closed paused pending 45 ready ready pending 99 failed failed closed 21 failed ready
active 12 paused pending ready 9 failed failed closed 21 failed ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036272
qwen/qwen3.7-plus
awkweave-0036273
Show whole lines whose 3rd field is between 6 and 27, inclusive.
$3 >= 6 && $3 <= 27
pending active 5 ivan failed paused 19 kim closed failed 19 bruno failed pending 30 ivan active paused 14 hana ready closed 16 kim failed paused 22 ivan paused closed 13 dina closed failed 14 kim closed paused 22 kim
failed paused 19 kim closed failed 19 bruno active paused 14 hana ready closed 16 kim failed paused 22 ivan paused closed 13 dina closed failed 14 kim closed paused 22 kim
closed pending 14 jules ready pending 26 gus pending ready 30 ivan failed pending 16 kim pending ready 28 kim active failed 19 hana active failed 9 jules failed ready 29 chen
closed pending 14 jules ready pending 26 gus failed pending 16 kim active failed 19 hana active failed 9 jules
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036273-p1
Output entire lines where the third field falls within the inclusive range of 6 to 27.
$3 >= 6 && $3 <= 27
pending active 5 ivan failed paused 19 kim closed failed 19 bruno failed pending 30 ivan active paused 14 hana ready closed 16 kim failed paused 22 ivan paused closed 13 dina closed failed 14 kim closed paused 22 kim
failed paused 19 kim closed failed 19 bruno active paused 14 hana ready closed 16 kim failed paused 22 ivan paused closed 13 dina closed failed 14 kim closed paused 22 kim
closed pending 14 jules ready pending 26 gus pending ready 30 ivan failed pending 16 kim pending ready 28 kim active failed 19 hana active failed 9 jules failed ready 29 chen
closed pending 14 jules ready pending 26 gus failed pending 16 kim active failed 19 hana active failed 9 jules
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036273
qwen/qwen3.7-plus
awkweave-0036274
Print column 1 only for rows where column 3 is exactly closed.
$3 == "closed"{print $1}
chen cobalt closed 11 kim delta failed 87 dina ember failed 49 gus ember active 99 gus fable closed 71 eli birch paused 77 hana birch pending 20
chen gus
ivan cobalt ready 103 farah indigo pending 115 ivan cobalt closed 46 kim delta active 35 lina cobalt failed 40 ivan ember ready 50 farah ember active 36 hana juniper paused 7 ivan juniper pending 50
ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036274-p1
Extract only the first column from rows where the third column equals 'closed'.
$3 == "closed"{print $1}
chen cobalt closed 11 kim delta failed 87 dina ember failed 49 gus ember active 99 gus fable closed 71 eli birch paused 77 hana birch pending 20
chen gus
ivan cobalt ready 103 farah indigo pending 115 ivan cobalt closed 46 kim delta active 35 lina cobalt failed 40 ivan ember ready 50 farah ember active 36 hana juniper paused 7 ivan juniper pending 50
ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036274
qwen/qwen3.7-plus
awkweave-0036275
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
cobalt INFO 8 cobalt WARN 22 cobalt DEBUG 66 amber WARN 49 birch DEBUG 51 birch ERROR 5
cobalt INFO 8
harbor DEBUG 0 amber ERROR 26 ember DEBUG 70 grove WARN 13 amber WARN 109 juniper DEBUG 45 birch WARN 37 juniper WARN 70
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036275-p1
Print all fields for lines where the second field starts with the string 'INFO'.
$2 ~ /^INFO/
cobalt INFO 8 cobalt WARN 22 cobalt DEBUG 66 amber WARN 49 birch DEBUG 51 birch ERROR 5
cobalt INFO 8
harbor DEBUG 0 amber ERROR 26 ember DEBUG 70 grove WARN 13 amber WARN 109 juniper DEBUG 45 birch WARN 37 juniper WARN 70
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036275
qwen/qwen3.7-plus
awkweave-0036276
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
amber 4 active indigo 65 pending grove 32 closed juniper 25 paused juniper 64 paused delta 36 active amber 15 active cobalt 999 active
amber 4 active indigo 65 pending grove 32 closed juniper 25 paused juniper 64 paused delta 36 active amber 15 active
juniper 17 failed delta 120 ready juniper 25 failed grove 53 paused amber 77 active cobalt 2 failed birch 87 pending delta 22 paused grove 90 failed ember 98 ready cobalt 999 active
juniper 17 failed delta 120 ready juniper 25 failed grove 53 paused amber 77 active birch 87 pending delta 22 paused grove 90 failed ember 98 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036276-p1
Output every line that does not contain the exact substring 'cobalt'.
$0 !~ /cobalt/
amber 4 active indigo 65 pending grove 32 closed juniper 25 paused juniper 64 paused delta 36 active amber 15 active cobalt 999 active
amber 4 active indigo 65 pending grove 32 closed juniper 25 paused juniper 64 paused delta 36 active amber 15 active
juniper 17 failed delta 120 ready juniper 25 failed grove 53 paused amber 77 active cobalt 2 failed birch 87 pending delta 22 paused grove 90 failed ember 98 ready cobalt 999 active
juniper 17 failed delta 120 ready juniper 25 failed grove 53 paused amber 77 active birch 87 pending delta 22 paused grove 90 failed ember 98 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036276
qwen/qwen3.7-plus
awkweave-0036277
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
dina cobalt 48 jules amber 48 ivan amber 3 alice ember 88 farah birch 50 kim delta 64
alice ember 88 farah birch 50
jules juniper 111 dina juniper 95 alice ember 49 chen delta 67 chen grove 32 hana cobalt 72 eli indigo 90 farah ember 65 ivan delta 3
chen delta 67 chen grove 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036277-p1
Print lines 4 through 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
dina cobalt 48 jules amber 48 ivan amber 3 alice ember 88 farah birch 50 kim delta 64
alice ember 88 farah birch 50
jules juniper 111 dina juniper 95 alice ember 49 chen delta 67 chen grove 32 hana cobalt 72 eli indigo 90 farah ember 65 ivan delta 3
chen delta 67 chen grove 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036277
qwen/qwen3.7-plus
awkweave-0036278
Output only the first 5 records.
NR <= 5
jules 82 fable ivan 106 delta chen 77 harbor chen 16 harbor ivan 112 harbor lina 106 ember
jules 82 fable ivan 106 delta chen 77 harbor chen 16 harbor ivan 112 harbor
ivan 82 grove gus 82 juniper bruno 15 juniper kim 109 harbor dina 0 delta kim 17 grove
ivan 82 grove gus 82 juniper bruno 15 juniper kim 109 harbor dina 0 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036278-p1
Display only the first 5 records from the input.
NR <= 5
jules 82 fable ivan 106 delta chen 77 harbor chen 16 harbor ivan 112 harbor lina 106 ember
jules 82 fable ivan 106 delta chen 77 harbor chen 16 harbor ivan 112 harbor
ivan 82 grove gus 82 juniper bruno 15 juniper kim 109 harbor dina 0 delta kim 17 grove
ivan 82 grove gus 82 juniper bruno 15 juniper kim 109 harbor dina 0 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036278
qwen/qwen3.7-plus
awkweave-0036279
Skip the first line and print every remaining line unchanged.
NR > 1
hana 115 juniper bruno 89 indigo dina 23 juniper farah 108 fable alice 11 indigo gus 17 fable dina 117 cobalt
bruno 89 indigo dina 23 juniper farah 108 fable alice 11 indigo gus 17 fable dina 117 cobalt
eli 71 grove hana 79 birch alice 91 juniper eli 1 harbor bruno 5 fable alice 120 fable jules 40 delta
hana 79 birch alice 91 juniper eli 1 harbor bruno 5 fable alice 120 fable jules 40 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036279-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
hana 115 juniper bruno 89 indigo dina 23 juniper farah 108 fable alice 11 indigo gus 17 fable dina 117 cobalt
bruno 89 indigo dina 23 juniper farah 108 fable alice 11 indigo gus 17 fable dina 117 cobalt
eli 71 grove hana 79 birch alice 91 juniper eli 1 harbor bruno 5 fable alice 120 fable jules 40 delta
hana 79 birch alice 91 juniper eli 1 harbor bruno 5 fable alice 120 fable jules 40 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036279
qwen/qwen3.7-plus
awkweave-0036280
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
lina closed 67 jules closed 62 farah paused 102 gus active 88 alice paused 102 kim pending 63 alice paused 74 chen ready 36 chen failed 68 jules closed 37
3
lina paused 95 ivan closed 17 hana active 32 jules paused 84 jules pending 32 kim paused 74 jules paused 20 lina closed 57 alice active 12 ivan ready 13
4
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036280-p1
Count the number of records where the second column is 'paused', outputting 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
lina closed 67 jules closed 62 farah paused 102 gus active 88 alice paused 102 kim pending 63 alice paused 74 chen ready 36 chen failed 68 jules closed 37
3
lina paused 95 ivan closed 17 hana active 32 jules paused 84 jules pending 32 kim paused 74 jules paused 20 lina closed 57 alice active 12 ivan ready 13
4
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036280
qwen/qwen3.7-plus
awkweave-0036281
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
chen ember 7 eli fable 19 jules cobalt 7 ivan delta 19 gus birch 20 chen grove 19 ivan grove 27 chen amber 28
146
hana indigo 24 gus ember 30 farah juniper 11 farah amber 18 lina harbor 17 farah fable 23
123
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036281-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
chen ember 7 eli fable 19 jules cobalt 7 ivan delta 19 gus birch 20 chen grove 19 ivan grove 27 chen amber 28
146
hana indigo 24 gus ember 30 farah juniper 11 farah amber 18 lina harbor 17 farah fable 23
123
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036281
qwen/qwen3.7-plus
awkweave-0036282
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
indigo 20 bruno juniper 30 chen juniper 4 alice birch 29 gus grove 12 bruno delta 8 farah harbor 10 farah cobalt 30 eli delta 16 alice
17.67
birch 7 kim birch 21 lina grove 2 hana fable 16 farah harbor 23 farah grove 20 dina
14.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036282-p1
Calculate the average of the values in the second column and print it rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
indigo 20 bruno juniper 30 chen juniper 4 alice birch 29 gus grove 12 bruno delta 8 farah harbor 10 farah cobalt 30 eli delta 16 alice
17.67
birch 7 kim birch 21 lina grove 2 hana fable 16 farah harbor 23 farah grove 20 dina
14.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036282
qwen/qwen3.7-plus
awkweave-0036283
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
17 jules ember 29 dina ember 6 chen harbor 15 hana indigo 29 hana indigo 4 alice juniper 4 gus ember 16 kim harbor
4
19 jules delta 14 hana cobalt 14 farah indigo 15 kim juniper 9 bruno fable 21 dina harbor 11 ivan harbor 13 kim birch 6 gus birch 20 alice juniper
6
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036283-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
17 jules ember 29 dina ember 6 chen harbor 15 hana indigo 29 hana indigo 4 alice juniper 4 gus ember 16 kim harbor
4
19 jules delta 14 hana cobalt 14 farah indigo 15 kim juniper 9 bruno fable 21 dina harbor 11 ivan harbor 13 kim birch 6 gus birch 20 alice juniper
6
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036283
qwen/qwen3.7-plus
awkweave-0036284
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
jules fable 16 kim grove 23 jules fable 9 bruno cobalt 13 gus amber 20 hana birch 21
23
ivan harbor 21 bruno cobalt 8 farah amber 29 bruno indigo 3 hana harbor 24 dina ember 1 gus fable 30 kim juniper 9
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036284-p1
Identify and output the maximum number found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
jules fable 16 kim grove 23 jules fable 9 bruno cobalt 13 gus amber 20 hana birch 21
23
ivan harbor 21 bruno cobalt 8 farah amber 29 bruno indigo 3 hana harbor 24 dina ember 1 gus fable 30 kim juniper 9
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036284
qwen/qwen3.7-plus
awkweave-0036285
Count all input records and print the total.
END{print NR}
eli 94 ivan 76 eli 56 gus 38 lina 97 eli 54 farah 17
7
bruno 12 hana 113 gus 75 jules 114 lina 43 chen 5 eli 112 bruno 42 bruno 18
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036285-p1
Calculate the total number of input records and display the count.
END{print NR}
eli 94 ivan 76 eli 56 gus 38 lina 97 eli 54 farah 17
7
bruno 12 hana 113 gus 75 jules 114 lina 43 chen 5 eli 112 bruno 42 bruno 18
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036285
qwen/qwen3.7-plus
awkweave-0036286
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina fable 119 jules ember 85 farah grove 47 jules ember 85 jules amber 48 alice birch 18 chen delta 103 kim juniper 11 ivan juniper 65 kim ember 15 chen fable 32
lina fable 119 jules ember 85 farah grove 47 jules amber 48 alice birch 18 chen delta 103 kim juniper 11 ivan juniper 65 kim ember 15 chen fable 32
gus delta 42 alice ember 21 farah grove 66 gus delta 46 farah indigo 66 chen indigo 80 lina cobalt 88 chen amber 98 gus delta 46 chen delta 44
gus delta 42 alice ember 21 farah grove 66 gus delta 46 farah indigo 66 chen indigo 80 lina cobalt 88 chen amber 98 chen delta 44
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036286-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
lina fable 119 jules ember 85 farah grove 47 jules ember 85 jules amber 48 alice birch 18 chen delta 103 kim juniper 11 ivan juniper 65 kim ember 15 chen fable 32
lina fable 119 jules ember 85 farah grove 47 jules amber 48 alice birch 18 chen delta 103 kim juniper 11 ivan juniper 65 kim ember 15 chen fable 32
gus delta 42 alice ember 21 farah grove 66 gus delta 46 farah indigo 66 chen indigo 80 lina cobalt 88 chen amber 98 gus delta 46 chen delta 44
gus delta 42 alice ember 21 farah grove 66 gus delta 46 farah indigo 66 chen indigo 80 lina cobalt 88 chen amber 98 chen delta 44
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036286
qwen/qwen3.7-plus
awkweave-0036287
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
alice juniper 25 ivan grove 52 bruno indigo 115 farah amber 74 kim indigo 36 chen cobalt 7 hana indigo 105
alice juniper 25 ivan grove 52 bruno indigo 115 farah amber 74 chen cobalt 7
bruno birch 120 dina indigo 1 hana fable 35 ivan delta 56 bruno fable 4 chen cobalt 55
bruno birch 120 dina indigo 1 hana fable 35 ivan delta 56 chen cobalt 55
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036287-p1
Retain only the initial line for every unique value in the second column, ensuring the original order is preserved.
!seen[$2]++
alice juniper 25 ivan grove 52 bruno indigo 115 farah amber 74 kim indigo 36 chen cobalt 7 hana indigo 105
alice juniper 25 ivan grove 52 bruno indigo 115 farah amber 74 chen cobalt 7
bruno birch 120 dina indigo 1 hana fable 35 ivan delta 56 bruno fable 4 chen cobalt 55
bruno birch 120 dina indigo 1 hana fable 35 ivan delta 56 chen cobalt 55
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036287
qwen/qwen3.7-plus
awkweave-0036288
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 24 harbor chen 18 grove bruno 25 juniper lina 22 indigo alice 8 amber eli 30 harbor farah 12 cobalt
alice 24 chen 42 bruno 67 lina 89 alice 97 eli 127 farah 139
jules 1 ember alice 9 cobalt chen 26 juniper bruno 19 delta lina 15 ember farah 16 cobalt gus 13 indigo
jules 1 alice 10 chen 36 bruno 55 lina 70 farah 86 gus 99
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036288-p1
Output the first column alongside the cumulative sum of the second column for each entry, separated by a space.
{s+=$2;print $1,s}
alice 24 harbor chen 18 grove bruno 25 juniper lina 22 indigo alice 8 amber eli 30 harbor farah 12 cobalt
alice 24 chen 42 bruno 67 lina 89 alice 97 eli 127 farah 139
jules 1 ember alice 9 cobalt chen 26 juniper bruno 19 delta lina 15 ember farah 16 cobalt gus 13 indigo
jules 1 alice 10 chen 36 bruno 55 lina 70 farah 86 gus 99
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036288
qwen/qwen3.7-plus
awkweave-0036289
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 20 8 fable jules 15 7 grove chen 2 14 juniper kim 13 27 ember dina 3 20 cobalt eli 17 29 ember
kim 28 jules 22 chen 16 kim 40 dina 23 eli 46
kim 24 13 grove alice 20 23 juniper farah 20 11 harbor eli 13 16 delta chen 15 23 ember lina 24 13 juniper hana 19 16 fable ivan 11 28 juniper alice 20 29 birch hana 11 12 fable
kim 37 alice 43 farah 31 eli 29 chen 38 lina 37 hana 35 ivan 39 alice 49 hana 23
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036289-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 20 8 fable jules 15 7 grove chen 2 14 juniper kim 13 27 ember dina 3 20 cobalt eli 17 29 ember
kim 28 jules 22 chen 16 kim 40 dina 23 eli 46
kim 24 13 grove alice 20 23 juniper farah 20 11 harbor eli 13 16 delta chen 15 23 ember lina 24 13 juniper hana 19 16 fable ivan 11 28 juniper alice 20 29 birch hana 11 12 fable
kim 37 alice 43 farah 31 eli 29 chen 38 lina 37 hana 35 ivan 39 alice 49 hana 23
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036289
qwen/qwen3.7-plus
awkweave-0036300
The first row is a header. Print display_name for data rows whose score is greater than 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 kim 5 paused r002 kim 12 closed r003 dina 9 ready r004 dina 22 active r005 dina 3 paused r006 gus 26 failed r007 lina 9 ready r008 gus 15 ready r009 chen 17 failed
dina gus
record_id display_name score state r001 farah 23 pending r002 jules 8 active r003 gus 10 failed r004 farah 28 closed r005 chen 9 pending r006 alice 9 pending r007 eli 3 active r008 jules 1 pending r009 hana 25 paused r010 bruno 14 closed
farah farah hana
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036300-p1
Skip the header row and print the display_name for any data rows where the score is above 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 kim 5 paused r002 kim 12 closed r003 dina 9 ready r004 dina 22 active r005 dina 3 paused r006 gus 26 failed r007 lina 9 ready r008 gus 15 ready r009 chen 17 failed
dina gus
record_id display_name score state r001 farah 23 pending r002 jules 8 active r003 gus 10 failed r004 farah 28 closed r005 chen 9 pending r006 alice 9 pending r007 eli 3 active r008 jules 1 pending r009 hana 25 paused r010 bruno 14 closed
farah farah hana
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036300
qwen/qwen3.7-plus
awkweave-0036301
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 5 ready farah 25 pending farah 18 pending dina 13 ready farah 30 closed dina 30 failed dina 1 active
5 25 18 13 30 30 1
kim 8 pending jules 29 pending kim 6 paused dina 29 closed ivan 15 ready dina 11 paused
8 29 6 29 15 11
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036301-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 5 ready farah 25 pending farah 18 pending dina 13 ready farah 30 closed dina 30 failed dina 1 active
5 25 18 13 30 30 1
kim 8 pending jules 29 pending kim 6 paused dina 29 closed ivan 15 ready dina 11 paused
8 29 6 29 15 11
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0036301
qwen/qwen3.7-plus
awkweave-0036302
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
hana,17,failed dina,23,closed chen,6,ready gus,13,paused lina,25,closed kim,15,pending alice,1,active kim,16,active farah,11,pending alice,13,closed
hana dina lina kim kim
alice,28,paused eli,16,failed dina,19,pending alice,7,active ivan,5,active ivan,1,failed eli,12,active
alice eli dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036302-p1
Process simple comma-separated values without quoted commas; print the first column if the second column is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
hana,17,failed dina,23,closed chen,6,ready gus,13,paused lina,25,closed kim,15,pending alice,1,active kim,16,active farah,11,pending alice,13,closed
hana dina lina kim kim
alice,28,paused eli,16,failed dina,19,pending alice,7,active ivan,5,active ivan,1,failed eli,12,active
alice eli dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036302
qwen/qwen3.7-plus
awkweave-0036303
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice grove 62 jules cobalt 42 bruno grove 77 bruno fable 93 farah indigo 106 bruno ember 33
alice grove 62 jules cobalt 42 bruno grove 77 bruno fable 93 farah indigo 106 bruno ember 33
gus grove 20 dina cobalt 56 hana indigo 8 dina ember 26 alice juniper 75 dina harbor 65 lina juniper 0
gus grove 20 dina cobalt 56 hana indigo 8 dina ember 26 alice juniper 75 dina harbor 65 lina juniper 0
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036303-p1
Strip leading and trailing whitespace and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
alice grove 62 jules cobalt 42 bruno grove 77 bruno fable 93 farah indigo 106 bruno ember 33
alice grove 62 jules cobalt 42 bruno grove 77 bruno fable 93 farah indigo 106 bruno ember 33
gus grove 20 dina cobalt 56 hana indigo 8 dina ember 26 alice juniper 75 dina harbor 65 lina juniper 0
gus grove 20 dina cobalt 56 hana indigo 8 dina ember 26 alice juniper 75 dina harbor 65 lina juniper 0
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036303
qwen/qwen3.7-plus
awkweave-0036304
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules harbor 88 failed hana delta 26 pending farah ember 54 active jules birch 6 failed hana cobalt 98 active eli juniper 57 ready eli cobalt 32 failed jules grove 107 pending bruno cobalt 43 failed alice fable 115 active
jules grove 107 pending
chen amber 17 pending lina juniper 115 closed jules delta 14 ready gus indigo 89 pending chen birch 16 paused eli harbor 16 closed alice amber 114 pending dina juniper 59 closed alice grove 88 closed
lina juniper 115 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036304-p1
Locate and print the longest line from the input, selecting the earliest one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
jules harbor 88 failed hana delta 26 pending farah ember 54 active jules birch 6 failed hana cobalt 98 active eli juniper 57 ready eli cobalt 32 failed jules grove 107 pending bruno cobalt 43 failed alice fable 115 active
jules grove 107 pending
chen amber 17 pending lina juniper 115 closed jules delta 14 ready gus indigo 89 pending chen birch 16 paused eli harbor 16 closed alice amber 114 pending dina juniper 59 closed alice grove 88 closed
lina juniper 115 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036304
qwen/qwen3.7-plus
awkweave-0036305
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
jules 90 jules 100 ivan 24 lina 77 kim 73 kim 114 ivan 11 gus 93 bruno 37 alice 10
jules 100 lina 77 kim 114 gus 93 alice 10
kim 70 kim 103 farah 44 alice 50 alice 54 chen 46 chen 92 chen 72 alice 82 lina 73
kim 103 alice 50 chen 46 chen 72 lina 73
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036305-p1
Output every second line, beginning with line 2 (i.e., lines 2, 4, etc.).
NR%2==0
jules 90 jules 100 ivan 24 lina 77 kim 73 kim 114 ivan 11 gus 93 bruno 37 alice 10
jules 100 lina 77 kim 114 gus 93 alice 10
kim 70 kim 103 farah 44 alice 50 alice 54 chen 46 chen 92 chen 72 alice 82 lina 73
kim 103 alice 50 chen 46 chen 72 lina 73
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036305
qwen/qwen3.7-plus
awkweave-0036306
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta harbor 78 delta birch 95 beta birch 32 beta grove 85 beta birch 54 delta ember 33 gamma amber 74 alpha delta 52 beta ember 51 gamma grove 2
6
gamma ember 64 delta grove 80 gamma fable 57 gamma harbor 38 gamma ember 5 gamma grove 118 alpha juniper 116 delta indigo 18 alpha indigo 82
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036306-p1
Count the unique entries in the second column and output just that number.
{if(!seen[$2]++)n++}END{print n+0}
delta harbor 78 delta birch 95 beta birch 32 beta grove 85 beta birch 54 delta ember 33 gamma amber 74 alpha delta 52 beta ember 51 gamma grove 2
6
gamma ember 64 delta grove 80 gamma fable 57 gamma harbor 38 gamma ember 5 gamma grove 118 alpha juniper 116 delta indigo 18 alpha indigo 82
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036306
qwen/qwen3.7-plus
awkweave-0036307
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}
chen 13 0 gus 26 24 hana 1 8 eli 5 18 farah 6 7 chen 27 18 ivan 14 16 jules 21 5 eli 17 10 kim 22 2
gus 1.08 hana 0.12 eli 0.28 farah 0.86 chen 1.50 ivan 0.88 jules 4.20 eli 1.70 kim 11.00
kim 11 0 jules 17 17 kim 19 12 alice 24 14 kim 7 7 ivan 9 18 alice 22 18 dina 27 4 bruno 7 27
jules 1.00 kim 1.58 alice 1.71 kim 1.00 ivan 0.50 alice 1.22 dina 6.75 bruno 0.26
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036307-p1
For every row, display the first and second columns along with the result of dividing the second by the third, rounded to two decimal places; omit any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 13 0 gus 26 24 hana 1 8 eli 5 18 farah 6 7 chen 27 18 ivan 14 16 jules 21 5 eli 17 10 kim 22 2
gus 1.08 hana 0.12 eli 0.28 farah 0.86 chen 1.50 ivan 0.88 jules 4.20 eli 1.70 kim 11.00
kim 11 0 jules 17 17 kim 19 12 alice 24 14 kim 7 7 ivan 9 18 alice 22 18 dina 27 4 bruno 7 27
jules 1.00 kim 1.58 alice 1.71 kim 1.00 ivan 0.50 alice 1.22 dina 6.75 bruno 0.26
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036307
qwen/qwen3.7-plus
awkweave-0036308
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]}
lina amber 20 kim ember 10 farah delta 15 ivan birch 2 farah birch 21 ivan delta 27 dina juniper 11 gus harbor 1
ivan delta 27 farah birch 21 lina amber 20
gus birch 5 gus delta 26 dina indigo 21 lina delta 8 bruno juniper 29 farah amber 12 gus juniper 9
bruno juniper 29 gus delta 26 dina indigo 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036308-p1
Output the top three full records based on the highest numeric values in column 3, sorted in descending order, keeping 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]}
lina amber 20 kim ember 10 farah delta 15 ivan birch 2 farah birch 21 ivan delta 27 dina juniper 11 gus harbor 1
ivan delta 27 farah birch 21 lina amber 20
gus birch 5 gus delta 26 dina indigo 21 lina delta 8 bruno juniper 29 farah amber 12 gus juniper 9
bruno juniper 29 gus delta 26 dina indigo 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036308
qwen/qwen3.7-plus
awkweave-0036309
For each line, output fields 6 and 1, in that order.
{print $6, $1}
33 alice cobalt juniper paused active 90 jules harbor fable active failed 38 lina indigo ember closed closed 3 gus fable delta paused ready 27 hana amber cobalt closed failed 82 eli birch grove failed paused 94 alice cobalt birch paused paused 32 bruno fable fable ready ready 64 eli grove grove pending ready
active 33 failed 90 closed 38 ready 3 failed 27 paused 82 paused 94 ready 32 ready 64
15 hana grove ember pending failed 25 bruno juniper delta paused paused 96 gus juniper ember closed active 37 chen harbor grove active active 96 farah grove indigo ready paused 117 lina juniper juniper closed paused 118 eli juniper juniper failed ready 97 gus fable ember closed pending 81 kim juniper indigo pending rea...
failed 15 paused 25 active 96 active 37 paused 96 paused 117 ready 118 pending 97 ready 81
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036309-p1
Print fields 6 and 1 from each line, maintaining that specific sequence.
{print $6, $1}
33 alice cobalt juniper paused active 90 jules harbor fable active failed 38 lina indigo ember closed closed 3 gus fable delta paused ready 27 hana amber cobalt closed failed 82 eli birch grove failed paused 94 alice cobalt birch paused paused 32 bruno fable fable ready ready 64 eli grove grove pending ready
active 33 failed 90 closed 38 ready 3 failed 27 paused 82 paused 94 ready 32 ready 64
15 hana grove ember pending failed 25 bruno juniper delta paused paused 96 gus juniper ember closed active 37 chen harbor grove active active 96 farah grove indigo ready paused 117 lina juniper juniper closed paused 118 eli juniper juniper failed ready 97 gus fable ember closed pending 81 kim juniper indigo pending rea...
failed 15 paused 25 active 96 active 37 paused 96 paused 117 ready 118 pending 97 ready 81
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036309
qwen/qwen3.7-plus
awkweave-0036310
Print the last field of every input line.
{print $NF}
74 eli lina amber indigo ready 73 farah alice fable delta ready 86 alice gus indigo cobalt closed 34 gus jules birch harbor active 67 farah alice fable grove pending 111 kim ivan fable indigo failed 57 gus lina grove delta paused 115 hana gus ember harbor active 115 chen jules cobalt harbor closed 16 kim alice cobalt g...
ready ready closed active pending failed paused active closed active
2 bruno alice indigo ember ready 53 dina hana delta grove active 76 jules dina ember cobalt pending 67 dina alice fable delta closed 46 lina dina delta birch failed 110 ivan jules fable cobalt ready 105 hana dina delta juniper paused 8 chen dina amber amber failed
ready active pending closed failed ready paused failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036310-p1
Display the final field from every line of input.
{print $NF}
74 eli lina amber indigo ready 73 farah alice fable delta ready 86 alice gus indigo cobalt closed 34 gus jules birch harbor active 67 farah alice fable grove pending 111 kim ivan fable indigo failed 57 gus lina grove delta paused 115 hana gus ember harbor active 115 chen jules cobalt harbor closed 16 kim alice cobalt g...
ready ready closed active pending failed paused active closed active
2 bruno alice indigo ember ready 53 dina hana delta grove active 76 jules dina ember cobalt pending 67 dina alice fable delta closed 46 lina dina delta birch failed 110 ivan jules fable cobalt ready 105 hana dina delta juniper paused 8 chen dina amber amber failed
ready active pending closed failed ready paused failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036310
qwen/qwen3.7-plus
awkweave-0036311
Print the complete records where column 1 is at least 72.
$1 >= 72
109 pending hana 48 closed kim 6 ready chen 116 closed hana 39 failed chen 53 active lina 108 closed chen
109 pending hana 116 closed hana 108 closed chen
56 pending lina 80 paused dina 14 closed jules 2 paused chen 93 pending eli 97 paused bruno 80 paused lina
80 paused dina 93 pending eli 97 paused bruno 80 paused lina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036311-p1
Output entire records where the value in the first column is 72 or greater.
$1 >= 72
109 pending hana 48 closed kim 6 ready chen 116 closed hana 39 failed chen 53 active lina 108 closed chen
109 pending hana 116 closed hana 108 closed chen
56 pending lina 80 paused dina 14 closed jules 2 paused chen 93 pending eli 97 paused bruno 80 paused lina
80 paused dina 93 pending eli 97 paused bruno 80 paused lina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036311
qwen/qwen3.7-plus
awkweave-0036312
Show whole lines whose 3rd field is between 5 and 25, inclusive.
$3 >= 5 && $3 <= 25
kim indigo 26 eli lina fable 11 gus chen birch 24 kim gus grove 28 ivan farah cobalt 11 lina lina amber 8 ivan
lina fable 11 gus chen birch 24 kim farah cobalt 11 lina lina amber 8 ivan
chen cobalt 17 farah gus indigo 11 eli dina amber 16 lina farah cobalt 13 lina chen juniper 11 bruno gus indigo 23 bruno dina amber 7 jules lina delta 9 alice
chen cobalt 17 farah gus indigo 11 eli dina amber 16 lina farah cobalt 13 lina chen juniper 11 bruno gus indigo 23 bruno dina amber 7 jules lina delta 9 alice
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036312-p1
Show complete lines where the third field falls within the range of 5 to 25, inclusive.
$3 >= 5 && $3 <= 25
kim indigo 26 eli lina fable 11 gus chen birch 24 kim gus grove 28 ivan farah cobalt 11 lina lina amber 8 ivan
lina fable 11 gus chen birch 24 kim farah cobalt 11 lina lina amber 8 ivan
chen cobalt 17 farah gus indigo 11 eli dina amber 16 lina farah cobalt 13 lina chen juniper 11 bruno gus indigo 23 bruno dina amber 7 jules lina delta 9 alice
chen cobalt 17 farah gus indigo 11 eli dina amber 16 lina farah cobalt 13 lina chen juniper 11 bruno gus indigo 23 bruno dina amber 7 jules lina delta 9 alice
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036312
qwen/qwen3.7-plus
awkweave-0036313
Print column 3 only for rows where column 4 is exactly failed.
$4 == "failed"{print $3}
94 indigo dina failed 32 harbor farah paused 8 delta bruno active 50 cobalt farah closed 97 fable gus ready 72 ember hana ready 58 indigo kim ready 118 amber chen ready 87 grove bruno active
dina
88 juniper ivan paused 65 harbor alice closed 99 delta eli ready 4 amber ivan failed 91 delta kim pending 67 ember gus paused 102 grove eli active
ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036313-p1
Output only the third column for rows where the fourth column matches the exact string 'failed'.
$4 == "failed"{print $3}
94 indigo dina failed 32 harbor farah paused 8 delta bruno active 50 cobalt farah closed 97 fable gus ready 72 ember hana ready 58 indigo kim ready 118 amber chen ready 87 grove bruno active
dina
88 juniper ivan paused 65 harbor alice closed 99 delta eli ready 4 amber ivan failed 91 delta kim pending 67 ember gus paused 102 grove eli active
ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036313
qwen/qwen3.7-plus
awkweave-0036314
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
birch 24 WARN cobalt 59 WARN fable 7 ERROR fable 43 DEBUG delta 20 ERROR ember 3 WARN indigo 21 ERROR delta 42 INFO juniper 80 INFO juniper 38 WARN
birch 24 WARN cobalt 59 WARN ember 3 WARN juniper 38 WARN
indigo 65 WARN ember 110 DEBUG grove 32 INFO indigo 54 WARN harbor 115 INFO ember 74 DEBUG juniper 17 DEBUG fable 68 INFO delta 4 DEBUG
indigo 65 WARN indigo 54 WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036314-p1
Print all fields from lines where the third field starts with the prefix 'WARN'.
$3 ~ /^WARN/
birch 24 WARN cobalt 59 WARN fable 7 ERROR fable 43 DEBUG delta 20 ERROR ember 3 WARN indigo 21 ERROR delta 42 INFO juniper 80 INFO juniper 38 WARN
birch 24 WARN cobalt 59 WARN ember 3 WARN juniper 38 WARN
indigo 65 WARN ember 110 DEBUG grove 32 INFO indigo 54 WARN harbor 115 INFO ember 74 DEBUG juniper 17 DEBUG fable 68 INFO delta 4 DEBUG
indigo 65 WARN indigo 54 WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036314
qwen/qwen3.7-plus
awkweave-0036315
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
delta 60 ready fable 112 active grove 69 paused indigo 95 active delta 36 closed harbor 25 ready cobalt 52 pending harbor 999 active
delta 60 ready fable 112 active grove 69 paused indigo 95 active delta 36 closed cobalt 52 pending
ember 22 failed fable 32 pending amber 20 pending delta 30 failed fable 42 paused delta 92 failed harbor 60 ready harbor 999 active
ember 22 failed fable 32 pending amber 20 pending delta 30 failed fable 42 paused delta 92 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036315-p1
Output every line except those that contain the exact string 'harbor'.
$0 !~ /harbor/
delta 60 ready fable 112 active grove 69 paused indigo 95 active delta 36 closed harbor 25 ready cobalt 52 pending harbor 999 active
delta 60 ready fable 112 active grove 69 paused indigo 95 active delta 36 closed cobalt 52 pending
ember 22 failed fable 32 pending amber 20 pending delta 30 failed fable 42 paused delta 92 failed harbor 60 ready harbor 999 active
ember 22 failed fable 32 pending amber 20 pending delta 30 failed fable 42 paused delta 92 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036315
qwen/qwen3.7-plus
awkweave-0036316
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
gus birch 111 gus cobalt 22 jules juniper 16 farah birch 19 hana cobalt 38 bruno birch 87 gus amber 21 hana grove 4 alice cobalt 73
jules juniper 16 farah birch 19 hana cobalt 38 bruno birch 87
ivan birch 52 kim juniper 31 gus juniper 41 gus ember 63 eli indigo 25 farah ember 20 eli birch 62 eli indigo 93 hana grove 63 eli grove 118
gus juniper 41 gus ember 63 eli indigo 25 farah ember 20
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036316-p1
Print lines numbered 3 through 6, inclusive of both endpoints.
NR >= 3 && NR <= 6
gus birch 111 gus cobalt 22 jules juniper 16 farah birch 19 hana cobalt 38 bruno birch 87 gus amber 21 hana grove 4 alice cobalt 73
jules juniper 16 farah birch 19 hana cobalt 38 bruno birch 87
ivan birch 52 kim juniper 31 gus juniper 41 gus ember 63 eli indigo 25 farah ember 20 eli birch 62 eli indigo 93 hana grove 63 eli grove 118
gus juniper 41 gus ember 63 eli indigo 25 farah ember 20
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036316
qwen/qwen3.7-plus
awkweave-0036317
Output only the first 3 records.
NR <= 3
lina 50 indigo eli 114 cobalt chen 19 ember chen 120 grove ivan 33 juniper dina 5 delta bruno 43 grove dina 80 fable
lina 50 indigo eli 114 cobalt chen 19 ember
kim 63 cobalt jules 98 grove chen 110 harbor hana 118 cobalt eli 31 birch farah 51 fable eli 84 amber ivan 31 fable hana 110 ember lina 41 ember
kim 63 cobalt jules 98 grove chen 110 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036317-p1
Output only the first three records.
NR <= 3
lina 50 indigo eli 114 cobalt chen 19 ember chen 120 grove ivan 33 juniper dina 5 delta bruno 43 grove dina 80 fable
lina 50 indigo eli 114 cobalt chen 19 ember
kim 63 cobalt jules 98 grove chen 110 harbor hana 118 cobalt eli 31 birch farah 51 fable eli 84 amber ivan 31 fable hana 110 ember lina 41 ember
kim 63 cobalt jules 98 grove chen 110 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036317
qwen/qwen3.7-plus
awkweave-0036318
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 28 cobalt kim 64 delta lina 111 delta kim 14 birch chen 51 grove bruno 55 juniper hana 42 indigo eli 17 cobalt gus 5 fable lina 105 fable
kim 64 delta lina 111 delta kim 14 birch chen 51 grove bruno 55 juniper hana 42 indigo eli 17 cobalt gus 5 fable lina 105 fable
kim 40 cobalt jules 43 cobalt kim 116 amber gus 39 delta bruno 92 juniper eli 73 grove farah 116 cobalt ivan 102 harbor
jules 43 cobalt kim 116 amber gus 39 delta bruno 92 juniper eli 73 grove farah 116 cobalt ivan 102 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036318-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
bruno 28 cobalt kim 64 delta lina 111 delta kim 14 birch chen 51 grove bruno 55 juniper hana 42 indigo eli 17 cobalt gus 5 fable lina 105 fable
kim 64 delta lina 111 delta kim 14 birch chen 51 grove bruno 55 juniper hana 42 indigo eli 17 cobalt gus 5 fable lina 105 fable
kim 40 cobalt jules 43 cobalt kim 116 amber gus 39 delta bruno 92 juniper eli 73 grove farah 116 cobalt ivan 102 harbor
jules 43 cobalt kim 116 amber gus 39 delta bruno 92 juniper eli 73 grove farah 116 cobalt ivan 102 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036318
qwen/qwen3.7-plus
awkweave-0036319
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
kim ready 5 eli active 112 dina closed 71 ivan active 8 ivan active 20 ivan active 50 gus pending 71
4
gus active 106 hana active 61 dina ready 80 hana closed 49 bruno paused 94 gus closed 12 bruno paused 50 eli closed 11
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036319-p1
Tally the entries where the second column is 'active' and display the count, defaulting to 0 if no matches are found.
$2 == "active"{n++}END{print n+0}
kim ready 5 eli active 112 dina closed 71 ivan active 8 ivan active 20 ivan active 50 gus pending 71
4
gus active 106 hana active 61 dina ready 80 hana closed 49 bruno paused 94 gus closed 12 bruno paused 50 eli closed 11
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036319
qwen/qwen3.7-plus
awkweave-0036320
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
ember bruno 14 grove kim 12 birch farah 26 birch gus 12 fable chen 30 ember dina 10 fable farah 11 amber ivan 23
138
indigo bruno 23 fable alice 7 harbor dina 6 harbor farah 3 amber alice 27 ember gus 11 indigo gus 4 cobalt jules 26 birch lina 14 grove ivan 27
148
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036320-p1
Compute and output the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
ember bruno 14 grove kim 12 birch farah 26 birch gus 12 fable chen 30 ember dina 10 fable farah 11 amber ivan 23
138
indigo bruno 23 fable alice 7 harbor dina 6 harbor farah 3 amber alice 27 ember gus 11 indigo gus 4 cobalt jules 26 birch lina 14 grove ivan 27
148
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036320
qwen/qwen3.7-plus
awkweave-0036321
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
19 farah delta 11 alice ember 7 jules harbor 29 kim delta 12 alice amber 10 eli cobalt 13 dina cobalt 12 lina cobalt 24 gus grove 17 eli fable
15.40
9 eli grove 7 lina birch 27 gus fable 18 chen ember 27 alice cobalt 18 dina fable 21 gus fable 17 eli cobalt
18.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036321-p1
Output the average of the values in the first column, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
19 farah delta 11 alice ember 7 jules harbor 29 kim delta 12 alice amber 10 eli cobalt 13 dina cobalt 12 lina cobalt 24 gus grove 17 eli fable
15.40
9 eli grove 7 lina birch 27 gus fable 18 chen ember 27 alice cobalt 18 dina fable 21 gus fable 17 eli cobalt
18.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036321
qwen/qwen3.7-plus
awkweave-0036322
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
kim fable 9 farah harbor 2 lina fable 14 farah cobalt 25 jules harbor 10 gus indigo 28 bruno grove 23
2
farah harbor 29 ivan amber 13 chen cobalt 27 alice harbor 22 ivan indigo 9 chen ember 17
9
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036322-p1
Identify and display the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
kim fable 9 farah harbor 2 lina fable 14 farah cobalt 25 jules harbor 10 gus indigo 28 bruno grove 23
2
farah harbor 29 ivan amber 13 chen cobalt 27 alice harbor 22 ivan indigo 9 chen ember 17
9
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036322
qwen/qwen3.7-plus
awkweave-0036323
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor alice 17 fable bruno 13 cobalt lina 21 grove kim 23 cobalt hana 8 ember alice 16
23
juniper ivan 20 indigo alice 26 indigo bruno 13 indigo lina 28 juniper hana 29 birch chen 22 grove alice 6 indigo kim 8 cobalt jules 21 amber ivan 6
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036323-p1
Identify and display the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor alice 17 fable bruno 13 cobalt lina 21 grove kim 23 cobalt hana 8 ember alice 16
23
juniper ivan 20 indigo alice 26 indigo bruno 13 indigo lina 28 juniper hana 29 birch chen 22 grove alice 6 indigo kim 8 cobalt jules 21 amber ivan 6
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036323
qwen/qwen3.7-plus
awkweave-0036324
Count all input records and print the total.
END{print NR}
eli 44 lina 96 lina 6 chen 1 chen 28 farah 27 hana 49 lina 3 farah 69 lina 119
10
lina 9 dina 37 farah 100 jules 77 alice 0 alice 105 dina 74 bruno 64
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036324-p1
Count the total number of input records and print the result.
END{print NR}
eli 44 lina 96 lina 6 chen 1 chen 28 farah 27 hana 49 lina 3 farah 69 lina 119
10
lina 9 dina 37 farah 100 jules 77 alice 0 alice 105 dina 74 bruno 64
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036324
qwen/qwen3.7-plus
awkweave-0036325
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli harbor 93 hana indigo 19 kim ember 77 lina harbor 25 lina delta 13 lina delta 13 dina birch 41 alice fable 31 jules juniper 63
eli harbor 93 hana indigo 19 kim ember 77 lina harbor 25 lina delta 13 dina birch 41 alice fable 31 jules juniper 63
ivan birch 117 hana amber 52 eli indigo 14 jules juniper 52 hana amber 52 farah fable 39 farah harbor 37 jules grove 1 ivan indigo 112
ivan birch 117 hana amber 52 eli indigo 14 jules juniper 52 farah fable 39 farah harbor 37 jules grove 1 ivan indigo 112
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036325-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
eli harbor 93 hana indigo 19 kim ember 77 lina harbor 25 lina delta 13 lina delta 13 dina birch 41 alice fable 31 jules juniper 63
eli harbor 93 hana indigo 19 kim ember 77 lina harbor 25 lina delta 13 dina birch 41 alice fable 31 jules juniper 63
ivan birch 117 hana amber 52 eli indigo 14 jules juniper 52 hana amber 52 farah fable 39 farah harbor 37 jules grove 1 ivan indigo 112
ivan birch 117 hana amber 52 eli indigo 14 jules juniper 52 farah fable 39 farah harbor 37 jules grove 1 ivan indigo 112
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036325
qwen/qwen3.7-plus
awkweave-0036326
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
hana birch 101 jules indigo 52 hana harbor 75 kim birch 84 chen amber 20 hana harbor 19 dina indigo 89 bruno fable 83
hana birch 101 jules indigo 52 kim birch 84 chen amber 20 dina indigo 89 bruno fable 83
alice fable 67 gus harbor 83 chen amber 23 chen delta 103 alice juniper 1 jules delta 111 hana fable 42 dina birch 34
alice fable 67 gus harbor 83 chen amber 23 jules delta 111 hana fable 42 dina birch 34
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036326-p1
Retain only the first occurrence for every unique value in the first column, preserving the original sequence.
!seen[$1]++
hana birch 101 jules indigo 52 hana harbor 75 kim birch 84 chen amber 20 hana harbor 19 dina indigo 89 bruno fable 83
hana birch 101 jules indigo 52 kim birch 84 chen amber 20 dina indigo 89 bruno fable 83
alice fable 67 gus harbor 83 chen amber 23 chen delta 103 alice juniper 1 jules delta 111 hana fable 42 dina birch 34
alice fable 67 gus harbor 83 chen amber 23 jules delta 111 hana fable 42 dina birch 34
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036326
qwen/qwen3.7-plus
awkweave-0036327
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 11 ember ivan 2 ember bruno 11 amber ivan 25 indigo gus 3 amber eli 16 juniper farah 13 indigo alice 11 juniper chen 13 birch
dina 11 ivan 13 bruno 24 ivan 49 gus 52 eli 68 farah 81 alice 92 chen 105
gus 6 grove bruno 6 amber lina 7 delta gus 23 ember lina 24 harbor chen 2 amber hana 5 fable alice 3 juniper gus 4 birch
gus 6 bruno 12 lina 19 gus 42 lina 66 chen 68 hana 73 alice 76 gus 80
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036327-p1
For each entry, output the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
dina 11 ember ivan 2 ember bruno 11 amber ivan 25 indigo gus 3 amber eli 16 juniper farah 13 indigo alice 11 juniper chen 13 birch
dina 11 ivan 13 bruno 24 ivan 49 gus 52 eli 68 farah 81 alice 92 chen 105
gus 6 grove bruno 6 amber lina 7 delta gus 23 ember lina 24 harbor chen 2 amber hana 5 fable alice 3 juniper gus 4 birch
gus 6 bruno 12 lina 19 gus 42 lina 66 chen 68 hana 73 alice 76 gus 80
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036327
qwen/qwen3.7-plus
awkweave-0036328
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 21 2 harbor lina 8 1 juniper jules 5 10 indigo lina 26 13 amber gus 27 25 juniper gus 17 20 birch eli 19 12 harbor ivan 8 4 delta eli 22 3 indigo gus 21 28 grove
gus 23 lina 9 jules 15 lina 39 gus 52 gus 37 eli 31 ivan 12 eli 25 gus 49
dina 12 17 indigo hana 15 3 harbor alice 28 30 amber eli 5 28 birch farah 8 4 fable farah 21 9 amber ivan 29 30 cobalt
dina 29 hana 18 alice 58 eli 33 farah 12 farah 30 ivan 59
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036328-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
gus 21 2 harbor lina 8 1 juniper jules 5 10 indigo lina 26 13 amber gus 27 25 juniper gus 17 20 birch eli 19 12 harbor ivan 8 4 delta eli 22 3 indigo gus 21 28 grove
gus 23 lina 9 jules 15 lina 39 gus 52 gus 37 eli 31 ivan 12 eli 25 gus 49
dina 12 17 indigo hana 15 3 harbor alice 28 30 amber eli 5 28 birch farah 8 4 fable farah 21 9 amber ivan 29 30 cobalt
dina 29 hana 18 alice 58 eli 33 farah 12 farah 30 ivan 59
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036328
qwen/qwen3.7-plus
awkweave-0036329
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
eli 21 chen 3 eli 15 alice 13 farah 24 jules 21
eli pass chen fail eli fail alice fail farah pass jules pass
lina 12 bruno 7 jules 15 alice 4 jules 6 lina 17
lina fail bruno fail jules fail alice fail jules fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036329-p1
Output the first column and print 'pass' if the second column is 21 or greater; otherwise, print 'fail'.
{print $1,($2>=21?"pass":"fail")}
eli 21 chen 3 eli 15 alice 13 farah 24 jules 21
eli pass chen fail eli fail alice fail farah pass jules pass
lina 12 bruno 7 jules 15 alice 4 jules 6 lina 17
lina fail bruno fail jules fail alice fail jules fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036329
qwen/qwen3.7-plus
awkweave-0036330
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
farah fable 5 alice ember 43 dina cobalt 81 eli fable 6 dina harbor 113 farah fable 95
FARAH ALICE DINA ELI DINA FARAH
kim indigo 17 chen harbor 20 eli ember 6 chen harbor 37 eli juniper 93 eli harbor 13 farah indigo 49
KIM CHEN ELI CHEN ELI ELI FARAH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036330-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
farah fable 5 alice ember 43 dina cobalt 81 eli fable 6 dina harbor 113 farah fable 95
FARAH ALICE DINA ELI DINA FARAH
kim indigo 17 chen harbor 20 eli ember 6 chen harbor 37 eli juniper 93 eli harbor 13 farah indigo 49
KIM CHEN ELI CHEN ELI ELI FARAH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036330
qwen/qwen3.7-plus
awkweave-0036331
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
harbor 67 ember 34 harbor 77 ember 110 harbor 67 grove 9
arb mbe arb mbe arb rov
harbor 42 cobalt 24 grove 41 grove 43 delta 48 grove 37 amber 67
arb oba rov rov elt rov mbe
substring
1
train
original-grammar
CC-BY-4.0
null
null