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-0018330-p1
For each record, output the third column followed by the first column.
{print $3, $1}
ember dina cobalt ready paused ember jules ember failed ready grove lina ember failed closed grove bruno fable paused paused delta farah delta failed failed amber eli fable failed failed delta eli indigo closed pending fable jules juniper ready active fable eli delta active closed
cobalt ember ember ember ember grove fable grove delta delta fable amber indigo delta juniper fable delta fable
indigo hana juniper failed closed birch lina harbor failed pending delta hana harbor ready active fable kim amber pending closed fable bruno indigo pending failed amber hana cobalt failed ready harbor ivan delta active pending ember lina indigo active ready
juniper indigo harbor birch harbor delta amber fable indigo fable cobalt amber delta harbor indigo ember
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018330
qwen/qwen3.7-plus
awkweave-0018331
Print the last field of every input line.
{print $NF}
chen closed grove 105 ivan closed delta 79 ivan active indigo 87 eli active ember 6 farah pending harbor 85 ivan failed birch 23 ivan closed birch 81 ivan closed birch 98
105 79 87 6 85 23 81 98
bruno closed harbor 98 hana failed cobalt 91 bruno active ember 58 lina ready amber 50 ivan closed delta 84 alice ready delta 44
98 91 58 50 84 44
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018331-p1
Output the final field from every input line.
{print $NF}
chen closed grove 105 ivan closed delta 79 ivan active indigo 87 eli active ember 6 farah pending harbor 85 ivan failed birch 23 ivan closed birch 81 ivan closed birch 98
105 79 87 6 85 23 81 98
bruno closed harbor 98 hana failed cobalt 91 bruno active ember 58 lina ready amber 50 ivan closed delta 84 alice ready delta 44
98 91 58 50 84 44
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018331
qwen/qwen3.7-plus
awkweave-0018332
Print the complete records where column 4 is greater than 25.
$4 > 25
gus failed lina 18 cobalt chen active kim 5 delta lina pending gus 89 delta gus active hana 49 delta ivan ready chen 5 grove hana paused gus 87 cobalt kim closed ivan 105 cobalt
lina pending gus 89 delta gus active hana 49 delta hana paused gus 87 cobalt kim closed ivan 105 cobalt
lina ready chen 82 indigo eli ready eli 44 indigo gus pending dina 84 cobalt gus pending hana 43 grove lina ready lina 23 cobalt ivan active chen 106 birch
lina ready chen 82 indigo eli ready eli 44 indigo gus pending dina 84 cobalt gus pending hana 43 grove ivan active chen 106 birch
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018332-p1
Display full records where the value in the fourth column exceeds 25.
$4 > 25
gus failed lina 18 cobalt chen active kim 5 delta lina pending gus 89 delta gus active hana 49 delta ivan ready chen 5 grove hana paused gus 87 cobalt kim closed ivan 105 cobalt
lina pending gus 89 delta gus active hana 49 delta hana paused gus 87 cobalt kim closed ivan 105 cobalt
lina ready chen 82 indigo eli ready eli 44 indigo gus pending dina 84 cobalt gus pending hana 43 grove lina ready lina 23 cobalt ivan active chen 106 birch
lina ready chen 82 indigo eli ready eli 44 indigo gus pending dina 84 cobalt gus pending hana 43 grove ivan active chen 106 birch
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018332
qwen/qwen3.7-plus
awkweave-0018333
Show whole lines whose 3rd field is between 4 and 28, inclusive.
$3 >= 4 && $3 <= 28
jules failed 8 cobalt chen ready 27 harbor lina paused 14 ember farah active 18 delta chen ready 5 harbor ivan ready 20 ember
jules failed 8 cobalt chen ready 27 harbor lina paused 14 ember farah active 18 delta chen ready 5 harbor ivan ready 20 ember
bruno pending 20 indigo dina ready 28 birch kim pending 1 birch alice closed 29 birch chen closed 17 delta gus failed 27 delta bruno ready 7 fable hana active 2 fable gus paused 8 ember
bruno pending 20 indigo dina ready 28 birch chen closed 17 delta gus failed 27 delta bruno ready 7 fable gus paused 8 ember
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018333-p1
Show entire lines where the third field falls within the range of 4 to 28, inclusive.
$3 >= 4 && $3 <= 28
jules failed 8 cobalt chen ready 27 harbor lina paused 14 ember farah active 18 delta chen ready 5 harbor ivan ready 20 ember
jules failed 8 cobalt chen ready 27 harbor lina paused 14 ember farah active 18 delta chen ready 5 harbor ivan ready 20 ember
bruno pending 20 indigo dina ready 28 birch kim pending 1 birch alice closed 29 birch chen closed 17 delta gus failed 27 delta bruno ready 7 fable hana active 2 fable gus paused 8 ember
bruno pending 20 indigo dina ready 28 birch chen closed 17 delta gus failed 27 delta bruno ready 7 fable gus paused 8 ember
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018333
qwen/qwen3.7-plus
awkweave-0018334
Print column 2 only for rows where column 4 is exactly closed.
$4 == "closed"{print $2}
juniper gus 25 active amber dina 84 ready ember ivan 76 ready amber chen 72 active juniper lina 70 active ember alice 17 pending cobalt dina 27 active birch farah 45 ready harbor kim 78 closed ember alice 46 ready
kim
grove kim 52 ready grove ivan 47 paused grove kim 107 pending juniper farah 109 ready juniper dina 110 active delta gus 49 pending
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018334-p1
Output only the second column for rows where the fourth column is exactly 'closed'.
$4 == "closed"{print $2}
juniper gus 25 active amber dina 84 ready ember ivan 76 ready amber chen 72 active juniper lina 70 active ember alice 17 pending cobalt dina 27 active birch farah 45 ready harbor kim 78 closed ember alice 46 ready
kim
grove kim 52 ready grove ivan 47 paused grove kim 107 pending juniper farah 109 ready juniper dina 110 active delta gus 49 pending
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018334
qwen/qwen3.7-plus
awkweave-0018335
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
97 DEBUG indigo 103 DEBUG birch 114 INFO indigo 81 ERROR amber 14 WARN ember 83 ERROR juniper 91 WARN juniper
114 INFO indigo
116 ERROR harbor 34 INFO delta 54 DEBUG harbor 55 ERROR harbor 89 WARN delta 69 ERROR amber
34 INFO delta
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018335-p1
Print all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
97 DEBUG indigo 103 DEBUG birch 114 INFO indigo 81 ERROR amber 14 WARN ember 83 ERROR juniper 91 WARN juniper
114 INFO indigo
116 ERROR harbor 34 INFO delta 54 DEBUG harbor 55 ERROR harbor 89 WARN delta 69 ERROR amber
34 INFO delta
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018335
qwen/qwen3.7-plus
awkweave-0018336
Print every line except those containing the exact text fable.
$0 !~ /fable/
indigo 8 paused delta 88 pending ember 107 failed ember 51 failed amber 21 ready fable 44 paused fable 999 active
indigo 8 paused delta 88 pending ember 107 failed ember 51 failed amber 21 ready
fable 94 failed harbor 61 active fable 30 active birch 28 pending juniper 113 failed indigo 0 failed amber 119 paused fable 999 active
harbor 61 active birch 28 pending juniper 113 failed indigo 0 failed amber 119 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018336-p1
Output every line that does not contain the exact string 'fable'.
$0 !~ /fable/
indigo 8 paused delta 88 pending ember 107 failed ember 51 failed amber 21 ready fable 44 paused fable 999 active
indigo 8 paused delta 88 pending ember 107 failed ember 51 failed amber 21 ready
fable 94 failed harbor 61 active fable 30 active birch 28 pending juniper 113 failed indigo 0 failed amber 119 paused fable 999 active
harbor 61 active birch 28 pending juniper 113 failed indigo 0 failed amber 119 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018336
qwen/qwen3.7-plus
awkweave-0018337
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
hana fable 74 alice cobalt 73 lina birch 74 gus juniper 97 bruno harbor 24 eli amber 120 alice amber 12 kim harbor 105 alice birch 9 chen grove 19
lina birch 74 gus juniper 97 bruno harbor 24 eli amber 120
jules amber 110 eli birch 24 alice birch 117 bruno amber 49 bruno grove 29 jules juniper 11 kim cobalt 82 farah indigo 81 gus ember 114 ivan indigo 46
alice birch 117 bruno amber 49 bruno grove 29 jules juniper 11
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018337-p1
Print lines 3 through 6, inclusive of both endpoints.
NR >= 3 && NR <= 6
hana fable 74 alice cobalt 73 lina birch 74 gus juniper 97 bruno harbor 24 eli amber 120 alice amber 12 kim harbor 105 alice birch 9 chen grove 19
lina birch 74 gus juniper 97 bruno harbor 24 eli amber 120
jules amber 110 eli birch 24 alice birch 117 bruno amber 49 bruno grove 29 jules juniper 11 kim cobalt 82 farah indigo 81 gus ember 114 ivan indigo 46
alice birch 117 bruno amber 49 bruno grove 29 jules juniper 11
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018337
qwen/qwen3.7-plus
awkweave-0018338
Output only the first 5 records.
NR <= 5
chen 62 cobalt eli 52 cobalt eli 116 ember dina 93 indigo alice 100 ember kim 31 delta chen 9 amber ivan 65 birch hana 47 fable
chen 62 cobalt eli 52 cobalt eli 116 ember dina 93 indigo alice 100 ember
farah 8 birch gus 19 indigo bruno 114 indigo gus 48 birch alice 12 harbor hana 56 amber bruno 79 juniper gus 75 cobalt jules 88 indigo
farah 8 birch gus 19 indigo bruno 114 indigo gus 48 birch alice 12 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018338-p1
Output only the first 5 records.
NR <= 5
chen 62 cobalt eli 52 cobalt eli 116 ember dina 93 indigo alice 100 ember kim 31 delta chen 9 amber ivan 65 birch hana 47 fable
chen 62 cobalt eli 52 cobalt eli 116 ember dina 93 indigo alice 100 ember
farah 8 birch gus 19 indigo bruno 114 indigo gus 48 birch alice 12 harbor hana 56 amber bruno 79 juniper gus 75 cobalt jules 88 indigo
farah 8 birch gus 19 indigo bruno 114 indigo gus 48 birch alice 12 harbor
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0018338
qwen/qwen3.7-plus
awkweave-0018339
Skip the first line and print every remaining line unchanged.
NR > 1
eli 52 juniper hana 19 delta alice 55 birch farah 91 indigo lina 41 amber gus 41 fable alice 61 juniper
hana 19 delta alice 55 birch farah 91 indigo lina 41 amber gus 41 fable alice 61 juniper
lina 35 juniper eli 70 cobalt hana 21 grove lina 18 indigo kim 47 grove gus 62 amber
eli 70 cobalt hana 21 grove lina 18 indigo kim 47 grove gus 62 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018339-p1
Skip the first line and print all remaining lines without modification.
NR > 1
eli 52 juniper hana 19 delta alice 55 birch farah 91 indigo lina 41 amber gus 41 fable alice 61 juniper
hana 19 delta alice 55 birch farah 91 indigo lina 41 amber gus 41 fable alice 61 juniper
lina 35 juniper eli 70 cobalt hana 21 grove lina 18 indigo kim 47 grove gus 62 amber
eli 70 cobalt hana 21 grove lina 18 indigo kim 47 grove gus 62 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018339
qwen/qwen3.7-plus
awkweave-0018340
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
hana closed 57 hana closed 87 farah ready 88 jules active 27 jules closed 25 hana pending 101 alice pending 26 alice ready 108
1
dina ready 117 lina failed 44 kim pending 119 alice ready 25 kim ready 39 chen ready 26
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018340-p1
Count the number of records where the second column is 'active', and print 0 if none are found.
$2 == "active"{n++}END{print n+0}
hana closed 57 hana closed 87 farah ready 88 jules active 27 jules closed 25 hana pending 101 alice pending 26 alice ready 108
1
dina ready 117 lina failed 44 kim pending 119 alice ready 25 kim ready 39 chen ready 26
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018340
qwen/qwen3.7-plus
awkweave-0018341
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
9 cobalt alice 17 juniper kim 3 juniper alice 13 amber ivan 13 juniper hana 8 fable alice 13 fable kim
76
23 juniper chen 20 harbor jules 9 indigo hana 1 cobalt chen 14 delta lina 30 amber ivan 11 harbor eli 23 ember hana
131
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018341-p1
Compute and print the sum of integer values in the first column.
{s+=$1}END{print s+0}
9 cobalt alice 17 juniper kim 3 juniper alice 13 amber ivan 13 juniper hana 8 fable alice 13 fable kim
76
23 juniper chen 20 harbor jules 9 indigo hana 1 cobalt chen 14 delta lina 30 amber ivan 11 harbor eli 23 ember hana
131
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018341
qwen/qwen3.7-plus
awkweave-0018342
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper hana 18 juniper jules 4 indigo chen 24 cobalt ivan 28 indigo bruno 12 cobalt gus 21
17.83
indigo kim 23 juniper bruno 23 fable bruno 7 birch lina 10 indigo ivan 9 juniper bruno 25 harbor gus 2 cobalt hana 3 grove gus 1 ember bruno 1
10.40
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018342-p1
Output the average of the third column, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper hana 18 juniper jules 4 indigo chen 24 cobalt ivan 28 indigo bruno 12 cobalt gus 21
17.83
indigo kim 23 juniper bruno 23 fable bruno 7 birch lina 10 indigo ivan 9 juniper bruno 25 harbor gus 2 cobalt hana 3 grove gus 1 ember bruno 1
10.40
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018342
qwen/qwen3.7-plus
awkweave-0018343
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
15 kim grove 22 alice indigo 16 ivan cobalt 17 jules ember 8 alice fable 11 lina fable 3 alice juniper
3
4 ivan juniper 4 kim amber 14 ivan fable 28 eli cobalt 7 eli indigo 26 eli indigo 1 dina delta 17 eli delta
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018343-p1
Identify and display the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
15 kim grove 22 alice indigo 16 ivan cobalt 17 jules ember 8 alice fable 11 lina fable 3 alice juniper
3
4 ivan juniper 4 kim amber 14 ivan fable 28 eli cobalt 7 eli indigo 26 eli indigo 1 dina delta 17 eli delta
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018343
qwen/qwen3.7-plus
awkweave-0018344
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 juniper hana 22 birch farah 22 delta hana 28 harbor jules 12 juniper eli 6 amber alice 29 birch alice 29 indigo jules 28 grove farah 10 ember alice
29
14 fable dina 17 delta kim 9 fable chen 27 delta dina 21 amber jules 18 harbor chen 15 birch bruno 20 indigo eli 1 indigo dina 5 grove chen
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018344-p1
Identify and display the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 juniper hana 22 birch farah 22 delta hana 28 harbor jules 12 juniper eli 6 amber alice 29 birch alice 29 indigo jules 28 grove farah 10 ember alice
29
14 fable dina 17 delta kim 9 fable chen 27 delta dina 21 amber jules 18 harbor chen 15 birch bruno 20 indigo eli 1 indigo dina 5 grove chen
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018344
qwen/qwen3.7-plus
awkweave-0018345
Count all input records and print the total.
END{print NR}
dina 88 kim 55 chen 63 jules 59 kim 63 eli 65
6
ivan 47 gus 8 ivan 5 ivan 66 alice 39 chen 117 chen 49 chen 13
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018345-p1
Calculate and print the total number of input records.
END{print NR}
dina 88 kim 55 chen 63 jules 59 kim 63 eli 65
6
ivan 47 gus 8 ivan 5 ivan 66 alice 39 chen 117 chen 49 chen 13
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018345
qwen/qwen3.7-plus
awkweave-0018346
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice harbor 8 gus juniper 89 hana indigo 49 chen fable 36 kim delta 111 farah birch 98 hana birch 96 gus juniper 89 bruno harbor 99 dina harbor 41
alice harbor 8 gus juniper 89 hana indigo 49 chen fable 36 kim delta 111 farah birch 98 hana birch 96 bruno harbor 99 dina harbor 41
hana amber 110 bruno amber 31 hana amber 100 gus birch 22 gus birch 22 gus ember 37 hana grove 71
hana amber 110 bruno amber 31 hana amber 100 gus birch 22 gus ember 37 hana grove 71
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018346-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice harbor 8 gus juniper 89 hana indigo 49 chen fable 36 kim delta 111 farah birch 98 hana birch 96 gus juniper 89 bruno harbor 99 dina harbor 41
alice harbor 8 gus juniper 89 hana indigo 49 chen fable 36 kim delta 111 farah birch 98 hana birch 96 bruno harbor 99 dina harbor 41
hana amber 110 bruno amber 31 hana amber 100 gus birch 22 gus birch 22 gus ember 37 hana grove 71
hana amber 110 bruno amber 31 hana amber 100 gus birch 22 gus ember 37 hana grove 71
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018346
qwen/qwen3.7-plus
awkweave-0018347
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
hana delta 5 bruno cobalt 12 farah grove 5 eli delta 90 lina juniper 111 gus ember 78
hana delta 5 bruno cobalt 12 farah grove 5 eli delta 90 lina juniper 111 gus ember 78
lina ember 20 bruno harbor 115 farah amber 117 dina fable 87 hana cobalt 11 jules grove 68 jules indigo 69 eli indigo 61 hana fable 101 eli amber 9
lina ember 20 bruno harbor 115 farah amber 117 dina fable 87 hana cobalt 11 jules grove 68 eli indigo 61
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018347-p1
Retain only the initial line for every unique value in column 1, keeping the original order.
!seen[$1]++
hana delta 5 bruno cobalt 12 farah grove 5 eli delta 90 lina juniper 111 gus ember 78
hana delta 5 bruno cobalt 12 farah grove 5 eli delta 90 lina juniper 111 gus ember 78
lina ember 20 bruno harbor 115 farah amber 117 dina fable 87 hana cobalt 11 jules grove 68 jules indigo 69 eli indigo 61 hana fable 101 eli amber 9
lina ember 20 bruno harbor 115 farah amber 117 dina fable 87 hana cobalt 11 jules grove 68 eli indigo 61
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018347
qwen/qwen3.7-plus
awkweave-0018348
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 20 harbor lina 5 birch jules 16 delta jules 17 birch bruno 22 juniper chen 3 fable hana 3 harbor kim 23 harbor kim 27 delta kim 4 grove
farah 20 lina 25 jules 41 jules 58 bruno 80 chen 83 hana 86 kim 109 kim 136 kim 140
dina 23 birch dina 29 amber lina 15 indigo kim 18 fable lina 18 amber bruno 29 indigo ivan 13 harbor eli 30 juniper gus 2 cobalt
dina 23 dina 52 lina 67 kim 85 lina 103 bruno 132 ivan 145 eli 175 gus 177
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018348-p1
For each entry, output column 1 alongside the cumulative total of column 2, separated by a space.
{s+=$2;print $1,s}
farah 20 harbor lina 5 birch jules 16 delta jules 17 birch bruno 22 juniper chen 3 fable hana 3 harbor kim 23 harbor kim 27 delta kim 4 grove
farah 20 lina 25 jules 41 jules 58 bruno 80 chen 83 hana 86 kim 109 kim 136 kim 140
dina 23 birch dina 29 amber lina 15 indigo kim 18 fable lina 18 amber bruno 29 indigo ivan 13 harbor eli 30 juniper gus 2 cobalt
dina 23 dina 52 lina 67 kim 85 lina 103 bruno 132 ivan 145 eli 175 gus 177
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018348
qwen/qwen3.7-plus
awkweave-0018349
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 21 13 harbor kim 7 18 amber farah 12 25 birch hana 21 26 amber bruno 19 29 grove bruno 21 20 harbor ivan 17 15 cobalt
alice 34 kim 25 farah 37 hana 47 bruno 48 bruno 41 ivan 32
dina 3 10 fable gus 5 1 ember bruno 23 4 juniper alice 26 4 grove lina 14 2 harbor lina 27 13 delta
dina 13 gus 6 bruno 27 alice 30 lina 16 lina 40
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018349-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 21 13 harbor kim 7 18 amber farah 12 25 birch hana 21 26 amber bruno 19 29 grove bruno 21 20 harbor ivan 17 15 cobalt
alice 34 kim 25 farah 37 hana 47 bruno 48 bruno 41 ivan 32
dina 3 10 fable gus 5 1 ember bruno 23 4 juniper alice 26 4 grove lina 14 2 harbor lina 27 13 delta
dina 13 gus 6 bruno 27 alice 30 lina 16 lina 40
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018349
qwen/qwen3.7-plus
awkweave-0018350
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
chen 29 alice 26 dina 11 ivan 16 jules 13 eli 7 bruno 10 ivan 8 hana 18
chen pass alice pass dina fail ivan fail jules fail eli fail bruno fail ivan fail hana fail
gus 24 kim 7 gus 9 jules 15 hana 3 alice 9 kim 13 lina 28 jules 26
gus pass kim fail gus fail jules fail hana fail alice fail kim fail lina pass jules pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018350-p1
Print column 1 with 'pass' if column 2 is 24 or higher, otherwise print 'fail'.
{print $1,($2>=24?"pass":"fail")}
chen 29 alice 26 dina 11 ivan 16 jules 13 eli 7 bruno 10 ivan 8 hana 18
chen pass alice pass dina fail ivan fail jules fail eli fail bruno fail ivan fail hana fail
gus 24 kim 7 gus 9 jules 15 hana 3 alice 9 kim 13 lina 28 jules 26
gus pass kim fail gus fail jules fail hana fail alice fail kim fail lina pass jules pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018350
qwen/qwen3.7-plus
awkweave-0018351
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules juniper 4 dina amber 94 jules indigo 13 lina indigo 47 lina harbor 8 kim fable 28 lina ember 7 bruno grove 82
JULES DINA JULES LINA LINA KIM LINA BRUNO
eli indigo 32 gus birch 76 hana grove 97 lina delta 22 lina birch 75 ivan cobalt 10
ELI GUS HANA LINA LINA IVAN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018351-p1
Transform column 1 to uppercase and output only that column.
{print toupper($1)}
jules juniper 4 dina amber 94 jules indigo 13 lina indigo 47 lina harbor 8 kim fable 28 lina ember 7 bruno grove 82
JULES DINA JULES LINA LINA KIM LINA BRUNO
eli indigo 32 gus birch 76 hana grove 97 lina delta 22 lina birch 75 ivan cobalt 10
ELI GUS HANA LINA LINA IVAN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018351
qwen/qwen3.7-plus
awkweave-0018352
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
birch 45 indigo 18 indigo 0 harbor 39 harbor 72 delta 73 juniper 46 amber 2
ir nd nd ar ar el un mb
juniper 113 grove 22 harbor 97 fable 91 juniper 4 grove 86 delta 70
un ro ar ab un ro el
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018352-p1
Extract and print a 2-character substring from column 1, starting at the second character.
{print substr($1,2,2)}
birch 45 indigo 18 indigo 0 harbor 39 harbor 72 delta 73 juniper 46 amber 2
ir nd nd ar ar el un mb
juniper 113 grove 22 harbor 97 fable 91 juniper 4 grove 86 delta 70
un ro ar ab un ro el
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018352
qwen/qwen3.7-plus
awkweave-0018353
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_grove 57 fable_ember 65 cobalt_birch 62 birch_ember 89 delta_amber 49 birch_grove 80 birch_fable 14 grove_harbor 19
harbor grove fable ember cobalt birch birch ember delta amber birch grove birch fable grove harbor
delta_harbor 6 grove_juniper 88 birch_cobalt 33 ember_cobalt 26 grove_juniper 60 harbor_juniper 90 amber_juniper 12 birch_fable 69 indigo_amber 48
delta harbor grove juniper birch cobalt ember cobalt grove juniper harbor juniper amber juniper birch fable indigo amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018353-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
harbor_grove 57 fable_ember 65 cobalt_birch 62 birch_ember 89 delta_amber 49 birch_grove 80 birch_fable 14 grove_harbor 19
harbor grove fable ember cobalt birch birch ember delta amber birch grove birch fable grove harbor
delta_harbor 6 grove_juniper 88 birch_cobalt 33 ember_cobalt 26 grove_juniper 60 harbor_juniper 90 amber_juniper 12 birch_fable 69 indigo_amber 48
delta harbor grove juniper birch cobalt ember cobalt grove juniper harbor juniper amber juniper birch fable indigo amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018353
qwen/qwen3.7-plus
awkweave-0018354
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)}
kim harbor 55 active jules harbor 22 paused ivan harbor 36 paused gus birch 95 ready ivan juniper 96 pending alice fable 62 paused chen juniper 81 closed bruno cobalt 119 closed ivan harbor 9 pending hana ember 32 failed
active 55 harbor kim paused 22 harbor jules paused 36 harbor ivan ready 95 birch gus pending 96 juniper ivan paused 62 fable alice closed 81 juniper chen closed 119 cobalt bruno pending 9 harbor ivan failed 32 ember hana
jules fable 33 active farah harbor 44 paused lina harbor 61 pending bruno fable 48 paused lina harbor 33 failed eli grove 20 failed kim cobalt 42 failed eli juniper 81 active
active 33 fable jules paused 44 harbor farah pending 61 harbor lina paused 48 fable bruno failed 33 harbor lina failed 20 grove eli failed 42 cobalt kim active 81 juniper eli
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018354-p1
Reverse the field sequence on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim harbor 55 active jules harbor 22 paused ivan harbor 36 paused gus birch 95 ready ivan juniper 96 pending alice fable 62 paused chen juniper 81 closed bruno cobalt 119 closed ivan harbor 9 pending hana ember 32 failed
active 55 harbor kim paused 22 harbor jules paused 36 harbor ivan ready 95 birch gus pending 96 juniper ivan paused 62 fable alice closed 81 juniper chen closed 119 cobalt bruno pending 9 harbor ivan failed 32 ember hana
jules fable 33 active farah harbor 44 paused lina harbor 61 pending bruno fable 48 paused lina harbor 33 failed eli grove 20 failed kim cobalt 42 failed eli juniper 81 active
active 33 fable jules paused 44 harbor farah pending 61 harbor lina paused 48 fable bruno failed 33 harbor lina failed 20 grove eli failed 42 cobalt kim active 81 juniper eli
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018354
qwen/qwen3.7-plus
awkweave-0018355
Print the number of whitespace-separated fields on each line.
{print NF}
jules harbor 84 closed dina grove 67 closed chen amber 61 failed eli ember 81 ready alice fable 76 closed jules cobalt 105 failed bruno grove 65 active farah ember 105 pending alice juniper 18 pending
4 4 4 4 4 4 4 4 4
farah cobalt 55 closed dina amber 19 ready lina delta 2 pending jules harbor 62 ready alice amber 99 active jules fable 9 failed gus juniper 119 paused
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018355-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
jules harbor 84 closed dina grove 67 closed chen amber 61 failed eli ember 81 ready alice fable 76 closed jules cobalt 105 failed bruno grove 65 active farah ember 105 pending alice juniper 18 pending
4 4 4 4 4 4 4 4 4
farah cobalt 55 closed dina amber 19 ready lina delta 2 pending jules harbor 62 ready alice amber 99 active jules fable 9 failed gus juniper 119 paused
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018355
qwen/qwen3.7-plus
awkweave-0018356
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]]}
gus gamma 105 hana delta 33 dina alpha 52 hana gamma 110 dina gamma 23 chen gamma 74
gamma 4 delta 1 alpha 1
hana delta 18 bruno beta 83 farah gamma 35 hana gamma 85 bruno gamma 36 farah gamma 65 hana beta 12
delta 1 beta 2 gamma 4
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018356-p1
Tally records by the value in column 2, then print each unique value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus gamma 105 hana delta 33 dina alpha 52 hana gamma 110 dina gamma 23 chen gamma 74
gamma 4 delta 1 alpha 1
hana delta 18 bruno beta 83 farah gamma 35 hana gamma 85 bruno gamma 36 farah gamma 65 hana beta 12
delta 1 beta 2 gamma 4
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018356
qwen/qwen3.7-plus
awkweave-0018357
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli alpha 3 eli beta 7 kim alpha 23 gus gamma 5 farah alpha 10 ivan alpha 7
alpha 43 beta 7 gamma 5
bruno delta 22 gus beta 18 eli beta 12 ivan gamma 11 alice delta 16 hana beta 3 dina delta 17
delta 55 beta 33 gamma 11
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018357-p1
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli alpha 3 eli beta 7 kim alpha 23 gus gamma 5 farah alpha 10 ivan alpha 7
alpha 43 beta 7 gamma 5
bruno delta 22 gus beta 18 eli beta 12 ivan gamma 11 alice delta 16 hana beta 3 dina delta 17
delta 55 beta 33 gamma 11
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0018357
qwen/qwen3.7-plus
awkweave-0018358
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 juniper 117 delta cobalt 31 gamma grove 0 beta juniper 24 gamma ember 32 delta birch 36 gamma harbor 61
delta 2 gamma 3
gamma juniper 116 beta indigo 117 delta amber 3 beta ember 68 delta delta 114 alpha indigo 95 alpha cobalt 4 alpha ember 44 delta cobalt 73 gamma delta 116
gamma 2 beta 2 delta 3 alpha 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018358-p1
List each duplicate value from column 1 with its frequency, 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 juniper 117 delta cobalt 31 gamma grove 0 beta juniper 24 gamma ember 32 delta birch 36 gamma harbor 61
delta 2 gamma 3
gamma juniper 116 beta indigo 117 delta amber 3 beta ember 68 delta delta 114 alpha indigo 95 alpha cobalt 4 alpha ember 44 delta cobalt 73 gamma delta 116
gamma 2 beta 2 delta 3 alpha 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018358
qwen/qwen3.7-plus
awkweave-0018359
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
region display_name state record_id r001 ivan 28 ready r002 gus 3 closed r003 gus 22 ready r004 jules 19 ready r005 alice 4 ready r006 chen 26 closed
28 3 22 19 4 26
region display_name state record_id r001 dina 6 active r002 lina 5 pending r003 alice 25 closed r004 lina 26 paused r005 farah 6 failed r006 dina 26 closed r007 farah 19 ready r008 eli 22 pending r009 dina 9 active
6 5 25 26 6 26 19 22 9
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018359-p1
Skip the header row and output the state column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
region display_name state record_id r001 ivan 28 ready r002 gus 3 closed r003 gus 22 ready r004 jules 19 ready r005 alice 4 ready r006 chen 26 closed
28 3 22 19 4 26
region display_name state record_id r001 dina 6 active r002 lina 5 pending r003 alice 25 closed r004 lina 26 paused r005 farah 6 failed r006 dina 26 closed r007 farah 19 ready r008 eli 22 pending r009 dina 9 active
6 5 25 26 6 26 19 22 9
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018359
qwen/qwen3.7-plus
awkweave-0018360
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 gus 13 ready r002 jules 12 ready r003 jules 24 paused r004 dina 21 paused r005 eli 22 active r006 bruno 1 failed r007 jules 11 closed r008 dina 13 ready
gus jules dina eli dina
record_id display_name score state r001 alice 11 failed r002 lina 4 failed r003 bruno 21 closed r004 kim 29 pending r005 eli 25 closed r006 bruno 20 paused
bruno kim eli bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018360-p1
Ignoring the header, print the display_name for any data row where the score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 gus 13 ready r002 jules 12 ready r003 jules 24 paused r004 dina 21 paused r005 eli 22 active r006 bruno 1 failed r007 jules 11 closed r008 dina 13 ready
gus jules dina eli dina
record_id display_name score state r001 alice 11 failed r002 lina 4 failed r003 bruno 21 closed r004 kim 29 pending r005 eli 25 closed r006 bruno 20 paused
bruno kim eli bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018360
qwen/qwen3.7-plus
awkweave-0018361
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 13 pending dina 7 pending chen 28 paused bruno 13 active dina 23 pending hana 13 ready
bruno dina chen bruno dina hana
jules 29 failed kim 29 active lina 19 pending chen 23 failed alice 26 failed jules 25 closed
jules kim lina chen alice jules
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018361-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 13 pending dina 7 pending chen 28 paused bruno 13 active dina 23 pending hana 13 ready
bruno dina chen bruno dina hana
jules 29 failed kim 29 active lina 19 pending chen 23 failed alice 26 failed jules 25 closed
jules kim lina chen alice jules
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018361
qwen/qwen3.7-plus
awkweave-0018362
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}
chen,9,closed dina,4,paused bruno,23,closed bruno,5,failed kim,2,pending farah,6,ready
bruno
farah,29,ready dina,19,pending kim,26,closed lina,24,closed jules,21,paused eli,16,paused chen,15,active
farah dina kim lina jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018362-p1
For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 16.
BEGIN{FS=OFS=","}$2>16{print $1}
chen,9,closed dina,4,paused bruno,23,closed bruno,5,failed kim,2,pending farah,6,ready
bruno
farah,29,ready dina,19,pending kim,26,closed lina,24,closed jules,21,paused eli,16,paused chen,15,active
farah dina kim lina jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018362
qwen/qwen3.7-plus
awkweave-0018363
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus grove 62 hana ember 70 chen amber 43 hana indigo 69 alice ember 33 alice delta 107 kim indigo 43 gus indigo 25 bruno grove 115 eli cobalt 75
gus grove 62 hana ember 70 chen amber 43 hana indigo 69 alice ember 33 alice delta 107 kim indigo 43 gus indigo 25 bruno grove 115 eli cobalt 75
farah cobalt 46 eli harbor 59 gus amber 115 bruno delta 22 hana harbor 85 gus harbor 18
farah cobalt 46 eli harbor 59 gus amber 115 bruno delta 22 hana harbor 85 gus harbor 18
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018363-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
gus grove 62 hana ember 70 chen amber 43 hana indigo 69 alice ember 33 alice delta 107 kim indigo 43 gus indigo 25 bruno grove 115 eli cobalt 75
gus grove 62 hana ember 70 chen amber 43 hana indigo 69 alice ember 33 alice delta 107 kim indigo 43 gus indigo 25 bruno grove 115 eli cobalt 75
farah cobalt 46 eli harbor 59 gus amber 115 bruno delta 22 hana harbor 85 gus harbor 18
farah cobalt 46 eli harbor 59 gus amber 115 bruno delta 22 hana harbor 85 gus harbor 18
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018363
qwen/qwen3.7-plus
awkweave-0018364
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah grove 73 ready ivan cobalt 46 pending lina cobalt 86 ready bruno ember 2 closed lina grove 62 pending hana grove 55 pending kim juniper 92 closed
ivan cobalt 46 pending
chen delta 0 paused gus amber 106 pending alice cobalt 27 failed ivan amber 31 paused bruno juniper 56 ready kim delta 49 active eli amber 26 closed
alice cobalt 27 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018364-p1
Identify and print the longest line from the input, selecting the earliest one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
farah grove 73 ready ivan cobalt 46 pending lina cobalt 86 ready bruno ember 2 closed lina grove 62 pending hana grove 55 pending kim juniper 92 closed
ivan cobalt 46 pending
chen delta 0 paused gus amber 106 pending alice cobalt 27 failed ivan amber 31 paused bruno juniper 56 ready kim delta 49 active eli amber 26 closed
alice cobalt 27 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018364
qwen/qwen3.7-plus
awkweave-0018365
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
jules 38 hana 43 alice 118 lina 117 bruno 90 dina 63 bruno 30
lina 117
hana 54 kim 29 dina 61 jules 95 dina 104 bruno 2 ivan 34 dina 3 chen 92
jules 95 dina 3
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018365-p1
Output every 4th line, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
jules 38 hana 43 alice 118 lina 117 bruno 90 dina 63 bruno 30
lina 117
hana 54 kim 29 dina 61 jules 95 dina 104 bruno 2 ivan 34 dina 3 chen 92
jules 95 dina 3
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018365
qwen/qwen3.7-plus
awkweave-0018366
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta harbor 72 delta grove 105 beta fable 97 gamma delta 24 gamma amber 24 gamma ember 17
3
delta juniper 94 beta juniper 66 delta cobalt 82 delta birch 0 gamma birch 35 gamma birch 56 delta delta 60
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018366-p1
Determine the number of unique entries in the first column and output just that total.
{if(!seen[$1]++)n++}END{print n+0}
beta harbor 72 delta grove 105 beta fable 97 gamma delta 24 gamma amber 24 gamma ember 17
3
delta juniper 94 beta juniper 66 delta cobalt 82 delta birch 0 gamma birch 35 gamma birch 56 delta delta 60
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018366
qwen/qwen3.7-plus
awkweave-0018367
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}
kim 21 0 hana 25 23 lina 22 18 farah 20 6 dina 13 30 dina 4 21
hana 1.09 lina 1.22 farah 3.33 dina 0.43 dina 0.19
bruno 19 0 ivan 19 15 lina 28 8 hana 11 30 eli 28 23 ivan 19 3 chen 24 3
ivan 1.27 lina 3.50 hana 0.37 eli 1.22 ivan 6.33 chen 8.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018367-p1
For each record, display the value from column 1 and the result of dividing column 2 by column 3 rounded to two decimal places, omitting any rows where column 3 equals 0.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 21 0 hana 25 23 lina 22 18 farah 20 6 dina 13 30 dina 4 21
hana 1.09 lina 1.22 farah 3.33 dina 0.43 dina 0.19
bruno 19 0 ivan 19 15 lina 28 8 hana 11 30 eli 28 23 ivan 19 3 chen 24 3
ivan 1.27 lina 3.50 hana 0.37 eli 1.22 ivan 6.33 chen 8.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018367
qwen/qwen3.7-plus
awkweave-0018368
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]}
gus amber 12 chen indigo 4 hana indigo 10 bruno ember 21 jules harbor 20 hana juniper 5 farah grove 11 eli cobalt 28 bruno birch 21 jules birch 26
eli cobalt 28 jules birch 26 bruno ember 21
gus delta 7 alice juniper 11 ivan juniper 5 jules cobalt 4 dina indigo 5 chen grove 25 farah fable 18 bruno grove 18 lina ember 1 bruno indigo 10
chen grove 25 farah fable 18 bruno grove 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018368-p1
Output the three full records with the largest numeric values in column 3 in descending order, maintaining the original input sequence 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]}
gus amber 12 chen indigo 4 hana indigo 10 bruno ember 21 jules harbor 20 hana juniper 5 farah grove 11 eli cobalt 28 bruno birch 21 jules birch 26
eli cobalt 28 jules birch 26 bruno ember 21
gus delta 7 alice juniper 11 ivan juniper 5 jules cobalt 4 dina indigo 5 chen grove 25 farah fable 18 bruno grove 18 lina ember 1 bruno indigo 10
chen grove 25 farah fable 18 bruno grove 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018368
qwen/qwen3.7-plus
awkweave-0018369
Print column 4 followed by column 1 for every record.
{print $4, $1}
failed ready harbor closed closed failed juniper ready active pending delta active ready closed ember closed active paused amber closed pending failed harbor pending failed active indigo failed
closed failed ready closed active active closed ready closed active pending pending failed failed
ready pending cobalt failed active pending delta pending active ready indigo failed ready paused amber paused failed paused grove paused ready ready birch active failed ready ember active paused pending delta failed ready pending ember pending
failed ready pending active failed active paused ready paused failed active ready active failed failed paused pending ready
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018369-p1
Display the value from column 4 followed by the value from column 1 for every entry.
{print $4, $1}
failed ready harbor closed closed failed juniper ready active pending delta active ready closed ember closed active paused amber closed pending failed harbor pending failed active indigo failed
closed failed ready closed active active closed ready closed active pending pending failed failed
ready pending cobalt failed active pending delta pending active ready indigo failed ready paused amber paused failed paused grove paused ready ready birch active failed ready ember active paused pending delta failed ready pending ember pending
failed ready pending active failed active paused ready paused failed active ready active failed failed paused pending ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018369
qwen/qwen3.7-plus
awkweave-0018370
Print the last field of every input line.
{print $NF}
fable fable 46 39 amber harbor 99 36 birch amber 53 24 amber birch 48 38 cobalt juniper 60 66 cobalt birch 77 95 indigo ember 59 112
39 36 24 38 66 95 112
grove amber 109 66 amber ember 56 6 grove birch 113 70 fable indigo 52 112 juniper birch 39 66 ember fable 10 55 juniper amber 32 68 indigo harbor 6 109 amber ember 95 92 juniper cobalt 40 49
66 6 70 112 66 55 68 109 92 49
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018370-p1
Output the final field from each line of input.
{print $NF}
fable fable 46 39 amber harbor 99 36 birch amber 53 24 amber birch 48 38 cobalt juniper 60 66 cobalt birch 77 95 indigo ember 59 112
39 36 24 38 66 95 112
grove amber 109 66 amber ember 56 6 grove birch 113 70 fable indigo 52 112 juniper birch 39 66 ember fable 10 55 juniper amber 32 68 indigo harbor 6 109 amber ember 95 92 juniper cobalt 40 49
66 6 70 112 66 55 68 109 92 49
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018370
qwen/qwen3.7-plus
awkweave-0018371
Print the complete records where column 2 is greater than 48.
$2 > 48
indigo 41 pending indigo 1 failed harbor 16 paused indigo 50 closed grove 46 pending cobalt 64 paused cobalt 34 failed amber 80 closed harbor 65 active amber 49 ready
indigo 50 closed cobalt 64 paused amber 80 closed harbor 65 active amber 49 ready
ember 112 closed harbor 15 failed amber 116 failed grove 113 pending ember 105 ready harbor 106 pending birch 50 ready fable 88 ready cobalt 48 ready
ember 112 closed amber 116 failed grove 113 pending ember 105 ready harbor 106 pending birch 50 ready fable 88 ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018371-p1
Print the full records where the value in column 2 exceeds 48.
$2 > 48
indigo 41 pending indigo 1 failed harbor 16 paused indigo 50 closed grove 46 pending cobalt 64 paused cobalt 34 failed amber 80 closed harbor 65 active amber 49 ready
indigo 50 closed cobalt 64 paused amber 80 closed harbor 65 active amber 49 ready
ember 112 closed harbor 15 failed amber 116 failed grove 113 pending ember 105 ready harbor 106 pending birch 50 ready fable 88 ready cobalt 48 ready
ember 112 closed amber 116 failed grove 113 pending ember 105 ready harbor 106 pending birch 50 ready fable 88 ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018371
qwen/qwen3.7-plus
awkweave-0018372
Show whole lines whose 1st field is between 3 and 19, inclusive.
$1 >= 3 && $1 <= 19
8 pending jules gus 25 ready lina gus 29 active dina chen 7 closed kim lina 15 active bruno eli 18 closed kim hana 6 paused eli lina 16 active kim gus 9 paused chen dina 6 active ivan kim
8 pending jules gus 7 closed kim lina 15 active bruno eli 18 closed kim hana 6 paused eli lina 16 active kim gus 9 paused chen dina 6 active ivan kim
28 failed alice jules 10 closed farah hana 28 paused kim dina 19 failed lina ivan 5 paused lina bruno 23 active farah chen 10 failed eli farah 24 active kim alice 21 ready eli lina 5 paused dina gus
10 closed farah hana 19 failed lina ivan 5 paused lina bruno 10 failed eli farah 5 paused dina gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018372-p1
Display entire lines where the first field falls within the range of 3 to 19, inclusive.
$1 >= 3 && $1 <= 19
8 pending jules gus 25 ready lina gus 29 active dina chen 7 closed kim lina 15 active bruno eli 18 closed kim hana 6 paused eli lina 16 active kim gus 9 paused chen dina 6 active ivan kim
8 pending jules gus 7 closed kim lina 15 active bruno eli 18 closed kim hana 6 paused eli lina 16 active kim gus 9 paused chen dina 6 active ivan kim
28 failed alice jules 10 closed farah hana 28 paused kim dina 19 failed lina ivan 5 paused lina bruno 23 active farah chen 10 failed eli farah 24 active kim alice 21 ready eli lina 5 paused dina gus
10 closed farah hana 19 failed lina ivan 5 paused lina bruno 10 failed eli farah 5 paused dina gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018372
qwen/qwen3.7-plus
awkweave-0018373
Print column 4 only for rows where column 1 is exactly closed.
$1 == "closed"{print $4}
failed 76 harbor farah closed 87 amber eli active 86 cobalt alice paused 73 delta kim failed 105 delta bruno active 57 harbor alice ready 116 delta kim paused 99 amber eli
eli
ready 42 birch chen paused 21 fable jules paused 3 harbor bruno failed 104 birch bruno active 6 indigo bruno ready 25 cobalt eli failed 10 grove farah ready 104 birch kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018373-p1
Output only the fourth column for rows where the first column is exactly 'closed'.
$1 == "closed"{print $4}
failed 76 harbor farah closed 87 amber eli active 86 cobalt alice paused 73 delta kim failed 105 delta bruno active 57 harbor alice ready 116 delta kim paused 99 amber eli
eli
ready 42 birch chen paused 21 fable jules paused 3 harbor bruno failed 104 birch bruno active 6 indigo bruno ready 25 cobalt eli failed 10 grove farah ready 104 birch kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018373
qwen/qwen3.7-plus
awkweave-0018374
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
ERROR amber 102 INFO fable 92 INFO grove 52 DEBUG fable 64 ERROR ember 114 WARN harbor 21
WARN harbor 21
INFO ember 44 ERROR juniper 117 ERROR fable 96 WARN delta 108 INFO ember 73 WARN ember 6 WARN grove 99 ERROR delta 40 ERROR amber 28
WARN delta 108 WARN ember 6 WARN grove 99
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018374-p1
Print all fields from lines where the first field starts with 'WARN'.
$1 ~ /^WARN/
ERROR amber 102 INFO fable 92 INFO grove 52 DEBUG fable 64 ERROR ember 114 WARN harbor 21
WARN harbor 21
INFO ember 44 ERROR juniper 117 ERROR fable 96 WARN delta 108 INFO ember 73 WARN ember 6 WARN grove 99 ERROR delta 40 ERROR amber 28
WARN delta 108 WARN ember 6 WARN grove 99
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018374
qwen/qwen3.7-plus
awkweave-0018375
Print every line except those containing the exact text birch.
$0 !~ /birch/
indigo 12 paused ember 39 ready cobalt 109 failed harbor 66 ready delta 108 active delta 42 paused amber 52 pending cobalt 0 active delta 114 closed juniper 62 active birch 999 active
indigo 12 paused ember 39 ready cobalt 109 failed harbor 66 ready delta 108 active delta 42 paused amber 52 pending cobalt 0 active delta 114 closed juniper 62 active
harbor 93 closed fable 77 failed cobalt 6 closed cobalt 0 active harbor 108 ready birch 36 active grove 30 failed indigo 51 closed birch 999 active
harbor 93 closed fable 77 failed cobalt 6 closed cobalt 0 active harbor 108 ready grove 30 failed indigo 51 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018375-p1
Output every line except those that contain the exact string 'birch'.
$0 !~ /birch/
indigo 12 paused ember 39 ready cobalt 109 failed harbor 66 ready delta 108 active delta 42 paused amber 52 pending cobalt 0 active delta 114 closed juniper 62 active birch 999 active
indigo 12 paused ember 39 ready cobalt 109 failed harbor 66 ready delta 108 active delta 42 paused amber 52 pending cobalt 0 active delta 114 closed juniper 62 active
harbor 93 closed fable 77 failed cobalt 6 closed cobalt 0 active harbor 108 ready birch 36 active grove 30 failed indigo 51 closed birch 999 active
harbor 93 closed fable 77 failed cobalt 6 closed cobalt 0 active harbor 108 ready grove 30 failed indigo 51 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018375
qwen/qwen3.7-plus
awkweave-0018376
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
kim ember 105 farah juniper 25 kim cobalt 108 dina amber 55 kim grove 66 alice indigo 63 kim amber 37
farah juniper 25 kim cobalt 108 dina amber 55
farah harbor 73 alice birch 3 gus juniper 102 chen harbor 102 kim indigo 21 hana fable 69 farah juniper 113 alice fable 80
alice birch 3 gus juniper 102 chen harbor 102
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018376-p1
Print lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
kim ember 105 farah juniper 25 kim cobalt 108 dina amber 55 kim grove 66 alice indigo 63 kim amber 37
farah juniper 25 kim cobalt 108 dina amber 55
farah harbor 73 alice birch 3 gus juniper 102 chen harbor 102 kim indigo 21 hana fable 69 farah juniper 113 alice fable 80
alice birch 3 gus juniper 102 chen harbor 102
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018376
qwen/qwen3.7-plus
awkweave-0018377
Output only the first 5 records.
NR <= 5
lina 41 grove chen 107 juniper eli 57 juniper ivan 50 cobalt dina 39 harbor eli 82 birch
lina 41 grove chen 107 juniper eli 57 juniper ivan 50 cobalt dina 39 harbor
alice 83 birch alice 118 grove eli 25 cobalt gus 28 ember lina 69 delta ivan 66 amber
alice 83 birch alice 118 grove eli 25 cobalt gus 28 ember lina 69 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018377-p1
Output only the first 5 records.
NR <= 5
lina 41 grove chen 107 juniper eli 57 juniper ivan 50 cobalt dina 39 harbor eli 82 birch
lina 41 grove chen 107 juniper eli 57 juniper ivan 50 cobalt dina 39 harbor
alice 83 birch alice 118 grove eli 25 cobalt gus 28 ember lina 69 delta ivan 66 amber
alice 83 birch alice 118 grove eli 25 cobalt gus 28 ember lina 69 delta
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0018377
qwen/qwen3.7-plus
awkweave-0018378
Skip the first line and print every remaining line unchanged.
NR > 1
jules 113 juniper eli 82 harbor bruno 3 harbor dina 44 ember hana 43 grove hana 54 indigo gus 113 fable farah 112 juniper
eli 82 harbor bruno 3 harbor dina 44 ember hana 43 grove hana 54 indigo gus 113 fable farah 112 juniper
farah 45 indigo bruno 112 amber chen 87 fable hana 74 amber ivan 105 fable farah 72 harbor bruno 62 ember gus 114 cobalt
bruno 112 amber chen 87 fable hana 74 amber ivan 105 fable farah 72 harbor bruno 62 ember gus 114 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018378-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
jules 113 juniper eli 82 harbor bruno 3 harbor dina 44 ember hana 43 grove hana 54 indigo gus 113 fable farah 112 juniper
eli 82 harbor bruno 3 harbor dina 44 ember hana 43 grove hana 54 indigo gus 113 fable farah 112 juniper
farah 45 indigo bruno 112 amber chen 87 fable hana 74 amber ivan 105 fable farah 72 harbor bruno 62 ember gus 114 cobalt
bruno 112 amber chen 87 fable hana 74 amber ivan 105 fable farah 72 harbor bruno 62 ember gus 114 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018378
qwen/qwen3.7-plus
awkweave-0018379
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
gus ready 16 alice failed 9 chen paused 105 alice ready 38 kim active 39 kim closed 43 eli active 103
0
dina failed 117 hana paused 95 jules closed 85 ivan closed 87 lina active 63 chen pending 76 kim paused 50
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018379-p1
Tally the records where the second column contains 'pending', outputting 0 if no matches are found.
$2 == "pending"{n++}END{print n+0}
gus ready 16 alice failed 9 chen paused 105 alice ready 38 kim active 39 kim closed 43 eli active 103
0
dina failed 117 hana paused 95 jules closed 85 ivan closed 87 lina active 63 chen pending 76 kim paused 50
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018379
qwen/qwen3.7-plus
awkweave-0018380
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
bruno juniper 24 jules cobalt 18 eli juniper 3 ivan fable 17 kim amber 5 lina ember 7
74
alice birch 17 gus cobalt 24 farah birch 28 bruno juniper 10 gus ember 1 kim harbor 3 dina juniper 4
87
sum_field
1
train
original-grammar
CC-BY-4.0
null
null