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-0010610-p1
Print entire records where the value in the second column exceeds 77.
$2 > 77
active 29 lina closed ready 20 alice failed pending 73 jules active closed 90 dina active active 42 gus closed paused 94 hana paused failed 2 jules ready failed 101 dina active active 111 alice pending
closed 90 dina active paused 94 hana paused failed 101 dina active active 111 alice pending
closed 47 hana paused active 115 kim ready pending 67 dina ready failed 61 gus failed closed 29 chen active closed 92 ivan active closed 4 gus paused closed 27 bruno closed ready 88 dina active
active 115 kim ready closed 92 ivan active ready 88 dina active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010610
qwen/qwen3.7-plus
awkweave-0010611
Show whole lines whose 2nd field is between 11 and 23, inclusive.
$2 >= 11 && $2 <= 23
active 12 hana farah paused 2 farah dina failed 1 alice gus pending 30 ivan dina active 3 gus gus paused 29 dina bruno active 2 farah dina
active 12 hana farah
closed 6 kim eli closed 3 hana hana pending 20 bruno dina active 22 chen gus paused 14 farah hana active 3 alice eli active 5 dina hana
pending 20 bruno dina active 22 chen gus paused 14 farah hana
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010611-p1
Output full lines where the second field falls within the inclusive range of 11 to 23.
$2 >= 11 && $2 <= 23
active 12 hana farah paused 2 farah dina failed 1 alice gus pending 30 ivan dina active 3 gus gus paused 29 dina bruno active 2 farah dina
active 12 hana farah
closed 6 kim eli closed 3 hana hana pending 20 bruno dina active 22 chen gus paused 14 farah hana active 3 alice eli active 5 dina hana
pending 20 bruno dina active 22 chen gus paused 14 farah hana
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010611
qwen/qwen3.7-plus
awkweave-0010612
Print column 3 only for rows where column 4 is exactly closed.
$4 == "closed"{print $3}
grove 112 gus paused ember 120 ivan active juniper 106 chen pending amber 99 kim ready cobalt 3 farah closed fable 84 kim ready amber 116 alice ready
farah
indigo 99 lina pending juniper 23 farah paused fable 100 jules pending harbor 48 ivan failed delta 17 hana failed grove 100 bruno active juniper 49 ivan closed
ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010612-p1
Display only the third column for rows where the fourth column matches 'closed' exactly.
$4 == "closed"{print $3}
grove 112 gus paused ember 120 ivan active juniper 106 chen pending amber 99 kim ready cobalt 3 farah closed fable 84 kim ready amber 116 alice ready
farah
indigo 99 lina pending juniper 23 farah paused fable 100 jules pending harbor 48 ivan failed delta 17 hana failed grove 100 bruno active juniper 49 ivan closed
ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010612
qwen/qwen3.7-plus
awkweave-0010613
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
78 birch DEBUG 99 grove INFO 78 grove INFO 47 amber WARN 22 indigo ERROR 117 grove ERROR 56 ember ERROR 45 ember WARN 9 fable DEBUG 107 harbor ERROR
22 indigo ERROR 117 grove ERROR 56 ember ERROR 107 harbor ERROR
72 birch INFO 111 harbor INFO 1 grove INFO 6 cobalt INFO 107 fable WARN 83 indigo ERROR
83 indigo ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010613-p1
Output all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
78 birch DEBUG 99 grove INFO 78 grove INFO 47 amber WARN 22 indigo ERROR 117 grove ERROR 56 ember ERROR 45 ember WARN 9 fable DEBUG 107 harbor ERROR
22 indigo ERROR 117 grove ERROR 56 ember ERROR 107 harbor ERROR
72 birch INFO 111 harbor INFO 1 grove INFO 6 cobalt INFO 107 fable WARN 83 indigo ERROR
83 indigo ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010613
qwen/qwen3.7-plus
awkweave-0010614
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
fable 116 closed indigo 110 active delta 18 failed cobalt 15 paused cobalt 69 active juniper 29 closed juniper 999 active
fable 116 closed indigo 110 active delta 18 failed cobalt 15 paused cobalt 69 active
ember 23 active birch 9 paused birch 106 paused amber 118 ready amber 106 failed ember 43 failed indigo 42 active juniper 999 active
ember 23 active birch 9 paused birch 106 paused amber 118 ready amber 106 failed ember 43 failed indigo 42 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010614-p1
Print every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
fable 116 closed indigo 110 active delta 18 failed cobalt 15 paused cobalt 69 active juniper 29 closed juniper 999 active
fable 116 closed indigo 110 active delta 18 failed cobalt 15 paused cobalt 69 active
ember 23 active birch 9 paused birch 106 paused amber 118 ready amber 106 failed ember 43 failed indigo 42 active juniper 999 active
ember 23 active birch 9 paused birch 106 paused amber 118 ready amber 106 failed ember 43 failed indigo 42 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010614
qwen/qwen3.7-plus
awkweave-0010615
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
kim harbor 95 gus ember 84 jules harbor 27 alice indigo 40 bruno fable 30 ivan amber 89 dina grove 33 jules juniper 20 chen indigo 22
gus ember 84 jules harbor 27 alice indigo 40
gus delta 57 lina harbor 40 eli birch 88 bruno birch 73 dina cobalt 94 ivan indigo 25 farah grove 117
lina harbor 40 eli birch 88 bruno birch 73
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010615-p1
Output lines 2 to 4, inclusive of both the start and end lines.
NR >= 2 && NR <= 4
kim harbor 95 gus ember 84 jules harbor 27 alice indigo 40 bruno fable 30 ivan amber 89 dina grove 33 jules juniper 20 chen indigo 22
gus ember 84 jules harbor 27 alice indigo 40
gus delta 57 lina harbor 40 eli birch 88 bruno birch 73 dina cobalt 94 ivan indigo 25 farah grove 117
lina harbor 40 eli birch 88 bruno birch 73
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010615
qwen/qwen3.7-plus
awkweave-0010616
Output only the first 4 records.
NR <= 4
dina 61 birch farah 54 grove jules 51 cobalt farah 55 cobalt hana 27 delta lina 109 birch
dina 61 birch farah 54 grove jules 51 cobalt farah 55 cobalt
bruno 72 cobalt farah 46 fable hana 45 fable hana 36 cobalt jules 57 juniper bruno 33 ember
bruno 72 cobalt farah 46 fable hana 45 fable hana 36 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010616-p1
Display only the first 4 records from the input.
NR <= 4
dina 61 birch farah 54 grove jules 51 cobalt farah 55 cobalt hana 27 delta lina 109 birch
dina 61 birch farah 54 grove jules 51 cobalt farah 55 cobalt
bruno 72 cobalt farah 46 fable hana 45 fable hana 36 cobalt jules 57 juniper bruno 33 ember
bruno 72 cobalt farah 46 fable hana 45 fable hana 36 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010616
qwen/qwen3.7-plus
awkweave-0010617
Skip the first line and print every remaining line unchanged.
NR > 1
kim 27 harbor dina 25 delta farah 21 birch chen 45 fable hana 106 fable gus 27 amber alice 85 indigo
dina 25 delta farah 21 birch chen 45 fable hana 106 fable gus 27 amber alice 85 indigo
chen 1 birch alice 14 birch farah 86 ember jules 48 amber chen 106 amber gus 65 amber alice 9 ember
alice 14 birch farah 86 ember jules 48 amber chen 106 amber gus 65 amber alice 9 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010617-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
kim 27 harbor dina 25 delta farah 21 birch chen 45 fable hana 106 fable gus 27 amber alice 85 indigo
dina 25 delta farah 21 birch chen 45 fable hana 106 fable gus 27 amber alice 85 indigo
chen 1 birch alice 14 birch farah 86 ember jules 48 amber chen 106 amber gus 65 amber alice 9 ember
alice 14 birch farah 86 ember jules 48 amber chen 106 amber gus 65 amber alice 9 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010617
qwen/qwen3.7-plus
awkweave-0010618
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
ivan paused 70 chen paused 89 hana ready 98 gus active 9 farah closed 42 dina failed 89 lina failed 92 kim failed 19 bruno ready 0
2
ivan ready 93 chen active 7 farah pending 106 hana ready 52 dina failed 46 jules closed 27 bruno closed 51 bruno ready 32 ivan ready 68
4
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010618-p1
Count the number of records with 'ready' in the second column; output 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
ivan paused 70 chen paused 89 hana ready 98 gus active 9 farah closed 42 dina failed 89 lina failed 92 kim failed 19 bruno ready 0
2
ivan ready 93 chen active 7 farah pending 106 hana ready 52 dina failed 46 jules closed 27 bruno closed 51 bruno ready 32 ivan ready 68
4
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010618
qwen/qwen3.7-plus
awkweave-0010619
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
5 kim ember 10 kim fable 8 alice indigo 26 kim indigo 18 lina harbor 29 alice cobalt 27 chen fable 19 eli birch
142
24 bruno ember 16 eli ember 4 alice grove 30 jules juniper 25 gus harbor 18 eli amber 24 gus harbor 20 kim ember 20 gus grove
181
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010619-p1
Compute and display the sum of all integer values found in the first column.
{s+=$1}END{print s+0}
5 kim ember 10 kim fable 8 alice indigo 26 kim indigo 18 lina harbor 29 alice cobalt 27 chen fable 19 eli birch
142
24 bruno ember 16 eli ember 4 alice grove 30 jules juniper 25 gus harbor 18 eli amber 24 gus harbor 20 kim ember 20 gus grove
181
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010619
qwen/qwen3.7-plus
awkweave-0010620
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 14 juniper farah 12 harbor eli 27 amber jules 6 birch eli 22 amber lina 23 indigo farah 13 amber farah 3 delta bruno 21 birch ivan 15 ember
15.60
chen 12 fable eli 26 birch eli 7 amber alice 29 cobalt hana 26 juniper eli 10 amber dina 15 cobalt farah 6 grove
16.38
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010620-p1
Calculate the average of the values in the second column and format the result to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 14 juniper farah 12 harbor eli 27 amber jules 6 birch eli 22 amber lina 23 indigo farah 13 amber farah 3 delta bruno 21 birch ivan 15 ember
15.60
chen 12 fable eli 26 birch eli 7 amber alice 29 cobalt hana 26 juniper eli 10 amber dina 15 cobalt farah 6 grove
16.38
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010620
qwen/qwen3.7-plus
awkweave-0010621
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
amber hana 29 grove lina 19 delta kim 29 delta gus 13 amber kim 15 juniper eli 20 delta hana 5
5
juniper ivan 18 birch farah 27 delta bruno 23 fable chen 23 cobalt farah 19 birch hana 18 ember dina 3 harbor kim 19
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010621-p1
Identify and print the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
amber hana 29 grove lina 19 delta kim 29 delta gus 13 amber kim 15 juniper eli 20 delta hana 5
5
juniper ivan 18 birch farah 27 delta bruno 23 fable chen 23 cobalt farah 19 birch hana 18 ember dina 3 harbor kim 19
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010621
qwen/qwen3.7-plus
awkweave-0010622
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
fable 21 dina juniper 29 dina birch 23 farah juniper 22 lina delta 13 ivan grove 13 hana harbor 26 bruno indigo 17 chen
29
juniper 6 farah fable 15 gus fable 19 kim cobalt 12 gus juniper 26 alice juniper 6 jules birch 13 farah
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010622-p1
Identify and print the maximum numeric value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
fable 21 dina juniper 29 dina birch 23 farah juniper 22 lina delta 13 ivan grove 13 hana harbor 26 bruno indigo 17 chen
29
juniper 6 farah fable 15 gus fable 19 kim cobalt 12 gus juniper 26 alice juniper 6 jules birch 13 farah
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010622
qwen/qwen3.7-plus
awkweave-0010623
Count all input records and print the total.
END{print NR}
farah 0 dina 97 alice 36 dina 51 gus 95 bruno 94 gus 64 gus 49
8
chen 16 farah 47 eli 94 alice 61 gus 100 bruno 22 eli 26 alice 98 alice 77 jules 57
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010623-p1
Count the total number of input records and print the result.
END{print NR}
farah 0 dina 97 alice 36 dina 51 gus 95 bruno 94 gus 64 gus 49
8
chen 16 farah 47 eli 94 alice 61 gus 100 bruno 22 eli 26 alice 98 alice 77 jules 57
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010623
qwen/qwen3.7-plus
awkweave-0010624
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus indigo 71 chen cobalt 31 eli birch 71 bruno delta 11 dina delta 32 chen delta 39 eli cobalt 77 alice amber 4 lina harbor 63 dina delta 32 chen birch 118
gus indigo 71 chen cobalt 31 eli birch 71 bruno delta 11 dina delta 32 chen delta 39 eli cobalt 77 alice amber 4 lina harbor 63 chen birch 118
dina grove 15 ivan harbor 17 ivan indigo 56 dina amber 11 ivan harbor 17 hana fable 65 bruno cobalt 117
dina grove 15 ivan harbor 17 ivan indigo 56 dina amber 11 hana fable 65 bruno cobalt 117
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010624-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
gus indigo 71 chen cobalt 31 eli birch 71 bruno delta 11 dina delta 32 chen delta 39 eli cobalt 77 alice amber 4 lina harbor 63 dina delta 32 chen birch 118
gus indigo 71 chen cobalt 31 eli birch 71 bruno delta 11 dina delta 32 chen delta 39 eli cobalt 77 alice amber 4 lina harbor 63 chen birch 118
dina grove 15 ivan harbor 17 ivan indigo 56 dina amber 11 ivan harbor 17 hana fable 65 bruno cobalt 117
dina grove 15 ivan harbor 17 ivan indigo 56 dina amber 11 hana fable 65 bruno cobalt 117
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010624
qwen/qwen3.7-plus
awkweave-0010625
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
kim harbor 88 gus birch 34 farah birch 50 dina fable 99 bruno juniper 99 alice fable 14 chen juniper 51 dina ember 118 farah birch 57
kim harbor 88 gus birch 34 farah birch 50 dina fable 99 bruno juniper 99 alice fable 14 chen juniper 51
alice grove 110 alice amber 119 kim delta 112 dina amber 54 alice fable 26 ivan fable 59 lina indigo 38
alice grove 110 kim delta 112 dina amber 54 ivan fable 59 lina indigo 38
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010625-p1
Retain only the initial line for every unique value found in the first column, ensuring the input order is preserved.
!seen[$1]++
kim harbor 88 gus birch 34 farah birch 50 dina fable 99 bruno juniper 99 alice fable 14 chen juniper 51 dina ember 118 farah birch 57
kim harbor 88 gus birch 34 farah birch 50 dina fable 99 bruno juniper 99 alice fable 14 chen juniper 51
alice grove 110 alice amber 119 kim delta 112 dina amber 54 alice fable 26 ivan fable 59 lina indigo 38
alice grove 110 kim delta 112 dina amber 54 ivan fable 59 lina indigo 38
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010625
qwen/qwen3.7-plus
awkweave-0010626
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 18 birch lina 18 grove jules 9 birch ivan 14 grove lina 2 grove hana 10 juniper gus 3 juniper gus 20 fable ivan 21 fable
chen 18 lina 36 jules 45 ivan 59 lina 61 hana 71 gus 74 gus 94 ivan 115
lina 2 fable kim 19 delta alice 2 cobalt farah 9 amber farah 2 harbor hana 25 juniper bruno 16 cobalt alice 21 fable
lina 2 kim 21 alice 23 farah 32 farah 34 hana 59 bruno 75 alice 96
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010626-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
chen 18 birch lina 18 grove jules 9 birch ivan 14 grove lina 2 grove hana 10 juniper gus 3 juniper gus 20 fable ivan 21 fable
chen 18 lina 36 jules 45 ivan 59 lina 61 hana 71 gus 74 gus 94 ivan 115
lina 2 fable kim 19 delta alice 2 cobalt farah 9 amber farah 2 harbor hana 25 juniper bruno 16 cobalt alice 21 fable
lina 2 kim 21 alice 23 farah 32 farah 34 hana 59 bruno 75 alice 96
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010626
qwen/qwen3.7-plus
awkweave-0010627
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 12 17 indigo ivan 15 22 delta ivan 6 20 grove lina 28 16 delta dina 12 20 grove ivan 28 15 ember jules 21 17 delta farah 25 13 harbor ivan 6 16 fable
chen 29 ivan 37 ivan 26 lina 44 dina 32 ivan 43 jules 38 farah 38 ivan 22
farah 11 25 harbor eli 6 26 juniper jules 24 23 amber dina 17 4 fable gus 15 6 grove eli 8 4 ember hana 19 1 harbor
farah 36 eli 32 jules 47 dina 21 gus 21 eli 12 hana 20
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010627-p1
For each row, display the first field followed by the total of the second and third fields.
{print $1,$2+$3}
chen 12 17 indigo ivan 15 22 delta ivan 6 20 grove lina 28 16 delta dina 12 20 grove ivan 28 15 ember jules 21 17 delta farah 25 13 harbor ivan 6 16 fable
chen 29 ivan 37 ivan 26 lina 44 dina 32 ivan 43 jules 38 farah 38 ivan 22
farah 11 25 harbor eli 6 26 juniper jules 24 23 amber dina 17 4 fable gus 15 6 grove eli 8 4 ember hana 19 1 harbor
farah 36 eli 32 jules 47 dina 21 gus 21 eli 12 hana 20
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010627
qwen/qwen3.7-plus
awkweave-0010628
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
chen 5 jules 27 hana 3 eli 23 kim 23 eli 1
chen fail jules pass hana fail eli fail kim fail eli fail
ivan 18 bruno 19 hana 28 alice 20 lina 5 kim 11
ivan fail bruno fail hana pass alice fail lina fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010628-p1
Output the first column and print 'pass' if the second column is 25 or greater; otherwise, print 'fail'.
{print $1,($2>=25?"pass":"fail")}
chen 5 jules 27 hana 3 eli 23 kim 23 eli 1
chen fail jules pass hana fail eli fail kim fail eli fail
ivan 18 bruno 19 hana 28 alice 20 lina 5 kim 11
ivan fail bruno fail hana pass alice fail lina fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010628
qwen/qwen3.7-plus
awkweave-0010629
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
gus delta 80 gus amber 14 lina indigo 120 kim cobalt 27 farah cobalt 10 jules birch 100
DELTA AMBER INDIGO COBALT COBALT BIRCH
lina harbor 20 kim juniper 48 lina indigo 80 alice delta 64 jules grove 91 gus ember 87 lina birch 11 alice harbor 59 farah amber 47 kim indigo 97
HARBOR JUNIPER INDIGO DELTA GROVE EMBER BIRCH HARBOR AMBER INDIGO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010629-p1
Transform the second column to uppercase and output only that modified column.
{print toupper($2)}
gus delta 80 gus amber 14 lina indigo 120 kim cobalt 27 farah cobalt 10 jules birch 100
DELTA AMBER INDIGO COBALT COBALT BIRCH
lina harbor 20 kim juniper 48 lina indigo 80 alice delta 64 jules grove 91 gus ember 87 lina birch 11 alice harbor 59 farah amber 47 kim indigo 97
HARBOR JUNIPER INDIGO DELTA GROVE EMBER BIRCH HARBOR AMBER INDIGO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010629
qwen/qwen3.7-plus
awkweave-0010630
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
delta 68 indigo 22 fable 22 cobalt 62 amber 30 juniper 112 cobalt 11
elta ndig able obal mber unip obal
juniper 84 fable 18 juniper 101 cobalt 70 birch 81 fable 100 delta 26 birch 23 delta 79
unip able unip obal irch able elta irch elta
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010630-p1
Extract and print a substring of 4 characters from the first column, beginning at the second character position.
{print substr($1,2,4)}
delta 68 indigo 22 fable 22 cobalt 62 amber 30 juniper 112 cobalt 11
elta ndig able obal mber unip obal
juniper 84 fable 18 juniper 101 cobalt 70 birch 81 fable 100 delta 26 birch 23 delta 79
unip able unip obal irch able elta irch elta
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010630
qwen/qwen3.7-plus
awkweave-0010631
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_amber 70 delta_grove 95 fable_birch 40 indigo_juniper 27 delta_amber 70 amber_juniper 16 harbor_indigo 17 harbor_cobalt 30 birch_harbor 100
amber amber delta grove fable birch indigo juniper delta amber amber juniper harbor indigo harbor cobalt birch harbor
birch_grove 34 grove_indigo 43 harbor_cobalt 117 amber_ember 1 grove_harbor 2 delta_cobalt 4
birch grove grove indigo harbor cobalt amber ember grove harbor delta cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010631-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
amber_amber 70 delta_grove 95 fable_birch 40 indigo_juniper 27 delta_amber 70 amber_juniper 16 harbor_indigo 17 harbor_cobalt 30 birch_harbor 100
amber amber delta grove fable birch indigo juniper delta amber amber juniper harbor indigo harbor cobalt birch harbor
birch_grove 34 grove_indigo 43 harbor_cobalt 117 amber_ember 1 grove_harbor 2 delta_cobalt 4
birch grove grove indigo harbor cobalt amber ember grove harbor delta cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010631
qwen/qwen3.7-plus
awkweave-0010632
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 juniper 85 paused ivan delta 112 ready chen fable 38 ready bruno indigo 31 active gus birch 46 closed jules amber 40 ready chen cobalt 16 failed
paused 85 juniper hana ready 112 delta ivan ready 38 fable chen active 31 indigo bruno closed 46 birch gus ready 40 amber jules failed 16 cobalt chen
gus juniper 25 ready chen delta 36 failed bruno ember 18 paused alice delta 103 active farah ember 71 closed jules indigo 85 active dina grove 6 paused lina grove 18 active bruno indigo 55 paused dina delta 38 failed
ready 25 juniper gus failed 36 delta chen paused 18 ember bruno active 103 delta alice closed 71 ember farah active 85 indigo jules paused 6 grove dina active 18 grove lina paused 55 indigo bruno failed 38 delta dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010632-p1
Reverse the sequence of fields for every line and print all fields in the new order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana juniper 85 paused ivan delta 112 ready chen fable 38 ready bruno indigo 31 active gus birch 46 closed jules amber 40 ready chen cobalt 16 failed
paused 85 juniper hana ready 112 delta ivan ready 38 fable chen active 31 indigo bruno closed 46 birch gus ready 40 amber jules failed 16 cobalt chen
gus juniper 25 ready chen delta 36 failed bruno ember 18 paused alice delta 103 active farah ember 71 closed jules indigo 85 active dina grove 6 paused lina grove 18 active bruno indigo 55 paused dina delta 38 failed
ready 25 juniper gus failed 36 delta chen paused 18 ember bruno active 103 delta alice closed 71 ember farah active 85 indigo jules paused 6 grove dina active 18 grove lina paused 55 indigo bruno failed 38 delta dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010632
qwen/qwen3.7-plus
awkweave-0010633
Print the number of whitespace-separated fields on each line.
{print NF}
chen indigo 20 failed hana amber 5 failed ivan grove 73 failed dina birch 71 ready bruno juniper 19 failed lina grove 1 pending lina birch 32 pending gus cobalt 98 failed
4 4 4 4 4 4 4 4
jules indigo 9 closed ivan amber 15 failed alice grove 16 pending chen ember 82 closed gus amber 28 pending chen juniper 40 ready
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010633-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
chen indigo 20 failed hana amber 5 failed ivan grove 73 failed dina birch 71 ready bruno juniper 19 failed lina grove 1 pending lina birch 32 pending gus cobalt 98 failed
4 4 4 4 4 4 4 4
jules indigo 9 closed ivan amber 15 failed alice grove 16 pending chen ember 82 closed gus amber 28 pending chen juniper 40 ready
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010633
qwen/qwen3.7-plus
awkweave-0010634
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]]}
alice alpha 7 ivan delta 5 hana beta 101 alice delta 115 dina delta 106 alice gamma 57 lina alpha 45 jules beta 36 hana beta 78
alpha 2 delta 3 beta 3 gamma 1
dina alpha 106 alice beta 57 eli beta 120 chen gamma 51 lina gamma 12 chen alpha 11 eli beta 56 kim gamma 60
alpha 2 beta 3 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010634-p1
Tally the number of records for each unique value in the second column, printing each value and its corresponding 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]]}
alice alpha 7 ivan delta 5 hana beta 101 alice delta 115 dina delta 106 alice gamma 57 lina alpha 45 jules beta 36 hana beta 78
alpha 2 delta 3 beta 3 gamma 1
dina alpha 106 alice beta 57 eli beta 120 chen gamma 51 lina gamma 12 chen alpha 11 eli beta 56 kim gamma 60
alpha 2 beta 3 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010634
qwen/qwen3.7-plus
awkweave-0010635
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 delta 16 alice delta 29 chen gamma 15 hana alpha 19 chen gamma 14 hana alpha 21
delta 45 gamma 29 alpha 40
bruno gamma 24 farah delta 14 farah alpha 5 kim beta 19 dina delta 9 gus beta 20 kim delta 7 farah gamma 23 hana beta 29 ivan alpha 17
gamma 47 delta 30 alpha 22 beta 68
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010635-p1
Calculate the sum of the third column for each distinct category in the second column, presenting the groups in the order of their 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 delta 16 alice delta 29 chen gamma 15 hana alpha 19 chen gamma 14 hana alpha 21
delta 45 gamma 29 alpha 40
bruno gamma 24 farah delta 14 farah alpha 5 kim beta 19 dina delta 9 gus beta 20 kim delta 7 farah gamma 23 hana beta 29 ivan alpha 17
gamma 47 delta 30 alpha 22 beta 68
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010635
qwen/qwen3.7-plus
awkweave-0010636
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]]}
beta harbor 61 gamma harbor 72 alpha indigo 2 alpha birch 38 beta fable 17 beta grove 13 gamma grove 98 delta harbor 97 gamma indigo 88
beta 3 gamma 3 alpha 2
delta juniper 116 gamma harbor 91 beta amber 54 beta grove 101 beta amber 83 delta birch 0
delta 2 beta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010636-p1
List each unique value from the first column alongside its frequency count, maintaining the order of their 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]]}
beta harbor 61 gamma harbor 72 alpha indigo 2 alpha birch 38 beta fable 17 beta grove 13 gamma grove 98 delta harbor 97 gamma indigo 88
beta 3 gamma 3 alpha 2
delta juniper 116 gamma harbor 91 beta amber 54 beta grove 101 beta amber 83 delta birch 0
delta 2 beta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010636
qwen/qwen3.7-plus
awkweave-0010637
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name note record_id state r001 kim 22 failed r002 eli 11 pending r003 dina 26 active r004 hana 16 ready r005 chen 16 failed r006 gus 1 active r007 hana 2 ready r008 lina 27 pending r009 hana 6 paused r010 kim 24 ready
kim eli dina hana chen gus hana lina hana kim
display_name note record_id state r001 bruno 14 ready r002 lina 24 active r003 bruno 3 closed r004 hana 24 active r005 jules 5 ready r006 hana 25 paused
bruno lina bruno hana jules hana
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010637-p1
Skip the header row and output the contents of the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name note record_id state r001 kim 22 failed r002 eli 11 pending r003 dina 26 active r004 hana 16 ready r005 chen 16 failed r006 gus 1 active r007 hana 2 ready r008 lina 27 pending r009 hana 6 paused r010 kim 24 ready
kim eli dina hana chen gus hana lina hana kim
display_name note record_id state r001 bruno 14 ready r002 lina 24 active r003 bruno 3 closed r004 hana 24 active r005 jules 5 ready r006 hana 25 paused
bruno lina bruno hana jules hana
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010637
qwen/qwen3.7-plus
awkweave-0010638
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 eli 19 pending r002 bruno 16 ready r003 ivan 10 ready r004 ivan 7 failed r005 lina 15 pending r006 chen 26 active
eli bruno lina chen
record_id display_name score state r001 gus 17 failed r002 gus 3 closed r003 bruno 30 pending r004 dina 22 closed r005 kim 25 pending r006 alice 15 pending r007 lina 30 paused r008 chen 27 failed r009 bruno 26 pending r010 eli 6 closed
gus bruno dina kim alice lina chen bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010638-p1
Ignore the header row and print the display_name field for every record where the score is strictly 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 eli 19 pending r002 bruno 16 ready r003 ivan 10 ready r004 ivan 7 failed r005 lina 15 pending r006 chen 26 active
eli bruno lina chen
record_id display_name score state r001 gus 17 failed r002 gus 3 closed r003 bruno 30 pending r004 dina 22 closed r005 kim 25 pending r006 alice 15 pending r007 lina 30 paused r008 chen 27 failed r009 bruno 26 pending r010 eli 6 closed
gus bruno dina kim alice lina chen bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010638
qwen/qwen3.7-plus
awkweave-0010639
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
dina 27 pending farah 13 active chen 25 paused hana 6 ready lina 2 paused dina 17 ready eli 26 active chen 1 closed
dina farah chen hana lina dina eli chen
lina 18 active lina 3 paused hana 13 failed ivan 20 failed dina 13 active gus 27 failed chen 10 active
lina lina hana ivan dina gus chen
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010639-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
dina 27 pending farah 13 active chen 25 paused hana 6 ready lina 2 paused dina 17 ready eli 26 active chen 1 closed
dina farah chen hana lina dina eli chen
lina 18 active lina 3 paused hana 13 failed ivan 20 failed dina 13 active gus 27 failed chen 10 active
lina lina hana ivan dina gus chen
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0010639
qwen/qwen3.7-plus
awkweave-0010640
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23.
BEGIN{FS=OFS=","}$2>23{print $1}
gus,23,failed kim,12,paused chen,18,ready gus,10,closed lina,15,ready dina,1,pending bruno,13,closed chen,10,ready alice,26,pending eli,27,failed
alice eli
dina,5,paused eli,15,paused ivan,23,active chen,23,active ivan,10,ready bruno,21,active
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010640-p1
For comma-separated input without quoted fields, output the first column only if the second column's value is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
gus,23,failed kim,12,paused chen,18,ready gus,10,closed lina,15,ready dina,1,pending bruno,13,closed chen,10,ready alice,26,pending eli,27,failed
alice eli
dina,5,paused eli,15,paused ivan,23,active chen,23,active ivan,10,ready bruno,21,active
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010640
qwen/qwen3.7-plus
awkweave-0010641
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah cobalt 84 jules juniper 35 alice juniper 72 eli amber 40 bruno harbor 33 lina birch 99
farah cobalt 84 jules juniper 35 alice juniper 72 eli amber 40 bruno harbor 33 lina birch 99
gus ember 89 dina amber 51 ivan birch 73 bruno amber 11 gus juniper 75 gus ember 69 gus harbor 1 bruno juniper 111 farah cobalt 111 eli juniper 67
gus ember 89 dina amber 51 ivan birch 73 bruno amber 11 gus juniper 75 gus ember 69 gus harbor 1 bruno juniper 111 farah cobalt 111 eli juniper 67
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010641-p1
Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
farah cobalt 84 jules juniper 35 alice juniper 72 eli amber 40 bruno harbor 33 lina birch 99
farah cobalt 84 jules juniper 35 alice juniper 72 eli amber 40 bruno harbor 33 lina birch 99
gus ember 89 dina amber 51 ivan birch 73 bruno amber 11 gus juniper 75 gus ember 69 gus harbor 1 bruno juniper 111 farah cobalt 111 eli juniper 67
gus ember 89 dina amber 51 ivan birch 73 bruno amber 11 gus juniper 75 gus ember 69 gus harbor 1 bruno juniper 111 farah cobalt 111 eli juniper 67
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010641
qwen/qwen3.7-plus
awkweave-0010642
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice harbor 13 ready kim amber 116 closed hana ember 31 ready dina delta 113 pending gus juniper 110 active bruno cobalt 84 failed alice harbor 18 paused bruno delta 47 ready
dina delta 113 pending
lina grove 24 pending hana cobalt 74 failed alice birch 111 pending chen cobalt 41 closed eli cobalt 5 pending lina indigo 115 active eli grove 44 ready
alice birch 111 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010642-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
alice harbor 13 ready kim amber 116 closed hana ember 31 ready dina delta 113 pending gus juniper 110 active bruno cobalt 84 failed alice harbor 18 paused bruno delta 47 ready
dina delta 113 pending
lina grove 24 pending hana cobalt 74 failed alice birch 111 pending chen cobalt 41 closed eli cobalt 5 pending lina indigo 115 active eli grove 44 ready
alice birch 111 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010642
qwen/qwen3.7-plus
awkweave-0010643
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
chen 80 alice 111 farah 59 alice 100 jules 60 jules 88
alice 111 jules 88
jules 112 kim 98 lina 113 alice 113 lina 18 alice 82
kim 98 alice 82
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010643-p1
Output every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
chen 80 alice 111 farah 59 alice 100 jules 60 jules 88
alice 111 jules 88
jules 112 kim 98 lina 113 alice 113 lina 18 alice 82
kim 98 alice 82
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010643
qwen/qwen3.7-plus
awkweave-0010644
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta grove 9 alpha birch 68 beta birch 10 delta delta 57 beta grove 81 delta delta 51 beta delta 15 delta delta 87 alpha amber 79
3
gamma cobalt 112 beta birch 77 gamma harbor 79 gamma indigo 20 alpha indigo 22 gamma indigo 68 beta harbor 48 beta delta 45
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010644-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta grove 9 alpha birch 68 beta birch 10 delta delta 57 beta grove 81 delta delta 51 beta delta 15 delta delta 87 alpha amber 79
3
gamma cobalt 112 beta birch 77 gamma harbor 79 gamma indigo 20 alpha indigo 22 gamma indigo 68 beta harbor 48 beta delta 45
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010644
qwen/qwen3.7-plus
awkweave-0010645
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}
farah 14 0 chen 17 27 jules 15 9 farah 13 23 eli 28 24 farah 5 13
chen 0.63 jules 1.67 farah 0.57 eli 1.17 farah 0.38
eli 19 0 jules 17 14 alice 20 4 bruno 12 7 lina 3 30 chen 21 20 hana 22 20 kim 3 21 farah 22 29
jules 1.21 alice 5.00 bruno 1.71 lina 0.10 chen 1.05 hana 1.10 kim 0.14 farah 0.76
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010645-p1
For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 14 0 chen 17 27 jules 15 9 farah 13 23 eli 28 24 farah 5 13
chen 0.63 jules 1.67 farah 0.57 eli 1.17 farah 0.38
eli 19 0 jules 17 14 alice 20 4 bruno 12 7 lina 3 30 chen 21 20 hana 22 20 kim 3 21 farah 22 29
jules 1.21 alice 5.00 bruno 1.71 lina 0.10 chen 1.05 hana 1.10 kim 0.14 farah 0.76
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010645
qwen/qwen3.7-plus
awkweave-0010646
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]}
eli birch 18 farah harbor 25 ivan amber 15 alice grove 9 kim delta 10 gus amber 2
farah harbor 25 eli birch 18 ivan amber 15
bruno grove 17 bruno harbor 11 alice cobalt 7 lina birch 5 ivan indigo 17 hana cobalt 15
bruno grove 17 ivan indigo 17 hana cobalt 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010646-p1
Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
eli birch 18 farah harbor 25 ivan amber 15 alice grove 9 kim delta 10 gus amber 2
farah harbor 25 eli birch 18 ivan amber 15
bruno grove 17 bruno harbor 11 alice cobalt 7 lina birch 5 ivan indigo 17 hana cobalt 15
bruno grove 17 ivan indigo 17 hana cobalt 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010646
qwen/qwen3.7-plus
awkweave-0010647
For each line, output fields 5 and 3, in that order.
{print $5, $3}
59 delta failed 89 hana 70 25 harbor paused 61 farah 28 71 indigo pending 25 chen 45 110 birch ready 99 jules 30 99 grove pending 32 eli 107 8 amber closed 119 kim 109 85 cobalt active 29 eli 77 86 cobalt active 65 bruno 90 116 delta paused 48 kim 49 48 birch closed 105 jules 16
hana failed farah paused chen pending jules ready eli pending kim closed eli active bruno active kim paused jules closed
76 amber active 118 eli 102 56 harbor active 4 ivan 73 104 indigo active 52 bruno 33 61 amber failed 73 chen 58 15 birch paused 92 dina 86 96 indigo active 37 farah 33 76 juniper paused 67 farah 57 18 delta paused 58 eli 53 94 fable active 18 chen 4 85 birch closed 27 alice 87
eli active ivan active bruno active chen failed dina paused farah active farah paused eli paused chen active alice closed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010647-p1
For every line, print the fifth field followed by the third field.
{print $5, $3}
59 delta failed 89 hana 70 25 harbor paused 61 farah 28 71 indigo pending 25 chen 45 110 birch ready 99 jules 30 99 grove pending 32 eli 107 8 amber closed 119 kim 109 85 cobalt active 29 eli 77 86 cobalt active 65 bruno 90 116 delta paused 48 kim 49 48 birch closed 105 jules 16
hana failed farah paused chen pending jules ready eli pending kim closed eli active bruno active kim paused jules closed
76 amber active 118 eli 102 56 harbor active 4 ivan 73 104 indigo active 52 bruno 33 61 amber failed 73 chen 58 15 birch paused 92 dina 86 96 indigo active 37 farah 33 76 juniper paused 67 farah 57 18 delta paused 58 eli 53 94 fable active 18 chen 4 85 birch closed 27 alice 87
eli active ivan active bruno active chen failed dina paused farah active farah paused eli paused chen active alice closed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010647
qwen/qwen3.7-plus
awkweave-0010648
Print the last field of every input line.
{print $NF}
ready 79 fable 54 pending 22 delta 83 closed 81 fable 89 paused 83 harbor 10 failed 97 birch 55 active 74 birch 22 failed 75 ember 79 active 0 indigo 70 pending 36 amber 47
54 83 89 10 55 22 79 70 47
pending 49 harbor 73 paused 87 cobalt 6 active 12 cobalt 26 failed 75 ember 104 failed 104 birch 45 closed 118 indigo 81
73 6 26 104 45 81
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010648-p1
Output the final field from each input line.
{print $NF}
ready 79 fable 54 pending 22 delta 83 closed 81 fable 89 paused 83 harbor 10 failed 97 birch 55 active 74 birch 22 failed 75 ember 79 active 0 indigo 70 pending 36 amber 47
54 83 89 10 55 22 79 70 47
pending 49 harbor 73 paused 87 cobalt 6 active 12 cobalt 26 failed 75 ember 104 failed 104 birch 45 closed 118 indigo 81
73 6 26 104 45 81
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010648
qwen/qwen3.7-plus
awkweave-0010649
Print the complete records where column 1 is greater than 74.
$1 > 74
14 dina paused 8 ivan paused 86 lina pending 22 farah ready 37 ivan failed 117 lina active
86 lina pending 117 lina active
0 gus pending 87 farah closed 0 dina paused 92 lina pending 84 bruno ready 82 eli paused 20 kim closed 77 lina closed
87 farah closed 92 lina pending 84 bruno ready 82 eli paused 77 lina closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010649-p1
Display full records where the value in the first column exceeds 74.
$1 > 74
14 dina paused 8 ivan paused 86 lina pending 22 farah ready 37 ivan failed 117 lina active
86 lina pending 117 lina active
0 gus pending 87 farah closed 0 dina paused 92 lina pending 84 bruno ready 82 eli paused 20 kim closed 77 lina closed
87 farah closed 92 lina pending 84 bruno ready 82 eli paused 77 lina closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010649
qwen/qwen3.7-plus
awkweave-0010650
Show whole lines whose 2nd field is between 7 and 22, inclusive.
$2 >= 7 && $2 <= 22
paused 24 pending birch pending 8 pending birch pending 6 pending delta pending 6 failed juniper active 15 paused grove paused 11 closed harbor closed 11 failed amber closed 18 ready delta
pending 8 pending birch active 15 paused grove paused 11 closed harbor closed 11 failed amber closed 18 ready delta
active 19 pending ember active 25 closed fable ready 5 failed harbor pending 30 pending cobalt failed 26 paused harbor ready 13 closed birch failed 28 active cobalt ready 23 active harbor
active 19 pending ember ready 13 closed birch
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010650-p1
Show entire lines where the second field falls within the range of 7 to 22, inclusive.
$2 >= 7 && $2 <= 22
paused 24 pending birch pending 8 pending birch pending 6 pending delta pending 6 failed juniper active 15 paused grove paused 11 closed harbor closed 11 failed amber closed 18 ready delta
pending 8 pending birch active 15 paused grove paused 11 closed harbor closed 11 failed amber closed 18 ready delta
active 19 pending ember active 25 closed fable ready 5 failed harbor pending 30 pending cobalt failed 26 paused harbor ready 13 closed birch failed 28 active cobalt ready 23 active harbor
active 19 pending ember ready 13 closed birch
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010650
qwen/qwen3.7-plus
awkweave-0010651
Print column 1 only for rows where column 4 is exactly paused.
$4 == "paused"{print $1}
bruno 35 juniper paused ivan 41 cobalt closed dina 88 amber pending bruno 15 ember active eli 111 ember failed chen 52 juniper active
bruno
kim 27 amber pending kim 91 indigo paused hana 20 indigo ready eli 117 harbor closed ivan 63 harbor ready farah 98 grove closed dina 49 indigo failed ivan 14 grove active
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010651-p1
Output only the first column for rows where the fourth column is exactly 'paused'.
$4 == "paused"{print $1}
bruno 35 juniper paused ivan 41 cobalt closed dina 88 amber pending bruno 15 ember active eli 111 ember failed chen 52 juniper active
bruno
kim 27 amber pending kim 91 indigo paused hana 20 indigo ready eli 117 harbor closed ivan 63 harbor ready farah 98 grove closed dina 49 indigo failed ivan 14 grove active
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010651
qwen/qwen3.7-plus
awkweave-0010652
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
74 DEBUG amber 15 INFO fable 54 DEBUG grove 49 ERROR cobalt 86 DEBUG harbor 17 WARN grove 39 WARN indigo 40 DEBUG fable
17 WARN grove 39 WARN indigo
23 DEBUG juniper 22 DEBUG cobalt 35 WARN fable 37 INFO juniper 20 DEBUG fable 115 WARN indigo 25 DEBUG cobalt 77 ERROR harbor 65 ERROR juniper 117 WARN fable
35 WARN fable 115 WARN indigo 117 WARN fable
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010652-p1
Print all fields from lines where the second field starts with 'WARN'.
$2 ~ /^WARN/
74 DEBUG amber 15 INFO fable 54 DEBUG grove 49 ERROR cobalt 86 DEBUG harbor 17 WARN grove 39 WARN indigo 40 DEBUG fable
17 WARN grove 39 WARN indigo
23 DEBUG juniper 22 DEBUG cobalt 35 WARN fable 37 INFO juniper 20 DEBUG fable 115 WARN indigo 25 DEBUG cobalt 77 ERROR harbor 65 ERROR juniper 117 WARN fable
35 WARN fable 115 WARN indigo 117 WARN fable
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010652
qwen/qwen3.7-plus
awkweave-0010653
Print every line except those containing the exact text delta.
$0 !~ /delta/
grove 94 closed fable 48 pending harbor 86 pending harbor 65 closed amber 61 pending amber 5 paused harbor 49 active grove 112 active fable 44 active delta 999 active
grove 94 closed fable 48 pending harbor 86 pending harbor 65 closed amber 61 pending amber 5 paused harbor 49 active grove 112 active fable 44 active
birch 116 ready amber 96 pending ember 112 pending juniper 113 closed ember 23 closed juniper 67 active delta 999 active
birch 116 ready amber 96 pending ember 112 pending juniper 113 closed ember 23 closed juniper 67 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010653-p1
Output every line that does not contain the exact string 'delta'.
$0 !~ /delta/
grove 94 closed fable 48 pending harbor 86 pending harbor 65 closed amber 61 pending amber 5 paused harbor 49 active grove 112 active fable 44 active delta 999 active
grove 94 closed fable 48 pending harbor 86 pending harbor 65 closed amber 61 pending amber 5 paused harbor 49 active grove 112 active fable 44 active
birch 116 ready amber 96 pending ember 112 pending juniper 113 closed ember 23 closed juniper 67 active delta 999 active
birch 116 ready amber 96 pending ember 112 pending juniper 113 closed ember 23 closed juniper 67 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010653
qwen/qwen3.7-plus
awkweave-0010654
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
ivan birch 42 hana delta 105 farah harbor 19 dina harbor 76 eli delta 43 bruno birch 16
hana delta 105 farah harbor 19
jules birch 17 farah grove 11 jules amber 87 alice cobalt 95 hana amber 21 dina amber 48
farah grove 11 jules amber 87
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010654-p1
Print lines 2 through 3, inclusive.
NR >= 2 && NR <= 3
ivan birch 42 hana delta 105 farah harbor 19 dina harbor 76 eli delta 43 bruno birch 16
hana delta 105 farah harbor 19
jules birch 17 farah grove 11 jules amber 87 alice cobalt 95 hana amber 21 dina amber 48
farah grove 11 jules amber 87
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010654
qwen/qwen3.7-plus
awkweave-0010655
Output only the first 4 records.
NR <= 4
lina 110 fable ivan 53 grove gus 53 fable farah 13 ember kim 73 delta gus 61 indigo alice 35 ember ivan 90 ember
lina 110 fable ivan 53 grove gus 53 fable farah 13 ember
eli 9 birch chen 7 fable ivan 120 delta eli 35 cobalt kim 55 indigo dina 6 delta
eli 9 birch chen 7 fable ivan 120 delta eli 35 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010655-p1
Output only the first 4 records.
NR <= 4
lina 110 fable ivan 53 grove gus 53 fable farah 13 ember kim 73 delta gus 61 indigo alice 35 ember ivan 90 ember
lina 110 fable ivan 53 grove gus 53 fable farah 13 ember
eli 9 birch chen 7 fable ivan 120 delta eli 35 cobalt kim 55 indigo dina 6 delta
eli 9 birch chen 7 fable ivan 120 delta eli 35 cobalt
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0010655
qwen/qwen3.7-plus
awkweave-0010656
Skip the first line and print every remaining line unchanged.
NR > 1
hana 42 indigo bruno 32 cobalt eli 33 juniper bruno 30 juniper gus 78 indigo ivan 66 ember lina 104 grove lina 80 indigo kim 3 juniper
bruno 32 cobalt eli 33 juniper bruno 30 juniper gus 78 indigo ivan 66 ember lina 104 grove lina 80 indigo kim 3 juniper
ivan 77 ember alice 64 cobalt kim 113 amber chen 24 cobalt eli 68 juniper kim 105 indigo dina 19 birch farah 42 birch
alice 64 cobalt kim 113 amber chen 24 cobalt eli 68 juniper kim 105 indigo dina 19 birch farah 42 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010656-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
hana 42 indigo bruno 32 cobalt eli 33 juniper bruno 30 juniper gus 78 indigo ivan 66 ember lina 104 grove lina 80 indigo kim 3 juniper
bruno 32 cobalt eli 33 juniper bruno 30 juniper gus 78 indigo ivan 66 ember lina 104 grove lina 80 indigo kim 3 juniper
ivan 77 ember alice 64 cobalt kim 113 amber chen 24 cobalt eli 68 juniper kim 105 indigo dina 19 birch farah 42 birch
alice 64 cobalt kim 113 amber chen 24 cobalt eli 68 juniper kim 105 indigo dina 19 birch farah 42 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010656
qwen/qwen3.7-plus
awkweave-0010657
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
bruno active 106 dina ready 118 eli pending 33 kim failed 96 chen ready 36 farah failed 5
0
alice paused 89 jules pending 114 bruno pending 13 kim active 63 farah active 77 gus active 68
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010657-p1
Count the number of records with 'paused' in the second column; output 0 if none exist.
$2 == "paused"{n++}END{print n+0}
bruno active 106 dina ready 118 eli pending 33 kim failed 96 chen ready 36 farah failed 5
0
alice paused 89 jules pending 114 bruno pending 13 kim active 63 farah active 77 gus active 68
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010657
qwen/qwen3.7-plus
awkweave-0010658
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
grove 6 ivan amber 7 farah delta 19 dina amber 10 farah cobalt 21 hana amber 17 dina indigo 17 ivan birch 12 dina
109
delta 14 alice birch 5 ivan cobalt 8 jules indigo 11 kim amber 13 eli fable 1 lina amber 22 eli indigo 9 chen fable 26 kim
109
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010658-p1
Compute and display the sum of integer values in the second column.
{s+=$2}END{print s+0}
grove 6 ivan amber 7 farah delta 19 dina amber 10 farah cobalt 21 hana amber 17 dina indigo 17 ivan birch 12 dina
109
delta 14 alice birch 5 ivan cobalt 8 jules indigo 11 kim amber 13 eli fable 1 lina amber 22 eli indigo 9 chen fable 26 kim
109
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010658
qwen/qwen3.7-plus
awkweave-0010659
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 2 eli indigo 22 kim cobalt 22 gus fable 25 eli ember 3 gus amber 22 chen harbor 23 jules fable 17 jules grove 17 chen ember 24 gus
17.70
juniper 8 hana amber 12 bruno delta 6 chen cobalt 7 kim juniper 20 bruno delta 29 farah birch 15 gus fable 1 hana grove 17 lina
12.78
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010659-p1
Calculate and print the average of the second column, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 2 eli indigo 22 kim cobalt 22 gus fable 25 eli ember 3 gus amber 22 chen harbor 23 jules fable 17 jules grove 17 chen ember 24 gus
17.70
juniper 8 hana amber 12 bruno delta 6 chen cobalt 7 kim juniper 20 bruno delta 29 farah birch 15 gus fable 1 hana grove 17 lina
12.78
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010659
qwen/qwen3.7-plus
awkweave-0010660
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
22 harbor farah 21 grove lina 28 indigo kim 26 amber ivan 22 fable lina 2 birch lina 28 indigo alice 10 amber hana 27 delta gus
2
25 delta gus 1 amber bruno 29 amber jules 26 cobalt chen 14 grove hana 5 cobalt lina 28 ember ivan 14 harbor alice 9 indigo dina
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null