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-0003830-p1
Display only the initial 4 records.
NR <= 4
eli 86 ember alice 112 cobalt bruno 4 delta hana 48 juniper gus 32 birch bruno 35 juniper chen 89 cobalt chen 109 harbor
eli 86 ember alice 112 cobalt bruno 4 delta hana 48 juniper
dina 99 juniper gus 73 indigo dina 28 grove alice 98 indigo gus 112 delta bruno 19 ember gus 80 harbor
dina 99 juniper gus 73 indigo dina 28 grove alice 98 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003830
qwen/qwen3.7-plus
awkweave-0003831
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 1 amber bruno 93 ember alice 41 fable hana 112 harbor bruno 73 ember farah 36 cobalt kim 41 grove
bruno 93 ember alice 41 fable hana 112 harbor bruno 73 ember farah 36 cobalt kim 41 grove
farah 35 ember alice 44 harbor bruno 51 indigo bruno 38 birch ivan 12 juniper dina 74 fable farah 24 juniper dina 87 delta eli 89 amber dina 11 cobalt
alice 44 harbor bruno 51 indigo bruno 38 birch ivan 12 juniper dina 74 fable farah 24 juniper dina 87 delta eli 89 amber dina 11 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003831-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
ivan 1 amber bruno 93 ember alice 41 fable hana 112 harbor bruno 73 ember farah 36 cobalt kim 41 grove
bruno 93 ember alice 41 fable hana 112 harbor bruno 73 ember farah 36 cobalt kim 41 grove
farah 35 ember alice 44 harbor bruno 51 indigo bruno 38 birch ivan 12 juniper dina 74 fable farah 24 juniper dina 87 delta eli 89 amber dina 11 cobalt
alice 44 harbor bruno 51 indigo bruno 38 birch ivan 12 juniper dina 74 fable farah 24 juniper dina 87 delta eli 89 amber dina 11 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003831
qwen/qwen3.7-plus
awkweave-0003832
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
chen failed 40 chen ready 36 hana paused 113 hana ready 100 alice active 66 ivan closed 37 bruno paused 117 ivan paused 61
2
dina active 59 ivan pending 71 dina closed 2 farah active 75 ivan pending 79 chen ready 64 bruno ready 53 dina pending 44 lina paused 44 farah closed 35
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003832-p1
Count the number of records where the second column is 'ready', outputting 0 if no such records exist.
$2 == "ready"{n++}END{print n+0}
chen failed 40 chen ready 36 hana paused 113 hana ready 100 alice active 66 ivan closed 37 bruno paused 117 ivan paused 61
2
dina active 59 ivan pending 71 dina closed 2 farah active 75 ivan pending 79 chen ready 64 bruno ready 53 dina pending 44 lina paused 44 farah closed 35
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003832
qwen/qwen3.7-plus
awkweave-0003833
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
farah grove 28 dina indigo 8 ivan amber 17 hana harbor 22 lina indigo 3 eli cobalt 22 chen fable 4 kim delta 16 ivan indigo 18
138
farah delta 26 hana indigo 29 eli grove 12 bruno ember 9 chen cobalt 18 gus delta 2 dina grove 3 alice birch 25 bruno birch 10 chen birch 21
155
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003833-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
farah grove 28 dina indigo 8 ivan amber 17 hana harbor 22 lina indigo 3 eli cobalt 22 chen fable 4 kim delta 16 ivan indigo 18
138
farah delta 26 hana indigo 29 eli grove 12 bruno ember 9 chen cobalt 18 gus delta 2 dina grove 3 alice birch 25 bruno birch 10 chen birch 21
155
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003833
qwen/qwen3.7-plus
awkweave-0003834
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
indigo 4 gus juniper 27 chen ember 25 chen indigo 9 bruno amber 21 gus indigo 5 chen
15.17
indigo 3 farah birch 13 lina cobalt 24 gus harbor 18 ivan harbor 26 bruno delta 22 bruno birch 28 gus grove 26 ivan birch 24 dina ember 6 farah
19.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003834-p1
Calculate and print the average of the second column, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
indigo 4 gus juniper 27 chen ember 25 chen indigo 9 bruno amber 21 gus indigo 5 chen
15.17
indigo 3 farah birch 13 lina cobalt 24 gus harbor 18 ivan harbor 26 bruno delta 22 bruno birch 28 gus grove 26 ivan birch 24 dina ember 6 farah
19.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003834
qwen/qwen3.7-plus
awkweave-0003835
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 28 gus harbor 29 farah ember 9 gus ember 19 alice birch 17 hana grove 19 dina
9
amber 8 dina fable 23 kim birch 2 gus cobalt 20 chen delta 7 ivan amber 10 ivan juniper 19 dina
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003835-p1
Identify and output the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 28 gus harbor 29 farah ember 9 gus ember 19 alice birch 17 hana grove 19 dina
9
amber 8 dina fable 23 kim birch 2 gus cobalt 20 chen delta 7 ivan amber 10 ivan juniper 19 dina
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003835
qwen/qwen3.7-plus
awkweave-0003836
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
jules 6 juniper chen 25 harbor hana 28 amber gus 28 grove ivan 4 birch eli 14 ember kim 12 birch kim 1 cobalt
28
dina 20 amber eli 26 birch jules 7 harbor ivan 14 cobalt hana 23 indigo alice 14 amber
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003836-p1
Identify and output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
jules 6 juniper chen 25 harbor hana 28 amber gus 28 grove ivan 4 birch eli 14 ember kim 12 birch kim 1 cobalt
28
dina 20 amber eli 26 birch jules 7 harbor ivan 14 cobalt hana 23 indigo alice 14 amber
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003836
qwen/qwen3.7-plus
awkweave-0003837
Count all input records and print the total.
END{print NR}
kim 37 hana 20 lina 19 farah 40 lina 56 kim 52 dina 95
7
chen 102 eli 13 bruno 91 bruno 17 chen 76 kim 34 lina 60 gus 77 jules 41 kim 37
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003837-p1
Calculate the total number of input records and display the count.
END{print NR}
kim 37 hana 20 lina 19 farah 40 lina 56 kim 52 dina 95
7
chen 102 eli 13 bruno 91 bruno 17 chen 76 kim 34 lina 60 gus 77 jules 41 kim 37
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003837
qwen/qwen3.7-plus
awkweave-0003838
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen cobalt 116 gus indigo 115 jules amber 105 kim juniper 109 lina ember 58 hana amber 88 lina ember 58 jules delta 96 alice amber 80
chen cobalt 116 gus indigo 115 jules amber 105 kim juniper 109 lina ember 58 hana amber 88 jules delta 96 alice amber 80
kim birch 91 gus ember 96 hana grove 2 jules birch 56 gus ember 96 eli ember 63 bruno ember 26 eli indigo 52
kim birch 91 gus ember 96 hana grove 2 jules birch 56 eli ember 63 bruno ember 26 eli indigo 52
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003838-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
chen cobalt 116 gus indigo 115 jules amber 105 kim juniper 109 lina ember 58 hana amber 88 lina ember 58 jules delta 96 alice amber 80
chen cobalt 116 gus indigo 115 jules amber 105 kim juniper 109 lina ember 58 hana amber 88 jules delta 96 alice amber 80
kim birch 91 gus ember 96 hana grove 2 jules birch 56 gus ember 96 eli ember 63 bruno ember 26 eli indigo 52
kim birch 91 gus ember 96 hana grove 2 jules birch 56 eli ember 63 bruno ember 26 eli indigo 52
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003838
qwen/qwen3.7-plus
awkweave-0003839
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
chen juniper 38 jules cobalt 92 alice harbor 119 dina grove 66 gus grove 91 alice juniper 116
chen juniper 38 jules cobalt 92 alice harbor 119 dina grove 66 gus grove 91 alice juniper 116
bruno amber 36 chen juniper 23 farah amber 49 hana juniper 11 alice fable 21 kim amber 112
bruno amber 36 chen juniper 23 farah amber 49 hana juniper 11 alice fable 21 kim amber 112
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003839-p1
Retain only the initial row for every unique value in the third column, ensuring the original order is preserved.
!seen[$3]++
chen juniper 38 jules cobalt 92 alice harbor 119 dina grove 66 gus grove 91 alice juniper 116
chen juniper 38 jules cobalt 92 alice harbor 119 dina grove 66 gus grove 91 alice juniper 116
bruno amber 36 chen juniper 23 farah amber 49 hana juniper 11 alice fable 21 kim amber 112
bruno amber 36 chen juniper 23 farah amber 49 hana juniper 11 alice fable 21 kim amber 112
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003839
qwen/qwen3.7-plus
awkweave-0003840
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 1 birch hana 15 juniper lina 24 cobalt bruno 23 harbor alice 25 grove dina 12 delta gus 12 indigo kim 10 grove hana 16 cobalt
alice 1 hana 16 lina 40 bruno 63 alice 88 dina 100 gus 112 kim 122 hana 138
ivan 1 birch alice 27 birch chen 11 fable eli 9 harbor kim 17 ember gus 24 harbor lina 15 juniper jules 29 amber
ivan 1 alice 28 chen 39 eli 48 kim 65 gus 89 lina 104 jules 133
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003840-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
alice 1 birch hana 15 juniper lina 24 cobalt bruno 23 harbor alice 25 grove dina 12 delta gus 12 indigo kim 10 grove hana 16 cobalt
alice 1 hana 16 lina 40 bruno 63 alice 88 dina 100 gus 112 kim 122 hana 138
ivan 1 birch alice 27 birch chen 11 fable eli 9 harbor kim 17 ember gus 24 harbor lina 15 juniper jules 29 amber
ivan 1 alice 28 chen 39 eli 48 kim 65 gus 89 lina 104 jules 133
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003840
qwen/qwen3.7-plus
awkweave-0003841
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 1 2 amber jules 29 15 cobalt dina 29 15 ember lina 1 15 ember chen 6 10 juniper eli 24 5 ember dina 10 15 indigo
jules 3 jules 44 dina 44 lina 16 chen 16 eli 29 dina 25
kim 18 16 juniper bruno 30 30 cobalt chen 24 24 indigo jules 20 3 juniper jules 30 5 grove jules 21 30 birch bruno 16 24 fable jules 24 17 harbor
kim 34 bruno 60 chen 48 jules 23 jules 35 jules 51 bruno 40 jules 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003841-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
jules 1 2 amber jules 29 15 cobalt dina 29 15 ember lina 1 15 ember chen 6 10 juniper eli 24 5 ember dina 10 15 indigo
jules 3 jules 44 dina 44 lina 16 chen 16 eli 29 dina 25
kim 18 16 juniper bruno 30 30 cobalt chen 24 24 indigo jules 20 3 juniper jules 30 5 grove jules 21 30 birch bruno 16 24 fable jules 24 17 harbor
kim 34 bruno 60 chen 48 jules 23 jules 35 jules 51 bruno 40 jules 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003841
qwen/qwen3.7-plus
awkweave-0003842
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
chen 17 alice 3 alice 10 eli 20 ivan 10 chen 21 dina 5 hana 9
chen fail alice fail alice fail eli pass ivan fail chen pass dina fail hana fail
chen 14 chen 7 chen 2 alice 10 eli 2 lina 29 ivan 29
chen fail chen fail chen fail alice fail eli fail lina pass ivan pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003842-p1
Output the first column with 'pass' if the second column is 20 or greater, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
chen 17 alice 3 alice 10 eli 20 ivan 10 chen 21 dina 5 hana 9
chen fail alice fail alice fail eli pass ivan fail chen pass dina fail hana fail
chen 14 chen 7 chen 2 alice 10 eli 2 lina 29 ivan 29
chen fail chen fail chen fail alice fail eli fail lina pass ivan pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003842
qwen/qwen3.7-plus
awkweave-0003843
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
dina fable 77 eli birch 11 hana indigo 101 jules cobalt 87 hana harbor 106 lina fable 96 farah fable 24 eli delta 91 gus ember 30
FABLE BIRCH INDIGO COBALT HARBOR FABLE FABLE DELTA EMBER
gus juniper 26 hana juniper 25 eli ember 120 dina indigo 18 farah harbor 89 dina fable 68 lina delta 107 hana harbor 36 farah birch 71
JUNIPER JUNIPER EMBER INDIGO HARBOR FABLE DELTA HARBOR BIRCH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003843-p1
Transform the second column to uppercase letters and print exclusively that column.
{print toupper($2)}
dina fable 77 eli birch 11 hana indigo 101 jules cobalt 87 hana harbor 106 lina fable 96 farah fable 24 eli delta 91 gus ember 30
FABLE BIRCH INDIGO COBALT HARBOR FABLE FABLE DELTA EMBER
gus juniper 26 hana juniper 25 eli ember 120 dina indigo 18 farah harbor 89 dina fable 68 lina delta 107 hana harbor 36 farah birch 71
JUNIPER JUNIPER EMBER INDIGO HARBOR FABLE DELTA HARBOR BIRCH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003843
qwen/qwen3.7-plus
awkweave-0003844
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
delta 60 harbor 0 fable 18 fable 19 ember 106 indigo 94
de ha fa fa em in
ember 100 grove 42 cobalt 67 amber 33 cobalt 3 indigo 101 cobalt 66 fable 91 indigo 46 birch 52
em gr co am co in co fa in bi
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003844-p1
Extract and print the first two characters from the first column.
{print substr($1,1,2)}
delta 60 harbor 0 fable 18 fable 19 ember 106 indigo 94
de ha fa fa em in
ember 100 grove 42 cobalt 67 amber 33 cobalt 3 indigo 101 cobalt 66 fable 91 indigo 46 birch 52
em gr co am co in co fa in bi
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003844
qwen/qwen3.7-plus
awkweave-0003845
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_harbor 93 indigo_cobalt 58 juniper_ember 83 indigo_amber 67 grove_cobalt 53 harbor_cobalt 93 ember_birch 35 cobalt_grove 6 birch_birch 36
fable harbor indigo cobalt juniper ember indigo amber grove cobalt harbor cobalt ember birch cobalt grove birch birch
fable_fable 119 fable_cobalt 119 ember_amber 8 birch_ember 75 amber_juniper 82 grove_birch 46 grove_fable 77 grove_indigo 93 harbor_fable 36
fable fable fable cobalt ember amber birch ember amber juniper grove birch grove fable grove indigo harbor fable
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003845-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
fable_harbor 93 indigo_cobalt 58 juniper_ember 83 indigo_amber 67 grove_cobalt 53 harbor_cobalt 93 ember_birch 35 cobalt_grove 6 birch_birch 36
fable harbor indigo cobalt juniper ember indigo amber grove cobalt harbor cobalt ember birch cobalt grove birch birch
fable_fable 119 fable_cobalt 119 ember_amber 8 birch_ember 75 amber_juniper 82 grove_birch 46 grove_fable 77 grove_indigo 93 harbor_fable 36
fable fable fable cobalt ember amber birch ember amber juniper grove birch grove fable grove indigo harbor fable
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003845
qwen/qwen3.7-plus
awkweave-0003846
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)}
jules birch 60 failed kim birch 7 active jules cobalt 8 active chen grove 1 ready jules harbor 95 closed farah cobalt 45 active jules ember 87 closed chen amber 94 closed lina harbor 105 ready
failed 60 birch jules active 7 birch kim active 8 cobalt jules ready 1 grove chen closed 95 harbor jules active 45 cobalt farah closed 87 ember jules closed 94 amber chen ready 105 harbor lina
lina birch 0 closed lina juniper 44 pending bruno grove 0 paused gus harbor 84 pending dina indigo 9 active eli delta 66 active chen birch 41 active
closed 0 birch lina pending 44 juniper lina paused 0 grove bruno pending 84 harbor gus active 9 indigo dina active 66 delta eli active 41 birch chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003846-p1
Invert the sequence of fields for every line and print all resulting fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules birch 60 failed kim birch 7 active jules cobalt 8 active chen grove 1 ready jules harbor 95 closed farah cobalt 45 active jules ember 87 closed chen amber 94 closed lina harbor 105 ready
failed 60 birch jules active 7 birch kim active 8 cobalt jules ready 1 grove chen closed 95 harbor jules active 45 cobalt farah closed 87 ember jules closed 94 amber chen ready 105 harbor lina
lina birch 0 closed lina juniper 44 pending bruno grove 0 paused gus harbor 84 pending dina indigo 9 active eli delta 66 active chen birch 41 active
closed 0 birch lina pending 44 juniper lina paused 0 grove bruno pending 84 harbor gus active 9 indigo dina active 66 delta eli active 41 birch chen
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003846
qwen/qwen3.7-plus
awkweave-0003847
Print the number of whitespace-separated fields on each line.
{print NF}
ivan juniper 6 closed jules harbor 51 paused chen cobalt 83 active kim ember 45 pending hana indigo 80 pending dina ember 15 pending hana cobalt 113 pending bruno cobalt 42 ready gus harbor 108 pending
4 4 4 4 4 4 4 4 4
jules birch 30 paused eli indigo 20 pending lina amber 76 active lina ember 96 failed lina juniper 48 pending dina ember 36 closed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003847-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
ivan juniper 6 closed jules harbor 51 paused chen cobalt 83 active kim ember 45 pending hana indigo 80 pending dina ember 15 pending hana cobalt 113 pending bruno cobalt 42 ready gus harbor 108 pending
4 4 4 4 4 4 4 4 4
jules birch 30 paused eli indigo 20 pending lina amber 76 active lina ember 96 failed lina juniper 48 pending dina ember 36 closed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003847
qwen/qwen3.7-plus
awkweave-0003848
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]]}
eli alpha 20 alice gamma 119 hana alpha 74 lina alpha 34 jules alpha 68 chen gamma 0 ivan delta 52 eli gamma 86 farah delta 57
alpha 4 gamma 3 delta 2
chen alpha 20 chen delta 21 alice beta 62 bruno beta 22 hana alpha 84 kim alpha 22
alpha 3 delta 1 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003848-p1
Tally the occurrences of each unique value in the second column and output the value alongside its count, maintaining the order in which 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]]}
eli alpha 20 alice gamma 119 hana alpha 74 lina alpha 34 jules alpha 68 chen gamma 0 ivan delta 52 eli gamma 86 farah delta 57
alpha 4 gamma 3 delta 2
chen alpha 20 chen delta 21 alice beta 62 bruno beta 22 hana alpha 84 kim alpha 22
alpha 3 delta 1 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003848
qwen/qwen3.7-plus
awkweave-0003849
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]]}
hana delta 22 kim alpha 11 jules delta 16 alice alpha 7 dina alpha 9 bruno beta 12 ivan gamma 17 alice gamma 6
delta 38 alpha 27 beta 12 gamma 23
lina gamma 11 hana alpha 4 eli alpha 15 lina gamma 25 farah gamma 16 lina beta 12 eli alpha 29 hana beta 6 jules alpha 7
gamma 52 alpha 55 beta 18
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003849-p1
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]]}
hana delta 22 kim alpha 11 jules delta 16 alice alpha 7 dina alpha 9 bruno beta 12 ivan gamma 17 alice gamma 6
delta 38 alpha 27 beta 12 gamma 23
lina gamma 11 hana alpha 4 eli alpha 15 lina gamma 25 farah gamma 16 lina beta 12 eli alpha 29 hana beta 6 jules alpha 7
gamma 52 alpha 55 beta 18
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0003849
qwen/qwen3.7-plus
awkweave-0003850
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 grove 28 gamma juniper 6 gamma amber 110 gamma juniper 49 delta delta 4 beta birch 118 alpha juniper 40
gamma 4
gamma indigo 62 alpha grove 55 alpha ember 99 gamma grove 93 gamma fable 40 beta grove 103 beta ember 33 beta ember 114
gamma 3 alpha 2 beta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003850-p1
Identify values in the first column that appear more than once, then print each duplicate value along with its total occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma grove 28 gamma juniper 6 gamma amber 110 gamma juniper 49 delta delta 4 beta birch 118 alpha juniper 40
gamma 4
gamma indigo 62 alpha grove 55 alpha ember 99 gamma grove 93 gamma fable 40 beta grove 103 beta ember 33 beta ember 114
gamma 3 alpha 2 beta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003850
qwen/qwen3.7-plus
awkweave-0003851
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
display_name record_id state score r001 kim 9 paused r002 ivan 28 paused r003 dina 28 closed r004 jules 22 failed r005 lina 29 active r006 farah 29 active r007 dina 3 ready
paused paused closed failed active active ready
display_name record_id state score r001 hana 17 pending r002 ivan 10 pending r003 chen 30 paused r004 farah 23 active r005 lina 29 paused r006 farah 2 pending r007 kim 26 failed r008 alice 25 closed r009 farah 30 pending
pending pending paused active paused pending failed closed pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003851-p1
Treating the initial line as a header, extract and display the contents of the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
display_name record_id state score r001 kim 9 paused r002 ivan 28 paused r003 dina 28 closed r004 jules 22 failed r005 lina 29 active r006 farah 29 active r007 dina 3 ready
paused paused closed failed active active ready
display_name record_id state score r001 hana 17 pending r002 ivan 10 pending r003 chen 30 paused r004 farah 23 active r005 lina 29 paused r006 farah 2 pending r007 kim 26 failed r008 alice 25 closed r009 farah 30 pending
pending pending paused active paused pending failed closed pending
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003851
qwen/qwen3.7-plus
awkweave-0003852
The first row is a header. Print display_name for data rows whose score is greater than 16.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]}
record_id display_name score state r001 chen 3 failed r002 kim 16 pending r003 farah 27 failed r004 farah 11 closed r005 lina 19 paused r006 alice 4 ready r007 farah 20 pending r008 bruno 19 paused
farah lina farah bruno
record_id display_name score state r001 bruno 12 ready r002 lina 26 paused r003 hana 21 closed r004 bruno 25 active r005 eli 2 ready r006 chen 1 active r007 jules 21 active r008 bruno 4 active
lina hana bruno jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003852-p1
Skip the header row, then output the display_name field for any record where the score value is strictly greater than 16.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]}
record_id display_name score state r001 chen 3 failed r002 kim 16 pending r003 farah 27 failed r004 farah 11 closed r005 lina 19 paused r006 alice 4 ready r007 farah 20 pending r008 bruno 19 paused
farah lina farah bruno
record_id display_name score state r001 bruno 12 ready r002 lina 26 paused r003 hana 21 closed r004 bruno 25 active r005 eli 2 ready r006 chen 1 active r007 jules 21 active r008 bruno 4 active
lina hana bruno jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003852
qwen/qwen3.7-plus
awkweave-0003853
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 5 active jules 10 ready bruno 23 paused dina 29 failed hana 19 active ivan 15 closed eli 21 ready farah 20 pending
chen jules bruno dina hana ivan eli farah
hana 4 active jules 7 pending hana 3 pending dina 22 closed hana 8 failed bruno 9 closed alice 23 active
hana jules hana dina hana bruno alice
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003853-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 5 active jules 10 ready bruno 23 paused dina 29 failed hana 19 active ivan 15 closed eli 21 ready farah 20 pending
chen jules bruno dina hana ivan eli farah
hana 4 active jules 7 pending hana 3 pending dina 22 closed hana 8 failed bruno 9 closed alice 23 active
hana jules hana dina hana bruno alice
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0003853
qwen/qwen3.7-plus
awkweave-0003854
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
kim,4,failed jules,13,closed chen,21,paused kim,3,ready chen,23,ready hana,8,paused alice,1,pending kim,26,pending jules,9,ready jules,1,pending
chen chen kim
chen,12,pending hana,23,ready bruno,13,failed bruno,14,paused farah,3,ready kim,26,ready eli,1,active bruno,24,failed alice,11,active lina,1,paused
hana kim bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003854-p1
Process simple comma-separated values without quoted fields; output the first column only if the value in the second column is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
kim,4,failed jules,13,closed chen,21,paused kim,3,ready chen,23,ready hana,8,paused alice,1,pending kim,26,pending jules,9,ready jules,1,pending
chen chen kim
chen,12,pending hana,23,ready bruno,13,failed bruno,14,paused farah,3,ready kim,26,ready eli,1,active bruno,24,failed alice,11,active lina,1,paused
hana kim bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003854
qwen/qwen3.7-plus
awkweave-0003855
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina grove 89 lina harbor 51 bruno indigo 25 kim ember 62 bruno ember 42 farah indigo 8 chen amber 42
lina grove 89 lina harbor 51 bruno indigo 25 kim ember 62 bruno ember 42 farah indigo 8 chen amber 42
bruno harbor 100 gus ember 11 gus indigo 114 gus cobalt 67 kim cobalt 107 alice delta 44 lina harbor 12
bruno harbor 100 gus ember 11 gus indigo 114 gus cobalt 67 kim cobalt 107 alice delta 44 lina harbor 12
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003855-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 grove 89 lina harbor 51 bruno indigo 25 kim ember 62 bruno ember 42 farah indigo 8 chen amber 42
lina grove 89 lina harbor 51 bruno indigo 25 kim ember 62 bruno ember 42 farah indigo 8 chen amber 42
bruno harbor 100 gus ember 11 gus indigo 114 gus cobalt 67 kim cobalt 107 alice delta 44 lina harbor 12
bruno harbor 100 gus ember 11 gus indigo 114 gus cobalt 67 kim cobalt 107 alice delta 44 lina harbor 12
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003855
qwen/qwen3.7-plus
awkweave-0003856
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules delta 55 ready hana amber 104 ready kim harbor 30 paused gus indigo 55 closed chen birch 57 paused hana amber 43 paused alice delta 66 closed gus juniper 116 paused
gus juniper 116 paused
jules indigo 78 paused chen ember 89 failed hana indigo 109 pending farah harbor 42 pending gus indigo 107 active bruno ember 77 ready gus harbor 39 failed
hana indigo 109 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003856-p1
Identify and output the longest line from the input; in the event of a tie in length, select the line that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules delta 55 ready hana amber 104 ready kim harbor 30 paused gus indigo 55 closed chen birch 57 paused hana amber 43 paused alice delta 66 closed gus juniper 116 paused
gus juniper 116 paused
jules indigo 78 paused chen ember 89 failed hana indigo 109 pending farah harbor 42 pending gus indigo 107 active bruno ember 77 ready gus harbor 39 failed
hana indigo 109 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003856
qwen/qwen3.7-plus
awkweave-0003857
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
hana 104 farah 39 dina 66 farah 32 lina 106 hana 117 bruno 15 dina 97 dina 110
hana 104 dina 66 lina 106 bruno 15 dina 110
dina 109 bruno 80 bruno 54 lina 97 bruno 111 gus 114 eli 95
dina 109 bruno 54 bruno 111 eli 95
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003857-p1
Output every other line from the input, beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
hana 104 farah 39 dina 66 farah 32 lina 106 hana 117 bruno 15 dina 97 dina 110
hana 104 dina 66 lina 106 bruno 15 dina 110
dina 109 bruno 80 bruno 54 lina 97 bruno 111 gus 114 eli 95
dina 109 bruno 54 bruno 111 eli 95
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003857
qwen/qwen3.7-plus
awkweave-0003858
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha cobalt 26 delta ember 7 beta juniper 87 beta birch 116 alpha ember 37 gamma indigo 114 beta fable 75
6
delta cobalt 32 delta juniper 25 gamma amber 88 beta ember 38 beta cobalt 80 gamma ember 28 alpha amber 78
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003858-p1
Determine the number of unique values present in the second column and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha cobalt 26 delta ember 7 beta juniper 87 beta birch 116 alpha ember 37 gamma indigo 114 beta fable 75
6
delta cobalt 32 delta juniper 25 gamma amber 88 beta ember 38 beta cobalt 80 gamma ember 28 alpha amber 78
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003858
qwen/qwen3.7-plus
awkweave-0003859
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 12 0 alice 20 23 chen 20 1 eli 19 26 bruno 9 3 alice 20 4 jules 3 10 dina 19 18 chen 30 15
alice 0.87 chen 20.00 eli 0.73 bruno 3.00 alice 5.00 jules 0.30 dina 1.06 chen 2.00
ivan 26 0 kim 29 28 gus 23 22 ivan 16 10 kim 26 3 farah 19 30 eli 15 1 dina 21 19
kim 1.04 gus 1.05 ivan 1.60 kim 8.67 farah 0.63 eli 15.00 dina 1.11
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003859-p1
For each record, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 12 0 alice 20 23 chen 20 1 eli 19 26 bruno 9 3 alice 20 4 jules 3 10 dina 19 18 chen 30 15
alice 0.87 chen 20.00 eli 0.73 bruno 3.00 alice 5.00 jules 0.30 dina 1.06 chen 2.00
ivan 26 0 kim 29 28 gus 23 22 ivan 16 10 kim 26 3 farah 19 30 eli 15 1 dina 21 19
kim 1.04 gus 1.05 ivan 1.60 kim 8.67 farah 0.63 eli 15.00 dina 1.11
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003859
qwen/qwen3.7-plus
awkweave-0003860
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
eli birch 12 jules birch 23 gus birch 14 hana grove 6 kim harbor 17 jules fable 7 hana grove 4 alice juniper 16 jules juniper 2 alice cobalt 12
jules birch 23 kim harbor 17 alice juniper 16
gus ember 21 hana grove 27 dina indigo 1 bruno harbor 16 chen birch 1 eli cobalt 15 kim harbor 15 dina grove 6 gus delta 17 kim grove 10
hana grove 27 gus ember 21 gus delta 17
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003860-p1
Display the top three full records based on the highest numeric values in the third column, sorted in descending order, while maintaining the original input sequence for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
eli birch 12 jules birch 23 gus birch 14 hana grove 6 kim harbor 17 jules fable 7 hana grove 4 alice juniper 16 jules juniper 2 alice cobalt 12
jules birch 23 kim harbor 17 alice juniper 16
gus ember 21 hana grove 27 dina indigo 1 bruno harbor 16 chen birch 1 eli cobalt 15 kim harbor 15 dina grove 6 gus delta 17 kim grove 10
hana grove 27 gus ember 21 gus delta 17
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003860
qwen/qwen3.7-plus
awkweave-0003861
For each line, output fields 3 and 2, in that order.
{print $3, $2}
lina indigo active 62 66 harbor chen ember pending 77 107 birch eli fable paused 51 21 fable bruno cobalt active 9 113 ember lina fable closed 89 50 grove gus ember failed 51 34 juniper hana indigo ready 118 66 harbor ivan indigo paused 109 39 amber lina ember failed 20 7 delta chen fable active 98 87 indigo
active indigo pending ember paused fable active cobalt closed fable failed ember ready indigo paused indigo failed ember active fable
kim amber pending 83 16 amber dina harbor ready 98 79 birch kim ember closed 76 27 fable chen delta pending 51 61 cobalt lina juniper failed 27 97 harbor farah delta pending 84 13 harbor kim indigo closed 68 54 indigo kim amber failed 28 45 cobalt
pending amber ready harbor closed ember pending delta failed juniper pending delta closed indigo failed amber
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003861-p1
For every line, print the third field followed by the second field.
{print $3, $2}
lina indigo active 62 66 harbor chen ember pending 77 107 birch eli fable paused 51 21 fable bruno cobalt active 9 113 ember lina fable closed 89 50 grove gus ember failed 51 34 juniper hana indigo ready 118 66 harbor ivan indigo paused 109 39 amber lina ember failed 20 7 delta chen fable active 98 87 indigo
active indigo pending ember paused fable active cobalt closed fable failed ember ready indigo paused indigo failed ember active fable
kim amber pending 83 16 amber dina harbor ready 98 79 birch kim ember closed 76 27 fable chen delta pending 51 61 cobalt lina juniper failed 27 97 harbor farah delta pending 84 13 harbor kim indigo closed 68 54 indigo kim amber failed 28 45 cobalt
pending amber ready harbor closed ember pending delta failed juniper pending delta closed indigo failed amber
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003861
qwen/qwen3.7-plus
awkweave-0003862
Print the last field of every input line.
{print $NF}
39 birch failed 91 indigo 105 grove ready 88 cobalt 62 grove closed 58 ember 82 cobalt paused 45 amber 28 harbor closed 58 delta 120 amber active 108 grove
indigo cobalt ember amber delta grove
47 indigo failed 101 delta 100 indigo ready 97 harbor 90 delta paused 60 fable 7 amber paused 49 juniper 62 grove closed 24 delta 63 delta active 95 harbor 32 cobalt active 33 fable 78 delta active 47 amber 6 indigo pending 69 harbor 70 ember failed 80 harbor
delta harbor fable juniper delta harbor fable amber harbor harbor
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003862-p1
Output the final field from each input line.
{print $NF}
39 birch failed 91 indigo 105 grove ready 88 cobalt 62 grove closed 58 ember 82 cobalt paused 45 amber 28 harbor closed 58 delta 120 amber active 108 grove
indigo cobalt ember amber delta grove
47 indigo failed 101 delta 100 indigo ready 97 harbor 90 delta paused 60 fable 7 amber paused 49 juniper 62 grove closed 24 delta 63 delta active 95 harbor 32 cobalt active 33 fable 78 delta active 47 amber 6 indigo pending 69 harbor 70 ember failed 80 harbor
delta harbor fable juniper delta harbor fable amber harbor harbor
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003862
qwen/qwen3.7-plus
awkweave-0003863
Print the complete records where column 1 is greater than 45.
$1 > 45
111 closed fable 51 closed grove 32 paused juniper 53 failed harbor 107 ready delta 67 ready harbor
111 closed fable 51 closed grove 53 failed harbor 107 ready delta 67 ready harbor
72 failed amber 118 active juniper 107 active indigo 90 failed amber 78 pending ember 59 failed ember 69 pending birch 80 active delta 119 paused juniper 103 failed ember
72 failed amber 118 active juniper 107 active indigo 90 failed amber 78 pending ember 59 failed ember 69 pending birch 80 active delta 119 paused juniper 103 failed ember
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003863-p1
Print entire records where the value in the first column exceeds 45.
$1 > 45
111 closed fable 51 closed grove 32 paused juniper 53 failed harbor 107 ready delta 67 ready harbor
111 closed fable 51 closed grove 53 failed harbor 107 ready delta 67 ready harbor
72 failed amber 118 active juniper 107 active indigo 90 failed amber 78 pending ember 59 failed ember 69 pending birch 80 active delta 119 paused juniper 103 failed ember
72 failed amber 118 active juniper 107 active indigo 90 failed amber 78 pending ember 59 failed ember 69 pending birch 80 active delta 119 paused juniper 103 failed ember
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003863
qwen/qwen3.7-plus
awkweave-0003864
Show whole lines whose 2nd field is between 10 and 27, inclusive.
$2 >= 10 && $2 <= 27
pending 27 bruno birch active 4 ivan harbor pending 27 jules ember failed 7 lina cobalt active 7 lina amber paused 4 bruno birch closed 9 bruno grove
pending 27 bruno birch pending 27 jules ember
closed 2 hana ember active 23 farah delta failed 7 jules juniper pending 9 ivan amber closed 11 bruno amber pending 15 jules amber pending 8 ivan cobalt
active 23 farah delta closed 11 bruno amber pending 15 jules amber
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003864-p1
Display complete lines where the second field falls within the inclusive range of 10 to 27.
$2 >= 10 && $2 <= 27
pending 27 bruno birch active 4 ivan harbor pending 27 jules ember failed 7 lina cobalt active 7 lina amber paused 4 bruno birch closed 9 bruno grove
pending 27 bruno birch pending 27 jules ember
closed 2 hana ember active 23 farah delta failed 7 jules juniper pending 9 ivan amber closed 11 bruno amber pending 15 jules amber pending 8 ivan cobalt
active 23 farah delta closed 11 bruno amber pending 15 jules amber
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003864
qwen/qwen3.7-plus
awkweave-0003865
Print column 4 only for rows where column 3 is exactly paused.
$3 == "paused"{print $4}
harbor 87 failed kim grove 5 active kim fable 15 paused dina harbor 18 failed jules harbor 29 active chen indigo 59 closed eli amber 82 pending chen birch 48 active farah
dina
ember 58 closed farah ember 37 active kim harbor 114 ready jules indigo 118 active dina fable 119 paused farah juniper 100 ready lina birch 107 failed bruno ember 12 pending kim juniper 88 paused lina indigo 86 active dina
farah lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003865-p1
Output only the fourth column for rows where the third column contains exactly 'paused'.
$3 == "paused"{print $4}
harbor 87 failed kim grove 5 active kim fable 15 paused dina harbor 18 failed jules harbor 29 active chen indigo 59 closed eli amber 82 pending chen birch 48 active farah
dina
ember 58 closed farah ember 37 active kim harbor 114 ready jules indigo 118 active dina fable 119 paused farah juniper 100 ready lina birch 107 failed bruno ember 12 pending kim juniper 88 paused lina indigo 86 active dina
farah lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003865
qwen/qwen3.7-plus
awkweave-0003866
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
WARN cobalt 79 DEBUG indigo 27 ERROR fable 18 INFO indigo 43 INFO ember 92 INFO ember 98
WARN cobalt 79
INFO harbor 53 ERROR juniper 44 DEBUG juniper 94 WARN fable 63 INFO grove 3 DEBUG ember 88 ERROR grove 52 WARN juniper 21
WARN fable 63 WARN juniper 21
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003866-p1
Print all fields from lines where the first field starts with 'WARN'.
$1 ~ /^WARN/
WARN cobalt 79 DEBUG indigo 27 ERROR fable 18 INFO indigo 43 INFO ember 92 INFO ember 98
WARN cobalt 79
INFO harbor 53 ERROR juniper 44 DEBUG juniper 94 WARN fable 63 INFO grove 3 DEBUG ember 88 ERROR grove 52 WARN juniper 21
WARN fable 63 WARN juniper 21
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003866
qwen/qwen3.7-plus
awkweave-0003867
Print every line except those containing the exact text amber.
$0 !~ /amber/
delta 23 pending delta 111 ready juniper 88 paused ember 102 paused delta 71 closed amber 79 pending birch 73 active harbor 8 ready delta 89 pending amber 999 active
delta 23 pending delta 111 ready juniper 88 paused ember 102 paused delta 71 closed birch 73 active harbor 8 ready delta 89 pending
grove 74 ready indigo 18 closed fable 80 active juniper 15 ready birch 43 ready ember 42 active indigo 22 active cobalt 118 active ember 103 pending amber 999 active
grove 74 ready indigo 18 closed fable 80 active juniper 15 ready birch 43 ready ember 42 active indigo 22 active cobalt 118 active ember 103 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003867-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
delta 23 pending delta 111 ready juniper 88 paused ember 102 paused delta 71 closed amber 79 pending birch 73 active harbor 8 ready delta 89 pending amber 999 active
delta 23 pending delta 111 ready juniper 88 paused ember 102 paused delta 71 closed birch 73 active harbor 8 ready delta 89 pending
grove 74 ready indigo 18 closed fable 80 active juniper 15 ready birch 43 ready ember 42 active indigo 22 active cobalt 118 active ember 103 pending amber 999 active
grove 74 ready indigo 18 closed fable 80 active juniper 15 ready birch 43 ready ember 42 active indigo 22 active cobalt 118 active ember 103 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003867
qwen/qwen3.7-plus
awkweave-0003868
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
chen harbor 109 dina juniper 0 farah delta 12 ivan grove 21 chen grove 94 hana ember 116 eli grove 115
dina juniper 0 farah delta 12 ivan grove 21
jules ember 64 alice indigo 82 alice delta 96 alice cobalt 68 farah grove 70 bruno birch 76 gus grove 59 dina ember 10 gus fable 37
alice indigo 82 alice delta 96 alice cobalt 68
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003868-p1
Output lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
chen harbor 109 dina juniper 0 farah delta 12 ivan grove 21 chen grove 94 hana ember 116 eli grove 115
dina juniper 0 farah delta 12 ivan grove 21
jules ember 64 alice indigo 82 alice delta 96 alice cobalt 68 farah grove 70 bruno birch 76 gus grove 59 dina ember 10 gus fable 37
alice indigo 82 alice delta 96 alice cobalt 68
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003868
qwen/qwen3.7-plus
awkweave-0003869
Output only the first 4 records.
NR <= 4
kim 107 juniper bruno 113 cobalt bruno 96 harbor dina 33 delta bruno 75 delta dina 83 fable alice 32 indigo chen 10 amber lina 5 juniper farah 8 juniper
kim 107 juniper bruno 113 cobalt bruno 96 harbor dina 33 delta
eli 75 indigo hana 22 indigo farah 41 ember dina 46 birch kim 34 birch kim 13 ember gus 31 ember jules 26 delta alice 1 juniper
eli 75 indigo hana 22 indigo farah 41 ember dina 46 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003869-p1
Print only the first four records.
NR <= 4
kim 107 juniper bruno 113 cobalt bruno 96 harbor dina 33 delta bruno 75 delta dina 83 fable alice 32 indigo chen 10 amber lina 5 juniper farah 8 juniper
kim 107 juniper bruno 113 cobalt bruno 96 harbor dina 33 delta
eli 75 indigo hana 22 indigo farah 41 ember dina 46 birch kim 34 birch kim 13 ember gus 31 ember jules 26 delta alice 1 juniper
eli 75 indigo hana 22 indigo farah 41 ember dina 46 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003869
qwen/qwen3.7-plus
awkweave-0003870
Skip the first line and print every remaining line unchanged.
NR > 1
alice 39 indigo dina 71 ember eli 10 harbor dina 21 harbor farah 45 fable dina 44 amber lina 55 birch jules 41 amber dina 95 ember
dina 71 ember eli 10 harbor dina 21 harbor farah 45 fable dina 44 amber lina 55 birch jules 41 amber dina 95 ember
eli 86 birch eli 94 ember chen 60 fable dina 24 indigo bruno 77 ember kim 21 ember chen 19 birch
eli 94 ember chen 60 fable dina 24 indigo bruno 77 ember kim 21 ember chen 19 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003870-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
alice 39 indigo dina 71 ember eli 10 harbor dina 21 harbor farah 45 fable dina 44 amber lina 55 birch jules 41 amber dina 95 ember
dina 71 ember eli 10 harbor dina 21 harbor farah 45 fable dina 44 amber lina 55 birch jules 41 amber dina 95 ember
eli 86 birch eli 94 ember chen 60 fable dina 24 indigo bruno 77 ember kim 21 ember chen 19 birch
eli 94 ember chen 60 fable dina 24 indigo bruno 77 ember kim 21 ember chen 19 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003870
qwen/qwen3.7-plus
awkweave-0003871
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
gus pending 81 dina paused 11 chen pending 79 eli pending 57 bruno paused 58 kim ready 2 gus closed 33 chen closed 25 kim ready 83 eli active 51
2
hana ready 91 dina failed 91 chen ready 99 ivan active 89 eli closed 30 gus pending 79 dina closed 91 eli failed 5
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003871-p1
Count the number of records with 'closed' in the second column, printing 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
gus pending 81 dina paused 11 chen pending 79 eli pending 57 bruno paused 58 kim ready 2 gus closed 33 chen closed 25 kim ready 83 eli active 51
2
hana ready 91 dina failed 91 chen ready 99 ivan active 89 eli closed 30 gus pending 79 dina closed 91 eli failed 5
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003871
qwen/qwen3.7-plus
awkweave-0003872
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
12 grove jules 26 ember lina 8 delta lina 25 indigo kim 11 harbor dina 9 indigo chen 16 grove bruno 13 indigo kim
120
7 ember jules 28 indigo jules 21 indigo lina 9 juniper lina 5 juniper jules 7 juniper kim 14 juniper jules 20 cobalt ivan
111
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003872-p1
Compute the total of all integer values found in the first column and output the result.
{s+=$1}END{print s+0}
12 grove jules 26 ember lina 8 delta lina 25 indigo kim 11 harbor dina 9 indigo chen 16 grove bruno 13 indigo kim
120
7 ember jules 28 indigo jules 21 indigo lina 9 juniper lina 5 juniper jules 7 juniper kim 14 juniper jules 20 cobalt ivan
111
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003872
qwen/qwen3.7-plus
awkweave-0003873
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
delta 12 dina juniper 10 chen delta 27 ivan cobalt 26 kim cobalt 7 hana grove 12 gus
15.67
ember 15 chen grove 22 kim harbor 26 ivan ember 10 bruno juniper 11 eli fable 26 dina ember 20 gus cobalt 21 lina fable 6 alice amber 28 lina
18.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003873-p1
Output the average of the values in the second column, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
delta 12 dina juniper 10 chen delta 27 ivan cobalt 26 kim cobalt 7 hana grove 12 gus
15.67
ember 15 chen grove 22 kim harbor 26 ivan ember 10 bruno juniper 11 eli fable 26 dina ember 20 gus cobalt 21 lina fable 6 alice amber 28 lina
18.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003873
qwen/qwen3.7-plus
awkweave-0003874
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt alice 13 fable gus 15 amber gus 25 delta hana 1 harbor eli 18 grove chen 2
1
fable dina 7 juniper bruno 27 grove farah 27 harbor kim 18 delta jules 30 harbor dina 14 juniper dina 7 fable alice 12 delta ivan 14
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003874-p1
Identify and display the minimum numerical value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt alice 13 fable gus 15 amber gus 25 delta hana 1 harbor eli 18 grove chen 2
1
fable dina 7 juniper bruno 27 grove farah 27 harbor kim 18 delta jules 30 harbor dina 14 juniper dina 7 fable alice 12 delta ivan 14
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003874
qwen/qwen3.7-plus
awkweave-0003875
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 25 eli delta 7 eli cobalt 23 lina ember 8 alice amber 29 gus harbor 6 chen
29
amber 27 farah ember 3 eli birch 26 dina birch 27 farah fable 3 farah cobalt 27 dina harbor 19 jules harbor 2 bruno grove 30 ivan
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003875-p1
Determine and output the maximum numerical value located in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 25 eli delta 7 eli cobalt 23 lina ember 8 alice amber 29 gus harbor 6 chen
29
amber 27 farah ember 3 eli birch 26 dina birch 27 farah fable 3 farah cobalt 27 dina harbor 19 jules harbor 2 bruno grove 30 ivan
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003875
qwen/qwen3.7-plus
awkweave-0003876
Count all input records and print the total.
END{print NR}
bruno 24 bruno 106 chen 7 bruno 41 jules 119 bruno 79 eli 97 lina 68
8
kim 91 ivan 119 farah 14 farah 102 gus 58 kim 5 ivan 64 jules 57 ivan 57 hana 120
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003876-p1
Count the total number of input lines and print that count.
END{print NR}
bruno 24 bruno 106 chen 7 bruno 41 jules 119 bruno 79 eli 97 lina 68
8
kim 91 ivan 119 farah 14 farah 102 gus 58 kim 5 ivan 64 jules 57 ivan 57 hana 120
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003876
qwen/qwen3.7-plus
awkweave-0003877
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim fable 85 dina juniper 16 alice juniper 24 bruno grove 89 eli ember 13 gus ember 113 ivan juniper 47 dina juniper 16 gus harbor 46 dina fable 120
kim fable 85 dina juniper 16 alice juniper 24 bruno grove 89 eli ember 13 gus ember 113 ivan juniper 47 gus harbor 46 dina fable 120
bruno harbor 0 dina harbor 14 eli ember 91 ivan birch 9 dina harbor 81 dina harbor 14 eli birch 10 hana delta 36 jules grove 102 hana fable 60
bruno harbor 0 dina harbor 14 eli ember 91 ivan birch 9 dina harbor 81 eli birch 10 hana delta 36 jules grove 102 hana fable 60
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003877-p1
Eliminate duplicate lines by keeping only the first instance of each, while maintaining the original sequence.
!seen[$0]++
kim fable 85 dina juniper 16 alice juniper 24 bruno grove 89 eli ember 13 gus ember 113 ivan juniper 47 dina juniper 16 gus harbor 46 dina fable 120
kim fable 85 dina juniper 16 alice juniper 24 bruno grove 89 eli ember 13 gus ember 113 ivan juniper 47 gus harbor 46 dina fable 120
bruno harbor 0 dina harbor 14 eli ember 91 ivan birch 9 dina harbor 81 dina harbor 14 eli birch 10 hana delta 36 jules grove 102 hana fable 60
bruno harbor 0 dina harbor 14 eli ember 91 ivan birch 9 dina harbor 81 eli birch 10 hana delta 36 jules grove 102 hana fable 60
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003877
qwen/qwen3.7-plus
awkweave-0003878
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
farah birch 47 hana indigo 73 bruno harbor 63 gus fable 67 bruno ember 18 farah cobalt 117 dina birch 22
farah birch 47 hana indigo 73 bruno harbor 63 gus fable 67 dina birch 22
dina grove 46 eli grove 34 farah indigo 58 farah cobalt 54 ivan harbor 88 gus delta 10 hana amber 117 lina ember 0 chen fable 1
dina grove 46 eli grove 34 farah indigo 58 ivan harbor 88 gus delta 10 hana amber 117 lina ember 0 chen fable 1
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003878-p1
Retain only the initial line for every unique value in the first column, ensuring the original order is preserved.
!seen[$1]++
farah birch 47 hana indigo 73 bruno harbor 63 gus fable 67 bruno ember 18 farah cobalt 117 dina birch 22
farah birch 47 hana indigo 73 bruno harbor 63 gus fable 67 dina birch 22
dina grove 46 eli grove 34 farah indigo 58 farah cobalt 54 ivan harbor 88 gus delta 10 hana amber 117 lina ember 0 chen fable 1
dina grove 46 eli grove 34 farah indigo 58 ivan harbor 88 gus delta 10 hana amber 117 lina ember 0 chen fable 1
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003878
qwen/qwen3.7-plus
awkweave-0003879
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 24 grove chen 21 indigo kim 13 indigo dina 16 fable hana 5 fable lina 28 ember hana 24 amber lina 29 ember
farah 24 chen 45 kim 58 dina 74 hana 79 lina 107 hana 131 lina 160
eli 12 fable gus 27 juniper farah 27 grove hana 23 fable farah 12 grove bruno 20 grove eli 27 harbor bruno 5 cobalt
eli 12 gus 39 farah 66 hana 89 farah 101 bruno 121 eli 148 bruno 153
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003879-p1
For each entry, output the first column alongside the cumulative sum of the second column, using a space as the delimiter.
{s+=$2;print $1,s}
farah 24 grove chen 21 indigo kim 13 indigo dina 16 fable hana 5 fable lina 28 ember hana 24 amber lina 29 ember
farah 24 chen 45 kim 58 dina 74 hana 79 lina 107 hana 131 lina 160
eli 12 fable gus 27 juniper farah 27 grove hana 23 fable farah 12 grove bruno 20 grove eli 27 harbor bruno 5 cobalt
eli 12 gus 39 farah 66 hana 89 farah 101 bruno 121 eli 148 bruno 153
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003879
qwen/qwen3.7-plus
awkweave-0003880
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 25 22 amber gus 6 22 amber dina 2 22 grove chen 19 11 delta jules 21 14 fable gus 22 6 cobalt dina 21 23 birch ivan 5 1 juniper jules 10 16 juniper jules 10 19 harbor
farah 47 gus 28 dina 24 chen 30 jules 35 gus 28 dina 44 ivan 6 jules 26 jules 29
eli 4 15 fable kim 26 4 indigo ivan 7 5 indigo kim 4 25 delta bruno 23 21 juniper eli 5 20 amber
eli 19 kim 30 ivan 12 kim 29 bruno 44 eli 25
computed_field
1
train
original-grammar
CC-BY-4.0
null
null