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-0042161-p1
Print entire records where the value in column 3 exceeds 73.
$3 > 73
chen amber 53 active indigo chen grove 84 pending juniper kim amber 18 active delta lina harbor 91 closed birch bruno birch 15 paused harbor lina harbor 110 ready harbor bruno amber 82 active harbor
chen grove 84 pending juniper lina harbor 91 closed birch lina harbor 110 ready harbor bruno amber 82 active harbor
bruno amber 16 closed grove farah ember 29 failed indigo ivan indigo 115 failed harbor jules grove 99 failed cobalt hana juniper 120 pending ember kim birch 83 ready delta bruno grove 8 paused indigo
ivan indigo 115 failed harbor jules grove 99 failed cobalt hana juniper 120 pending ember kim birch 83 ready delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042161
qwen/qwen3.7-plus
awkweave-0042162
Show whole lines whose 2nd field is between 11 and 24, inclusive.
$2 >= 11 && $2 <= 24
cobalt 9 failed birch fable 22 paused ember fable 28 paused indigo ember 18 ready cobalt indigo 4 pending delta juniper 6 failed delta birch 3 pending delta cobalt 10 pending ember
fable 22 paused ember ember 18 ready cobalt
fable 30 active fable birch 8 failed juniper delta 6 failed indigo birch 12 closed indigo ember 20 pending amber grove 5 failed indigo delta 9 ready amber delta 7 paused juniper
birch 12 closed indigo ember 20 pending amber
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042162-p1
Display complete lines where the second field falls within the inclusive range of 11 to 24.
$2 >= 11 && $2 <= 24
cobalt 9 failed birch fable 22 paused ember fable 28 paused indigo ember 18 ready cobalt indigo 4 pending delta juniper 6 failed delta birch 3 pending delta cobalt 10 pending ember
fable 22 paused ember ember 18 ready cobalt
fable 30 active fable birch 8 failed juniper delta 6 failed indigo birch 12 closed indigo ember 20 pending amber grove 5 failed indigo delta 9 ready amber delta 7 paused juniper
birch 12 closed indigo ember 20 pending amber
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042162
qwen/qwen3.7-plus
awkweave-0042163
Print column 1 only for rows where column 3 is exactly paused.
$3 == "paused"{print $1}
bruno ember ready 25 hana birch failed 70 farah indigo closed 87 chen fable closed 105 farah amber pending 57 kim birch active 67 hana cobalt ready 44 bruno grove active 50 dina grove paused 97 bruno indigo ready 13
dina
hana amber closed 28 jules fable closed 55 jules amber closed 68 hana birch closed 46 dina amber pending 91 jules grove closed 64 eli delta paused 90 jules harbor paused 30 jules cobalt closed 24
eli jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042163-p1
Output only the first column for rows where the third column contains the exact value 'paused'.
$3 == "paused"{print $1}
bruno ember ready 25 hana birch failed 70 farah indigo closed 87 chen fable closed 105 farah amber pending 57 kim birch active 67 hana cobalt ready 44 bruno grove active 50 dina grove paused 97 bruno indigo ready 13
dina
hana amber closed 28 jules fable closed 55 jules amber closed 68 hana birch closed 46 dina amber pending 91 jules grove closed 64 eli delta paused 90 jules harbor paused 30 jules cobalt closed 24
eli jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042163
qwen/qwen3.7-plus
awkweave-0042164
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
11 INFO grove 105 ERROR amber 11 INFO harbor 118 INFO delta 84 DEBUG indigo 120 INFO ember 105 DEBUG birch 73 INFO cobalt
11 INFO grove 11 INFO harbor 118 INFO delta 120 INFO ember 73 INFO cobalt
7 DEBUG delta 34 WARN cobalt 113 WARN grove 94 INFO amber 112 ERROR indigo 10 ERROR amber
94 INFO amber
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042164-p1
Print all fields from lines where the second field starts with the string 'INFO'.
$2 ~ /^INFO/
11 INFO grove 105 ERROR amber 11 INFO harbor 118 INFO delta 84 DEBUG indigo 120 INFO ember 105 DEBUG birch 73 INFO cobalt
11 INFO grove 11 INFO harbor 118 INFO delta 120 INFO ember 73 INFO cobalt
7 DEBUG delta 34 WARN cobalt 113 WARN grove 94 INFO amber 112 ERROR indigo 10 ERROR amber
94 INFO amber
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042164
qwen/qwen3.7-plus
awkweave-0042165
Print every line except those containing the exact text birch.
$0 !~ /birch/
amber 114 paused grove 21 active harbor 107 ready fable 29 pending delta 6 paused harbor 49 pending ember 104 closed ember 78 pending birch 999 active
amber 114 paused grove 21 active harbor 107 ready fable 29 pending delta 6 paused harbor 49 pending ember 104 closed ember 78 pending
birch 22 failed indigo 97 closed grove 30 paused birch 3 active ember 82 active ember 28 failed birch 999 active
indigo 97 closed grove 30 paused ember 82 active ember 28 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042165-p1
Output every line that does not contain the exact string 'birch'.
$0 !~ /birch/
amber 114 paused grove 21 active harbor 107 ready fable 29 pending delta 6 paused harbor 49 pending ember 104 closed ember 78 pending birch 999 active
amber 114 paused grove 21 active harbor 107 ready fable 29 pending delta 6 paused harbor 49 pending ember 104 closed ember 78 pending
birch 22 failed indigo 97 closed grove 30 paused birch 3 active ember 82 active ember 28 failed birch 999 active
indigo 97 closed grove 30 paused ember 82 active ember 28 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042165
qwen/qwen3.7-plus
awkweave-0042166
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
gus harbor 49 ivan harbor 114 farah birch 46 alice juniper 70 ivan cobalt 82 ivan ember 78
ivan harbor 114 farah birch 46 alice juniper 70
farah ember 87 ivan amber 73 alice grove 68 chen amber 33 eli grove 19 jules fable 53 ivan fable 23 lina ember 9
ivan amber 73 alice grove 68 chen amber 33
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042166-p1
Display lines 2 to 4, inclusive.
NR >= 2 && NR <= 4
gus harbor 49 ivan harbor 114 farah birch 46 alice juniper 70 ivan cobalt 82 ivan ember 78
ivan harbor 114 farah birch 46 alice juniper 70
farah ember 87 ivan amber 73 alice grove 68 chen amber 33 eli grove 19 jules fable 53 ivan fable 23 lina ember 9
ivan amber 73 alice grove 68 chen amber 33
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042166
qwen/qwen3.7-plus
awkweave-0042167
Output only the first 5 records.
NR <= 5
bruno 84 delta hana 44 delta jules 117 delta lina 61 ember gus 39 birch dina 2 delta eli 2 harbor hana 95 ember hana 66 cobalt
bruno 84 delta hana 44 delta jules 117 delta lina 61 ember gus 39 birch
farah 5 amber farah 86 cobalt farah 112 juniper dina 107 delta hana 33 delta chen 38 delta
farah 5 amber farah 86 cobalt farah 112 juniper dina 107 delta hana 33 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042167-p1
Output just the initial 5 records.
NR <= 5
bruno 84 delta hana 44 delta jules 117 delta lina 61 ember gus 39 birch dina 2 delta eli 2 harbor hana 95 ember hana 66 cobalt
bruno 84 delta hana 44 delta jules 117 delta lina 61 ember gus 39 birch
farah 5 amber farah 86 cobalt farah 112 juniper dina 107 delta hana 33 delta chen 38 delta
farah 5 amber farah 86 cobalt farah 112 juniper dina 107 delta hana 33 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042167
qwen/qwen3.7-plus
awkweave-0042168
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 54 ember kim 76 indigo eli 50 cobalt jules 93 grove alice 23 juniper gus 30 harbor farah 36 cobalt
kim 76 indigo eli 50 cobalt jules 93 grove alice 23 juniper gus 30 harbor farah 36 cobalt
lina 24 juniper lina 33 harbor farah 67 grove alice 97 indigo jules 51 ember jules 63 ember kim 60 juniper eli 100 cobalt chen 38 ember lina 63 delta
lina 33 harbor farah 67 grove alice 97 indigo jules 51 ember jules 63 ember kim 60 juniper eli 100 cobalt chen 38 ember lina 63 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042168-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
bruno 54 ember kim 76 indigo eli 50 cobalt jules 93 grove alice 23 juniper gus 30 harbor farah 36 cobalt
kim 76 indigo eli 50 cobalt jules 93 grove alice 23 juniper gus 30 harbor farah 36 cobalt
lina 24 juniper lina 33 harbor farah 67 grove alice 97 indigo jules 51 ember jules 63 ember kim 60 juniper eli 100 cobalt chen 38 ember lina 63 delta
lina 33 harbor farah 67 grove alice 97 indigo jules 51 ember jules 63 ember kim 60 juniper eli 100 cobalt chen 38 ember lina 63 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042168
qwen/qwen3.7-plus
awkweave-0042169
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
jules ready 14 gus paused 78 alice failed 97 eli active 112 bruno paused 42 gus paused 53 lina pending 16
1
ivan closed 77 farah active 75 dina paused 79 ivan pending 89 alice pending 80 hana pending 1 lina closed 80 bruno failed 84
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042169-p1
Count records where column 2 is 'ready'; output 0 if none match.
$2 == "ready"{n++}END{print n+0}
jules ready 14 gus paused 78 alice failed 97 eli active 112 bruno paused 42 gus paused 53 lina pending 16
1
ivan closed 77 farah active 75 dina paused 79 ivan pending 89 alice pending 80 hana pending 1 lina closed 80 bruno failed 84
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042169
qwen/qwen3.7-plus
awkweave-0042170
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
eli 4 harbor jules 4 amber jules 23 indigo dina 17 harbor jules 8 amber ivan 3 grove chen 8 juniper farah 16 indigo alice 10 cobalt
93
eli 4 grove kim 25 indigo farah 2 amber dina 10 juniper dina 14 harbor lina 1 fable kim 20 birch
76
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042170-p1
Compute and display the total sum of integers in column 2.
{s+=$2}END{print s+0}
eli 4 harbor jules 4 amber jules 23 indigo dina 17 harbor jules 8 amber ivan 3 grove chen 8 juniper farah 16 indigo alice 10 cobalt
93
eli 4 grove kim 25 indigo farah 2 amber dina 10 juniper dina 14 harbor lina 1 fable kim 20 birch
76
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042170
qwen/qwen3.7-plus
awkweave-0042171
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah fable 16 hana fable 20 bruno cobalt 18 ivan harbor 30 gus indigo 19 gus birch 22 kim indigo 10 lina ember 19
19.25
ivan birch 25 gus cobalt 23 farah juniper 20 ivan amber 13 gus fable 29 dina amber 1 dina fable 5 hana fable 1 alice fable 15
14.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042171-p1
Print the average of column 3, rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah fable 16 hana fable 20 bruno cobalt 18 ivan harbor 30 gus indigo 19 gus birch 22 kim indigo 10 lina ember 19
19.25
ivan birch 25 gus cobalt 23 farah juniper 20 ivan amber 13 gus fable 29 dina amber 1 dina fable 5 hana fable 1 alice fable 15
14.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042171
qwen/qwen3.7-plus
awkweave-0042172
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
30 fable bruno 7 harbor bruno 20 birch hana 13 cobalt lina 24 birch kim 28 indigo kim 18 grove alice 2 delta eli 6 ember farah
2
13 juniper kim 26 indigo kim 11 indigo chen 29 amber alice 1 delta alice 13 indigo jules 8 juniper dina 24 delta farah
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042172-p1
Identify and output the minimum numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
30 fable bruno 7 harbor bruno 20 birch hana 13 cobalt lina 24 birch kim 28 indigo kim 18 grove alice 2 delta eli 6 ember farah
2
13 juniper kim 26 indigo kim 11 indigo chen 29 amber alice 1 delta alice 13 indigo jules 8 juniper dina 24 delta farah
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042172
qwen/qwen3.7-plus
awkweave-0042173
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 delta jules 18 delta dina 19 harbor chen 9 birch jules 17 cobalt dina 22 ember dina
22
28 ember dina 26 indigo chen 21 cobalt jules 29 juniper alice 12 grove eli 20 fable eli 19 birch eli 28 juniper chen
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042173-p1
Identify and output the maximum numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 delta jules 18 delta dina 19 harbor chen 9 birch jules 17 cobalt dina 22 ember dina
22
28 ember dina 26 indigo chen 21 cobalt jules 29 juniper alice 12 grove eli 20 fable eli 19 birch eli 28 juniper chen
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042173
qwen/qwen3.7-plus
awkweave-0042174
Count all input records and print the total.
END{print NR}
kim 42 jules 47 kim 66 ivan 90 alice 106 hana 89 jules 95
7
eli 26 kim 79 jules 104 kim 79 bruno 7 dina 44 alice 63 jules 62 chen 10
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042174-p1
Count the total number of input records and print the result.
END{print NR}
kim 42 jules 47 kim 66 ivan 90 alice 106 hana 89 jules 95
7
eli 26 kim 79 jules 104 kim 79 bruno 7 dina 44 alice 63 jules 62 chen 10
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042174
qwen/qwen3.7-plus
awkweave-0042175
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina delta 118 gus fable 108 bruno indigo 120 lina amber 35 ivan birch 39 dina grove 16 jules grove 46 jules fable 86 gus fable 108 farah birch 0
lina delta 118 gus fable 108 bruno indigo 120 lina amber 35 ivan birch 39 dina grove 16 jules grove 46 jules fable 86 farah birch 0
dina grove 13 lina fable 118 kim grove 8 gus juniper 91 chen grove 107 jules birch 40 bruno ember 49 farah fable 34 kim grove 8 jules juniper 39 jules fable 118
dina grove 13 lina fable 118 kim grove 8 gus juniper 91 chen grove 107 jules birch 40 bruno ember 49 farah fable 34 jules juniper 39 jules fable 118
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042175-p1
Eliminate duplicate lines while keeping the first instance and maintaining original order.
!seen[$0]++
lina delta 118 gus fable 108 bruno indigo 120 lina amber 35 ivan birch 39 dina grove 16 jules grove 46 jules fable 86 gus fable 108 farah birch 0
lina delta 118 gus fable 108 bruno indigo 120 lina amber 35 ivan birch 39 dina grove 16 jules grove 46 jules fable 86 farah birch 0
dina grove 13 lina fable 118 kim grove 8 gus juniper 91 chen grove 107 jules birch 40 bruno ember 49 farah fable 34 kim grove 8 jules juniper 39 jules fable 118
dina grove 13 lina fable 118 kim grove 8 gus juniper 91 chen grove 107 jules birch 40 bruno ember 49 farah fable 34 jules juniper 39 jules fable 118
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042175
qwen/qwen3.7-plus
awkweave-0042176
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
eli cobalt 97 hana indigo 24 bruno ember 23 gus ember 35 eli amber 36 hana grove 90 ivan birch 31 chen fable 87
eli cobalt 97 hana indigo 24 bruno ember 23 eli amber 36 hana grove 90 ivan birch 31 chen fable 87
farah harbor 104 alice birch 90 ivan birch 4 bruno birch 81 hana ember 6 alice fable 67 dina ember 67 hana harbor 110 dina juniper 97 jules delta 43
farah harbor 104 alice birch 90 hana ember 6 alice fable 67 dina juniper 97 jules delta 43
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042176-p1
Retain only the first occurrence for each unique value in column 2, preserving input order.
!seen[$2]++
eli cobalt 97 hana indigo 24 bruno ember 23 gus ember 35 eli amber 36 hana grove 90 ivan birch 31 chen fable 87
eli cobalt 97 hana indigo 24 bruno ember 23 eli amber 36 hana grove 90 ivan birch 31 chen fable 87
farah harbor 104 alice birch 90 ivan birch 4 bruno birch 81 hana ember 6 alice fable 67 dina ember 67 hana harbor 110 dina juniper 97 jules delta 43
farah harbor 104 alice birch 90 hana ember 6 alice fable 67 dina juniper 97 jules delta 43
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042176
qwen/qwen3.7-plus
awkweave-0042177
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 26 juniper gus 15 harbor kim 4 birch gus 10 indigo lina 21 cobalt lina 18 delta kim 16 amber dina 8 ember eli 11 indigo lina 5 grove
bruno 26 gus 41 kim 45 gus 55 lina 76 lina 94 kim 110 dina 118 eli 129 lina 134
gus 10 grove lina 27 ember kim 23 cobalt gus 7 indigo hana 10 grove dina 1 amber farah 27 juniper hana 28 juniper alice 4 grove eli 29 ember
gus 10 lina 37 kim 60 gus 67 hana 77 dina 78 farah 105 hana 133 alice 137 eli 166
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042177-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 26 juniper gus 15 harbor kim 4 birch gus 10 indigo lina 21 cobalt lina 18 delta kim 16 amber dina 8 ember eli 11 indigo lina 5 grove
bruno 26 gus 41 kim 45 gus 55 lina 76 lina 94 kim 110 dina 118 eli 129 lina 134
gus 10 grove lina 27 ember kim 23 cobalt gus 7 indigo hana 10 grove dina 1 amber farah 27 juniper hana 28 juniper alice 4 grove eli 29 ember
gus 10 lina 37 kim 60 gus 67 hana 77 dina 78 farah 105 hana 133 alice 137 eli 166
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042177
qwen/qwen3.7-plus
awkweave-0042178
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 29 24 cobalt gus 14 12 delta eli 19 2 harbor hana 20 21 birch hana 10 8 harbor farah 27 11 ember lina 20 18 delta alice 21 15 ember bruno 21 19 indigo lina 24 21 cobalt
farah 53 gus 26 eli 21 hana 41 hana 18 farah 38 lina 38 alice 36 bruno 40 lina 45
ivan 23 22 delta farah 26 8 grove dina 16 20 cobalt lina 26 8 ember jules 1 28 cobalt jules 7 23 birch eli 10 11 amber lina 12 6 juniper dina 5 7 juniper
ivan 45 farah 34 dina 36 lina 34 jules 29 jules 30 eli 21 lina 18 dina 12
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042178-p1
Output field 1 and the total of fields 2 and 3 for each row.
{print $1,$2+$3}
farah 29 24 cobalt gus 14 12 delta eli 19 2 harbor hana 20 21 birch hana 10 8 harbor farah 27 11 ember lina 20 18 delta alice 21 15 ember bruno 21 19 indigo lina 24 21 cobalt
farah 53 gus 26 eli 21 hana 41 hana 18 farah 38 lina 38 alice 36 bruno 40 lina 45
ivan 23 22 delta farah 26 8 grove dina 16 20 cobalt lina 26 8 ember jules 1 28 cobalt jules 7 23 birch eli 10 11 amber lina 12 6 juniper dina 5 7 juniper
ivan 45 farah 34 dina 36 lina 34 jules 29 jules 30 eli 21 lina 18 dina 12
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042178
qwen/qwen3.7-plus
awkweave-0042179
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
gus 17 dina 30 farah 18 eli 20 ivan 20 gus 9 lina 2 gus 1
gus fail dina pass farah fail eli pass ivan pass gus fail lina fail gus fail
gus 14 bruno 3 dina 25 hana 29 bruno 11 dina 16 gus 19 alice 14 eli 26 kim 23
gus fail bruno fail dina pass hana pass bruno fail dina fail gus fail alice fail eli pass kim pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042179-p1
Display column 1 along with 'pass' if column 2 is 20 or more, otherwise display 'fail'.
{print $1,($2>=20?"pass":"fail")}
gus 17 dina 30 farah 18 eli 20 ivan 20 gus 9 lina 2 gus 1
gus fail dina pass farah fail eli pass ivan pass gus fail lina fail gus fail
gus 14 bruno 3 dina 25 hana 29 bruno 11 dina 16 gus 19 alice 14 eli 26 kim 23
gus fail bruno fail dina pass hana pass bruno fail dina fail gus fail alice fail eli pass kim pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042179
qwen/qwen3.7-plus
awkweave-0042180
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
lina harbor 62 farah fable 44 chen harbor 1 bruno cobalt 69 kim harbor 56 dina grove 118 farah delta 21 lina cobalt 103 dina indigo 36
LINA FARAH CHEN BRUNO KIM DINA FARAH LINA DINA
ivan grove 1 farah amber 48 farah ember 61 eli fable 44 farah fable 87 dina grove 30 lina grove 56 hana cobalt 111
IVAN FARAH FARAH ELI FARAH DINA LINA HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042180-p1
Transform column 1 to uppercase and output only that column.
{print toupper($1)}
lina harbor 62 farah fable 44 chen harbor 1 bruno cobalt 69 kim harbor 56 dina grove 118 farah delta 21 lina cobalt 103 dina indigo 36
LINA FARAH CHEN BRUNO KIM DINA FARAH LINA DINA
ivan grove 1 farah amber 48 farah ember 61 eli fable 44 farah fable 87 dina grove 30 lina grove 56 hana cobalt 111
IVAN FARAH FARAH ELI FARAH DINA LINA HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042180
qwen/qwen3.7-plus
awkweave-0042181
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
ember 30 fable 29 delta 90 juniper 35 birch 115 delta 90 harbor 112 ember 49 birch 76
mb ab el un ir el ar mb ir
indigo 103 delta 112 delta 41 ember 3 birch 109 delta 74 birch 4 delta 39 cobalt 101 amber 36
nd el el mb ir el ir el ob mb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042181-p1
Extract and print a 2-character substring from column 1, beginning at the second character.
{print substr($1,2,2)}
ember 30 fable 29 delta 90 juniper 35 birch 115 delta 90 harbor 112 ember 49 birch 76
mb ab el un ir el ar mb ir
indigo 103 delta 112 delta 41 ember 3 birch 109 delta 74 birch 4 delta 39 cobalt 101 amber 36
nd el el mb ir el ir el ob mb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042181
qwen/qwen3.7-plus
awkweave-0042182
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_grove 49 delta_juniper 103 cobalt_fable 100 grove_birch 4 juniper_cobalt 105 indigo_delta 99
grove grove delta juniper cobalt fable grove birch juniper cobalt indigo delta
harbor_fable 6 ember_grove 119 cobalt_amber 63 delta_birch 2 fable_juniper 61 cobalt_harbor 4 ember_birch 12 ember_cobalt 31 harbor_indigo 97
harbor fable ember grove cobalt amber delta birch fable juniper cobalt harbor ember birch ember cobalt harbor indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042182-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
grove_grove 49 delta_juniper 103 cobalt_fable 100 grove_birch 4 juniper_cobalt 105 indigo_delta 99
grove grove delta juniper cobalt fable grove birch juniper cobalt indigo delta
harbor_fable 6 ember_grove 119 cobalt_amber 63 delta_birch 2 fable_juniper 61 cobalt_harbor 4 ember_birch 12 ember_cobalt 31 harbor_indigo 97
harbor fable ember grove cobalt amber delta birch fable juniper cobalt harbor ember birch ember cobalt harbor indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042182
qwen/qwen3.7-plus
awkweave-0042183
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)}
bruno birch 111 ready lina birch 84 failed ivan birch 46 active hana delta 8 paused gus harbor 112 pending dina ember 79 active farah grove 85 failed farah delta 4 ready eli ember 18 closed lina ember 25 failed
ready 111 birch bruno failed 84 birch lina active 46 birch ivan paused 8 delta hana pending 112 harbor gus active 79 ember dina failed 85 grove farah ready 4 delta farah closed 18 ember eli failed 25 ember lina
alice delta 54 ready kim fable 46 closed dina cobalt 114 failed farah fable 91 pending bruno juniper 109 closed alice ember 98 closed alice ember 106 closed farah cobalt 95 closed kim amber 33 closed ivan ember 96 paused
ready 54 delta alice closed 46 fable kim failed 114 cobalt dina pending 91 fable farah closed 109 juniper bruno closed 98 ember alice closed 106 ember alice closed 95 cobalt farah closed 33 amber kim paused 96 ember ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042183-p1
Reverse the sequence of fields on each line and output all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno birch 111 ready lina birch 84 failed ivan birch 46 active hana delta 8 paused gus harbor 112 pending dina ember 79 active farah grove 85 failed farah delta 4 ready eli ember 18 closed lina ember 25 failed
ready 111 birch bruno failed 84 birch lina active 46 birch ivan paused 8 delta hana pending 112 harbor gus active 79 ember dina failed 85 grove farah ready 4 delta farah closed 18 ember eli failed 25 ember lina
alice delta 54 ready kim fable 46 closed dina cobalt 114 failed farah fable 91 pending bruno juniper 109 closed alice ember 98 closed alice ember 106 closed farah cobalt 95 closed kim amber 33 closed ivan ember 96 paused
ready 54 delta alice closed 46 fable kim failed 114 cobalt dina pending 91 fable farah closed 109 juniper bruno closed 98 ember alice closed 106 ember alice closed 95 cobalt farah closed 33 amber kim paused 96 ember ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042183
qwen/qwen3.7-plus
awkweave-0042184
Print the number of whitespace-separated fields on each line.
{print NF}
dina grove 36 failed chen juniper 78 pending ivan harbor 38 paused jules amber 66 ready jules delta 11 pending farah grove 113 ready hana fable 74 closed gus cobalt 79 paused farah cobalt 64 paused chen indigo 76 paused
4 4 4 4 4 4 4 4 4 4
dina delta 114 pending chen indigo 20 paused alice harbor 43 failed lina delta 13 ready chen fable 104 active alice juniper 55 pending lina fable 117 ready
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042184-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
dina grove 36 failed chen juniper 78 pending ivan harbor 38 paused jules amber 66 ready jules delta 11 pending farah grove 113 ready hana fable 74 closed gus cobalt 79 paused farah cobalt 64 paused chen indigo 76 paused
4 4 4 4 4 4 4 4 4 4
dina delta 114 pending chen indigo 20 paused alice harbor 43 failed lina delta 13 ready chen fable 104 active alice juniper 55 pending lina fable 117 ready
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042184
qwen/qwen3.7-plus
awkweave-0042185
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]]}
ivan alpha 101 farah alpha 108 dina beta 1 ivan gamma 44 chen delta 36 dina delta 120 hana delta 37 farah delta 64
alpha 2 beta 1 gamma 1 delta 4
gus delta 19 hana gamma 44 hana beta 66 bruno delta 93 lina alpha 16 kim beta 114 farah beta 25
delta 2 gamma 1 beta 3 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042185-p1
Tally records for each unique value in column 2 and print the value with its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan alpha 101 farah alpha 108 dina beta 1 ivan gamma 44 chen delta 36 dina delta 120 hana delta 37 farah delta 64
alpha 2 beta 1 gamma 1 delta 4
gus delta 19 hana gamma 44 hana beta 66 bruno delta 93 lina alpha 16 kim beta 114 farah beta 25
delta 2 gamma 1 beta 3 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042185
qwen/qwen3.7-plus
awkweave-0042186
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]]}
gus delta 3 ivan delta 7 farah alpha 11 alice beta 6 jules gamma 19 dina gamma 3 dina beta 29 kim gamma 12
delta 10 alpha 11 beta 35 gamma 34
alice alpha 21 lina gamma 27 hana gamma 23 hana delta 10 jules beta 27 kim delta 22 eli delta 17
alpha 21 gamma 50 delta 49 beta 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042186-p1
Calculate the sum of column 3 for each group defined by column 2, printing 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]]}
gus delta 3 ivan delta 7 farah alpha 11 alice beta 6 jules gamma 19 dina gamma 3 dina beta 29 kim gamma 12
delta 10 alpha 11 beta 35 gamma 34
alice alpha 21 lina gamma 27 hana gamma 23 hana delta 10 jules beta 27 kim delta 22 eli delta 17
alpha 21 gamma 50 delta 49 beta 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042186
qwen/qwen3.7-plus
awkweave-0042187
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha delta 9 gamma delta 92 alpha juniper 58 gamma amber 37 delta cobalt 70 gamma delta 18 beta cobalt 12 delta grove 84 delta indigo 0
alpha 2 gamma 3 delta 3
delta indigo 24 beta harbor 30 beta grove 33 gamma birch 19 alpha juniper 105 beta harbor 18 alpha grove 38 delta juniper 22 gamma fable 106
delta 2 beta 3 gamma 2 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042187-p1
List each duplicate value from column 1 alongside its occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha delta 9 gamma delta 92 alpha juniper 58 gamma amber 37 delta cobalt 70 gamma delta 18 beta cobalt 12 delta grove 84 delta indigo 0
alpha 2 gamma 3 delta 3
delta indigo 24 beta harbor 30 beta grove 33 gamma birch 19 alpha juniper 105 beta harbor 18 alpha grove 38 delta juniper 22 gamma fable 106
delta 2 beta 3 gamma 2 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042187
qwen/qwen3.7-plus
awkweave-0042188
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
note score record_id display_name r001 bruno 3 pending r002 chen 16 paused r003 hana 8 failed r004 kim 28 paused r005 lina 23 active r006 bruno 7 pending
pending paused failed paused active pending
note score record_id display_name r001 bruno 24 paused r002 hana 16 paused r003 eli 23 pending r004 ivan 26 ready r005 gus 7 ready r006 gus 8 pending r007 chen 26 active r008 eli 16 ready
paused paused pending ready ready pending active ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042188-p1
Treating the first row as a header, output the display_name column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
note score record_id display_name r001 bruno 3 pending r002 chen 16 paused r003 hana 8 failed r004 kim 28 paused r005 lina 23 active r006 bruno 7 pending
pending paused failed paused active pending
note score record_id display_name r001 bruno 24 paused r002 hana 16 paused r003 eli 23 pending r004 ivan 26 ready r005 gus 7 ready r006 gus 8 pending r007 chen 26 active r008 eli 16 ready
paused paused pending ready ready pending active ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042188
qwen/qwen3.7-plus
awkweave-0042189
The first row is a header. Print display_name for data rows whose score is greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 gus 5 pending r002 alice 3 paused r003 alice 29 failed r004 jules 24 active r005 eli 27 active r006 gus 10 active r007 eli 1 paused r008 chen 13 ready r009 ivan 16 failed
alice jules eli
record_id display_name score state r001 jules 28 paused r002 ivan 14 paused r003 lina 12 ready r004 bruno 22 ready r005 jules 8 pending r006 dina 2 pending r007 alice 25 closed r008 farah 14 active r009 eli 17 active
jules bruno alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042189-p1
With the first row as a header, output the display_name for data rows where the score exceeds 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 gus 5 pending r002 alice 3 paused r003 alice 29 failed r004 jules 24 active r005 eli 27 active r006 gus 10 active r007 eli 1 paused r008 chen 13 ready r009 ivan 16 failed
alice jules eli
record_id display_name score state r001 jules 28 paused r002 ivan 14 paused r003 lina 12 ready r004 bruno 22 ready r005 jules 8 pending r006 dina 2 pending r007 alice 25 closed r008 farah 14 active r009 eli 17 active
jules bruno alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042189
qwen/qwen3.7-plus
awkweave-0042200
Print the complete records where column 3 is at most 52.
$3 <= 52
alice farah 62 alice chen kim 37 chen ivan chen 9 hana chen chen 62 alice hana hana 105 lina kim farah 76 alice
chen kim 37 chen ivan chen 9 hana
alice hana 80 chen lina jules 74 lina kim farah 5 dina farah gus 117 alice hana farah 17 lina dina bruno 9 alice lina dina 33 farah ivan ivan 82 alice jules bruno 58 kim
kim farah 5 dina hana farah 17 lina dina bruno 9 alice lina dina 33 farah
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042200-p1
Output full records where the value in the third column is less than or equal to 52.
$3 <= 52
alice farah 62 alice chen kim 37 chen ivan chen 9 hana chen chen 62 alice hana hana 105 lina kim farah 76 alice
chen kim 37 chen ivan chen 9 hana
alice hana 80 chen lina jules 74 lina kim farah 5 dina farah gus 117 alice hana farah 17 lina dina bruno 9 alice lina dina 33 farah ivan ivan 82 alice jules bruno 58 kim
kim farah 5 dina hana farah 17 lina dina bruno 9 alice lina dina 33 farah
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042200
qwen/qwen3.7-plus
awkweave-0042201
Show whole lines whose 1st field is between 5 and 20, inclusive.
$1 >= 5 && $1 <= 20
17 failed alice harbor 5 paused lina amber 13 closed lina grove 30 pending lina delta 28 pending eli amber 18 active farah grove
17 failed alice harbor 5 paused lina amber 13 closed lina grove 18 active farah grove
11 closed dina fable 15 ready eli grove 15 failed gus delta 18 paused lina ember 23 failed eli harbor 13 ready hana fable 19 pending farah grove
11 closed dina fable 15 ready eli grove 15 failed gus delta 18 paused lina ember 13 ready hana fable 19 pending farah grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042201-p1
Display entire lines where the first field falls within the inclusive range of 5 to 20.
$1 >= 5 && $1 <= 20
17 failed alice harbor 5 paused lina amber 13 closed lina grove 30 pending lina delta 28 pending eli amber 18 active farah grove
17 failed alice harbor 5 paused lina amber 13 closed lina grove 18 active farah grove
11 closed dina fable 15 ready eli grove 15 failed gus delta 18 paused lina ember 23 failed eli harbor 13 ready hana fable 19 pending farah grove
11 closed dina fable 15 ready eli grove 15 failed gus delta 18 paused lina ember 13 ready hana fable 19 pending farah grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042201
qwen/qwen3.7-plus
awkweave-0042202
Print column 4 only for rows where column 3 is exactly active.
$3 == "active"{print $4}
grove 32 closed eli amber 51 paused dina fable 61 ready chen juniper 63 active chen birch 68 active bruno amber 15 failed farah grove 87 closed eli ember 45 pending kim
chen bruno
delta 7 failed gus indigo 52 closed gus indigo 28 paused farah fable 93 paused hana delta 6 failed hana fable 37 paused alice indigo 2 ready bruno juniper 56 pending alice amber 26 failed kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042202-p1
Extract and print only the fourth column for rows where the third column equals 'active'.
$3 == "active"{print $4}
grove 32 closed eli amber 51 paused dina fable 61 ready chen juniper 63 active chen birch 68 active bruno amber 15 failed farah grove 87 closed eli ember 45 pending kim
chen bruno
delta 7 failed gus indigo 52 closed gus indigo 28 paused farah fable 93 paused hana delta 6 failed hana fable 37 paused alice indigo 2 ready bruno juniper 56 pending alice amber 26 failed kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042202
qwen/qwen3.7-plus
awkweave-0042203
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
DEBUG 57 ember WARN 68 delta WARN 98 ember INFO 34 cobalt INFO 8 delta WARN 12 cobalt DEBUG 92 grove DEBUG 7 harbor WARN 79 fable INFO 62 amber
WARN 68 delta WARN 98 ember WARN 12 cobalt WARN 79 fable
DEBUG 84 amber WARN 7 indigo INFO 49 amber WARN 52 harbor ERROR 73 birch DEBUG 21 harbor INFO 116 grove DEBUG 1 amber DEBUG 94 delta
WARN 7 indigo WARN 52 harbor
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042203-p1
Print all fields from lines where the first field starts with the string 'WARN'.
$1 ~ /^WARN/
DEBUG 57 ember WARN 68 delta WARN 98 ember INFO 34 cobalt INFO 8 delta WARN 12 cobalt DEBUG 92 grove DEBUG 7 harbor WARN 79 fable INFO 62 amber
WARN 68 delta WARN 98 ember WARN 12 cobalt WARN 79 fable
DEBUG 84 amber WARN 7 indigo INFO 49 amber WARN 52 harbor ERROR 73 birch DEBUG 21 harbor INFO 116 grove DEBUG 1 amber DEBUG 94 delta
WARN 7 indigo WARN 52 harbor
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042203
qwen/qwen3.7-plus
awkweave-0042204
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
fable 28 failed fable 97 failed harbor 117 paused fable 19 paused cobalt 79 pending ember 27 failed grove 110 pending fable 21 failed fable 30 ready birch 57 active cobalt 999 active
fable 28 failed fable 97 failed harbor 117 paused fable 19 paused ember 27 failed grove 110 pending fable 21 failed fable 30 ready birch 57 active
birch 62 closed amber 24 pending cobalt 96 closed cobalt 29 ready harbor 99 active grove 20 active cobalt 999 active
birch 62 closed amber 24 pending harbor 99 active grove 20 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042204-p1
Output every line that does not contain the exact substring 'cobalt'.
$0 !~ /cobalt/
fable 28 failed fable 97 failed harbor 117 paused fable 19 paused cobalt 79 pending ember 27 failed grove 110 pending fable 21 failed fable 30 ready birch 57 active cobalt 999 active
fable 28 failed fable 97 failed harbor 117 paused fable 19 paused ember 27 failed grove 110 pending fable 21 failed fable 30 ready birch 57 active
birch 62 closed amber 24 pending cobalt 96 closed cobalt 29 ready harbor 99 active grove 20 active cobalt 999 active
birch 62 closed amber 24 pending harbor 99 active grove 20 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042204
qwen/qwen3.7-plus
awkweave-0042205
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
ivan indigo 33 farah indigo 87 kim birch 55 chen ember 97 lina ember 83 lina amber 28 jules harbor 4 hana indigo 85 lina birch 33
farah indigo 87 kim birch 55 chen ember 97 lina ember 83
ivan delta 37 jules indigo 60 gus harbor 93 hana harbor 4 gus juniper 99 alice harbor 105 chen grove 38 chen birch 83 bruno indigo 79 jules cobalt 114
jules indigo 60 gus harbor 93 hana harbor 4 gus juniper 99
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042205-p1
Print lines 2 through 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
ivan indigo 33 farah indigo 87 kim birch 55 chen ember 97 lina ember 83 lina amber 28 jules harbor 4 hana indigo 85 lina birch 33
farah indigo 87 kim birch 55 chen ember 97 lina ember 83
ivan delta 37 jules indigo 60 gus harbor 93 hana harbor 4 gus juniper 99 alice harbor 105 chen grove 38 chen birch 83 bruno indigo 79 jules cobalt 114
jules indigo 60 gus harbor 93 hana harbor 4 gus juniper 99
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042205
qwen/qwen3.7-plus
awkweave-0042206
Output only the first 5 records.
NR <= 5
alice 41 harbor hana 104 grove lina 87 amber kim 110 fable bruno 65 delta chen 4 birch eli 93 harbor eli 95 fable dina 66 birch bruno 13 birch
alice 41 harbor hana 104 grove lina 87 amber kim 110 fable bruno 65 delta
dina 31 cobalt kim 99 delta chen 101 juniper jules 112 ember lina 89 amber alice 71 grove jules 24 birch jules 18 indigo ivan 17 fable
dina 31 cobalt kim 99 delta chen 101 juniper jules 112 ember lina 89 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042206-p1
Output only the first 5 records from the input.
NR <= 5
alice 41 harbor hana 104 grove lina 87 amber kim 110 fable bruno 65 delta chen 4 birch eli 93 harbor eli 95 fable dina 66 birch bruno 13 birch
alice 41 harbor hana 104 grove lina 87 amber kim 110 fable bruno 65 delta
dina 31 cobalt kim 99 delta chen 101 juniper jules 112 ember lina 89 amber alice 71 grove jules 24 birch jules 18 indigo ivan 17 fable
dina 31 cobalt kim 99 delta chen 101 juniper jules 112 ember lina 89 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042206
qwen/qwen3.7-plus
awkweave-0042207
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 74 fable gus 95 harbor alice 61 juniper chen 96 cobalt kim 60 ember dina 100 cobalt alice 71 cobalt gus 20 cobalt
gus 95 harbor alice 61 juniper chen 96 cobalt kim 60 ember dina 100 cobalt alice 71 cobalt gus 20 cobalt
alice 115 cobalt chen 24 fable bruno 35 harbor hana 44 birch kim 111 indigo chen 89 birch lina 45 indigo chen 35 fable
chen 24 fable bruno 35 harbor hana 44 birch kim 111 indigo chen 89 birch lina 45 indigo chen 35 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042207-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
ivan 74 fable gus 95 harbor alice 61 juniper chen 96 cobalt kim 60 ember dina 100 cobalt alice 71 cobalt gus 20 cobalt
gus 95 harbor alice 61 juniper chen 96 cobalt kim 60 ember dina 100 cobalt alice 71 cobalt gus 20 cobalt
alice 115 cobalt chen 24 fable bruno 35 harbor hana 44 birch kim 111 indigo chen 89 birch lina 45 indigo chen 35 fable
chen 24 fable bruno 35 harbor hana 44 birch kim 111 indigo chen 89 birch lina 45 indigo chen 35 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042207
qwen/qwen3.7-plus
awkweave-0042208
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
chen pending 39 eli paused 25 farah pending 118 eli paused 120 dina pending 67 gus closed 86 jules ready 117 ivan failed 118 eli ready 101 farah ready 76
2
dina pending 22 jules failed 86 ivan pending 56 dina active 79 lina pending 101 dina ready 103 chen paused 76
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042208-p1
Count the number of records where the second column is 'paused', printing 0 if no matches are found.
$2 == "paused"{n++}END{print n+0}
chen pending 39 eli paused 25 farah pending 118 eli paused 120 dina pending 67 gus closed 86 jules ready 117 ivan failed 118 eli ready 101 farah ready 76
2
dina pending 22 jules failed 86 ivan pending 56 dina active 79 lina pending 101 dina ready 103 chen paused 76
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042208
qwen/qwen3.7-plus
awkweave-0042209
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
grove alice 8 ember eli 22 grove ivan 10 indigo alice 16 ember ivan 4 ember ivan 26 grove eli 6 indigo eli 11 harbor chen 7
110
fable gus 29 grove jules 16 grove hana 27 cobalt ivan 12 birch gus 24 grove hana 11 harbor eli 10 amber bruno 3 delta hana 18
150
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042209-p1
Compute and output the sum of all integer values found in the third column.
{s+=$3}END{print s+0}
grove alice 8 ember eli 22 grove ivan 10 indigo alice 16 ember ivan 4 ember ivan 26 grove eli 6 indigo eli 11 harbor chen 7
110
fable gus 29 grove jules 16 grove hana 27 cobalt ivan 12 birch gus 24 grove hana 11 harbor eli 10 amber bruno 3 delta hana 18
150
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042209
qwen/qwen3.7-plus
awkweave-0042210
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta dina 23 fable farah 2 amber alice 4 ember farah 11 cobalt chen 3 delta kim 24 grove eli 10
11.00
fable dina 10 cobalt ivan 1 cobalt kim 23 harbor kim 13 amber chen 27 harbor alice 28
17.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042210-p1
Calculate the average of the values in the third column and print it rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta dina 23 fable farah 2 amber alice 4 ember farah 11 cobalt chen 3 delta kim 24 grove eli 10
11.00
fable dina 10 cobalt ivan 1 cobalt kim 23 harbor kim 13 amber chen 27 harbor alice 28
17.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042210
qwen/qwen3.7-plus
awkweave-0042211
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
chen cobalt 27 alice delta 22 bruno ember 21 gus fable 25 kim indigo 26 bruno cobalt 2 hana grove 30 lina harbor 1
1
alice birch 6 dina amber 29 chen fable 21 farah juniper 11 kim birch 4 dina amber 28 alice delta 4 chen grove 5
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042211-p1
Identify and print the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
chen cobalt 27 alice delta 22 bruno ember 21 gus fable 25 kim indigo 26 bruno cobalt 2 hana grove 30 lina harbor 1
1
alice birch 6 dina amber 29 chen fable 21 farah juniper 11 kim birch 4 dina amber 28 alice delta 4 chen grove 5
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042211
qwen/qwen3.7-plus
awkweave-0042212
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 jules delta 30 chen cobalt 29 ivan harbor 26 lina birch 28 alice delta 21 eli amber
30
19 eli amber 13 hana birch 2 jules fable 9 hana fable 1 lina amber 3 farah indigo 12 farah harbor 10 bruno fable 15 chen ember 24 chen cobalt
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042212-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 jules delta 30 chen cobalt 29 ivan harbor 26 lina birch 28 alice delta 21 eli amber
30
19 eli amber 13 hana birch 2 jules fable 9 hana fable 1 lina amber 3 farah indigo 12 farah harbor 10 bruno fable 15 chen ember 24 chen cobalt
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042212
qwen/qwen3.7-plus
awkweave-0042213
Count all input records and print the total.
END{print NR}
gus 110 bruno 60 ivan 95 lina 8 chen 61 dina 120
6
chen 64 hana 12 jules 30 jules 21 alice 115 lina 30 bruno 112 farah 47
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042213-p1
Calculate the total number of input records and display the count.
END{print NR}
gus 110 bruno 60 ivan 95 lina 8 chen 61 dina 120
6
chen 64 hana 12 jules 30 jules 21 alice 115 lina 30 bruno 112 farah 47
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042213
qwen/qwen3.7-plus
awkweave-0042214
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina harbor 76 kim cobalt 92 lina juniper 97 alice juniper 5 bruno ember 51 kim cobalt 92 dina amber 23 gus cobalt 112 jules juniper 89 eli harbor 84 eli fable 63
dina harbor 76 kim cobalt 92 lina juniper 97 alice juniper 5 bruno ember 51 dina amber 23 gus cobalt 112 jules juniper 89 eli harbor 84 eli fable 63
eli amber 52 ivan fable 26 farah indigo 23 eli delta 70 farah indigo 23 jules amber 53 bruno ember 3
eli amber 52 ivan fable 26 farah indigo 23 eli delta 70 jules amber 53 bruno ember 3
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042214-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
dina harbor 76 kim cobalt 92 lina juniper 97 alice juniper 5 bruno ember 51 kim cobalt 92 dina amber 23 gus cobalt 112 jules juniper 89 eli harbor 84 eli fable 63
dina harbor 76 kim cobalt 92 lina juniper 97 alice juniper 5 bruno ember 51 dina amber 23 gus cobalt 112 jules juniper 89 eli harbor 84 eli fable 63
eli amber 52 ivan fable 26 farah indigo 23 eli delta 70 farah indigo 23 jules amber 53 bruno ember 3
eli amber 52 ivan fable 26 farah indigo 23 eli delta 70 jules amber 53 bruno ember 3
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042214
qwen/qwen3.7-plus
awkweave-0042215
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
jules juniper 112 hana juniper 51 chen ember 60 alice birch 110 eli delta 96 alice cobalt 58
jules juniper 112 chen ember 60 alice birch 110 eli delta 96 alice cobalt 58
bruno grove 0 jules juniper 50 gus cobalt 55 dina cobalt 24 lina fable 92 farah juniper 33 dina cobalt 90 bruno birch 28 alice amber 38 hana harbor 119
bruno grove 0 jules juniper 50 gus cobalt 55 lina fable 92 bruno birch 28 alice amber 38 hana harbor 119
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042215-p1
Retain only the initial line for every unique value in the second column, keeping the input order intact.
!seen[$2]++
jules juniper 112 hana juniper 51 chen ember 60 alice birch 110 eli delta 96 alice cobalt 58
jules juniper 112 chen ember 60 alice birch 110 eli delta 96 alice cobalt 58
bruno grove 0 jules juniper 50 gus cobalt 55 dina cobalt 24 lina fable 92 farah juniper 33 dina cobalt 90 bruno birch 28 alice amber 38 hana harbor 119
bruno grove 0 jules juniper 50 gus cobalt 55 lina fable 92 bruno birch 28 alice amber 38 hana harbor 119
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042215
qwen/qwen3.7-plus
awkweave-0042216
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 16 juniper dina 11 amber dina 26 fable jules 2 grove bruno 6 ember ivan 8 amber lina 4 juniper
bruno 16 dina 27 dina 53 jules 55 bruno 61 ivan 69 lina 73
lina 3 birch kim 1 cobalt farah 9 grove kim 17 indigo chen 2 fable jules 14 grove bruno 14 ember eli 27 fable
lina 3 kim 4 farah 13 kim 30 chen 32 jules 46 bruno 60 eli 87
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042216-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
bruno 16 juniper dina 11 amber dina 26 fable jules 2 grove bruno 6 ember ivan 8 amber lina 4 juniper
bruno 16 dina 27 dina 53 jules 55 bruno 61 ivan 69 lina 73
lina 3 birch kim 1 cobalt farah 9 grove kim 17 indigo chen 2 fable jules 14 grove bruno 14 ember eli 27 fable
lina 3 kim 4 farah 13 kim 30 chen 32 jules 46 bruno 60 eli 87
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042216
qwen/qwen3.7-plus
awkweave-0042217
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 25 18 indigo chen 1 29 amber bruno 3 7 juniper hana 9 30 delta jules 7 12 delta alice 10 23 delta kim 15 9 birch dina 14 29 grove hana 4 22 harbor dina 19 24 birch
ivan 43 chen 30 bruno 10 hana 39 jules 19 alice 33 kim 24 dina 43 hana 26 dina 43
kim 11 30 delta dina 23 26 amber bruno 5 25 fable hana 22 24 birch kim 1 9 amber eli 13 6 ember alice 9 19 ember kim 21 23 cobalt
kim 41 dina 49 bruno 30 hana 46 kim 10 eli 19 alice 28 kim 44
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042217-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
ivan 25 18 indigo chen 1 29 amber bruno 3 7 juniper hana 9 30 delta jules 7 12 delta alice 10 23 delta kim 15 9 birch dina 14 29 grove hana 4 22 harbor dina 19 24 birch
ivan 43 chen 30 bruno 10 hana 39 jules 19 alice 33 kim 24 dina 43 hana 26 dina 43
kim 11 30 delta dina 23 26 amber bruno 5 25 fable hana 22 24 birch kim 1 9 amber eli 13 6 ember alice 9 19 ember kim 21 23 cobalt
kim 41 dina 49 bruno 30 hana 46 kim 10 eli 19 alice 28 kim 44
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042217
qwen/qwen3.7-plus
awkweave-0042218
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
dina 8 eli 12 lina 6 bruno 30 hana 29 alice 17 chen 26 alice 28 farah 11
dina fail eli fail lina fail bruno pass hana pass alice fail chen pass alice pass farah fail
lina 12 jules 16 kim 2 jules 17 hana 28 chen 17 gus 30 chen 22 chen 19 gus 8
lina fail jules fail kim fail jules fail hana pass chen fail gus pass chen fail chen fail gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042218-p1
Output the first column and print 'pass' if the second column is 23 or greater; otherwise, print 'fail'.
{print $1,($2>=23?"pass":"fail")}
dina 8 eli 12 lina 6 bruno 30 hana 29 alice 17 chen 26 alice 28 farah 11
dina fail eli fail lina fail bruno pass hana pass alice fail chen pass alice pass farah fail
lina 12 jules 16 kim 2 jules 17 hana 28 chen 17 gus 30 chen 22 chen 19 gus 8
lina fail jules fail kim fail jules fail hana pass chen fail gus pass chen fail chen fail gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042218
qwen/qwen3.7-plus
awkweave-0042219
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
chen indigo 46 eli indigo 75 eli grove 15 lina cobalt 109 ivan indigo 55 ivan fable 106 hana fable 106 chen juniper 88
INDIGO INDIGO GROVE COBALT INDIGO FABLE FABLE JUNIPER
alice delta 23 lina juniper 8 farah birch 40 chen fable 32 dina cobalt 97 hana harbor 105 gus cobalt 8 farah amber 43
DELTA JUNIPER BIRCH FABLE COBALT HARBOR COBALT AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042219-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
chen indigo 46 eli indigo 75 eli grove 15 lina cobalt 109 ivan indigo 55 ivan fable 106 hana fable 106 chen juniper 88
INDIGO INDIGO GROVE COBALT INDIGO FABLE FABLE JUNIPER
alice delta 23 lina juniper 8 farah birch 40 chen fable 32 dina cobalt 97 hana harbor 105 gus cobalt 8 farah amber 43
DELTA JUNIPER BIRCH FABLE COBALT HARBOR COBALT AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042219
qwen/qwen3.7-plus
awkweave-0042220
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
delta 28 grove 110 cobalt 66 birch 66 amber 20 juniper 61 ember 101
elt rov oba irc mbe uni mbe
cobalt 76 indigo 24 juniper 99 delta 57 birch 59 ember 34
oba ndi uni elt irc mbe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042220-p1
Extract and print a substring of 3 characters from the first column, starting at the second character.
{print substr($1,2,3)}
delta 28 grove 110 cobalt 66 birch 66 amber 20 juniper 61 ember 101
elt rov oba irc mbe uni mbe
cobalt 76 indigo 24 juniper 99 delta 57 birch 59 ember 34
oba ndi uni elt irc mbe
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042220
qwen/qwen3.7-plus
awkweave-0042221
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_delta 99 delta_fable 0 harbor_delta 51 birch_indigo 6 grove_fable 100 amber_delta 31 ember_juniper 119
harbor delta delta fable harbor delta birch indigo grove fable amber delta ember juniper
birch_birch 78 ember_harbor 98 ember_ember 0 juniper_juniper 95 juniper_delta 85 grove_delta 88 grove_fable 89
birch birch ember harbor ember ember juniper juniper juniper delta grove delta grove fable
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null