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-0052502-p1
Restrict the output to only the first 4 records.
NR <= 4
eli 52 birch lina 82 ember jules 80 indigo gus 104 harbor eli 1 fable lina 110 cobalt gus 87 delta bruno 103 amber jules 38 birch gus 75 ember
eli 52 birch lina 82 ember jules 80 indigo gus 104 harbor
farah 85 juniper bruno 110 delta alice 11 juniper bruno 3 harbor eli 68 fable hana 5 juniper dina 22 amber eli 20 fable
farah 85 juniper bruno 110 delta alice 11 juniper bruno 3 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052502
qwen/qwen3.7-plus
awkweave-0052503
Skip the first line and print every remaining line unchanged.
NR > 1
lina 52 juniper eli 83 harbor lina 81 grove eli 98 birch dina 12 juniper jules 57 cobalt dina 102 delta jules 97 amber
eli 83 harbor lina 81 grove eli 98 birch dina 12 juniper jules 57 cobalt dina 102 delta jules 97 amber
gus 112 delta eli 39 ember chen 21 delta farah 45 grove chen 14 birch jules 35 harbor lina 101 juniper dina 102 ember
eli 39 ember chen 21 delta farah 45 grove chen 14 birch jules 35 harbor lina 101 juniper dina 102 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052503-p1
Ignore the first line and print all remaining lines exactly as they appear.
NR > 1
lina 52 juniper eli 83 harbor lina 81 grove eli 98 birch dina 12 juniper jules 57 cobalt dina 102 delta jules 97 amber
eli 83 harbor lina 81 grove eli 98 birch dina 12 juniper jules 57 cobalt dina 102 delta jules 97 amber
gus 112 delta eli 39 ember chen 21 delta farah 45 grove chen 14 birch jules 35 harbor lina 101 juniper dina 102 ember
eli 39 ember chen 21 delta farah 45 grove chen 14 birch jules 35 harbor lina 101 juniper dina 102 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052503
qwen/qwen3.7-plus
awkweave-0052504
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
gus pending 34 ivan failed 27 eli active 81 lina ready 69 gus ready 71 kim failed 12 ivan ready 68 farah paused 22 dina failed 73 jules closed 109
1
dina active 111 dina pending 48 chen ready 44 lina pending 11 kim active 71 dina pending 62
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052504-p1
Count the number of records where column 2 contains paused, and print 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
gus pending 34 ivan failed 27 eli active 81 lina ready 69 gus ready 71 kim failed 12 ivan ready 68 farah paused 22 dina failed 73 jules closed 109
1
dina active 111 dina pending 48 chen ready 44 lina pending 11 kim active 71 dina pending 62
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052504
qwen/qwen3.7-plus
awkweave-0052505
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
jules birch 6 gus indigo 30 dina grove 12 ivan grove 14 eli birch 28 kim fable 21 farah harbor 6
117
hana indigo 30 chen indigo 23 bruno harbor 30 ivan grove 18 lina birch 16 ivan fable 10 kim amber 30 chen indigo 25 bruno ember 12 lina juniper 21
215
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052505-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
jules birch 6 gus indigo 30 dina grove 12 ivan grove 14 eli birch 28 kim fable 21 farah harbor 6
117
hana indigo 30 chen indigo 23 bruno harbor 30 ivan grove 18 lina birch 16 ivan fable 10 kim amber 30 chen indigo 25 bruno ember 12 lina juniper 21
215
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052505
qwen/qwen3.7-plus
awkweave-0052506
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 3 kim grove 21 hana cobalt 25 ivan fable 25 alice cobalt 22 chen ember 5 lina birch 3 hana juniper 2 dina ember 26 lina
14.67
indigo 11 kim cobalt 22 chen juniper 18 farah ember 20 kim grove 28 alice juniper 6 eli cobalt 1 gus
15.14
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052506-p1
Calculate and display the average of the second column, formatted to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 3 kim grove 21 hana cobalt 25 ivan fable 25 alice cobalt 22 chen ember 5 lina birch 3 hana juniper 2 dina ember 26 lina
14.67
indigo 11 kim cobalt 22 chen juniper 18 farah ember 20 kim grove 28 alice juniper 6 eli cobalt 1 gus
15.14
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052506
qwen/qwen3.7-plus
awkweave-0052507
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 2 bruno amber 27 eli ember 3 alice indigo 18 alice amber 3 bruno cobalt 18 alice
2
indigo 1 kim indigo 29 bruno juniper 22 jules fable 4 dina ember 15 eli grove 12 chen birch 14 eli birch 14 jules
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052507-p1
Identify and output the minimum numerical value found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 2 bruno amber 27 eli ember 3 alice indigo 18 alice amber 3 bruno cobalt 18 alice
2
indigo 1 kim indigo 29 bruno juniper 22 jules fable 4 dina ember 15 eli grove 12 chen birch 14 eli birch 14 jules
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052507
qwen/qwen3.7-plus
awkweave-0052508
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
19 ember jules 2 fable eli 16 indigo jules 6 harbor lina 5 ember gus 20 delta jules 8 juniper farah 3 harbor lina 21 juniper eli 20 cobalt dina
21
27 cobalt chen 14 grove alice 8 grove bruno 4 birch bruno 28 harbor ivan 1 indigo farah 14 fable lina 17 grove hana 30 ember farah
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052508-p1
Determine and print the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
19 ember jules 2 fable eli 16 indigo jules 6 harbor lina 5 ember gus 20 delta jules 8 juniper farah 3 harbor lina 21 juniper eli 20 cobalt dina
21
27 cobalt chen 14 grove alice 8 grove bruno 4 birch bruno 28 harbor ivan 1 indigo farah 14 fable lina 17 grove hana 30 ember farah
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052508
qwen/qwen3.7-plus
awkweave-0052509
Count all input records and print the total.
END{print NR}
gus 91 ivan 86 alice 65 lina 85 hana 114 ivan 72
6
eli 0 alice 48 chen 37 lina 66 eli 82 bruno 36 alice 103 eli 90 eli 96
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052509-p1
Count the total number of input records and output the result.
END{print NR}
gus 91 ivan 86 alice 65 lina 85 hana 114 ivan 72
6
eli 0 alice 48 chen 37 lina 66 eli 82 bruno 36 alice 103 eli 90 eli 96
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052509
qwen/qwen3.7-plus
awkweave-0052510
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules harbor 87 ivan indigo 24 jules harbor 53 jules harbor 87 gus ember 66 alice delta 53 kim cobalt 72 kim fable 56 gus grove 55 jules indigo 41 dina cobalt 24
jules harbor 87 ivan indigo 24 jules harbor 53 gus ember 66 alice delta 53 kim cobalt 72 kim fable 56 gus grove 55 jules indigo 41 dina cobalt 24
kim grove 21 eli harbor 94 lina ember 18 alice fable 19 lina juniper 78 eli indigo 54 jules indigo 62 farah ember 26 jules indigo 62 hana indigo 43 lina ember 108
kim grove 21 eli harbor 94 lina ember 18 alice fable 19 lina juniper 78 eli indigo 54 jules indigo 62 farah ember 26 hana indigo 43 lina ember 108
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052510-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
jules harbor 87 ivan indigo 24 jules harbor 53 jules harbor 87 gus ember 66 alice delta 53 kim cobalt 72 kim fable 56 gus grove 55 jules indigo 41 dina cobalt 24
jules harbor 87 ivan indigo 24 jules harbor 53 gus ember 66 alice delta 53 kim cobalt 72 kim fable 56 gus grove 55 jules indigo 41 dina cobalt 24
kim grove 21 eli harbor 94 lina ember 18 alice fable 19 lina juniper 78 eli indigo 54 jules indigo 62 farah ember 26 jules indigo 62 hana indigo 43 lina ember 108
kim grove 21 eli harbor 94 lina ember 18 alice fable 19 lina juniper 78 eli indigo 54 jules indigo 62 farah ember 26 hana indigo 43 lina ember 108
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052510
qwen/qwen3.7-plus
awkweave-0052511
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
alice cobalt 63 lina indigo 69 chen cobalt 119 chen birch 25 lina grove 11 ivan indigo 117 alice fable 94 bruno grove 36 bruno fable 66 hana indigo 119
alice cobalt 63 lina indigo 69 chen cobalt 119 ivan indigo 117 bruno grove 36 hana indigo 119
gus indigo 118 lina fable 118 hana delta 65 alice delta 71 hana fable 15 alice fable 4 kim birch 10
gus indigo 118 lina fable 118 hana delta 65 alice delta 71 kim birch 10
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052511-p1
Retain only the initial line for every unique value in the first column while preserving the input order.
!seen[$1]++
alice cobalt 63 lina indigo 69 chen cobalt 119 chen birch 25 lina grove 11 ivan indigo 117 alice fable 94 bruno grove 36 bruno fable 66 hana indigo 119
alice cobalt 63 lina indigo 69 chen cobalt 119 ivan indigo 117 bruno grove 36 hana indigo 119
gus indigo 118 lina fable 118 hana delta 65 alice delta 71 hana fable 15 alice fable 4 kim birch 10
gus indigo 118 lina fable 118 hana delta 65 alice delta 71 kim birch 10
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052511
qwen/qwen3.7-plus
awkweave-0052512
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 26 juniper gus 6 ember farah 19 indigo dina 27 indigo dina 27 amber farah 11 indigo
kim 26 gus 32 farah 51 dina 78 dina 105 farah 116
farah 28 fable eli 21 juniper chen 6 harbor alice 27 birch gus 2 grove ivan 27 ember jules 16 indigo kim 28 cobalt farah 12 harbor
farah 28 eli 49 chen 55 alice 82 gus 84 ivan 111 jules 127 kim 155 farah 167
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052512-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
kim 26 juniper gus 6 ember farah 19 indigo dina 27 indigo dina 27 amber farah 11 indigo
kim 26 gus 32 farah 51 dina 78 dina 105 farah 116
farah 28 fable eli 21 juniper chen 6 harbor alice 27 birch gus 2 grove ivan 27 ember jules 16 indigo kim 28 cobalt farah 12 harbor
farah 28 eli 49 chen 55 alice 82 gus 84 ivan 111 jules 127 kim 155 farah 167
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052512
qwen/qwen3.7-plus
awkweave-0052513
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 2 1 amber ivan 12 7 fable eli 29 10 cobalt dina 26 24 fable bruno 28 23 fable ivan 18 16 amber farah 5 22 indigo dina 28 13 grove lina 23 23 ember bruno 18 12 ember
gus 3 ivan 19 eli 39 dina 50 bruno 51 ivan 34 farah 27 dina 41 lina 46 bruno 30
bruno 3 18 harbor chen 25 29 fable chen 9 8 birch lina 22 4 birch kim 7 23 ember farah 25 25 harbor lina 9 12 juniper chen 13 10 fable dina 26 5 grove
bruno 21 chen 54 chen 17 lina 26 kim 30 farah 50 lina 21 chen 23 dina 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052513-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
gus 2 1 amber ivan 12 7 fable eli 29 10 cobalt dina 26 24 fable bruno 28 23 fable ivan 18 16 amber farah 5 22 indigo dina 28 13 grove lina 23 23 ember bruno 18 12 ember
gus 3 ivan 19 eli 39 dina 50 bruno 51 ivan 34 farah 27 dina 41 lina 46 bruno 30
bruno 3 18 harbor chen 25 29 fable chen 9 8 birch lina 22 4 birch kim 7 23 ember farah 25 25 harbor lina 9 12 juniper chen 13 10 fable dina 26 5 grove
bruno 21 chen 54 chen 17 lina 26 kim 30 farah 50 lina 21 chen 23 dina 31
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052513
qwen/qwen3.7-plus
awkweave-0052514
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
kim 8 eli 28 gus 28 dina 18 gus 4 hana 30
kim fail eli pass gus pass dina fail gus fail hana pass
jules 5 gus 7 chen 16 kim 28 ivan 18 kim 6 dina 20 alice 13 lina 5
jules fail gus fail chen fail kim pass ivan fail kim fail dina fail alice fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052514-p1
Print the first column; append 'pass' if the second column is 24 or greater, otherwise append 'fail'.
{print $1,($2>=24?"pass":"fail")}
kim 8 eli 28 gus 28 dina 18 gus 4 hana 30
kim fail eli pass gus pass dina fail gus fail hana pass
jules 5 gus 7 chen 16 kim 28 ivan 18 kim 6 dina 20 alice 13 lina 5
jules fail gus fail chen fail kim pass ivan fail kim fail dina fail alice fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052514
qwen/qwen3.7-plus
awkweave-0052515
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules cobalt 7 jules birch 111 ivan ember 104 hana grove 21 kim indigo 97 lina juniper 62 jules fable 94 hana harbor 24
JULES JULES IVAN HANA KIM LINA JULES HANA
farah juniper 8 farah fable 102 hana indigo 68 farah fable 16 ivan cobalt 46 gus ember 36 hana birch 76 eli harbor 50
FARAH FARAH HANA FARAH IVAN GUS HANA ELI
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052515-p1
Transform the first column to uppercase and output only that transformed column.
{print toupper($1)}
jules cobalt 7 jules birch 111 ivan ember 104 hana grove 21 kim indigo 97 lina juniper 62 jules fable 94 hana harbor 24
JULES JULES IVAN HANA KIM LINA JULES HANA
farah juniper 8 farah fable 102 hana indigo 68 farah fable 16 ivan cobalt 46 gus ember 36 hana birch 76 eli harbor 50
FARAH FARAH HANA FARAH IVAN GUS HANA ELI
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052515
qwen/qwen3.7-plus
awkweave-0052516
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
harbor 36 birch 58 fable 8 ember 2 cobalt 120 amber 75
har bir fab emb cob amb
birch 67 ember 76 harbor 31 ember 117 delta 86 amber 118
bir emb har emb del amb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052516-p1
Extract and print the first 3 characters from the first column.
{print substr($1,1,3)}
harbor 36 birch 58 fable 8 ember 2 cobalt 120 amber 75
har bir fab emb cob amb
birch 67 ember 76 harbor 31 ember 117 delta 86 amber 118
bir emb har emb del amb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052516
qwen/qwen3.7-plus
awkweave-0052517
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_indigo 101 harbor_ember 21 indigo_ember 101 harbor_ember 108 fable_fable 8 cobalt_indigo 111 harbor_cobalt 116 birch_indigo 71 delta_cobalt 48
amber indigo harbor ember indigo ember harbor ember fable fable cobalt indigo harbor cobalt birch indigo delta cobalt
grove_grove 12 fable_delta 79 harbor_cobalt 53 indigo_fable 23 harbor_amber 28 ember_indigo 62
grove grove fable delta harbor cobalt indigo fable harbor amber ember indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052517-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
amber_indigo 101 harbor_ember 21 indigo_ember 101 harbor_ember 108 fable_fable 8 cobalt_indigo 111 harbor_cobalt 116 birch_indigo 71 delta_cobalt 48
amber indigo harbor ember indigo ember harbor ember fable fable cobalt indigo harbor cobalt birch indigo delta cobalt
grove_grove 12 fable_delta 79 harbor_cobalt 53 indigo_fable 23 harbor_amber 28 ember_indigo 62
grove grove fable delta harbor cobalt indigo fable harbor amber ember indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052517
qwen/qwen3.7-plus
awkweave-0052518
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)}
chen birch 48 failed alice delta 54 pending hana ember 30 failed ivan juniper 60 pending dina ember 101 ready farah fable 32 pending hana delta 4 pending
failed 48 birch chen pending 54 delta alice failed 30 ember hana pending 60 juniper ivan ready 101 ember dina pending 32 fable farah pending 4 delta hana
lina juniper 31 ready chen grove 36 active farah ember 4 paused farah amber 96 closed ivan ember 8 closed gus delta 31 active eli fable 102 active chen delta 56 paused
ready 31 juniper lina active 36 grove chen paused 4 ember farah closed 96 amber farah closed 8 ember ivan active 31 delta gus active 102 fable eli paused 56 delta chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052518-p1
Reverse the field sequence on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen birch 48 failed alice delta 54 pending hana ember 30 failed ivan juniper 60 pending dina ember 101 ready farah fable 32 pending hana delta 4 pending
failed 48 birch chen pending 54 delta alice failed 30 ember hana pending 60 juniper ivan ready 101 ember dina pending 32 fable farah pending 4 delta hana
lina juniper 31 ready chen grove 36 active farah ember 4 paused farah amber 96 closed ivan ember 8 closed gus delta 31 active eli fable 102 active chen delta 56 paused
ready 31 juniper lina active 36 grove chen paused 4 ember farah closed 96 amber farah closed 8 ember ivan active 31 delta gus active 102 fable eli paused 56 delta chen
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052518
qwen/qwen3.7-plus
awkweave-0052519
Print the number of whitespace-separated fields on each line.
{print NF}
dina grove 83 active jules grove 15 paused bruno harbor 12 pending dina ember 85 paused hana delta 34 closed lina cobalt 55 pending kim amber 30 failed
4 4 4 4 4 4 4
chen ember 56 active eli birch 7 closed bruno fable 78 paused farah grove 107 paused alice delta 17 paused eli fable 75 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052519-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
dina grove 83 active jules grove 15 paused bruno harbor 12 pending dina ember 85 paused hana delta 34 closed lina cobalt 55 pending kim amber 30 failed
4 4 4 4 4 4 4
chen ember 56 active eli birch 7 closed bruno fable 78 paused farah grove 107 paused alice delta 17 paused eli fable 75 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052519
qwen/qwen3.7-plus
awkweave-0052520
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]]}
bruno gamma 99 alice gamma 5 eli delta 112 farah gamma 111 jules alpha 46 gus gamma 109 eli beta 20 chen beta 89 chen alpha 103 ivan delta 23
gamma 4 delta 2 alpha 2 beta 2
dina beta 53 ivan gamma 102 eli gamma 119 dina delta 110 jules alpha 2 chen beta 48 chen delta 94 hana beta 59
beta 3 gamma 2 delta 2 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052520-p1
Tally records by the value in column 2, listing each value and its total 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]]}
bruno gamma 99 alice gamma 5 eli delta 112 farah gamma 111 jules alpha 46 gus gamma 109 eli beta 20 chen beta 89 chen alpha 103 ivan delta 23
gamma 4 delta 2 alpha 2 beta 2
dina beta 53 ivan gamma 102 eli gamma 119 dina delta 110 jules alpha 2 chen beta 48 chen delta 94 hana beta 59
beta 3 gamma 2 delta 2 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052520
qwen/qwen3.7-plus
awkweave-0052521
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]]}
jules beta 5 eli gamma 17 lina beta 20 gus beta 8 jules gamma 16 kim beta 15 dina gamma 4 bruno beta 16 jules gamma 2 ivan alpha 21
beta 64 gamma 39 alpha 21
hana delta 21 eli beta 6 lina delta 3 bruno gamma 6 dina alpha 11 kim gamma 4 eli alpha 22 ivan gamma 15
delta 24 beta 6 gamma 25 alpha 33
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052521-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying results 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]]}
jules beta 5 eli gamma 17 lina beta 20 gus beta 8 jules gamma 16 kim beta 15 dina gamma 4 bruno beta 16 jules gamma 2 ivan alpha 21
beta 64 gamma 39 alpha 21
hana delta 21 eli beta 6 lina delta 3 bruno gamma 6 dina alpha 11 kim gamma 4 eli alpha 22 ivan gamma 15
delta 24 beta 6 gamma 25 alpha 33
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052521
qwen/qwen3.7-plus
awkweave-0052522
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]]}
gamma harbor 25 beta delta 29 delta harbor 7 alpha harbor 76 beta juniper 48 gamma amber 94
gamma 2 beta 2
delta juniper 53 beta grove 90 delta birch 6 beta ember 14 alpha harbor 100 delta harbor 39 alpha ember 42 beta delta 83
delta 3 beta 3 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052522-p1
List duplicate values from column 1 alongside their occurrence counts, 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]]}
gamma harbor 25 beta delta 29 delta harbor 7 alpha harbor 76 beta juniper 48 gamma amber 94
gamma 2 beta 2
delta juniper 53 beta grove 90 delta birch 6 beta ember 14 alpha harbor 100 delta harbor 39 alpha ember 42 beta delta 83
delta 3 beta 3 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052522
qwen/qwen3.7-plus
awkweave-0052523
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
state region note score r001 kim 18 active r002 chen 10 closed r003 eli 17 active r004 eli 18 pending r005 bruno 4 pending r006 alice 13 paused
18 10 17 18 4 13
state region note score r001 jules 25 failed r002 kim 30 paused r003 chen 11 failed r004 gus 27 closed r005 jules 27 ready r006 bruno 15 ready r007 chen 25 failed r008 kim 14 paused r009 hana 29 pending
25 30 11 27 27 15 25 14 29
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052523-p1
Skip the header row and output the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
state region note score r001 kim 18 active r002 chen 10 closed r003 eli 17 active r004 eli 18 pending r005 bruno 4 pending r006 alice 13 paused
18 10 17 18 4 13
state region note score r001 jules 25 failed r002 kim 30 paused r003 chen 11 failed r004 gus 27 closed r005 jules 27 ready r006 bruno 15 ready r007 chen 25 failed r008 kim 14 paused r009 hana 29 pending
25 30 11 27 27 15 25 14 29
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052523
qwen/qwen3.7-plus
awkweave-0052524
The first row is a header. Print display_name for data rows whose score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 ivan 30 active r002 lina 23 ready r003 dina 2 ready r004 ivan 2 paused r005 farah 3 paused r006 kim 8 active r007 lina 23 paused r008 eli 4 active r009 eli 7 pending
ivan lina lina
record_id display_name score state r001 farah 28 active r002 gus 12 active r003 kim 6 failed r004 jules 11 ready r005 gus 27 failed r006 farah 7 ready r007 alice 7 active
farah gus jules gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052524-p1
Ignoring the header, print the display_name for rows where the score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 ivan 30 active r002 lina 23 ready r003 dina 2 ready r004 ivan 2 paused r005 farah 3 paused r006 kim 8 active r007 lina 23 paused r008 eli 4 active r009 eli 7 pending
ivan lina lina
record_id display_name score state r001 farah 28 active r002 gus 12 active r003 kim 6 failed r004 jules 11 ready r005 gus 27 failed r006 farah 7 ready r007 alice 7 active
farah gus jules gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052524
qwen/qwen3.7-plus
awkweave-0052525
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
alice 20 pending jules 23 paused eli 11 pending lina 20 closed jules 4 closed eli 23 paused gus 9 paused lina 2 closed eli 18 pending farah 15 failed
alice jules eli lina jules eli gus lina eli farah
dina 13 active jules 22 failed eli 27 paused jules 1 closed hana 12 pending ivan 19 ready lina 7 closed eli 10 ready
dina jules eli jules hana ivan lina eli
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052525-p1
Extract and print the first column from tab-separated input records.
BEGIN{FS=OFS="\t"}{print $1}
alice 20 pending jules 23 paused eli 11 pending lina 20 closed jules 4 closed eli 23 paused gus 9 paused lina 2 closed eli 18 pending farah 15 failed
alice jules eli lina jules eli gus lina eli farah
dina 13 active jules 22 failed eli 27 paused jules 1 closed hana 12 pending ivan 19 ready lina 7 closed eli 10 ready
dina jules eli jules hana ivan lina eli
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052525
qwen/qwen3.7-plus
awkweave-0052526
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18.
BEGIN{FS=OFS=","}$2>18{print $1}
dina,13,ready ivan,20,closed alice,8,closed lina,5,active lina,15,closed chen,7,failed
ivan
kim,3,pending gus,24,closed lina,2,active bruno,4,pending chen,23,closed gus,19,ready dina,18,ready farah,23,pending eli,5,active
gus chen gus farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052526-p1
For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 18.
BEGIN{FS=OFS=","}$2>18{print $1}
dina,13,ready ivan,20,closed alice,8,closed lina,5,active lina,15,closed chen,7,failed
ivan
kim,3,pending gus,24,closed lina,2,active bruno,4,pending chen,23,closed gus,19,ready dina,18,ready farah,23,pending eli,5,active
gus chen gus farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052526
qwen/qwen3.7-plus
awkweave-0052527
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules cobalt 100 ivan birch 119 farah harbor 80 eli amber 110 chen birch 15 dina grove 80 hana grove 21 hana birch 77 eli cobalt 90
jules cobalt 100 ivan birch 119 farah harbor 80 eli amber 110 chen birch 15 dina grove 80 hana grove 21 hana birch 77 eli cobalt 90
alice ember 55 dina fable 112 gus indigo 42 hana ember 112 ivan cobalt 10 farah juniper 25 dina delta 6 bruno amber 44
alice ember 55 dina fable 112 gus indigo 42 hana ember 112 ivan cobalt 10 farah juniper 25 dina delta 6 bruno amber 44
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052527-p1
Remove leading and trailing whitespace and reduce internal whitespace sequences to single spaces.
{$1=$1;print}
jules cobalt 100 ivan birch 119 farah harbor 80 eli amber 110 chen birch 15 dina grove 80 hana grove 21 hana birch 77 eli cobalt 90
jules cobalt 100 ivan birch 119 farah harbor 80 eli amber 110 chen birch 15 dina grove 80 hana grove 21 hana birch 77 eli cobalt 90
alice ember 55 dina fable 112 gus indigo 42 hana ember 112 ivan cobalt 10 farah juniper 25 dina delta 6 bruno amber 44
alice ember 55 dina fable 112 gus indigo 42 hana ember 112 ivan cobalt 10 farah juniper 25 dina delta 6 bruno amber 44
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052527
qwen/qwen3.7-plus
awkweave-0052528
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules juniper 102 failed kim cobalt 81 active eli fable 106 ready bruno ember 87 failed bruno harbor 66 failed jules fable 29 failed gus harbor 54 paused ivan juniper 110 active alice birch 5 ready
jules juniper 102 failed
dina juniper 15 paused chen juniper 110 active bruno juniper 52 closed gus fable 73 paused alice ember 24 paused lina fable 64 failed gus cobalt 100 closed dina fable 30 ready
chen juniper 110 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052528-p1
Identify and print the longest line from the input, selecting the earliest one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
jules juniper 102 failed kim cobalt 81 active eli fable 106 ready bruno ember 87 failed bruno harbor 66 failed jules fable 29 failed gus harbor 54 paused ivan juniper 110 active alice birch 5 ready
jules juniper 102 failed
dina juniper 15 paused chen juniper 110 active bruno juniper 52 closed gus fable 73 paused alice ember 24 paused lina fable 64 failed gus cobalt 100 closed dina fable 30 ready
chen juniper 110 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052528
qwen/qwen3.7-plus
awkweave-0052529
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
bruno 76 gus 38 alice 57 ivan 92 kim 5 farah 27 jules 73 farah 43 hana 111
gus 38 kim 5 farah 43
gus 49 jules 61 lina 117 chen 104 alice 59 alice 20 ivan 21
jules 61 alice 59
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052529-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, etc.).
NR%3==2
bruno 76 gus 38 alice 57 ivan 92 kim 5 farah 27 jules 73 farah 43 hana 111
gus 38 kim 5 farah 43
gus 49 jules 61 lina 117 chen 104 alice 59 alice 20 ivan 21
jules 61 alice 59
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052529
qwen/qwen3.7-plus
awkweave-0052530
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma ember 30 alpha juniper 75 gamma ember 79 alpha indigo 120 delta indigo 74 beta juniper 42
3
gamma amber 63 delta birch 50 gamma ember 85 alpha juniper 79 alpha ember 6 alpha harbor 36 gamma delta 87 delta juniper 93 beta birch 43
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052530-p1
Calculate and display the number of unique entries in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma ember 30 alpha juniper 75 gamma ember 79 alpha indigo 120 delta indigo 74 beta juniper 42
3
gamma amber 63 delta birch 50 gamma ember 85 alpha juniper 79 alpha ember 6 alpha harbor 36 gamma delta 87 delta juniper 93 beta birch 43
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052530
qwen/qwen3.7-plus
awkweave-0052531
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}
dina 10 0 kim 23 5 alice 5 4 eli 13 1 ivan 1 5 gus 12 5 chen 21 17 gus 3 4 dina 10 8 gus 27 2
kim 4.60 alice 1.25 eli 13.00 ivan 0.20 gus 2.40 chen 1.24 gus 0.75 dina 1.25 gus 13.50
hana 16 0 chen 15 24 chen 21 25 alice 18 22 kim 25 25 farah 9 27
chen 0.62 chen 0.84 alice 0.82 kim 1.00 farah 0.33
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052531-p1
For every row where the third column is not zero, output 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}
dina 10 0 kim 23 5 alice 5 4 eli 13 1 ivan 1 5 gus 12 5 chen 21 17 gus 3 4 dina 10 8 gus 27 2
kim 4.60 alice 1.25 eli 13.00 ivan 0.20 gus 2.40 chen 1.24 gus 0.75 dina 1.25 gus 13.50
hana 16 0 chen 15 24 chen 21 25 alice 18 22 kim 25 25 farah 9 27
chen 0.62 chen 0.84 alice 0.82 kim 1.00 farah 0.33
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052531
qwen/qwen3.7-plus
awkweave-0052532
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]}
dina amber 15 eli ember 1 dina cobalt 24 jules cobalt 22 chen indigo 13 lina ember 2
dina cobalt 24 jules cobalt 22 dina amber 15
eli ember 12 bruno harbor 14 dina fable 12 chen ember 4 kim harbor 8 gus ember 12 jules juniper 29 hana harbor 30
hana harbor 30 jules juniper 29 bruno harbor 14
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052532-p1
Display the top three records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
dina amber 15 eli ember 1 dina cobalt 24 jules cobalt 22 chen indigo 13 lina ember 2
dina cobalt 24 jules cobalt 22 dina amber 15
eli ember 12 bruno harbor 14 dina fable 12 chen ember 4 kim harbor 8 gus ember 12 jules juniper 29 hana harbor 30
hana harbor 30 jules juniper 29 bruno harbor 14
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052532
qwen/qwen3.7-plus
awkweave-0052533
Print column 5 followed by column 3 for every record.
{print $5, $3}
44 dina active 45 failed 93 dina active 51 closed 24 eli paused 100 paused 58 hana pending 79 pending 77 lina pending 107 ready 80 farah active 45 active
failed active closed active paused paused pending pending ready pending active active
96 chen ready 49 ready 76 lina pending 68 failed 73 ivan paused 6 paused 94 bruno closed 47 ready 87 farah closed 62 closed 84 hana pending 63 closed
ready ready failed pending paused paused ready closed closed closed closed pending
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052533-p1
Output the fifth column followed by the third column for each record.
{print $5, $3}
44 dina active 45 failed 93 dina active 51 closed 24 eli paused 100 paused 58 hana pending 79 pending 77 lina pending 107 ready 80 farah active 45 active
failed active closed active paused paused pending pending ready pending active active
96 chen ready 49 ready 76 lina pending 68 failed 73 ivan paused 6 paused 94 bruno closed 47 ready 87 farah closed 62 closed 84 hana pending 63 closed
ready ready failed pending paused paused ready closed closed closed closed pending
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052533
qwen/qwen3.7-plus
awkweave-0052534
Print the last field of every input line.
{print $NF}
90 active paused failed 44 grove 11 paused paused paused 20 harbor 49 ready closed pending 116 birch 60 paused failed failed 55 juniper 64 failed failed closed 65 cobalt 65 paused closed failed 24 fable
grove harbor birch juniper cobalt fable
84 paused paused active 73 delta 24 paused closed failed 31 juniper 97 active paused pending 2 juniper 82 failed failed ready 1 indigo 69 ready pending ready 64 harbor 58 active failed active 50 cobalt 40 ready paused closed 55 cobalt
delta juniper juniper indigo harbor cobalt cobalt
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052534-p1
Print the final field from every line of input.
{print $NF}
90 active paused failed 44 grove 11 paused paused paused 20 harbor 49 ready closed pending 116 birch 60 paused failed failed 55 juniper 64 failed failed closed 65 cobalt 65 paused closed failed 24 fable
grove harbor birch juniper cobalt fable
84 paused paused active 73 delta 24 paused closed failed 31 juniper 97 active paused pending 2 juniper 82 failed failed ready 1 indigo 69 ready pending ready 64 harbor 58 active failed active 50 cobalt 40 ready paused closed 55 cobalt
delta juniper juniper indigo harbor cobalt cobalt
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052534
qwen/qwen3.7-plus
awkweave-0052535
Print the complete records where column 3 is less than 20.
$3 < 20
failed paused 14 lina fable failed closed 1 eli grove closed closed 5 eli juniper active paused 42 farah grove paused failed 87 eli delta closed failed 95 chen harbor
failed paused 14 lina fable failed closed 1 eli grove closed closed 5 eli juniper
closed ready 115 alice amber ready paused 117 lina cobalt active paused 85 gus birch paused failed 86 lina harbor paused paused 28 eli amber pending failed 24 dina delta failed failed 89 kim harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052535-p1
Output full records where the value in column 3 is strictly less than 20.
$3 < 20
failed paused 14 lina fable failed closed 1 eli grove closed closed 5 eli juniper active paused 42 farah grove paused failed 87 eli delta closed failed 95 chen harbor
failed paused 14 lina fable failed closed 1 eli grove closed closed 5 eli juniper
closed ready 115 alice amber ready paused 117 lina cobalt active paused 85 gus birch paused failed 86 lina harbor paused paused 28 eli amber pending failed 24 dina delta failed failed 89 kim harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052535
qwen/qwen3.7-plus
awkweave-0052536
Show whole lines whose 1st field is between 5 and 26, inclusive.
$1 >= 5 && $1 <= 26
6 juniper farah kim 20 amber bruno dina 19 indigo eli dina 7 harbor hana farah 18 delta bruno farah 27 indigo farah chen
6 juniper farah kim 20 amber bruno dina 19 indigo eli dina 7 harbor hana farah 18 delta bruno farah
2 harbor hana lina 1 cobalt alice ivan 19 ember eli farah 23 grove farah gus 28 indigo hana dina 10 delta gus ivan 6 birch lina chen 24 juniper alice chen 9 cobalt alice hana
19 ember eli farah 23 grove farah gus 10 delta gus ivan 6 birch lina chen 24 juniper alice chen 9 cobalt alice hana
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052536-p1
Display entire lines where the first field falls within the inclusive range of 5 to 26.
$1 >= 5 && $1 <= 26
6 juniper farah kim 20 amber bruno dina 19 indigo eli dina 7 harbor hana farah 18 delta bruno farah 27 indigo farah chen
6 juniper farah kim 20 amber bruno dina 19 indigo eli dina 7 harbor hana farah 18 delta bruno farah
2 harbor hana lina 1 cobalt alice ivan 19 ember eli farah 23 grove farah gus 28 indigo hana dina 10 delta gus ivan 6 birch lina chen 24 juniper alice chen 9 cobalt alice hana
19 ember eli farah 23 grove farah gus 10 delta gus ivan 6 birch lina chen 24 juniper alice chen 9 cobalt alice hana
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052536
qwen/qwen3.7-plus
awkweave-0052537
Print column 4 only for rows where column 1 is exactly failed.
$1 == "failed"{print $4}
failed amber 86 dina ready birch 76 ivan pending harbor 23 dina pending amber 47 eli pending fable 118 gus active amber 106 kim closed delta 100 kim
dina
closed cobalt 29 ivan pending juniper 62 gus failed ember 40 jules paused ember 7 hana ready harbor 110 kim pending delta 74 chen failed ember 110 eli
jules eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052537-p1
Print only the fourth column for rows where the first column is exactly 'failed'.
$1 == "failed"{print $4}
failed amber 86 dina ready birch 76 ivan pending harbor 23 dina pending amber 47 eli pending fable 118 gus active amber 106 kim closed delta 100 kim
dina
closed cobalt 29 ivan pending juniper 62 gus failed ember 40 jules paused ember 7 hana ready harbor 110 kim pending delta 74 chen failed ember 110 eli
jules eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052537
qwen/qwen3.7-plus
awkweave-0052538
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
indigo DEBUG 16 delta WARN 86 grove WARN 21 indigo ERROR 28 delta INFO 86 harbor INFO 76 delta DEBUG 68
delta INFO 86 harbor INFO 76
juniper WARN 112 delta ERROR 16 birch WARN 54 amber WARN 57 ember ERROR 66 indigo INFO 111 fable INFO 19 amber ERROR 21 amber DEBUG 64
indigo INFO 111 fable INFO 19
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052538-p1
Output all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
indigo DEBUG 16 delta WARN 86 grove WARN 21 indigo ERROR 28 delta INFO 86 harbor INFO 76 delta DEBUG 68
delta INFO 86 harbor INFO 76
juniper WARN 112 delta ERROR 16 birch WARN 54 amber WARN 57 ember ERROR 66 indigo INFO 111 fable INFO 19 amber ERROR 21 amber DEBUG 64
indigo INFO 111 fable INFO 19
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052538
qwen/qwen3.7-plus
awkweave-0052539
Print every line except those containing the exact text amber.
$0 !~ /amber/
birch 8 failed birch 5 pending birch 115 active delta 48 closed indigo 35 ready birch 46 active grove 52 failed harbor 112 paused fable 103 paused ember 90 failed amber 999 active
birch 8 failed birch 5 pending birch 115 active delta 48 closed indigo 35 ready birch 46 active grove 52 failed harbor 112 paused fable 103 paused ember 90 failed
juniper 57 paused juniper 52 closed juniper 88 failed juniper 79 ready ember 15 pending amber 77 closed amber 999 active
juniper 57 paused juniper 52 closed juniper 88 failed juniper 79 ready ember 15 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052539-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
birch 8 failed birch 5 pending birch 115 active delta 48 closed indigo 35 ready birch 46 active grove 52 failed harbor 112 paused fable 103 paused ember 90 failed amber 999 active
birch 8 failed birch 5 pending birch 115 active delta 48 closed indigo 35 ready birch 46 active grove 52 failed harbor 112 paused fable 103 paused ember 90 failed
juniper 57 paused juniper 52 closed juniper 88 failed juniper 79 ready ember 15 pending amber 77 closed amber 999 active
juniper 57 paused juniper 52 closed juniper 88 failed juniper 79 ready ember 15 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052539
qwen/qwen3.7-plus
awkweave-0052540
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
eli delta 102 jules amber 118 hana birch 58 eli indigo 14 jules indigo 17 ivan ember 32
jules amber 118 hana birch 58 eli indigo 14
farah delta 23 dina cobalt 6 farah fable 106 kim delta 75 dina amber 62 eli indigo 78 ivan birch 50 gus birch 44 farah ember 68 chen cobalt 107
dina cobalt 6 farah fable 106 kim delta 75
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052540-p1
Output lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
eli delta 102 jules amber 118 hana birch 58 eli indigo 14 jules indigo 17 ivan ember 32
jules amber 118 hana birch 58 eli indigo 14
farah delta 23 dina cobalt 6 farah fable 106 kim delta 75 dina amber 62 eli indigo 78 ivan birch 50 gus birch 44 farah ember 68 chen cobalt 107
dina cobalt 6 farah fable 106 kim delta 75
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052540
qwen/qwen3.7-plus
awkweave-0052541
Output only the first 4 records.
NR <= 4
dina 90 fable jules 0 delta kim 117 birch chen 107 delta dina 75 grove lina 12 grove kim 111 cobalt alice 116 juniper jules 7 juniper farah 35 harbor
dina 90 fable jules 0 delta kim 117 birch chen 107 delta
ivan 70 birch bruno 93 cobalt kim 67 harbor farah 36 ember hana 33 indigo ivan 57 harbor eli 54 indigo
ivan 70 birch bruno 93 cobalt kim 67 harbor farah 36 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052541-p1
Display only the first four records.
NR <= 4
dina 90 fable jules 0 delta kim 117 birch chen 107 delta dina 75 grove lina 12 grove kim 111 cobalt alice 116 juniper jules 7 juniper farah 35 harbor
dina 90 fable jules 0 delta kim 117 birch chen 107 delta
ivan 70 birch bruno 93 cobalt kim 67 harbor farah 36 ember hana 33 indigo ivan 57 harbor eli 54 indigo
ivan 70 birch bruno 93 cobalt kim 67 harbor farah 36 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052541
qwen/qwen3.7-plus
awkweave-0052542
Skip the first line and print every remaining line unchanged.
NR > 1
lina 111 juniper lina 114 fable lina 29 fable ivan 17 grove dina 35 amber dina 43 juniper chen 1 grove ivan 69 harbor
lina 114 fable lina 29 fable ivan 17 grove dina 35 amber dina 43 juniper chen 1 grove ivan 69 harbor
dina 83 juniper chen 69 grove dina 97 cobalt lina 60 birch dina 67 grove alice 80 amber
chen 69 grove dina 97 cobalt lina 60 birch dina 67 grove alice 80 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052542-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
lina 111 juniper lina 114 fable lina 29 fable ivan 17 grove dina 35 amber dina 43 juniper chen 1 grove ivan 69 harbor
lina 114 fable lina 29 fable ivan 17 grove dina 35 amber dina 43 juniper chen 1 grove ivan 69 harbor
dina 83 juniper chen 69 grove dina 97 cobalt lina 60 birch dina 67 grove alice 80 amber
chen 69 grove dina 97 cobalt lina 60 birch dina 67 grove alice 80 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052542
qwen/qwen3.7-plus
awkweave-0052543
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
gus active 47 lina failed 84 eli active 38 chen pending 22 kim ready 34 lina failed 83 chen paused 99 kim active 12 gus active 112 farah closed 46
1
alice failed 14 chen ready 82 alice failed 64 chen active 7 lina pending 104 bruno active 108 farah failed 109 kim pending 44
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052543-p1
Determine the number of entries where column 2 contains 'closed', outputting 0 if no such entries exist.
$2 == "closed"{n++}END{print n+0}
gus active 47 lina failed 84 eli active 38 chen pending 22 kim ready 34 lina failed 83 chen paused 99 kim active 12 gus active 112 farah closed 46
1
alice failed 14 chen ready 82 alice failed 64 chen active 7 lina pending 104 bruno active 108 farah failed 109 kim pending 44
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052543
qwen/qwen3.7-plus
awkweave-0052544
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
grove 3 ivan harbor 14 gus indigo 14 kim harbor 17 dina grove 12 bruno grove 25 jules harbor 30 ivan delta 22 hana ember 26 kim
163
indigo 29 bruno grove 16 kim grove 18 eli amber 15 hana fable 1 alice harbor 26 lina
105
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052544-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
grove 3 ivan harbor 14 gus indigo 14 kim harbor 17 dina grove 12 bruno grove 25 jules harbor 30 ivan delta 22 hana ember 26 kim
163
indigo 29 bruno grove 16 kim grove 18 eli amber 15 hana fable 1 alice harbor 26 lina
105
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052544
qwen/qwen3.7-plus
awkweave-0052545
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
28 dina fable 1 hana birch 4 ivan ember 23 eli grove 5 farah harbor 23 dina amber 2 gus fable 23 lina grove
13.62
1 chen fable 18 jules juniper 12 jules ember 18 eli cobalt 27 kim indigo 19 hana indigo
15.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052545-p1
Output the average of values in column 1, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
28 dina fable 1 hana birch 4 ivan ember 23 eli grove 5 farah harbor 23 dina amber 2 gus fable 23 lina grove
13.62
1 chen fable 18 jules juniper 12 jules ember 18 eli cobalt 27 kim indigo 19 hana indigo
15.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052545
qwen/qwen3.7-plus
awkweave-0052546
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 bruno ember 5 bruno harbor 1 jules ember 6 ivan cobalt 21 alice ember 25 alice indigo 21 bruno harbor 26 bruno birch 3 alice grove 28 bruno indigo
1
29 farah amber 2 kim birch 26 ivan amber 18 chen grove 13 alice birch 16 lina harbor 19 farah indigo 3 lina amber 28 farah ember 15 dina ember
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052546-p1
Identify and display the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 bruno ember 5 bruno harbor 1 jules ember 6 ivan cobalt 21 alice ember 25 alice indigo 21 bruno harbor 26 bruno birch 3 alice grove 28 bruno indigo
1
29 farah amber 2 kim birch 26 ivan amber 18 chen grove 13 alice birch 16 lina harbor 19 farah indigo 3 lina amber 28 farah ember 15 dina ember
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052546
qwen/qwen3.7-plus
awkweave-0052547
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
25 hana juniper 23 hana amber 5 eli harbor 13 kim grove 3 bruno indigo 30 alice grove 2 hana delta 18 lina cobalt 16 chen fable
30
24 dina birch 4 dina harbor 2 hana fable 26 alice grove 24 alice ember 25 alice fable 15 lina birch 23 chen cobalt 27 gus delta
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052547-p1
Identify and display the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
25 hana juniper 23 hana amber 5 eli harbor 13 kim grove 3 bruno indigo 30 alice grove 2 hana delta 18 lina cobalt 16 chen fable
30
24 dina birch 4 dina harbor 2 hana fable 26 alice grove 24 alice ember 25 alice fable 15 lina birch 23 chen cobalt 27 gus delta
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052547
qwen/qwen3.7-plus
awkweave-0052548
Count all input records and print the total.
END{print NR}
ivan 37 farah 71 ivan 83 ivan 55 hana 105 ivan 8
6
dina 105 kim 27 dina 92 alice 78 kim 86 jules 17
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052548-p1
Count the total number of input records and print the result.
END{print NR}
ivan 37 farah 71 ivan 83 ivan 55 hana 105 ivan 8
6
dina 105 kim 27 dina 92 alice 78 kim 86 jules 17
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052548
qwen/qwen3.7-plus
awkweave-0052549
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli juniper 7 hana indigo 67 ivan amber 1 alice birch 0 chen ember 40 hana indigo 67 farah juniper 25
eli juniper 7 hana indigo 67 ivan amber 1 alice birch 0 chen ember 40 farah juniper 25
gus grove 92 lina cobalt 71 ivan juniper 69 ivan fable 84 ivan fable 84 dina cobalt 105 ivan fable 69 lina birch 35 ivan harbor 66
gus grove 92 lina cobalt 71 ivan juniper 69 ivan fable 84 dina cobalt 105 ivan fable 69 lina birch 35 ivan harbor 66
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052549-p1
Eliminate duplicate lines while retaining the first instance of each and maintaining the original sequence.
!seen[$0]++
eli juniper 7 hana indigo 67 ivan amber 1 alice birch 0 chen ember 40 hana indigo 67 farah juniper 25
eli juniper 7 hana indigo 67 ivan amber 1 alice birch 0 chen ember 40 farah juniper 25
gus grove 92 lina cobalt 71 ivan juniper 69 ivan fable 84 ivan fable 84 dina cobalt 105 ivan fable 69 lina birch 35 ivan harbor 66
gus grove 92 lina cobalt 71 ivan juniper 69 ivan fable 84 dina cobalt 105 ivan fable 69 lina birch 35 ivan harbor 66
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052549
qwen/qwen3.7-plus
awkweave-0052550
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
ivan amber 67 lina indigo 77 dina fable 15 eli juniper 95 dina grove 63 hana harbor 90 lina grove 111 dina grove 76 jules indigo 87
ivan amber 67 lina indigo 77 dina fable 15 eli juniper 95 dina grove 63 hana harbor 90
lina birch 13 chen amber 111 farah amber 47 kim grove 93 chen ember 63 kim juniper 65
lina birch 13 chen amber 111 kim grove 93 chen ember 63 kim juniper 65
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052550-p1
Retain only the first occurrence for every unique value in column 2, keeping the original input order.
!seen[$2]++
ivan amber 67 lina indigo 77 dina fable 15 eli juniper 95 dina grove 63 hana harbor 90 lina grove 111 dina grove 76 jules indigo 87
ivan amber 67 lina indigo 77 dina fable 15 eli juniper 95 dina grove 63 hana harbor 90
lina birch 13 chen amber 111 farah amber 47 kim grove 93 chen ember 63 kim juniper 65
lina birch 13 chen amber 111 kim grove 93 chen ember 63 kim juniper 65
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052550
qwen/qwen3.7-plus
awkweave-0052551
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 9 ember farah 18 indigo bruno 14 amber hana 30 delta eli 3 ember eli 2 harbor ivan 9 cobalt lina 14 birch
hana 9 farah 27 bruno 41 hana 71 eli 74 eli 76 ivan 85 lina 99
farah 15 ember eli 24 cobalt eli 4 fable farah 24 ember gus 13 harbor eli 13 birch ivan 28 harbor hana 16 cobalt
farah 15 eli 39 eli 43 farah 67 gus 80 eli 93 ivan 121 hana 137
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052551-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 9 ember farah 18 indigo bruno 14 amber hana 30 delta eli 3 ember eli 2 harbor ivan 9 cobalt lina 14 birch
hana 9 farah 27 bruno 41 hana 71 eli 74 eli 76 ivan 85 lina 99
farah 15 ember eli 24 cobalt eli 4 fable farah 24 ember gus 13 harbor eli 13 birch ivan 28 harbor hana 16 cobalt
farah 15 eli 39 eli 43 farah 67 gus 80 eli 93 ivan 121 hana 137
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052551
qwen/qwen3.7-plus
awkweave-0052552
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 9 3 cobalt kim 28 8 harbor gus 4 28 amber dina 5 20 fable bruno 8 10 grove farah 26 26 juniper lina 7 9 indigo dina 18 30 cobalt lina 14 3 indigo bruno 24 12 fable
lina 12 kim 36 gus 32 dina 25 bruno 18 farah 52 lina 16 dina 48 lina 17 bruno 36
jules 4 23 birch jules 28 7 ember lina 1 28 delta ivan 12 15 juniper dina 1 25 harbor alice 11 18 cobalt
jules 27 jules 35 lina 29 ivan 27 dina 26 alice 29
computed_field
1
train
original-grammar
CC-BY-4.0
null
null