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-0005500-p1
Output the final field from every line of input.
{print $NF}
active 102 failed grove 56 alice ready 32 failed grove 91 chen closed 34 ready juniper 107 lina ready 80 failed birch 57 lina active 45 failed juniper 55 gus closed 60 failed indigo 30 lina paused 64 pending indigo 72 kim
alice chen lina lina gus lina kim
paused 13 ready delta 66 lina ready 20 closed juniper 35 eli failed 68 paused delta 20 jules failed 30 pending birch 64 bruno paused 40 closed ember 43 farah pending 11 ready amber 2 kim failed 71 active amber 58 alice failed 71 ready ember 3 eli
lina eli jules bruno farah kim alice eli
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005500
qwen/qwen3.7-plus
awkweave-0005501
Print the complete records where column 1 is less than 76.
$1 < 76
53 pending birch 50 pending ember 32 pending delta 28 pending harbor 90 paused delta 64 ready amber 48 failed ember 54 paused cobalt 14 ready amber
53 pending birch 50 pending ember 32 pending delta 28 pending harbor 64 ready amber 48 failed ember 54 paused cobalt 14 ready amber
10 ready grove 56 active harbor 30 paused indigo 65 paused cobalt 54 failed ember 66 failed delta 78 ready birch 109 active amber 93 closed cobalt 120 ready cobalt
10 ready grove 56 active harbor 30 paused indigo 65 paused cobalt 54 failed ember 66 failed delta
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005501-p1
Display the full records where the value in the first column is strictly less than 76.
$1 < 76
53 pending birch 50 pending ember 32 pending delta 28 pending harbor 90 paused delta 64 ready amber 48 failed ember 54 paused cobalt 14 ready amber
53 pending birch 50 pending ember 32 pending delta 28 pending harbor 64 ready amber 48 failed ember 54 paused cobalt 14 ready amber
10 ready grove 56 active harbor 30 paused indigo 65 paused cobalt 54 failed ember 66 failed delta 78 ready birch 109 active amber 93 closed cobalt 120 ready cobalt
10 ready grove 56 active harbor 30 paused indigo 65 paused cobalt 54 failed ember 66 failed delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005501
qwen/qwen3.7-plus
awkweave-0005502
Show whole lines whose 1st field is between 6 and 18, inclusive.
$1 >= 6 && $1 <= 18
16 alice kim failed 22 eli gus active 18 lina bruno paused 11 chen ivan ready 27 ivan ivan failed 8 jules ivan closed
16 alice kim failed 18 lina bruno paused 11 chen ivan ready 8 jules ivan closed
14 ivan chen pending 16 jules ivan ready 30 hana eli pending 11 dina bruno closed 21 farah chen failed 28 lina farah pending 15 alice gus closed 19 hana kim paused
14 ivan chen pending 16 jules ivan ready 11 dina bruno closed 15 alice gus closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005502-p1
Output entire lines where the first field falls within the range of 6 to 18, inclusive.
$1 >= 6 && $1 <= 18
16 alice kim failed 22 eli gus active 18 lina bruno paused 11 chen ivan ready 27 ivan ivan failed 8 jules ivan closed
16 alice kim failed 18 lina bruno paused 11 chen ivan ready 8 jules ivan closed
14 ivan chen pending 16 jules ivan ready 30 hana eli pending 11 dina bruno closed 21 farah chen failed 28 lina farah pending 15 alice gus closed 19 hana kim paused
14 ivan chen pending 16 jules ivan ready 11 dina bruno closed 15 alice gus closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005502
qwen/qwen3.7-plus
awkweave-0005503
Print column 1 only for rows where column 4 is exactly closed.
$4 == "closed"{print $1}
gus delta 93 pending farah delta 4 closed lina indigo 64 pending ivan delta 53 ready dina ember 40 active lina indigo 64 paused
farah
kim ember 95 ready dina birch 77 paused bruno juniper 62 failed bruno indigo 1 ready bruno indigo 44 pending lina fable 95 ready bruno ember 106 ready lina fable 88 pending dina ember 101 closed
dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005503-p1
Output only the first column for rows where the fourth column matches the string 'closed' exactly.
$4 == "closed"{print $1}
gus delta 93 pending farah delta 4 closed lina indigo 64 pending ivan delta 53 ready dina ember 40 active lina indigo 64 paused
farah
kim ember 95 ready dina birch 77 paused bruno juniper 62 failed bruno indigo 1 ready bruno indigo 44 pending lina fable 95 ready bruno ember 106 ready lina fable 88 pending dina ember 101 closed
dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005503
qwen/qwen3.7-plus
awkweave-0005504
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
83 amber ERROR 90 amber WARN 56 juniper INFO 85 harbor DEBUG 95 grove INFO 39 delta DEBUG 106 grove DEBUG 9 delta WARN 101 cobalt WARN 112 cobalt WARN
56 juniper INFO 95 grove INFO
112 birch INFO 7 grove DEBUG 61 cobalt INFO 76 fable INFO 93 fable ERROR 72 fable ERROR 93 juniper DEBUG
112 birch INFO 61 cobalt INFO 76 fable INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005504-p1
Print all fields from lines where the third field starts with the prefix 'INFO'.
$3 ~ /^INFO/
83 amber ERROR 90 amber WARN 56 juniper INFO 85 harbor DEBUG 95 grove INFO 39 delta DEBUG 106 grove DEBUG 9 delta WARN 101 cobalt WARN 112 cobalt WARN
56 juniper INFO 95 grove INFO
112 birch INFO 7 grove DEBUG 61 cobalt INFO 76 fable INFO 93 fable ERROR 72 fable ERROR 93 juniper DEBUG
112 birch INFO 61 cobalt INFO 76 fable INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005504
qwen/qwen3.7-plus
awkweave-0005505
Print every line except those containing the exact text grove.
$0 !~ /grove/
delta 45 ready indigo 34 active juniper 92 failed indigo 41 pending cobalt 35 closed delta 46 pending indigo 120 pending grove 999 active
delta 45 ready indigo 34 active juniper 92 failed indigo 41 pending cobalt 35 closed delta 46 pending indigo 120 pending
grove 82 active delta 4 pending birch 94 paused fable 106 pending ember 57 paused ember 42 failed grove 999 active
delta 4 pending birch 94 paused fable 106 pending ember 57 paused ember 42 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005505-p1
Output every line that does not contain the exact string 'grove'.
$0 !~ /grove/
delta 45 ready indigo 34 active juniper 92 failed indigo 41 pending cobalt 35 closed delta 46 pending indigo 120 pending grove 999 active
delta 45 ready indigo 34 active juniper 92 failed indigo 41 pending cobalt 35 closed delta 46 pending indigo 120 pending
grove 82 active delta 4 pending birch 94 paused fable 106 pending ember 57 paused ember 42 failed grove 999 active
delta 4 pending birch 94 paused fable 106 pending ember 57 paused ember 42 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005505
qwen/qwen3.7-plus
awkweave-0005506
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
gus cobalt 37 alice harbor 74 hana ember 41 lina harbor 65 chen amber 8 ivan grove 47 hana juniper 4
hana ember 41 lina harbor 65 chen amber 8
kim juniper 84 gus delta 102 hana juniper 112 hana cobalt 72 hana grove 84 alice delta 18
hana juniper 112 hana cobalt 72 hana grove 84
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005506-p1
Display lines 3 to 5, inclusive of both the start and end lines.
NR >= 3 && NR <= 5
gus cobalt 37 alice harbor 74 hana ember 41 lina harbor 65 chen amber 8 ivan grove 47 hana juniper 4
hana ember 41 lina harbor 65 chen amber 8
kim juniper 84 gus delta 102 hana juniper 112 hana cobalt 72 hana grove 84 alice delta 18
hana juniper 112 hana cobalt 72 hana grove 84
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005506
qwen/qwen3.7-plus
awkweave-0005507
Output only the first 5 records.
NR <= 5
lina 5 ember chen 111 amber alice 81 fable jules 96 ember alice 11 ember jules 13 ember bruno 44 cobalt farah 18 juniper chen 98 harbor
lina 5 ember chen 111 amber alice 81 fable jules 96 ember alice 11 ember
eli 52 delta kim 23 birch chen 21 amber lina 96 cobalt lina 108 amber lina 101 delta farah 50 amber dina 66 grove
eli 52 delta kim 23 birch chen 21 amber lina 96 cobalt lina 108 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005507-p1
Output just the initial 5 records.
NR <= 5
lina 5 ember chen 111 amber alice 81 fable jules 96 ember alice 11 ember jules 13 ember bruno 44 cobalt farah 18 juniper chen 98 harbor
lina 5 ember chen 111 amber alice 81 fable jules 96 ember alice 11 ember
eli 52 delta kim 23 birch chen 21 amber lina 96 cobalt lina 108 amber lina 101 delta farah 50 amber dina 66 grove
eli 52 delta kim 23 birch chen 21 amber lina 96 cobalt lina 108 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005507
qwen/qwen3.7-plus
awkweave-0005508
Skip the first line and print every remaining line unchanged.
NR > 1
jules 97 delta jules 55 indigo chen 2 juniper eli 103 fable dina 86 birch lina 72 fable farah 21 juniper ivan 105 delta jules 76 grove alice 37 harbor
jules 55 indigo chen 2 juniper eli 103 fable dina 86 birch lina 72 fable farah 21 juniper ivan 105 delta jules 76 grove alice 37 harbor
ivan 4 ember alice 80 juniper kim 76 indigo bruno 28 amber eli 117 ember dina 102 delta dina 13 ember bruno 51 harbor dina 27 birch
alice 80 juniper kim 76 indigo bruno 28 amber eli 117 ember dina 102 delta dina 13 ember bruno 51 harbor dina 27 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005508-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
jules 97 delta jules 55 indigo chen 2 juniper eli 103 fable dina 86 birch lina 72 fable farah 21 juniper ivan 105 delta jules 76 grove alice 37 harbor
jules 55 indigo chen 2 juniper eli 103 fable dina 86 birch lina 72 fable farah 21 juniper ivan 105 delta jules 76 grove alice 37 harbor
ivan 4 ember alice 80 juniper kim 76 indigo bruno 28 amber eli 117 ember dina 102 delta dina 13 ember bruno 51 harbor dina 27 birch
alice 80 juniper kim 76 indigo bruno 28 amber eli 117 ember dina 102 delta dina 13 ember bruno 51 harbor dina 27 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005508
qwen/qwen3.7-plus
awkweave-0005509
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
bruno active 28 lina paused 78 ivan active 46 chen ready 51 dina ready 32 lina failed 23 bruno failed 67 ivan active 94 eli closed 46 kim active 67
2
alice failed 7 farah failed 97 ivan closed 88 eli failed 64 ivan pending 1 bruno failed 15 kim paused 43 eli failed 116
5
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005509-p1
Tally the number of records with 'failed' in column 2, printing 0 if none exist.
$2 == "failed"{n++}END{print n+0}
bruno active 28 lina paused 78 ivan active 46 chen ready 51 dina ready 32 lina failed 23 bruno failed 67 ivan active 94 eli closed 46 kim active 67
2
alice failed 7 farah failed 97 ivan closed 88 eli failed 64 ivan pending 1 bruno failed 15 kim paused 43 eli failed 116
5
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005509
qwen/qwen3.7-plus
awkweave-0005510
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
cobalt 29 alice indigo 10 jules cobalt 13 kim cobalt 6 lina delta 22 bruno delta 5 gus fable 30 eli juniper 19 dina
134
harbor 17 eli cobalt 30 kim delta 8 farah delta 6 ivan ember 25 gus juniper 29 dina indigo 14 lina indigo 2 ivan
131
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005510-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
cobalt 29 alice indigo 10 jules cobalt 13 kim cobalt 6 lina delta 22 bruno delta 5 gus fable 30 eli juniper 19 dina
134
harbor 17 eli cobalt 30 kim delta 8 farah delta 6 ivan ember 25 gus juniper 29 dina indigo 14 lina indigo 2 ivan
131
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005510
qwen/qwen3.7-plus
awkweave-0005511
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
birch bruno 24 fable chen 30 amber chen 30 ember gus 26 delta kim 6 cobalt gus 7 indigo jules 9 birch gus 20
19.00
juniper dina 23 harbor jules 10 cobalt dina 7 birch hana 2 indigo dina 13 ember ivan 3 grove eli 3
8.71
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005511-p1
Print the average of column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
birch bruno 24 fable chen 30 amber chen 30 ember gus 26 delta kim 6 cobalt gus 7 indigo jules 9 birch gus 20
19.00
juniper dina 23 harbor jules 10 cobalt dina 7 birch hana 2 indigo dina 13 ember ivan 3 grove eli 3
8.71
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005511
qwen/qwen3.7-plus
awkweave-0005512
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules birch 13 gus delta 30 alice fable 22 eli grove 24 bruno cobalt 23 lina cobalt 6 jules grove 1 lina harbor 19
1
gus grove 3 jules cobalt 11 hana fable 20 hana juniper 3 jules delta 16 lina ember 20 chen birch 1 chen fable 6 bruno fable 19 bruno birch 29
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005512-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules birch 13 gus delta 30 alice fable 22 eli grove 24 bruno cobalt 23 lina cobalt 6 jules grove 1 lina harbor 19
1
gus grove 3 jules cobalt 11 hana fable 20 hana juniper 3 jules delta 16 lina ember 20 chen birch 1 chen fable 6 bruno fable 19 bruno birch 29
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005512
qwen/qwen3.7-plus
awkweave-0005513
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim grove 2 ivan ember 2 eli ember 12 ivan delta 19 bruno ember 25 gus fable 6 gus indigo 21 farah grove 26 gus delta 12
26
farah ember 29 lina birch 8 ivan delta 21 eli amber 11 farah fable 21 ivan juniper 27 lina fable 26 alice birch 6
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005513-p1
Identify and output the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim grove 2 ivan ember 2 eli ember 12 ivan delta 19 bruno ember 25 gus fable 6 gus indigo 21 farah grove 26 gus delta 12
26
farah ember 29 lina birch 8 ivan delta 21 eli amber 11 farah fable 21 ivan juniper 27 lina fable 26 alice birch 6
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005513
qwen/qwen3.7-plus
awkweave-0005514
Count all input records and print the total.
END{print NR}
bruno 41 alice 99 hana 10 bruno 61 dina 48 gus 20 eli 98 bruno 33
8
hana 56 chen 120 alice 90 alice 48 ivan 30 bruno 17 lina 10 kim 73 bruno 7
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005514-p1
Count the total number of input records and print the result.
END{print NR}
bruno 41 alice 99 hana 10 bruno 61 dina 48 gus 20 eli 98 bruno 33
8
hana 56 chen 120 alice 90 alice 48 ivan 30 bruno 17 lina 10 kim 73 bruno 7
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005514
qwen/qwen3.7-plus
awkweave-0005515
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice delta 75 ivan birch 105 farah harbor 115 alice juniper 64 ivan birch 58 gus amber 99 kim amber 89 ivan birch 58 gus amber 105 eli harbor 6 bruno fable 4
alice delta 75 ivan birch 105 farah harbor 115 alice juniper 64 ivan birch 58 gus amber 99 kim amber 89 gus amber 105 eli harbor 6 bruno fable 4
ivan cobalt 44 bruno delta 89 jules amber 112 farah cobalt 3 gus juniper 65 gus harbor 8 eli grove 62 eli juniper 32 ivan cobalt 44 ivan cobalt 40
ivan cobalt 44 bruno delta 89 jules amber 112 farah cobalt 3 gus juniper 65 gus harbor 8 eli grove 62 eli juniper 32 ivan cobalt 40
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005515-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice delta 75 ivan birch 105 farah harbor 115 alice juniper 64 ivan birch 58 gus amber 99 kim amber 89 ivan birch 58 gus amber 105 eli harbor 6 bruno fable 4
alice delta 75 ivan birch 105 farah harbor 115 alice juniper 64 ivan birch 58 gus amber 99 kim amber 89 gus amber 105 eli harbor 6 bruno fable 4
ivan cobalt 44 bruno delta 89 jules amber 112 farah cobalt 3 gus juniper 65 gus harbor 8 eli grove 62 eli juniper 32 ivan cobalt 44 ivan cobalt 40
ivan cobalt 44 bruno delta 89 jules amber 112 farah cobalt 3 gus juniper 65 gus harbor 8 eli grove 62 eli juniper 32 ivan cobalt 40
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005515
qwen/qwen3.7-plus
awkweave-0005516
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
chen birch 51 jules indigo 77 hana ember 1 hana harbor 56 eli fable 94 bruno juniper 40
chen birch 51 jules indigo 77 hana ember 1 eli fable 94 bruno juniper 40
hana indigo 94 ivan indigo 30 hana harbor 70 hana ember 51 lina indigo 89 farah fable 53 lina delta 111 farah harbor 67
hana indigo 94 ivan indigo 30 lina indigo 89 farah fable 53
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005516-p1
Retain only the first occurrence for each unique value in column 1, keeping the original order.
!seen[$1]++
chen birch 51 jules indigo 77 hana ember 1 hana harbor 56 eli fable 94 bruno juniper 40
chen birch 51 jules indigo 77 hana ember 1 eli fable 94 bruno juniper 40
hana indigo 94 ivan indigo 30 hana harbor 70 hana ember 51 lina indigo 89 farah fable 53 lina delta 111 farah harbor 67
hana indigo 94 ivan indigo 30 lina indigo 89 farah fable 53
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005516
qwen/qwen3.7-plus
awkweave-0005517
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 23 amber hana 24 indigo alice 22 harbor bruno 12 cobalt jules 27 cobalt lina 12 ember
gus 23 hana 47 alice 69 bruno 81 jules 108 lina 120
jules 12 birch farah 1 harbor chen 5 fable lina 22 amber alice 27 juniper hana 20 juniper alice 2 delta ivan 8 birch
jules 12 farah 13 chen 18 lina 40 alice 67 hana 87 alice 89 ivan 97
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005517-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 23 amber hana 24 indigo alice 22 harbor bruno 12 cobalt jules 27 cobalt lina 12 ember
gus 23 hana 47 alice 69 bruno 81 jules 108 lina 120
jules 12 birch farah 1 harbor chen 5 fable lina 22 amber alice 27 juniper hana 20 juniper alice 2 delta ivan 8 birch
jules 12 farah 13 chen 18 lina 40 alice 67 hana 87 alice 89 ivan 97
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005517
qwen/qwen3.7-plus
awkweave-0005518
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 6 5 harbor alice 21 21 cobalt farah 22 24 fable bruno 15 6 ember ivan 18 3 fable gus 6 23 birch gus 20 2 ember dina 20 10 indigo
dina 11 alice 42 farah 46 bruno 21 ivan 21 gus 29 gus 22 dina 30
kim 4 22 fable kim 25 14 fable jules 3 25 cobalt ivan 9 4 cobalt gus 15 7 harbor alice 1 17 harbor
kim 26 kim 39 jules 28 ivan 13 gus 22 alice 18
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005518-p1
For each line, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
dina 6 5 harbor alice 21 21 cobalt farah 22 24 fable bruno 15 6 ember ivan 18 3 fable gus 6 23 birch gus 20 2 ember dina 20 10 indigo
dina 11 alice 42 farah 46 bruno 21 ivan 21 gus 29 gus 22 dina 30
kim 4 22 fable kim 25 14 fable jules 3 25 cobalt ivan 9 4 cobalt gus 15 7 harbor alice 1 17 harbor
kim 26 kim 39 jules 28 ivan 13 gus 22 alice 18
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005518
qwen/qwen3.7-plus
awkweave-0005519
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
eli 15 dina 24 eli 17 hana 7 farah 9 jules 12
eli fail dina fail eli fail hana fail farah fail jules fail
bruno 3 farah 1 alice 18 kim 13 dina 16 bruno 21
bruno fail farah fail alice fail kim fail dina fail bruno fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005519-p1
Output the first column; if the second column is 25 or more, print pass, otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
eli 15 dina 24 eli 17 hana 7 farah 9 jules 12
eli fail dina fail eli fail hana fail farah fail jules fail
bruno 3 farah 1 alice 18 kim 13 dina 16 bruno 21
bruno fail farah fail alice fail kim fail dina fail bruno fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005519
qwen/qwen3.7-plus
awkweave-0005520
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
ivan birch 0 kim harbor 120 farah birch 70 eli harbor 78 eli cobalt 13 hana ember 88 lina ember 55 eli delta 35 gus juniper 103
IVAN KIM FARAH ELI ELI HANA LINA ELI GUS
eli grove 32 hana harbor 18 lina ember 101 gus cobalt 53 dina birch 55 farah cobalt 12
ELI HANA LINA GUS DINA FARAH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005520-p1
Transform the first column to uppercase and display only that column.
{print toupper($1)}
ivan birch 0 kim harbor 120 farah birch 70 eli harbor 78 eli cobalt 13 hana ember 88 lina ember 55 eli delta 35 gus juniper 103
IVAN KIM FARAH ELI ELI HANA LINA ELI GUS
eli grove 32 hana harbor 18 lina ember 101 gus cobalt 53 dina birch 55 farah cobalt 12
ELI HANA LINA GUS DINA FARAH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005520
qwen/qwen3.7-plus
awkweave-0005521
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
harbor 94 harbor 48 cobalt 50 juniper 14 amber 40 ember 104 juniper 107 juniper 40
ar ar ob un mb mb un un
indigo 94 grove 94 cobalt 64 delta 101 birch 90 delta 80
nd ro ob el ir el
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005521-p1
Extract and print two characters from the first column, starting at the second character.
{print substr($1,2,2)}
harbor 94 harbor 48 cobalt 50 juniper 14 amber 40 ember 104 juniper 107 juniper 40
ar ar ob un mb mb un un
indigo 94 grove 94 cobalt 64 delta 101 birch 90 delta 80
nd ro ob el ir el
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005521
qwen/qwen3.7-plus
awkweave-0005522
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_fable 67 ember_birch 14 ember_harbor 20 fable_cobalt 98 fable_cobalt 70 amber_ember 89 fable_birch 65
harbor fable ember birch ember harbor fable cobalt fable cobalt amber ember fable birch
juniper_indigo 57 harbor_amber 47 delta_harbor 101 indigo_cobalt 103 birch_indigo 30 juniper_fable 67 delta_amber 38 birch_harbor 60 indigo_cobalt 76 ember_grove 43
juniper indigo harbor amber delta harbor indigo cobalt birch indigo juniper fable delta amber birch harbor indigo cobalt ember grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005522-p1
Substitute all underscores in the first column with spaces and output the result.
{gsub(/_/," ",$1);print $1}
harbor_fable 67 ember_birch 14 ember_harbor 20 fable_cobalt 98 fable_cobalt 70 amber_ember 89 fable_birch 65
harbor fable ember birch ember harbor fable cobalt fable cobalt amber ember fable birch
juniper_indigo 57 harbor_amber 47 delta_harbor 101 indigo_cobalt 103 birch_indigo 30 juniper_fable 67 delta_amber 38 birch_harbor 60 indigo_cobalt 76 ember_grove 43
juniper indigo harbor amber delta harbor indigo cobalt birch indigo juniper fable delta amber birch harbor indigo cobalt ember grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005522
qwen/qwen3.7-plus
awkweave-0005523
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)}
farah indigo 57 closed farah fable 0 paused chen fable 7 active farah juniper 34 closed jules delta 116 paused farah birch 9 active eli indigo 34 paused gus amber 2 paused
closed 57 indigo farah paused 0 fable farah active 7 fable chen closed 34 juniper farah paused 116 delta jules active 9 birch farah paused 34 indigo eli paused 2 amber gus
jules grove 34 ready gus delta 99 closed lina grove 94 ready gus fable 42 closed jules grove 109 failed chen indigo 119 pending kim cobalt 30 active farah birch 41 ready
ready 34 grove jules closed 99 delta gus ready 94 grove lina closed 42 fable gus failed 109 grove jules pending 119 indigo chen active 30 cobalt kim ready 41 birch farah
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005523-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
farah indigo 57 closed farah fable 0 paused chen fable 7 active farah juniper 34 closed jules delta 116 paused farah birch 9 active eli indigo 34 paused gus amber 2 paused
closed 57 indigo farah paused 0 fable farah active 7 fable chen closed 34 juniper farah paused 116 delta jules active 9 birch farah paused 34 indigo eli paused 2 amber gus
jules grove 34 ready gus delta 99 closed lina grove 94 ready gus fable 42 closed jules grove 109 failed chen indigo 119 pending kim cobalt 30 active farah birch 41 ready
ready 34 grove jules closed 99 delta gus ready 94 grove lina closed 42 fable gus failed 109 grove jules pending 119 indigo chen active 30 cobalt kim ready 41 birch farah
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005523
qwen/qwen3.7-plus
awkweave-0005524
Print the number of whitespace-separated fields on each line.
{print NF}
ivan birch 45 ready ivan grove 52 active alice juniper 62 pending bruno cobalt 56 pending alice ember 18 paused alice cobalt 52 pending alice indigo 53 paused alice birch 6 paused
4 4 4 4 4 4 4 4
eli fable 17 pending alice grove 1 active kim cobalt 34 closed dina juniper 72 active lina delta 74 pending jules amber 28 pending dina grove 34 ready farah juniper 113 ready dina juniper 100 ready chen grove 72 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005524-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
ivan birch 45 ready ivan grove 52 active alice juniper 62 pending bruno cobalt 56 pending alice ember 18 paused alice cobalt 52 pending alice indigo 53 paused alice birch 6 paused
4 4 4 4 4 4 4 4
eli fable 17 pending alice grove 1 active kim cobalt 34 closed dina juniper 72 active lina delta 74 pending jules amber 28 pending dina grove 34 ready farah juniper 113 ready dina juniper 100 ready chen grove 72 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005524
qwen/qwen3.7-plus
awkweave-0005525
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]]}
farah beta 50 kim gamma 14 chen delta 97 gus beta 80 chen alpha 9 dina alpha 70 hana delta 114 hana beta 38 farah gamma 95 lina alpha 1
beta 3 gamma 2 delta 2 alpha 3
eli beta 91 lina beta 81 dina alpha 5 chen beta 23 chen delta 116 kim alpha 31 farah alpha 7 ivan beta 62 eli gamma 79
beta 4 alpha 3 delta 1 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005525-p1
Tally 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]]}
farah beta 50 kim gamma 14 chen delta 97 gus beta 80 chen alpha 9 dina alpha 70 hana delta 114 hana beta 38 farah gamma 95 lina alpha 1
beta 3 gamma 2 delta 2 alpha 3
eli beta 91 lina beta 81 dina alpha 5 chen beta 23 chen delta 116 kim alpha 31 farah alpha 7 ivan beta 62 eli gamma 79
beta 4 alpha 3 delta 1 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005525
qwen/qwen3.7-plus
awkweave-0005526
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]]}
eli beta 8 gus alpha 9 farah gamma 3 lina alpha 10 bruno delta 4 gus delta 12 chen delta 21 gus gamma 3 lina alpha 23 chen gamma 13
beta 8 alpha 42 gamma 19 delta 37
chen gamma 1 chen delta 14 eli gamma 19 dina gamma 20 gus beta 10 farah delta 17
gamma 40 delta 31 beta 10
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005526-p1
Calculate the sum of the third column for each group defined by the second column, displaying results in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli beta 8 gus alpha 9 farah gamma 3 lina alpha 10 bruno delta 4 gus delta 12 chen delta 21 gus gamma 3 lina alpha 23 chen gamma 13
beta 8 alpha 42 gamma 19 delta 37
chen gamma 1 chen delta 14 eli gamma 19 dina gamma 20 gus beta 10 farah delta 17
gamma 40 delta 31 beta 10
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005526
qwen/qwen3.7-plus
awkweave-0005527
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 birch 22 beta grove 110 beta cobalt 29 delta fable 25 gamma delta 39 beta grove 85 gamma amber 52 alpha ember 83 beta ember 106
gamma 3 beta 4
alpha cobalt 74 delta cobalt 27 beta fable 74 gamma grove 105 alpha juniper 43 delta delta 25 delta cobalt 39 alpha ember 67 alpha grove 0 beta fable 115
alpha 4 delta 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005527-p1
List each duplicate value from the first column along with its occurrence count, 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 birch 22 beta grove 110 beta cobalt 29 delta fable 25 gamma delta 39 beta grove 85 gamma amber 52 alpha ember 83 beta ember 106
gamma 3 beta 4
alpha cobalt 74 delta cobalt 27 beta fable 74 gamma grove 105 alpha juniper 43 delta delta 25 delta cobalt 39 alpha ember 67 alpha grove 0 beta fable 115
alpha 4 delta 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005527
qwen/qwen3.7-plus
awkweave-0005528
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note region record_id state r001 hana 14 closed r002 bruno 2 active r003 kim 16 pending r004 gus 7 closed r005 eli 27 paused r006 gus 18 failed r007 ivan 12 ready r008 chen 9 ready
closed active pending closed paused failed ready ready
note region record_id state r001 alice 16 failed r002 kim 22 failed r003 kim 20 pending r004 kim 21 pending r005 alice 12 paused r006 alice 7 closed r007 hana 24 active r008 bruno 8 failed
failed failed pending pending paused closed active failed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005528-p1
Skip the header row and print the state column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note region record_id state r001 hana 14 closed r002 bruno 2 active r003 kim 16 pending r004 gus 7 closed r005 eli 27 paused r006 gus 18 failed r007 ivan 12 ready r008 chen 9 ready
closed active pending closed paused failed ready ready
note region record_id state r001 alice 16 failed r002 kim 22 failed r003 kim 20 pending r004 kim 21 pending r005 alice 12 paused r006 alice 7 closed r007 hana 24 active r008 bruno 8 failed
failed failed pending pending paused closed active failed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005528
qwen/qwen3.7-plus
awkweave-0005529
The first row is a header. Print display_name for data rows whose score is greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 ivan 2 pending r002 farah 22 paused r003 chen 24 active r004 lina 25 ready r005 chen 30 closed r006 eli 25 paused
chen lina chen eli
record_id display_name score state r001 dina 2 active r002 bruno 21 failed r003 bruno 19 closed r004 dina 16 pending r005 lina 3 ready r006 gus 15 closed r007 lina 26 paused
lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005529-p1
Ignoring the header, print the display_name for rows where the score exceeds 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 ivan 2 pending r002 farah 22 paused r003 chen 24 active r004 lina 25 ready r005 chen 30 closed r006 eli 25 paused
chen lina chen eli
record_id display_name score state r001 dina 2 active r002 bruno 21 failed r003 bruno 19 closed r004 dina 16 pending r005 lina 3 ready r006 gus 15 closed r007 lina 26 paused
lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005529
qwen/qwen3.7-plus
awkweave-0005530
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
alice 14 pending eli 11 active ivan 23 ready alice 27 failed jules 11 ready eli 29 paused chen 28 pending bruno 9 closed
pending active ready failed ready paused pending closed
bruno 11 closed dina 26 active chen 11 active farah 25 paused alice 14 failed dina 1 active
closed active active paused failed active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005530-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
alice 14 pending eli 11 active ivan 23 ready alice 27 failed jules 11 ready eli 29 paused chen 28 pending bruno 9 closed
pending active ready failed ready paused pending closed
bruno 11 closed dina 26 active chen 11 active farah 25 paused alice 14 failed dina 1 active
closed active active paused failed active
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0005530
qwen/qwen3.7-plus
awkweave-0005531
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
farah,16,failed alice,11,paused bruno,15,failed jules,5,paused alice,10,pending gus,20,ready dina,7,closed lina,25,failed ivan,19,pending
farah gus lina ivan
bruno,2,paused eli,3,ready eli,24,paused kim,24,pending bruno,29,closed ivan,25,paused jules,23,paused kim,9,ready
eli kim bruno ivan jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005531-p1
Output the first field of comma-separated rows where the second field is strictly greater than 15, assuming no quoted commas exist.
BEGIN{FS=OFS=","}$2>15{print $1}
farah,16,failed alice,11,paused bruno,15,failed jules,5,paused alice,10,pending gus,20,ready dina,7,closed lina,25,failed ivan,19,pending
farah gus lina ivan
bruno,2,paused eli,3,ready eli,24,paused kim,24,pending bruno,29,closed ivan,25,paused jules,23,paused kim,9,ready
eli kim bruno ivan jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005531
qwen/qwen3.7-plus
awkweave-0005532
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno delta 38 lina delta 86 dina birch 43 lina juniper 65 hana fable 81 ivan birch 101 lina indigo 37 ivan harbor 94 alice birch 1
bruno delta 38 lina delta 86 dina birch 43 lina juniper 65 hana fable 81 ivan birch 101 lina indigo 37 ivan harbor 94 alice birch 1
kim harbor 2 alice juniper 79 bruno juniper 89 gus delta 49 bruno delta 96 hana amber 62 farah harbor 3 hana amber 22 hana delta 8 kim delta 118
kim harbor 2 alice juniper 79 bruno juniper 89 gus delta 49 bruno delta 96 hana amber 62 farah harbor 3 hana amber 22 hana delta 8 kim delta 118
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005532-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
bruno delta 38 lina delta 86 dina birch 43 lina juniper 65 hana fable 81 ivan birch 101 lina indigo 37 ivan harbor 94 alice birch 1
bruno delta 38 lina delta 86 dina birch 43 lina juniper 65 hana fable 81 ivan birch 101 lina indigo 37 ivan harbor 94 alice birch 1
kim harbor 2 alice juniper 79 bruno juniper 89 gus delta 49 bruno delta 96 hana amber 62 farah harbor 3 hana amber 22 hana delta 8 kim delta 118
kim harbor 2 alice juniper 79 bruno juniper 89 gus delta 49 bruno delta 96 hana amber 62 farah harbor 3 hana amber 22 hana delta 8 kim delta 118
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005532
qwen/qwen3.7-plus
awkweave-0005533
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina fable 114 failed eli indigo 104 failed dina birch 37 pending jules cobalt 4 active farah grove 59 ready chen harbor 34 ready eli grove 104 pending chen grove 81 closed gus ember 29 pending lina fable 13 active
dina fable 114 failed
ivan delta 75 active eli harbor 62 ready kim cobalt 85 ready chen juniper 27 failed jules amber 41 active eli indigo 22 active chen indigo 108 ready
chen juniper 27 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005533-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, output the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
dina fable 114 failed eli indigo 104 failed dina birch 37 pending jules cobalt 4 active farah grove 59 ready chen harbor 34 ready eli grove 104 pending chen grove 81 closed gus ember 29 pending lina fable 13 active
dina fable 114 failed
ivan delta 75 active eli harbor 62 ready kim cobalt 85 ready chen juniper 27 failed jules amber 41 active eli indigo 22 active chen indigo 108 ready
chen juniper 27 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005533
qwen/qwen3.7-plus
awkweave-0005534
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
ivan 35 alice 54 farah 15 farah 30 bruno 62 jules 62 farah 63
alice 54 bruno 62
bruno 68 alice 82 eli 56 chen 85 farah 93 farah 30 farah 107 eli 37 ivan 60 lina 16
alice 82 farah 93 eli 37
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005534-p1
Print lines 2, 5, 8, and so on, effectively selecting every third line starting from the second.
NR%3==2
ivan 35 alice 54 farah 15 farah 30 bruno 62 jules 62 farah 63
alice 54 bruno 62
bruno 68 alice 82 eli 56 chen 85 farah 93 farah 30 farah 107 eli 37 ivan 60 lina 16
alice 82 farah 93 eli 37
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005534
qwen/qwen3.7-plus
awkweave-0005535
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma birch 51 beta juniper 32 gamma ember 92 gamma cobalt 33 delta ember 30 beta cobalt 71 beta harbor 79 beta amber 8 beta birch 23
6
beta fable 63 delta delta 2 gamma juniper 63 gamma amber 68 beta delta 63 beta harbor 40 gamma grove 67 delta indigo 36 alpha cobalt 19
8
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005535-p1
Calculate and output only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma birch 51 beta juniper 32 gamma ember 92 gamma cobalt 33 delta ember 30 beta cobalt 71 beta harbor 79 beta amber 8 beta birch 23
6
beta fable 63 delta delta 2 gamma juniper 63 gamma amber 68 beta delta 63 beta harbor 40 gamma grove 67 delta indigo 36 alpha cobalt 19
8
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005535
qwen/qwen3.7-plus
awkweave-0005536
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 1 0 dina 22 30 lina 1 2 eli 8 22 dina 14 7 alice 3 26 hana 6 7
dina 0.73 lina 0.50 eli 0.36 dina 2.00 alice 0.12 hana 0.86
alice 9 0 farah 13 30 alice 26 6 farah 17 15 kim 2 8 jules 6 4 gus 8 23 eli 12 4 eli 6 19
farah 0.43 alice 4.33 farah 1.13 kim 0.25 jules 1.50 gus 0.35 eli 3.00 eli 0.32
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005536-p1
For each row where the third column is non-zero, print the first column followed by 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}
dina 1 0 dina 22 30 lina 1 2 eli 8 22 dina 14 7 alice 3 26 hana 6 7
dina 0.73 lina 0.50 eli 0.36 dina 2.00 alice 0.12 hana 0.86
alice 9 0 farah 13 30 alice 26 6 farah 17 15 kim 2 8 jules 6 4 gus 8 23 eli 12 4 eli 6 19
farah 0.43 alice 4.33 farah 1.13 kim 0.25 jules 1.50 gus 0.35 eli 3.00 eli 0.32
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005536
qwen/qwen3.7-plus
awkweave-0005537
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]}
jules juniper 3 farah birch 3 bruno delta 16 alice ember 12 hana grove 4 jules harbor 23 eli cobalt 5 hana birch 9 dina delta 24
dina delta 24 jules harbor 23 bruno delta 16
gus amber 6 hana ember 13 gus indigo 25 alice cobalt 10 ivan amber 19 hana amber 23 chen grove 7 kim delta 29 chen ember 17 gus indigo 15
kim delta 29 gus indigo 25 hana amber 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005537-p1
Display 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]}
jules juniper 3 farah birch 3 bruno delta 16 alice ember 12 hana grove 4 jules harbor 23 eli cobalt 5 hana birch 9 dina delta 24
dina delta 24 jules harbor 23 bruno delta 16
gus amber 6 hana ember 13 gus indigo 25 alice cobalt 10 ivan amber 19 hana amber 23 chen grove 7 kim delta 29 chen ember 17 gus indigo 15
kim delta 29 gus indigo 25 hana amber 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005537
qwen/qwen3.7-plus
awkweave-0005538
For each line, output fields 2 and 1, in that order.
{print $2, $1}
farah harbor failed active failed alice birch ready paused active kim ember ready ready pending alice cobalt closed closed failed hana harbor closed failed active jules delta pending paused closed farah delta failed paused failed eli birch pending paused failed hana ember paused ready failed
harbor farah birch alice ember kim cobalt alice harbor hana delta jules delta farah birch eli ember hana
bruno delta pending closed paused ivan birch failed paused pending bruno indigo pending closed paused lina fable failed active paused alice indigo ready pending pending bruno delta pending failed paused ivan grove ready pending failed lina grove ready ready ready lina harbor ready closed pending
delta bruno birch ivan indigo bruno fable lina indigo alice delta bruno grove ivan grove lina harbor lina
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005538-p1
Output the second and first fields of each line, swapping their original order.
{print $2, $1}
farah harbor failed active failed alice birch ready paused active kim ember ready ready pending alice cobalt closed closed failed hana harbor closed failed active jules delta pending paused closed farah delta failed paused failed eli birch pending paused failed hana ember paused ready failed
harbor farah birch alice ember kim cobalt alice harbor hana delta jules delta farah birch eli ember hana
bruno delta pending closed paused ivan birch failed paused pending bruno indigo pending closed paused lina fable failed active paused alice indigo ready pending pending bruno delta pending failed paused ivan grove ready pending failed lina grove ready ready ready lina harbor ready closed pending
delta bruno birch ivan indigo bruno fable lina indigo alice delta bruno grove ivan grove lina harbor lina
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005538
qwen/qwen3.7-plus
awkweave-0005539
Print the last field of every input line.
{print $NF}
eli 16 active 109 grove ember grove bruno 42 paused 61 indigo cobalt harbor farah 66 closed 91 indigo harbor birch bruno 68 pending 104 ember amber delta bruno 55 pending 10 grove harbor indigo hana 70 ready 78 juniper cobalt harbor hana 43 active 97 birch juniper delta
grove harbor birch delta indigo harbor delta
chen 103 failed 84 amber grove juniper chen 99 paused 100 delta cobalt indigo lina 113 active 62 grove indigo amber gus 75 pending 55 delta harbor juniper farah 86 closed 110 fable juniper juniper ivan 12 failed 26 juniper amber birch jules 7 active 79 ember indigo amber
juniper indigo amber juniper juniper birch amber
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005539-p1
Print the final field from every line of input.
{print $NF}
eli 16 active 109 grove ember grove bruno 42 paused 61 indigo cobalt harbor farah 66 closed 91 indigo harbor birch bruno 68 pending 104 ember amber delta bruno 55 pending 10 grove harbor indigo hana 70 ready 78 juniper cobalt harbor hana 43 active 97 birch juniper delta
grove harbor birch delta indigo harbor delta
chen 103 failed 84 amber grove juniper chen 99 paused 100 delta cobalt indigo lina 113 active 62 grove indigo amber gus 75 pending 55 delta harbor juniper farah 86 closed 110 fable juniper juniper ivan 12 failed 26 juniper amber birch jules 7 active 79 ember indigo amber
juniper indigo amber juniper juniper birch amber
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005539
qwen/qwen3.7-plus
awkweave-0005540
Print the complete records where column 2 is greater than 63.
$2 > 63
pending 71 delta ready ready 101 juniper closed pending 2 indigo paused failed 6 ember active active 9 juniper failed ready 38 delta closed paused 19 juniper ready
pending 71 delta ready ready 101 juniper closed
paused 19 birch failed active 33 harbor active failed 54 juniper failed pending 20 delta ready failed 35 amber pending failed 32 ember ready active 38 birch failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005540-p1
Output entire records where the value in the second column exceeds 63.
$2 > 63
pending 71 delta ready ready 101 juniper closed pending 2 indigo paused failed 6 ember active active 9 juniper failed ready 38 delta closed paused 19 juniper ready
pending 71 delta ready ready 101 juniper closed
paused 19 birch failed active 33 harbor active failed 54 juniper failed pending 20 delta ready failed 35 amber pending failed 32 ember ready active 38 birch failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005540
qwen/qwen3.7-plus
awkweave-0005541
Show whole lines whose 3rd field is between 7 and 18, inclusive.
$3 >= 7 && $3 <= 18
paused ivan 6 dina paused jules 4 jules active kim 2 dina failed hana 3 chen active chen 7 farah ready kim 11 lina
active chen 7 farah ready kim 11 lina
ready ivan 11 eli pending jules 28 chen paused hana 17 dina paused farah 27 ivan closed alice 5 alice active jules 25 chen failed dina 4 chen pending jules 11 kim closed dina 29 gus paused jules 30 ivan
ready ivan 11 eli paused hana 17 dina pending jules 11 kim
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005541-p1
Display full lines where the third field falls within the inclusive range of 7 to 18.
$3 >= 7 && $3 <= 18
paused ivan 6 dina paused jules 4 jules active kim 2 dina failed hana 3 chen active chen 7 farah ready kim 11 lina
active chen 7 farah ready kim 11 lina
ready ivan 11 eli pending jules 28 chen paused hana 17 dina paused farah 27 ivan closed alice 5 alice active jules 25 chen failed dina 4 chen pending jules 11 kim closed dina 29 gus paused jules 30 ivan
ready ivan 11 eli paused hana 17 dina pending jules 11 kim
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005541
qwen/qwen3.7-plus
awkweave-0005542
Print column 2 only for rows where column 1 is exactly paused.
$1 == "paused"{print $2}
paused eli 23 cobalt paused kim 94 juniper failed ivan 45 amber failed chen 14 harbor ready ivan 91 delta ready kim 37 grove pending ivan 79 amber
eli kim
failed gus 18 delta ready lina 0 cobalt paused ivan 46 delta pending kim 97 harbor paused alice 57 juniper active alice 84 fable pending lina 2 cobalt
ivan alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005542-p1
Output the second column exclusively for rows where the first column matches 'paused' exactly.
$1 == "paused"{print $2}
paused eli 23 cobalt paused kim 94 juniper failed ivan 45 amber failed chen 14 harbor ready ivan 91 delta ready kim 37 grove pending ivan 79 amber
eli kim
failed gus 18 delta ready lina 0 cobalt paused ivan 46 delta pending kim 97 harbor paused alice 57 juniper active alice 84 fable pending lina 2 cobalt
ivan alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005542
qwen/qwen3.7-plus
awkweave-0005543
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
WARN 35 juniper WARN 113 juniper WARN 45 ember WARN 74 harbor WARN 2 harbor INFO 77 ember
INFO 77 ember
DEBUG 67 harbor DEBUG 104 harbor ERROR 64 juniper INFO 66 cobalt ERROR 62 juniper WARN 70 fable ERROR 63 grove DEBUG 2 ember INFO 15 harbor DEBUG 4 juniper
INFO 66 cobalt INFO 15 harbor
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005543-p1
Display every field from lines whose first field starts with 'INFO'.
$1 ~ /^INFO/
WARN 35 juniper WARN 113 juniper WARN 45 ember WARN 74 harbor WARN 2 harbor INFO 77 ember
INFO 77 ember
DEBUG 67 harbor DEBUG 104 harbor ERROR 64 juniper INFO 66 cobalt ERROR 62 juniper WARN 70 fable ERROR 63 grove DEBUG 2 ember INFO 15 harbor DEBUG 4 juniper
INFO 66 cobalt INFO 15 harbor
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005543
qwen/qwen3.7-plus
awkweave-0005544
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
amber 119 paused fable 86 active grove 0 paused ember 29 closed harbor 64 paused juniper 52 active ember 58 pending ember 52 paused harbor 113 failed birch 82 pending indigo 999 active
amber 119 paused fable 86 active grove 0 paused ember 29 closed harbor 64 paused juniper 52 active ember 58 pending ember 52 paused harbor 113 failed birch 82 pending
grove 118 ready ember 82 closed delta 10 failed grove 107 active amber 42 active fable 45 failed birch 0 paused birch 1 pending harbor 112 ready indigo 999 active
grove 118 ready ember 82 closed delta 10 failed grove 107 active amber 42 active fable 45 failed birch 0 paused birch 1 pending harbor 112 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005544-p1
Print all lines that do not contain the exact string 'indigo'.
$0 !~ /indigo/
amber 119 paused fable 86 active grove 0 paused ember 29 closed harbor 64 paused juniper 52 active ember 58 pending ember 52 paused harbor 113 failed birch 82 pending indigo 999 active
amber 119 paused fable 86 active grove 0 paused ember 29 closed harbor 64 paused juniper 52 active ember 58 pending ember 52 paused harbor 113 failed birch 82 pending
grove 118 ready ember 82 closed delta 10 failed grove 107 active amber 42 active fable 45 failed birch 0 paused birch 1 pending harbor 112 ready indigo 999 active
grove 118 ready ember 82 closed delta 10 failed grove 107 active amber 42 active fable 45 failed birch 0 paused birch 1 pending harbor 112 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005544
qwen/qwen3.7-plus
awkweave-0005545
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
dina birch 27 kim cobalt 72 ivan juniper 61 jules indigo 44 chen cobalt 91 alice fable 56 chen indigo 48 kim amber 63
kim cobalt 72 ivan juniper 61 jules indigo 44
gus indigo 31 dina fable 46 ivan ember 61 chen indigo 55 ivan birch 91 dina grove 86 kim amber 62 lina amber 81 bruno juniper 77
dina fable 46 ivan ember 61 chen indigo 55
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005545-p1
Output lines 2 to 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
dina birch 27 kim cobalt 72 ivan juniper 61 jules indigo 44 chen cobalt 91 alice fable 56 chen indigo 48 kim amber 63
kim cobalt 72 ivan juniper 61 jules indigo 44
gus indigo 31 dina fable 46 ivan ember 61 chen indigo 55 ivan birch 91 dina grove 86 kim amber 62 lina amber 81 bruno juniper 77
dina fable 46 ivan ember 61 chen indigo 55
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005545
qwen/qwen3.7-plus
awkweave-0005546
Output only the first 4 records.
NR <= 4
gus 81 juniper kim 70 juniper dina 79 harbor lina 103 grove farah 56 juniper lina 39 indigo eli 31 fable
gus 81 juniper kim 70 juniper dina 79 harbor lina 103 grove
gus 25 indigo farah 90 amber gus 40 harbor gus 97 grove farah 118 ember farah 107 birch
gus 25 indigo farah 90 amber gus 40 harbor gus 97 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005546-p1
Display only the initial 4 records.
NR <= 4
gus 81 juniper kim 70 juniper dina 79 harbor lina 103 grove farah 56 juniper lina 39 indigo eli 31 fable
gus 81 juniper kim 70 juniper dina 79 harbor lina 103 grove
gus 25 indigo farah 90 amber gus 40 harbor gus 97 grove farah 118 ember farah 107 birch
gus 25 indigo farah 90 amber gus 40 harbor gus 97 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005546
qwen/qwen3.7-plus
awkweave-0005547
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 90 juniper kim 47 fable kim 44 indigo bruno 91 delta ivan 112 harbor jules 75 cobalt alice 66 cobalt jules 19 amber hana 73 delta
kim 47 fable kim 44 indigo bruno 91 delta ivan 112 harbor jules 75 cobalt alice 66 cobalt jules 19 amber hana 73 delta
hana 45 indigo jules 18 birch eli 65 juniper lina 73 delta ivan 57 cobalt gus 114 grove farah 95 harbor
jules 18 birch eli 65 juniper lina 73 delta ivan 57 cobalt gus 114 grove farah 95 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005547-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
bruno 90 juniper kim 47 fable kim 44 indigo bruno 91 delta ivan 112 harbor jules 75 cobalt alice 66 cobalt jules 19 amber hana 73 delta
kim 47 fable kim 44 indigo bruno 91 delta ivan 112 harbor jules 75 cobalt alice 66 cobalt jules 19 amber hana 73 delta
hana 45 indigo jules 18 birch eli 65 juniper lina 73 delta ivan 57 cobalt gus 114 grove farah 95 harbor
jules 18 birch eli 65 juniper lina 73 delta ivan 57 cobalt gus 114 grove farah 95 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005547
qwen/qwen3.7-plus
awkweave-0005548
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
jules paused 17 lina closed 57 lina pending 100 farah closed 90 dina pending 11 alice paused 61 farah pending 18
2
gus active 13 chen ready 93 farah failed 18 lina paused 99 farah ready 51 bruno paused 100 jules pending 107 kim failed 64
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005548-p1
Count the number of records with 'closed' in column 2, outputting 0 if none exist.
$2 == "closed"{n++}END{print n+0}
jules paused 17 lina closed 57 lina pending 100 farah closed 90 dina pending 11 alice paused 61 farah pending 18
2
gus active 13 chen ready 93 farah failed 18 lina paused 99 farah ready 51 bruno paused 100 jules pending 107 kim failed 64
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005548
qwen/qwen3.7-plus
awkweave-0005549
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
20 amber ivan 6 juniper eli 11 fable eli 27 grove farah 5 harbor bruno 9 cobalt ivan 8 birch bruno 3 ember bruno
89
7 ember ivan 10 juniper ivan 7 amber eli 7 juniper farah 12 indigo gus 5 delta chen 14 delta eli 12 grove dina 9 cobalt hana
83
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005549-p1
Compute and display the sum of integer values found in column 1.
{s+=$1}END{print s+0}
20 amber ivan 6 juniper eli 11 fable eli 27 grove farah 5 harbor bruno 9 cobalt ivan 8 birch bruno 3 ember bruno
89
7 ember ivan 10 juniper ivan 7 amber eli 7 juniper farah 12 indigo gus 5 delta chen 14 delta eli 12 grove dina 9 cobalt hana
83
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005549
qwen/qwen3.7-plus
awkweave-0005550
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah juniper 30 jules delta 27 lina juniper 30 jules harbor 25 eli delta 22 chen delta 18 ivan amber 23 eli juniper 13 farah juniper 28
24.00
ivan juniper 23 chen ember 21 farah delta 8 dina amber 7 lina harbor 2 eli birch 5 gus fable 23 dina juniper 23 hana grove 16 kim birch 5
13.30
average_field
2
train
original-grammar
CC-BY-4.0
null
null