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-0054333
Print every line except those containing the exact text grove.
$0 !~ /grove/
fable 79 ready grove 15 paused fable 44 pending birch 46 closed ember 86 failed grove 57 pending fable 9 active ember 119 paused juniper 18 failed juniper 14 paused grove 999 active
fable 79 ready fable 44 pending birch 46 closed ember 86 failed fable 9 active ember 119 paused juniper 18 failed juniper 14 paused
amber 103 paused grove 103 closed delta 45 ready juniper 13 ready delta 114 paused cobalt 108 paused ember 16 paused ember 61 active harbor 110 pending grove 999 active
amber 103 paused delta 45 ready juniper 13 ready delta 114 paused cobalt 108 paused ember 16 paused ember 61 active harbor 110 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054333-p1
Print every line that does not contain the exact string 'grove'.
$0 !~ /grove/
fable 79 ready grove 15 paused fable 44 pending birch 46 closed ember 86 failed grove 57 pending fable 9 active ember 119 paused juniper 18 failed juniper 14 paused grove 999 active
fable 79 ready fable 44 pending birch 46 closed ember 86 failed fable 9 active ember 119 paused juniper 18 failed juniper 14 paused
amber 103 paused grove 103 closed delta 45 ready juniper 13 ready delta 114 paused cobalt 108 paused ember 16 paused ember 61 active harbor 110 pending grove 999 active
amber 103 paused delta 45 ready juniper 13 ready delta 114 paused cobalt 108 paused ember 16 paused ember 61 active harbor 110 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054333
qwen/qwen3.7-plus
awkweave-0054334
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
ivan grove 42 hana harbor 70 eli birch 63 kim indigo 61 jules juniper 89 eli juniper 90 hana fable 47
kim indigo 61 jules juniper 89 eli juniper 90
bruno delta 26 kim harbor 94 gus amber 91 hana indigo 4 chen harbor 60 hana grove 32
hana indigo 4 chen harbor 60 hana grove 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054334-p1
Output lines 4 through 6, inclusive of both endpoints.
NR >= 4 && NR <= 6
ivan grove 42 hana harbor 70 eli birch 63 kim indigo 61 jules juniper 89 eli juniper 90 hana fable 47
kim indigo 61 jules juniper 89 eli juniper 90
bruno delta 26 kim harbor 94 gus amber 91 hana indigo 4 chen harbor 60 hana grove 32
hana indigo 4 chen harbor 60 hana grove 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054334
qwen/qwen3.7-plus
awkweave-0054335
Output only the first 2 records.
NR <= 2
ivan 78 fable eli 59 delta hana 119 fable ivan 28 amber dina 77 birch ivan 36 birch hana 51 harbor
ivan 78 fable eli 59 delta
kim 65 grove hana 83 cobalt lina 101 juniper lina 11 cobalt eli 106 fable hana 86 ember kim 58 ember hana 95 amber farah 77 harbor chen 25 delta
kim 65 grove hana 83 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054335-p1
Display only the first 2 records.
NR <= 2
ivan 78 fable eli 59 delta hana 119 fable ivan 28 amber dina 77 birch ivan 36 birch hana 51 harbor
ivan 78 fable eli 59 delta
kim 65 grove hana 83 cobalt lina 101 juniper lina 11 cobalt eli 106 fable hana 86 ember kim 58 ember hana 95 amber farah 77 harbor chen 25 delta
kim 65 grove hana 83 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054335
qwen/qwen3.7-plus
awkweave-0054336
Skip the first line and print every remaining line unchanged.
NR > 1
hana 97 birch gus 97 indigo eli 105 cobalt bruno 3 ember farah 104 birch lina 97 delta hana 35 juniper dina 108 cobalt eli 19 birch
gus 97 indigo eli 105 cobalt bruno 3 ember farah 104 birch lina 97 delta hana 35 juniper dina 108 cobalt eli 19 birch
bruno 41 grove dina 76 ember eli 53 cobalt hana 50 birch chen 29 grove chen 40 delta jules 52 fable
dina 76 ember eli 53 cobalt hana 50 birch chen 29 grove chen 40 delta jules 52 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054336-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
hana 97 birch gus 97 indigo eli 105 cobalt bruno 3 ember farah 104 birch lina 97 delta hana 35 juniper dina 108 cobalt eli 19 birch
gus 97 indigo eli 105 cobalt bruno 3 ember farah 104 birch lina 97 delta hana 35 juniper dina 108 cobalt eli 19 birch
bruno 41 grove dina 76 ember eli 53 cobalt hana 50 birch chen 29 grove chen 40 delta jules 52 fable
dina 76 ember eli 53 cobalt hana 50 birch chen 29 grove chen 40 delta jules 52 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054336
qwen/qwen3.7-plus
awkweave-0054337
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
bruno paused 54 alice paused 91 hana ready 20 farah failed 9 kim closed 70 jules active 53 alice failed 13 kim ready 27 gus failed 18 eli paused 41
2
dina paused 44 farah ready 59 kim closed 27 alice failed 110 chen active 81 farah ready 48 hana paused 37 bruno closed 59 dina pending 106 farah active 28
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054337-p1
Count the number of records where column 2 is 'ready', printing 0 if none are found.
$2 == "ready"{n++}END{print n+0}
bruno paused 54 alice paused 91 hana ready 20 farah failed 9 kim closed 70 jules active 53 alice failed 13 kim ready 27 gus failed 18 eli paused 41
2
dina paused 44 farah ready 59 kim closed 27 alice failed 110 chen active 81 farah ready 48 hana paused 37 bruno closed 59 dina pending 106 farah active 28
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054337
qwen/qwen3.7-plus
awkweave-0054338
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
12 grove bruno 12 juniper bruno 10 indigo kim 17 delta eli 20 fable jules 11 fable ivan 14 birch ivan 27 fable dina
123
18 grove hana 8 indigo hana 11 amber ivan 12 grove hana 1 cobalt kim 15 juniper bruno 30 harbor eli 4 indigo eli 4 fable bruno 5 fable lina
108
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054338-p1
Compute and output the sum of integer values in column 1.
{s+=$1}END{print s+0}
12 grove bruno 12 juniper bruno 10 indigo kim 17 delta eli 20 fable jules 11 fable ivan 14 birch ivan 27 fable dina
123
18 grove hana 8 indigo hana 11 amber ivan 12 grove hana 1 cobalt kim 15 juniper bruno 30 harbor eli 4 indigo eli 4 fable bruno 5 fable lina
108
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054338
qwen/qwen3.7-plus
awkweave-0054339
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan ember 17 alice grove 7 gus delta 26 alice delta 28 alice cobalt 16 bruno birch 24 dina indigo 22 gus harbor 9 gus birch 30
19.89
farah amber 15 bruno indigo 9 eli grove 14 eli cobalt 12 kim harbor 14 hana indigo 25 dina grove 1
12.86
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054339-p1
Calculate the arithmetic mean of column 3 and print it rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan ember 17 alice grove 7 gus delta 26 alice delta 28 alice cobalt 16 bruno birch 24 dina indigo 22 gus harbor 9 gus birch 30
19.89
farah amber 15 bruno indigo 9 eli grove 14 eli cobalt 12 kim harbor 14 hana indigo 25 dina grove 1
12.86
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054339
qwen/qwen3.7-plus
awkweave-0054340
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
kim juniper 21 ivan grove 28 bruno cobalt 23 alice birch 14 eli amber 2 kim birch 15 gus indigo 15 bruno indigo 4 dina juniper 27 ivan birch 8
2
hana grove 14 gus ember 1 chen grove 17 gus juniper 30 alice grove 25 jules fable 7
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054340-p1
Identify and print the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
kim juniper 21 ivan grove 28 bruno cobalt 23 alice birch 14 eli amber 2 kim birch 15 gus indigo 15 bruno indigo 4 dina juniper 27 ivan birch 8
2
hana grove 14 gus ember 1 chen grove 17 gus juniper 30 alice grove 25 jules fable 7
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054340
qwen/qwen3.7-plus
awkweave-0054341
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan juniper 14 lina delta 16 ivan indigo 7 farah ember 24 jules birch 13 ivan fable 3 lina birch 21
24
alice harbor 28 alice harbor 30 alice birch 16 lina ember 16 eli birch 24 lina fable 17
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054341-p1
Identify and print the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan juniper 14 lina delta 16 ivan indigo 7 farah ember 24 jules birch 13 ivan fable 3 lina birch 21
24
alice harbor 28 alice harbor 30 alice birch 16 lina ember 16 eli birch 24 lina fable 17
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054341
qwen/qwen3.7-plus
awkweave-0054342
Count all input records and print the total.
END{print NR}
chen 115 dina 11 alice 75 chen 20 bruno 18 eli 15 eli 83 bruno 81 farah 38
9
dina 67 jules 93 bruno 91 dina 107 jules 103 bruno 78 kim 22 gus 87 kim 22 jules 107
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054342-p1
Count the total number of input records and output the result.
END{print NR}
chen 115 dina 11 alice 75 chen 20 bruno 18 eli 15 eli 83 bruno 81 farah 38
9
dina 67 jules 93 bruno 91 dina 107 jules 103 bruno 78 kim 22 gus 87 kim 22 jules 107
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054342
qwen/qwen3.7-plus
awkweave-0054343
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim ember 56 chen amber 79 ivan fable 101 lina delta 106 gus juniper 70 ivan birch 120 ivan birch 52 ivan fable 101
kim ember 56 chen amber 79 ivan fable 101 lina delta 106 gus juniper 70 ivan birch 120 ivan birch 52
jules ember 120 farah juniper 34 jules grove 103 ivan ember 98 alice cobalt 20 dina cobalt 80 ivan ember 98 farah ember 30 dina cobalt 78 alice amber 106 lina indigo 72
jules ember 120 farah juniper 34 jules grove 103 ivan ember 98 alice cobalt 20 dina cobalt 80 farah ember 30 dina cobalt 78 alice amber 106 lina indigo 72
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054343-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
kim ember 56 chen amber 79 ivan fable 101 lina delta 106 gus juniper 70 ivan birch 120 ivan birch 52 ivan fable 101
kim ember 56 chen amber 79 ivan fable 101 lina delta 106 gus juniper 70 ivan birch 120 ivan birch 52
jules ember 120 farah juniper 34 jules grove 103 ivan ember 98 alice cobalt 20 dina cobalt 80 ivan ember 98 farah ember 30 dina cobalt 78 alice amber 106 lina indigo 72
jules ember 120 farah juniper 34 jules grove 103 ivan ember 98 alice cobalt 20 dina cobalt 80 farah ember 30 dina cobalt 78 alice amber 106 lina indigo 72
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054343
qwen/qwen3.7-plus
awkweave-0054344
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
jules birch 117 gus amber 64 hana fable 20 eli cobalt 42 dina delta 16 bruno harbor 14 jules grove 107 eli grove 8
jules birch 117 gus amber 64 hana fable 20 eli cobalt 42 dina delta 16 bruno harbor 14
farah cobalt 87 jules ember 43 ivan grove 116 alice delta 114 farah fable 67 bruno delta 55 ivan ember 112 chen ember 104
farah cobalt 87 jules ember 43 ivan grove 116 alice delta 114 bruno delta 55 chen ember 104
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054344-p1
Retain only the first row for every unique value in column 1, preserving the input order.
!seen[$1]++
jules birch 117 gus amber 64 hana fable 20 eli cobalt 42 dina delta 16 bruno harbor 14 jules grove 107 eli grove 8
jules birch 117 gus amber 64 hana fable 20 eli cobalt 42 dina delta 16 bruno harbor 14
farah cobalt 87 jules ember 43 ivan grove 116 alice delta 114 farah fable 67 bruno delta 55 ivan ember 112 chen ember 104
farah cobalt 87 jules ember 43 ivan grove 116 alice delta 114 bruno delta 55 chen ember 104
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054344
qwen/qwen3.7-plus
awkweave-0054345
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 12 fable kim 15 fable chen 21 birch gus 13 indigo farah 28 amber alice 29 fable gus 18 grove ivan 20 birch jules 27 harbor
jules 12 kim 27 chen 48 gus 61 farah 89 alice 118 gus 136 ivan 156 jules 183
kim 30 delta eli 30 grove kim 17 delta dina 18 harbor chen 18 grove dina 11 birch dina 30 fable lina 30 juniper gus 19 delta chen 9 grove
kim 30 eli 60 kim 77 dina 95 chen 113 dina 124 dina 154 lina 184 gus 203 chen 212
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054345-p1
Output column 1 alongside the cumulative sum of column 2 for each record, separated by a space.
{s+=$2;print $1,s}
jules 12 fable kim 15 fable chen 21 birch gus 13 indigo farah 28 amber alice 29 fable gus 18 grove ivan 20 birch jules 27 harbor
jules 12 kim 27 chen 48 gus 61 farah 89 alice 118 gus 136 ivan 156 jules 183
kim 30 delta eli 30 grove kim 17 delta dina 18 harbor chen 18 grove dina 11 birch dina 30 fable lina 30 juniper gus 19 delta chen 9 grove
kim 30 eli 60 kim 77 dina 95 chen 113 dina 124 dina 154 lina 184 gus 203 chen 212
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054345
qwen/qwen3.7-plus
awkweave-0054346
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 18 27 grove dina 11 16 birch bruno 1 27 amber chen 24 3 juniper ivan 19 8 grove dina 3 10 juniper eli 24 19 indigo eli 3 29 harbor gus 11 28 harbor
alice 45 dina 27 bruno 28 chen 27 ivan 27 dina 13 eli 43 eli 32 gus 39
eli 2 13 delta gus 23 25 delta alice 4 3 fable kim 17 23 ember alice 14 1 birch jules 14 10 juniper alice 14 10 fable gus 8 18 fable
eli 15 gus 48 alice 7 kim 40 alice 15 jules 24 alice 24 gus 26
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054346-p1
For each row, display field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 18 27 grove dina 11 16 birch bruno 1 27 amber chen 24 3 juniper ivan 19 8 grove dina 3 10 juniper eli 24 19 indigo eli 3 29 harbor gus 11 28 harbor
alice 45 dina 27 bruno 28 chen 27 ivan 27 dina 13 eli 43 eli 32 gus 39
eli 2 13 delta gus 23 25 delta alice 4 3 fable kim 17 23 ember alice 14 1 birch jules 14 10 juniper alice 14 10 fable gus 8 18 fable
eli 15 gus 48 alice 7 kim 40 alice 15 jules 24 alice 24 gus 26
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054346
qwen/qwen3.7-plus
awkweave-0054347
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
bruno 15 kim 5 chen 15 kim 23 jules 15 lina 18 kim 18 eli 6 farah 3 lina 13
bruno fail kim fail chen fail kim fail jules fail lina fail kim fail eli fail farah fail lina fail
lina 20 gus 6 kim 3 eli 24 bruno 14 jules 22 kim 15 chen 17
lina fail gus fail kim fail eli fail bruno fail jules fail kim fail chen fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054347-p1
Output column 1 and 'pass' if column 2 is 27 or greater; otherwise, output 'fail'.
{print $1,($2>=27?"pass":"fail")}
bruno 15 kim 5 chen 15 kim 23 jules 15 lina 18 kim 18 eli 6 farah 3 lina 13
bruno fail kim fail chen fail kim fail jules fail lina fail kim fail eli fail farah fail lina fail
lina 20 gus 6 kim 3 eli 24 bruno 14 jules 22 kim 15 chen 17
lina fail gus fail kim fail eli fail bruno fail jules fail kim fail chen fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054347
qwen/qwen3.7-plus
awkweave-0054348
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno amber 75 alice grove 77 kim ember 69 hana delta 76 lina fable 114 jules fable 39 gus fable 96 lina grove 8 chen indigo 60
BRUNO ALICE KIM HANA LINA JULES GUS LINA CHEN
gus indigo 87 jules harbor 12 alice ember 24 farah delta 89 hana juniper 114 lina cobalt 52 farah ember 1 eli harbor 4 kim birch 29
GUS JULES ALICE FARAH HANA LINA FARAH ELI KIM
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054348-p1
Transform column 1 to uppercase and print only that column.
{print toupper($1)}
bruno amber 75 alice grove 77 kim ember 69 hana delta 76 lina fable 114 jules fable 39 gus fable 96 lina grove 8 chen indigo 60
BRUNO ALICE KIM HANA LINA JULES GUS LINA CHEN
gus indigo 87 jules harbor 12 alice ember 24 farah delta 89 hana juniper 114 lina cobalt 52 farah ember 1 eli harbor 4 kim birch 29
GUS JULES ALICE FARAH HANA LINA FARAH ELI KIM
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054348
qwen/qwen3.7-plus
awkweave-0054349
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
grove 92 juniper 53 fable 14 harbor 21 cobalt 93 delta 0 ember 44 indigo 67
ro un ab ar ob el mb nd
cobalt 33 cobalt 9 juniper 89 fable 82 amber 57 ember 42
ob ob un ab mb mb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054349-p1
Extract and print 2 characters from column 1, starting at the second character.
{print substr($1,2,2)}
grove 92 juniper 53 fable 14 harbor 21 cobalt 93 delta 0 ember 44 indigo 67
ro un ab ar ob el mb nd
cobalt 33 cobalt 9 juniper 89 fable 82 amber 57 ember 42
ob ob un ab mb mb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054349
qwen/qwen3.7-plus
awkweave-0054350
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_amber 89 indigo_delta 110 birch_fable 111 juniper_indigo 6 harbor_delta 2 harbor_cobalt 43
grove amber indigo delta birch fable juniper indigo harbor delta harbor cobalt
grove_cobalt 46 delta_birch 78 indigo_cobalt 56 ember_fable 13 cobalt_harbor 18 juniper_birch 87 birch_harbor 103 delta_cobalt 45
grove cobalt delta birch indigo cobalt ember fable cobalt harbor juniper birch birch harbor delta cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054350-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
grove_amber 89 indigo_delta 110 birch_fable 111 juniper_indigo 6 harbor_delta 2 harbor_cobalt 43
grove amber indigo delta birch fable juniper indigo harbor delta harbor cobalt
grove_cobalt 46 delta_birch 78 indigo_cobalt 56 ember_fable 13 cobalt_harbor 18 juniper_birch 87 birch_harbor 103 delta_cobalt 45
grove cobalt delta birch indigo cobalt ember fable cobalt harbor juniper birch birch harbor delta cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054350
qwen/qwen3.7-plus
awkweave-0054351
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)}
ivan cobalt 11 failed hana delta 111 ready kim delta 23 ready gus delta 28 pending eli grove 109 failed kim birch 46 ready chen harbor 70 failed
failed 11 cobalt ivan ready 111 delta hana ready 23 delta kim pending 28 delta gus failed 109 grove eli ready 46 birch kim failed 70 harbor chen
kim cobalt 7 active chen amber 71 ready kim cobalt 67 failed kim indigo 102 pending hana indigo 2 ready gus ember 92 pending ivan fable 83 active farah delta 16 closed chen ember 39 closed alice ember 83 failed
active 7 cobalt kim ready 71 amber chen failed 67 cobalt kim pending 102 indigo kim ready 2 indigo hana pending 92 ember gus active 83 fable ivan closed 16 delta farah closed 39 ember chen failed 83 ember alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054351-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan cobalt 11 failed hana delta 111 ready kim delta 23 ready gus delta 28 pending eli grove 109 failed kim birch 46 ready chen harbor 70 failed
failed 11 cobalt ivan ready 111 delta hana ready 23 delta kim pending 28 delta gus failed 109 grove eli ready 46 birch kim failed 70 harbor chen
kim cobalt 7 active chen amber 71 ready kim cobalt 67 failed kim indigo 102 pending hana indigo 2 ready gus ember 92 pending ivan fable 83 active farah delta 16 closed chen ember 39 closed alice ember 83 failed
active 7 cobalt kim ready 71 amber chen failed 67 cobalt kim pending 102 indigo kim ready 2 indigo hana pending 92 ember gus active 83 fable ivan closed 16 delta farah closed 39 ember chen failed 83 ember alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054351
qwen/qwen3.7-plus
awkweave-0054352
Print the number of whitespace-separated fields on each line.
{print NF}
kim harbor 21 pending bruno indigo 36 paused lina fable 0 closed chen birch 101 ready lina indigo 93 active lina grove 82 active ivan delta 107 failed lina birch 106 failed
4 4 4 4 4 4 4 4
dina amber 84 active ivan indigo 120 paused jules cobalt 25 closed chen juniper 75 closed dina indigo 120 active ivan indigo 59 closed eli ember 12 closed ivan delta 6 closed
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054352-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
kim harbor 21 pending bruno indigo 36 paused lina fable 0 closed chen birch 101 ready lina indigo 93 active lina grove 82 active ivan delta 107 failed lina birch 106 failed
4 4 4 4 4 4 4 4
dina amber 84 active ivan indigo 120 paused jules cobalt 25 closed chen juniper 75 closed dina indigo 120 active ivan indigo 59 closed eli ember 12 closed ivan delta 6 closed
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054352
qwen/qwen3.7-plus
awkweave-0054353
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]]}
hana beta 101 gus gamma 39 hana alpha 114 gus gamma 97 farah gamma 101 bruno delta 92
beta 1 gamma 3 alpha 1 delta 1
ivan beta 87 hana gamma 30 gus alpha 62 eli gamma 92 ivan beta 37 bruno delta 80 eli alpha 103 eli beta 14 chen gamma 41
beta 3 gamma 3 alpha 2 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054353-p1
Tally the number of records for each unique value in column 2, printing each value and its count in the 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]]}
hana beta 101 gus gamma 39 hana alpha 114 gus gamma 97 farah gamma 101 bruno delta 92
beta 1 gamma 3 alpha 1 delta 1
ivan beta 87 hana gamma 30 gus alpha 62 eli gamma 92 ivan beta 37 bruno delta 80 eli alpha 103 eli beta 14 chen gamma 41
beta 3 gamma 3 alpha 2 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054353
qwen/qwen3.7-plus
awkweave-0054354
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]]}
lina gamma 17 dina gamma 9 alice beta 9 jules beta 15 farah gamma 19 jules delta 4 alice gamma 2 bruno alpha 20 eli alpha 5
gamma 47 beta 24 delta 4 alpha 25
kim beta 16 kim delta 26 bruno alpha 28 jules beta 20 kim delta 7 farah gamma 19 chen beta 28 alice delta 18 bruno alpha 17
beta 64 delta 51 alpha 45 gamma 19
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054354-p1
Calculate the sum of values in column 3 for each unique category found in column 2, and output the results ordered by the first appearance of each category.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
lina gamma 17 dina gamma 9 alice beta 9 jules beta 15 farah gamma 19 jules delta 4 alice gamma 2 bruno alpha 20 eli alpha 5
gamma 47 beta 24 delta 4 alpha 25
kim beta 16 kim delta 26 bruno alpha 28 jules beta 20 kim delta 7 farah gamma 19 chen beta 28 alice delta 18 bruno alpha 17
beta 64 delta 51 alpha 45 gamma 19
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054354
qwen/qwen3.7-plus
awkweave-0054355
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]]}
delta indigo 5 alpha ember 101 alpha cobalt 104 gamma indigo 18 delta cobalt 77 alpha birch 74 delta delta 108
delta 3 alpha 3
delta fable 65 gamma cobalt 110 beta indigo 2 beta ember 27 gamma indigo 79 gamma harbor 15 gamma grove 6
gamma 4 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054355-p1
Identify duplicate entries in column 1, count their occurrences, and list them alongside their counts in the order they first appear.
{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]]}
delta indigo 5 alpha ember 101 alpha cobalt 104 gamma indigo 18 delta cobalt 77 alpha birch 74 delta delta 108
delta 3 alpha 3
delta fable 65 gamma cobalt 110 beta indigo 2 beta ember 27 gamma indigo 79 gamma harbor 15 gamma grove 6
gamma 4 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054355
qwen/qwen3.7-plus
awkweave-0054356
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
score display_name state record_id r001 lina 17 ready r002 lina 13 active r003 hana 26 ready r004 jules 1 active r005 jules 6 ready r006 kim 7 closed
17 13 26 1 6 7
score display_name state record_id r001 lina 6 paused r002 gus 27 failed r003 bruno 7 ready r004 ivan 19 active r005 jules 15 pending r006 dina 22 paused r007 eli 22 closed r008 kim 6 failed
6 27 7 19 15 22 22 6
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054356-p1
Treat the first line as a header and output the contents of the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
score display_name state record_id r001 lina 17 ready r002 lina 13 active r003 hana 26 ready r004 jules 1 active r005 jules 6 ready r006 kim 7 closed
17 13 26 1 6 7
score display_name state record_id r001 lina 6 paused r002 gus 27 failed r003 bruno 7 ready r004 ivan 19 active r005 jules 15 pending r006 dina 22 paused r007 eli 22 closed r008 kim 6 failed
6 27 7 19 15 22 22 6
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054356
qwen/qwen3.7-plus
awkweave-0054357
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 chen 25 ready r002 bruno 17 closed r003 farah 18 active r004 eli 22 active r005 jules 17 closed r006 chen 22 closed r007 dina 10 pending r008 chen 9 closed r009 lina 15 failed
chen bruno farah eli jules chen lina
record_id display_name score state r001 jules 8 active r002 ivan 11 pending r003 farah 22 paused r004 jules 1 ready r005 hana 28 ready r006 chen 25 ready r007 farah 26 failed r008 bruno 18 closed
farah hana chen farah bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054357-p1
Ignoring the header row, output the display_name field for any record where the score exceeds 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 chen 25 ready r002 bruno 17 closed r003 farah 18 active r004 eli 22 active r005 jules 17 closed r006 chen 22 closed r007 dina 10 pending r008 chen 9 closed r009 lina 15 failed
chen bruno farah eli jules chen lina
record_id display_name score state r001 jules 8 active r002 ivan 11 pending r003 farah 22 paused r004 jules 1 ready r005 hana 28 ready r006 chen 25 ready r007 farah 26 failed r008 bruno 18 closed
farah hana chen farah bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054357
qwen/qwen3.7-plus
awkweave-0054358
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 3 ready kim 29 paused chen 16 paused bruno 17 failed eli 6 closed hana 10 ready gus 27 paused bruno 12 ready
ready paused paused failed closed ready paused ready
bruno 22 pending lina 28 closed jules 15 closed jules 23 pending hana 25 active farah 7 paused chen 12 ready gus 1 closed jules 16 failed alice 21 pending
pending closed closed pending active paused ready closed failed pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054358-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 3 ready kim 29 paused chen 16 paused bruno 17 failed eli 6 closed hana 10 ready gus 27 paused bruno 12 ready
ready paused paused failed closed ready paused ready
bruno 22 pending lina 28 closed jules 15 closed jules 23 pending hana 25 active farah 7 paused chen 12 ready gus 1 closed jules 16 failed alice 21 pending
pending closed closed pending active paused ready closed failed pending
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0054358
qwen/qwen3.7-plus
awkweave-0054359
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
gus,29,closed alice,30,ready eli,14,closed kim,9,paused gus,25,pending kim,1,closed farah,9,closed gus,3,closed eli,2,pending
gus alice gus
dina,7,ready bruno,27,pending bruno,21,ready hana,2,closed eli,21,paused chen,3,closed
bruno bruno eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054359-p1
For comma-separated input without quoted fields, output the first column only when the value in the second column is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
gus,29,closed alice,30,ready eli,14,closed kim,9,paused gus,25,pending kim,1,closed farah,9,closed gus,3,closed eli,2,pending
gus alice gus
dina,7,ready bruno,27,pending bruno,21,ready hana,2,closed eli,21,paused chen,3,closed
bruno bruno eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054359
qwen/qwen3.7-plus
awkweave-0054360
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina delta 39 hana harbor 64 lina juniper 50 alice harbor 24 farah harbor 82 gus cobalt 40 bruno ember 85 hana ember 83 ivan birch 85 gus ember 117
lina delta 39 hana harbor 64 lina juniper 50 alice harbor 24 farah harbor 82 gus cobalt 40 bruno ember 85 hana ember 83 ivan birch 85 gus ember 117
bruno birch 96 chen indigo 70 kim ember 107 dina fable 34 gus ember 70 jules harbor 57 ivan indigo 74
bruno birch 96 chen indigo 70 kim ember 107 dina fable 34 gus ember 70 jules harbor 57 ivan indigo 74
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054360-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
lina delta 39 hana harbor 64 lina juniper 50 alice harbor 24 farah harbor 82 gus cobalt 40 bruno ember 85 hana ember 83 ivan birch 85 gus ember 117
lina delta 39 hana harbor 64 lina juniper 50 alice harbor 24 farah harbor 82 gus cobalt 40 bruno ember 85 hana ember 83 ivan birch 85 gus ember 117
bruno birch 96 chen indigo 70 kim ember 107 dina fable 34 gus ember 70 jules harbor 57 ivan indigo 74
bruno birch 96 chen indigo 70 kim ember 107 dina fable 34 gus ember 70 jules harbor 57 ivan indigo 74
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054360
qwen/qwen3.7-plus
awkweave-0054361
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno ember 10 pending kim grove 22 pending kim birch 62 failed hana delta 83 paused lina delta 26 paused jules grove 74 paused dina delta 71 active farah cobalt 94 pending jules birch 98 paused chen amber 10 paused
farah cobalt 94 pending
eli amber 100 active gus delta 20 failed ivan amber 99 paused jules cobalt 49 active dina fable 50 active kim cobalt 28 closed gus amber 28 closed jules birch 69 ready dina fable 109 pending chen delta 41 ready
jules cobalt 49 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054361-p1
Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno ember 10 pending kim grove 22 pending kim birch 62 failed hana delta 83 paused lina delta 26 paused jules grove 74 paused dina delta 71 active farah cobalt 94 pending jules birch 98 paused chen amber 10 paused
farah cobalt 94 pending
eli amber 100 active gus delta 20 failed ivan amber 99 paused jules cobalt 49 active dina fable 50 active kim cobalt 28 closed gus amber 28 closed jules birch 69 ready dina fable 109 pending chen delta 41 ready
jules cobalt 49 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054361
qwen/qwen3.7-plus
awkweave-0054362
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
eli 42 gus 54 gus 92 farah 99 ivan 115 bruno 26 gus 25 bruno 98 ivan 116
eli 42 ivan 115 ivan 116
farah 41 chen 80 dina 28 chen 1 lina 73 gus 3 lina 117 gus 98
farah 41 lina 73
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054362-p1
Output every fourth line of the input, beginning with line 1 (i.e., lines 1, 5, 9, etc.).
NR%4==1
eli 42 gus 54 gus 92 farah 99 ivan 115 bruno 26 gus 25 bruno 98 ivan 116
eli 42 ivan 115 ivan 116
farah 41 chen 80 dina 28 chen 1 lina 73 gus 3 lina 117 gus 98
farah 41 lina 73
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054362
qwen/qwen3.7-plus
awkweave-0054363
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta delta 80 gamma cobalt 62 delta juniper 2 alpha indigo 52 delta ember 66 gamma indigo 98 delta fable 67 beta cobalt 106 delta harbor 60
7
alpha grove 22 delta cobalt 18 delta cobalt 1 gamma harbor 87 gamma harbor 83 delta fable 81
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054363-p1
Determine the number of unique values present in column 2 and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
delta delta 80 gamma cobalt 62 delta juniper 2 alpha indigo 52 delta ember 66 gamma indigo 98 delta fable 67 beta cobalt 106 delta harbor 60
7
alpha grove 22 delta cobalt 18 delta cobalt 1 gamma harbor 87 gamma harbor 83 delta fable 81
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054363
qwen/qwen3.7-plus
awkweave-0054364
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 30 0 eli 20 1 eli 21 9 bruno 19 24 bruno 19 10 eli 10 10 kim 14 13 ivan 6 11
eli 20.00 eli 2.33 bruno 0.79 bruno 1.90 eli 1.00 kim 1.08 ivan 0.55
eli 4 0 hana 24 24 gus 22 29 jules 17 22 kim 8 20 farah 4 5 dina 5 6 hana 19 6 dina 28 28
hana 1.00 gus 0.76 jules 0.77 kim 0.40 farah 0.80 dina 0.83 hana 3.17 dina 1.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054364-p1
For each row where column 3 is not zero, print column 1 and the result of dividing column 2 by column 3, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 30 0 eli 20 1 eli 21 9 bruno 19 24 bruno 19 10 eli 10 10 kim 14 13 ivan 6 11
eli 20.00 eli 2.33 bruno 0.79 bruno 1.90 eli 1.00 kim 1.08 ivan 0.55
eli 4 0 hana 24 24 gus 22 29 jules 17 22 kim 8 20 farah 4 5 dina 5 6 hana 19 6 dina 28 28
hana 1.00 gus 0.76 jules 0.77 kim 0.40 farah 0.80 dina 0.83 hana 3.17 dina 1.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054364
qwen/qwen3.7-plus
awkweave-0054365
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]}
chen amber 28 alice birch 21 kim cobalt 21 kim indigo 29 lina fable 29 lina amber 4 eli grove 29 farah delta 10 chen grove 8
kim indigo 29 lina fable 29 eli grove 29
gus amber 22 lina grove 8 chen fable 12 dina birch 13 dina cobalt 1 farah harbor 2 gus amber 3 gus juniper 4 gus birch 16 ivan ember 29
ivan ember 29 gus amber 22 gus birch 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054365-p1
Output the 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]}
chen amber 28 alice birch 21 kim cobalt 21 kim indigo 29 lina fable 29 lina amber 4 eli grove 29 farah delta 10 chen grove 8
kim indigo 29 lina fable 29 eli grove 29
gus amber 22 lina grove 8 chen fable 12 dina birch 13 dina cobalt 1 farah harbor 2 gus amber 3 gus juniper 4 gus birch 16 ivan ember 29
ivan ember 29 gus amber 22 gus birch 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054365
qwen/qwen3.7-plus
awkweave-0054366
For each line, output fields 3 and 1, in that order.
{print $3, $1}
pending failed active hana ready chen active pending ready jules closed chen closed pending paused jules pending bruno active active paused gus pending gus ready active pending eli ready jules active paused paused alice active alice
active pending ready active paused closed paused active pending ready paused active
closed ready closed hana ready bruno pending failed ready dina pending eli paused pending paused hana closed lina active active pending ivan active gus pending closed pending alice ready farah paused active pending farah pending chen
closed closed ready pending paused paused pending active pending pending pending paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054366-p1
Extract the third and first fields from each line, maintaining that sequence.
{print $3, $1}
pending failed active hana ready chen active pending ready jules closed chen closed pending paused jules pending bruno active active paused gus pending gus ready active pending eli ready jules active paused paused alice active alice
active pending ready active paused closed paused active pending ready paused active
closed ready closed hana ready bruno pending failed ready dina pending eli paused pending paused hana closed lina active active pending ivan active gus pending closed pending alice ready farah paused active pending farah pending chen
closed closed ready pending paused paused pending active pending pending pending paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054366
qwen/qwen3.7-plus
awkweave-0054367
Print the last field of every input line.
{print $NF}
fable ember bruno juniper 20 33 indigo grove jules juniper 10 75 grove ember gus grove 105 46 indigo fable eli amber 93 50 fable cobalt dina birch 16 4 indigo ember alice indigo 51 40
33 75 46 50 4 40
harbor delta chen grove 26 50 fable delta jules birch 76 89 harbor juniper kim birch 97 107 grove indigo farah amber 44 95 fable amber farah grove 100 7 harbor birch gus amber 104 107 birch amber farah juniper 86 53 fable harbor jules birch 66 107
50 89 107 95 7 107 53 107
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054367-p1
Display the final field of every input line.
{print $NF}
fable ember bruno juniper 20 33 indigo grove jules juniper 10 75 grove ember gus grove 105 46 indigo fable eli amber 93 50 fable cobalt dina birch 16 4 indigo ember alice indigo 51 40
33 75 46 50 4 40
harbor delta chen grove 26 50 fable delta jules birch 76 89 harbor juniper kim birch 97 107 grove indigo farah amber 44 95 fable amber farah grove 100 7 harbor birch gus amber 104 107 birch amber farah juniper 86 53 fable harbor jules birch 66 107
50 89 107 95 7 107 53 107
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054367
qwen/qwen3.7-plus
awkweave-0054368
Print the complete records where column 2 is less than 76.
$2 < 76
ivan 45 active ivan 11 closed lina 83 closed chen 88 pending bruno 9 paused chen 114 active eli 6 ready bruno 116 closed
ivan 45 active ivan 11 closed bruno 9 paused eli 6 ready
chen 34 failed kim 118 failed hana 6 paused kim 86 ready jules 2 paused gus 37 closed alice 21 pending bruno 67 closed jules 94 active
chen 34 failed hana 6 paused jules 2 paused gus 37 closed alice 21 pending bruno 67 closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054368-p1
Output entire records where the value in the second column is strictly less than 76.
$2 < 76
ivan 45 active ivan 11 closed lina 83 closed chen 88 pending bruno 9 paused chen 114 active eli 6 ready bruno 116 closed
ivan 45 active ivan 11 closed bruno 9 paused eli 6 ready
chen 34 failed kim 118 failed hana 6 paused kim 86 ready jules 2 paused gus 37 closed alice 21 pending bruno 67 closed jules 94 active
chen 34 failed hana 6 paused jules 2 paused gus 37 closed alice 21 pending bruno 67 closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054368
qwen/qwen3.7-plus
awkweave-0054369
Show whole lines whose 3rd field is between 12 and 25, inclusive.
$3 >= 12 && $3 <= 25
pending bruno 6 fable ready alice 20 ember closed ivan 18 indigo closed ivan 1 cobalt active farah 27 ember failed farah 6 birch closed kim 1 cobalt ready jules 28 birch
ready alice 20 ember closed ivan 18 indigo
active ivan 7 amber ready alice 15 delta paused gus 13 amber failed hana 7 birch active kim 18 delta failed dina 23 juniper
ready alice 15 delta paused gus 13 amber active kim 18 delta failed dina 23 juniper
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054369-p1
Show full lines where the third field falls within the inclusive range of 12 to 25.
$3 >= 12 && $3 <= 25
pending bruno 6 fable ready alice 20 ember closed ivan 18 indigo closed ivan 1 cobalt active farah 27 ember failed farah 6 birch closed kim 1 cobalt ready jules 28 birch
ready alice 20 ember closed ivan 18 indigo
active ivan 7 amber ready alice 15 delta paused gus 13 amber failed hana 7 birch active kim 18 delta failed dina 23 juniper
ready alice 15 delta paused gus 13 amber active kim 18 delta failed dina 23 juniper
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054369
qwen/qwen3.7-plus
awkweave-0054370
Print column 3 only for rows where column 4 is exactly ready.
$4 == "ready"{print $3}
66 birch ivan closed 14 birch gus failed 79 ember gus active 58 amber dina ready 81 cobalt kim active 113 harbor hana ready 68 cobalt farah closed
dina hana
44 amber chen active 94 harbor lina failed 76 indigo gus paused 11 amber dina pending 37 amber eli active 19 grove ivan closed
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054370-p1
Print only the third column for rows where the fourth field matches 'ready' exactly.
$4 == "ready"{print $3}
66 birch ivan closed 14 birch gus failed 79 ember gus active 58 amber dina ready 81 cobalt kim active 113 harbor hana ready 68 cobalt farah closed
dina hana
44 amber chen active 94 harbor lina failed 76 indigo gus paused 11 amber dina pending 37 amber eli active 19 grove ivan closed
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054370
qwen/qwen3.7-plus
awkweave-0054371
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
INFO grove 8 INFO birch 77 ERROR indigo 5 INFO ember 61 WARN ember 58 INFO juniper 69 INFO indigo 46 ERROR harbor 108
WARN ember 58
WARN fable 39 WARN birch 84 DEBUG grove 99 WARN harbor 12 WARN birch 80 DEBUG fable 10 WARN harbor 53
WARN fable 39 WARN birch 84 WARN harbor 12 WARN birch 80 WARN harbor 53
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054371-p1
Output all fields from lines where the first field starts with the prefix 'WARN'.
$1 ~ /^WARN/
INFO grove 8 INFO birch 77 ERROR indigo 5 INFO ember 61 WARN ember 58 INFO juniper 69 INFO indigo 46 ERROR harbor 108
WARN ember 58
WARN fable 39 WARN birch 84 DEBUG grove 99 WARN harbor 12 WARN birch 80 DEBUG fable 10 WARN harbor 53
WARN fable 39 WARN birch 84 WARN harbor 12 WARN birch 80 WARN harbor 53
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054371
qwen/qwen3.7-plus
awkweave-0054372
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
delta 36 pending juniper 1 failed cobalt 19 failed grove 0 active fable 5 active delta 75 paused harbor 63 pending grove 91 ready cobalt 999 active
delta 36 pending juniper 1 failed grove 0 active fable 5 active delta 75 paused harbor 63 pending grove 91 ready
harbor 54 pending juniper 118 paused delta 11 pending cobalt 99 failed juniper 27 ready indigo 63 ready birch 35 active birch 117 pending birch 70 active cobalt 999 active
harbor 54 pending juniper 118 paused delta 11 pending juniper 27 ready indigo 63 ready birch 35 active birch 117 pending birch 70 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054372-p1
Print every line that does not contain the exact string 'cobalt'.
$0 !~ /cobalt/
delta 36 pending juniper 1 failed cobalt 19 failed grove 0 active fable 5 active delta 75 paused harbor 63 pending grove 91 ready cobalt 999 active
delta 36 pending juniper 1 failed grove 0 active fable 5 active delta 75 paused harbor 63 pending grove 91 ready
harbor 54 pending juniper 118 paused delta 11 pending cobalt 99 failed juniper 27 ready indigo 63 ready birch 35 active birch 117 pending birch 70 active cobalt 999 active
harbor 54 pending juniper 118 paused delta 11 pending juniper 27 ready indigo 63 ready birch 35 active birch 117 pending birch 70 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054372
qwen/qwen3.7-plus
awkweave-0054373
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
eli fable 89 kim indigo 57 dina amber 31 chen amber 87 ivan ember 5 lina grove 13
chen amber 87 ivan ember 5
bruno cobalt 115 bruno cobalt 63 hana grove 85 dina ember 112 alice amber 10 jules cobalt 77 hana amber 0 eli birch 69 bruno harbor 40 chen fable 98
dina ember 112 alice amber 10
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054373-p1
Output lines 4 through 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
eli fable 89 kim indigo 57 dina amber 31 chen amber 87 ivan ember 5 lina grove 13
chen amber 87 ivan ember 5
bruno cobalt 115 bruno cobalt 63 hana grove 85 dina ember 112 alice amber 10 jules cobalt 77 hana amber 0 eli birch 69 bruno harbor 40 chen fable 98
dina ember 112 alice amber 10
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054373
qwen/qwen3.7-plus
awkweave-0054374
Output only the first 4 records.
NR <= 4
kim 72 juniper alice 110 cobalt chen 68 cobalt alice 73 grove alice 57 indigo farah 66 fable bruno 86 grove dina 41 fable ivan 67 indigo hana 87 ember
kim 72 juniper alice 110 cobalt chen 68 cobalt alice 73 grove
ivan 115 amber ivan 23 ember eli 45 juniper lina 20 harbor hana 72 grove bruno 89 indigo jules 14 cobalt bruno 84 ember
ivan 115 amber ivan 23 ember eli 45 juniper lina 20 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054374-p1
Restrict output to the first 4 records only.
NR <= 4
kim 72 juniper alice 110 cobalt chen 68 cobalt alice 73 grove alice 57 indigo farah 66 fable bruno 86 grove dina 41 fable ivan 67 indigo hana 87 ember
kim 72 juniper alice 110 cobalt chen 68 cobalt alice 73 grove
ivan 115 amber ivan 23 ember eli 45 juniper lina 20 harbor hana 72 grove bruno 89 indigo jules 14 cobalt bruno 84 ember
ivan 115 amber ivan 23 ember eli 45 juniper lina 20 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054374
qwen/qwen3.7-plus
awkweave-0054375
Skip the first line and print every remaining line unchanged.
NR > 1
kim 87 indigo jules 0 ember chen 107 juniper farah 107 grove hana 79 indigo gus 21 delta lina 97 grove alice 105 indigo jules 94 juniper
jules 0 ember chen 107 juniper farah 107 grove hana 79 indigo gus 21 delta lina 97 grove alice 105 indigo jules 94 juniper
gus 69 cobalt farah 41 birch jules 77 indigo farah 60 ember hana 78 cobalt eli 34 birch ivan 88 indigo jules 100 ember
farah 41 birch jules 77 indigo farah 60 ember hana 78 cobalt eli 34 birch ivan 88 indigo jules 100 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054375-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
kim 87 indigo jules 0 ember chen 107 juniper farah 107 grove hana 79 indigo gus 21 delta lina 97 grove alice 105 indigo jules 94 juniper
jules 0 ember chen 107 juniper farah 107 grove hana 79 indigo gus 21 delta lina 97 grove alice 105 indigo jules 94 juniper
gus 69 cobalt farah 41 birch jules 77 indigo farah 60 ember hana 78 cobalt eli 34 birch ivan 88 indigo jules 100 ember
farah 41 birch jules 77 indigo farah 60 ember hana 78 cobalt eli 34 birch ivan 88 indigo jules 100 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054375
qwen/qwen3.7-plus
awkweave-0054376
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
ivan ready 31 lina active 113 hana ready 31 hana pending 112 jules ready 19 lina closed 17 ivan failed 105 kim paused 109 dina pending 14 farah active 65
1
ivan pending 19 alice ready 25 eli active 43 lina closed 118 jules closed 80 farah closed 55 ivan ready 112 chen ready 11 jules failed 43
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054376-p1
Count the number of records where column 2 contains 'closed'; output 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
ivan ready 31 lina active 113 hana ready 31 hana pending 112 jules ready 19 lina closed 17 ivan failed 105 kim paused 109 dina pending 14 farah active 65
1
ivan pending 19 alice ready 25 eli active 43 lina closed 118 jules closed 80 farah closed 55 ivan ready 112 chen ready 11 jules failed 43
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054376
qwen/qwen3.7-plus
awkweave-0054377
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
delta 1 ivan indigo 5 dina indigo 4 hana indigo 7 eli fable 27 kim harbor 15 farah birch 5 dina
64
indigo 24 gus juniper 12 alice delta 29 chen delta 20 lina cobalt 9 kim amber 9 chen fable 18 hana cobalt 21 eli fable 15 hana ember 5 eli
162
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054377-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
delta 1 ivan indigo 5 dina indigo 4 hana indigo 7 eli fable 27 kim harbor 15 farah birch 5 dina
64
indigo 24 gus juniper 12 alice delta 29 chen delta 20 lina cobalt 9 kim amber 9 chen fable 18 hana cobalt 21 eli fable 15 hana ember 5 eli
162
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054377
qwen/qwen3.7-plus
awkweave-0054378
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 29 grove gus 23 amber jules 9 indigo chen 15 birch bruno 24 fable jules 10 harbor
18.33
bruno 27 harbor jules 27 indigo kim 9 birch lina 27 ember ivan 15 indigo jules 30 harbor
22.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054378-p1
Output the average of the values in column 2, formatted to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 29 grove gus 23 amber jules 9 indigo chen 15 birch bruno 24 fable jules 10 harbor
18.33
bruno 27 harbor jules 27 indigo kim 9 birch lina 27 ember ivan 15 indigo jules 30 harbor
22.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054378
qwen/qwen3.7-plus
awkweave-0054379
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 10 dina ember 3 farah juniper 6 jules amber 13 lina juniper 6 alice delta 21 hana birch 2 farah juniper 28 bruno amber 10 gus
2
birch 8 jules harbor 16 ivan delta 20 gus indigo 29 bruno harbor 26 hana cobalt 14 lina cobalt 5 farah amber 21 eli grove 21 ivan indigo 16 kim
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054379-p1
Identify and display the minimum number found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 10 dina ember 3 farah juniper 6 jules amber 13 lina juniper 6 alice delta 21 hana birch 2 farah juniper 28 bruno amber 10 gus
2
birch 8 jules harbor 16 ivan delta 20 gus indigo 29 bruno harbor 26 hana cobalt 14 lina cobalt 5 farah amber 21 eli grove 21 ivan indigo 16 kim
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054379
qwen/qwen3.7-plus
awkweave-0054380
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
gus harbor 28 alice juniper 27 farah juniper 21 hana grove 26 gus harbor 17 hana birch 7 lina harbor 10
28
eli ember 18 kim juniper 12 farah harbor 25 lina delta 4 chen indigo 28 jules fable 7 bruno ember 1 jules delta 13 eli delta 2
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054380-p1
Identify and display the maximum number found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
gus harbor 28 alice juniper 27 farah juniper 21 hana grove 26 gus harbor 17 hana birch 7 lina harbor 10
28
eli ember 18 kim juniper 12 farah harbor 25 lina delta 4 chen indigo 28 jules fable 7 bruno ember 1 jules delta 13 eli delta 2
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054380
qwen/qwen3.7-plus
awkweave-0054381
Count all input records and print the total.
END{print NR}
eli 1 hana 4 chen 58 hana 57 alice 49 hana 57
6
gus 55 lina 112 eli 32 eli 24 bruno 74 jules 8 eli 32 farah 109 eli 51
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054381-p1
Calculate and print the total number of input records.
END{print NR}
eli 1 hana 4 chen 58 hana 57 alice 49 hana 57
6
gus 55 lina 112 eli 32 eli 24 bruno 74 jules 8 eli 32 farah 109 eli 51
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054381
qwen/qwen3.7-plus
awkweave-0054382
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice harbor 99 chen grove 117 gus juniper 108 farah cobalt 28 hana fable 120 alice harbor 99 bruno harbor 74 chen harbor 50 lina birch 39 ivan harbor 111 kim grove 92
alice harbor 99 chen grove 117 gus juniper 108 farah cobalt 28 hana fable 120 bruno harbor 74 chen harbor 50 lina birch 39 ivan harbor 111 kim grove 92
lina grove 46 farah cobalt 77 alice indigo 39 hana indigo 74 lina grove 46 bruno ember 16 dina amber 32 kim delta 0 kim grove 76 chen birch 72 jules birch 18
lina grove 46 farah cobalt 77 alice indigo 39 hana indigo 74 bruno ember 16 dina amber 32 kim delta 0 kim grove 76 chen birch 72 jules birch 18
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054382-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice harbor 99 chen grove 117 gus juniper 108 farah cobalt 28 hana fable 120 alice harbor 99 bruno harbor 74 chen harbor 50 lina birch 39 ivan harbor 111 kim grove 92
alice harbor 99 chen grove 117 gus juniper 108 farah cobalt 28 hana fable 120 bruno harbor 74 chen harbor 50 lina birch 39 ivan harbor 111 kim grove 92
lina grove 46 farah cobalt 77 alice indigo 39 hana indigo 74 lina grove 46 bruno ember 16 dina amber 32 kim delta 0 kim grove 76 chen birch 72 jules birch 18
lina grove 46 farah cobalt 77 alice indigo 39 hana indigo 74 bruno ember 16 dina amber 32 kim delta 0 kim grove 76 chen birch 72 jules birch 18
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054382
qwen/qwen3.7-plus