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-0008270-p1
Display entire records where the value in the second column exceeds 31.
$2 > 31
alice 111 active fable ivan gus 3 pending grove gus bruno 57 ready birch gus lina 38 active ember bruno farah 83 failed indigo chen lina 42 failed fable alice dina 25 active ember eli
alice 111 active fable ivan bruno 57 ready birch gus lina 38 active ember bruno farah 83 failed indigo chen lina 42 failed fable alice
hana 115 closed cobalt eli jules 9 ready amber jules ivan 94 failed juniper hana lina 50 paused indigo farah alice 2 paused cobalt farah ivan 5 ready indigo bruno eli 4 ready ember kim farah 106 ready delta lina hana 5 paused harbor chen
hana 115 closed cobalt eli ivan 94 failed juniper hana lina 50 paused indigo farah farah 106 ready delta lina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008270
qwen/qwen3.7-plus
awkweave-0008271
Show whole lines whose 3rd field is between 8 and 24, inclusive.
$3 >= 8 && $3 <= 24
closed cobalt 3 amber pending delta 24 juniper active ember 16 indigo closed ember 8 juniper active fable 20 amber ready juniper 3 harbor pending juniper 18 juniper failed juniper 4 harbor closed cobalt 13 delta
pending delta 24 juniper active ember 16 indigo closed ember 8 juniper active fable 20 amber pending juniper 18 juniper closed cobalt 13 delta
active birch 16 amber ready indigo 19 birch active juniper 9 amber closed birch 23 amber pending delta 25 amber active grove 9 delta paused indigo 7 amber
active birch 16 amber ready indigo 19 birch active juniper 9 amber closed birch 23 amber active grove 9 delta
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008271-p1
Output full lines where the third field falls within the inclusive range of 8 to 24.
$3 >= 8 && $3 <= 24
closed cobalt 3 amber pending delta 24 juniper active ember 16 indigo closed ember 8 juniper active fable 20 amber ready juniper 3 harbor pending juniper 18 juniper failed juniper 4 harbor closed cobalt 13 delta
pending delta 24 juniper active ember 16 indigo closed ember 8 juniper active fable 20 amber pending juniper 18 juniper closed cobalt 13 delta
active birch 16 amber ready indigo 19 birch active juniper 9 amber closed birch 23 amber pending delta 25 amber active grove 9 delta paused indigo 7 amber
active birch 16 amber ready indigo 19 birch active juniper 9 amber closed birch 23 amber active grove 9 delta
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008271
qwen/qwen3.7-plus
awkweave-0008272
Print column 1 only for rows where column 2 is exactly active.
$2 == "active"{print $1}
gus pending 63 amber eli failed 27 amber gus closed 25 fable dina failed 63 ember bruno paused 66 cobalt ivan closed 96 cobalt jules pending 106 harbor jules paused 42 birch chen closed 56 cobalt dina active 105 fable
dina
hana paused 107 juniper dina pending 75 ember alice active 19 amber hana closed 26 grove eli closed 20 juniper jules pending 94 grove dina active 76 indigo
alice dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008272-p1
Output only the first column for rows where the second column equals active.
$2 == "active"{print $1}
gus pending 63 amber eli failed 27 amber gus closed 25 fable dina failed 63 ember bruno paused 66 cobalt ivan closed 96 cobalt jules pending 106 harbor jules paused 42 birch chen closed 56 cobalt dina active 105 fable
dina
hana paused 107 juniper dina pending 75 ember alice active 19 amber hana closed 26 grove eli closed 20 juniper jules pending 94 grove dina active 76 indigo
alice dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008272
qwen/qwen3.7-plus
awkweave-0008273
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR harbor 115 INFO harbor 56 ERROR ember 98 ERROR harbor 86 WARN birch 110 ERROR juniper 36 DEBUG fable 97
ERROR harbor 115 ERROR ember 98 ERROR harbor 86 ERROR juniper 36
DEBUG juniper 70 WARN fable 9 ERROR amber 18 INFO birch 14 DEBUG grove 6 INFO delta 12 INFO grove 38 WARN amber 5 DEBUG grove 92 INFO grove 22
ERROR amber 18
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008273-p1
Display all fields from lines where the first field starts with ERROR.
$1 ~ /^ERROR/
ERROR harbor 115 INFO harbor 56 ERROR ember 98 ERROR harbor 86 WARN birch 110 ERROR juniper 36 DEBUG fable 97
ERROR harbor 115 ERROR ember 98 ERROR harbor 86 ERROR juniper 36
DEBUG juniper 70 WARN fable 9 ERROR amber 18 INFO birch 14 DEBUG grove 6 INFO delta 12 INFO grove 38 WARN amber 5 DEBUG grove 92 INFO grove 22
ERROR amber 18
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008273
qwen/qwen3.7-plus
awkweave-0008274
Print every line except those containing the exact text delta.
$0 !~ /delta/
harbor 105 closed juniper 25 closed fable 34 paused birch 61 paused cobalt 62 failed harbor 73 closed cobalt 28 ready harbor 54 paused delta 999 active
harbor 105 closed juniper 25 closed fable 34 paused birch 61 paused cobalt 62 failed harbor 73 closed cobalt 28 ready harbor 54 paused
fable 57 pending indigo 94 paused indigo 119 pending fable 76 closed grove 55 pending ember 34 pending delta 116 ready delta 34 paused delta 999 active
fable 57 pending indigo 94 paused indigo 119 pending fable 76 closed grove 55 pending ember 34 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008274-p1
Print every line that does not contain the exact string delta.
$0 !~ /delta/
harbor 105 closed juniper 25 closed fable 34 paused birch 61 paused cobalt 62 failed harbor 73 closed cobalt 28 ready harbor 54 paused delta 999 active
harbor 105 closed juniper 25 closed fable 34 paused birch 61 paused cobalt 62 failed harbor 73 closed cobalt 28 ready harbor 54 paused
fable 57 pending indigo 94 paused indigo 119 pending fable 76 closed grove 55 pending ember 34 pending delta 116 ready delta 34 paused delta 999 active
fable 57 pending indigo 94 paused indigo 119 pending fable 76 closed grove 55 pending ember 34 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008274
qwen/qwen3.7-plus
awkweave-0008275
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
chen fable 56 bruno amber 40 jules cobalt 79 eli indigo 68 ivan birch 114 bruno delta 116 kim indigo 57 ivan indigo 31
jules cobalt 79 eli indigo 68 ivan birch 114 bruno delta 116
jules ember 60 eli delta 8 farah fable 72 gus harbor 117 farah juniper 104 gus grove 50 jules grove 63 lina harbor 48
farah fable 72 gus harbor 117 farah juniper 104 gus grove 50
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008275-p1
Output lines 3 to 6, inclusive.
NR >= 3 && NR <= 6
chen fable 56 bruno amber 40 jules cobalt 79 eli indigo 68 ivan birch 114 bruno delta 116 kim indigo 57 ivan indigo 31
jules cobalt 79 eli indigo 68 ivan birch 114 bruno delta 116
jules ember 60 eli delta 8 farah fable 72 gus harbor 117 farah juniper 104 gus grove 50 jules grove 63 lina harbor 48
farah fable 72 gus harbor 117 farah juniper 104 gus grove 50
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008275
qwen/qwen3.7-plus
awkweave-0008276
Output only the first 5 records.
NR <= 5
alice 19 amber lina 8 birch chen 31 fable kim 97 amber hana 64 cobalt alice 29 birch kim 22 amber bruno 67 delta ivan 10 juniper bruno 92 indigo
alice 19 amber lina 8 birch chen 31 fable kim 97 amber hana 64 cobalt
jules 57 grove dina 81 amber alice 24 amber lina 2 ember bruno 66 delta jules 89 cobalt farah 21 birch
jules 57 grove dina 81 amber alice 24 amber lina 2 ember bruno 66 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008276-p1
Display only the first 5 records.
NR <= 5
alice 19 amber lina 8 birch chen 31 fable kim 97 amber hana 64 cobalt alice 29 birch kim 22 amber bruno 67 delta ivan 10 juniper bruno 92 indigo
alice 19 amber lina 8 birch chen 31 fable kim 97 amber hana 64 cobalt
jules 57 grove dina 81 amber alice 24 amber lina 2 ember bruno 66 delta jules 89 cobalt farah 21 birch
jules 57 grove dina 81 amber alice 24 amber lina 2 ember bruno 66 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008276
qwen/qwen3.7-plus
awkweave-0008277
Skip the first line and print every remaining line unchanged.
NR > 1
farah 114 birch farah 34 grove chen 76 amber bruno 57 birch kim 104 birch ivan 44 cobalt eli 94 amber dina 54 grove
farah 34 grove chen 76 amber bruno 57 birch kim 104 birch ivan 44 cobalt eli 94 amber dina 54 grove
ivan 100 harbor farah 60 grove kim 38 indigo alice 117 cobalt dina 61 juniper alice 6 cobalt lina 97 juniper gus 20 amber lina 0 fable
farah 60 grove kim 38 indigo alice 117 cobalt dina 61 juniper alice 6 cobalt lina 97 juniper gus 20 amber lina 0 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008277-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
farah 114 birch farah 34 grove chen 76 amber bruno 57 birch kim 104 birch ivan 44 cobalt eli 94 amber dina 54 grove
farah 34 grove chen 76 amber bruno 57 birch kim 104 birch ivan 44 cobalt eli 94 amber dina 54 grove
ivan 100 harbor farah 60 grove kim 38 indigo alice 117 cobalt dina 61 juniper alice 6 cobalt lina 97 juniper gus 20 amber lina 0 fable
farah 60 grove kim 38 indigo alice 117 cobalt dina 61 juniper alice 6 cobalt lina 97 juniper gus 20 amber lina 0 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008277
qwen/qwen3.7-plus
awkweave-0008278
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
lina pending 18 chen ready 105 jules failed 92 dina closed 3 gus ready 82 alice failed 106 kim closed 35 bruno pending 2
0
farah pending 99 chen pending 46 jules ready 86 hana active 21 dina ready 20 eli failed 15 hana failed 47
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008278-p1
Count the number of records with active in the second column; output 0 if none exist.
$2 == "active"{n++}END{print n+0}
lina pending 18 chen ready 105 jules failed 92 dina closed 3 gus ready 82 alice failed 106 kim closed 35 bruno pending 2
0
farah pending 99 chen pending 46 jules ready 86 hana active 21 dina ready 20 eli failed 15 hana failed 47
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008278
qwen/qwen3.7-plus
awkweave-0008279
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
delta jules 22 harbor hana 21 delta hana 7 juniper ivan 29 birch lina 17 delta alice 2 amber ivan 22 ember farah 24 indigo kim 14 grove ivan 17
175
juniper alice 9 fable bruno 7 birch gus 12 juniper kim 15 harbor alice 27 harbor alice 24 amber hana 11 ember eli 18 indigo ivan 14
137
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008279-p1
Compute and display the sum of integer values in the third column.
{s+=$3}END{print s+0}
delta jules 22 harbor hana 21 delta hana 7 juniper ivan 29 birch lina 17 delta alice 2 amber ivan 22 ember farah 24 indigo kim 14 grove ivan 17
175
juniper alice 9 fable bruno 7 birch gus 12 juniper kim 15 harbor alice 27 harbor alice 24 amber hana 11 ember eli 18 indigo ivan 14
137
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008279
qwen/qwen3.7-plus
awkweave-0008280
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable kim 20 cobalt eli 28 harbor jules 14 delta gus 30 grove chen 2 ember chen 15 birch farah 28 grove gus 8 birch eli 18 harbor eli 21
18.40
delta alice 27 birch bruno 4 ember jules 21 harbor gus 29 juniper farah 5 amber alice 6 indigo dina 27 birch bruno 2 juniper chen 12
14.78
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008280-p1
Print the average of the third column, rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable kim 20 cobalt eli 28 harbor jules 14 delta gus 30 grove chen 2 ember chen 15 birch farah 28 grove gus 8 birch eli 18 harbor eli 21
18.40
delta alice 27 birch bruno 4 ember jules 21 harbor gus 29 juniper farah 5 amber alice 6 indigo dina 27 birch bruno 2 juniper chen 12
14.78
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008280
qwen/qwen3.7-plus
awkweave-0008281
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
7 indigo gus 5 amber chen 29 grove chen 30 grove lina 9 birch jules 21 indigo eli 10 harbor alice 18 fable jules 29 birch lina
5
1 cobalt bruno 3 indigo alice 15 indigo ivan 28 ember hana 6 juniper chen 11 fable eli
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008281-p1
Identify and print the minimum numeric value in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
7 indigo gus 5 amber chen 29 grove chen 30 grove lina 9 birch jules 21 indigo eli 10 harbor alice 18 fable jules 29 birch lina
5
1 cobalt bruno 3 indigo alice 15 indigo ivan 28 ember hana 6 juniper chen 11 fable eli
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008281
qwen/qwen3.7-plus
awkweave-0008282
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
5 jules delta 24 hana juniper 5 hana ember 2 bruno ember 2 lina juniper 11 lina birch 16 lina juniper 13 kim fable 1 lina juniper
24
18 dina grove 20 jules grove 12 lina cobalt 22 alice ember 2 lina cobalt 23 dina amber 24 hana birch 27 gus ember 23 hana birch 22 eli cobalt
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008282-p1
Identify and print the maximum numeric value in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
5 jules delta 24 hana juniper 5 hana ember 2 bruno ember 2 lina juniper 11 lina birch 16 lina juniper 13 kim fable 1 lina juniper
24
18 dina grove 20 jules grove 12 lina cobalt 22 alice ember 2 lina cobalt 23 dina amber 24 hana birch 27 gus ember 23 hana birch 22 eli cobalt
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008282
qwen/qwen3.7-plus
awkweave-0008283
Count all input records and print the total.
END{print NR}
gus 14 gus 29 alice 66 dina 46 eli 97 ivan 20 bruno 89 chen 82 bruno 7 farah 11
10
jules 42 lina 103 ivan 23 chen 50 dina 99 gus 85 ivan 91
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008283-p1
Count the total number of input records and print the result.
END{print NR}
gus 14 gus 29 alice 66 dina 46 eli 97 ivan 20 bruno 89 chen 82 bruno 7 farah 11
10
jules 42 lina 103 ivan 23 chen 50 dina 99 gus 85 ivan 91
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008283
qwen/qwen3.7-plus
awkweave-0008284
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno indigo 105 lina harbor 120 hana fable 44 hana indigo 33 bruno amber 10 chen harbor 94 bruno amber 10 kim cobalt 96 dina harbor 90 hana juniper 25
bruno indigo 105 lina harbor 120 hana fable 44 hana indigo 33 bruno amber 10 chen harbor 94 kim cobalt 96 dina harbor 90 hana juniper 25
gus birch 75 farah amber 6 gus birch 75 ivan delta 24 hana fable 40 gus indigo 47 lina birch 20 kim juniper 64 chen ember 118 gus fable 22
gus birch 75 farah amber 6 ivan delta 24 hana fable 40 gus indigo 47 lina birch 20 kim juniper 64 chen ember 118 gus fable 22
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008284-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
bruno indigo 105 lina harbor 120 hana fable 44 hana indigo 33 bruno amber 10 chen harbor 94 bruno amber 10 kim cobalt 96 dina harbor 90 hana juniper 25
bruno indigo 105 lina harbor 120 hana fable 44 hana indigo 33 bruno amber 10 chen harbor 94 kim cobalt 96 dina harbor 90 hana juniper 25
gus birch 75 farah amber 6 gus birch 75 ivan delta 24 hana fable 40 gus indigo 47 lina birch 20 kim juniper 64 chen ember 118 gus fable 22
gus birch 75 farah amber 6 ivan delta 24 hana fable 40 gus indigo 47 lina birch 20 kim juniper 64 chen ember 118 gus fable 22
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008284
qwen/qwen3.7-plus
awkweave-0008285
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
lina delta 29 gus indigo 112 gus delta 33 farah ember 41 chen indigo 67 dina cobalt 50 lina cobalt 30 dina indigo 82
lina delta 29 gus indigo 112 farah ember 41 chen indigo 67 dina cobalt 50
lina fable 109 dina amber 40 farah ember 100 bruno delta 64 ivan indigo 67 ivan delta 58 farah harbor 76
lina fable 109 dina amber 40 farah ember 100 bruno delta 64 ivan indigo 67
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008285-p1
Retain only the initial line for every unique value found in the first column, ensuring the original input order is preserved.
!seen[$1]++
lina delta 29 gus indigo 112 gus delta 33 farah ember 41 chen indigo 67 dina cobalt 50 lina cobalt 30 dina indigo 82
lina delta 29 gus indigo 112 farah ember 41 chen indigo 67 dina cobalt 50
lina fable 109 dina amber 40 farah ember 100 bruno delta 64 ivan indigo 67 ivan delta 58 farah harbor 76
lina fable 109 dina amber 40 farah ember 100 bruno delta 64 ivan indigo 67
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008285
qwen/qwen3.7-plus
awkweave-0008286
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 6 harbor lina 27 birch chen 15 delta dina 17 ember dina 25 juniper hana 17 amber chen 19 indigo farah 23 amber
hana 6 lina 33 chen 48 dina 65 dina 90 hana 107 chen 126 farah 149
kim 9 ember kim 16 juniper chen 29 delta kim 24 birch lina 16 delta alice 20 amber dina 24 fable dina 17 ember hana 28 birch kim 13 juniper
kim 9 kim 25 chen 54 kim 78 lina 94 alice 114 dina 138 dina 155 hana 183 kim 196
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008286-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}
hana 6 harbor lina 27 birch chen 15 delta dina 17 ember dina 25 juniper hana 17 amber chen 19 indigo farah 23 amber
hana 6 lina 33 chen 48 dina 65 dina 90 hana 107 chen 126 farah 149
kim 9 ember kim 16 juniper chen 29 delta kim 24 birch lina 16 delta alice 20 amber dina 24 fable dina 17 ember hana 28 birch kim 13 juniper
kim 9 kim 25 chen 54 kim 78 lina 94 alice 114 dina 138 dina 155 hana 183 kim 196
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008286
qwen/qwen3.7-plus
awkweave-0008287
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 3 6 grove chen 11 14 grove eli 15 22 ember lina 2 15 cobalt dina 28 17 fable ivan 16 7 harbor bruno 1 29 grove hana 2 2 ember dina 24 20 fable
alice 9 chen 25 eli 37 lina 17 dina 45 ivan 23 bruno 30 hana 4 dina 44
eli 24 12 harbor kim 11 4 harbor kim 7 5 indigo jules 10 10 delta alice 12 15 delta dina 3 13 ember ivan 28 24 cobalt alice 20 27 birch kim 16 6 juniper
eli 36 kim 15 kim 12 jules 20 alice 27 dina 16 ivan 52 alice 47 kim 22
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008287-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
alice 3 6 grove chen 11 14 grove eli 15 22 ember lina 2 15 cobalt dina 28 17 fable ivan 16 7 harbor bruno 1 29 grove hana 2 2 ember dina 24 20 fable
alice 9 chen 25 eli 37 lina 17 dina 45 ivan 23 bruno 30 hana 4 dina 44
eli 24 12 harbor kim 11 4 harbor kim 7 5 indigo jules 10 10 delta alice 12 15 delta dina 3 13 ember ivan 28 24 cobalt alice 20 27 birch kim 16 6 juniper
eli 36 kim 15 kim 12 jules 20 alice 27 dina 16 ivan 52 alice 47 kim 22
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008287
qwen/qwen3.7-plus
awkweave-0008288
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
chen 2 bruno 28 eli 16 dina 7 kim 20 gus 28 farah 4
chen fail bruno pass eli fail dina fail kim pass gus pass farah fail
hana 26 bruno 3 jules 27 bruno 22 jules 7 eli 18 chen 30 ivan 16 hana 16
hana pass bruno fail jules pass bruno pass jules fail eli fail chen pass ivan fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008288-p1
Output the first column and print 'pass' if the second column is 20 or greater; otherwise, print 'fail'.
{print $1,($2>=20?"pass":"fail")}
chen 2 bruno 28 eli 16 dina 7 kim 20 gus 28 farah 4
chen fail bruno pass eli fail dina fail kim pass gus pass farah fail
hana 26 bruno 3 jules 27 bruno 22 jules 7 eli 18 chen 30 ivan 16 hana 16
hana pass bruno fail jules pass bruno pass jules fail eli fail chen pass ivan fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008288
qwen/qwen3.7-plus
awkweave-0008289
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice juniper 45 chen birch 52 alice delta 84 ivan harbor 27 dina fable 108 bruno indigo 1 hana ember 41 eli amber 27 alice juniper 29
JUNIPER BIRCH DELTA HARBOR FABLE INDIGO EMBER AMBER JUNIPER
kim juniper 91 farah cobalt 86 hana juniper 118 dina harbor 77 gus fable 77 kim indigo 85 kim delta 108
JUNIPER COBALT JUNIPER HARBOR FABLE INDIGO DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008289-p1
Transform the second column to uppercase and output only that modified column.
{print toupper($2)}
alice juniper 45 chen birch 52 alice delta 84 ivan harbor 27 dina fable 108 bruno indigo 1 hana ember 41 eli amber 27 alice juniper 29
JUNIPER BIRCH DELTA HARBOR FABLE INDIGO EMBER AMBER JUNIPER
kim juniper 91 farah cobalt 86 hana juniper 118 dina harbor 77 gus fable 77 kim indigo 85 kim delta 108
JUNIPER COBALT JUNIPER HARBOR FABLE INDIGO DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008289
qwen/qwen3.7-plus
awkweave-0008300
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 16.
BEGIN{FS=OFS=","}$2>16{print $1}
hana,19,failed hana,8,active ivan,1,ready hana,24,active bruno,16,pending alice,15,closed
hana hana
ivan,24,ready ivan,14,active dina,14,ready ivan,3,closed lina,21,ready farah,23,failed kim,2,failed hana,9,ready farah,4,ready jules,8,active
ivan lina farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008300-p1
Given simple comma-separated input without quoted commas, output the first column whenever the second column is greater than 16.
BEGIN{FS=OFS=","}$2>16{print $1}
hana,19,failed hana,8,active ivan,1,ready hana,24,active bruno,16,pending alice,15,closed
hana hana
ivan,24,ready ivan,14,active dina,14,ready ivan,3,closed lina,21,ready farah,23,failed kim,2,failed hana,9,ready farah,4,ready jules,8,active
ivan lina farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008300
qwen/qwen3.7-plus
awkweave-0008301
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice ember 73 hana ember 107 farah grove 4 bruno delta 102 lina grove 98 hana ember 61
alice ember 73 hana ember 107 farah grove 4 bruno delta 102 lina grove 98 hana ember 61
eli birch 16 gus cobalt 61 alice cobalt 12 jules grove 29 gus delta 99 alice amber 87
eli birch 16 gus cobalt 61 alice cobalt 12 jules grove 29 gus delta 99 alice amber 87
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008301-p1
Remove leading and trailing whitespace and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
alice ember 73 hana ember 107 farah grove 4 bruno delta 102 lina grove 98 hana ember 61
alice ember 73 hana ember 107 farah grove 4 bruno delta 102 lina grove 98 hana ember 61
eli birch 16 gus cobalt 61 alice cobalt 12 jules grove 29 gus delta 99 alice amber 87
eli birch 16 gus cobalt 61 alice cobalt 12 jules grove 29 gus delta 99 alice amber 87
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008301
qwen/qwen3.7-plus
awkweave-0008302
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana delta 85 failed kim grove 60 ready eli ember 15 ready farah juniper 29 active bruno fable 71 pending farah grove 79 pending alice amber 55 closed eli delta 89 closed gus indigo 115 ready dina ember 87 active
farah juniper 29 active
chen juniper 37 failed jules grove 3 active ivan ember 70 failed hana juniper 6 active dina juniper 87 failed kim birch 65 pending lina fable 71 active dina fable 18 closed gus amber 100 pending
chen juniper 37 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008302-p1
Identify and output the longest line from the input, selecting the earliest one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
hana delta 85 failed kim grove 60 ready eli ember 15 ready farah juniper 29 active bruno fable 71 pending farah grove 79 pending alice amber 55 closed eli delta 89 closed gus indigo 115 ready dina ember 87 active
farah juniper 29 active
chen juniper 37 failed jules grove 3 active ivan ember 70 failed hana juniper 6 active dina juniper 87 failed kim birch 65 pending lina fable 71 active dina fable 18 closed gus amber 100 pending
chen juniper 37 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008302
qwen/qwen3.7-plus
awkweave-0008303
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
jules 41 eli 105 eli 115 jules 61 alice 26 kim 51
jules 61
alice 92 kim 85 chen 4 gus 77 jules 112 hana 90
gus 77
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008303-p1
Output every fourth line, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
jules 41 eli 105 eli 115 jules 61 alice 26 kim 51
jules 61
alice 92 kim 85 chen 4 gus 77 jules 112 hana 90
gus 77
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008303
qwen/qwen3.7-plus
awkweave-0008304
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta juniper 98 gamma cobalt 16 beta ember 103 delta indigo 56 delta delta 112 beta delta 70
5
beta juniper 52 beta indigo 119 alpha cobalt 54 beta juniper 16 gamma fable 61 alpha fable 20 delta fable 79
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008304-p1
Calculate the number of unique values in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
beta juniper 98 gamma cobalt 16 beta ember 103 delta indigo 56 delta delta 112 beta delta 70
5
beta juniper 52 beta indigo 119 alpha cobalt 54 beta juniper 16 gamma fable 61 alpha fable 20 delta fable 79
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008304
qwen/qwen3.7-plus
awkweave-0008305
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}
alice 11 0 jules 13 30 farah 2 18 lina 23 20 kim 10 1 farah 22 27 hana 18 19 dina 15 28 lina 3 20
jules 0.43 farah 0.11 lina 1.15 kim 10.00 farah 0.81 hana 0.95 dina 0.54 lina 0.15
bruno 18 0 farah 17 27 ivan 16 11 ivan 1 17 chen 13 17 kim 22 7 farah 28 30 kim 21 28 kim 7 16
farah 0.63 ivan 1.45 ivan 0.06 chen 0.76 kim 3.14 farah 0.93 kim 0.75 kim 0.44
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008305-p1
For each row, print the first column and the result of dividing the second column by the third column formatted to two decimal places, omitting rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 11 0 jules 13 30 farah 2 18 lina 23 20 kim 10 1 farah 22 27 hana 18 19 dina 15 28 lina 3 20
jules 0.43 farah 0.11 lina 1.15 kim 10.00 farah 0.81 hana 0.95 dina 0.54 lina 0.15
bruno 18 0 farah 17 27 ivan 16 11 ivan 1 17 chen 13 17 kim 22 7 farah 28 30 kim 21 28 kim 7 16
farah 0.63 ivan 1.45 ivan 0.06 chen 0.76 kim 3.14 farah 0.93 kim 0.75 kim 0.44
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008305
qwen/qwen3.7-plus
awkweave-0008306
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]}
hana harbor 3 gus birch 29 hana ember 15 kim amber 25 bruno harbor 5 hana amber 12 lina cobalt 9 hana indigo 5 ivan delta 13
gus birch 29 kim amber 25 hana ember 15
jules indigo 19 jules ember 15 ivan birch 25 dina amber 1 ivan indigo 30 gus indigo 6 kim ember 9 bruno fable 20 gus birch 7 chen indigo 6
ivan indigo 30 ivan birch 25 bruno fable 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008306-p1
Output the top three full records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana harbor 3 gus birch 29 hana ember 15 kim amber 25 bruno harbor 5 hana amber 12 lina cobalt 9 hana indigo 5 ivan delta 13
gus birch 29 kim amber 25 hana ember 15
jules indigo 19 jules ember 15 ivan birch 25 dina amber 1 ivan indigo 30 gus indigo 6 kim ember 9 bruno fable 20 gus birch 7 chen indigo 6
ivan indigo 30 ivan birch 25 bruno fable 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008306
qwen/qwen3.7-plus
awkweave-0008307
For each line, output fields 5 and 3, in that order.
{print $5, $3}
ready failed 15 hana active dina pending failed 73 ivan failed bruno pending active 26 kim pending ivan paused failed 21 dina closed chen closed failed 36 chen closed jules paused ready 113 bruno ready alice paused pending 27 alice pending alice paused paused 75 bruno failed bruno
active 15 failed 73 pending 26 closed 21 closed 36 ready 113 pending 27 failed 75
paused failed 27 bruno paused bruno failed failed 20 hana ready lina paused active 78 alice closed hana paused failed 116 eli failed dina ready closed 27 bruno pending lina closed closed 66 farah pending hana paused ready 41 bruno failed eli active closed 90 jules paused chen pending pending 112 alice pending ivan
paused 27 ready 20 closed 78 failed 116 pending 27 pending 66 failed 41 paused 90 pending 112
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008307-p1
For every line, display field 5 followed by field 3.
{print $5, $3}
ready failed 15 hana active dina pending failed 73 ivan failed bruno pending active 26 kim pending ivan paused failed 21 dina closed chen closed failed 36 chen closed jules paused ready 113 bruno ready alice paused pending 27 alice pending alice paused paused 75 bruno failed bruno
active 15 failed 73 pending 26 closed 21 closed 36 ready 113 pending 27 failed 75
paused failed 27 bruno paused bruno failed failed 20 hana ready lina paused active 78 alice closed hana paused failed 116 eli failed dina ready closed 27 bruno pending lina closed closed 66 farah pending hana paused ready 41 bruno failed eli active closed 90 jules paused chen pending pending 112 alice pending ivan
paused 27 ready 20 closed 78 failed 116 pending 27 pending 66 failed 41 paused 90 pending 112
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008307
qwen/qwen3.7-plus
awkweave-0008308
Print the last field of every input line.
{print $NF}
bruno paused 67 paused ember gus active 73 failed cobalt eli closed 11 closed cobalt alice ready 71 failed grove chen closed 90 closed ember gus closed 118 active cobalt
ember cobalt cobalt grove ember cobalt
alice paused 52 ready ember dina closed 66 failed delta ivan pending 2 failed amber lina ready 69 failed ember alice paused 35 active ember alice failed 93 closed delta ivan active 40 failed birch farah ready 38 failed delta chen failed 5 pending indigo ivan failed 76 pending ember
ember delta amber ember ember delta birch delta indigo ember
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008308-p1
Print the final field from each input line.
{print $NF}
bruno paused 67 paused ember gus active 73 failed cobalt eli closed 11 closed cobalt alice ready 71 failed grove chen closed 90 closed ember gus closed 118 active cobalt
ember cobalt cobalt grove ember cobalt
alice paused 52 ready ember dina closed 66 failed delta ivan pending 2 failed amber lina ready 69 failed ember alice paused 35 active ember alice failed 93 closed delta ivan active 40 failed birch farah ready 38 failed delta chen failed 5 pending indigo ivan failed 76 pending ember
ember delta amber ember ember delta birch delta indigo ember
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008308
qwen/qwen3.7-plus
awkweave-0008309
Print the complete records where column 3 is greater than 27.
$3 > 27
hana grove 120 bruno ember bruno delta 56 lina birch jules ember 9 ivan birch lina fable 78 lina birch kim grove 98 dina harbor farah cobalt 94 ivan ember kim birch 118 bruno delta
hana grove 120 bruno ember bruno delta 56 lina birch lina fable 78 lina birch kim grove 98 dina harbor farah cobalt 94 ivan ember kim birch 118 bruno delta
hana fable 29 eli fable dina juniper 100 dina cobalt alice grove 88 hana juniper jules harbor 11 dina fable dina birch 5 chen cobalt eli grove 115 lina ember kim birch 95 lina harbor gus cobalt 76 farah harbor ivan juniper 25 hana ember alice juniper 108 farah delta
hana fable 29 eli fable dina juniper 100 dina cobalt alice grove 88 hana juniper eli grove 115 lina ember kim birch 95 lina harbor gus cobalt 76 farah harbor alice juniper 108 farah delta
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008309-p1
Display the entire records where the value in column 3 exceeds 27.
$3 > 27
hana grove 120 bruno ember bruno delta 56 lina birch jules ember 9 ivan birch lina fable 78 lina birch kim grove 98 dina harbor farah cobalt 94 ivan ember kim birch 118 bruno delta
hana grove 120 bruno ember bruno delta 56 lina birch lina fable 78 lina birch kim grove 98 dina harbor farah cobalt 94 ivan ember kim birch 118 bruno delta
hana fable 29 eli fable dina juniper 100 dina cobalt alice grove 88 hana juniper jules harbor 11 dina fable dina birch 5 chen cobalt eli grove 115 lina ember kim birch 95 lina harbor gus cobalt 76 farah harbor ivan juniper 25 hana ember alice juniper 108 farah delta
hana fable 29 eli fable dina juniper 100 dina cobalt alice grove 88 hana juniper eli grove 115 lina ember kim birch 95 lina harbor gus cobalt 76 farah harbor alice juniper 108 farah delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008309
qwen/qwen3.7-plus
awkweave-0008310
Show whole lines whose 1st field is between 5 and 23, inclusive.
$1 >= 5 && $1 <= 23
3 closed eli failed 14 closed ivan pending 8 paused ivan closed 14 active eli ready 27 failed dina active 30 paused kim failed 16 failed gus pending
14 closed ivan pending 8 paused ivan closed 14 active eli ready 16 failed gus pending
10 active chen failed 29 closed hana closed 13 ready farah closed 15 paused dina pending 29 active farah failed 25 paused dina paused
10 active chen failed 13 ready farah closed 15 paused dina pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008310-p1
Show complete lines where the first field falls within the inclusive range of 5 to 23.
$1 >= 5 && $1 <= 23
3 closed eli failed 14 closed ivan pending 8 paused ivan closed 14 active eli ready 27 failed dina active 30 paused kim failed 16 failed gus pending
14 closed ivan pending 8 paused ivan closed 14 active eli ready 16 failed gus pending
10 active chen failed 29 closed hana closed 13 ready farah closed 15 paused dina pending 29 active farah failed 25 paused dina paused
10 active chen failed 13 ready farah closed 15 paused dina pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008310
qwen/qwen3.7-plus
awkweave-0008311
Print column 2 only for rows where column 3 is exactly ready.
$3 == "ready"{print $2}
27 gus active fable 59 eli failed cobalt 15 jules active birch 76 farah failed juniper 64 dina failed amber 31 gus paused juniper 53 alice closed fable 6 lina ready juniper
lina
18 gus pending birch 32 bruno closed grove 37 hana closed amber 117 kim pending amber 2 hana closed delta 18 dina paused indigo 49 dina closed harbor 109 hana pending fable 115 kim ready birch
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008311-p1
Output only column 2 for rows where column 3 is exactly 'ready'.
$3 == "ready"{print $2}
27 gus active fable 59 eli failed cobalt 15 jules active birch 76 farah failed juniper 64 dina failed amber 31 gus paused juniper 53 alice closed fable 6 lina ready juniper
lina
18 gus pending birch 32 bruno closed grove 37 hana closed amber 117 kim pending amber 2 hana closed delta 18 dina paused indigo 49 dina closed harbor 109 hana pending fable 115 kim ready birch
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008311
qwen/qwen3.7-plus
awkweave-0008312
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
grove 93 INFO ember 23 WARN fable 111 ERROR harbor 42 ERROR fable 11 DEBUG birch 22 ERROR cobalt 67 DEBUG
ember 23 WARN
juniper 41 WARN juniper 84 WARN birch 90 ERROR ember 9 WARN amber 33 ERROR ember 54 INFO fable 30 DEBUG harbor 43 ERROR delta 30 WARN birch 69 DEBUG
juniper 41 WARN juniper 84 WARN ember 9 WARN delta 30 WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008312-p1
Print all fields from lines where the third field starts with 'WARN'.
$3 ~ /^WARN/
grove 93 INFO ember 23 WARN fable 111 ERROR harbor 42 ERROR fable 11 DEBUG birch 22 ERROR cobalt 67 DEBUG
ember 23 WARN
juniper 41 WARN juniper 84 WARN birch 90 ERROR ember 9 WARN amber 33 ERROR ember 54 INFO fable 30 DEBUG harbor 43 ERROR delta 30 WARN birch 69 DEBUG
juniper 41 WARN juniper 84 WARN ember 9 WARN delta 30 WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008312
qwen/qwen3.7-plus
awkweave-0008313
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
cobalt 51 pending fable 73 active ember 4 active amber 32 ready birch 54 closed grove 69 pending juniper 999 active
cobalt 51 pending fable 73 active ember 4 active amber 32 ready birch 54 closed grove 69 pending
indigo 106 active ember 44 failed harbor 29 ready delta 102 failed grove 56 paused indigo 1 ready cobalt 42 closed juniper 999 active
indigo 106 active ember 44 failed harbor 29 ready delta 102 failed grove 56 paused indigo 1 ready cobalt 42 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008313-p1
Print every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
cobalt 51 pending fable 73 active ember 4 active amber 32 ready birch 54 closed grove 69 pending juniper 999 active
cobalt 51 pending fable 73 active ember 4 active amber 32 ready birch 54 closed grove 69 pending
indigo 106 active ember 44 failed harbor 29 ready delta 102 failed grove 56 paused indigo 1 ready cobalt 42 closed juniper 999 active
indigo 106 active ember 44 failed harbor 29 ready delta 102 failed grove 56 paused indigo 1 ready cobalt 42 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008313
qwen/qwen3.7-plus
awkweave-0008314
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
chen harbor 119 jules grove 5 chen juniper 73 chen grove 49 chen grove 2 kim grove 17 bruno amber 67 chen juniper 110 ivan fable 68
chen grove 49 chen grove 2 kim grove 17 bruno amber 67
dina amber 43 kim indigo 97 bruno cobalt 76 jules juniper 58 gus harbor 9 gus indigo 36
jules juniper 58 gus harbor 9 gus indigo 36
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008314-p1
Output lines 4 through 7, inclusive of both endpoints.
NR >= 4 && NR <= 7
chen harbor 119 jules grove 5 chen juniper 73 chen grove 49 chen grove 2 kim grove 17 bruno amber 67 chen juniper 110 ivan fable 68
chen grove 49 chen grove 2 kim grove 17 bruno amber 67
dina amber 43 kim indigo 97 bruno cobalt 76 jules juniper 58 gus harbor 9 gus indigo 36
jules juniper 58 gus harbor 9 gus indigo 36
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008314
qwen/qwen3.7-plus
awkweave-0008315
Output only the first 4 records.
NR <= 4
gus 19 birch gus 95 juniper eli 0 fable lina 78 fable chen 60 amber bruno 15 indigo eli 32 delta gus 16 fable dina 107 ember
gus 19 birch gus 95 juniper eli 0 fable lina 78 fable
chen 53 birch gus 93 cobalt gus 10 juniper alice 107 indigo gus 114 grove eli 47 birch
chen 53 birch gus 93 cobalt gus 10 juniper alice 107 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008315-p1
Display only the first 4 records.
NR <= 4
gus 19 birch gus 95 juniper eli 0 fable lina 78 fable chen 60 amber bruno 15 indigo eli 32 delta gus 16 fable dina 107 ember
gus 19 birch gus 95 juniper eli 0 fable lina 78 fable
chen 53 birch gus 93 cobalt gus 10 juniper alice 107 indigo gus 114 grove eli 47 birch
chen 53 birch gus 93 cobalt gus 10 juniper alice 107 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008315
qwen/qwen3.7-plus
awkweave-0008316
Skip the first line and print every remaining line unchanged.
NR > 1
chen 92 delta kim 85 fable bruno 57 fable farah 98 cobalt kim 2 harbor alice 79 cobalt alice 98 ember eli 42 indigo farah 37 ember
kim 85 fable bruno 57 fable farah 98 cobalt kim 2 harbor alice 79 cobalt alice 98 ember eli 42 indigo farah 37 ember
dina 115 indigo lina 84 fable ivan 65 harbor chen 0 indigo gus 44 grove hana 29 delta ivan 115 amber
lina 84 fable ivan 65 harbor chen 0 indigo gus 44 grove hana 29 delta ivan 115 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008316-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
chen 92 delta kim 85 fable bruno 57 fable farah 98 cobalt kim 2 harbor alice 79 cobalt alice 98 ember eli 42 indigo farah 37 ember
kim 85 fable bruno 57 fable farah 98 cobalt kim 2 harbor alice 79 cobalt alice 98 ember eli 42 indigo farah 37 ember
dina 115 indigo lina 84 fable ivan 65 harbor chen 0 indigo gus 44 grove hana 29 delta ivan 115 amber
lina 84 fable ivan 65 harbor chen 0 indigo gus 44 grove hana 29 delta ivan 115 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008316
qwen/qwen3.7-plus
awkweave-0008317
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
dina failed 27 gus active 65 jules pending 43 farah paused 12 chen paused 2 dina paused 103 lina paused 57 alice failed 23 gus ready 113 kim paused 95
0
gus pending 51 dina ready 13 eli active 111 dina active 97 bruno failed 71 chen pending 108
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008317-p1
Count the number of records where column 2 is 'closed', and print 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
dina failed 27 gus active 65 jules pending 43 farah paused 12 chen paused 2 dina paused 103 lina paused 57 alice failed 23 gus ready 113 kim paused 95
0
gus pending 51 dina ready 13 eli active 111 dina active 97 bruno failed 71 chen pending 108
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008317
qwen/qwen3.7-plus
awkweave-0008318
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
27 eli harbor 23 hana birch 1 alice ember 29 bruno fable 14 dina amber 2 kim birch 21 kim indigo 16 bruno birch 2 lina birch
135
16 bruno ember 30 chen amber 15 gus grove 28 gus ember 24 kim cobalt 27 chen harbor 15 gus amber 29 bruno birch
184
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008318-p1
Compute the total of all integer values found in the first column and display the result.
{s+=$1}END{print s+0}
27 eli harbor 23 hana birch 1 alice ember 29 bruno fable 14 dina amber 2 kim birch 21 kim indigo 16 bruno birch 2 lina birch
135
16 bruno ember 30 chen amber 15 gus grove 28 gus ember 24 kim cobalt 27 chen harbor 15 gus amber 29 bruno birch
184
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008318
qwen/qwen3.7-plus
awkweave-0008319
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 7 alice cobalt 12 lina amber 11 dina delta 23 eli amber 28 alice indigo 8 eli cobalt 15 bruno harbor 8 kim delta 17 chen harbor 21 chen
15.00
fable 29 gus fable 26 alice delta 19 farah delta 17 lina cobalt 14 ivan cobalt 25 lina ember 4 hana harbor 23 gus cobalt 25 alice ember 14 chen
19.60
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008319-p1
Output the average of the values in the second column, formatted to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 7 alice cobalt 12 lina amber 11 dina delta 23 eli amber 28 alice indigo 8 eli cobalt 15 bruno harbor 8 kim delta 17 chen harbor 21 chen
15.00
fable 29 gus fable 26 alice delta 19 farah delta 17 lina cobalt 14 ivan cobalt 25 lina ember 4 hana harbor 23 gus cobalt 25 alice ember 14 chen
19.60
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008319
qwen/qwen3.7-plus
awkweave-0008320
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
delta 3 alice grove 2 farah fable 10 eli harbor 13 dina cobalt 7 hana juniper 18 lina birch 12 kim juniper 16 ivan cobalt 23 gus
2
delta 14 farah ember 17 bruno amber 10 hana indigo 12 bruno ember 24 jules ember 26 ivan indigo 8 alice cobalt 12 bruno harbor 15 alice
8
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008320-p1
Identify and display the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
delta 3 alice grove 2 farah fable 10 eli harbor 13 dina cobalt 7 hana juniper 18 lina birch 12 kim juniper 16 ivan cobalt 23 gus
2
delta 14 farah ember 17 bruno amber 10 hana indigo 12 bruno ember 24 jules ember 26 ivan indigo 8 alice cobalt 12 bruno harbor 15 alice
8
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008320
qwen/qwen3.7-plus
awkweave-0008321
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember kim 25 juniper eli 3 delta chen 23 birch eli 5 juniper kim 28 delta jules 13 grove hana 7 ember ivan 16 juniper dina 22 juniper hana 20
28
cobalt bruno 16 delta dina 30 grove farah 17 indigo kim 23 amber bruno 3 harbor gus 8 grove gus 14 fable dina 7 ember lina 18 juniper lina 3
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008321-p1
Identify and display the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember kim 25 juniper eli 3 delta chen 23 birch eli 5 juniper kim 28 delta jules 13 grove hana 7 ember ivan 16 juniper dina 22 juniper hana 20
28
cobalt bruno 16 delta dina 30 grove farah 17 indigo kim 23 amber bruno 3 harbor gus 8 grove gus 14 fable dina 7 ember lina 18 juniper lina 3
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008321
qwen/qwen3.7-plus
awkweave-0008322
Count all input records and print the total.
END{print NR}
eli 26 kim 14 hana 83 alice 29 jules 75 gus 101 gus 12 kim 115
8
bruno 106 dina 61 kim 26 lina 119 lina 49 lina 4
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008322-p1
Count the total number of input records and print this count.
END{print NR}
eli 26 kim 14 hana 83 alice 29 jules 75 gus 101 gus 12 kim 115
8
bruno 106 dina 61 kim 26 lina 119 lina 49 lina 4
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008322
qwen/qwen3.7-plus
awkweave-0008323
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules amber 100 chen birch 27 chen juniper 45 farah harbor 60 hana ember 106 chen juniper 45 dina grove 15 gus indigo 119 farah fable 24
jules amber 100 chen birch 27 chen juniper 45 farah harbor 60 hana ember 106 dina grove 15 gus indigo 119 farah fable 24
gus cobalt 79 lina indigo 59 kim cobalt 51 lina juniper 57 gus juniper 4 dina cobalt 59 ivan harbor 54 hana fable 96 dina cobalt 59 farah indigo 69 alice ember 39
gus cobalt 79 lina indigo 59 kim cobalt 51 lina juniper 57 gus juniper 4 dina cobalt 59 ivan harbor 54 hana fable 96 farah indigo 69 alice ember 39
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008323-p1
Eliminate duplicate lines by keeping only the first instance of each unique line while maintaining the original sequence.
!seen[$0]++
jules amber 100 chen birch 27 chen juniper 45 farah harbor 60 hana ember 106 chen juniper 45 dina grove 15 gus indigo 119 farah fable 24
jules amber 100 chen birch 27 chen juniper 45 farah harbor 60 hana ember 106 dina grove 15 gus indigo 119 farah fable 24
gus cobalt 79 lina indigo 59 kim cobalt 51 lina juniper 57 gus juniper 4 dina cobalt 59 ivan harbor 54 hana fable 96 dina cobalt 59 farah indigo 69 alice ember 39
gus cobalt 79 lina indigo 59 kim cobalt 51 lina juniper 57 gus juniper 4 dina cobalt 59 ivan harbor 54 hana fable 96 farah indigo 69 alice ember 39
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008323
qwen/qwen3.7-plus
awkweave-0008324
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
eli birch 111 chen harbor 78 ivan grove 55 eli indigo 96 kim amber 51 farah cobalt 91
eli birch 111 chen harbor 78 ivan grove 55 kim amber 51 farah cobalt 91
farah birch 54 eli delta 16 eli harbor 111 gus cobalt 88 ivan harbor 0 hana delta 107 chen juniper 4 jules fable 74 lina cobalt 26
farah birch 54 eli delta 16 gus cobalt 88 ivan harbor 0 hana delta 107 chen juniper 4 jules fable 74 lina cobalt 26
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008324-p1
Retain only the initial occurrence for every unique value in the first column, preserving the original input order.
!seen[$1]++
eli birch 111 chen harbor 78 ivan grove 55 eli indigo 96 kim amber 51 farah cobalt 91
eli birch 111 chen harbor 78 ivan grove 55 kim amber 51 farah cobalt 91
farah birch 54 eli delta 16 eli harbor 111 gus cobalt 88 ivan harbor 0 hana delta 107 chen juniper 4 jules fable 74 lina cobalt 26
farah birch 54 eli delta 16 gus cobalt 88 ivan harbor 0 hana delta 107 chen juniper 4 jules fable 74 lina cobalt 26
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008324
qwen/qwen3.7-plus
awkweave-0008325
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 4 indigo dina 28 cobalt chen 28 grove eli 5 harbor bruno 10 fable jules 22 harbor dina 17 juniper lina 15 delta hana 4 ember
farah 4 dina 32 chen 60 eli 65 bruno 75 jules 97 dina 114 lina 129 hana 133
kim 25 harbor gus 12 fable bruno 25 birch lina 29 grove dina 28 indigo farah 15 harbor ivan 25 cobalt
kim 25 gus 37 bruno 62 lina 91 dina 119 farah 134 ivan 159
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008325-p1
For each record, output the value from the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
farah 4 indigo dina 28 cobalt chen 28 grove eli 5 harbor bruno 10 fable jules 22 harbor dina 17 juniper lina 15 delta hana 4 ember
farah 4 dina 32 chen 60 eli 65 bruno 75 jules 97 dina 114 lina 129 hana 133
kim 25 harbor gus 12 fable bruno 25 birch lina 29 grove dina 28 indigo farah 15 harbor ivan 25 cobalt
kim 25 gus 37 bruno 62 lina 91 dina 119 farah 134 ivan 159
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008325
qwen/qwen3.7-plus
awkweave-0008326
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
dina 11 5 ember alice 3 20 cobalt chen 27 1 birch chen 14 10 grove ivan 16 15 delta gus 10 9 juniper
dina 16 alice 23 chen 28 chen 24 ivan 31 gus 19
gus 9 19 harbor jules 17 25 harbor eli 23 20 cobalt ivan 22 3 ember lina 7 24 cobalt kim 23 16 cobalt
gus 28 jules 42 eli 43 ivan 25 lina 31 kim 39
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008326-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
dina 11 5 ember alice 3 20 cobalt chen 27 1 birch chen 14 10 grove ivan 16 15 delta gus 10 9 juniper
dina 16 alice 23 chen 28 chen 24 ivan 31 gus 19
gus 9 19 harbor jules 17 25 harbor eli 23 20 cobalt ivan 22 3 ember lina 7 24 cobalt kim 23 16 cobalt
gus 28 jules 42 eli 43 ivan 25 lina 31 kim 39
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008326
qwen/qwen3.7-plus
awkweave-0008327
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
bruno 14 kim 11 ivan 22 alice 1 chen 11 dina 25 hana 1 bruno 6
bruno fail kim fail ivan fail alice fail chen fail dina fail hana fail bruno fail
ivan 9 farah 10 farah 25 lina 26 dina 12 ivan 8 kim 10 hana 5
ivan fail farah fail farah fail lina pass dina fail ivan fail kim fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008327-p1
Display the value from the first column along with 'pass' if the second column is 26 or greater, otherwise display 'fail'.
{print $1,($2>=26?"pass":"fail")}
bruno 14 kim 11 ivan 22 alice 1 chen 11 dina 25 hana 1 bruno 6
bruno fail kim fail ivan fail alice fail chen fail dina fail hana fail bruno fail
ivan 9 farah 10 farah 25 lina 26 dina 12 ivan 8 kim 10 hana 5
ivan fail farah fail farah fail lina pass dina fail ivan fail kim fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008327
qwen/qwen3.7-plus
awkweave-0008328
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
farah indigo 110 lina cobalt 103 hana grove 104 alice indigo 88 kim ember 0 lina delta 65 farah fable 71 ivan cobalt 69 chen indigo 102
FARAH LINA HANA ALICE KIM LINA FARAH IVAN CHEN
kim harbor 97 hana juniper 95 ivan indigo 32 jules indigo 69 farah birch 76 hana fable 103
KIM HANA IVAN JULES FARAH HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008328-p1
Transform the content of the first column to uppercase and print only this modified column.
{print toupper($1)}
farah indigo 110 lina cobalt 103 hana grove 104 alice indigo 88 kim ember 0 lina delta 65 farah fable 71 ivan cobalt 69 chen indigo 102
FARAH LINA HANA ALICE KIM LINA FARAH IVAN CHEN
kim harbor 97 hana juniper 95 ivan indigo 32 jules indigo 69 farah birch 76 hana fable 103
KIM HANA IVAN JULES FARAH HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008328
qwen/qwen3.7-plus
awkweave-0008329
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
grove 45 birch 18 indigo 39 delta 87 ember 17 ember 80 grove 16 birch 21 grove 100
gro bir ind del emb emb gro bir gro
ember 64 birch 46 ember 20 juniper 111 indigo 119 cobalt 32 harbor 112 harbor 112
emb bir emb jun ind cob har har
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008329-p1
Extract and print the first three characters from the value in the first column.
{print substr($1,1,3)}
grove 45 birch 18 indigo 39 delta 87 ember 17 ember 80 grove 16 birch 21 grove 100
gro bir ind del emb emb gro bir gro
ember 64 birch 46 ember 20 juniper 111 indigo 119 cobalt 32 harbor 112 harbor 112
emb bir emb jun ind cob har har
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008329
qwen/qwen3.7-plus
awkweave-0008330
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_amber 67 cobalt_indigo 95 delta_cobalt 29 amber_birch 34 amber_grove 45 indigo_harbor 31
indigo amber cobalt indigo delta cobalt amber birch amber grove indigo harbor
indigo_harbor 67 fable_birch 49 birch_birch 78 fable_amber 93 grove_cobalt 36 harbor_birch 72 cobalt_amber 75 grove_amber 83 indigo_ember 104 harbor_indigo 13
indigo harbor fable birch birch birch fable amber grove cobalt harbor birch cobalt amber grove amber indigo ember harbor indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null