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-0024771-p1
Output every line that does not contain the exact substring 'juniper'.
$0 !~ /juniper/
juniper 45 ready birch 34 closed ember 41 pending juniper 84 pending delta 24 failed juniper 115 pending grove 75 active juniper 999 active
birch 34 closed ember 41 pending delta 24 failed grove 75 active
birch 107 closed harbor 54 closed amber 70 pending amber 57 ready juniper 26 paused birch 16 pending juniper 999 active
birch 107 closed harbor 54 closed amber 70 pending amber 57 ready birch 16 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024771
qwen/qwen3.7-plus
awkweave-0024772
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
ivan cobalt 18 alice ember 65 alice birch 96 dina birch 41 gus ember 77 kim harbor 85
alice ember 65 alice birch 96 dina birch 41 gus ember 77
eli grove 99 eli delta 76 chen cobalt 88 eli fable 22 gus ember 113 farah amber 71 chen indigo 101 lina amber 112 hana cobalt 110 kim ember 40
eli delta 76 chen cobalt 88 eli fable 22 gus ember 113
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024772-p1
Print lines 2 through 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
ivan cobalt 18 alice ember 65 alice birch 96 dina birch 41 gus ember 77 kim harbor 85
alice ember 65 alice birch 96 dina birch 41 gus ember 77
eli grove 99 eli delta 76 chen cobalt 88 eli fable 22 gus ember 113 farah amber 71 chen indigo 101 lina amber 112 hana cobalt 110 kim ember 40
eli delta 76 chen cobalt 88 eli fable 22 gus ember 113
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024772
qwen/qwen3.7-plus
awkweave-0024773
Output only the first 2 records.
NR <= 2
ivan 80 harbor farah 100 grove gus 53 juniper alice 36 grove lina 24 birch alice 43 fable hana 104 birch
ivan 80 harbor farah 100 grove
farah 0 fable gus 119 fable bruno 90 indigo jules 21 ember kim 2 cobalt ivan 79 birch
farah 0 fable gus 119 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024773-p1
Output only the first 2 records from the input.
NR <= 2
ivan 80 harbor farah 100 grove gus 53 juniper alice 36 grove lina 24 birch alice 43 fable hana 104 birch
ivan 80 harbor farah 100 grove
farah 0 fable gus 119 fable bruno 90 indigo jules 21 ember kim 2 cobalt ivan 79 birch
farah 0 fable gus 119 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024773
qwen/qwen3.7-plus
awkweave-0024774
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 24 juniper eli 48 amber eli 36 juniper alice 75 juniper alice 113 juniper eli 53 harbor hana 2 fable dina 116 cobalt bruno 89 indigo jules 44 cobalt
eli 48 amber eli 36 juniper alice 75 juniper alice 113 juniper eli 53 harbor hana 2 fable dina 116 cobalt bruno 89 indigo jules 44 cobalt
chen 48 fable dina 28 ember farah 73 grove lina 24 delta bruno 47 ember chen 62 birch eli 93 grove farah 69 cobalt eli 89 ember farah 7 birch
dina 28 ember farah 73 grove lina 24 delta bruno 47 ember chen 62 birch eli 93 grove farah 69 cobalt eli 89 ember farah 7 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024774-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
bruno 24 juniper eli 48 amber eli 36 juniper alice 75 juniper alice 113 juniper eli 53 harbor hana 2 fable dina 116 cobalt bruno 89 indigo jules 44 cobalt
eli 48 amber eli 36 juniper alice 75 juniper alice 113 juniper eli 53 harbor hana 2 fable dina 116 cobalt bruno 89 indigo jules 44 cobalt
chen 48 fable dina 28 ember farah 73 grove lina 24 delta bruno 47 ember chen 62 birch eli 93 grove farah 69 cobalt eli 89 ember farah 7 birch
dina 28 ember farah 73 grove lina 24 delta bruno 47 ember chen 62 birch eli 93 grove farah 69 cobalt eli 89 ember farah 7 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024774
qwen/qwen3.7-plus
awkweave-0024775
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
ivan paused 1 farah pending 96 ivan failed 61 chen pending 14 hana closed 114 hana closed 18
2
jules failed 91 hana pending 23 farah pending 99 eli paused 18 hana closed 100 eli closed 84
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024775-p1
Count the number of records where the second column is 'pending', and output 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
ivan paused 1 farah pending 96 ivan failed 61 chen pending 14 hana closed 114 hana closed 18
2
jules failed 91 hana pending 23 farah pending 99 eli paused 18 hana closed 100 eli closed 84
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024775
qwen/qwen3.7-plus
awkweave-0024776
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
alice delta 10 chen birch 17 kim fable 20 lina delta 30 ivan ember 6 bruno harbor 23
106
dina ember 7 alice harbor 27 alice fable 12 bruno juniper 7 farah amber 21 ivan indigo 5 dina harbor 7 hana amber 7 jules fable 7 bruno indigo 17
117
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024776-p1
Compute and display the sum of all integer values found in the third column.
{s+=$3}END{print s+0}
alice delta 10 chen birch 17 kim fable 20 lina delta 30 ivan ember 6 bruno harbor 23
106
dina ember 7 alice harbor 27 alice fable 12 bruno juniper 7 farah amber 21 ivan indigo 5 dina harbor 7 hana amber 7 jules fable 7 bruno indigo 17
117
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024776
qwen/qwen3.7-plus
awkweave-0024777
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable dina 23 delta lina 22 harbor chen 25 amber kim 25 birch gus 1 grove farah 21 juniper jules 5 birch eli 21
17.88
delta dina 7 indigo gus 5 fable kim 25 juniper chen 23 amber jules 18 indigo chen 5 harbor gus 15 harbor kim 4 delta alice 8 cobalt alice 15
12.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024777-p1
Calculate the average of the values in the third column and print it rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable dina 23 delta lina 22 harbor chen 25 amber kim 25 birch gus 1 grove farah 21 juniper jules 5 birch eli 21
17.88
delta dina 7 indigo gus 5 fable kim 25 juniper chen 23 amber jules 18 indigo chen 5 harbor gus 15 harbor kim 4 delta alice 8 cobalt alice 15
12.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024777
qwen/qwen3.7-plus
awkweave-0024778
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 farah ember 30 ivan amber 12 gus amber 24 hana birch 26 ivan amber 20 jules cobalt 5 bruno cobalt
5
3 eli indigo 22 jules fable 19 hana ember 16 chen harbor 14 hana birch 22 bruno cobalt 29 hana birch 30 hana delta
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024778-p1
Output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 farah ember 30 ivan amber 12 gus amber 24 hana birch 26 ivan amber 20 jules cobalt 5 bruno cobalt
5
3 eli indigo 22 jules fable 19 hana ember 16 chen harbor 14 hana birch 22 bruno cobalt 29 hana birch 30 hana delta
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024778
qwen/qwen3.7-plus
awkweave-0024779
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember jules 28 fable kim 1 fable alice 17 harbor bruno 9 birch hana 15 indigo farah 13 juniper lina 6
28
cobalt hana 1 juniper jules 5 ember lina 21 ember chen 13 grove gus 18 grove jules 22 grove gus 2 juniper hana 5
22
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024779-p1
Identify and display the maximum numeric value located in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember jules 28 fable kim 1 fable alice 17 harbor bruno 9 birch hana 15 indigo farah 13 juniper lina 6
28
cobalt hana 1 juniper jules 5 ember lina 21 ember chen 13 grove gus 18 grove jules 22 grove gus 2 juniper hana 5
22
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024779
qwen/qwen3.7-plus
awkweave-0024780
Count all input records and print the total.
END{print NR}
chen 97 ivan 114 kim 108 gus 3 jules 108 alice 46 farah 67
7
lina 65 gus 119 dina 87 gus 27 dina 118 kim 54 alice 58 hana 102 ivan 100
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024780-p1
Calculate and print the total number of input records.
END{print NR}
chen 97 ivan 114 kim 108 gus 3 jules 108 alice 46 farah 67
7
lina 65 gus 119 dina 87 gus 27 dina 118 kim 54 alice 58 hana 102 ivan 100
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024780
qwen/qwen3.7-plus
awkweave-0024781
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice juniper 5 alice juniper 5 hana fable 66 jules grove 16 dina indigo 49 alice grove 46 hana juniper 25 eli grove 54 chen indigo 22 lina harbor 15 kim harbor 104
alice juniper 5 hana fable 66 jules grove 16 dina indigo 49 alice grove 46 hana juniper 25 eli grove 54 chen indigo 22 lina harbor 15 kim harbor 104
lina delta 37 dina cobalt 73 kim grove 33 chen cobalt 70 gus juniper 54 jules grove 60 chen grove 104 gus juniper 54
lina delta 37 dina cobalt 73 kim grove 33 chen cobalt 70 gus juniper 54 jules grove 60 chen grove 104
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024781-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice juniper 5 alice juniper 5 hana fable 66 jules grove 16 dina indigo 49 alice grove 46 hana juniper 25 eli grove 54 chen indigo 22 lina harbor 15 kim harbor 104
alice juniper 5 hana fable 66 jules grove 16 dina indigo 49 alice grove 46 hana juniper 25 eli grove 54 chen indigo 22 lina harbor 15 kim harbor 104
lina delta 37 dina cobalt 73 kim grove 33 chen cobalt 70 gus juniper 54 jules grove 60 chen grove 104 gus juniper 54
lina delta 37 dina cobalt 73 kim grove 33 chen cobalt 70 gus juniper 54 jules grove 60 chen grove 104
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024781
qwen/qwen3.7-plus
awkweave-0024782
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
eli delta 85 gus birch 4 kim cobalt 98 bruno delta 31 ivan birch 103 lina juniper 22 hana grove 118 eli amber 38 lina amber 102 farah delta 119
eli delta 85 gus birch 4 kim cobalt 98 lina juniper 22 hana grove 118 eli amber 38
bruno delta 108 ivan delta 90 kim juniper 89 chen harbor 40 gus birch 99 ivan grove 73 hana indigo 0 chen grove 38 ivan amber 91
bruno delta 108 kim juniper 89 chen harbor 40 gus birch 99 ivan grove 73 hana indigo 0 ivan amber 91
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024782-p1
Retain only the initial line for every unique value in column 2, keeping the original input order.
!seen[$2]++
eli delta 85 gus birch 4 kim cobalt 98 bruno delta 31 ivan birch 103 lina juniper 22 hana grove 118 eli amber 38 lina amber 102 farah delta 119
eli delta 85 gus birch 4 kim cobalt 98 lina juniper 22 hana grove 118 eli amber 38
bruno delta 108 ivan delta 90 kim juniper 89 chen harbor 40 gus birch 99 ivan grove 73 hana indigo 0 chen grove 38 ivan amber 91
bruno delta 108 kim juniper 89 chen harbor 40 gus birch 99 ivan grove 73 hana indigo 0 ivan amber 91
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024782
qwen/qwen3.7-plus
awkweave-0024783
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 23 cobalt hana 9 juniper hana 10 delta kim 15 fable chen 22 cobalt alice 1 indigo ivan 12 birch hana 15 delta ivan 21 harbor bruno 6 amber
ivan 23 hana 32 hana 42 kim 57 chen 79 alice 80 ivan 92 hana 107 ivan 128 bruno 134
eli 30 harbor alice 24 harbor bruno 30 ember farah 17 amber jules 14 ember lina 1 cobalt
eli 30 alice 54 bruno 84 farah 101 jules 115 lina 116
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024783-p1
For each entry, output column 1 alongside the cumulative sum of column 2, using a space as the delimiter.
{s+=$2;print $1,s}
ivan 23 cobalt hana 9 juniper hana 10 delta kim 15 fable chen 22 cobalt alice 1 indigo ivan 12 birch hana 15 delta ivan 21 harbor bruno 6 amber
ivan 23 hana 32 hana 42 kim 57 chen 79 alice 80 ivan 92 hana 107 ivan 128 bruno 134
eli 30 harbor alice 24 harbor bruno 30 ember farah 17 amber jules 14 ember lina 1 cobalt
eli 30 alice 54 bruno 84 farah 101 jules 115 lina 116
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024783
qwen/qwen3.7-plus
awkweave-0024784
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 7 6 harbor hana 4 5 harbor ivan 8 13 grove hana 20 15 juniper lina 10 13 indigo farah 7 25 birch eli 23 25 amber
lina 13 hana 9 ivan 21 hana 35 lina 23 farah 32 eli 48
bruno 10 1 harbor kim 30 9 delta dina 28 20 juniper jules 21 27 juniper dina 8 15 harbor chen 4 5 ember
bruno 11 kim 39 dina 48 jules 48 dina 23 chen 9
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024784-p1
Display field 1 followed by the sum of fields 2 and 3 for every row.
{print $1,$2+$3}
lina 7 6 harbor hana 4 5 harbor ivan 8 13 grove hana 20 15 juniper lina 10 13 indigo farah 7 25 birch eli 23 25 amber
lina 13 hana 9 ivan 21 hana 35 lina 23 farah 32 eli 48
bruno 10 1 harbor kim 30 9 delta dina 28 20 juniper jules 21 27 juniper dina 8 15 harbor chen 4 5 ember
bruno 11 kim 39 dina 48 jules 48 dina 23 chen 9
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024784
qwen/qwen3.7-plus
awkweave-0024785
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
kim 14 bruno 24 chen 5 chen 17 dina 9 alice 13
kim fail bruno pass chen fail chen fail dina fail alice fail
chen 29 farah 26 gus 17 bruno 24 gus 3 bruno 23 jules 5 alice 18 dina 6 jules 15
chen pass farah pass gus fail bruno pass gus fail bruno pass jules fail alice fail dina fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024785-p1
Print column 1 with 'pass' if column 2 is greater than or equal to 21, otherwise print 'fail'.
{print $1,($2>=21?"pass":"fail")}
kim 14 bruno 24 chen 5 chen 17 dina 9 alice 13
kim fail bruno pass chen fail chen fail dina fail alice fail
chen 29 farah 26 gus 17 bruno 24 gus 3 bruno 23 jules 5 alice 18 dina 6 jules 15
chen pass farah pass gus fail bruno pass gus fail bruno pass jules fail alice fail dina fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024785
qwen/qwen3.7-plus
awkweave-0024786
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules birch 21 ivan harbor 75 kim birch 118 hana amber 60 dina amber 29 chen delta 119 dina indigo 47 alice grove 108 gus ember 101 kim grove 34
JULES IVAN KIM HANA DINA CHEN DINA ALICE GUS KIM
hana fable 73 ivan delta 91 jules juniper 39 dina harbor 54 gus fable 63 chen juniper 37 hana fable 9 chen fable 104 gus fable 5
HANA IVAN JULES DINA GUS CHEN HANA CHEN GUS
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024786-p1
Transform column 1 to uppercase and output only that column.
{print toupper($1)}
jules birch 21 ivan harbor 75 kim birch 118 hana amber 60 dina amber 29 chen delta 119 dina indigo 47 alice grove 108 gus ember 101 kim grove 34
JULES IVAN KIM HANA DINA CHEN DINA ALICE GUS KIM
hana fable 73 ivan delta 91 jules juniper 39 dina harbor 54 gus fable 63 chen juniper 37 hana fable 9 chen fable 104 gus fable 5
HANA IVAN JULES DINA GUS CHEN HANA CHEN GUS
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024786
qwen/qwen3.7-plus
awkweave-0024787
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
juniper 30 cobalt 83 amber 96 fable 59 grove 47 harbor 100
jun cob amb fab gro har
cobalt 52 birch 62 indigo 72 cobalt 107 birch 95 birch 18 delta 31
cob bir ind cob bir bir del
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024787-p1
Extract and print the first 3 characters from column 1.
{print substr($1,1,3)}
juniper 30 cobalt 83 amber 96 fable 59 grove 47 harbor 100
jun cob amb fab gro har
cobalt 52 birch 62 indigo 72 cobalt 107 birch 95 birch 18 delta 31
cob bir ind cob bir bir del
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024787
qwen/qwen3.7-plus
awkweave-0024788
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_birch 16 harbor_harbor 32 birch_amber 12 amber_juniper 120 harbor_juniper 60 cobalt_amber 49 birch_cobalt 35 ember_indigo 109 birch_ember 13
birch birch harbor harbor birch amber amber juniper harbor juniper cobalt amber birch cobalt ember indigo birch ember
juniper_fable 62 delta_cobalt 74 ember_fable 100 delta_juniper 90 birch_delta 68 cobalt_juniper 112 juniper_grove 116 amber_amber 97
juniper fable delta cobalt ember fable delta juniper birch delta cobalt juniper juniper grove amber amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024788-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
birch_birch 16 harbor_harbor 32 birch_amber 12 amber_juniper 120 harbor_juniper 60 cobalt_amber 49 birch_cobalt 35 ember_indigo 109 birch_ember 13
birch birch harbor harbor birch amber amber juniper harbor juniper cobalt amber birch cobalt ember indigo birch ember
juniper_fable 62 delta_cobalt 74 ember_fable 100 delta_juniper 90 birch_delta 68 cobalt_juniper 112 juniper_grove 116 amber_amber 97
juniper fable delta cobalt ember fable delta juniper birch delta cobalt juniper juniper grove amber amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024788
qwen/qwen3.7-plus
awkweave-0024789
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)}
gus grove 61 closed chen delta 49 active farah grove 28 failed bruno indigo 110 closed dina indigo 97 closed gus harbor 64 failed gus grove 80 closed gus amber 48 active dina grove 2 failed
closed 61 grove gus active 49 delta chen failed 28 grove farah closed 110 indigo bruno closed 97 indigo dina failed 64 harbor gus closed 80 grove gus active 48 amber gus failed 2 grove dina
kim birch 115 ready alice cobalt 94 pending dina indigo 61 active farah grove 17 ready farah juniper 16 active jules ember 96 pending hana harbor 84 failed
ready 115 birch kim pending 94 cobalt alice active 61 indigo dina ready 17 grove farah active 16 juniper farah pending 96 ember jules failed 84 harbor hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024789-p1
Invert the field order for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus grove 61 closed chen delta 49 active farah grove 28 failed bruno indigo 110 closed dina indigo 97 closed gus harbor 64 failed gus grove 80 closed gus amber 48 active dina grove 2 failed
closed 61 grove gus active 49 delta chen failed 28 grove farah closed 110 indigo bruno closed 97 indigo dina failed 64 harbor gus closed 80 grove gus active 48 amber gus failed 2 grove dina
kim birch 115 ready alice cobalt 94 pending dina indigo 61 active farah grove 17 ready farah juniper 16 active jules ember 96 pending hana harbor 84 failed
ready 115 birch kim pending 94 cobalt alice active 61 indigo dina ready 17 grove farah active 16 juniper farah pending 96 ember jules failed 84 harbor hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024789
qwen/qwen3.7-plus
awkweave-0024800
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
gus 101 bruno 27 lina 120 dina 65 ivan 15 farah 9 farah 24
gus 101 dina 65 farah 24
dina 84 jules 97 farah 78 chen 95 farah 11 kim 0
dina 84 chen 95
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024800-p1
Output lines 1, 4, 7, and so on, effectively printing every third line starting from the first.
NR%3==1
gus 101 bruno 27 lina 120 dina 65 ivan 15 farah 9 farah 24
gus 101 dina 65 farah 24
dina 84 jules 97 farah 78 chen 95 farah 11 kim 0
dina 84 chen 95
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024800
qwen/qwen3.7-plus
awkweave-0024801
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha grove 45 alpha amber 4 delta harbor 29 gamma fable 23 delta delta 13 alpha harbor 7
5
gamma indigo 98 alpha delta 19 gamma juniper 102 beta juniper 31 gamma delta 42 alpha harbor 71
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024801-p1
Calculate and display only the total number of unique entries found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
alpha grove 45 alpha amber 4 delta harbor 29 gamma fable 23 delta delta 13 alpha harbor 7
5
gamma indigo 98 alpha delta 19 gamma juniper 102 beta juniper 31 gamma delta 42 alpha harbor 71
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024801
qwen/qwen3.7-plus
awkweave-0024802
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}
eli 11 0 chen 30 9 lina 6 14 gus 30 24 alice 23 26 eli 8 1 hana 25 30 kim 29 4 kim 7 28 eli 24 21
chen 3.33 lina 0.43 gus 1.25 alice 0.88 eli 8.00 hana 0.83 kim 7.25 kim 0.25 eli 1.14
hana 8 0 ivan 21 9 dina 12 24 hana 27 9 farah 13 28 hana 13 17 lina 13 23 alice 30 1 ivan 27 22 alice 4 17
ivan 2.33 dina 0.50 hana 3.00 farah 0.46 hana 0.76 lina 0.57 alice 30.00 ivan 1.23 alice 0.24
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024802-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 11 0 chen 30 9 lina 6 14 gus 30 24 alice 23 26 eli 8 1 hana 25 30 kim 29 4 kim 7 28 eli 24 21
chen 3.33 lina 0.43 gus 1.25 alice 0.88 eli 8.00 hana 0.83 kim 7.25 kim 0.25 eli 1.14
hana 8 0 ivan 21 9 dina 12 24 hana 27 9 farah 13 28 hana 13 17 lina 13 23 alice 30 1 ivan 27 22 alice 4 17
ivan 2.33 dina 0.50 hana 3.00 farah 0.46 hana 0.76 lina 0.57 alice 30.00 ivan 1.23 alice 0.24
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024802
qwen/qwen3.7-plus
awkweave-0024803
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]}
hana juniper 16 lina birch 8 kim indigo 26 ivan cobalt 22 ivan cobalt 24 hana indigo 28
hana indigo 28 kim indigo 26 ivan cobalt 24
farah juniper 17 dina birch 27 eli fable 30 lina grove 28 hana grove 24 lina indigo 10 farah birch 10 chen ember 9
eli fable 30 lina grove 28 dina birch 27
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024803-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; if values tie, maintain their original input sequence.
{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]}
hana juniper 16 lina birch 8 kim indigo 26 ivan cobalt 22 ivan cobalt 24 hana indigo 28
hana indigo 28 kim indigo 26 ivan cobalt 24
farah juniper 17 dina birch 27 eli fable 30 lina grove 28 hana grove 24 lina indigo 10 farah birch 10 chen ember 9
eli fable 30 lina grove 28 dina birch 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024803
qwen/qwen3.7-plus
awkweave-0024804
For each line, output fields 5 and 3, in that order.
{print $5, $3}
eli birch ready farah birch lina ivan grove active hana grove jules dina cobalt failed kim delta lina hana juniper paused lina ember eli hana juniper failed bruno grove kim gus delta ready farah fable farah dina fable failed dina birch hana bruno ember paused alice ember chen chen amber paused gus harbor bruno
birch ready grove active delta failed ember paused grove failed fable ready birch failed ember paused harbor paused
dina cobalt paused lina fable chen kim grove closed gus grove lina lina ember pending farah juniper jules lina ember active eli indigo dina gus delta paused bruno grove farah lina juniper closed chen birch dina kim cobalt failed hana ember dina kim juniper ready hana indigo gus farah delta active eli birch gus
fable paused grove closed juniper pending indigo active grove paused birch closed ember failed indigo ready birch active
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024804-p1
Extract and print the fifth field followed by the third field for every line.
{print $5, $3}
eli birch ready farah birch lina ivan grove active hana grove jules dina cobalt failed kim delta lina hana juniper paused lina ember eli hana juniper failed bruno grove kim gus delta ready farah fable farah dina fable failed dina birch hana bruno ember paused alice ember chen chen amber paused gus harbor bruno
birch ready grove active delta failed ember paused grove failed fable ready birch failed ember paused harbor paused
dina cobalt paused lina fable chen kim grove closed gus grove lina lina ember pending farah juniper jules lina ember active eli indigo dina gus delta paused bruno grove farah lina juniper closed chen birch dina kim cobalt failed hana ember dina kim juniper ready hana indigo gus farah delta active eli birch gus
fable paused grove closed juniper pending indigo active grove paused birch closed ember failed indigo ready birch active
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024804
qwen/qwen3.7-plus
awkweave-0024805
Print the last field of every input line.
{print $NF}
48 gus juniper delta 52 21 18 hana delta harbor 73 103 109 kim delta indigo 102 52 35 ivan cobalt indigo 4 35 18 lina fable delta 96 10 47 alice harbor juniper 20 29 38 chen ember indigo 19 0 77 jules harbor amber 39 79
21 103 52 35 10 29 0 79
96 hana amber birch 103 113 73 gus harbor amber 2 84 43 jules cobalt cobalt 20 44 10 eli cobalt amber 37 109 14 alice grove fable 7 68 40 dina juniper indigo 19 40 23 jules juniper juniper 16 68
113 84 44 109 68 40 68
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024805-p1
Output the final field from each line of input.
{print $NF}
48 gus juniper delta 52 21 18 hana delta harbor 73 103 109 kim delta indigo 102 52 35 ivan cobalt indigo 4 35 18 lina fable delta 96 10 47 alice harbor juniper 20 29 38 chen ember indigo 19 0 77 jules harbor amber 39 79
21 103 52 35 10 29 0 79
96 hana amber birch 103 113 73 gus harbor amber 2 84 43 jules cobalt cobalt 20 44 10 eli cobalt amber 37 109 14 alice grove fable 7 68 40 dina juniper indigo 19 40 23 jules juniper juniper 16 68
113 84 44 109 68 40 68
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024805
qwen/qwen3.7-plus
awkweave-0024806
Print the complete records where column 3 is at most 33.
$3 <= 33
closed ready 10 amber birch failed closed 93 fable juniper active pending 102 grove fable paused ready 47 amber harbor ready failed 31 delta delta paused ready 111 fable juniper
closed ready 10 amber birch ready failed 31 delta delta
active paused 5 cobalt grove failed closed 48 harbor ember pending closed 88 fable ember pending pending 66 harbor indigo active ready 35 fable ember active pending 96 fable indigo paused pending 114 amber indigo closed closed 67 juniper ember paused pending 0 juniper delta paused paused 82 grove cobalt
active paused 5 cobalt grove paused pending 0 juniper delta
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024806-p1
Print the entire rows where the value in the third column is less than or equal to 33.
$3 <= 33
closed ready 10 amber birch failed closed 93 fable juniper active pending 102 grove fable paused ready 47 amber harbor ready failed 31 delta delta paused ready 111 fable juniper
closed ready 10 amber birch ready failed 31 delta delta
active paused 5 cobalt grove failed closed 48 harbor ember pending closed 88 fable ember pending pending 66 harbor indigo active ready 35 fable ember active pending 96 fable indigo paused pending 114 amber indigo closed closed 67 juniper ember paused pending 0 juniper delta paused paused 82 grove cobalt
active paused 5 cobalt grove paused pending 0 juniper delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024806
qwen/qwen3.7-plus
awkweave-0024807
Show whole lines whose 1st field is between 5 and 24, inclusive.
$1 >= 5 && $1 <= 24
1 dina birch amber 19 farah amber fable 24 dina juniper delta 18 farah grove cobalt 15 bruno grove fable 25 dina birch harbor 16 dina harbor ember 29 hana indigo ember 5 kim indigo harbor 26 dina fable cobalt
19 farah amber fable 24 dina juniper delta 18 farah grove cobalt 15 bruno grove fable 16 dina harbor ember 5 kim indigo harbor
17 lina fable birch 2 bruno birch juniper 22 chen fable grove 1 chen cobalt amber 4 jules harbor harbor 26 farah cobalt cobalt 17 gus indigo birch 24 jules delta indigo 29 kim juniper ember 14 lina indigo fable
17 lina fable birch 22 chen fable grove 17 gus indigo birch 24 jules delta indigo 14 lina indigo fable
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024807-p1
Display complete lines where the first field falls within the inclusive range of 5 to 24.
$1 >= 5 && $1 <= 24
1 dina birch amber 19 farah amber fable 24 dina juniper delta 18 farah grove cobalt 15 bruno grove fable 25 dina birch harbor 16 dina harbor ember 29 hana indigo ember 5 kim indigo harbor 26 dina fable cobalt
19 farah amber fable 24 dina juniper delta 18 farah grove cobalt 15 bruno grove fable 16 dina harbor ember 5 kim indigo harbor
17 lina fable birch 2 bruno birch juniper 22 chen fable grove 1 chen cobalt amber 4 jules harbor harbor 26 farah cobalt cobalt 17 gus indigo birch 24 jules delta indigo 29 kim juniper ember 14 lina indigo fable
17 lina fable birch 22 chen fable grove 17 gus indigo birch 24 jules delta indigo 14 lina indigo fable
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024807
qwen/qwen3.7-plus
awkweave-0024808
Print column 1 only for rows where column 3 is exactly closed.
$3 == "closed"{print $1}
gus fable closed 120 jules amber active 52 ivan birch paused 71 eli ember paused 22 lina ember pending 16 kim cobalt paused 50 gus fable pending 40 hana juniper failed 35
gus
bruno harbor failed 54 bruno amber active 78 lina delta closed 22 farah cobalt pending 110 jules fable ready 72 farah fable closed 7 hana amber ready 4 eli harbor ready 76 hana juniper closed 57
lina farah hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024808-p1
Output only the first column for rows where the third column contains exactly the word closed.
$3 == "closed"{print $1}
gus fable closed 120 jules amber active 52 ivan birch paused 71 eli ember paused 22 lina ember pending 16 kim cobalt paused 50 gus fable pending 40 hana juniper failed 35
gus
bruno harbor failed 54 bruno amber active 78 lina delta closed 22 farah cobalt pending 110 jules fable ready 72 farah fable closed 7 hana amber ready 4 eli harbor ready 76 hana juniper closed 57
lina farah hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024808
qwen/qwen3.7-plus
awkweave-0024809
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
14 birch WARN 80 fable WARN 7 delta ERROR 55 grove WARN 92 ember DEBUG 114 grove ERROR 77 ember INFO 72 amber INFO
77 ember INFO 72 amber INFO
2 birch ERROR 80 cobalt INFO 104 grove WARN 16 fable ERROR 49 fable INFO 27 grove ERROR 113 ember INFO
80 cobalt INFO 49 fable INFO 113 ember INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024809-p1
Print all fields from any line where the third field starts with the string INFO.
$3 ~ /^INFO/
14 birch WARN 80 fable WARN 7 delta ERROR 55 grove WARN 92 ember DEBUG 114 grove ERROR 77 ember INFO 72 amber INFO
77 ember INFO 72 amber INFO
2 birch ERROR 80 cobalt INFO 104 grove WARN 16 fable ERROR 49 fable INFO 27 grove ERROR 113 ember INFO
80 cobalt INFO 49 fable INFO 113 ember INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024809
qwen/qwen3.7-plus
awkweave-0024810
Print every line except those containing the exact text birch.
$0 !~ /birch/
indigo 43 pending ember 12 paused harbor 81 active ember 67 ready grove 39 failed grove 22 failed birch 999 active
indigo 43 pending ember 12 paused harbor 81 active ember 67 ready grove 39 failed grove 22 failed
harbor 71 paused cobalt 60 pending harbor 7 failed harbor 47 pending juniper 60 paused cobalt 108 closed birch 78 pending ember 19 paused birch 34 paused birch 999 active
harbor 71 paused cobalt 60 pending harbor 7 failed harbor 47 pending juniper 60 paused cobalt 108 closed ember 19 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024810-p1
Output every line that does not contain the exact substring birch.
$0 !~ /birch/
indigo 43 pending ember 12 paused harbor 81 active ember 67 ready grove 39 failed grove 22 failed birch 999 active
indigo 43 pending ember 12 paused harbor 81 active ember 67 ready grove 39 failed grove 22 failed
harbor 71 paused cobalt 60 pending harbor 7 failed harbor 47 pending juniper 60 paused cobalt 108 closed birch 78 pending ember 19 paused birch 34 paused birch 999 active
harbor 71 paused cobalt 60 pending harbor 7 failed harbor 47 pending juniper 60 paused cobalt 108 closed ember 19 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024810
qwen/qwen3.7-plus
awkweave-0024811
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
jules grove 10 alice grove 62 alice ember 73 kim delta 37 dina cobalt 71 gus harbor 36
alice grove 62 alice ember 73
kim birch 55 gus delta 1 hana delta 36 ivan amber 7 farah indigo 98 chen birch 25 kim juniper 33
gus delta 1 hana delta 36
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024811-p1
Print lines 2 and 3, inclusive.
NR >= 2 && NR <= 3
jules grove 10 alice grove 62 alice ember 73 kim delta 37 dina cobalt 71 gus harbor 36
alice grove 62 alice ember 73
kim birch 55 gus delta 1 hana delta 36 ivan amber 7 farah indigo 98 chen birch 25 kim juniper 33
gus delta 1 hana delta 36
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024811
qwen/qwen3.7-plus
awkweave-0024812
Output only the first 3 records.
NR <= 3
eli 68 cobalt gus 11 cobalt lina 29 cobalt jules 5 grove bruno 110 fable jules 74 fable
eli 68 cobalt gus 11 cobalt lina 29 cobalt
ivan 100 ember kim 54 birch farah 9 cobalt jules 100 grove farah 25 indigo chen 114 indigo bruno 69 fable ivan 45 harbor
ivan 100 ember kim 54 birch farah 9 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024812-p1
Display only the initial three entries.
NR <= 3
eli 68 cobalt gus 11 cobalt lina 29 cobalt jules 5 grove bruno 110 fable jules 74 fable
eli 68 cobalt gus 11 cobalt lina 29 cobalt
ivan 100 ember kim 54 birch farah 9 cobalt jules 100 grove farah 25 indigo chen 114 indigo bruno 69 fable ivan 45 harbor
ivan 100 ember kim 54 birch farah 9 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024812
qwen/qwen3.7-plus
awkweave-0024813
Skip the first line and print every remaining line unchanged.
NR > 1
farah 109 delta chen 71 birch dina 43 juniper alice 79 birch jules 51 juniper hana 103 indigo
chen 71 birch dina 43 juniper alice 79 birch jules 51 juniper hana 103 indigo
ivan 56 amber dina 93 amber kim 47 delta eli 27 ember alice 34 birch lina 27 ember
dina 93 amber kim 47 delta eli 27 ember alice 34 birch lina 27 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024813-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
farah 109 delta chen 71 birch dina 43 juniper alice 79 birch jules 51 juniper hana 103 indigo
chen 71 birch dina 43 juniper alice 79 birch jules 51 juniper hana 103 indigo
ivan 56 amber dina 93 amber kim 47 delta eli 27 ember alice 34 birch lina 27 ember
dina 93 amber kim 47 delta eli 27 ember alice 34 birch lina 27 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024813
qwen/qwen3.7-plus
awkweave-0024814
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
kim ready 20 kim paused 69 dina pending 30 alice failed 89 chen active 74 dina paused 35 jules ready 91 gus active 87
0
kim paused 40 ivan active 28 farah active 47 alice active 8 dina failed 112 lina failed 118 dina pending 82 chen failed 43 eli failed 106 ivan active 68
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024814-p1
Determine the number of records where column 2 contains 'closed', outputting 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
kim ready 20 kim paused 69 dina pending 30 alice failed 89 chen active 74 dina paused 35 jules ready 91 gus active 87
0
kim paused 40 ivan active 28 farah active 47 alice active 8 dina failed 112 lina failed 118 dina pending 82 chen failed 43 eli failed 106 ivan active 68
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024814
qwen/qwen3.7-plus
awkweave-0024815
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
15 chen cobalt 23 kim harbor 18 lina indigo 17 ivan birch 30 alice juniper 21 dina ember 20 ivan ember 7 farah harbor
151
6 alice grove 30 eli grove 4 alice grove 26 bruno ember 22 kim fable 2 hana indigo 11 jules delta 10 bruno grove 22 eli fable 28 ivan indigo
161
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024815-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
15 chen cobalt 23 kim harbor 18 lina indigo 17 ivan birch 30 alice juniper 21 dina ember 20 ivan ember 7 farah harbor
151
6 alice grove 30 eli grove 4 alice grove 26 bruno ember 22 kim fable 2 hana indigo 11 jules delta 10 bruno grove 22 eli fable 28 ivan indigo
161
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024815
qwen/qwen3.7-plus
awkweave-0024816
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
17 farah amber 15 gus delta 17 bruno birch 19 kim indigo 11 ivan delta 24 ivan amber 27 farah cobalt 1 ivan ember 28 ivan indigo
17.67
17 bruno juniper 6 farah ember 14 dina birch 5 alice cobalt 13 dina indigo 1 lina amber
9.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024816-p1
Output the average of column 1, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
17 farah amber 15 gus delta 17 bruno birch 19 kim indigo 11 ivan delta 24 ivan amber 27 farah cobalt 1 ivan ember 28 ivan indigo
17.67
17 bruno juniper 6 farah ember 14 dina birch 5 alice cobalt 13 dina indigo 1 lina amber
9.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024816
qwen/qwen3.7-plus
awkweave-0024817
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable gus 7 ember jules 25 birch jules 19 amber lina 25 delta eli 6 ember alice 12 juniper eli 29
6
harbor gus 2 juniper kim 28 harbor kim 9 ember jules 17 amber lina 17 delta hana 17 ember hana 8 ember eli 27
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024817-p1
Identify and display the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable gus 7 ember jules 25 birch jules 19 amber lina 25 delta eli 6 ember alice 12 juniper eli 29
6
harbor gus 2 juniper kim 28 harbor kim 9 ember jules 17 amber lina 17 delta hana 17 ember hana 8 ember eli 27
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024817
qwen/qwen3.7-plus
awkweave-0024818
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 dina harbor 26 eli fable 27 jules delta 20 kim grove 17 farah harbor 1 ivan indigo 17 jules fable 29 ivan juniper 30 bruno cobalt 1 lina delta
30
24 gus birch 15 lina amber 10 kim ember 13 farah delta 20 hana indigo 30 bruno harbor 9 ivan birch 26 chen indigo 22 kim indigo
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024818-p1
Identify and display the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 dina harbor 26 eli fable 27 jules delta 20 kim grove 17 farah harbor 1 ivan indigo 17 jules fable 29 ivan juniper 30 bruno cobalt 1 lina delta
30
24 gus birch 15 lina amber 10 kim ember 13 farah delta 20 hana indigo 30 bruno harbor 9 ivan birch 26 chen indigo 22 kim indigo
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024818
qwen/qwen3.7-plus
awkweave-0024819
Count all input records and print the total.
END{print NR}
jules 36 bruno 70 jules 109 farah 15 chen 67 ivan 29
6
ivan 75 lina 12 chen 19 eli 105 ivan 112 eli 53 ivan 114
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024819-p1
Count the total number of input records and print the result.
END{print NR}
jules 36 bruno 70 jules 109 farah 15 chen 67 ivan 29
6
ivan 75 lina 12 chen 19 eli 105 ivan 112 eli 53 ivan 114
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024819
qwen/qwen3.7-plus
awkweave-0024820
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina birch 34 dina fable 15 hana juniper 48 hana fable 107 eli birch 114 dina birch 76 kim fable 68 lina harbor 14 hana harbor 68 kim fable 68 gus grove 68
dina birch 34 dina fable 15 hana juniper 48 hana fable 107 eli birch 114 dina birch 76 kim fable 68 lina harbor 14 hana harbor 68 gus grove 68
kim indigo 72 gus cobalt 9 gus birch 43 dina fable 63 bruno fable 102 ivan delta 48 ivan delta 48 lina amber 41 dina indigo 45
kim indigo 72 gus cobalt 9 gus birch 43 dina fable 63 bruno fable 102 ivan delta 48 lina amber 41 dina indigo 45
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024820-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
dina birch 34 dina fable 15 hana juniper 48 hana fable 107 eli birch 114 dina birch 76 kim fable 68 lina harbor 14 hana harbor 68 kim fable 68 gus grove 68
dina birch 34 dina fable 15 hana juniper 48 hana fable 107 eli birch 114 dina birch 76 kim fable 68 lina harbor 14 hana harbor 68 gus grove 68
kim indigo 72 gus cobalt 9 gus birch 43 dina fable 63 bruno fable 102 ivan delta 48 ivan delta 48 lina amber 41 dina indigo 45
kim indigo 72 gus cobalt 9 gus birch 43 dina fable 63 bruno fable 102 ivan delta 48 lina amber 41 dina indigo 45
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024820
qwen/qwen3.7-plus
awkweave-0024821
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim fable 86 farah harbor 51 kim ember 107 dina fable 40 bruno indigo 50 farah birch 20
kim fable 86 farah harbor 51 kim ember 107 dina fable 40 bruno indigo 50 farah birch 20
gus harbor 33 ivan indigo 108 chen harbor 1 kim ember 10 lina ember 22 bruno juniper 13 dina ember 102
gus harbor 33 ivan indigo 108 chen harbor 1 kim ember 10 lina ember 22 bruno juniper 13 dina ember 102
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024821-p1
Retain only the first occurrence for every unique value in column 3, preserving the original input sequence.
!seen[$3]++
kim fable 86 farah harbor 51 kim ember 107 dina fable 40 bruno indigo 50 farah birch 20
kim fable 86 farah harbor 51 kim ember 107 dina fable 40 bruno indigo 50 farah birch 20
gus harbor 33 ivan indigo 108 chen harbor 1 kim ember 10 lina ember 22 bruno juniper 13 dina ember 102
gus harbor 33 ivan indigo 108 chen harbor 1 kim ember 10 lina ember 22 bruno juniper 13 dina ember 102
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024821
qwen/qwen3.7-plus
awkweave-0024822
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 1 amber kim 19 ember eli 22 indigo hana 27 cobalt gus 5 amber eli 1 juniper jules 29 harbor
lina 1 kim 20 eli 42 hana 69 gus 74 eli 75 jules 104
kim 18 delta alice 17 harbor bruno 14 cobalt dina 23 cobalt kim 30 harbor alice 30 harbor farah 15 harbor bruno 18 delta jules 29 fable eli 22 ember
kim 18 alice 35 bruno 49 dina 72 kim 102 alice 132 farah 147 bruno 165 jules 194 eli 216
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024822-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 1 amber kim 19 ember eli 22 indigo hana 27 cobalt gus 5 amber eli 1 juniper jules 29 harbor
lina 1 kim 20 eli 42 hana 69 gus 74 eli 75 jules 104
kim 18 delta alice 17 harbor bruno 14 cobalt dina 23 cobalt kim 30 harbor alice 30 harbor farah 15 harbor bruno 18 delta jules 29 fable eli 22 ember
kim 18 alice 35 bruno 49 dina 72 kim 102 alice 132 farah 147 bruno 165 jules 194 eli 216
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024822
qwen/qwen3.7-plus
awkweave-0024823
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 7 25 indigo jules 5 12 harbor hana 8 5 indigo hana 22 30 cobalt lina 17 9 grove jules 26 17 cobalt hana 23 28 harbor hana 3 6 ember alice 6 6 amber
hana 32 jules 17 hana 13 hana 52 lina 26 jules 43 hana 51 hana 9 alice 12
farah 2 6 amber jules 2 17 harbor bruno 20 18 grove hana 28 12 birch ivan 12 6 fable alice 29 15 fable chen 3 1 indigo ivan 10 25 harbor bruno 23 30 amber
farah 8 jules 19 bruno 38 hana 40 ivan 18 alice 44 chen 4 ivan 35 bruno 53
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024823-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 7 25 indigo jules 5 12 harbor hana 8 5 indigo hana 22 30 cobalt lina 17 9 grove jules 26 17 cobalt hana 23 28 harbor hana 3 6 ember alice 6 6 amber
hana 32 jules 17 hana 13 hana 52 lina 26 jules 43 hana 51 hana 9 alice 12
farah 2 6 amber jules 2 17 harbor bruno 20 18 grove hana 28 12 birch ivan 12 6 fable alice 29 15 fable chen 3 1 indigo ivan 10 25 harbor bruno 23 30 amber
farah 8 jules 19 bruno 38 hana 40 ivan 18 alice 44 chen 4 ivan 35 bruno 53
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024823
qwen/qwen3.7-plus
awkweave-0024824
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
eli 22 kim 30 jules 20 jules 15 lina 19 gus 12 bruno 4
eli fail kim pass jules fail jules fail lina fail gus fail bruno fail
chen 10 kim 10 lina 26 alice 21 lina 24 lina 2
chen fail kim fail lina pass alice fail lina pass lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024824-p1
Output the first column; if the second column is 24 or higher, print 'pass', otherwise print 'fail'.
{print $1,($2>=24?"pass":"fail")}
eli 22 kim 30 jules 20 jules 15 lina 19 gus 12 bruno 4
eli fail kim pass jules fail jules fail lina fail gus fail bruno fail
chen 10 kim 10 lina 26 alice 21 lina 24 lina 2
chen fail kim fail lina pass alice fail lina pass lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024824
qwen/qwen3.7-plus
awkweave-0024825
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli ember 90 alice delta 18 kim cobalt 113 chen indigo 35 gus delta 6 alice fable 72 ivan juniper 108 ivan cobalt 103
EMBER DELTA COBALT INDIGO DELTA FABLE JUNIPER COBALT
dina amber 56 lina ember 66 bruno delta 30 gus birch 92 lina grove 48 lina indigo 116 hana fable 75
AMBER EMBER DELTA BIRCH GROVE INDIGO FABLE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024825-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
eli ember 90 alice delta 18 kim cobalt 113 chen indigo 35 gus delta 6 alice fable 72 ivan juniper 108 ivan cobalt 103
EMBER DELTA COBALT INDIGO DELTA FABLE JUNIPER COBALT
dina amber 56 lina ember 66 bruno delta 30 gus birch 92 lina grove 48 lina indigo 116 hana fable 75
AMBER EMBER DELTA BIRCH GROVE INDIGO FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024825
qwen/qwen3.7-plus
awkweave-0024826
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
grove 36 fable 53 fable 20 indigo 52 juniper 109 grove 36 cobalt 92 harbor 49 indigo 71 indigo 73
ove ble ble digo nipe ove balt rbor digo digo
cobalt 36 juniper 88 birch 17 ember 110 harbor 98 juniper 72 juniper 115 birch 78 fable 12 birch 42
balt nipe rch ber rbor nipe nipe rch ble rch
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024826-p1
Extract and print a 4-character substring from the first column, beginning at the third character.
{print substr($1,3,4)}
grove 36 fable 53 fable 20 indigo 52 juniper 109 grove 36 cobalt 92 harbor 49 indigo 71 indigo 73
ove ble ble digo nipe ove balt rbor digo digo
cobalt 36 juniper 88 birch 17 ember 110 harbor 98 juniper 72 juniper 115 birch 78 fable 12 birch 42
balt nipe rch ber rbor nipe nipe rch ble rch
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024826
qwen/qwen3.7-plus
awkweave-0024827
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_harbor 92 juniper_birch 98 cobalt_fable 47 fable_harbor 98 delta_harbor 83 grove_birch 67 birch_indigo 28
fable harbor juniper birch cobalt fable fable harbor delta harbor grove birch birch indigo
cobalt_amber 29 grove_amber 56 ember_harbor 73 cobalt_amber 59 fable_fable 63 delta_indigo 50 grove_cobalt 120 juniper_delta 106
cobalt amber grove amber ember harbor cobalt amber fable fable delta indigo grove cobalt juniper delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024827-p1
Substitute all underscores with spaces in the first column and display the modified values.
{gsub(/_/," ",$1);print $1}
fable_harbor 92 juniper_birch 98 cobalt_fable 47 fable_harbor 98 delta_harbor 83 grove_birch 67 birch_indigo 28
fable harbor juniper birch cobalt fable fable harbor delta harbor grove birch birch indigo
cobalt_amber 29 grove_amber 56 ember_harbor 73 cobalt_amber 59 fable_fable 63 delta_indigo 50 grove_cobalt 120 juniper_delta 106
cobalt amber grove amber ember harbor cobalt amber fable fable delta indigo grove cobalt juniper delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024827
qwen/qwen3.7-plus
awkweave-0024828
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)}
kim delta 65 failed lina cobalt 62 closed gus amber 65 active kim cobalt 102 ready alice indigo 60 failed kim harbor 98 active
failed 65 delta kim closed 62 cobalt lina active 65 amber gus ready 102 cobalt kim failed 60 indigo alice active 98 harbor kim
eli delta 95 pending eli ember 42 pending alice fable 3 paused eli birch 1 pending gus juniper 99 ready chen juniper 0 active farah fable 93 paused dina indigo 39 closed dina delta 42 ready jules grove 20 ready
pending 95 delta eli pending 42 ember eli paused 3 fable alice pending 1 birch eli ready 99 juniper gus active 0 juniper chen paused 93 fable farah closed 39 indigo dina ready 42 delta dina ready 20 grove jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024828-p1
Reverse the sequence of fields for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim delta 65 failed lina cobalt 62 closed gus amber 65 active kim cobalt 102 ready alice indigo 60 failed kim harbor 98 active
failed 65 delta kim closed 62 cobalt lina active 65 amber gus ready 102 cobalt kim failed 60 indigo alice active 98 harbor kim
eli delta 95 pending eli ember 42 pending alice fable 3 paused eli birch 1 pending gus juniper 99 ready chen juniper 0 active farah fable 93 paused dina indigo 39 closed dina delta 42 ready jules grove 20 ready
pending 95 delta eli pending 42 ember eli paused 3 fable alice pending 1 birch eli ready 99 juniper gus active 0 juniper chen paused 93 fable farah closed 39 indigo dina ready 42 delta dina ready 20 grove jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024828
qwen/qwen3.7-plus
awkweave-0024829
Print the number of whitespace-separated fields on each line.
{print NF}
chen delta 59 paused kim cobalt 42 failed farah delta 22 failed ivan juniper 109 ready jules ember 34 active farah birch 79 active kim delta 48 pending kim cobalt 97 paused alice fable 6 ready
4 4 4 4 4 4 4 4 4
dina juniper 95 failed alice harbor 66 failed kim ember 70 closed bruno grove 45 active gus amber 117 active lina cobalt 120 closed dina grove 87 ready jules indigo 56 closed
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024829-p1
Display the count of whitespace-delimited fields present in each line.
{print NF}
chen delta 59 paused kim cobalt 42 failed farah delta 22 failed ivan juniper 109 ready jules ember 34 active farah birch 79 active kim delta 48 pending kim cobalt 97 paused alice fable 6 ready
4 4 4 4 4 4 4 4 4
dina juniper 95 failed alice harbor 66 failed kim ember 70 closed bruno grove 45 active gus amber 117 active lina cobalt 120 closed dina grove 87 ready jules indigo 56 closed
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024829
qwen/qwen3.7-plus
awkweave-0024830
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]]}
gus alpha 24 bruno beta 2 jules delta 99 ivan beta 17 bruno gamma 117 jules beta 84
alpha 1 beta 3 delta 1 gamma 1
hana alpha 90 alice gamma 31 gus gamma 100 chen delta 119 chen delta 9 jules gamma 112 farah alpha 85 hana beta 107 jules delta 93
alpha 2 gamma 3 delta 3 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024830-p1
Tally the occurrences of each unique value in the second column. Output each value alongside its count, maintaining the order of their first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus alpha 24 bruno beta 2 jules delta 99 ivan beta 17 bruno gamma 117 jules beta 84
alpha 1 beta 3 delta 1 gamma 1
hana alpha 90 alice gamma 31 gus gamma 100 chen delta 119 chen delta 9 jules gamma 112 farah alpha 85 hana beta 107 jules delta 93
alpha 2 gamma 3 delta 3 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024830
qwen/qwen3.7-plus
awkweave-0024831
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]]}
bruno beta 28 hana gamma 26 kim alpha 27 hana beta 17 alice beta 9 chen delta 1 alice gamma 3
beta 54 gamma 29 alpha 27 delta 1
eli beta 24 lina alpha 6 lina beta 2 kim gamma 29 hana gamma 8 jules alpha 13 chen alpha 9
beta 26 alpha 28 gamma 37
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null