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-0000940
Print column 2 only for rows where column 4 is exactly pending.
$4 == "pending"{print $2}
fable chen 79 pending grove jules 61 failed birch gus 5 active delta lina 81 ready birch alice 20 paused delta dina 104 active
chen
grove kim 120 paused ember bruno 101 active harbor ivan 116 closed indigo dina 104 failed delta bruno 2 active harbor dina 107 paused ember hana 42 paused fable bruno 17 paused
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000940-p1
Output only the value from column 2 for rows where column 4 contains exactly the string 'pending'.
$4 == "pending"{print $2}
fable chen 79 pending grove jules 61 failed birch gus 5 active delta lina 81 ready birch alice 20 paused delta dina 104 active
chen
grove kim 120 paused ember bruno 101 active harbor ivan 116 closed indigo dina 104 failed delta bruno 2 active harbor dina 107 paused ember hana 42 paused fable bruno 17 paused
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000940
qwen/qwen3.7-plus
awkweave-0000941
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
105 DEBUG grove 27 WARN delta 55 DEBUG fable 85 WARN ember 78 WARN harbor 72 ERROR ember 26 ERROR indigo 62 ERROR harbor
27 WARN delta 85 WARN ember 78 WARN harbor
87 INFO cobalt 19 ERROR cobalt 51 INFO harbor 115 INFO delta 58 ERROR juniper 47 INFO fable
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000941-p1
Print all fields from any line where the second field starts with the prefix 'WARN'.
$2 ~ /^WARN/
105 DEBUG grove 27 WARN delta 55 DEBUG fable 85 WARN ember 78 WARN harbor 72 ERROR ember 26 ERROR indigo 62 ERROR harbor
27 WARN delta 85 WARN ember 78 WARN harbor
87 INFO cobalt 19 ERROR cobalt 51 INFO harbor 115 INFO delta 58 ERROR juniper 47 INFO fable
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000941
qwen/qwen3.7-plus
awkweave-0000942
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
ember 107 closed birch 35 failed cobalt 75 active fable 53 failed juniper 79 ready fable 38 ready juniper 114 active indigo 52 paused cobalt 2 ready amber 53 pending harbor 999 active
ember 107 closed birch 35 failed cobalt 75 active fable 53 failed juniper 79 ready fable 38 ready juniper 114 active indigo 52 paused cobalt 2 ready amber 53 pending
delta 36 failed indigo 62 active ember 92 ready ember 17 failed fable 0 ready ember 63 paused amber 80 paused delta 90 ready harbor 999 active
delta 36 failed indigo 62 active ember 92 ready ember 17 failed fable 0 ready ember 63 paused amber 80 paused delta 90 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000942-p1
Display all lines that do not contain the exact string harbor.
$0 !~ /harbor/
ember 107 closed birch 35 failed cobalt 75 active fable 53 failed juniper 79 ready fable 38 ready juniper 114 active indigo 52 paused cobalt 2 ready amber 53 pending harbor 999 active
ember 107 closed birch 35 failed cobalt 75 active fable 53 failed juniper 79 ready fable 38 ready juniper 114 active indigo 52 paused cobalt 2 ready amber 53 pending
delta 36 failed indigo 62 active ember 92 ready ember 17 failed fable 0 ready ember 63 paused amber 80 paused delta 90 ready harbor 999 active
delta 36 failed indigo 62 active ember 92 ready ember 17 failed fable 0 ready ember 63 paused amber 80 paused delta 90 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000942
qwen/qwen3.7-plus
awkweave-0000943
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
hana cobalt 0 farah cobalt 30 eli cobalt 28 gus delta 19 lina fable 89 gus birch 100
farah cobalt 30 eli cobalt 28 gus delta 19
eli birch 108 ivan amber 117 eli fable 93 ivan fable 80 lina harbor 63 ivan cobalt 24 ivan delta 97
ivan amber 117 eli fable 93 ivan fable 80
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000943-p1
Output lines 2 to 4, inclusive of both ends.
NR >= 2 && NR <= 4
hana cobalt 0 farah cobalt 30 eli cobalt 28 gus delta 19 lina fable 89 gus birch 100
farah cobalt 30 eli cobalt 28 gus delta 19
eli birch 108 ivan amber 117 eli fable 93 ivan fable 80 lina harbor 63 ivan cobalt 24 ivan delta 97
ivan amber 117 eli fable 93 ivan fable 80
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000943
qwen/qwen3.7-plus
awkweave-0000944
Output only the first 2 records.
NR <= 2
kim 11 amber kim 110 indigo hana 70 delta jules 108 ember farah 10 fable chen 2 grove bruno 112 amber hana 44 amber jules 39 amber kim 34 grove
kim 11 amber kim 110 indigo
hana 5 grove gus 10 indigo eli 57 indigo gus 58 juniper chen 60 delta dina 50 fable
hana 5 grove gus 10 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000944-p1
Show only the initial 2 records.
NR <= 2
kim 11 amber kim 110 indigo hana 70 delta jules 108 ember farah 10 fable chen 2 grove bruno 112 amber hana 44 amber jules 39 amber kim 34 grove
kim 11 amber kim 110 indigo
hana 5 grove gus 10 indigo eli 57 indigo gus 58 juniper chen 60 delta dina 50 fable
hana 5 grove gus 10 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000944
qwen/qwen3.7-plus
awkweave-0000945
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 90 delta alice 19 ember chen 66 delta dina 52 cobalt kim 58 birch dina 99 juniper dina 101 delta gus 107 indigo ivan 14 harbor gus 106 delta
alice 19 ember chen 66 delta dina 52 cobalt kim 58 birch dina 99 juniper dina 101 delta gus 107 indigo ivan 14 harbor gus 106 delta
ivan 42 amber gus 89 cobalt alice 68 indigo jules 71 indigo jules 0 juniper dina 118 amber dina 12 ember ivan 74 delta dina 77 birch
gus 89 cobalt alice 68 indigo jules 71 indigo jules 0 juniper dina 118 amber dina 12 ember ivan 74 delta dina 77 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000945-p1
Omit the first line and print the rest as-is.
NR > 1
bruno 90 delta alice 19 ember chen 66 delta dina 52 cobalt kim 58 birch dina 99 juniper dina 101 delta gus 107 indigo ivan 14 harbor gus 106 delta
alice 19 ember chen 66 delta dina 52 cobalt kim 58 birch dina 99 juniper dina 101 delta gus 107 indigo ivan 14 harbor gus 106 delta
ivan 42 amber gus 89 cobalt alice 68 indigo jules 71 indigo jules 0 juniper dina 118 amber dina 12 ember ivan 74 delta dina 77 birch
gus 89 cobalt alice 68 indigo jules 71 indigo jules 0 juniper dina 118 amber dina 12 ember ivan 74 delta dina 77 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000945
qwen/qwen3.7-plus
awkweave-0000946
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
bruno failed 14 kim closed 0 hana paused 68 gus active 29 jules failed 38 ivan closed 48 ivan failed 93 lina closed 21 jules failed 37
0
farah failed 67 chen ready 3 jules active 5 alice pending 0 bruno pending 103 jules active 119 ivan failed 113 dina closed 4 lina failed 67
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000946-p1
Count records where column 2 is ready; output 0 if none match.
$2 == "ready"{n++}END{print n+0}
bruno failed 14 kim closed 0 hana paused 68 gus active 29 jules failed 38 ivan closed 48 ivan failed 93 lina closed 21 jules failed 37
0
farah failed 67 chen ready 3 jules active 5 alice pending 0 bruno pending 103 jules active 119 ivan failed 113 dina closed 4 lina failed 67
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000946
qwen/qwen3.7-plus
awkweave-0000947
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
6 ivan indigo 8 alice delta 21 farah fable 28 jules cobalt 13 gus birch 25 kim delta 30 lina indigo 16 gus ember
147
20 bruno birch 26 lina cobalt 8 gus delta 30 farah amber 14 alice grove 9 gus birch 21 eli fable 26 hana amber 19 kim cobalt 27 dina amber
200
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000947-p1
Compute and display the sum of integer values in column 1.
{s+=$1}END{print s+0}
6 ivan indigo 8 alice delta 21 farah fable 28 jules cobalt 13 gus birch 25 kim delta 30 lina indigo 16 gus ember
147
20 bruno birch 26 lina cobalt 8 gus delta 30 farah amber 14 alice grove 9 gus birch 21 eli fable 26 hana amber 19 kim cobalt 27 dina amber
200
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000947
qwen/qwen3.7-plus
awkweave-0000948
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
eli 17 fable lina 5 birch alice 4 indigo ivan 3 delta farah 4 amber hana 3 birch jules 25 birch dina 4 grove
8.12
hana 6 fable dina 5 amber farah 12 ember kim 18 fable eli 3 ember ivan 27 fable
11.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000948-p1
Print the average of column 2, rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
eli 17 fable lina 5 birch alice 4 indigo ivan 3 delta farah 4 amber hana 3 birch jules 25 birch dina 4 grove
8.12
hana 6 fable dina 5 amber farah 12 ember kim 18 fable eli 3 ember ivan 27 fable
11.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000948
qwen/qwen3.7-plus
awkweave-0000949
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 alice ember 3 farah amber 25 jules fable 12 dina cobalt 17 bruno birch 3 bruno cobalt 1 bruno ember 17 ivan harbor 23 kim cobalt
1
21 gus fable 28 dina harbor 24 dina fable 1 jules birch 21 chen grove 14 gus ember 29 chen fable 10 jules grove
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000949-p1
Identify and output the minimum numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 alice ember 3 farah amber 25 jules fable 12 dina cobalt 17 bruno birch 3 bruno cobalt 1 bruno ember 17 ivan harbor 23 kim cobalt
1
21 gus fable 28 dina harbor 24 dina fable 1 jules birch 21 chen grove 14 gus ember 29 chen fable 10 jules grove
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000949
qwen/qwen3.7-plus
awkweave-0000950
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
7 juniper farah 17 amber ivan 10 delta farah 16 delta ivan 24 grove farah 2 cobalt jules 11 ember hana 20 juniper farah 10 birch eli 6 harbor gus
24
26 amber eli 20 indigo gus 4 cobalt alice 22 fable kim 24 fable jules 21 grove farah 17 harbor alice 23 grove hana 20 birch hana 12 indigo farah
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000950-p1
Identify and output the maximum numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
7 juniper farah 17 amber ivan 10 delta farah 16 delta ivan 24 grove farah 2 cobalt jules 11 ember hana 20 juniper farah 10 birch eli 6 harbor gus
24
26 amber eli 20 indigo gus 4 cobalt alice 22 fable kim 24 fable jules 21 grove farah 17 harbor alice 23 grove hana 20 birch hana 12 indigo farah
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000950
qwen/qwen3.7-plus
awkweave-0000951
Count all input records and print the total.
END{print NR}
lina 64 ivan 13 chen 16 jules 96 dina 119 bruno 52
6
jules 63 jules 18 kim 56 hana 64 gus 66 alice 72 jules 60 ivan 20 bruno 23
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000951-p1
Count the total number of input records and print the result.
END{print NR}
lina 64 ivan 13 chen 16 jules 96 dina 119 bruno 52
6
jules 63 jules 18 kim 56 hana 64 gus 66 alice 72 jules 60 ivan 20 bruno 23
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000951
qwen/qwen3.7-plus
awkweave-0000952
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus delta 62 bruno grove 45 jules fable 0 dina harbor 36 bruno harbor 28 bruno grove 45 alice cobalt 90
gus delta 62 bruno grove 45 jules fable 0 dina harbor 36 bruno harbor 28 alice cobalt 90
gus harbor 66 hana cobalt 105 chen ember 71 chen ember 71 farah fable 12 ivan indigo 116 ivan indigo 63 gus juniper 66 eli indigo 108
gus harbor 66 hana cobalt 105 chen ember 71 farah fable 12 ivan indigo 116 ivan indigo 63 gus juniper 66 eli indigo 108
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000952-p1
Eliminate exact duplicate lines while keeping the first instance and original sequence.
!seen[$0]++
gus delta 62 bruno grove 45 jules fable 0 dina harbor 36 bruno harbor 28 bruno grove 45 alice cobalt 90
gus delta 62 bruno grove 45 jules fable 0 dina harbor 36 bruno harbor 28 alice cobalt 90
gus harbor 66 hana cobalt 105 chen ember 71 chen ember 71 farah fable 12 ivan indigo 116 ivan indigo 63 gus juniper 66 eli indigo 108
gus harbor 66 hana cobalt 105 chen ember 71 farah fable 12 ivan indigo 116 ivan indigo 63 gus juniper 66 eli indigo 108
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000952
qwen/qwen3.7-plus
awkweave-0000953
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
bruno fable 40 ivan juniper 12 jules juniper 113 alice grove 94 farah birch 108 dina indigo 105 kim juniper 56 farah birch 108 hana ember 113
bruno fable 40 ivan juniper 12 jules juniper 113 alice grove 94 farah birch 108 dina indigo 105 kim juniper 56 hana ember 113
eli birch 112 lina cobalt 103 lina grove 65 gus fable 80 jules ember 73 dina cobalt 23 gus birch 44 farah cobalt 51
eli birch 112 lina cobalt 103 gus fable 80 jules ember 73 dina cobalt 23 farah cobalt 51
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000953-p1
Retain only the first line for each unique value in column 1, maintaining input order.
!seen[$1]++
bruno fable 40 ivan juniper 12 jules juniper 113 alice grove 94 farah birch 108 dina indigo 105 kim juniper 56 farah birch 108 hana ember 113
bruno fable 40 ivan juniper 12 jules juniper 113 alice grove 94 farah birch 108 dina indigo 105 kim juniper 56 hana ember 113
eli birch 112 lina cobalt 103 lina grove 65 gus fable 80 jules ember 73 dina cobalt 23 gus birch 44 farah cobalt 51
eli birch 112 lina cobalt 103 gus fable 80 jules ember 73 dina cobalt 23 farah cobalt 51
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000953
qwen/qwen3.7-plus
awkweave-0000954
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 5 delta eli 12 ember alice 2 grove alice 2 indigo kim 25 indigo gus 20 juniper
dina 5 eli 17 alice 19 alice 21 kim 46 gus 66
lina 23 cobalt farah 9 amber ivan 7 ember jules 5 amber farah 14 harbor farah 27 cobalt ivan 24 amber lina 18 amber
lina 23 farah 32 ivan 39 jules 44 farah 58 farah 85 ivan 109 lina 127
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000954-p1
Output the first column and the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
dina 5 delta eli 12 ember alice 2 grove alice 2 indigo kim 25 indigo gus 20 juniper
dina 5 eli 17 alice 19 alice 21 kim 46 gus 66
lina 23 cobalt farah 9 amber ivan 7 ember jules 5 amber farah 14 harbor farah 27 cobalt ivan 24 amber lina 18 amber
lina 23 farah 32 ivan 39 jules 44 farah 58 farah 85 ivan 109 lina 127
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000954
qwen/qwen3.7-plus
awkweave-0000955
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 2 19 harbor eli 5 3 grove dina 18 29 indigo bruno 16 1 grove eli 28 2 juniper alice 9 9 delta chen 1 6 harbor
hana 21 eli 8 dina 47 bruno 17 eli 30 alice 18 chen 7
chen 19 4 cobalt alice 8 23 indigo hana 6 27 fable alice 3 2 grove farah 18 1 fable eli 15 26 harbor
chen 23 alice 31 hana 33 alice 5 farah 19 eli 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000955-p1
For every line, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
hana 2 19 harbor eli 5 3 grove dina 18 29 indigo bruno 16 1 grove eli 28 2 juniper alice 9 9 delta chen 1 6 harbor
hana 21 eli 8 dina 47 bruno 17 eli 30 alice 18 chen 7
chen 19 4 cobalt alice 8 23 indigo hana 6 27 fable alice 3 2 grove farah 18 1 fable eli 15 26 harbor
chen 23 alice 31 hana 33 alice 5 farah 19 eli 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000955
qwen/qwen3.7-plus
awkweave-0000956
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
hana 9 eli 13 jules 6 alice 21 farah 8 dina 30 alice 12 chen 1
hana fail eli fail jules fail alice fail farah fail dina pass alice fail chen fail
hana 24 hana 5 hana 4 chen 20 farah 22 hana 24
hana fail hana fail hana fail chen fail farah fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000956-p1
Show the first column; if the second column is 25 or greater, output 'pass', otherwise output 'fail'.
{print $1,($2>=25?"pass":"fail")}
hana 9 eli 13 jules 6 alice 21 farah 8 dina 30 alice 12 chen 1
hana fail eli fail jules fail alice fail farah fail dina pass alice fail chen fail
hana 24 hana 5 hana 4 chen 20 farah 22 hana 24
hana fail hana fail hana fail chen fail farah fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000956
qwen/qwen3.7-plus
awkweave-0000957
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
chen birch 100 eli harbor 32 eli delta 94 dina fable 68 kim grove 104 chen amber 100 eli grove 99 chen ember 17 hana grove 49 chen cobalt 75
BIRCH HARBOR DELTA FABLE GROVE AMBER GROVE EMBER GROVE COBALT
farah amber 34 kim harbor 84 alice ember 35 hana cobalt 65 bruno cobalt 93 bruno cobalt 55 dina amber 67 ivan indigo 112
AMBER HARBOR EMBER COBALT COBALT COBALT AMBER INDIGO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000957-p1
Transform the second column to uppercase letters and print only that modified column.
{print toupper($2)}
chen birch 100 eli harbor 32 eli delta 94 dina fable 68 kim grove 104 chen amber 100 eli grove 99 chen ember 17 hana grove 49 chen cobalt 75
BIRCH HARBOR DELTA FABLE GROVE AMBER GROVE EMBER GROVE COBALT
farah amber 34 kim harbor 84 alice ember 35 hana cobalt 65 bruno cobalt 93 bruno cobalt 55 dina amber 67 ivan indigo 112
AMBER HARBOR EMBER COBALT COBALT COBALT AMBER INDIGO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000957
qwen/qwen3.7-plus
awkweave-0000958
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
harbor 113 birch 35 indigo 65 delta 79 amber 25 amber 96 ember 35
ha bi in de am am em
harbor 113 delta 26 ember 107 juniper 82 ember 113 juniper 117
ha de em ju em ju
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000958-p1
Extract and print the first two characters from the first column.
{print substr($1,1,2)}
harbor 113 birch 35 indigo 65 delta 79 amber 25 amber 96 ember 35
ha bi in de am am em
harbor 113 delta 26 ember 107 juniper 82 ember 113 juniper 117
ha de em ju em ju
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000958
qwen/qwen3.7-plus
awkweave-0000959
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_birch 55 harbor_grove 107 grove_indigo 46 ember_cobalt 66 birch_birch 118 grove_cobalt 107
harbor birch harbor grove grove indigo ember cobalt birch birch grove cobalt
amber_ember 114 delta_fable 7 amber_delta 107 grove_amber 77 birch_fable 69 harbor_ember 26 grove_grove 118 grove_birch 18 harbor_amber 72
amber ember delta fable amber delta grove amber birch fable harbor ember grove grove grove birch harbor amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000959-p1
Substitute all underscores in the first column with spaces and output the result.
{gsub(/_/," ",$1);print $1}
harbor_birch 55 harbor_grove 107 grove_indigo 46 ember_cobalt 66 birch_birch 118 grove_cobalt 107
harbor birch harbor grove grove indigo ember cobalt birch birch grove cobalt
amber_ember 114 delta_fable 7 amber_delta 107 grove_amber 77 birch_fable 69 harbor_ember 26 grove_grove 118 grove_birch 18 harbor_amber 72
amber ember delta fable amber delta grove amber birch fable harbor ember grove grove grove birch harbor amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000959
qwen/qwen3.7-plus
awkweave-0000960
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)}
hana amber 81 active chen juniper 1 closed alice indigo 75 ready lina juniper 114 paused gus indigo 58 paused chen cobalt 71 ready farah amber 4 paused
active 81 amber hana closed 1 juniper chen ready 75 indigo alice paused 114 juniper lina paused 58 indigo gus ready 71 cobalt chen paused 4 amber farah
ivan indigo 3 ready kim amber 111 active chen ember 32 active alice cobalt 46 paused hana indigo 15 closed chen delta 41 ready hana fable 102 pending
ready 3 indigo ivan active 111 amber kim active 32 ember chen paused 46 cobalt alice closed 15 indigo hana ready 41 delta chen pending 102 fable hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000960-p1
Reverse the sequence of fields on each line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana amber 81 active chen juniper 1 closed alice indigo 75 ready lina juniper 114 paused gus indigo 58 paused chen cobalt 71 ready farah amber 4 paused
active 81 amber hana closed 1 juniper chen ready 75 indigo alice paused 114 juniper lina paused 58 indigo gus ready 71 cobalt chen paused 4 amber farah
ivan indigo 3 ready kim amber 111 active chen ember 32 active alice cobalt 46 paused hana indigo 15 closed chen delta 41 ready hana fable 102 pending
ready 3 indigo ivan active 111 amber kim active 32 ember chen paused 46 cobalt alice closed 15 indigo hana ready 41 delta chen pending 102 fable hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000960
qwen/qwen3.7-plus
awkweave-0000961
Print the number of whitespace-separated fields on each line.
{print NF}
gus cobalt 54 active chen grove 116 paused ivan cobalt 33 active chen ember 88 failed kim birch 53 paused kim cobalt 16 paused eli indigo 40 pending farah indigo 73 closed
4 4 4 4 4 4 4 4
jules juniper 32 closed jules juniper 116 closed alice cobalt 93 ready alice harbor 54 failed eli birch 72 active hana delta 62 pending
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000961-p1
Display the count of whitespace-delimited fields found on each line.
{print NF}
gus cobalt 54 active chen grove 116 paused ivan cobalt 33 active chen ember 88 failed kim birch 53 paused kim cobalt 16 paused eli indigo 40 pending farah indigo 73 closed
4 4 4 4 4 4 4 4
jules juniper 32 closed jules juniper 116 closed alice cobalt 93 ready alice harbor 54 failed eli birch 72 active hana delta 62 pending
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000961
qwen/qwen3.7-plus
awkweave-0000962
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]]}
jules alpha 47 ivan delta 89 ivan beta 85 kim beta 106 farah gamma 116 gus beta 119
alpha 1 delta 1 beta 3 gamma 1
hana gamma 39 jules beta 8 ivan alpha 14 alice alpha 109 kim beta 105 ivan delta 66 chen delta 38 eli gamma 113
gamma 2 beta 2 alpha 2 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000962-p1
Tally the number of records for each unique value in the second column, then print each value alongside its count in the order they first appeared.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
jules alpha 47 ivan delta 89 ivan beta 85 kim beta 106 farah gamma 116 gus beta 119
alpha 1 delta 1 beta 3 gamma 1
hana gamma 39 jules beta 8 ivan alpha 14 alice alpha 109 kim beta 105 ivan delta 66 chen delta 38 eli gamma 113
gamma 2 beta 2 alpha 2 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000962
qwen/qwen3.7-plus
awkweave-0000963
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]]}
farah alpha 3 kim alpha 19 dina beta 25 alice delta 17 dina gamma 11 kim beta 21 bruno gamma 23 lina gamma 1
alpha 22 beta 46 delta 17 gamma 35
lina alpha 3 kim alpha 21 bruno delta 26 gus alpha 23 bruno beta 26 hana beta 27 chen alpha 9 bruno delta 22 lina beta 27
alpha 56 delta 48 beta 80
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000963-p1
Calculate the sum of the third column grouped by the second column's categories, printing the results in the order the groups first appeared.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
farah alpha 3 kim alpha 19 dina beta 25 alice delta 17 dina gamma 11 kim beta 21 bruno gamma 23 lina gamma 1
alpha 22 beta 46 delta 17 gamma 35
lina alpha 3 kim alpha 21 bruno delta 26 gus alpha 23 bruno beta 26 hana beta 27 chen alpha 9 bruno delta 22 lina beta 27
alpha 56 delta 48 beta 80
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000963
qwen/qwen3.7-plus
awkweave-0000964
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 indigo 50 gamma indigo 34 beta indigo 42 delta harbor 95 delta harbor 85 alpha fable 12 gamma ember 54
alpha 2 gamma 2 delta 2
beta birch 6 beta grove 32 beta amber 37 alpha cobalt 57 beta fable 96 beta fable 48 gamma ember 84 delta delta 41
beta 5
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000964-p1
List each value from the first column that appears more than once, along with its occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha indigo 50 gamma indigo 34 beta indigo 42 delta harbor 95 delta harbor 85 alpha fable 12 gamma ember 54
alpha 2 gamma 2 delta 2
beta birch 6 beta grove 32 beta amber 37 alpha cobalt 57 beta fable 96 beta fable 48 gamma ember 84 delta delta 41
beta 5
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000964
qwen/qwen3.7-plus
awkweave-0000965
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region state score display_name r001 chen 17 ready r002 alice 15 failed r003 kim 21 paused r004 alice 4 active r005 dina 5 paused r006 hana 26 active r007 hana 3 active r008 jules 26 active r009 ivan 9 ready
17 15 21 4 5 26 3 26 9
region state score display_name r001 gus 4 paused r002 bruno 7 pending r003 jules 21 active r004 bruno 18 paused r005 eli 9 pending r006 chen 3 active r007 kim 12 pending
4 7 21 18 9 3 12
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000965-p1
Skip the header row and print the values from the score column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region state score display_name r001 chen 17 ready r002 alice 15 failed r003 kim 21 paused r004 alice 4 active r005 dina 5 paused r006 hana 26 active r007 hana 3 active r008 jules 26 active r009 ivan 9 ready
17 15 21 4 5 26 3 26 9
region state score display_name r001 gus 4 paused r002 bruno 7 pending r003 jules 21 active r004 bruno 18 paused r005 eli 9 pending r006 chen 3 active r007 kim 12 pending
4 7 21 18 9 3 12
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000965
qwen/qwen3.7-plus
awkweave-0000966
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 ivan 8 pending r002 alice 23 ready r003 lina 18 active r004 lina 8 pending r005 gus 16 failed r006 ivan 19 failed
alice lina gus ivan
record_id display_name score state r001 alice 25 active r002 eli 29 failed r003 lina 22 closed r004 lina 8 active r005 gus 15 ready r006 ivan 7 failed r007 dina 20 active r008 gus 4 paused r009 chen 9 failed r010 lina 10 failed
alice eli lina gus dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000966-p1
Skip the header row, then output the display_name field for all records where the score exceeds 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 ivan 8 pending r002 alice 23 ready r003 lina 18 active r004 lina 8 pending r005 gus 16 failed r006 ivan 19 failed
alice lina gus ivan
record_id display_name score state r001 alice 25 active r002 eli 29 failed r003 lina 22 closed r004 lina 8 active r005 gus 15 ready r006 ivan 7 failed r007 dina 20 active r008 gus 4 paused r009 chen 9 failed r010 lina 10 failed
alice eli lina gus dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000966
qwen/qwen3.7-plus
awkweave-0000967
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 3 closed chen 23 ready kim 7 closed bruno 3 pending chen 19 pending dina 19 pending gus 1 ready dina 25 pending
3 23 7 3 19 19 1 25
jules 15 ready jules 22 failed lina 1 failed gus 4 ready eli 23 paused lina 1 paused ivan 13 active dina 20 closed
15 22 1 4 23 1 13 20
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000967-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 3 closed chen 23 ready kim 7 closed bruno 3 pending chen 19 pending dina 19 pending gus 1 ready dina 25 pending
3 23 7 3 19 19 1 25
jules 15 ready jules 22 failed lina 1 failed gus 4 ready eli 23 paused lina 1 paused ivan 13 active dina 20 closed
15 22 1 4 23 1 13 20
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0000967
qwen/qwen3.7-plus
awkweave-0000968
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
alice,16,paused kim,26,failed dina,28,ready lina,4,active hana,17,active farah,26,failed kim,27,failed
alice kim dina hana farah kim
hana,10,paused dina,13,pending farah,9,pending chen,13,failed chen,12,ready jules,27,paused
jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000968-p1
For comma-separated data without quoted commas, print the first column if the value in the second column is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
alice,16,paused kim,26,failed dina,28,ready lina,4,active hana,17,active farah,26,failed kim,27,failed
alice kim dina hana farah kim
hana,10,paused dina,13,pending farah,9,pending chen,13,failed chen,12,ready jules,27,paused
jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000968
qwen/qwen3.7-plus
awkweave-0000969
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
dina amber 115 kim indigo 72 ivan harbor 6 lina grove 26 alice harbor 51 jules indigo 68 dina birch 44
dina amber 115 kim indigo 72 ivan harbor 6 lina grove 26 alice harbor 51 jules indigo 68 dina birch 44
eli delta 97 chen amber 91 ivan amber 110 chen indigo 9 jules ember 60 chen fable 18 ivan cobalt 33 chen harbor 49
eli delta 97 chen amber 91 ivan amber 110 chen indigo 9 jules ember 60 chen fable 18 ivan cobalt 33 chen harbor 49
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000969-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
dina amber 115 kim indigo 72 ivan harbor 6 lina grove 26 alice harbor 51 jules indigo 68 dina birch 44
dina amber 115 kim indigo 72 ivan harbor 6 lina grove 26 alice harbor 51 jules indigo 68 dina birch 44
eli delta 97 chen amber 91 ivan amber 110 chen indigo 9 jules ember 60 chen fable 18 ivan cobalt 33 chen harbor 49
eli delta 97 chen amber 91 ivan amber 110 chen indigo 9 jules ember 60 chen fable 18 ivan cobalt 33 chen harbor 49
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000969
qwen/qwen3.7-plus
awkweave-0000970
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan birch 66 pending eli cobalt 24 active eli birch 31 paused alice grove 71 failed dina indigo 78 pending alice amber 7 pending chen cobalt 103 pending jules birch 109 paused bruno cobalt 41 active farah fable 47 failed
chen cobalt 103 pending
bruno harbor 12 ready kim grove 23 failed lina grove 85 active lina delta 18 pending alice indigo 44 pending chen birch 64 failed jules harbor 74 failed
alice indigo 44 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000970-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
ivan birch 66 pending eli cobalt 24 active eli birch 31 paused alice grove 71 failed dina indigo 78 pending alice amber 7 pending chen cobalt 103 pending jules birch 109 paused bruno cobalt 41 active farah fable 47 failed
chen cobalt 103 pending
bruno harbor 12 ready kim grove 23 failed lina grove 85 active lina delta 18 pending alice indigo 44 pending chen birch 64 failed jules harbor 74 failed
alice indigo 44 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000970
qwen/qwen3.7-plus
awkweave-0000971
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
chen 52 jules 63 chen 94 alice 30 eli 33 alice 50
chen 52 alice 30
chen 9 chen 118 chen 36 eli 3 dina 28 jules 43 gus 106 jules 81 gus 14 alice 25
chen 9 eli 3 gus 106 alice 25
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000971-p1
Output lines 1, 4, 7, and so on, effectively printing every third line starting from the first.
NR%3==1
chen 52 jules 63 chen 94 alice 30 eli 33 alice 50
chen 52 alice 30
chen 9 chen 118 chen 36 eli 3 dina 28 jules 43 gus 106 jules 81 gus 14 alice 25
chen 9 eli 3 gus 106 alice 25
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000971
qwen/qwen3.7-plus
awkweave-0000972
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta ember 108 delta cobalt 108 delta grove 50 gamma ember 101 beta ember 4 alpha ember 85 gamma harbor 82
4
delta fable 8 gamma ember 1 gamma grove 65 alpha grove 79 gamma cobalt 46 delta harbor 61 beta harbor 69
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000972-p1
Calculate the number of unique values in the first column and output only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta ember 108 delta cobalt 108 delta grove 50 gamma ember 101 beta ember 4 alpha ember 85 gamma harbor 82
4
delta fable 8 gamma ember 1 gamma grove 65 alpha grove 79 gamma cobalt 46 delta harbor 61 beta harbor 69
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000972
qwen/qwen3.7-plus
awkweave-0000973
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}
gus 7 0 bruno 17 18 kim 7 8 bruno 7 18 lina 2 24 lina 25 6 bruno 30 22
bruno 0.94 kim 0.88 bruno 0.39 lina 0.08 lina 4.17 bruno 1.36
lina 27 0 eli 1 6 lina 26 18 jules 18 14 gus 2 23 alice 13 19 lina 23 4
eli 0.17 lina 1.44 jules 1.29 gus 0.09 alice 0.68 lina 5.75
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000973-p1
For each row, output the first column and the result of dividing the second column by the third (formatted to two decimal places), omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 7 0 bruno 17 18 kim 7 8 bruno 7 18 lina 2 24 lina 25 6 bruno 30 22
bruno 0.94 kim 0.88 bruno 0.39 lina 0.08 lina 4.17 bruno 1.36
lina 27 0 eli 1 6 lina 26 18 jules 18 14 gus 2 23 alice 13 19 lina 23 4
eli 0.17 lina 1.44 jules 1.29 gus 0.09 alice 0.68 lina 5.75
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000973
qwen/qwen3.7-plus
awkweave-0000974
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 delta 21 eli ember 23 dina grove 9 ivan amber 9 hana grove 17 gus delta 3 hana harbor 3 hana harbor 17 eli ember 5
eli ember 23 hana delta 21 hana grove 17
farah amber 28 dina cobalt 13 dina ember 16 ivan cobalt 21 lina delta 7 farah cobalt 28
farah amber 28 farah cobalt 28 ivan cobalt 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000974-p1
Select the top three 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 delta 21 eli ember 23 dina grove 9 ivan amber 9 hana grove 17 gus delta 3 hana harbor 3 hana harbor 17 eli ember 5
eli ember 23 hana delta 21 hana grove 17
farah amber 28 dina cobalt 13 dina ember 16 ivan cobalt 21 lina delta 7 farah cobalt 28
farah amber 28 farah cobalt 28 ivan cobalt 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000974
qwen/qwen3.7-plus
awkweave-0000975
For each line, output fields 4 and 1, in that order.
{print $4, $1}
70 eli fable 43 19 27 91 kim birch 92 35 74 59 kim juniper 15 6 40 48 jules indigo 8 15 112 53 gus fable 80 49 7 5 lina juniper 10 21 58 1 alice indigo 33 21 10 75 bruno indigo 86 100 106 51 gus harbor 65 3 98
43 70 92 91 15 59 8 48 80 53 10 5 33 1 86 75 65 51
115 ivan juniper 8 45 105 98 eli delta 7 75 51 104 eli fable 67 27 105 45 bruno grove 22 39 3 114 hana grove 65 81 103 79 kim grove 48 44 92
8 115 7 98 67 104 22 45 65 114 48 79
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000975-p1
For every line, print the fourth field followed by the first field.
{print $4, $1}
70 eli fable 43 19 27 91 kim birch 92 35 74 59 kim juniper 15 6 40 48 jules indigo 8 15 112 53 gus fable 80 49 7 5 lina juniper 10 21 58 1 alice indigo 33 21 10 75 bruno indigo 86 100 106 51 gus harbor 65 3 98
43 70 92 91 15 59 8 48 80 53 10 5 33 1 86 75 65 51
115 ivan juniper 8 45 105 98 eli delta 7 75 51 104 eli fable 67 27 105 45 bruno grove 22 39 3 114 hana grove 65 81 103 79 kim grove 48 44 92
8 115 7 98 67 104 22 45 65 114 48 79
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000975
qwen/qwen3.7-plus
awkweave-0000976
Print the last field of every input line.
{print $NF}
failed 4 13 closed 119 ember ready 97 89 active 27 fable closed 77 39 failed 74 cobalt pending 45 30 ready 53 ember pending 87 52 pending 21 amber ready 105 36 failed 102 grove
ember fable cobalt ember amber grove
ready 7 53 paused 112 indigo paused 27 38 active 73 fable closed 84 82 closed 96 fable failed 65 90 paused 38 birch ready 114 4 active 104 amber ready 87 74 failed 80 amber
indigo fable fable birch amber amber
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000976-p1
Extract and print the final field from each input line.
{print $NF}
failed 4 13 closed 119 ember ready 97 89 active 27 fable closed 77 39 failed 74 cobalt pending 45 30 ready 53 ember pending 87 52 pending 21 amber ready 105 36 failed 102 grove
ember fable cobalt ember amber grove
ready 7 53 paused 112 indigo paused 27 38 active 73 fable closed 84 82 closed 96 fable failed 65 90 paused 38 birch ready 114 4 active 104 amber ready 87 74 failed 80 amber
indigo fable fable birch amber amber
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000976
qwen/qwen3.7-plus
awkweave-0000977
Print the complete records where column 1 is less than 70.
$1 < 70
64 ready cobalt harbor harbor 101 ready delta fable juniper 32 failed delta fable grove 49 closed fable juniper ember 60 closed delta juniper amber 120 closed amber juniper cobalt
64 ready cobalt harbor harbor 32 failed delta fable grove 49 closed fable juniper ember 60 closed delta juniper amber
22 active ember indigo indigo 93 failed ember fable fable 23 paused birch juniper amber 66 ready cobalt fable ember 72 closed birch fable ember 93 ready cobalt harbor harbor 2 paused fable birch ember 47 paused grove ember birch 37 paused indigo grove ember
22 active ember indigo indigo 23 paused birch juniper amber 66 ready cobalt fable ember 2 paused fable birch ember 47 paused grove ember birch 37 paused indigo grove ember
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000977-p1
Output the full records for which the value in the first column is less than 70.
$1 < 70
64 ready cobalt harbor harbor 101 ready delta fable juniper 32 failed delta fable grove 49 closed fable juniper ember 60 closed delta juniper amber 120 closed amber juniper cobalt
64 ready cobalt harbor harbor 32 failed delta fable grove 49 closed fable juniper ember 60 closed delta juniper amber
22 active ember indigo indigo 93 failed ember fable fable 23 paused birch juniper amber 66 ready cobalt fable ember 72 closed birch fable ember 93 ready cobalt harbor harbor 2 paused fable birch ember 47 paused grove ember birch 37 paused indigo grove ember
22 active ember indigo indigo 23 paused birch juniper amber 66 ready cobalt fable ember 2 paused fable birch ember 47 paused grove ember birch 37 paused indigo grove ember
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000977
qwen/qwen3.7-plus
awkweave-0000978
Show whole lines whose 1st field is between 12 and 22, inclusive.
$1 >= 12 && $1 <= 22
19 grove lina closed 20 amber ivan failed 3 juniper chen failed 27 birch lina failed 27 delta jules pending 3 fable kim pending
19 grove lina closed 20 amber ivan failed
30 ember alice closed 30 ember hana ready 3 harbor lina ready 14 grove jules closed 7 birch kim closed 21 delta farah ready 26 cobalt alice active
14 grove jules closed 21 delta farah ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000978-p1
Display complete lines where the first field falls within the inclusive range of 12 to 22.
$1 >= 12 && $1 <= 22
19 grove lina closed 20 amber ivan failed 3 juniper chen failed 27 birch lina failed 27 delta jules pending 3 fable kim pending
19 grove lina closed 20 amber ivan failed
30 ember alice closed 30 ember hana ready 3 harbor lina ready 14 grove jules closed 7 birch kim closed 21 delta farah ready 26 cobalt alice active
14 grove jules closed 21 delta farah ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000978
qwen/qwen3.7-plus
awkweave-0000979
Print column 2 only for rows where column 3 is exactly pending.
$3 == "pending"{print $2}
harbor lina failed 72 fable kim failed 39 harbor gus closed 68 amber lina pending 0 birch farah failed 104 delta jules paused 47
lina
harbor gus paused 7 cobalt lina failed 9 fable alice ready 49 ember lina failed 111 delta eli ready 71 juniper lina failed 15
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000979-p1
Output only the second column for rows where the third column is exactly pending.
$3 == "pending"{print $2}
harbor lina failed 72 fable kim failed 39 harbor gus closed 68 amber lina pending 0 birch farah failed 104 delta jules paused 47
lina
harbor gus paused 7 cobalt lina failed 9 fable alice ready 49 ember lina failed 111 delta eli ready 71 juniper lina failed 15
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000979
qwen/qwen3.7-plus
awkweave-0000980
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
16 birch INFO 90 ember WARN 51 birch WARN 119 birch DEBUG 26 delta ERROR 93 cobalt WARN 10 indigo ERROR
90 ember WARN 51 birch WARN 93 cobalt WARN
99 delta DEBUG 99 birch INFO 86 cobalt WARN 8 birch ERROR 21 ember ERROR 27 juniper WARN
86 cobalt WARN 27 juniper WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000980-p1
Print all fields from lines where the third field starts with WARN.
$3 ~ /^WARN/
16 birch INFO 90 ember WARN 51 birch WARN 119 birch DEBUG 26 delta ERROR 93 cobalt WARN 10 indigo ERROR
90 ember WARN 51 birch WARN 93 cobalt WARN
99 delta DEBUG 99 birch INFO 86 cobalt WARN 8 birch ERROR 21 ember ERROR 27 juniper WARN
86 cobalt WARN 27 juniper WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000980
qwen/qwen3.7-plus
awkweave-0000981
Print every line except those containing the exact text fable.
$0 !~ /fable/
delta 32 ready cobalt 118 failed cobalt 94 pending indigo 103 pending harbor 3 ready amber 63 failed harbor 112 failed fable 999 active
delta 32 ready cobalt 118 failed cobalt 94 pending indigo 103 pending harbor 3 ready amber 63 failed harbor 112 failed
juniper 58 ready indigo 51 pending juniper 34 pending amber 120 active delta 1 paused delta 51 failed delta 101 active grove 15 pending fable 999 active
juniper 58 ready indigo 51 pending juniper 34 pending amber 120 active delta 1 paused delta 51 failed delta 101 active grove 15 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000981-p1
Print every line that does not contain the exact string fable.
$0 !~ /fable/
delta 32 ready cobalt 118 failed cobalt 94 pending indigo 103 pending harbor 3 ready amber 63 failed harbor 112 failed fable 999 active
delta 32 ready cobalt 118 failed cobalt 94 pending indigo 103 pending harbor 3 ready amber 63 failed harbor 112 failed
juniper 58 ready indigo 51 pending juniper 34 pending amber 120 active delta 1 paused delta 51 failed delta 101 active grove 15 pending fable 999 active
juniper 58 ready indigo 51 pending juniper 34 pending amber 120 active delta 1 paused delta 51 failed delta 101 active grove 15 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000981
qwen/qwen3.7-plus
awkweave-0000982
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
dina amber 82 alice cobalt 91 bruno amber 19 farah harbor 11 eli grove 72 lina indigo 118 alice juniper 80
alice cobalt 91 bruno amber 19
bruno amber 12 chen juniper 66 gus amber 10 ivan fable 113 lina delta 12 hana cobalt 47 jules delta 85 alice harbor 113 eli ember 70
chen juniper 66 gus amber 10
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000982-p1
Output lines 2 through 3, inclusive.
NR >= 2 && NR <= 3
dina amber 82 alice cobalt 91 bruno amber 19 farah harbor 11 eli grove 72 lina indigo 118 alice juniper 80
alice cobalt 91 bruno amber 19
bruno amber 12 chen juniper 66 gus amber 10 ivan fable 113 lina delta 12 hana cobalt 47 jules delta 85 alice harbor 113 eli ember 70
chen juniper 66 gus amber 10
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000982
qwen/qwen3.7-plus
awkweave-0000983
Output only the first 2 records.
NR <= 2
ivan 83 amber bruno 107 delta alice 120 fable alice 104 birch chen 96 fable dina 69 harbor
ivan 83 amber bruno 107 delta
dina 103 juniper ivan 56 fable lina 27 juniper farah 33 delta eli 110 ember jules 49 indigo eli 72 cobalt chen 49 grove eli 59 ember
dina 103 juniper ivan 56 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000983-p1
Display only the first 2 records.
NR <= 2
ivan 83 amber bruno 107 delta alice 120 fable alice 104 birch chen 96 fable dina 69 harbor
ivan 83 amber bruno 107 delta
dina 103 juniper ivan 56 fable lina 27 juniper farah 33 delta eli 110 ember jules 49 indigo eli 72 cobalt chen 49 grove eli 59 ember
dina 103 juniper ivan 56 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000983
qwen/qwen3.7-plus
awkweave-0000984
Skip the first line and print every remaining line unchanged.
NR > 1
eli 105 harbor bruno 101 indigo bruno 23 juniper gus 59 juniper alice 70 fable hana 103 ember ivan 59 fable hana 100 juniper alice 22 indigo alice 31 fable
bruno 101 indigo bruno 23 juniper gus 59 juniper alice 70 fable hana 103 ember ivan 59 fable hana 100 juniper alice 22 indigo alice 31 fable
bruno 8 ember bruno 36 juniper gus 91 grove alice 54 fable hana 109 fable jules 98 amber
bruno 36 juniper gus 91 grove alice 54 fable hana 109 fable jules 98 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000984-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
eli 105 harbor bruno 101 indigo bruno 23 juniper gus 59 juniper alice 70 fable hana 103 ember ivan 59 fable hana 100 juniper alice 22 indigo alice 31 fable
bruno 101 indigo bruno 23 juniper gus 59 juniper alice 70 fable hana 103 ember ivan 59 fable hana 100 juniper alice 22 indigo alice 31 fable
bruno 8 ember bruno 36 juniper gus 91 grove alice 54 fable hana 109 fable jules 98 amber
bruno 36 juniper gus 91 grove alice 54 fable hana 109 fable jules 98 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000984
qwen/qwen3.7-plus
awkweave-0000985
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
farah paused 62 kim ready 100 dina ready 91 dina pending 11 ivan closed 82 jules closed 9 kim active 59 kim failed 111 eli pending 120
2
dina ready 54 gus paused 82 hana pending 62 farah closed 11 alice active 111 eli paused 61 bruno paused 25
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000985-p1
Count the number of records with pending in the second column, printing 0 if none exist.
$2 == "pending"{n++}END{print n+0}
farah paused 62 kim ready 100 dina ready 91 dina pending 11 ivan closed 82 jules closed 9 kim active 59 kim failed 111 eli pending 120
2
dina ready 54 gus paused 82 hana pending 62 farah closed 11 alice active 111 eli paused 61 bruno paused 25
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000985
qwen/qwen3.7-plus
awkweave-0000986
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
cobalt gus 21 cobalt eli 11 fable lina 30 juniper hana 21 fable jules 6 harbor bruno 3 cobalt jules 7 fable farah 6 amber lina 13
118
harbor ivan 30 juniper hana 1 amber alice 19 amber ivan 4 indigo jules 16 indigo gus 5 harbor hana 5 birch kim 27
107
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000986-p1
Compute and display the sum of integer values in the third column.
{s+=$3}END{print s+0}
cobalt gus 21 cobalt eli 11 fable lina 30 juniper hana 21 fable jules 6 harbor bruno 3 cobalt jules 7 fable farah 6 amber lina 13
118
harbor ivan 30 juniper hana 1 amber alice 19 amber ivan 4 indigo jules 16 indigo gus 5 harbor hana 5 birch kim 27
107
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000986
qwen/qwen3.7-plus
awkweave-0000987
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah indigo 8 hana harbor 20 lina indigo 24 jules indigo 1 dina birch 22 jules grove 26 hana cobalt 10 alice amber 16 kim ember 21
16.44
gus cobalt 7 gus indigo 12 eli grove 22 gus fable 8 gus harbor 6 jules juniper 29 chen ember 1
12.14
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000987-p1
Calculate the average of the third column and print it rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah indigo 8 hana harbor 20 lina indigo 24 jules indigo 1 dina birch 22 jules grove 26 hana cobalt 10 alice amber 16 kim ember 21
16.44
gus cobalt 7 gus indigo 12 eli grove 22 gus fable 8 gus harbor 6 jules juniper 29 chen ember 1
12.14
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000987
qwen/qwen3.7-plus
awkweave-0000988
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
18 farah indigo 13 chen birch 1 eli delta 10 chen indigo 18 farah fable 27 gus juniper 4 eli delta 8 gus juniper 28 gus juniper 9 jules harbor
1
1 bruno harbor 12 lina grove 3 kim amber 23 farah harbor 18 hana ember 26 alice cobalt
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000988-p1
Identify and print the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
18 farah indigo 13 chen birch 1 eli delta 10 chen indigo 18 farah fable 27 gus juniper 4 eli delta 8 gus juniper 28 gus juniper 9 jules harbor
1
1 bruno harbor 12 lina grove 3 kim amber 23 farah harbor 18 hana ember 26 alice cobalt
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000988
qwen/qwen3.7-plus
awkweave-0000989
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
11 amber eli 5 grove farah 5 harbor lina 15 birch jules 30 birch farah 5 indigo jules 4 ember jules
30
26 fable ivan 8 indigo dina 19 juniper lina 10 delta eli 5 birch hana 18 grove gus 29 indigo eli
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000989-p1
Identify and print the maximum numeric value found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
11 amber eli 5 grove farah 5 harbor lina 15 birch jules 30 birch farah 5 indigo jules 4 ember jules
30
26 fable ivan 8 indigo dina 19 juniper lina 10 delta eli 5 birch hana 18 grove gus 29 indigo eli
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000989
qwen/qwen3.7-plus