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-0008660-p1
Output full records where the value in the fourth column is greater than or equal to 48.
$4 >= 48
farah grove delta 93 juniper jules harbor harbor 61 harbor gus cobalt delta 27 harbor alice delta amber 38 ember chen fable indigo 12 fable farah harbor harbor 111 indigo bruno harbor harbor 20 indigo lina juniper amber 36 amber eli birch harbor 6 delta
farah grove delta 93 juniper jules harbor harbor 61 harbor farah harbor harbor 111 indigo
jules ember harbor 6 cobalt jules fable indigo 74 ember eli harbor amber 14 fable kim birch indigo 72 indigo eli harbor cobalt 22 fable alice juniper fable 64 indigo kim indigo fable 92 amber alice ember harbor 38 cobalt kim cobalt birch 118 birch
jules fable indigo 74 ember kim birch indigo 72 indigo alice juniper fable 64 indigo kim indigo fable 92 amber kim cobalt birch 118 birch
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008660
qwen/qwen3.7-plus
awkweave-0008661
Show whole lines whose 1st field is between 9 and 24, inclusive.
$1 >= 9 && $1 <= 24
14 fable farah bruno 7 juniper dina gus 30 harbor hana dina 12 juniper gus eli 11 juniper ivan bruno 12 fable ivan kim 28 juniper gus jules 4 juniper eli chen
14 fable farah bruno 12 juniper gus eli 11 juniper ivan bruno 12 fable ivan kim
30 juniper dina gus 1 harbor alice gus 22 ember jules dina 10 amber farah farah 23 ember chen lina 23 birch farah ivan 11 harbor lina ivan 2 juniper dina hana 25 cobalt kim gus
22 ember jules dina 10 amber farah farah 23 ember chen lina 23 birch farah ivan 11 harbor lina ivan
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008661-p1
Display entire lines where the first field falls within the inclusive range of 9 to 24.
$1 >= 9 && $1 <= 24
14 fable farah bruno 7 juniper dina gus 30 harbor hana dina 12 juniper gus eli 11 juniper ivan bruno 12 fable ivan kim 28 juniper gus jules 4 juniper eli chen
14 fable farah bruno 12 juniper gus eli 11 juniper ivan bruno 12 fable ivan kim
30 juniper dina gus 1 harbor alice gus 22 ember jules dina 10 amber farah farah 23 ember chen lina 23 birch farah ivan 11 harbor lina ivan 2 juniper dina hana 25 cobalt kim gus
22 ember jules dina 10 amber farah farah 23 ember chen lina 23 birch farah ivan 11 harbor lina ivan
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008661
qwen/qwen3.7-plus
awkweave-0008662
Print column 1 only for rows where column 4 is exactly closed.
$4 == "closed"{print $1}
bruno fable 119 closed bruno grove 120 active dina indigo 96 closed gus grove 60 closed alice grove 17 closed bruno cobalt 98 pending alice delta 59 ready lina indigo 74 failed dina amber 23 failed
bruno dina gus alice
alice ember 57 active jules juniper 44 pending ivan fable 48 pending kim juniper 118 paused kim amber 118 active kim harbor 26 paused
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008662-p1
Print only the first column for rows where the fourth column contains exactly 'closed'.
$4 == "closed"{print $1}
bruno fable 119 closed bruno grove 120 active dina indigo 96 closed gus grove 60 closed alice grove 17 closed bruno cobalt 98 pending alice delta 59 ready lina indigo 74 failed dina amber 23 failed
bruno dina gus alice
alice ember 57 active jules juniper 44 pending ivan fable 48 pending kim juniper 118 paused kim amber 118 active kim harbor 26 paused
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008662
qwen/qwen3.7-plus
awkweave-0008663
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
birch 120 INFO cobalt 50 ERROR birch 24 ERROR birch 95 INFO birch 61 WARN delta 111 WARN harbor 80 DEBUG
birch 120 INFO birch 95 INFO
delta 53 DEBUG juniper 24 INFO juniper 24 INFO ember 64 WARN cobalt 53 ERROR harbor 36 WARN harbor 87 DEBUG birch 114 DEBUG indigo 93 DEBUG delta 95 WARN
juniper 24 INFO juniper 24 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008663-p1
Output all fields from lines where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
birch 120 INFO cobalt 50 ERROR birch 24 ERROR birch 95 INFO birch 61 WARN delta 111 WARN harbor 80 DEBUG
birch 120 INFO birch 95 INFO
delta 53 DEBUG juniper 24 INFO juniper 24 INFO ember 64 WARN cobalt 53 ERROR harbor 36 WARN harbor 87 DEBUG birch 114 DEBUG indigo 93 DEBUG delta 95 WARN
juniper 24 INFO juniper 24 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008663
qwen/qwen3.7-plus
awkweave-0008664
Print every line except those containing the exact text amber.
$0 !~ /amber/
cobalt 49 pending birch 11 active fable 112 active juniper 58 closed ember 68 active indigo 103 ready harbor 73 ready cobalt 78 paused fable 39 failed fable 50 active amber 999 active
cobalt 49 pending birch 11 active fable 112 active juniper 58 closed ember 68 active indigo 103 ready harbor 73 ready cobalt 78 paused fable 39 failed fable 50 active
juniper 57 failed birch 14 failed amber 50 failed cobalt 80 active grove 3 pending birch 39 ready amber 999 active
juniper 57 failed birch 14 failed cobalt 80 active grove 3 pending birch 39 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008664-p1
Print every line that does not contain the exact substring 'amber'.
$0 !~ /amber/
cobalt 49 pending birch 11 active fable 112 active juniper 58 closed ember 68 active indigo 103 ready harbor 73 ready cobalt 78 paused fable 39 failed fable 50 active amber 999 active
cobalt 49 pending birch 11 active fable 112 active juniper 58 closed ember 68 active indigo 103 ready harbor 73 ready cobalt 78 paused fable 39 failed fable 50 active
juniper 57 failed birch 14 failed amber 50 failed cobalt 80 active grove 3 pending birch 39 ready amber 999 active
juniper 57 failed birch 14 failed cobalt 80 active grove 3 pending birch 39 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008664
qwen/qwen3.7-plus
awkweave-0008665
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
hana juniper 88 farah amber 48 bruno fable 110 chen harbor 54 bruno indigo 5 alice juniper 27 farah harbor 49 ivan fable 83
chen harbor 54 bruno indigo 5 alice juniper 27 farah harbor 49
ivan ember 82 kim cobalt 114 farah grove 20 kim ember 26 gus ember 3 hana fable 19 gus delta 106 dina delta 33
kim ember 26 gus ember 3 hana fable 19 gus delta 106
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008665-p1
Output lines 4 through 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
hana juniper 88 farah amber 48 bruno fable 110 chen harbor 54 bruno indigo 5 alice juniper 27 farah harbor 49 ivan fable 83
chen harbor 54 bruno indigo 5 alice juniper 27 farah harbor 49
ivan ember 82 kim cobalt 114 farah grove 20 kim ember 26 gus ember 3 hana fable 19 gus delta 106 dina delta 33
kim ember 26 gus ember 3 hana fable 19 gus delta 106
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008665
qwen/qwen3.7-plus
awkweave-0008666
Output only the first 5 records.
NR <= 5
farah 25 birch farah 49 delta lina 90 grove gus 81 juniper hana 47 fable hana 86 juniper
farah 25 birch farah 49 delta lina 90 grove gus 81 juniper hana 47 fable
eli 63 cobalt farah 92 harbor lina 25 fable alice 68 grove bruno 96 juniper kim 27 delta farah 18 juniper gus 52 ember chen 68 ember
eli 63 cobalt farah 92 harbor lina 25 fable alice 68 grove bruno 96 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008666-p1
Display only the first 5 records from the input.
NR <= 5
farah 25 birch farah 49 delta lina 90 grove gus 81 juniper hana 47 fable hana 86 juniper
farah 25 birch farah 49 delta lina 90 grove gus 81 juniper hana 47 fable
eli 63 cobalt farah 92 harbor lina 25 fable alice 68 grove bruno 96 juniper kim 27 delta farah 18 juniper gus 52 ember chen 68 ember
eli 63 cobalt farah 92 harbor lina 25 fable alice 68 grove bruno 96 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008666
qwen/qwen3.7-plus
awkweave-0008667
Skip the first line and print every remaining line unchanged.
NR > 1
hana 92 birch hana 48 birch bruno 24 cobalt hana 34 fable hana 56 birch eli 53 cobalt chen 99 ember bruno 119 ember ivan 99 ember
hana 48 birch bruno 24 cobalt hana 34 fable hana 56 birch eli 53 cobalt chen 99 ember bruno 119 ember ivan 99 ember
eli 48 birch eli 6 birch farah 115 birch eli 90 delta jules 97 juniper farah 37 grove
eli 6 birch farah 115 birch eli 90 delta jules 97 juniper farah 37 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008667-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
hana 92 birch hana 48 birch bruno 24 cobalt hana 34 fable hana 56 birch eli 53 cobalt chen 99 ember bruno 119 ember ivan 99 ember
hana 48 birch bruno 24 cobalt hana 34 fable hana 56 birch eli 53 cobalt chen 99 ember bruno 119 ember ivan 99 ember
eli 48 birch eli 6 birch farah 115 birch eli 90 delta jules 97 juniper farah 37 grove
eli 6 birch farah 115 birch eli 90 delta jules 97 juniper farah 37 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008667
qwen/qwen3.7-plus
awkweave-0008668
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
chen paused 104 chen paused 28 eli pending 7 gus pending 19 gus paused 109 gus closed 63 bruno failed 39 farah ready 44 hana ready 117
0
bruno failed 4 farah failed 102 lina failed 89 ivan active 45 ivan pending 120 lina ready 18 dina paused 28
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008668-p1
Count the number of records where the second column is 'active', outputting 0 if no such records exist.
$2 == "active"{n++}END{print n+0}
chen paused 104 chen paused 28 eli pending 7 gus pending 19 gus paused 109 gus closed 63 bruno failed 39 farah ready 44 hana ready 117
0
bruno failed 4 farah failed 102 lina failed 89 ivan active 45 ivan pending 120 lina ready 18 dina paused 28
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008668
qwen/qwen3.7-plus
awkweave-0008669
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
8 farah harbor 21 kim fable 7 chen fable 9 ivan grove 19 farah indigo 16 hana fable 28 chen grove 29 dina juniper 23 ivan ember
160
18 eli cobalt 18 ivan delta 13 kim amber 30 kim cobalt 15 hana birch 8 bruno fable
102
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008669-p1
Compute and display the sum of all integer values found in the first column.
{s+=$1}END{print s+0}
8 farah harbor 21 kim fable 7 chen fable 9 ivan grove 19 farah indigo 16 hana fable 28 chen grove 29 dina juniper 23 ivan ember
160
18 eli cobalt 18 ivan delta 13 kim amber 30 kim cobalt 15 hana birch 8 bruno fable
102
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008669
qwen/qwen3.7-plus
awkweave-0008670
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
dina birch 28 farah fable 12 jules harbor 14 gus cobalt 8 ivan birch 27 gus juniper 19 lina amber 27 jules fable 7 hana cobalt 17
17.67
jules ember 29 bruno grove 17 ivan juniper 9 jules delta 22 dina cobalt 17 bruno cobalt 6 chen cobalt 5 lina amber 30 ivan cobalt 24
17.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008670-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}
dina birch 28 farah fable 12 jules harbor 14 gus cobalt 8 ivan birch 27 gus juniper 19 lina amber 27 jules fable 7 hana cobalt 17
17.67
jules ember 29 bruno grove 17 ivan juniper 9 jules delta 22 dina cobalt 17 bruno cobalt 6 chen cobalt 5 lina amber 30 ivan cobalt 24
17.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008670
qwen/qwen3.7-plus
awkweave-0008671
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
16 farah ember 19 dina grove 21 farah grove 20 eli ember 10 lina amber 7 farah harbor
7
29 kim indigo 17 gus delta 8 chen juniper 10 dina juniper 13 gus ember 1 dina delta 13 hana fable 19 lina ember 11 jules indigo 25 eli harbor
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008671-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
16 farah ember 19 dina grove 21 farah grove 20 eli ember 10 lina amber 7 farah harbor
7
29 kim indigo 17 gus delta 8 chen juniper 10 dina juniper 13 gus ember 1 dina delta 13 hana fable 19 lina ember 11 jules indigo 25 eli harbor
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008671
qwen/qwen3.7-plus
awkweave-0008672
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
delta 12 chen fable 5 lina delta 26 ivan juniper 22 farah birch 11 jules harbor 16 hana delta 2 jules
26
indigo 22 jules indigo 15 gus ember 23 chen indigo 7 jules delta 23 gus indigo 23 chen ember 21 chen harbor 20 lina
23
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008672-p1
Identify and output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
delta 12 chen fable 5 lina delta 26 ivan juniper 22 farah birch 11 jules harbor 16 hana delta 2 jules
26
indigo 22 jules indigo 15 gus ember 23 chen indigo 7 jules delta 23 gus indigo 23 chen ember 21 chen harbor 20 lina
23
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008672
qwen/qwen3.7-plus
awkweave-0008673
Count all input records and print the total.
END{print NR}
hana 108 chen 73 kim 61 jules 30 jules 24 gus 91 lina 112
7
eli 35 ivan 11 chen 36 dina 37 alice 89 ivan 103 ivan 75 hana 19 farah 88
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008673-p1
Calculate the total number of input records and display the count.
END{print NR}
hana 108 chen 73 kim 61 jules 30 jules 24 gus 91 lina 112
7
eli 35 ivan 11 chen 36 dina 37 alice 89 ivan 103 ivan 75 hana 19 farah 88
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008673
qwen/qwen3.7-plus
awkweave-0008674
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus amber 14 farah ember 79 jules amber 76 alice harbor 81 kim grove 9 kim grove 9 eli ember 63
gus amber 14 farah ember 79 jules amber 76 alice harbor 81 kim grove 9 eli ember 63
hana grove 114 lina ember 73 eli grove 114 ivan delta 23 kim amber 62 hana birch 99 alice fable 120 lina ember 73 ivan fable 118
hana grove 114 lina ember 73 eli grove 114 ivan delta 23 kim amber 62 hana birch 99 alice fable 120 ivan fable 118
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008674-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
gus amber 14 farah ember 79 jules amber 76 alice harbor 81 kim grove 9 kim grove 9 eli ember 63
gus amber 14 farah ember 79 jules amber 76 alice harbor 81 kim grove 9 eli ember 63
hana grove 114 lina ember 73 eli grove 114 ivan delta 23 kim amber 62 hana birch 99 alice fable 120 lina ember 73 ivan fable 118
hana grove 114 lina ember 73 eli grove 114 ivan delta 23 kim amber 62 hana birch 99 alice fable 120 ivan fable 118
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008674
qwen/qwen3.7-plus
awkweave-0008675
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
jules fable 106 ivan grove 67 chen fable 38 bruno ember 51 bruno ember 78 ivan birch 10
jules fable 106 ivan grove 67 chen fable 38 bruno ember 51
farah cobalt 92 kim birch 4 chen amber 99 eli delta 118 ivan juniper 18 chen fable 79 ivan grove 23
farah cobalt 92 kim birch 4 chen amber 99 eli delta 118 ivan juniper 18
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008675-p1
Retain only the initial line for every unique value in the first column, keeping the original order.
!seen[$1]++
jules fable 106 ivan grove 67 chen fable 38 bruno ember 51 bruno ember 78 ivan birch 10
jules fable 106 ivan grove 67 chen fable 38 bruno ember 51
farah cobalt 92 kim birch 4 chen amber 99 eli delta 118 ivan juniper 18 chen fable 79 ivan grove 23
farah cobalt 92 kim birch 4 chen amber 99 eli delta 118 ivan juniper 18
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008675
qwen/qwen3.7-plus
awkweave-0008676
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 4 indigo bruno 13 delta lina 18 birch bruno 9 harbor hana 2 ember gus 8 fable ivan 17 ember jules 5 harbor
gus 4 bruno 17 lina 35 bruno 44 hana 46 gus 54 ivan 71 jules 76
farah 4 indigo jules 16 indigo gus 24 harbor dina 23 juniper hana 26 cobalt chen 6 birch bruno 27 harbor jules 27 juniper ivan 29 delta
farah 4 jules 20 gus 44 dina 67 hana 93 chen 99 bruno 126 jules 153 ivan 182
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008676-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}
gus 4 indigo bruno 13 delta lina 18 birch bruno 9 harbor hana 2 ember gus 8 fable ivan 17 ember jules 5 harbor
gus 4 bruno 17 lina 35 bruno 44 hana 46 gus 54 ivan 71 jules 76
farah 4 indigo jules 16 indigo gus 24 harbor dina 23 juniper hana 26 cobalt chen 6 birch bruno 27 harbor jules 27 juniper ivan 29 delta
farah 4 jules 20 gus 44 dina 67 hana 93 chen 99 bruno 126 jules 153 ivan 182
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008676
qwen/qwen3.7-plus
awkweave-0008677
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 21 29 ember bruno 28 17 grove bruno 30 19 amber farah 1 10 amber jules 11 15 ember eli 4 6 grove hana 9 9 indigo
eli 50 bruno 45 bruno 49 farah 11 jules 26 eli 10 hana 18
ivan 27 5 amber kim 13 12 juniper bruno 10 23 juniper kim 9 3 delta ivan 9 4 cobalt ivan 22 6 cobalt farah 1 13 delta bruno 17 26 birch dina 7 22 ember
ivan 32 kim 25 bruno 33 kim 12 ivan 13 ivan 28 farah 14 bruno 43 dina 29
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008677-p1
Display the first field followed by the sum of the second and third fields for each row.
{print $1,$2+$3}
eli 21 29 ember bruno 28 17 grove bruno 30 19 amber farah 1 10 amber jules 11 15 ember eli 4 6 grove hana 9 9 indigo
eli 50 bruno 45 bruno 49 farah 11 jules 26 eli 10 hana 18
ivan 27 5 amber kim 13 12 juniper bruno 10 23 juniper kim 9 3 delta ivan 9 4 cobalt ivan 22 6 cobalt farah 1 13 delta bruno 17 26 birch dina 7 22 ember
ivan 32 kim 25 bruno 33 kim 12 ivan 13 ivan 28 farah 14 bruno 43 dina 29
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008677
qwen/qwen3.7-plus
awkweave-0008678
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
farah 12 kim 3 gus 15 dina 13 farah 29 alice 23 gus 11 eli 22 kim 24 hana 25
farah fail kim fail gus fail dina fail farah pass alice pass gus fail eli fail kim pass hana pass
jules 25 jules 27 alice 2 chen 3 eli 15 chen 12 bruno 3 kim 22 hana 19 dina 12
jules pass jules pass alice fail chen fail eli fail chen fail bruno fail kim fail hana fail dina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008678-p1
Output the first column and print 'pass' if the second column is 23 or greater; otherwise, print 'fail'.
{print $1,($2>=23?"pass":"fail")}
farah 12 kim 3 gus 15 dina 13 farah 29 alice 23 gus 11 eli 22 kim 24 hana 25
farah fail kim fail gus fail dina fail farah pass alice pass gus fail eli fail kim pass hana pass
jules 25 jules 27 alice 2 chen 3 eli 15 chen 12 bruno 3 kim 22 hana 19 dina 12
jules pass jules pass alice fail chen fail eli fail chen fail bruno fail kim fail hana fail dina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008678
qwen/qwen3.7-plus
awkweave-0008679
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
jules ember 96 ivan harbor 93 alice delta 77 hana fable 62 gus grove 16 eli birch 75 farah indigo 61 dina birch 101 jules delta 18 chen juniper 100
EMBER HARBOR DELTA FABLE GROVE BIRCH INDIGO BIRCH DELTA JUNIPER
gus birch 81 ivan fable 32 dina amber 89 kim fable 111 lina indigo 95 chen juniper 83 eli juniper 40 farah juniper 77 dina grove 47
BIRCH FABLE AMBER FABLE INDIGO JUNIPER JUNIPER JUNIPER GROVE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008679-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
jules ember 96 ivan harbor 93 alice delta 77 hana fable 62 gus grove 16 eli birch 75 farah indigo 61 dina birch 101 jules delta 18 chen juniper 100
EMBER HARBOR DELTA FABLE GROVE BIRCH INDIGO BIRCH DELTA JUNIPER
gus birch 81 ivan fable 32 dina amber 89 kim fable 111 lina indigo 95 chen juniper 83 eli juniper 40 farah juniper 77 dina grove 47
BIRCH FABLE AMBER FABLE INDIGO JUNIPER JUNIPER JUNIPER GROVE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008679
qwen/qwen3.7-plus
awkweave-0008680
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
indigo 47 birch 113 fable 36 juniper 25 harbor 85 indigo 111
digo rch ble nipe rbor digo
delta 24 cobalt 22 grove 75 delta 28 fable 6 cobalt 100 juniper 111 fable 73 birch 2
lta balt ove lta ble balt nipe ble rch
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008680-p1
Extract and print a substring of 4 characters from the first column, starting at the third character.
{print substr($1,3,4)}
indigo 47 birch 113 fable 36 juniper 25 harbor 85 indigo 111
digo rch ble nipe rbor digo
delta 24 cobalt 22 grove 75 delta 28 fable 6 cobalt 100 juniper 111 fable 73 birch 2
lta balt ove lta ble balt nipe ble rch
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008680
qwen/qwen3.7-plus
awkweave-0008681
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_delta 66 cobalt_amber 96 amber_grove 25 indigo_juniper 18 indigo_cobalt 30 harbor_ember 47
harbor delta cobalt amber amber grove indigo juniper indigo cobalt harbor ember
amber_harbor 4 grove_delta 20 indigo_indigo 57 ember_grove 115 fable_harbor 21 delta_fable 41 amber_amber 113 indigo_delta 78 grove_harbor 41 ember_amber 81
amber harbor grove delta indigo indigo ember grove fable harbor delta fable amber amber indigo delta grove harbor ember amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008681-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
harbor_delta 66 cobalt_amber 96 amber_grove 25 indigo_juniper 18 indigo_cobalt 30 harbor_ember 47
harbor delta cobalt amber amber grove indigo juniper indigo cobalt harbor ember
amber_harbor 4 grove_delta 20 indigo_indigo 57 ember_grove 115 fable_harbor 21 delta_fable 41 amber_amber 113 indigo_delta 78 grove_harbor 41 ember_amber 81
amber harbor grove delta indigo indigo ember grove fable harbor delta fable amber amber indigo delta grove harbor ember amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008681
qwen/qwen3.7-plus
awkweave-0008682
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)}
alice indigo 102 failed bruno birch 111 closed eli fable 10 active lina grove 36 pending chen juniper 68 active farah indigo 85 active farah grove 21 closed ivan indigo 55 active alice indigo 72 pending dina delta 114 ready
failed 102 indigo alice closed 111 birch bruno active 10 fable eli pending 36 grove lina active 68 juniper chen active 85 indigo farah closed 21 grove farah active 55 indigo ivan pending 72 indigo alice ready 114 delta dina
ivan grove 52 failed dina fable 47 pending bruno harbor 108 paused lina cobalt 58 active alice cobalt 37 paused bruno amber 65 active hana indigo 100 active alice cobalt 15 active kim birch 106 paused lina delta 83 closed
failed 52 grove ivan pending 47 fable dina paused 108 harbor bruno active 58 cobalt lina paused 37 cobalt alice active 65 amber bruno active 100 indigo hana active 15 cobalt alice paused 106 birch kim closed 83 delta lina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008682-p1
Reverse the sequence of fields on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice indigo 102 failed bruno birch 111 closed eli fable 10 active lina grove 36 pending chen juniper 68 active farah indigo 85 active farah grove 21 closed ivan indigo 55 active alice indigo 72 pending dina delta 114 ready
failed 102 indigo alice closed 111 birch bruno active 10 fable eli pending 36 grove lina active 68 juniper chen active 85 indigo farah closed 21 grove farah active 55 indigo ivan pending 72 indigo alice ready 114 delta dina
ivan grove 52 failed dina fable 47 pending bruno harbor 108 paused lina cobalt 58 active alice cobalt 37 paused bruno amber 65 active hana indigo 100 active alice cobalt 15 active kim birch 106 paused lina delta 83 closed
failed 52 grove ivan pending 47 fable dina paused 108 harbor bruno active 58 cobalt lina paused 37 cobalt alice active 65 amber bruno active 100 indigo hana active 15 cobalt alice paused 106 birch kim closed 83 delta lina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008682
qwen/qwen3.7-plus
awkweave-0008683
Print the number of whitespace-separated fields on each line.
{print NF}
bruno juniper 98 pending alice amber 104 pending lina harbor 60 pending dina cobalt 10 closed dina fable 38 pending lina ember 86 pending bruno juniper 1 failed eli fable 29 paused
4 4 4 4 4 4 4 4
farah amber 31 active chen indigo 74 paused jules ember 81 failed bruno fable 81 pending farah harbor 31 pending dina juniper 1 failed hana birch 63 failed jules grove 65 failed lina juniper 92 paused eli harbor 87 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008683-p1
Print the count of whitespace-delimited fields for every line.
{print NF}
bruno juniper 98 pending alice amber 104 pending lina harbor 60 pending dina cobalt 10 closed dina fable 38 pending lina ember 86 pending bruno juniper 1 failed eli fable 29 paused
4 4 4 4 4 4 4 4
farah amber 31 active chen indigo 74 paused jules ember 81 failed bruno fable 81 pending farah harbor 31 pending dina juniper 1 failed hana birch 63 failed jules grove 65 failed lina juniper 92 paused eli harbor 87 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008683
qwen/qwen3.7-plus
awkweave-0008684
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
bruno alpha 57 jules beta 50 lina alpha 65 bruno delta 8 ivan alpha 120 lina alpha 14 farah alpha 113
alpha 5 beta 1 delta 1
jules beta 90 eli gamma 21 farah delta 71 hana beta 14 hana delta 48 chen beta 46 bruno gamma 93
beta 3 gamma 2 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008684-p1
Tally the occurrences of each unique value in column 2 and display the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
bruno alpha 57 jules beta 50 lina alpha 65 bruno delta 8 ivan alpha 120 lina alpha 14 farah alpha 113
alpha 5 beta 1 delta 1
jules beta 90 eli gamma 21 farah delta 71 hana beta 14 hana delta 48 chen beta 46 bruno gamma 93
beta 3 gamma 2 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008684
qwen/qwen3.7-plus
awkweave-0008685
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]]}
gus delta 12 farah gamma 5 bruno alpha 8 alice gamma 14 dina gamma 5 ivan delta 3 gus alpha 20 hana gamma 5 hana beta 5 lina beta 9
delta 15 gamma 29 alpha 28 beta 14
lina alpha 9 kim gamma 18 kim delta 14 hana delta 30 farah beta 6 kim alpha 15
alpha 24 gamma 18 delta 44 beta 6
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008685-p1
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
gus delta 12 farah gamma 5 bruno alpha 8 alice gamma 14 dina gamma 5 ivan delta 3 gus alpha 20 hana gamma 5 hana beta 5 lina beta 9
delta 15 gamma 29 alpha 28 beta 14
lina alpha 9 kim gamma 18 kim delta 14 hana delta 30 farah beta 6 kim alpha 15
alpha 24 gamma 18 delta 44 beta 6
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0008685
qwen/qwen3.7-plus
awkweave-0008686
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 birch 84 delta fable 1 beta delta 0 beta juniper 24 gamma delta 105 alpha ember 47 alpha amber 50 alpha cobalt 12 gamma grove 113 beta cobalt 42
gamma 3 beta 3 alpha 3
delta juniper 10 alpha delta 43 delta birch 102 gamma juniper 22 gamma delta 66 delta juniper 25 gamma cobalt 74 beta cobalt 107 alpha amber 58 alpha birch 0
delta 3 alpha 3 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008686-p1
Identify duplicate entries in column 1 and output each repeated value with its frequency, sorted by the order of first occurrence.
{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 birch 84 delta fable 1 beta delta 0 beta juniper 24 gamma delta 105 alpha ember 47 alpha amber 50 alpha cobalt 12 gamma grove 113 beta cobalt 42
gamma 3 beta 3 alpha 3
delta juniper 10 alpha delta 43 delta birch 102 gamma juniper 22 gamma delta 66 delta juniper 25 gamma cobalt 74 beta cobalt 107 alpha amber 58 alpha birch 0
delta 3 alpha 3 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008686
qwen/qwen3.7-plus
awkweave-0008687
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note state region display_name r001 bruno 9 pending r002 lina 21 failed r003 jules 28 active r004 alice 18 paused r005 gus 21 closed r006 kim 27 closed
9 21 28 18 21 27
note state region display_name r001 hana 8 closed r002 lina 4 failed r003 hana 5 paused r004 farah 18 paused r005 kim 22 failed r006 ivan 4 closed r007 bruno 8 paused
8 4 5 18 22 4 8
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008687-p1
Treating the first line as a header, extract and print the region column from all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note state region display_name r001 bruno 9 pending r002 lina 21 failed r003 jules 28 active r004 alice 18 paused r005 gus 21 closed r006 kim 27 closed
9 21 28 18 21 27
note state region display_name r001 hana 8 closed r002 lina 4 failed r003 hana 5 paused r004 farah 18 paused r005 kim 22 failed r006 ivan 4 closed r007 bruno 8 paused
8 4 5 18 22 4 8
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008687
qwen/qwen3.7-plus
awkweave-0008688
The first row is a header. Print display_name for data rows whose score is greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 jules 8 pending r002 bruno 8 ready r003 kim 18 paused r004 lina 10 failed r005 gus 24 paused r006 hana 14 pending r007 alice 15 ready
gus
record_id display_name score state r001 chen 1 ready r002 lina 5 active r003 farah 23 failed r004 lina 6 paused r005 hana 30 ready r006 gus 22 paused r007 chen 25 pending r008 jules 17 closed
farah hana gus chen
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008688-p1
Ignoring the header row, output the display_name field for any record where the score exceeds 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 jules 8 pending r002 bruno 8 ready r003 kim 18 paused r004 lina 10 failed r005 gus 24 paused r006 hana 14 pending r007 alice 15 ready
gus
record_id display_name score state r001 chen 1 ready r002 lina 5 active r003 farah 23 failed r004 lina 6 paused r005 hana 30 ready r006 gus 22 paused r007 chen 25 pending r008 jules 17 closed
farah hana gus chen
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008688
qwen/qwen3.7-plus
awkweave-0008689
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 9 closed alice 22 pending gus 9 failed eli 26 paused eli 15 closed lina 6 paused chen 24 paused
closed pending failed paused closed paused paused
gus 24 active kim 2 failed gus 8 ready kim 25 closed gus 16 failed jules 18 ready
active failed ready closed failed ready
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008689-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 9 closed alice 22 pending gus 9 failed eli 26 paused eli 15 closed lina 6 paused chen 24 paused
closed pending failed paused closed paused paused
gus 24 active kim 2 failed gus 8 ready kim 25 closed gus 16 failed jules 18 ready
active failed ready closed failed ready
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0008689
qwen/qwen3.7-plus
awkweave-0008700
Show whole lines whose 3rd field is between 10 and 24, inclusive.
$3 >= 10 && $3 <= 24
juniper failed 10 gus harbor active 29 farah birch paused 15 alice fable paused 3 farah birch closed 21 kim ember active 8 chen birch closed 5 bruno harbor failed 25 hana harbor failed 10 eli delta failed 29 hana
juniper failed 10 gus birch paused 15 alice birch closed 21 kim harbor failed 10 eli
cobalt active 5 jules fable ready 8 dina harbor paused 16 farah amber ready 12 ivan delta closed 13 alice juniper failed 8 lina cobalt paused 23 dina amber failed 23 lina indigo active 2 alice birch active 10 chen
harbor paused 16 farah amber ready 12 ivan delta closed 13 alice cobalt paused 23 dina amber failed 23 lina birch active 10 chen
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008700-p1
Display entire lines where the value in the third field falls within the inclusive range of 10 to 24.
$3 >= 10 && $3 <= 24
juniper failed 10 gus harbor active 29 farah birch paused 15 alice fable paused 3 farah birch closed 21 kim ember active 8 chen birch closed 5 bruno harbor failed 25 hana harbor failed 10 eli delta failed 29 hana
juniper failed 10 gus birch paused 15 alice birch closed 21 kim harbor failed 10 eli
cobalt active 5 jules fable ready 8 dina harbor paused 16 farah amber ready 12 ivan delta closed 13 alice juniper failed 8 lina cobalt paused 23 dina amber failed 23 lina indigo active 2 alice birch active 10 chen
harbor paused 16 farah amber ready 12 ivan delta closed 13 alice cobalt paused 23 dina amber failed 23 lina birch active 10 chen
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008700
qwen/qwen3.7-plus
awkweave-0008701
Print column 3 only for rows where column 1 is exactly paused.
$1 == "paused"{print $3}
failed indigo eli 66 paused juniper hana 14 paused fable alice 113 pending cobalt eli 36 paused delta hana 40 ready cobalt lina 78
hana alice hana
closed birch dina 87 closed birch chen 98 paused amber chen 7 closed fable lina 69 ready amber kim 112 ready juniper alice 25
chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008701-p1
Output the third column exclusively for rows where the first column matches the exact string 'paused'.
$1 == "paused"{print $3}
failed indigo eli 66 paused juniper hana 14 paused fable alice 113 pending cobalt eli 36 paused delta hana 40 ready cobalt lina 78
hana alice hana
closed birch dina 87 closed birch chen 98 paused amber chen 7 closed fable lina 69 ready amber kim 112 ready juniper alice 25
chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008701
qwen/qwen3.7-plus
awkweave-0008702
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
50 INFO grove 60 INFO cobalt 29 WARN ember 20 ERROR grove 45 ERROR indigo 26 DEBUG delta
20 ERROR grove 45 ERROR indigo
120 WARN birch 76 ERROR juniper 52 WARN harbor 29 WARN amber 10 ERROR cobalt 3 WARN delta 90 WARN delta 98 ERROR ember 20 INFO fable 95 INFO cobalt
76 ERROR juniper 10 ERROR cobalt 98 ERROR ember
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008702-p1
Print all fields from any line where the second field starts with the prefix 'ERROR'.
$2 ~ /^ERROR/
50 INFO grove 60 INFO cobalt 29 WARN ember 20 ERROR grove 45 ERROR indigo 26 DEBUG delta
20 ERROR grove 45 ERROR indigo
120 WARN birch 76 ERROR juniper 52 WARN harbor 29 WARN amber 10 ERROR cobalt 3 WARN delta 90 WARN delta 98 ERROR ember 20 INFO fable 95 INFO cobalt
76 ERROR juniper 10 ERROR cobalt 98 ERROR ember
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008702
qwen/qwen3.7-plus
awkweave-0008703
Print every line except those containing the exact text fable.
$0 !~ /fable/
delta 94 closed grove 38 failed birch 8 paused grove 90 ready juniper 62 ready fable 93 active grove 53 failed birch 92 active delta 33 pending fable 999 active
delta 94 closed grove 38 failed birch 8 paused grove 90 ready juniper 62 ready grove 53 failed birch 92 active delta 33 pending
amber 19 pending grove 14 active delta 118 failed juniper 35 ready indigo 71 ready juniper 93 paused fable 999 active
amber 19 pending grove 14 active delta 118 failed juniper 35 ready indigo 71 ready juniper 93 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008703-p1
Output every line from the input, excluding those that contain the exact substring 'fable'.
$0 !~ /fable/
delta 94 closed grove 38 failed birch 8 paused grove 90 ready juniper 62 ready fable 93 active grove 53 failed birch 92 active delta 33 pending fable 999 active
delta 94 closed grove 38 failed birch 8 paused grove 90 ready juniper 62 ready grove 53 failed birch 92 active delta 33 pending
amber 19 pending grove 14 active delta 118 failed juniper 35 ready indigo 71 ready juniper 93 paused fable 999 active
amber 19 pending grove 14 active delta 118 failed juniper 35 ready indigo 71 ready juniper 93 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008703
qwen/qwen3.7-plus
awkweave-0008704
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
hana birch 33 farah indigo 31 farah cobalt 51 ivan amber 49 lina juniper 4 alice delta 87 dina juniper 108 bruno birch 35
farah cobalt 51 ivan amber 49
kim cobalt 21 gus grove 8 gus indigo 60 ivan ember 41 bruno delta 103 bruno fable 45 bruno ember 54 chen delta 9
gus indigo 60 ivan ember 41
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008704-p1
Extract and print only lines 3 and 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
hana birch 33 farah indigo 31 farah cobalt 51 ivan amber 49 lina juniper 4 alice delta 87 dina juniper 108 bruno birch 35
farah cobalt 51 ivan amber 49
kim cobalt 21 gus grove 8 gus indigo 60 ivan ember 41 bruno delta 103 bruno fable 45 bruno ember 54 chen delta 9
gus indigo 60 ivan ember 41
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008704
qwen/qwen3.7-plus
awkweave-0008705
Output only the first 3 records.
NR <= 3
hana 47 ember farah 84 birch farah 40 ember kim 90 ember lina 73 birch dina 116 fable jules 115 fable
hana 47 ember farah 84 birch farah 40 ember
eli 38 grove kim 98 juniper ivan 92 delta jules 68 delta ivan 41 fable kim 44 amber alice 10 birch gus 106 birch eli 6 harbor gus 82 cobalt
eli 38 grove kim 98 juniper ivan 92 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008705-p1
Limit the output to the first three records only.
NR <= 3
hana 47 ember farah 84 birch farah 40 ember kim 90 ember lina 73 birch dina 116 fable jules 115 fable
hana 47 ember farah 84 birch farah 40 ember
eli 38 grove kim 98 juniper ivan 92 delta jules 68 delta ivan 41 fable kim 44 amber alice 10 birch gus 106 birch eli 6 harbor gus 82 cobalt
eli 38 grove kim 98 juniper ivan 92 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008705
qwen/qwen3.7-plus
awkweave-0008706
Skip the first line and print every remaining line unchanged.
NR > 1
farah 45 birch farah 86 juniper jules 53 juniper farah 97 grove eli 29 grove eli 38 cobalt gus 38 fable dina 108 ember eli 34 grove bruno 23 grove
farah 86 juniper jules 53 juniper farah 97 grove eli 29 grove eli 38 cobalt gus 38 fable dina 108 ember eli 34 grove bruno 23 grove
alice 106 grove lina 48 harbor lina 67 harbor gus 57 ember alice 28 amber bruno 111 cobalt alice 17 birch farah 89 cobalt
lina 48 harbor lina 67 harbor gus 57 ember alice 28 amber bruno 111 cobalt alice 17 birch farah 89 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008706-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
farah 45 birch farah 86 juniper jules 53 juniper farah 97 grove eli 29 grove eli 38 cobalt gus 38 fable dina 108 ember eli 34 grove bruno 23 grove
farah 86 juniper jules 53 juniper farah 97 grove eli 29 grove eli 38 cobalt gus 38 fable dina 108 ember eli 34 grove bruno 23 grove
alice 106 grove lina 48 harbor lina 67 harbor gus 57 ember alice 28 amber bruno 111 cobalt alice 17 birch farah 89 cobalt
lina 48 harbor lina 67 harbor gus 57 ember alice 28 amber bruno 111 cobalt alice 17 birch farah 89 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008706
qwen/qwen3.7-plus
awkweave-0008707
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
chen paused 94 kim ready 38 lina paused 99 dina pending 30 ivan active 29 alice failed 95 hana ready 111
2
jules pending 70 farah ready 26 jules paused 91 gus pending 54 jules paused 100 lina pending 8 bruno closed 62 eli closed 66 chen ready 110
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008707-p1
Tally the number of entries where the second column contains 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
chen paused 94 kim ready 38 lina paused 99 dina pending 30 ivan active 29 alice failed 95 hana ready 111
2
jules pending 70 farah ready 26 jules paused 91 gus pending 54 jules paused 100 lina pending 8 bruno closed 62 eli closed 66 chen ready 110
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008707
qwen/qwen3.7-plus
awkweave-0008708
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
8 ivan ember 26 alice juniper 10 dina cobalt 5 lina grove 24 dina amber 5 lina amber 12 alice juniper 28 kim ember 6 lina juniper
124
29 jules cobalt 15 ivan birch 2 jules birch 16 ivan cobalt 13 chen fable 28 gus amber
103
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008708-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
8 ivan ember 26 alice juniper 10 dina cobalt 5 lina grove 24 dina amber 5 lina amber 12 alice juniper 28 kim ember 6 lina juniper
124
29 jules cobalt 15 ivan birch 2 jules birch 16 ivan cobalt 13 chen fable 28 gus amber
103
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008708
qwen/qwen3.7-plus
awkweave-0008709
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 harbor eli 20 ember hana 3 delta hana 19 grove alice 3 birch hana 26 indigo bruno 28 harbor farah
15.43
5 grove dina 2 indigo hana 29 fable hana 17 delta alice 9 fable eli 22 harbor farah 3 cobalt eli 28 delta jules 12 juniper bruno
14.11
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008709-p1
Output the average of the values in column 1, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 harbor eli 20 ember hana 3 delta hana 19 grove alice 3 birch hana 26 indigo bruno 28 harbor farah
15.43
5 grove dina 2 indigo hana 29 fable hana 17 delta alice 9 fable eli 22 harbor farah 3 cobalt eli 28 delta jules 12 juniper bruno
14.11
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008709
qwen/qwen3.7-plus
awkweave-0008710
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 alice juniper 14 jules cobalt 21 lina grove 13 hana indigo 18 ivan amber 12 alice harbor 20 ivan juniper
2
26 bruno harbor 12 dina birch 27 lina cobalt 18 alice indigo 2 dina birch 17 farah juniper 26 hana harbor
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008710-p1
Identify and print the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 alice juniper 14 jules cobalt 21 lina grove 13 hana indigo 18 ivan amber 12 alice harbor 20 ivan juniper
2
26 bruno harbor 12 dina birch 27 lina cobalt 18 alice indigo 2 dina birch 17 farah juniper 26 hana harbor
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008710
qwen/qwen3.7-plus
awkweave-0008711
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 9 harbor kim 22 fable dina 1 cobalt gus 7 grove hana 11 harbor ivan 10 ember dina 6 cobalt kim 25 grove hana 7 delta
25
alice 14 amber jules 19 birch hana 18 harbor gus 28 birch bruno 4 cobalt ivan 19 birch dina 23 grove
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008711-p1
Identify and print the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 9 harbor kim 22 fable dina 1 cobalt gus 7 grove hana 11 harbor ivan 10 ember dina 6 cobalt kim 25 grove hana 7 delta
25
alice 14 amber jules 19 birch hana 18 harbor gus 28 birch bruno 4 cobalt ivan 19 birch dina 23 grove
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008711
qwen/qwen3.7-plus
awkweave-0008712
Count all input records and print the total.
END{print NR}
dina 35 ivan 2 chen 43 farah 87 alice 114 dina 14 lina 18
7
jules 4 farah 4 kim 79 ivan 73 farah 24 bruno 102 lina 75 farah 50
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008712-p1
Count the total number of input records and print the result.
END{print NR}
dina 35 ivan 2 chen 43 farah 87 alice 114 dina 14 lina 18
7
jules 4 farah 4 kim 79 ivan 73 farah 24 bruno 102 lina 75 farah 50
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008712
qwen/qwen3.7-plus
awkweave-0008713
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules birch 81 lina fable 63 chen amber 49 alice ember 102 gus juniper 5 jules birch 81 alice delta 3 kim delta 1 farah indigo 100 dina cobalt 75 hana ember 60
jules birch 81 lina fable 63 chen amber 49 alice ember 102 gus juniper 5 alice delta 3 kim delta 1 farah indigo 100 dina cobalt 75 hana ember 60
dina cobalt 9 dina birch 57 kim fable 85 farah indigo 102 jules delta 28 dina birch 57 bruno harbor 45 kim amber 15 kim grove 12
dina cobalt 9 dina birch 57 kim fable 85 farah indigo 102 jules delta 28 bruno harbor 45 kim amber 15 kim grove 12
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008713-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
jules birch 81 lina fable 63 chen amber 49 alice ember 102 gus juniper 5 jules birch 81 alice delta 3 kim delta 1 farah indigo 100 dina cobalt 75 hana ember 60
jules birch 81 lina fable 63 chen amber 49 alice ember 102 gus juniper 5 alice delta 3 kim delta 1 farah indigo 100 dina cobalt 75 hana ember 60
dina cobalt 9 dina birch 57 kim fable 85 farah indigo 102 jules delta 28 dina birch 57 bruno harbor 45 kim amber 15 kim grove 12
dina cobalt 9 dina birch 57 kim fable 85 farah indigo 102 jules delta 28 bruno harbor 45 kim amber 15 kim grove 12
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008713
qwen/qwen3.7-plus
awkweave-0008714
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
ivan amber 88 lina indigo 53 jules fable 32 dina ember 101 kim cobalt 88 eli harbor 89
ivan amber 88 lina indigo 53 jules fable 32 dina ember 101 kim cobalt 88 eli harbor 89
hana ember 108 hana ember 65 dina fable 2 kim juniper 95 ivan harbor 112 dina amber 77 gus indigo 33 lina delta 91 ivan birch 53 bruno harbor 8
hana ember 108 dina fable 2 kim juniper 95 ivan harbor 112 gus indigo 33 lina delta 91 bruno harbor 8
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008714-p1
Retain only the first occurrence for each unique value in column 1, preserving the original input order.
!seen[$1]++
ivan amber 88 lina indigo 53 jules fable 32 dina ember 101 kim cobalt 88 eli harbor 89
ivan amber 88 lina indigo 53 jules fable 32 dina ember 101 kim cobalt 88 eli harbor 89
hana ember 108 hana ember 65 dina fable 2 kim juniper 95 ivan harbor 112 dina amber 77 gus indigo 33 lina delta 91 ivan birch 53 bruno harbor 8
hana ember 108 dina fable 2 kim juniper 95 ivan harbor 112 gus indigo 33 lina delta 91 bruno harbor 8
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008714
qwen/qwen3.7-plus
awkweave-0008715
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 14 juniper lina 20 indigo hana 29 ember jules 3 indigo bruno 26 indigo bruno 1 fable
chen 14 lina 34 hana 63 jules 66 bruno 92 bruno 93
hana 13 amber ivan 27 juniper hana 8 ember bruno 4 indigo chen 14 fable chen 16 amber gus 7 cobalt chen 10 harbor chen 16 delta
hana 13 ivan 40 hana 48 bruno 52 chen 66 chen 82 gus 89 chen 99 chen 115
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008715-p1
For every record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 14 juniper lina 20 indigo hana 29 ember jules 3 indigo bruno 26 indigo bruno 1 fable
chen 14 lina 34 hana 63 jules 66 bruno 92 bruno 93
hana 13 amber ivan 27 juniper hana 8 ember bruno 4 indigo chen 14 fable chen 16 amber gus 7 cobalt chen 10 harbor chen 16 delta
hana 13 ivan 40 hana 48 bruno 52 chen 66 chen 82 gus 89 chen 99 chen 115
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008715
qwen/qwen3.7-plus
awkweave-0008716
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 13 15 amber gus 28 23 indigo farah 23 27 amber dina 9 20 indigo eli 20 13 juniper ivan 27 29 fable farah 16 19 cobalt ivan 14 27 delta jules 8 25 birch
kim 28 gus 51 farah 50 dina 29 eli 33 ivan 56 farah 35 ivan 41 jules 33
alice 19 27 juniper eli 21 1 birch eli 26 23 ember eli 19 5 fable eli 19 6 indigo kim 2 24 amber alice 8 2 grove jules 14 14 birch
alice 46 eli 22 eli 49 eli 24 eli 25 kim 26 alice 10 jules 28
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008716-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 13 15 amber gus 28 23 indigo farah 23 27 amber dina 9 20 indigo eli 20 13 juniper ivan 27 29 fable farah 16 19 cobalt ivan 14 27 delta jules 8 25 birch
kim 28 gus 51 farah 50 dina 29 eli 33 ivan 56 farah 35 ivan 41 jules 33
alice 19 27 juniper eli 21 1 birch eli 26 23 ember eli 19 5 fable eli 19 6 indigo kim 2 24 amber alice 8 2 grove jules 14 14 birch
alice 46 eli 22 eli 49 eli 24 eli 25 kim 26 alice 10 jules 28
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008716
qwen/qwen3.7-plus
awkweave-0008717
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
farah 30 ivan 28 bruno 20 gus 26 lina 9 farah 15 dina 1 kim 6 kim 23 lina 1
farah pass ivan pass bruno fail gus pass lina fail farah fail dina fail kim fail kim pass lina fail
eli 1 ivan 23 dina 1 gus 7 jules 15 gus 6 jules 21 gus 22
eli fail ivan pass dina fail gus fail jules fail gus fail jules fail gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008717-p1
Print column 1 and output 'pass' if column 2 is greater than or equal to 23; otherwise, output 'fail'.
{print $1,($2>=23?"pass":"fail")}
farah 30 ivan 28 bruno 20 gus 26 lina 9 farah 15 dina 1 kim 6 kim 23 lina 1
farah pass ivan pass bruno fail gus pass lina fail farah fail dina fail kim fail kim pass lina fail
eli 1 ivan 23 dina 1 gus 7 jules 15 gus 6 jules 21 gus 22
eli fail ivan pass dina fail gus fail jules fail gus fail jules fail gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008717
qwen/qwen3.7-plus
awkweave-0008718
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
alice birch 23 alice birch 22 bruno indigo 101 alice grove 53 ivan indigo 15 farah ember 69 farah fable 7 farah grove 69 ivan delta 28 hana indigo 33
BIRCH BIRCH INDIGO GROVE INDIGO EMBER FABLE GROVE DELTA INDIGO
ivan birch 87 kim cobalt 2 jules amber 9 lina harbor 13 kim harbor 83 ivan harbor 1 kim amber 27 gus juniper 46 lina ember 40 farah grove 10
BIRCH COBALT AMBER HARBOR HARBOR HARBOR AMBER JUNIPER EMBER GROVE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008718-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
alice birch 23 alice birch 22 bruno indigo 101 alice grove 53 ivan indigo 15 farah ember 69 farah fable 7 farah grove 69 ivan delta 28 hana indigo 33
BIRCH BIRCH INDIGO GROVE INDIGO EMBER FABLE GROVE DELTA INDIGO
ivan birch 87 kim cobalt 2 jules amber 9 lina harbor 13 kim harbor 83 ivan harbor 1 kim amber 27 gus juniper 46 lina ember 40 farah grove 10
BIRCH COBALT AMBER HARBOR HARBOR HARBOR AMBER JUNIPER EMBER GROVE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008718
qwen/qwen3.7-plus
awkweave-0008719
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
indigo 13 harbor 91 indigo 100 harbor 86 indigo 64 grove 26
digo rbor digo rbor digo ove
juniper 114 indigo 38 cobalt 83 juniper 77 indigo 99 juniper 60 cobalt 51
nipe digo balt nipe digo nipe balt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0008719-p1
Extract and print a 4-character substring from column 1, beginning at the third character.
{print substr($1,3,4)}
indigo 13 harbor 91 indigo 100 harbor 86 indigo 64 grove 26
digo rbor digo rbor digo ove
juniper 114 indigo 38 cobalt 83 juniper 77 indigo 99 juniper 60 cobalt 51
nipe digo balt nipe digo nipe balt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0008719
qwen/qwen3.7-plus
awkweave-0008720
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_harbor 28 grove_ember 45 delta_ember 0 juniper_indigo 2 fable_ember 51 birch_grove 116 indigo_amber 108
indigo harbor grove ember delta ember juniper indigo fable ember birch grove indigo amber
ember_delta 23 delta_indigo 0 harbor_indigo 114 delta_indigo 16 fable_indigo 65 fable_grove 70
ember delta delta indigo harbor indigo delta indigo fable indigo fable grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null