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-0024111-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
jules 70 birch hana 75 fable chen 2 amber hana 18 grove jules 63 harbor ivan 23 grove farah 7 cobalt dina 39 delta farah 120 juniper farah 4 cobalt
hana 75 fable chen 2 amber hana 18 grove jules 63 harbor ivan 23 grove farah 7 cobalt dina 39 delta farah 120 juniper farah 4 cobalt
bruno 14 harbor farah 63 amber chen 24 amber jules 30 delta alice 77 ember bruno 11 delta kim 119 amber kim 106 delta
farah 63 amber chen 24 amber jules 30 delta alice 77 ember bruno 11 delta kim 119 amber kim 106 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024111
qwen/qwen3.7-plus
awkweave-0024112
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
lina ready 38 farah closed 61 gus paused 26 kim ready 105 dina closed 77 chen paused 99 alice active 120
2
alice paused 79 alice pending 86 eli pending 73 eli paused 35 kim active 89 alice pending 44
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024112-p1
Count the number of records with 'ready' in the second column; output 0 if none exist.
$2 == "ready"{n++}END{print n+0}
lina ready 38 farah closed 61 gus paused 26 kim ready 105 dina closed 77 chen paused 99 alice active 120
2
alice paused 79 alice pending 86 eli pending 73 eli paused 35 kim active 89 alice pending 44
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024112
qwen/qwen3.7-plus
awkweave-0024113
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
23 alice cobalt 21 gus cobalt 16 ivan birch 14 eli amber 18 bruno amber 3 farah harbor 6 alice fable
101
30 ivan juniper 7 kim juniper 2 lina birch 13 alice ember 30 gus birch 1 kim amber
83
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024113-p1
Compute and display the sum of integer values in the first column.
{s+=$1}END{print s+0}
23 alice cobalt 21 gus cobalt 16 ivan birch 14 eli amber 18 bruno amber 3 farah harbor 6 alice fable
101
30 ivan juniper 7 kim juniper 2 lina birch 13 alice ember 30 gus birch 1 kim amber
83
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024113
qwen/qwen3.7-plus
awkweave-0024114
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
dina grove 16 jules delta 2 lina cobalt 27 alice amber 29 lina delta 13 jules amber 18 gus birch 12
16.71
kim delta 30 farah juniper 29 lina birch 18 hana fable 12 ivan fable 23 eli grove 19 chen birch 16 dina delta 22 gus delta 24 eli indigo 5
19.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024114-p1
Print the average of the third column, rounded to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
dina grove 16 jules delta 2 lina cobalt 27 alice amber 29 lina delta 13 jules amber 18 gus birch 12
16.71
kim delta 30 farah juniper 29 lina birch 18 hana fable 12 ivan fable 23 eli grove 19 chen birch 16 dina delta 22 gus delta 24 eli indigo 5
19.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024114
qwen/qwen3.7-plus
awkweave-0024115
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
8 delta lina 23 juniper gus 1 amber bruno 6 birch ivan 27 fable bruno 19 grove gus 25 birch ivan 9 grove eli 26 indigo kim 15 amber alice
1
5 grove dina 26 birch bruno 1 indigo gus 24 birch alice 29 delta farah 17 indigo alice 4 indigo hana 29 amber alice 26 indigo eli 25 delta dina
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024115-p1
Identify and output the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
8 delta lina 23 juniper gus 1 amber bruno 6 birch ivan 27 fable bruno 19 grove gus 25 birch ivan 9 grove eli 26 indigo kim 15 amber alice
1
5 grove dina 26 birch bruno 1 indigo gus 24 birch alice 29 delta farah 17 indigo alice 4 indigo hana 29 amber alice 26 indigo eli 25 delta dina
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024115
qwen/qwen3.7-plus
awkweave-0024116
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
alice birch 7 gus amber 5 jules fable 11 bruno delta 29 bruno grove 21 chen indigo 23 eli delta 18
29
kim cobalt 30 chen ember 20 hana indigo 30 eli birch 2 eli cobalt 1 lina fable 9 lina ember 15 lina indigo 18
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024116-p1
Identify and output the maximum numeric value found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
alice birch 7 gus amber 5 jules fable 11 bruno delta 29 bruno grove 21 chen indigo 23 eli delta 18
29
kim cobalt 30 chen ember 20 hana indigo 30 eli birch 2 eli cobalt 1 lina fable 9 lina ember 15 lina indigo 18
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024116
qwen/qwen3.7-plus
awkweave-0024117
Count all input records and print the total.
END{print NR}
alice 81 hana 105 chen 41 bruno 119 kim 103 dina 109 farah 3
7
dina 119 farah 44 lina 82 eli 82 jules 11 farah 42 bruno 39 ivan 18 chen 108
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024117-p1
Count the total number of input records and print the result.
END{print NR}
alice 81 hana 105 chen 41 bruno 119 kim 103 dina 109 farah 3
7
dina 119 farah 44 lina 82 eli 82 jules 11 farah 42 bruno 39 ivan 18 chen 108
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024117
qwen/qwen3.7-plus
awkweave-0024118
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus fable 84 farah indigo 8 dina indigo 18 dina indigo 18 farah juniper 35 chen amber 109 hana ember 88 lina grove 29 eli grove 54
gus fable 84 farah indigo 8 dina indigo 18 farah juniper 35 chen amber 109 hana ember 88 lina grove 29 eli grove 54
farah indigo 23 alice birch 89 kim amber 79 dina ember 3 kim grove 81 jules cobalt 101 ivan fable 7 kim grove 81 dina birch 82 farah ember 0 chen juniper 54
farah indigo 23 alice birch 89 kim amber 79 dina ember 3 kim grove 81 jules cobalt 101 ivan fable 7 dina birch 82 farah ember 0 chen juniper 54
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024118-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance.
!seen[$0]++
gus fable 84 farah indigo 8 dina indigo 18 dina indigo 18 farah juniper 35 chen amber 109 hana ember 88 lina grove 29 eli grove 54
gus fable 84 farah indigo 8 dina indigo 18 farah juniper 35 chen amber 109 hana ember 88 lina grove 29 eli grove 54
farah indigo 23 alice birch 89 kim amber 79 dina ember 3 kim grove 81 jules cobalt 101 ivan fable 7 kim grove 81 dina birch 82 farah ember 0 chen juniper 54
farah indigo 23 alice birch 89 kim amber 79 dina ember 3 kim grove 81 jules cobalt 101 ivan fable 7 dina birch 82 farah ember 0 chen juniper 54
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024118
qwen/qwen3.7-plus
awkweave-0024119
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
hana cobalt 16 eli amber 45 dina amber 87 bruno birch 22 kim cobalt 72 farah amber 98 bruno birch 84
hana cobalt 16 eli amber 45 dina amber 87 bruno birch 22 kim cobalt 72 farah amber 98 bruno birch 84
alice birch 18 alice grove 92 farah cobalt 37 jules cobalt 22 lina delta 107 chen juniper 82 hana grove 97 hana indigo 66
alice birch 18 alice grove 92 farah cobalt 37 jules cobalt 22 lina delta 107 chen juniper 82 hana grove 97 hana indigo 66
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024119-p1
Retain only the initial line for every unique value found in column 3, ensuring the input order is preserved.
!seen[$3]++
hana cobalt 16 eli amber 45 dina amber 87 bruno birch 22 kim cobalt 72 farah amber 98 bruno birch 84
hana cobalt 16 eli amber 45 dina amber 87 bruno birch 22 kim cobalt 72 farah amber 98 bruno birch 84
alice birch 18 alice grove 92 farah cobalt 37 jules cobalt 22 lina delta 107 chen juniper 82 hana grove 97 hana indigo 66
alice birch 18 alice grove 92 farah cobalt 37 jules cobalt 22 lina delta 107 chen juniper 82 hana grove 97 hana indigo 66
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024119
qwen/qwen3.7-plus
awkweave-0024120
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 19 grove dina 14 fable kim 17 cobalt kim 20 fable hana 4 harbor kim 8 amber
lina 19 dina 33 kim 50 kim 70 hana 74 kim 82
hana 8 delta gus 16 juniper lina 2 juniper farah 28 juniper dina 1 fable alice 2 indigo hana 28 birch lina 16 juniper
hana 8 gus 24 lina 26 farah 54 dina 55 alice 57 hana 85 lina 101
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024120-p1
Output column 1 alongside the cumulative total of column 2, with a space separating the two values.
{s+=$2;print $1,s}
lina 19 grove dina 14 fable kim 17 cobalt kim 20 fable hana 4 harbor kim 8 amber
lina 19 dina 33 kim 50 kim 70 hana 74 kim 82
hana 8 delta gus 16 juniper lina 2 juniper farah 28 juniper dina 1 fable alice 2 indigo hana 28 birch lina 16 juniper
hana 8 gus 24 lina 26 farah 54 dina 55 alice 57 hana 85 lina 101
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024120
qwen/qwen3.7-plus
awkweave-0024121
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 12 24 delta jules 7 25 fable gus 25 8 amber lina 11 19 harbor hana 7 26 ember alice 29 3 grove chen 20 24 fable ivan 24 13 grove bruno 7 15 birch eli 13 25 amber
hana 36 jules 32 gus 33 lina 30 hana 33 alice 32 chen 44 ivan 37 bruno 22 eli 38
hana 15 25 birch chen 14 19 delta bruno 22 3 birch bruno 3 27 harbor farah 13 18 juniper dina 12 4 amber kim 13 25 indigo eli 5 23 fable
hana 40 chen 33 bruno 25 bruno 30 farah 31 dina 16 kim 38 eli 28
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024121-p1
For each row, display field 1 followed by the total of fields 2 and 3.
{print $1,$2+$3}
hana 12 24 delta jules 7 25 fable gus 25 8 amber lina 11 19 harbor hana 7 26 ember alice 29 3 grove chen 20 24 fable ivan 24 13 grove bruno 7 15 birch eli 13 25 amber
hana 36 jules 32 gus 33 lina 30 hana 33 alice 32 chen 44 ivan 37 bruno 22 eli 38
hana 15 25 birch chen 14 19 delta bruno 22 3 birch bruno 3 27 harbor farah 13 18 juniper dina 12 4 amber kim 13 25 indigo eli 5 23 fable
hana 40 chen 33 bruno 25 bruno 30 farah 31 dina 16 kim 38 eli 28
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024121
qwen/qwen3.7-plus
awkweave-0024122
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
gus 25 ivan 5 ivan 15 farah 22 hana 4 chen 11 ivan 20 kim 20
gus pass ivan fail ivan fail farah fail hana fail chen fail ivan fail kim fail
eli 29 hana 28 bruno 4 chen 27 lina 14 gus 30 farah 20 lina 23 kim 1 ivan 20
eli pass hana pass bruno fail chen pass lina fail gus pass farah fail lina pass kim fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024122-p1
Output column 1 and 'pass' if column 2 is 23 or greater; otherwise, output 'fail'.
{print $1,($2>=23?"pass":"fail")}
gus 25 ivan 5 ivan 15 farah 22 hana 4 chen 11 ivan 20 kim 20
gus pass ivan fail ivan fail farah fail hana fail chen fail ivan fail kim fail
eli 29 hana 28 bruno 4 chen 27 lina 14 gus 30 farah 20 lina 23 kim 1 ivan 20
eli pass hana pass bruno fail chen pass lina fail gus pass farah fail lina pass kim fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024122
qwen/qwen3.7-plus
awkweave-0024123
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
farah cobalt 35 eli delta 89 hana delta 109 eli ember 60 dina delta 70 ivan birch 102 lina fable 47 jules ember 101 chen delta 92
FARAH ELI HANA ELI DINA IVAN LINA JULES CHEN
gus harbor 118 gus ember 20 ivan delta 90 gus indigo 0 kim ember 79 ivan fable 22 alice amber 5 bruno ember 88
GUS GUS IVAN GUS KIM IVAN ALICE BRUNO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024123-p1
Transform column 1 to uppercase and output solely that column.
{print toupper($1)}
farah cobalt 35 eli delta 89 hana delta 109 eli ember 60 dina delta 70 ivan birch 102 lina fable 47 jules ember 101 chen delta 92
FARAH ELI HANA ELI DINA IVAN LINA JULES CHEN
gus harbor 118 gus ember 20 ivan delta 90 gus indigo 0 kim ember 79 ivan fable 22 alice amber 5 bruno ember 88
GUS GUS IVAN GUS KIM IVAN ALICE BRUNO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024123
qwen/qwen3.7-plus
awkweave-0024124
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
harbor 47 grove 93 amber 62 indigo 99 ember 40 delta 73 cobalt 89 amber 50 cobalt 0 fable 69
rbo ove ber dig ber lta bal ber bal ble
indigo 76 birch 44 juniper 12 indigo 47 delta 52 fable 71 cobalt 7
dig rch nip dig lta ble bal
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024124-p1
Extract and print a 3-character substring from column 1, beginning at the 3rd character.
{print substr($1,3,3)}
harbor 47 grove 93 amber 62 indigo 99 ember 40 delta 73 cobalt 89 amber 50 cobalt 0 fable 69
rbo ove ber dig ber lta bal ber bal ble
indigo 76 birch 44 juniper 12 indigo 47 delta 52 fable 71 cobalt 7
dig rch nip dig lta ble bal
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024124
qwen/qwen3.7-plus
awkweave-0024125
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_indigo 2 delta_harbor 34 harbor_cobalt 72 juniper_harbor 74 ember_ember 40 birch_fable 30 ember_delta 25 cobalt_indigo 119 delta_fable 49 fable_ember 63
harbor indigo delta harbor harbor cobalt juniper harbor ember ember birch fable ember delta cobalt indigo delta fable fable ember
delta_ember 16 harbor_harbor 113 juniper_fable 92 harbor_ember 56 ember_grove 71 fable_ember 52 grove_delta 66 ember_harbor 88 delta_harbor 8
delta ember harbor harbor juniper fable harbor ember ember grove fable ember grove delta ember harbor delta harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024125-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
harbor_indigo 2 delta_harbor 34 harbor_cobalt 72 juniper_harbor 74 ember_ember 40 birch_fable 30 ember_delta 25 cobalt_indigo 119 delta_fable 49 fable_ember 63
harbor indigo delta harbor harbor cobalt juniper harbor ember ember birch fable ember delta cobalt indigo delta fable fable ember
delta_ember 16 harbor_harbor 113 juniper_fable 92 harbor_ember 56 ember_grove 71 fable_ember 52 grove_delta 66 ember_harbor 88 delta_harbor 8
delta ember harbor harbor juniper fable harbor ember ember grove fable ember grove delta ember harbor delta harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024125
qwen/qwen3.7-plus
awkweave-0024126
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 73 paused hana birch 56 pending lina indigo 40 failed alice delta 80 ready jules cobalt 92 paused chen indigo 39 closed
paused 73 birch chen pending 56 birch hana failed 40 indigo lina ready 80 delta alice paused 92 cobalt jules closed 39 indigo chen
dina ember 4 closed jules grove 101 ready dina fable 42 failed farah grove 107 paused eli juniper 57 failed kim delta 5 closed farah fable 112 failed eli birch 53 ready
closed 4 ember dina ready 101 grove jules failed 42 fable dina paused 107 grove farah failed 57 juniper eli closed 5 delta kim failed 112 fable farah ready 53 birch eli
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024126-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen birch 73 paused hana birch 56 pending lina indigo 40 failed alice delta 80 ready jules cobalt 92 paused chen indigo 39 closed
paused 73 birch chen pending 56 birch hana failed 40 indigo lina ready 80 delta alice paused 92 cobalt jules closed 39 indigo chen
dina ember 4 closed jules grove 101 ready dina fable 42 failed farah grove 107 paused eli juniper 57 failed kim delta 5 closed farah fable 112 failed eli birch 53 ready
closed 4 ember dina ready 101 grove jules failed 42 fable dina paused 107 grove farah failed 57 juniper eli closed 5 delta kim failed 112 fable farah ready 53 birch eli
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024126
qwen/qwen3.7-plus
awkweave-0024127
Print the number of whitespace-separated fields on each line.
{print NF}
jules indigo 71 failed gus juniper 3 active farah birch 32 closed jules fable 4 active kim amber 42 paused kim fable 65 failed alice birch 4 failed dina delta 25 active lina juniper 96 active alice cobalt 1 active
4 4 4 4 4 4 4 4 4 4
chen ember 91 paused bruno birch 5 active dina birch 88 ready chen amber 62 ready jules harbor 88 failed chen juniper 101 closed chen harbor 0 ready kim indigo 7 paused
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024127-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
jules indigo 71 failed gus juniper 3 active farah birch 32 closed jules fable 4 active kim amber 42 paused kim fable 65 failed alice birch 4 failed dina delta 25 active lina juniper 96 active alice cobalt 1 active
4 4 4 4 4 4 4 4 4 4
chen ember 91 paused bruno birch 5 active dina birch 88 ready chen amber 62 ready jules harbor 88 failed chen juniper 101 closed chen harbor 0 ready kim indigo 7 paused
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024127
qwen/qwen3.7-plus
awkweave-0024128
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana alpha 45 kim delta 51 hana alpha 76 eli gamma 4 ivan gamma 3 ivan gamma 8 bruno beta 21
alpha 2 delta 1 gamma 3 beta 1
bruno gamma 5 ivan gamma 39 farah alpha 115 eli delta 108 chen beta 67 eli beta 87 alice gamma 83 farah delta 74
gamma 3 alpha 1 delta 2 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024128-p1
Tally the records for each distinct value in column 2, printing the value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana alpha 45 kim delta 51 hana alpha 76 eli gamma 4 ivan gamma 3 ivan gamma 8 bruno beta 21
alpha 2 delta 1 gamma 3 beta 1
bruno gamma 5 ivan gamma 39 farah alpha 115 eli delta 108 chen beta 67 eli beta 87 alice gamma 83 farah delta 74
gamma 3 alpha 1 delta 2 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024128
qwen/qwen3.7-plus
awkweave-0024129
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]]}
alice alpha 18 chen beta 8 kim gamma 18 alice alpha 29 bruno alpha 10 bruno gamma 6 dina beta 16
alpha 57 beta 24 gamma 24
lina alpha 5 bruno delta 3 dina alpha 10 eli delta 15 ivan beta 17 alice delta 4 ivan beta 14
alpha 15 delta 22 beta 31
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024129-p1
Calculate the sum of column 3 for each group defined by column 2, displaying the results in the 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]]}
alice alpha 18 chen beta 8 kim gamma 18 alice alpha 29 bruno alpha 10 bruno gamma 6 dina beta 16
alpha 57 beta 24 gamma 24
lina alpha 5 bruno delta 3 dina alpha 10 eli delta 15 ivan beta 17 alice delta 4 ivan beta 14
alpha 15 delta 22 beta 31
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024129
qwen/qwen3.7-plus
awkweave-0024130
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 cobalt 27 gamma grove 74 delta cobalt 10 beta amber 62 beta harbor 9 beta grove 70 gamma grove 79 beta amber 98
gamma 3 beta 4
beta cobalt 78 delta amber 71 beta amber 53 alpha grove 118 gamma harbor 32 alpha fable 88 beta cobalt 90
beta 3 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024130-p1
List each unique value from the first column alongside its frequency count, maintaining the order in which they first appear.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma cobalt 27 gamma grove 74 delta cobalt 10 beta amber 62 beta harbor 9 beta grove 70 gamma grove 79 beta amber 98
gamma 3 beta 4
beta cobalt 78 delta amber 71 beta amber 53 alpha grove 118 gamma harbor 32 alpha fable 88 beta cobalt 90
beta 3 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024130
qwen/qwen3.7-plus
awkweave-0024131
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name region note state r001 hana 10 failed r002 bruno 1 paused r003 farah 30 ready r004 gus 2 active r005 kim 15 paused r006 kim 3 pending r007 chen 9 pending r008 hana 15 ready r009 hana 6 closed r010 dina 11 closed
failed paused ready active paused pending pending ready closed closed
display_name region note state r001 bruno 26 failed r002 farah 4 pending r003 kim 15 paused r004 lina 2 pending r005 hana 14 paused r006 farah 14 closed r007 lina 28 pending
failed pending paused pending paused closed pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024131-p1
Treat the initial row as a header and output the 'state' field for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
display_name region note state r001 hana 10 failed r002 bruno 1 paused r003 farah 30 ready r004 gus 2 active r005 kim 15 paused r006 kim 3 pending r007 chen 9 pending r008 hana 15 ready r009 hana 6 closed r010 dina 11 closed
failed paused ready active paused pending pending ready closed closed
display_name region note state r001 bruno 26 failed r002 farah 4 pending r003 kim 15 paused r004 lina 2 pending r005 hana 14 paused r006 farah 14 closed r007 lina 28 pending
failed pending paused pending paused closed pending
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024131
qwen/qwen3.7-plus
awkweave-0024132
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 alice 2 failed r002 hana 18 ready r003 jules 30 ready r004 alice 13 failed r005 lina 14 closed r006 kim 18 failed r007 kim 15 paused r008 farah 3 failed r009 chen 22 failed
hana jules alice lina kim kim chen
record_id display_name score state r001 ivan 1 failed r002 farah 25 paused r003 ivan 3 ready r004 eli 24 closed r005 ivan 20 active r006 eli 21 paused r007 hana 24 pending r008 dina 17 active
farah eli ivan eli hana dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024132-p1
Assuming the first line is a header, output the 'display_name' field for any data row where the 'score' exceeds 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 alice 2 failed r002 hana 18 ready r003 jules 30 ready r004 alice 13 failed r005 lina 14 closed r006 kim 18 failed r007 kim 15 paused r008 farah 3 failed r009 chen 22 failed
hana jules alice lina kim kim chen
record_id display_name score state r001 ivan 1 failed r002 farah 25 paused r003 ivan 3 ready r004 eli 24 closed r005 ivan 20 active r006 eli 21 paused r007 hana 24 pending r008 dina 17 active
farah eli ivan eli hana dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024132
qwen/qwen3.7-plus
awkweave-0024133
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 7 ready ivan 15 closed kim 30 closed alice 11 ready farah 4 ready dina 9 failed lina 15 ready chen 25 failed dina 3 failed eli 8 failed
ready closed closed ready ready failed ready failed failed failed
gus 6 active hana 26 active chen 19 closed bruno 20 failed eli 19 pending dina 16 failed hana 10 failed farah 29 pending dina 20 pending
active active closed failed pending failed failed pending pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024133-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 7 ready ivan 15 closed kim 30 closed alice 11 ready farah 4 ready dina 9 failed lina 15 ready chen 25 failed dina 3 failed eli 8 failed
ready closed closed ready ready failed ready failed failed failed
gus 6 active hana 26 active chen 19 closed bruno 20 failed eli 19 pending dina 16 failed hana 10 failed farah 29 pending dina 20 pending
active active closed failed pending failed failed pending pending
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0024133
qwen/qwen3.7-plus
awkweave-0024134
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 12.
BEGIN{FS=OFS=","}$2>12{print $1}
lina,11,active farah,21,failed hana,25,closed gus,13,closed farah,10,ready dina,9,failed jules,23,failed ivan,7,paused alice,12,failed kim,8,pending
farah hana gus jules
kim,10,active gus,8,closed dina,22,ready alice,10,closed dina,30,closed bruno,6,pending jules,30,active alice,3,closed
dina dina jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024134-p1
For simple comma-separated values without quoted commas, print the first column only if the second column is greater than 12.
BEGIN{FS=OFS=","}$2>12{print $1}
lina,11,active farah,21,failed hana,25,closed gus,13,closed farah,10,ready dina,9,failed jules,23,failed ivan,7,paused alice,12,failed kim,8,pending
farah hana gus jules
kim,10,active gus,8,closed dina,22,ready alice,10,closed dina,30,closed bruno,6,pending jules,30,active alice,3,closed
dina dina jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024134
qwen/qwen3.7-plus
awkweave-0024135
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina amber 34 chen grove 46 dina delta 11 farah harbor 109 kim grove 62 jules ember 103 gus ember 6
lina amber 34 chen grove 46 dina delta 11 farah harbor 109 kim grove 62 jules ember 103 gus ember 6
jules birch 95 ivan birch 31 kim grove 14 ivan indigo 9 farah fable 52 hana ember 63 hana grove 112 dina delta 105 kim grove 117
jules birch 95 ivan birch 31 kim grove 14 ivan indigo 9 farah fable 52 hana ember 63 hana grove 112 dina delta 105 kim grove 117
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024135-p1
Remove leading and trailing whitespace from the input, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
lina amber 34 chen grove 46 dina delta 11 farah harbor 109 kim grove 62 jules ember 103 gus ember 6
lina amber 34 chen grove 46 dina delta 11 farah harbor 109 kim grove 62 jules ember 103 gus ember 6
jules birch 95 ivan birch 31 kim grove 14 ivan indigo 9 farah fable 52 hana ember 63 hana grove 112 dina delta 105 kim grove 117
jules birch 95 ivan birch 31 kim grove 14 ivan indigo 9 farah fable 52 hana ember 63 hana grove 112 dina delta 105 kim grove 117
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024135
qwen/qwen3.7-plus
awkweave-0024136
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan harbor 67 closed kim birch 119 closed farah fable 60 active gus birch 35 pending bruno cobalt 63 failed chen harbor 49 closed hana juniper 45 closed bruno grove 118 paused jules indigo 72 ready eli juniper 40 pending
bruno cobalt 63 failed
eli juniper 114 closed ivan amber 67 ready eli ember 11 paused chen ember 120 active bruno amber 107 ready eli juniper 60 paused kim grove 33 active
eli juniper 114 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024136-p1
Identify and output the longest line from the input; in case of a tie in length, select the line that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan harbor 67 closed kim birch 119 closed farah fable 60 active gus birch 35 pending bruno cobalt 63 failed chen harbor 49 closed hana juniper 45 closed bruno grove 118 paused jules indigo 72 ready eli juniper 40 pending
bruno cobalt 63 failed
eli juniper 114 closed ivan amber 67 ready eli ember 11 paused chen ember 120 active bruno amber 107 ready eli juniper 60 paused kim grove 33 active
eli juniper 114 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024136
qwen/qwen3.7-plus
awkweave-0024137
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
hana 89 kim 120 bruno 118 eli 93 bruno 61 kim 33 dina 54 lina 75 lina 99
bruno 118 dina 54
kim 23 eli 48 lina 43 ivan 96 gus 19 chen 79 bruno 63 kim 54 kim 61 bruno 6
lina 43 bruno 63
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024137-p1
Output every fourth line of the input, beginning with the third line (i.e., lines 3, 7, 11, etc.).
NR%4==3
hana 89 kim 120 bruno 118 eli 93 bruno 61 kim 33 dina 54 lina 75 lina 99
bruno 118 dina 54
kim 23 eli 48 lina 43 ivan 96 gus 19 chen 79 bruno 63 kim 54 kim 61 bruno 6
lina 43 bruno 63
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024137
qwen/qwen3.7-plus
awkweave-0024138
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta cobalt 52 alpha grove 80 delta indigo 111 gamma birch 52 alpha fable 28 beta birch 72 beta juniper 64 alpha grove 59 gamma grove 111 gamma ember 74
7
alpha indigo 31 delta grove 56 gamma juniper 22 gamma harbor 92 gamma amber 75 gamma juniper 101 alpha fable 86 beta juniper 120 gamma indigo 74
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024138-p1
Calculate the number of unique values present in the second column and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
delta cobalt 52 alpha grove 80 delta indigo 111 gamma birch 52 alpha fable 28 beta birch 72 beta juniper 64 alpha grove 59 gamma grove 111 gamma ember 74
7
alpha indigo 31 delta grove 56 gamma juniper 22 gamma harbor 92 gamma amber 75 gamma juniper 101 alpha fable 86 beta juniper 120 gamma indigo 74
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024138
qwen/qwen3.7-plus
awkweave-0024139
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}
hana 5 0 kim 4 14 farah 11 24 lina 7 26 ivan 11 6 lina 27 30
kim 0.29 farah 0.46 lina 0.27 ivan 1.83 lina 0.90
chen 12 0 lina 10 4 chen 10 25 kim 15 28 chen 23 9 dina 21 12 ivan 4 12 gus 15 16 dina 2 9
lina 2.50 chen 0.40 kim 0.54 chen 2.56 dina 1.75 ivan 0.33 gus 0.94 dina 0.22
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024139-p1
For each row, 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}
hana 5 0 kim 4 14 farah 11 24 lina 7 26 ivan 11 6 lina 27 30
kim 0.29 farah 0.46 lina 0.27 ivan 1.83 lina 0.90
chen 12 0 lina 10 4 chen 10 25 kim 15 28 chen 23 9 dina 21 12 ivan 4 12 gus 15 16 dina 2 9
lina 2.50 chen 0.40 kim 0.54 chen 2.56 dina 1.75 ivan 0.33 gus 0.94 dina 0.22
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024139
qwen/qwen3.7-plus
awkweave-0024140
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]}
gus birch 24 jules grove 21 jules indigo 24 farah fable 4 dina delta 11 farah grove 17
gus birch 24 jules indigo 24 jules grove 21
chen ember 3 hana juniper 16 bruno harbor 14 jules delta 12 ivan birch 9 bruno grove 16 bruno ember 10 alice delta 6 eli amber 16 bruno delta 6
hana juniper 16 bruno grove 16 eli amber 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024140-p1
Output the top three records based on the highest numeric values in the third column, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus birch 24 jules grove 21 jules indigo 24 farah fable 4 dina delta 11 farah grove 17
gus birch 24 jules indigo 24 jules grove 21
chen ember 3 hana juniper 16 bruno harbor 14 jules delta 12 ivan birch 9 bruno grove 16 bruno ember 10 alice delta 6 eli amber 16 bruno delta 6
hana juniper 16 bruno grove 16 eli amber 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024140
qwen/qwen3.7-plus
awkweave-0024141
Select the 5th and 2nd fields in that order.
{print $5, $2}
pending 94 paused gus 87 active 54 ready bruno 14 failed 67 closed chen 90 closed 43 ready hana 13 paused 75 ready jules 52 ready 42 active chen 106 pending 80 ready alice 107 ready 12 paused alice 116 pending 93 failed farah 74
87 94 14 54 90 67 13 43 52 75 106 42 107 80 116 12 74 93
pending 71 pending alice 2 closed 15 pending bruno 60 failed 97 closed lina 39 ready 73 ready ivan 93 pending 105 failed kim 12 pending 50 active lina 78 closed 52 active dina 24 active 47 closed hana 43
2 71 60 15 39 97 93 73 12 105 78 50 24 52 43 47
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024141-p1
Extract and print the fifth field followed by the second field, in that specific order.
{print $5, $2}
pending 94 paused gus 87 active 54 ready bruno 14 failed 67 closed chen 90 closed 43 ready hana 13 paused 75 ready jules 52 ready 42 active chen 106 pending 80 ready alice 107 ready 12 paused alice 116 pending 93 failed farah 74
87 94 14 54 90 67 13 43 52 75 106 42 107 80 116 12 74 93
pending 71 pending alice 2 closed 15 pending bruno 60 failed 97 closed lina 39 ready 73 ready ivan 93 pending 105 failed kim 12 pending 50 active lina 78 closed 52 active dina 24 active 47 closed hana 43
2 71 60 15 39 97 93 73 12 105 78 50 24 52 43 47
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024141
qwen/qwen3.7-plus
awkweave-0024142
Print the last field of every input line.
{print $NF}
ember closed paused cobalt delta active failed harbor juniper active paused indigo grove ready paused indigo ember failed active indigo indigo pending active birch ember pending paused ember
cobalt harbor indigo indigo indigo birch ember
juniper closed paused ember delta paused pending grove birch paused pending fable delta paused active fable amber pending active grove cobalt pending closed grove
ember grove fable fable grove grove
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024142-p1
Output the final field from each line of input.
{print $NF}
ember closed paused cobalt delta active failed harbor juniper active paused indigo grove ready paused indigo ember failed active indigo indigo pending active birch ember pending paused ember
cobalt harbor indigo indigo indigo birch ember
juniper closed paused ember delta paused pending grove birch paused pending fable delta paused active fable amber pending active grove cobalt pending closed grove
ember grove fable fable grove grove
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024142
qwen/qwen3.7-plus
awkweave-0024143
Print the complete records where column 3 is at least 78.
$3 >= 78
jules failed 19 closed pending alice failed 44 ready active chen active 96 failed failed chen ready 113 paused failed dina active 65 active ready dina pending 27 pending ready bruno paused 56 active ready ivan active 66 active pending
chen active 96 failed failed chen ready 113 paused failed
bruno failed 76 active ready kim paused 116 pending active bruno ready 10 failed ready alice paused 4 failed paused alice ready 89 failed active farah failed 34 ready active
kim paused 116 pending active alice ready 89 failed active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024143-p1
Display full records where the value in the third column is greater than or equal to 78.
$3 >= 78
jules failed 19 closed pending alice failed 44 ready active chen active 96 failed failed chen ready 113 paused failed dina active 65 active ready dina pending 27 pending ready bruno paused 56 active ready ivan active 66 active pending
chen active 96 failed failed chen ready 113 paused failed
bruno failed 76 active ready kim paused 116 pending active bruno ready 10 failed ready alice paused 4 failed paused alice ready 89 failed active farah failed 34 ready active
kim paused 116 pending active alice ready 89 failed active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024143
qwen/qwen3.7-plus
awkweave-0024144
Show whole lines whose 3rd field is between 3 and 23, inclusive.
$3 >= 3 && $3 <= 23
bruno lina 26 ready chen gus 7 closed jules ivan 27 paused kim alice 29 paused hana chen 15 closed hana eli 6 ready bruno hana 21 failed ivan lina 4 paused kim eli 6 closed farah eli 14 paused
chen gus 7 closed hana chen 15 closed hana eli 6 ready bruno hana 21 failed ivan lina 4 paused kim eli 6 closed farah eli 14 paused
eli dina 17 ready ivan alice 11 closed chen gus 19 paused dina ivan 12 pending dina hana 18 failed alice alice 11 failed dina kim 19 paused
eli dina 17 ready ivan alice 11 closed chen gus 19 paused dina ivan 12 pending dina hana 18 failed alice alice 11 failed dina kim 19 paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024144-p1
Show entire lines where the third field falls within the range of 3 to 23, inclusive.
$3 >= 3 && $3 <= 23
bruno lina 26 ready chen gus 7 closed jules ivan 27 paused kim alice 29 paused hana chen 15 closed hana eli 6 ready bruno hana 21 failed ivan lina 4 paused kim eli 6 closed farah eli 14 paused
chen gus 7 closed hana chen 15 closed hana eli 6 ready bruno hana 21 failed ivan lina 4 paused kim eli 6 closed farah eli 14 paused
eli dina 17 ready ivan alice 11 closed chen gus 19 paused dina ivan 12 pending dina hana 18 failed alice alice 11 failed dina kim 19 paused
eli dina 17 ready ivan alice 11 closed chen gus 19 paused dina ivan 12 pending dina hana 18 failed alice alice 11 failed dina kim 19 paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024144
qwen/qwen3.7-plus
awkweave-0024145
Print column 3 only for rows where column 1 is exactly failed.
$1 == "failed"{print $3}
failed fable bruno 8 paused juniper hana 58 failed fable dina 77 active cobalt lina 98 failed cobalt farah 0 active indigo bruno 32
bruno dina farah
closed birch jules 114 failed amber lina 93 pending cobalt kim 68 closed ember bruno 52 active birch kim 23 closed fable lina 60 ready delta farah 10 failed harbor farah 72
lina farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024145-p1
Extract and print only the third column for rows where the first column matches 'failed' exactly.
$1 == "failed"{print $3}
failed fable bruno 8 paused juniper hana 58 failed fable dina 77 active cobalt lina 98 failed cobalt farah 0 active indigo bruno 32
bruno dina farah
closed birch jules 114 failed amber lina 93 pending cobalt kim 68 closed ember bruno 52 active birch kim 23 closed fable lina 60 ready delta farah 10 failed harbor farah 72
lina farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024145
qwen/qwen3.7-plus
awkweave-0024146
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
WARN amber 56 WARN amber 84 WARN juniper 110 INFO juniper 23 DEBUG juniper 26 DEBUG cobalt 50 INFO indigo 81 DEBUG amber 96 DEBUG ember 77
WARN amber 56 WARN amber 84 WARN juniper 110
ERROR harbor 109 DEBUG delta 72 WARN harbor 98 ERROR birch 108 DEBUG amber 19 WARN juniper 82
WARN harbor 98 WARN juniper 82
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024146-p1
Print all fields for lines where the first field starts with the prefix 'WARN'.
$1 ~ /^WARN/
WARN amber 56 WARN amber 84 WARN juniper 110 INFO juniper 23 DEBUG juniper 26 DEBUG cobalt 50 INFO indigo 81 DEBUG amber 96 DEBUG ember 77
WARN amber 56 WARN amber 84 WARN juniper 110
ERROR harbor 109 DEBUG delta 72 WARN harbor 98 ERROR birch 108 DEBUG amber 19 WARN juniper 82
WARN harbor 98 WARN juniper 82
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024146
qwen/qwen3.7-plus
awkweave-0024147
Print every line except those containing the exact text delta.
$0 !~ /delta/
fable 27 closed birch 117 active harbor 13 active delta 45 failed ember 109 pending cobalt 105 paused grove 78 failed fable 20 closed birch 59 closed delta 999 active
fable 27 closed birch 117 active harbor 13 active ember 109 pending cobalt 105 paused grove 78 failed fable 20 closed birch 59 closed
juniper 108 closed cobalt 4 closed grove 104 active cobalt 11 ready grove 8 active cobalt 23 active indigo 14 failed fable 85 failed fable 61 failed birch 6 failed delta 999 active
juniper 108 closed cobalt 4 closed grove 104 active cobalt 11 ready grove 8 active cobalt 23 active indigo 14 failed fable 85 failed fable 61 failed birch 6 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024147-p1
Output every line that does not contain the exact string 'delta'.
$0 !~ /delta/
fable 27 closed birch 117 active harbor 13 active delta 45 failed ember 109 pending cobalt 105 paused grove 78 failed fable 20 closed birch 59 closed delta 999 active
fable 27 closed birch 117 active harbor 13 active ember 109 pending cobalt 105 paused grove 78 failed fable 20 closed birch 59 closed
juniper 108 closed cobalt 4 closed grove 104 active cobalt 11 ready grove 8 active cobalt 23 active indigo 14 failed fable 85 failed fable 61 failed birch 6 failed delta 999 active
juniper 108 closed cobalt 4 closed grove 104 active cobalt 11 ready grove 8 active cobalt 23 active indigo 14 failed fable 85 failed fable 61 failed birch 6 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024147
qwen/qwen3.7-plus
awkweave-0024148
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
eli fable 119 kim fable 74 jules cobalt 76 chen delta 18 hana amber 94 alice cobalt 89 farah birch 84
kim fable 74 jules cobalt 76 chen delta 18 hana amber 94
bruno harbor 101 jules grove 73 hana amber 19 dina fable 30 jules ember 93 ivan juniper 111 alice ember 65 chen harbor 114 alice indigo 91 farah delta 84
jules grove 73 hana amber 19 dina fable 30 jules ember 93
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024148-p1
Print lines numbered 2 through 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
eli fable 119 kim fable 74 jules cobalt 76 chen delta 18 hana amber 94 alice cobalt 89 farah birch 84
kim fable 74 jules cobalt 76 chen delta 18 hana amber 94
bruno harbor 101 jules grove 73 hana amber 19 dina fable 30 jules ember 93 ivan juniper 111 alice ember 65 chen harbor 114 alice indigo 91 farah delta 84
jules grove 73 hana amber 19 dina fable 30 jules ember 93
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024148
qwen/qwen3.7-plus
awkweave-0024149
Output only the first 4 records.
NR <= 4
gus 98 grove hana 106 juniper kim 48 amber chen 112 birch gus 53 amber ivan 24 birch bruno 36 cobalt
gus 98 grove hana 106 juniper kim 48 amber chen 112 birch
farah 65 birch alice 117 cobalt lina 4 ember ivan 51 ember ivan 75 indigo lina 57 indigo chen 35 cobalt jules 2 indigo
farah 65 birch alice 117 cobalt lina 4 ember ivan 51 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024149-p1
Output only the initial 4 records from the input.
NR <= 4
gus 98 grove hana 106 juniper kim 48 amber chen 112 birch gus 53 amber ivan 24 birch bruno 36 cobalt
gus 98 grove hana 106 juniper kim 48 amber chen 112 birch
farah 65 birch alice 117 cobalt lina 4 ember ivan 51 ember ivan 75 indigo lina 57 indigo chen 35 cobalt jules 2 indigo
farah 65 birch alice 117 cobalt lina 4 ember ivan 51 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024149
qwen/qwen3.7-plus
awkweave-0024150
Skip the first line and print every remaining line unchanged.
NR > 1
kim 70 birch hana 9 cobalt gus 64 delta ivan 72 delta jules 65 grove lina 52 ember kim 83 indigo
hana 9 cobalt gus 64 delta ivan 72 delta jules 65 grove lina 52 ember kim 83 indigo
chen 17 indigo eli 43 juniper gus 54 delta jules 94 cobalt kim 93 delta lina 82 indigo lina 0 harbor hana 90 cobalt gus 62 grove gus 27 delta
eli 43 juniper gus 54 delta jules 94 cobalt kim 93 delta lina 82 indigo lina 0 harbor hana 90 cobalt gus 62 grove gus 27 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024150-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
kim 70 birch hana 9 cobalt gus 64 delta ivan 72 delta jules 65 grove lina 52 ember kim 83 indigo
hana 9 cobalt gus 64 delta ivan 72 delta jules 65 grove lina 52 ember kim 83 indigo
chen 17 indigo eli 43 juniper gus 54 delta jules 94 cobalt kim 93 delta lina 82 indigo lina 0 harbor hana 90 cobalt gus 62 grove gus 27 delta
eli 43 juniper gus 54 delta jules 94 cobalt kim 93 delta lina 82 indigo lina 0 harbor hana 90 cobalt gus 62 grove gus 27 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024150
qwen/qwen3.7-plus
awkweave-0024151
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
hana pending 36 gus failed 0 lina active 33 hana closed 19 eli failed 110 ivan failed 20 hana pending 85 kim failed 86 dina paused 82 bruno active 117
4
hana pending 28 farah failed 100 eli closed 8 gus closed 75 hana pending 86 gus active 73
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024151-p1
Count the number of records where the second column is 'failed', and output 0 if no such records exist.
$2 == "failed"{n++}END{print n+0}
hana pending 36 gus failed 0 lina active 33 hana closed 19 eli failed 110 ivan failed 20 hana pending 85 kim failed 86 dina paused 82 bruno active 117
4
hana pending 28 farah failed 100 eli closed 8 gus closed 75 hana pending 86 gus active 73
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024151
qwen/qwen3.7-plus
awkweave-0024152
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
kim birch 25 gus fable 29 chen fable 3 kim delta 28 chen fable 10 dina birch 18
113
kim fable 16 eli birch 16 kim delta 9 hana cobalt 20 gus amber 27 hana birch 6 bruno delta 6
100
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024152-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
kim birch 25 gus fable 29 chen fable 3 kim delta 28 chen fable 10 dina birch 18
113
kim fable 16 eli birch 16 kim delta 9 hana cobalt 20 gus amber 27 hana birch 6 bruno delta 6
100
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024152
qwen/qwen3.7-plus
awkweave-0024153
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
11 grove gus 13 juniper dina 6 delta ivan 22 birch ivan 26 ember eli 22 cobalt kim 5 delta chen 11 grove kim 28 indigo gus 27 delta kim
17.10
13 delta gus 28 cobalt dina 18 amber ivan 8 harbor jules 4 fable hana 7 grove jules 17 grove lina 18 cobalt alice 22 harbor ivan 16 cobalt gus
15.10
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024153-p1
Calculate the average of the values in the first column and print the result rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
11 grove gus 13 juniper dina 6 delta ivan 22 birch ivan 26 ember eli 22 cobalt kim 5 delta chen 11 grove kim 28 indigo gus 27 delta kim
17.10
13 delta gus 28 cobalt dina 18 amber ivan 8 harbor jules 4 fable hana 7 grove jules 17 grove lina 18 cobalt alice 22 harbor ivan 16 cobalt gus
15.10
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024153
qwen/qwen3.7-plus
awkweave-0024154
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 alice juniper 7 kim cobalt 14 alice harbor 12 alice amber 4 kim amber 1 lina cobalt 12 farah indigo 5 jules cobalt
1
27 alice ember 26 jules fable 11 ivan ember 29 kim indigo 1 hana cobalt 15 chen delta 4 jules harbor 11 alice fable
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024154-p1
Identify and output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 alice juniper 7 kim cobalt 14 alice harbor 12 alice amber 4 kim amber 1 lina cobalt 12 farah indigo 5 jules cobalt
1
27 alice ember 26 jules fable 11 ivan ember 29 kim indigo 1 hana cobalt 15 chen delta 4 jules harbor 11 alice fable
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024154
qwen/qwen3.7-plus
awkweave-0024155
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
amber 21 gus amber 24 gus amber 13 bruno harbor 2 chen ember 18 hana juniper 14 kim
24
harbor 25 kim amber 10 lina ember 1 chen ember 23 chen juniper 22 hana amber 20 jules birch 15 dina fable 18 ivan harbor 13 farah
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024155-p1
Locate and display the maximum numeric value within the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
amber 21 gus amber 24 gus amber 13 bruno harbor 2 chen ember 18 hana juniper 14 kim
24
harbor 25 kim amber 10 lina ember 1 chen ember 23 chen juniper 22 hana amber 20 jules birch 15 dina fable 18 ivan harbor 13 farah
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024155
qwen/qwen3.7-plus
awkweave-0024156
Count all input records and print the total.
END{print NR}
ivan 61 alice 88 chen 22 jules 82 eli 25 dina 2 ivan 31
7
jules 88 dina 6 alice 77 hana 67 alice 81 alice 33 ivan 74 alice 115 gus 107
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024156-p1
Calculate the total number of input records and output the count.
END{print NR}
ivan 61 alice 88 chen 22 jules 82 eli 25 dina 2 ivan 31
7
jules 88 dina 6 alice 77 hana 67 alice 81 alice 33 ivan 74 alice 115 gus 107
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024156
qwen/qwen3.7-plus
awkweave-0024157
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana amber 28 jules fable 42 alice birch 49 chen amber 97 hana amber 28 bruno fable 31 chen ember 27 jules harbor 13 hana amber 59
hana amber 28 jules fable 42 alice birch 49 chen amber 97 bruno fable 31 chen ember 27 jules harbor 13 hana amber 59
jules birch 111 chen birch 42 ivan grove 32 jules ember 117 eli fable 105 chen birch 27 chen delta 34 chen delta 34
jules birch 111 chen birch 42 ivan grove 32 jules ember 117 eli fable 105 chen birch 27 chen delta 34
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024157-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
hana amber 28 jules fable 42 alice birch 49 chen amber 97 hana amber 28 bruno fable 31 chen ember 27 jules harbor 13 hana amber 59
hana amber 28 jules fable 42 alice birch 49 chen amber 97 bruno fable 31 chen ember 27 jules harbor 13 hana amber 59
jules birch 111 chen birch 42 ivan grove 32 jules ember 117 eli fable 105 chen birch 27 chen delta 34 chen delta 34
jules birch 111 chen birch 42 ivan grove 32 jules ember 117 eli fable 105 chen birch 27 chen delta 34
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024157
qwen/qwen3.7-plus
awkweave-0024158
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim grove 56 chen harbor 29 gus cobalt 110 kim fable 107 lina ember 118 gus amber 7
kim grove 56 chen harbor 29 gus cobalt 110 kim fable 107 lina ember 118 gus amber 7
hana fable 84 hana amber 98 ivan harbor 105 lina cobalt 33 ivan ember 82 kim cobalt 112 ivan amber 22 hana harbor 30
hana fable 84 hana amber 98 ivan harbor 105 lina cobalt 33 ivan ember 82 kim cobalt 112 ivan amber 22 hana harbor 30
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024158-p1
Retain only the initial line for every unique value in the third column, preserving the input order.
!seen[$3]++
kim grove 56 chen harbor 29 gus cobalt 110 kim fable 107 lina ember 118 gus amber 7
kim grove 56 chen harbor 29 gus cobalt 110 kim fable 107 lina ember 118 gus amber 7
hana fable 84 hana amber 98 ivan harbor 105 lina cobalt 33 ivan ember 82 kim cobalt 112 ivan amber 22 hana harbor 30
hana fable 84 hana amber 98 ivan harbor 105 lina cobalt 33 ivan ember 82 kim cobalt 112 ivan amber 22 hana harbor 30
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024158
qwen/qwen3.7-plus
awkweave-0024159
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 10 delta chen 19 fable lina 10 amber alice 21 harbor hana 23 amber lina 10 harbor
bruno 10 chen 29 lina 39 alice 60 hana 83 lina 93
farah 10 amber hana 27 cobalt ivan 17 harbor farah 9 juniper farah 4 fable farah 22 juniper eli 23 fable
farah 10 hana 37 ivan 54 farah 63 farah 67 farah 89 eli 112
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024159-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}
bruno 10 delta chen 19 fable lina 10 amber alice 21 harbor hana 23 amber lina 10 harbor
bruno 10 chen 29 lina 39 alice 60 hana 83 lina 93
farah 10 amber hana 27 cobalt ivan 17 harbor farah 9 juniper farah 4 fable farah 22 juniper eli 23 fable
farah 10 hana 37 ivan 54 farah 63 farah 67 farah 89 eli 112
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024159
qwen/qwen3.7-plus
awkweave-0024160
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 11 10 amber jules 19 26 cobalt eli 11 10 ember jules 3 17 juniper chen 6 14 birch chen 8 26 indigo chen 2 13 grove farah 11 16 indigo
chen 21 jules 45 eli 21 jules 20 chen 20 chen 34 chen 15 farah 27
hana 21 30 birch dina 7 9 grove kim 8 19 juniper kim 7 16 grove gus 27 14 juniper hana 27 16 cobalt alice 1 9 ember
hana 51 dina 16 kim 27 kim 23 gus 41 hana 43 alice 10
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024160-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
chen 11 10 amber jules 19 26 cobalt eli 11 10 ember jules 3 17 juniper chen 6 14 birch chen 8 26 indigo chen 2 13 grove farah 11 16 indigo
chen 21 jules 45 eli 21 jules 20 chen 20 chen 34 chen 15 farah 27
hana 21 30 birch dina 7 9 grove kim 8 19 juniper kim 7 16 grove gus 27 14 juniper hana 27 16 cobalt alice 1 9 ember
hana 51 dina 16 kim 27 kim 23 gus 41 hana 43 alice 10
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024160
qwen/qwen3.7-plus
awkweave-0024161
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
bruno 17 jules 3 kim 17 chen 5 lina 21 lina 16
bruno fail jules fail kim fail chen fail lina pass lina fail
farah 12 kim 2 bruno 18 alice 4 alice 5 kim 3 farah 24 ivan 15 jules 19
farah fail kim fail bruno fail alice fail alice fail kim fail farah pass ivan fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null