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-0002500-p1
Output the first column only for those rows where the fourth column contains exactly the text ready.
$4 == "ready"{print $1}
bruno 108 ember failed bruno 85 amber closed alice 44 birch ready farah 17 harbor paused kim 18 grove paused bruno 2 ember active farah 14 fable active dina 7 delta paused
alice
ivan 100 fable closed ivan 82 birch closed kim 86 grove active bruno 96 indigo ready dina 62 harbor ready hana 46 harbor pending dina 104 ember active hana 50 amber closed bruno 96 cobalt paused
bruno dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002500
qwen/qwen3.7-plus
awkweave-0002501
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
fable 87 WARN delta 111 DEBUG delta 60 ERROR fable 84 DEBUG delta 56 DEBUG fable 59 WARN juniper 83 ERROR
delta 60 ERROR juniper 83 ERROR
harbor 105 INFO fable 92 ERROR grove 97 DEBUG juniper 119 ERROR ember 16 ERROR cobalt 104 INFO juniper 83 WARN juniper 87 ERROR juniper 113 ERROR
fable 92 ERROR juniper 119 ERROR ember 16 ERROR juniper 87 ERROR juniper 113 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002501-p1
Print all fields from any line where the third field starts with the string ERROR.
$3 ~ /^ERROR/
fable 87 WARN delta 111 DEBUG delta 60 ERROR fable 84 DEBUG delta 56 DEBUG fable 59 WARN juniper 83 ERROR
delta 60 ERROR juniper 83 ERROR
harbor 105 INFO fable 92 ERROR grove 97 DEBUG juniper 119 ERROR ember 16 ERROR cobalt 104 INFO juniper 83 WARN juniper 87 ERROR juniper 113 ERROR
fable 92 ERROR juniper 119 ERROR ember 16 ERROR juniper 87 ERROR juniper 113 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002501
qwen/qwen3.7-plus
awkweave-0002502
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
juniper 4 paused birch 109 active cobalt 27 paused grove 67 pending birch 1 pending cobalt 33 paused cobalt 102 failed cobalt 999 active
juniper 4 paused birch 109 active grove 67 pending birch 1 pending
ember 97 active juniper 74 failed cobalt 24 paused harbor 113 pending amber 4 active birch 94 ready grove 37 pending fable 7 paused cobalt 999 active
ember 97 active juniper 74 failed harbor 113 pending amber 4 active birch 94 ready grove 37 pending fable 7 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002502-p1
Output every line from the input except those that contain the exact substring cobalt.
$0 !~ /cobalt/
juniper 4 paused birch 109 active cobalt 27 paused grove 67 pending birch 1 pending cobalt 33 paused cobalt 102 failed cobalt 999 active
juniper 4 paused birch 109 active grove 67 pending birch 1 pending
ember 97 active juniper 74 failed cobalt 24 paused harbor 113 pending amber 4 active birch 94 ready grove 37 pending fable 7 paused cobalt 999 active
ember 97 active juniper 74 failed harbor 113 pending amber 4 active birch 94 ready grove 37 pending fable 7 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002502
qwen/qwen3.7-plus
awkweave-0002503
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
bruno delta 31 dina amber 87 bruno delta 33 ivan fable 75 chen juniper 19 chen juniper 28
dina amber 87 bruno delta 33 ivan fable 75
eli fable 99 dina delta 88 chen harbor 2 kim delta 79 alice delta 77 chen fable 86 ivan indigo 108 alice indigo 31 hana juniper 82 gus harbor 90
dina delta 88 chen harbor 2 kim delta 79
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002503-p1
Print lines 2, 3, and 4, inclusive.
NR >= 2 && NR <= 4
bruno delta 31 dina amber 87 bruno delta 33 ivan fable 75 chen juniper 19 chen juniper 28
dina amber 87 bruno delta 33 ivan fable 75
eli fable 99 dina delta 88 chen harbor 2 kim delta 79 alice delta 77 chen fable 86 ivan indigo 108 alice indigo 31 hana juniper 82 gus harbor 90
dina delta 88 chen harbor 2 kim delta 79
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002503
qwen/qwen3.7-plus
awkweave-0002504
Output only the first 3 records.
NR <= 3
hana 110 fable bruno 100 delta farah 87 fable farah 93 juniper jules 119 grove dina 94 indigo bruno 5 birch
hana 110 fable bruno 100 delta farah 87 fable
kim 61 ember eli 116 birch ivan 82 harbor bruno 99 grove gus 39 cobalt farah 80 cobalt chen 55 amber
kim 61 ember eli 116 birch ivan 82 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002504-p1
Limit the output to the first three records only.
NR <= 3
hana 110 fable bruno 100 delta farah 87 fable farah 93 juniper jules 119 grove dina 94 indigo bruno 5 birch
hana 110 fable bruno 100 delta farah 87 fable
kim 61 ember eli 116 birch ivan 82 harbor bruno 99 grove gus 39 cobalt farah 80 cobalt chen 55 amber
kim 61 ember eli 116 birch ivan 82 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002504
qwen/qwen3.7-plus
awkweave-0002505
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 3 cobalt hana 84 grove ivan 63 juniper chen 38 amber farah 76 fable lina 0 grove gus 25 indigo
hana 84 grove ivan 63 juniper chen 38 amber farah 76 fable lina 0 grove gus 25 indigo
gus 73 birch hana 108 delta jules 105 juniper hana 104 amber gus 91 amber farah 37 cobalt chen 96 birch ivan 3 cobalt farah 51 harbor ivan 81 cobalt
hana 108 delta jules 105 juniper hana 104 amber gus 91 amber farah 37 cobalt chen 96 birch ivan 3 cobalt farah 51 harbor ivan 81 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002505-p1
Discard the first line and print all remaining lines exactly as they appear.
NR > 1
bruno 3 cobalt hana 84 grove ivan 63 juniper chen 38 amber farah 76 fable lina 0 grove gus 25 indigo
hana 84 grove ivan 63 juniper chen 38 amber farah 76 fable lina 0 grove gus 25 indigo
gus 73 birch hana 108 delta jules 105 juniper hana 104 amber gus 91 amber farah 37 cobalt chen 96 birch ivan 3 cobalt farah 51 harbor ivan 81 cobalt
hana 108 delta jules 105 juniper hana 104 amber gus 91 amber farah 37 cobalt chen 96 birch ivan 3 cobalt farah 51 harbor ivan 81 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002505
qwen/qwen3.7-plus
awkweave-0002506
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
lina paused 8 gus failed 32 farah failed 45 gus pending 108 alice active 93 gus paused 29 alice paused 68 kim pending 9
0
dina pending 37 lina failed 112 hana pending 59 gus ready 114 ivan active 43 hana paused 37 bruno closed 51 lina ready 100
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002506-p1
Count the occurrences of 'ready' in the second column and output 0 if none are found.
$2 == "ready"{n++}END{print n+0}
lina paused 8 gus failed 32 farah failed 45 gus pending 108 alice active 93 gus paused 29 alice paused 68 kim pending 9
0
dina pending 37 lina failed 112 hana pending 59 gus ready 114 ivan active 43 hana paused 37 bruno closed 51 lina ready 100
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002506
qwen/qwen3.7-plus
awkweave-0002507
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
20 amber dina 25 harbor kim 7 amber jules 30 birch alice 27 grove eli 23 amber chen
132
3 amber kim 12 amber ivan 18 juniper chen 18 fable farah 17 delta lina 8 harbor kim 13 amber alice
89
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002507-p1
Compute and display the total sum of all integer values in the first column.
{s+=$1}END{print s+0}
20 amber dina 25 harbor kim 7 amber jules 30 birch alice 27 grove eli 23 amber chen
132
3 amber kim 12 amber ivan 18 juniper chen 18 fable farah 17 delta lina 8 harbor kim 13 amber alice
89
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002507
qwen/qwen3.7-plus
awkweave-0002508
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
10 ember gus 10 birch lina 14 birch eli 23 grove farah 3 indigo chen 10 fable dina 21 delta hana 3 cobalt farah 20 delta bruno 11 harbor eli
12.50
4 harbor gus 30 indigo lina 11 indigo jules 21 amber ivan 13 grove ivan 22 harbor jules 6 juniper hana 22 ember hana 27 cobalt chen 29 birch hana
18.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002508-p1
Output the average of the values in column 1, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
10 ember gus 10 birch lina 14 birch eli 23 grove farah 3 indigo chen 10 fable dina 21 delta hana 3 cobalt farah 20 delta bruno 11 harbor eli
12.50
4 harbor gus 30 indigo lina 11 indigo jules 21 amber ivan 13 grove ivan 22 harbor jules 6 juniper hana 22 ember hana 27 cobalt chen 29 birch hana
18.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002508
qwen/qwen3.7-plus
awkweave-0002509
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
kim 15 amber alice 17 delta lina 25 grove lina 5 indigo eli 3 amber alice 14 juniper jules 11 indigo kim 18 birch
3
ivan 28 delta eli 17 birch alice 5 grove dina 22 fable eli 15 grove hana 16 ember jules 17 cobalt bruno 3 juniper
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002509-p1
Identify and print the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
kim 15 amber alice 17 delta lina 25 grove lina 5 indigo eli 3 amber alice 14 juniper jules 11 indigo kim 18 birch
3
ivan 28 delta eli 17 birch alice 5 grove dina 22 fable eli 15 grove hana 16 ember jules 17 cobalt bruno 3 juniper
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002509
qwen/qwen3.7-plus
awkweave-0002510
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
10 indigo lina 7 amber dina 19 delta alice 7 cobalt farah 2 juniper eli 12 ember bruno 27 harbor gus 18 cobalt lina 23 harbor kim
27
23 harbor eli 24 harbor gus 21 juniper dina 11 juniper gus 14 birch alice 29 delta ivan 12 juniper chen 18 juniper alice 27 ember hana
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002510-p1
Identify and print the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
10 indigo lina 7 amber dina 19 delta alice 7 cobalt farah 2 juniper eli 12 ember bruno 27 harbor gus 18 cobalt lina 23 harbor kim
27
23 harbor eli 24 harbor gus 21 juniper dina 11 juniper gus 14 birch alice 29 delta ivan 12 juniper chen 18 juniper alice 27 ember hana
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002510
qwen/qwen3.7-plus
awkweave-0002511
Count all input records and print the total.
END{print NR}
bruno 23 hana 108 dina 12 jules 31 ivan 111 jules 86 kim 114
7
jules 0 eli 46 bruno 112 chen 60 chen 61 ivan 35 eli 48 jules 77
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002511-p1
Count the total number of input records and print the result.
END{print NR}
bruno 23 hana 108 dina 12 jules 31 ivan 111 jules 86 kim 114
7
jules 0 eli 46 bruno 112 chen 60 chen 61 ivan 35 eli 48 jules 77
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002511
qwen/qwen3.7-plus
awkweave-0002512
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules birch 76 eli harbor 7 bruno fable 4 hana fable 51 gus delta 114 chen indigo 62 jules amber 54 chen indigo 62 chen indigo 84
jules birch 76 eli harbor 7 bruno fable 4 hana fable 51 gus delta 114 chen indigo 62 jules amber 54 chen indigo 84
kim fable 53 chen birch 76 chen birch 76 kim indigo 95 farah amber 78 alice indigo 23 farah cobalt 51 chen amber 71
kim fable 53 chen birch 76 kim indigo 95 farah amber 78 alice indigo 23 farah cobalt 51 chen amber 71
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002512-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
jules birch 76 eli harbor 7 bruno fable 4 hana fable 51 gus delta 114 chen indigo 62 jules amber 54 chen indigo 62 chen indigo 84
jules birch 76 eli harbor 7 bruno fable 4 hana fable 51 gus delta 114 chen indigo 62 jules amber 54 chen indigo 84
kim fable 53 chen birch 76 chen birch 76 kim indigo 95 farah amber 78 alice indigo 23 farah cobalt 51 chen amber 71
kim fable 53 chen birch 76 kim indigo 95 farah amber 78 alice indigo 23 farah cobalt 51 chen amber 71
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002512
qwen/qwen3.7-plus
awkweave-0002513
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
hana cobalt 34 dina harbor 64 hana fable 22 kim grove 68 farah ember 86 ivan amber 22 hana grove 8 hana indigo 5 dina ember 83 ivan birch 8
hana cobalt 34 dina harbor 64 kim grove 68 farah ember 86 ivan amber 22
hana birch 10 bruno amber 72 chen amber 17 kim cobalt 65 hana amber 18 lina birch 107 lina indigo 112 eli birch 72
hana birch 10 bruno amber 72 chen amber 17 kim cobalt 65 lina birch 107 eli birch 72
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002513-p1
Retain only the first line for each unique value in column 1, preserving the input order.
!seen[$1]++
hana cobalt 34 dina harbor 64 hana fable 22 kim grove 68 farah ember 86 ivan amber 22 hana grove 8 hana indigo 5 dina ember 83 ivan birch 8
hana cobalt 34 dina harbor 64 kim grove 68 farah ember 86 ivan amber 22
hana birch 10 bruno amber 72 chen amber 17 kim cobalt 65 hana amber 18 lina birch 107 lina indigo 112 eli birch 72
hana birch 10 bruno amber 72 chen amber 17 kim cobalt 65 lina birch 107 eli birch 72
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002513
qwen/qwen3.7-plus
awkweave-0002514
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 16 harbor gus 9 fable bruno 30 grove alice 28 juniper gus 24 cobalt ivan 27 birch alice 8 cobalt dina 30 cobalt jules 26 delta
jules 16 gus 25 bruno 55 alice 83 gus 107 ivan 134 alice 142 dina 172 jules 198
hana 12 cobalt kim 18 grove eli 1 harbor jules 28 delta hana 22 ember kim 4 indigo gus 15 cobalt kim 29 delta lina 28 cobalt
hana 12 kim 30 eli 31 jules 59 hana 81 kim 85 gus 100 kim 129 lina 157
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002514-p1
For each record, output column 1 and the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 16 harbor gus 9 fable bruno 30 grove alice 28 juniper gus 24 cobalt ivan 27 birch alice 8 cobalt dina 30 cobalt jules 26 delta
jules 16 gus 25 bruno 55 alice 83 gus 107 ivan 134 alice 142 dina 172 jules 198
hana 12 cobalt kim 18 grove eli 1 harbor jules 28 delta hana 22 ember kim 4 indigo gus 15 cobalt kim 29 delta lina 28 cobalt
hana 12 kim 30 eli 31 jules 59 hana 81 kim 85 gus 100 kim 129 lina 157
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002514
qwen/qwen3.7-plus
awkweave-0002515
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 12 2 amber farah 19 29 birch kim 16 7 birch chen 17 20 indigo eli 30 21 fable hana 17 19 delta kim 13 1 ember
chen 14 farah 48 kim 23 chen 37 eli 51 hana 36 kim 14
chen 24 28 harbor gus 1 13 amber eli 29 29 ember eli 11 6 grove ivan 14 15 grove hana 29 26 amber jules 2 23 indigo
chen 52 gus 14 eli 58 eli 17 ivan 29 hana 55 jules 25
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002515-p1
For every row, print the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
chen 12 2 amber farah 19 29 birch kim 16 7 birch chen 17 20 indigo eli 30 21 fable hana 17 19 delta kim 13 1 ember
chen 14 farah 48 kim 23 chen 37 eli 51 hana 36 kim 14
chen 24 28 harbor gus 1 13 amber eli 29 29 ember eli 11 6 grove ivan 14 15 grove hana 29 26 amber jules 2 23 indigo
chen 52 gus 14 eli 58 eli 17 ivan 29 hana 55 jules 25
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002515
qwen/qwen3.7-plus
awkweave-0002516
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
gus 19 hana 21 alice 23 farah 27 eli 14 lina 21 lina 3 gus 3 gus 15
gus fail hana fail alice fail farah pass eli fail lina fail lina fail gus fail gus fail
chen 4 ivan 26 alice 19 alice 23 alice 5 kim 25
chen fail ivan fail alice fail alice fail alice fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002516-p1
Print the value in column 1 along with 'pass' if column 2 is 27 or greater; otherwise, print 'fail'.
{print $1,($2>=27?"pass":"fail")}
gus 19 hana 21 alice 23 farah 27 eli 14 lina 21 lina 3 gus 3 gus 15
gus fail hana fail alice fail farah pass eli fail lina fail lina fail gus fail gus fail
chen 4 ivan 26 alice 19 alice 23 alice 5 kim 25
chen fail ivan fail alice fail alice fail alice fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002516
qwen/qwen3.7-plus
awkweave-0002517
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
ivan delta 26 dina juniper 49 alice ember 101 alice grove 39 bruno birch 13 dina juniper 90 dina indigo 19
DELTA JUNIPER EMBER GROVE BIRCH JUNIPER INDIGO
jules ember 33 bruno fable 100 kim cobalt 94 lina fable 80 chen delta 100 eli fable 28 bruno fable 12 ivan cobalt 109 jules grove 92 kim juniper 34
EMBER FABLE COBALT FABLE DELTA FABLE FABLE COBALT GROVE JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002517-p1
Transform the text in column 2 to uppercase and output only that column.
{print toupper($2)}
ivan delta 26 dina juniper 49 alice ember 101 alice grove 39 bruno birch 13 dina juniper 90 dina indigo 19
DELTA JUNIPER EMBER GROVE BIRCH JUNIPER INDIGO
jules ember 33 bruno fable 100 kim cobalt 94 lina fable 80 chen delta 100 eli fable 28 bruno fable 12 ivan cobalt 109 jules grove 92 kim juniper 34
EMBER FABLE COBALT FABLE DELTA FABLE FABLE COBALT GROVE JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002517
qwen/qwen3.7-plus
awkweave-0002518
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
grove 98 ember 25 birch 83 fable 55 grove 12 fable 92 juniper 3
gro emb bir fab gro fab jun
ember 95 cobalt 94 ember 89 amber 83 amber 50 grove 36 delta 58 cobalt 74 indigo 43 fable 70
emb cob emb amb amb gro del cob ind fab
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002518-p1
Extract and display the first 3 characters from the first column.
{print substr($1,1,3)}
grove 98 ember 25 birch 83 fable 55 grove 12 fable 92 juniper 3
gro emb bir fab gro fab jun
ember 95 cobalt 94 ember 89 amber 83 amber 50 grove 36 delta 58 cobalt 74 indigo 43 fable 70
emb cob emb amb amb gro del cob ind fab
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002518
qwen/qwen3.7-plus
awkweave-0002519
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_delta 101 cobalt_harbor 19 indigo_amber 42 birch_juniper 25 delta_birch 8 cobalt_cobalt 43 ember_indigo 74
fable delta cobalt harbor indigo amber birch juniper delta birch cobalt cobalt ember indigo
fable_amber 37 fable_cobalt 80 ember_indigo 63 harbor_indigo 3 harbor_harbor 23 indigo_birch 65 birch_grove 26
fable amber fable cobalt ember indigo harbor indigo harbor harbor indigo birch birch grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002519-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
fable_delta 101 cobalt_harbor 19 indigo_amber 42 birch_juniper 25 delta_birch 8 cobalt_cobalt 43 ember_indigo 74
fable delta cobalt harbor indigo amber birch juniper delta birch cobalt cobalt ember indigo
fable_amber 37 fable_cobalt 80 ember_indigo 63 harbor_indigo 3 harbor_harbor 23 indigo_birch 65 birch_grove 26
fable amber fable cobalt ember indigo harbor indigo harbor harbor indigo birch birch grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002519
qwen/qwen3.7-plus
awkweave-0002520
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)}
dina birch 68 closed bruno birch 31 active bruno amber 111 ready hana grove 24 ready lina fable 12 ready lina ember 50 ready eli delta 106 ready ivan fable 58 active kim birch 55 failed kim cobalt 103 pending
closed 68 birch dina active 31 birch bruno ready 111 amber bruno ready 24 grove hana ready 12 fable lina ready 50 ember lina ready 106 delta eli active 58 fable ivan failed 55 birch kim pending 103 cobalt kim
alice birch 92 pending kim ember 78 active jules indigo 59 pending kim birch 111 ready alice fable 110 closed alice amber 109 closed
pending 92 birch alice active 78 ember kim pending 59 indigo jules ready 111 birch kim closed 110 fable alice closed 109 amber alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002520-p1
Reverse the sequence of fields for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina birch 68 closed bruno birch 31 active bruno amber 111 ready hana grove 24 ready lina fable 12 ready lina ember 50 ready eli delta 106 ready ivan fable 58 active kim birch 55 failed kim cobalt 103 pending
closed 68 birch dina active 31 birch bruno ready 111 amber bruno ready 24 grove hana ready 12 fable lina ready 50 ember lina ready 106 delta eli active 58 fable ivan failed 55 birch kim pending 103 cobalt kim
alice birch 92 pending kim ember 78 active jules indigo 59 pending kim birch 111 ready alice fable 110 closed alice amber 109 closed
pending 92 birch alice active 78 ember kim pending 59 indigo jules ready 111 birch kim closed 110 fable alice closed 109 amber alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002520
qwen/qwen3.7-plus
awkweave-0002521
Print the number of whitespace-separated fields on each line.
{print NF}
kim harbor 114 failed alice juniper 18 active bruno birch 78 paused dina delta 63 failed farah fable 106 active alice grove 99 paused
4 4 4 4 4 4
hana grove 68 active lina ember 61 closed dina indigo 36 failed ivan indigo 45 pending gus juniper 65 ready farah harbor 100 active chen birch 117 failed chen amber 62 active hana fable 94 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002521-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
kim harbor 114 failed alice juniper 18 active bruno birch 78 paused dina delta 63 failed farah fable 106 active alice grove 99 paused
4 4 4 4 4 4
hana grove 68 active lina ember 61 closed dina indigo 36 failed ivan indigo 45 pending gus juniper 65 ready farah harbor 100 active chen birch 117 failed chen amber 62 active hana fable 94 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002521
qwen/qwen3.7-plus
awkweave-0002522
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]]}
chen alpha 25 farah gamma 71 jules alpha 41 eli gamma 74 bruno gamma 75 hana alpha 103 bruno delta 36 jules alpha 59 hana beta 46 alice delta 94
alpha 4 gamma 3 delta 2 beta 1
bruno gamma 60 eli beta 23 chen beta 47 jules delta 5 eli alpha 106 kim gamma 119 jules beta 120 kim delta 66 jules delta 89 dina gamma 89
gamma 3 beta 3 delta 3 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002522-p1
Tally the records for each unique value in the second column, then print each value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
chen alpha 25 farah gamma 71 jules alpha 41 eli gamma 74 bruno gamma 75 hana alpha 103 bruno delta 36 jules alpha 59 hana beta 46 alice delta 94
alpha 4 gamma 3 delta 2 beta 1
bruno gamma 60 eli beta 23 chen beta 47 jules delta 5 eli alpha 106 kim gamma 119 jules beta 120 kim delta 66 jules delta 89 dina gamma 89
gamma 3 beta 3 delta 3 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002522
qwen/qwen3.7-plus
awkweave-0002523
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli gamma 7 alice gamma 15 gus delta 22 hana alpha 18 chen alpha 9 farah alpha 8
gamma 22 delta 22 alpha 35
ivan alpha 16 eli beta 23 hana beta 13 kim alpha 20 farah beta 19 jules alpha 25
alpha 61 beta 55
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002523-p1
Calculate the sum of the third column grouped by the second column, displaying the results in the order of the group's first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli gamma 7 alice gamma 15 gus delta 22 hana alpha 18 chen alpha 9 farah alpha 8
gamma 22 delta 22 alpha 35
ivan alpha 16 eli beta 23 hana beta 13 kim alpha 20 farah beta 19 jules alpha 25
alpha 61 beta 55
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002523
qwen/qwen3.7-plus
awkweave-0002524
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 117 gamma amber 8 beta fable 98 alpha harbor 100 gamma indigo 63 delta harbor 119 delta fable 67 alpha fable 78 beta ember 56
beta 3 gamma 2 alpha 2 delta 2
delta delta 119 alpha birch 89 beta juniper 120 delta grove 104 gamma juniper 86 alpha indigo 79 gamma indigo 71 alpha juniper 109
delta 2 alpha 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002524-p1
List each duplicate value from the first column 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]]}
beta harbor 117 gamma amber 8 beta fable 98 alpha harbor 100 gamma indigo 63 delta harbor 119 delta fable 67 alpha fable 78 beta ember 56
beta 3 gamma 2 alpha 2 delta 2
delta delta 119 alpha birch 89 beta juniper 120 delta grove 104 gamma juniper 86 alpha indigo 79 gamma indigo 71 alpha juniper 109
delta 2 alpha 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002524
qwen/qwen3.7-plus
awkweave-0002525
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state display_name region score r001 bruno 30 active r002 bruno 13 paused r003 alice 17 failed r004 jules 11 paused r005 gus 9 closed r006 kim 13 pending r007 dina 6 pending r008 kim 14 pending r009 jules 20 ready r010 alice 13 failed
bruno bruno alice jules gus kim dina kim jules alice
state display_name region score r001 hana 16 ready r002 farah 5 closed r003 lina 20 closed r004 dina 4 ready r005 bruno 18 paused r006 chen 25 closed
hana farah lina dina bruno chen
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002525-p1
Treating the first row as a header, output the 'display_name' column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state display_name region score r001 bruno 30 active r002 bruno 13 paused r003 alice 17 failed r004 jules 11 paused r005 gus 9 closed r006 kim 13 pending r007 dina 6 pending r008 kim 14 pending r009 jules 20 ready r010 alice 13 failed
bruno bruno alice jules gus kim dina kim jules alice
state display_name region score r001 hana 16 ready r002 farah 5 closed r003 lina 20 closed r004 dina 4 ready r005 bruno 18 paused r006 chen 25 closed
hana farah lina dina bruno chen
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002525
qwen/qwen3.7-plus
awkweave-0002526
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 lina 22 pending r002 gus 19 active r003 eli 16 failed r004 farah 15 active r005 jules 5 ready r006 kim 24 paused r007 kim 5 pending r008 dina 4 active r009 gus 8 ready
lina gus eli farah kim
record_id display_name score state r001 farah 8 closed r002 eli 25 ready r003 jules 21 paused r004 jules 10 failed r005 dina 22 pending r006 kim 15 pending r007 eli 18 pending r008 eli 30 active r009 farah 3 closed
eli jules dina kim eli eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002526-p1
With the first row as a header, output the 'display_name' for data rows where the 'score' is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 lina 22 pending r002 gus 19 active r003 eli 16 failed r004 farah 15 active r005 jules 5 ready r006 kim 24 paused r007 kim 5 pending r008 dina 4 active r009 gus 8 ready
lina gus eli farah kim
record_id display_name score state r001 farah 8 closed r002 eli 25 ready r003 jules 21 paused r004 jules 10 failed r005 dina 22 pending r006 kim 15 pending r007 eli 18 pending r008 eli 30 active r009 farah 3 closed
eli jules dina kim eli eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002526
qwen/qwen3.7-plus
awkweave-0002527
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 24 pending farah 10 pending kim 25 pending ivan 9 pending gus 22 pending bruno 15 paused
chen farah kim ivan gus bruno
eli 29 paused ivan 14 ready farah 8 paused dina 12 closed dina 8 ready eli 27 failed jules 21 failed jules 28 paused chen 26 paused lina 15 failed
eli ivan farah dina dina eli jules jules chen lina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002527-p1
Given tab-separated input, output the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 24 pending farah 10 pending kim 25 pending ivan 9 pending gus 22 pending bruno 15 paused
chen farah kim ivan gus bruno
eli 29 paused ivan 14 ready farah 8 paused dina 12 closed dina 8 ready eli 27 failed jules 21 failed jules 28 paused chen 26 paused lina 15 failed
eli ivan farah dina dina eli jules jules chen lina
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002527
qwen/qwen3.7-plus
awkweave-0002528
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 22.
BEGIN{FS=OFS=","}$2>22{print $1}
ivan,26,failed bruno,5,failed alice,24,failed ivan,23,ready chen,24,failed hana,21,closed farah,17,failed eli,26,active
ivan alice ivan chen eli
kim,21,pending chen,2,ready eli,19,failed gus,8,failed alice,21,ready kim,27,pending lina,16,active farah,13,active bruno,9,failed
kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002528-p1
For simple comma-separated input without quoted commas, output the first column if the second column value is greater than 22.
BEGIN{FS=OFS=","}$2>22{print $1}
ivan,26,failed bruno,5,failed alice,24,failed ivan,23,ready chen,24,failed hana,21,closed farah,17,failed eli,26,active
ivan alice ivan chen eli
kim,21,pending chen,2,ready eli,19,failed gus,8,failed alice,21,ready kim,27,pending lina,16,active farah,13,active bruno,9,failed
kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002528
qwen/qwen3.7-plus
awkweave-0002529
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli harbor 48 lina cobalt 47 alice delta 46 farah birch 67 jules amber 45 ivan harbor 80
eli harbor 48 lina cobalt 47 alice delta 46 farah birch 67 jules amber 45 ivan harbor 80
gus delta 78 farah juniper 2 eli ember 32 alice harbor 110 dina birch 119 alice grove 94 hana cobalt 21 jules delta 62
gus delta 78 farah juniper 2 eli ember 32 alice harbor 110 dina birch 119 alice grove 94 hana cobalt 21 jules delta 62
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002529-p1
Remove leading and trailing whitespace and reduce internal whitespace sequences to single spaces.
{$1=$1;print}
eli harbor 48 lina cobalt 47 alice delta 46 farah birch 67 jules amber 45 ivan harbor 80
eli harbor 48 lina cobalt 47 alice delta 46 farah birch 67 jules amber 45 ivan harbor 80
gus delta 78 farah juniper 2 eli ember 32 alice harbor 110 dina birch 119 alice grove 94 hana cobalt 21 jules delta 62
gus delta 78 farah juniper 2 eli ember 32 alice harbor 110 dina birch 119 alice grove 94 hana cobalt 21 jules delta 62
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002529
qwen/qwen3.7-plus
awkweave-0002530
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah delta 100 pending farah birch 46 active farah indigo 11 paused kim fable 43 active lina grove 15 closed farah amber 77 pending
farah delta 100 pending
ivan ember 60 paused eli amber 44 pending gus delta 87 paused eli amber 66 closed gus indigo 63 closed hana delta 53 active farah grove 32 pending gus delta 105 pending farah fable 19 failed chen cobalt 65 failed
farah grove 32 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002530-p1
Output the longest line from the input, selecting the first one encountered if multiple lines share the maximum length.
{if(length($0)>length(best))best=$0}END{print best}
farah delta 100 pending farah birch 46 active farah indigo 11 paused kim fable 43 active lina grove 15 closed farah amber 77 pending
farah delta 100 pending
ivan ember 60 paused eli amber 44 pending gus delta 87 paused eli amber 66 closed gus indigo 63 closed hana delta 53 active farah grove 32 pending gus delta 105 pending farah fable 19 failed chen cobalt 65 failed
farah grove 32 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002530
qwen/qwen3.7-plus
awkweave-0002531
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
eli 92 ivan 113 gus 90 chen 113 bruno 113 farah 16 dina 52 kim 74 gus 7
ivan 113 farah 16
bruno 67 eli 33 farah 53 kim 21 eli 105 alice 102 alice 116 lina 8 ivan 86
eli 33 alice 102
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002531-p1
Print lines 2, 6, 10, and so on, effectively outputting every fourth line starting from the second.
NR%4==2
eli 92 ivan 113 gus 90 chen 113 bruno 113 farah 16 dina 52 kim 74 gus 7
ivan 113 farah 16
bruno 67 eli 33 farah 53 kim 21 eli 105 alice 102 alice 116 lina 8 ivan 86
eli 33 alice 102
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002531
qwen/qwen3.7-plus
awkweave-0002532
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha amber 27 beta grove 36 gamma fable 11 gamma birch 7 beta harbor 115 beta harbor 65 gamma fable 117
5
beta cobalt 54 alpha cobalt 68 beta ember 83 alpha amber 13 beta ember 89 delta amber 60 beta fable 89 gamma harbor 16 delta fable 24 alpha juniper 120
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002532-p1
Calculate and display only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
alpha amber 27 beta grove 36 gamma fable 11 gamma birch 7 beta harbor 115 beta harbor 65 gamma fable 117
5
beta cobalt 54 alpha cobalt 68 beta ember 83 alpha amber 13 beta ember 89 delta amber 60 beta fable 89 gamma harbor 16 delta fable 24 alpha juniper 120
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002532
qwen/qwen3.7-plus
awkweave-0002533
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 28 0 farah 8 9 dina 9 29 ivan 11 4 gus 19 1 bruno 2 23 lina 24 20
farah 0.89 dina 0.31 ivan 2.75 gus 19.00 bruno 0.09 lina 1.20
kim 25 0 dina 6 21 ivan 22 18 kim 26 25 eli 14 9 kim 11 15 hana 16 8 lina 28 1 chen 29 8
dina 0.29 ivan 1.22 kim 1.04 eli 1.56 kim 0.73 hana 2.00 lina 28.00 chen 3.62
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002533-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}
alice 28 0 farah 8 9 dina 9 29 ivan 11 4 gus 19 1 bruno 2 23 lina 24 20
farah 0.89 dina 0.31 ivan 2.75 gus 19.00 bruno 0.09 lina 1.20
kim 25 0 dina 6 21 ivan 22 18 kim 26 25 eli 14 9 kim 11 15 hana 16 8 lina 28 1 chen 29 8
dina 0.29 ivan 1.22 kim 1.04 eli 1.56 kim 0.73 hana 2.00 lina 28.00 chen 3.62
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002533
qwen/qwen3.7-plus
awkweave-0002534
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 indigo 1 alice amber 2 eli indigo 1 gus delta 29 dina cobalt 21 hana fable 2 farah ember 1
gus delta 29 dina cobalt 21 alice amber 2
lina birch 19 alice fable 27 chen grove 7 jules harbor 20 lina juniper 11 gus ember 30 ivan grove 9
gus ember 30 alice fable 27 jules harbor 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002534-p1
Display the full records corresponding to the three 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]}
eli indigo 1 alice amber 2 eli indigo 1 gus delta 29 dina cobalt 21 hana fable 2 farah ember 1
gus delta 29 dina cobalt 21 alice amber 2
lina birch 19 alice fable 27 chen grove 7 jules harbor 20 lina juniper 11 gus ember 30 ivan grove 9
gus ember 30 alice fable 27 jules harbor 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002534
qwen/qwen3.7-plus
awkweave-0002535
For each line, output fields 4 and 3, in that order.
{print $4, $3}
closed active 28 grove gus harbor active ready 99 fable chen juniper ready failed 79 grove chen delta closed closed 32 grove farah juniper closed failed 5 ember chen delta pending ready 19 fable ivan harbor failed ready 22 grove gus grove pending ready 31 grove kim juniper paused failed 45 juniper alice amber
grove 28 fable 99 grove 79 grove 32 ember 5 fable 19 grove 22 grove 31 juniper 45
ready ready 17 grove bruno birch ready paused 19 birch lina indigo pending active 11 birch ivan birch paused paused 57 birch kim ember closed paused 11 grove farah birch pending active 58 fable gus fable active active 27 fable dina grove active ready 29 grove jules ember closed failed 98 delta gus delta paused ready 73...
grove 17 birch 19 birch 11 birch 57 grove 11 fable 58 fable 27 grove 29 delta 98 fable 73
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002535-p1
Output the fourth field followed by the third field for every line.
{print $4, $3}
closed active 28 grove gus harbor active ready 99 fable chen juniper ready failed 79 grove chen delta closed closed 32 grove farah juniper closed failed 5 ember chen delta pending ready 19 fable ivan harbor failed ready 22 grove gus grove pending ready 31 grove kim juniper paused failed 45 juniper alice amber
grove 28 fable 99 grove 79 grove 32 ember 5 fable 19 grove 22 grove 31 juniper 45
ready ready 17 grove bruno birch ready paused 19 birch lina indigo pending active 11 birch ivan birch paused paused 57 birch kim ember closed paused 11 grove farah birch pending active 58 fable gus fable active active 27 fable dina grove active ready 29 grove jules ember closed failed 98 delta gus delta paused ready 73...
grove 17 birch 19 birch 11 birch 57 grove 11 fable 58 fable 27 grove 29 delta 98 fable 73
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002535
qwen/qwen3.7-plus
awkweave-0002536
Print the last field of every input line.
{print $NF}
alice failed closed 85 gus ready jules ready pending 27 eli paused ivan pending ready 17 dina ready dina closed active 115 eli closed ivan closed ready 84 lina paused alice pending paused 99 gus closed eli ready active 93 chen active
ready paused ready closed paused closed active
farah ready pending 8 farah closed dina failed paused 15 dina active kim failed ready 7 jules paused alice active pending 110 lina closed eli paused closed 118 farah closed jules paused paused 10 kim active lina ready closed 0 dina closed bruno ready failed 97 eli pending dina paused pending 116 lina ready
closed active paused closed closed active closed pending ready
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002536-p1
Print the final field from each input line.
{print $NF}
alice failed closed 85 gus ready jules ready pending 27 eli paused ivan pending ready 17 dina ready dina closed active 115 eli closed ivan closed ready 84 lina paused alice pending paused 99 gus closed eli ready active 93 chen active
ready paused ready closed paused closed active
farah ready pending 8 farah closed dina failed paused 15 dina active kim failed ready 7 jules paused alice active pending 110 lina closed eli paused closed 118 farah closed jules paused paused 10 kim active lina ready closed 0 dina closed bruno ready failed 97 eli pending dina paused pending 116 lina ready
closed active paused closed closed active closed pending ready
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002536
qwen/qwen3.7-plus
awkweave-0002537
Print the complete records where column 4 is at most 42.
$4 <= 42
amber paused ember 60 gus grove closed birch 48 bruno harbor closed juniper 91 chen grove ready grove 70 lina grove ready delta 25 farah delta paused delta 15 eli ember ready grove 56 ivan
grove ready delta 25 farah delta paused delta 15 eli
ember paused harbor 30 kim indigo failed indigo 13 farah fable ready harbor 75 kim amber failed indigo 91 bruno indigo active ember 22 ivan cobalt paused fable 88 chen ember closed ember 46 farah birch active birch 20 farah harbor failed indigo 77 dina
ember paused harbor 30 kim indigo failed indigo 13 farah indigo active ember 22 ivan birch active birch 20 farah
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002537-p1
Output the entire records for which the value in column 4 is less than or equal to 42.
$4 <= 42
amber paused ember 60 gus grove closed birch 48 bruno harbor closed juniper 91 chen grove ready grove 70 lina grove ready delta 25 farah delta paused delta 15 eli ember ready grove 56 ivan
grove ready delta 25 farah delta paused delta 15 eli
ember paused harbor 30 kim indigo failed indigo 13 farah fable ready harbor 75 kim amber failed indigo 91 bruno indigo active ember 22 ivan cobalt paused fable 88 chen ember closed ember 46 farah birch active birch 20 farah harbor failed indigo 77 dina
ember paused harbor 30 kim indigo failed indigo 13 farah indigo active ember 22 ivan birch active birch 20 farah
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002537
qwen/qwen3.7-plus
awkweave-0002538
Show whole lines whose 3rd field is between 12 and 23, inclusive.
$3 >= 12 && $3 <= 23
ivan active 7 bruno chen closed 11 bruno jules paused 22 alice lina pending 16 lina hana paused 27 kim hana active 30 farah
jules paused 22 alice lina pending 16 lina
gus failed 3 bruno eli paused 30 dina farah closed 25 gus lina pending 1 kim hana ready 2 bruno kim closed 18 gus
kim closed 18 gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002538-p1
Display complete lines where the third field falls within the inclusive range of 12 to 23.
$3 >= 12 && $3 <= 23
ivan active 7 bruno chen closed 11 bruno jules paused 22 alice lina pending 16 lina hana paused 27 kim hana active 30 farah
jules paused 22 alice lina pending 16 lina
gus failed 3 bruno eli paused 30 dina farah closed 25 gus lina pending 1 kim hana ready 2 bruno kim closed 18 gus
kim closed 18 gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002538
qwen/qwen3.7-plus
awkweave-0002539
Print column 1 only for rows where column 4 is exactly active.
$4 == "active"{print $1}
lina fable 30 closed gus amber 67 failed chen grove 15 active ivan ember 68 active gus juniper 17 closed lina cobalt 31 failed jules indigo 99 failed ivan amber 96 ready gus ember 24 pending
chen ivan
hana birch 26 pending dina cobalt 54 failed gus delta 42 failed kim fable 103 pending hana delta 71 failed dina fable 48 paused lina ember 56 pending farah birch 91 active
farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002539-p1
Print only the first column for rows where the fourth column contains exactly the text 'active'.
$4 == "active"{print $1}
lina fable 30 closed gus amber 67 failed chen grove 15 active ivan ember 68 active gus juniper 17 closed lina cobalt 31 failed jules indigo 99 failed ivan amber 96 ready gus ember 24 pending
chen ivan
hana birch 26 pending dina cobalt 54 failed gus delta 42 failed kim fable 103 pending hana delta 71 failed dina fable 48 paused lina ember 56 pending farah birch 91 active
farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002539
qwen/qwen3.7-plus
awkweave-0002540
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
delta WARN 65 cobalt WARN 113 amber DEBUG 56 cobalt WARN 41 grove DEBUG 46 delta DEBUG 41 fable ERROR 29 juniper WARN 4 cobalt WARN 20 cobalt INFO 15
cobalt INFO 15
juniper DEBUG 52 harbor WARN 60 birch DEBUG 37 delta INFO 53 amber ERROR 66 cobalt ERROR 109
delta INFO 53
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002540-p1
Output all fields from lines where the second field starts with the prefix 'INFO'.
$2 ~ /^INFO/
delta WARN 65 cobalt WARN 113 amber DEBUG 56 cobalt WARN 41 grove DEBUG 46 delta DEBUG 41 fable ERROR 29 juniper WARN 4 cobalt WARN 20 cobalt INFO 15
cobalt INFO 15
juniper DEBUG 52 harbor WARN 60 birch DEBUG 37 delta INFO 53 amber ERROR 66 cobalt ERROR 109
delta INFO 53
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002540
qwen/qwen3.7-plus
awkweave-0002541
Print every line except those containing the exact text delta.
$0 !~ /delta/
indigo 78 active birch 40 ready ember 115 active cobalt 98 active grove 111 ready ember 61 closed birch 70 failed fable 62 ready ember 85 failed delta 999 active
indigo 78 active birch 40 ready ember 115 active cobalt 98 active grove 111 ready ember 61 closed birch 70 failed fable 62 ready ember 85 failed
grove 99 failed grove 88 active amber 14 failed cobalt 76 active grove 47 paused birch 60 failed amber 93 ready ember 64 active cobalt 106 active harbor 92 ready delta 999 active
grove 99 failed grove 88 active amber 14 failed cobalt 76 active grove 47 paused birch 60 failed amber 93 ready ember 64 active cobalt 106 active harbor 92 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002541-p1
Print every line that does not contain the exact string 'delta'.
$0 !~ /delta/
indigo 78 active birch 40 ready ember 115 active cobalt 98 active grove 111 ready ember 61 closed birch 70 failed fable 62 ready ember 85 failed delta 999 active
indigo 78 active birch 40 ready ember 115 active cobalt 98 active grove 111 ready ember 61 closed birch 70 failed fable 62 ready ember 85 failed
grove 99 failed grove 88 active amber 14 failed cobalt 76 active grove 47 paused birch 60 failed amber 93 ready ember 64 active cobalt 106 active harbor 92 ready delta 999 active
grove 99 failed grove 88 active amber 14 failed cobalt 76 active grove 47 paused birch 60 failed amber 93 ready ember 64 active cobalt 106 active harbor 92 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002541
qwen/qwen3.7-plus
awkweave-0002542
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
dina grove 113 hana amber 28 chen fable 109 dina indigo 112 alice fable 86 lina birch 65 kim harbor 115 lina harbor 2
hana amber 28 chen fable 109
dina cobalt 27 dina cobalt 59 bruno grove 49 kim ember 75 dina indigo 85 hana harbor 116 kim birch 108 lina juniper 34 bruno harbor 35
dina cobalt 59 bruno grove 49
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002542-p1
Display lines 2 to 3, inclusive.
NR >= 2 && NR <= 3
dina grove 113 hana amber 28 chen fable 109 dina indigo 112 alice fable 86 lina birch 65 kim harbor 115 lina harbor 2
hana amber 28 chen fable 109
dina cobalt 27 dina cobalt 59 bruno grove 49 kim ember 75 dina indigo 85 hana harbor 116 kim birch 108 lina juniper 34 bruno harbor 35
dina cobalt 59 bruno grove 49
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002542
qwen/qwen3.7-plus
awkweave-0002543
Output only the first 4 records.
NR <= 4
ivan 115 amber bruno 88 ember jules 120 ember jules 70 indigo bruno 53 indigo kim 11 grove
ivan 115 amber bruno 88 ember jules 120 ember jules 70 indigo
lina 11 harbor farah 93 juniper ivan 4 fable dina 79 ember lina 78 amber lina 88 juniper bruno 83 amber chen 39 harbor
lina 11 harbor farah 93 juniper ivan 4 fable dina 79 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002543-p1
Output just the initial 4 records.
NR <= 4
ivan 115 amber bruno 88 ember jules 120 ember jules 70 indigo bruno 53 indigo kim 11 grove
ivan 115 amber bruno 88 ember jules 120 ember jules 70 indigo
lina 11 harbor farah 93 juniper ivan 4 fable dina 79 ember lina 78 amber lina 88 juniper bruno 83 amber chen 39 harbor
lina 11 harbor farah 93 juniper ivan 4 fable dina 79 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002543
qwen/qwen3.7-plus
awkweave-0002544
Skip the first line and print every remaining line unchanged.
NR > 1
alice 61 harbor hana 64 delta kim 67 amber lina 3 delta farah 56 ember eli 80 indigo hana 57 harbor
hana 64 delta kim 67 amber lina 3 delta farah 56 ember eli 80 indigo hana 57 harbor
chen 57 indigo lina 34 ember ivan 13 birch kim 12 grove ivan 68 birch ivan 20 indigo
lina 34 ember ivan 13 birch kim 12 grove ivan 68 birch ivan 20 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002544-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
alice 61 harbor hana 64 delta kim 67 amber lina 3 delta farah 56 ember eli 80 indigo hana 57 harbor
hana 64 delta kim 67 amber lina 3 delta farah 56 ember eli 80 indigo hana 57 harbor
chen 57 indigo lina 34 ember ivan 13 birch kim 12 grove ivan 68 birch ivan 20 indigo
lina 34 ember ivan 13 birch kim 12 grove ivan 68 birch ivan 20 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002544
qwen/qwen3.7-plus
awkweave-0002545
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
gus closed 117 lina ready 97 chen active 60 gus ready 93 alice pending 45 jules ready 23 bruno ready 27 gus pending 102
1
farah failed 95 dina paused 18 hana pending 75 bruno pending 56 jules pending 76 dina active 74 chen pending 84 jules closed 109 lina active 97 kim paused 114
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002545-p1
Count the records where column 2 is 'closed'; output 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
gus closed 117 lina ready 97 chen active 60 gus ready 93 alice pending 45 jules ready 23 bruno ready 27 gus pending 102
1
farah failed 95 dina paused 18 hana pending 75 bruno pending 56 jules pending 76 dina active 74 chen pending 84 jules closed 109 lina active 97 kim paused 114
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002545
qwen/qwen3.7-plus
awkweave-0002546
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
indigo 12 kim fable 5 farah grove 10 kim fable 4 lina harbor 6 alice cobalt 2 gus
39
ember 28 hana birch 9 bruno delta 24 ivan fable 18 bruno birch 25 farah amber 14 eli cobalt 29 ivan indigo 13 dina cobalt 25 hana birch 14 farah
199
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002546-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
indigo 12 kim fable 5 farah grove 10 kim fable 4 lina harbor 6 alice cobalt 2 gus
39
ember 28 hana birch 9 bruno delta 24 ivan fable 18 bruno birch 25 farah amber 14 eli cobalt 29 ivan indigo 13 dina cobalt 25 hana birch 14 farah
199
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002546
qwen/qwen3.7-plus
awkweave-0002547
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana birch 23 hana indigo 13 hana harbor 3 dina harbor 13 bruno delta 4 ivan grove 18 alice juniper 28
14.57
farah indigo 18 hana fable 30 alice fable 12 ivan amber 13 bruno fable 19 alice birch 6 kim fable 30
18.29
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002547-p1
Print the average of column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana birch 23 hana indigo 13 hana harbor 3 dina harbor 13 bruno delta 4 ivan grove 18 alice juniper 28
14.57
farah indigo 18 hana fable 30 alice fable 12 ivan amber 13 bruno fable 19 alice birch 6 kim fable 30
18.29
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002547
qwen/qwen3.7-plus
awkweave-0002548
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
10 cobalt lina 17 harbor chen 2 delta kim 9 birch bruno 10 indigo ivan 24 juniper alice 30 amber jules 6 cobalt kim
2
9 juniper ivan 12 juniper kim 21 juniper chen 2 birch jules 21 amber lina 3 harbor gus 29 amber jules 29 fable kim
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002548-p1
Identify and output the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
10 cobalt lina 17 harbor chen 2 delta kim 9 birch bruno 10 indigo ivan 24 juniper alice 30 amber jules 6 cobalt kim
2
9 juniper ivan 12 juniper kim 21 juniper chen 2 birch jules 21 amber lina 3 harbor gus 29 amber jules 29 fable kim
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002548
qwen/qwen3.7-plus
awkweave-0002549
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor dina 28 amber ivan 28 harbor bruno 26 juniper hana 1 juniper kim 23 cobalt bruno 8 amber hana 6 juniper bruno 23 birch eli 15
28
harbor alice 10 harbor ivan 20 amber chen 19 indigo bruno 26 birch bruno 14 delta bruno 20
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002549-p1
Identify and output the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor dina 28 amber ivan 28 harbor bruno 26 juniper hana 1 juniper kim 23 cobalt bruno 8 amber hana 6 juniper bruno 23 birch eli 15
28
harbor alice 10 harbor ivan 20 amber chen 19 indigo bruno 26 birch bruno 14 delta bruno 20
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002549
qwen/qwen3.7-plus
awkweave-0002550
Count all input records and print the total.
END{print NR}
hana 42 kim 33 alice 90 kim 70 chen 52 eli 94
6
eli 58 jules 75 farah 22 lina 92 farah 34 alice 80 eli 33 alice 67 alice 55
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null