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-0013770-p1
Show entire lines where the third field falls within the inclusive range of 11 to 20.
$3 >= 11 && $3 <= 20
paused ready 19 gus ready active 28 farah active failed 10 gus ready ready 10 eli failed pending 17 eli failed active 29 gus failed failed 14 alice
paused ready 19 gus failed pending 17 eli failed failed 14 alice
pending pending 16 lina pending closed 24 gus active failed 14 kim pending paused 4 kim failed ready 14 hana failed ready 16 alice
pending pending 16 lina active failed 14 kim failed ready 14 hana failed ready 16 alice
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013770
qwen/qwen3.7-plus
awkweave-0013771
Print column 1 only for rows where column 3 is exactly paused.
$3 == "paused"{print $1}
chen 36 active grove hana 0 ready cobalt gus 101 failed grove gus 11 paused harbor ivan 106 active harbor eli 35 ready birch gus 10 ready fable dina 32 closed amber
gus
alice 120 pending juniper gus 18 pending grove bruno 41 closed juniper ivan 49 closed juniper alice 90 paused fable chen 55 pending ember
alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013771-p1
Output only column 1 for rows where column 3 equals 'paused'.
$3 == "paused"{print $1}
chen 36 active grove hana 0 ready cobalt gus 101 failed grove gus 11 paused harbor ivan 106 active harbor eli 35 ready birch gus 10 ready fable dina 32 closed amber
gus
alice 120 pending juniper gus 18 pending grove bruno 41 closed juniper ivan 49 closed juniper alice 90 paused fable chen 55 pending ember
alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013771
qwen/qwen3.7-plus
awkweave-0013772
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
harbor 81 DEBUG harbor 70 WARN grove 79 DEBUG ember 113 DEBUG grove 27 DEBUG juniper 118 ERROR fable 8 INFO ember 0 DEBUG amber 74 DEBUG
juniper 118 ERROR
cobalt 76 ERROR delta 110 WARN grove 64 INFO amber 56 INFO delta 87 WARN harbor 34 ERROR
cobalt 76 ERROR harbor 34 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013772-p1
Print all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
harbor 81 DEBUG harbor 70 WARN grove 79 DEBUG ember 113 DEBUG grove 27 DEBUG juniper 118 ERROR fable 8 INFO ember 0 DEBUG amber 74 DEBUG
juniper 118 ERROR
cobalt 76 ERROR delta 110 WARN grove 64 INFO amber 56 INFO delta 87 WARN harbor 34 ERROR
cobalt 76 ERROR harbor 34 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013772
qwen/qwen3.7-plus
awkweave-0013773
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
grove 119 paused grove 101 active amber 77 failed grove 8 closed birch 93 pending harbor 0 ready fable 88 paused delta 7 active indigo 999 active
grove 119 paused grove 101 active amber 77 failed grove 8 closed birch 93 pending harbor 0 ready fable 88 paused delta 7 active
harbor 115 closed harbor 92 failed ember 11 paused juniper 29 failed fable 42 active fable 86 failed indigo 85 failed amber 91 pending cobalt 118 active amber 25 ready indigo 999 active
harbor 115 closed harbor 92 failed ember 11 paused juniper 29 failed fable 42 active fable 86 failed amber 91 pending cobalt 118 active amber 25 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013773-p1
Print every line that does not contain the exact string 'indigo'.
$0 !~ /indigo/
grove 119 paused grove 101 active amber 77 failed grove 8 closed birch 93 pending harbor 0 ready fable 88 paused delta 7 active indigo 999 active
grove 119 paused grove 101 active amber 77 failed grove 8 closed birch 93 pending harbor 0 ready fable 88 paused delta 7 active
harbor 115 closed harbor 92 failed ember 11 paused juniper 29 failed fable 42 active fable 86 failed indigo 85 failed amber 91 pending cobalt 118 active amber 25 ready indigo 999 active
harbor 115 closed harbor 92 failed ember 11 paused juniper 29 failed fable 42 active fable 86 failed amber 91 pending cobalt 118 active amber 25 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013773
qwen/qwen3.7-plus
awkweave-0013774
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
eli ember 62 dina juniper 45 lina ember 69 bruno fable 120 farah amber 77 dina cobalt 23 ivan amber 16 alice grove 112 farah indigo 26 gus amber 66
lina ember 69 bruno fable 120
chen juniper 51 farah grove 66 ivan cobalt 72 kim harbor 40 lina cobalt 37 chen indigo 11 jules grove 34 ivan grove 0
ivan cobalt 72 kim harbor 40
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013774-p1
Output lines 3 to 4, inclusive.
NR >= 3 && NR <= 4
eli ember 62 dina juniper 45 lina ember 69 bruno fable 120 farah amber 77 dina cobalt 23 ivan amber 16 alice grove 112 farah indigo 26 gus amber 66
lina ember 69 bruno fable 120
chen juniper 51 farah grove 66 ivan cobalt 72 kim harbor 40 lina cobalt 37 chen indigo 11 jules grove 34 ivan grove 0
ivan cobalt 72 kim harbor 40
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013774
qwen/qwen3.7-plus
awkweave-0013775
Output only the first 3 records.
NR <= 3
lina 102 amber jules 0 juniper hana 109 delta dina 21 ember chen 92 juniper hana 0 fable farah 79 birch eli 36 indigo jules 20 juniper
lina 102 amber jules 0 juniper hana 109 delta
alice 36 delta lina 21 juniper hana 104 amber farah 34 amber gus 66 delta hana 87 grove
alice 36 delta lina 21 juniper hana 104 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013775-p1
Display only the first 3 records.
NR <= 3
lina 102 amber jules 0 juniper hana 109 delta dina 21 ember chen 92 juniper hana 0 fable farah 79 birch eli 36 indigo jules 20 juniper
lina 102 amber jules 0 juniper hana 109 delta
alice 36 delta lina 21 juniper hana 104 amber farah 34 amber gus 66 delta hana 87 grove
alice 36 delta lina 21 juniper hana 104 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013775
qwen/qwen3.7-plus
awkweave-0013776
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 0 ember kim 29 cobalt ivan 63 ember lina 82 amber dina 15 grove alice 100 birch alice 23 ember
kim 29 cobalt ivan 63 ember lina 82 amber dina 15 grove alice 100 birch alice 23 ember
farah 6 juniper farah 59 birch alice 59 juniper farah 16 amber gus 51 harbor gus 59 delta kim 19 birch dina 100 cobalt kim 41 harbor
farah 59 birch alice 59 juniper farah 16 amber gus 51 harbor gus 59 delta kim 19 birch dina 100 cobalt kim 41 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013776-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
bruno 0 ember kim 29 cobalt ivan 63 ember lina 82 amber dina 15 grove alice 100 birch alice 23 ember
kim 29 cobalt ivan 63 ember lina 82 amber dina 15 grove alice 100 birch alice 23 ember
farah 6 juniper farah 59 birch alice 59 juniper farah 16 amber gus 51 harbor gus 59 delta kim 19 birch dina 100 cobalt kim 41 harbor
farah 59 birch alice 59 juniper farah 16 amber gus 51 harbor gus 59 delta kim 19 birch dina 100 cobalt kim 41 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013776
qwen/qwen3.7-plus
awkweave-0013777
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
hana failed 74 kim closed 99 ivan ready 46 farah paused 76 gus failed 99 eli ready 105
0
dina ready 58 dina paused 15 chen closed 44 bruno ready 55 gus failed 61 hana failed 14 lina closed 34 kim ready 104 gus ready 44
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013777-p1
Count the number of records with 'pending' in column 2, outputting 0 if none exist.
$2 == "pending"{n++}END{print n+0}
hana failed 74 kim closed 99 ivan ready 46 farah paused 76 gus failed 99 eli ready 105
0
dina ready 58 dina paused 15 chen closed 44 bruno ready 55 gus failed 61 hana failed 14 lina closed 34 kim ready 104 gus ready 44
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013777
qwen/qwen3.7-plus
awkweave-0013778
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ember 29 jules cobalt 1 bruno cobalt 25 bruno indigo 10 farah birch 12 ivan fable 12 gus
89
amber 5 bruno grove 27 kim birch 19 dina grove 28 ivan amber 26 jules amber 13 jules indigo 26 kim
144
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013778-p1
Compute the total of all integer values found in the second column and output the result.
{s+=$2}END{print s+0}
ember 29 jules cobalt 1 bruno cobalt 25 bruno indigo 10 farah birch 12 ivan fable 12 gus
89
amber 5 bruno grove 27 kim birch 19 dina grove 28 ivan amber 26 jules amber 13 jules indigo 26 kim
144
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013778
qwen/qwen3.7-plus
awkweave-0013779
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
11 delta gus 21 indigo chen 3 fable alice 30 delta jules 13 indigo lina 1 fable farah 23 fable bruno
14.57
28 harbor dina 11 delta hana 7 birch dina 14 cobalt chen 1 indigo gus 21 fable ivan
13.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013779-p1
Output the average of the values in the first column, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
11 delta gus 21 indigo chen 3 fable alice 30 delta jules 13 indigo lina 1 fable farah 23 fable bruno
14.57
28 harbor dina 11 delta hana 7 birch dina 14 cobalt chen 1 indigo gus 21 fable ivan
13.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013779
qwen/qwen3.7-plus
awkweave-0013780
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 12 dina fable 17 jules grove 18 lina harbor 11 alice fable 11 dina harbor 24 dina
11
indigo 26 kim grove 5 kim cobalt 7 alice indigo 18 bruno juniper 6 gus ember 25 farah
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013780-p1
Identify and display the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 12 dina fable 17 jules grove 18 lina harbor 11 alice fable 11 dina harbor 24 dina
11
indigo 26 kim grove 5 kim cobalt 7 alice indigo 18 bruno juniper 6 gus ember 25 farah
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013780
qwen/qwen3.7-plus
awkweave-0013781
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
19 dina indigo 15 chen delta 19 hana delta 9 eli harbor 29 dina cobalt 21 farah amber
29
1 ivan delta 20 bruno delta 16 dina fable 16 jules fable 6 farah birch 29 eli ember 2 ivan birch 27 kim grove
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013781-p1
Identify and display the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
19 dina indigo 15 chen delta 19 hana delta 9 eli harbor 29 dina cobalt 21 farah amber
29
1 ivan delta 20 bruno delta 16 dina fable 16 jules fable 6 farah birch 29 eli ember 2 ivan birch 27 kim grove
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013781
qwen/qwen3.7-plus
awkweave-0013782
Count all input records and print the total.
END{print NR}
hana 44 eli 103 chen 24 chen 33 eli 86 jules 50 kim 61 ivan 19
8
bruno 1 alice 7 dina 12 alice 59 ivan 7 gus 29 chen 40 jules 94
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013782-p1
Count the total number of input records and print this count.
END{print NR}
hana 44 eli 103 chen 24 chen 33 eli 86 jules 50 kim 61 ivan 19
8
bruno 1 alice 7 dina 12 alice 59 ivan 7 gus 29 chen 40 jules 94
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013782
qwen/qwen3.7-plus
awkweave-0013783
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina cobalt 11 lina birch 47 eli delta 93 bruno cobalt 56 lina fable 68 dina grove 11 lina fable 68
lina cobalt 11 lina birch 47 eli delta 93 bruno cobalt 56 lina fable 68 dina grove 11
farah cobalt 61 eli birch 34 gus grove 42 farah delta 51 hana cobalt 104 gus grove 42 kim fable 19 bruno juniper 33 chen juniper 58 lina birch 108
farah cobalt 61 eli birch 34 gus grove 42 farah delta 51 hana cobalt 104 kim fable 19 bruno juniper 33 chen juniper 58 lina birch 108
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013783-p1
Eliminate duplicate lines by keeping only the first instance of each unique line, maintaining the original sequence.
!seen[$0]++
lina cobalt 11 lina birch 47 eli delta 93 bruno cobalt 56 lina fable 68 dina grove 11 lina fable 68
lina cobalt 11 lina birch 47 eli delta 93 bruno cobalt 56 lina fable 68 dina grove 11
farah cobalt 61 eli birch 34 gus grove 42 farah delta 51 hana cobalt 104 gus grove 42 kim fable 19 bruno juniper 33 chen juniper 58 lina birch 108
farah cobalt 61 eli birch 34 gus grove 42 farah delta 51 hana cobalt 104 kim fable 19 bruno juniper 33 chen juniper 58 lina birch 108
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013783
qwen/qwen3.7-plus
awkweave-0013784
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
chen grove 16 jules cobalt 120 jules indigo 79 lina amber 25 farah harbor 33 farah juniper 71 kim juniper 5 farah ember 26 ivan delta 54
chen grove 16 jules cobalt 120 lina amber 25 farah harbor 33 kim juniper 5 ivan delta 54
hana delta 64 hana indigo 97 kim cobalt 37 farah birch 19 farah grove 36 hana indigo 40 dina harbor 39 gus amber 106 hana juniper 48 ivan fable 23
hana delta 64 kim cobalt 37 farah birch 19 dina harbor 39 gus amber 106 ivan fable 23
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013784-p1
Retain only the initial occurrence for every unique value in the first column, keeping the original input order.
!seen[$1]++
chen grove 16 jules cobalt 120 jules indigo 79 lina amber 25 farah harbor 33 farah juniper 71 kim juniper 5 farah ember 26 ivan delta 54
chen grove 16 jules cobalt 120 lina amber 25 farah harbor 33 kim juniper 5 ivan delta 54
hana delta 64 hana indigo 97 kim cobalt 37 farah birch 19 farah grove 36 hana indigo 40 dina harbor 39 gus amber 106 hana juniper 48 ivan fable 23
hana delta 64 kim cobalt 37 farah birch 19 dina harbor 39 gus amber 106 ivan fable 23
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013784
qwen/qwen3.7-plus
awkweave-0013785
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 19 indigo chen 13 fable kim 9 amber dina 24 ember eli 9 delta ivan 2 harbor chen 23 harbor
kim 19 chen 32 kim 41 dina 65 eli 74 ivan 76 chen 99
hana 9 delta farah 3 cobalt gus 15 fable hana 5 delta lina 27 delta bruno 21 amber bruno 15 grove bruno 24 indigo gus 6 grove
hana 9 farah 12 gus 27 hana 32 lina 59 bruno 80 bruno 95 bruno 119 gus 125
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013785-p1
For each entry, output the value from the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
kim 19 indigo chen 13 fable kim 9 amber dina 24 ember eli 9 delta ivan 2 harbor chen 23 harbor
kim 19 chen 32 kim 41 dina 65 eli 74 ivan 76 chen 99
hana 9 delta farah 3 cobalt gus 15 fable hana 5 delta lina 27 delta bruno 21 amber bruno 15 grove bruno 24 indigo gus 6 grove
hana 9 farah 12 gus 27 hana 32 lina 59 bruno 80 bruno 95 bruno 119 gus 125
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013785
qwen/qwen3.7-plus
awkweave-0013786
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 25 15 indigo ivan 15 21 indigo kim 25 17 delta jules 30 17 grove chen 11 15 amber farah 19 30 amber ivan 19 30 ember farah 25 3 amber chen 2 4 delta
hana 40 ivan 36 kim 42 jules 47 chen 26 farah 49 ivan 49 farah 28 chen 6
jules 16 27 cobalt farah 10 22 ember alice 8 3 grove farah 16 19 ember hana 14 2 harbor kim 12 21 cobalt hana 25 21 amber jules 1 23 fable bruno 19 6 amber lina 17 18 grove
jules 43 farah 32 alice 11 farah 35 hana 16 kim 33 hana 46 jules 24 bruno 25 lina 35
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013786-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
hana 25 15 indigo ivan 15 21 indigo kim 25 17 delta jules 30 17 grove chen 11 15 amber farah 19 30 amber ivan 19 30 ember farah 25 3 amber chen 2 4 delta
hana 40 ivan 36 kim 42 jules 47 chen 26 farah 49 ivan 49 farah 28 chen 6
jules 16 27 cobalt farah 10 22 ember alice 8 3 grove farah 16 19 ember hana 14 2 harbor kim 12 21 cobalt hana 25 21 amber jules 1 23 fable bruno 19 6 amber lina 17 18 grove
jules 43 farah 32 alice 11 farah 35 hana 16 kim 33 hana 46 jules 24 bruno 25 lina 35
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013786
qwen/qwen3.7-plus
awkweave-0013787
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
farah 5 lina 12 gus 3 hana 4 hana 15 gus 2 hana 11 gus 2
farah fail lina fail gus fail hana fail hana fail gus fail hana fail gus fail
chen 2 hana 27 lina 29 lina 18 lina 17 alice 25 kim 8
chen fail hana pass lina pass lina fail lina fail alice pass kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013787-p1
Output the value from the first column; if the second column's value is 23 or higher, append 'pass', otherwise append 'fail'.
{print $1,($2>=23?"pass":"fail")}
farah 5 lina 12 gus 3 hana 4 hana 15 gus 2 hana 11 gus 2
farah fail lina fail gus fail hana fail hana fail gus fail hana fail gus fail
chen 2 hana 27 lina 29 lina 18 lina 17 alice 25 kim 8
chen fail hana pass lina pass lina fail lina fail alice pass kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013787
qwen/qwen3.7-plus
awkweave-0013788
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
gus ember 12 chen indigo 83 bruno fable 78 chen harbor 9 eli juniper 15 farah fable 107 eli amber 111 eli indigo 38 alice ember 92 dina cobalt 82
EMBER INDIGO FABLE HARBOR JUNIPER FABLE AMBER INDIGO EMBER COBALT
chen juniper 86 bruno juniper 8 bruno juniper 76 jules indigo 114 farah cobalt 105 ivan amber 64
JUNIPER JUNIPER JUNIPER INDIGO COBALT AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013788-p1
Transform the text in the second column to uppercase and output only that transformed column.
{print toupper($2)}
gus ember 12 chen indigo 83 bruno fable 78 chen harbor 9 eli juniper 15 farah fable 107 eli amber 111 eli indigo 38 alice ember 92 dina cobalt 82
EMBER INDIGO FABLE HARBOR JUNIPER FABLE AMBER INDIGO EMBER COBALT
chen juniper 86 bruno juniper 8 bruno juniper 76 jules indigo 114 farah cobalt 105 ivan amber 64
JUNIPER JUNIPER JUNIPER INDIGO COBALT AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013788
qwen/qwen3.7-plus
awkweave-0013789
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
fable 0 cobalt 53 birch 50 indigo 20 birch 34 harbor 64
abl oba irc ndi irc arb
harbor 54 juniper 117 fable 69 cobalt 76 cobalt 118 fable 24 fable 114 grove 6 amber 42 delta 103
arb uni abl oba oba abl abl rov mbe elt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013789-p1
Extract and print a substring of length 3 from the first column, starting at the second character.
{print substr($1,2,3)}
fable 0 cobalt 53 birch 50 indigo 20 birch 34 harbor 64
abl oba irc ndi irc arb
harbor 54 juniper 117 fable 69 cobalt 76 cobalt 118 fable 24 fable 114 grove 6 amber 42 delta 103
arb uni abl oba oba abl abl rov mbe elt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013789
qwen/qwen3.7-plus
awkweave-0013800
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan grove 20 gus ember 18 jules harbor 114 dina cobalt 87 gus ember 3 kim delta 34 jules harbor 60 alice ember 50
ivan grove 20 gus ember 18 jules harbor 114 dina cobalt 87 gus ember 3 kim delta 34 jules harbor 60 alice ember 50
jules juniper 53 dina indigo 42 eli indigo 99 gus indigo 81 eli amber 114 eli juniper 14 ivan delta 1 jules ember 81 jules grove 68
jules juniper 53 dina indigo 42 eli indigo 99 gus indigo 81 eli amber 114 eli juniper 14 ivan delta 1 jules ember 81 jules grove 68
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013800-p1
Strip leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
ivan grove 20 gus ember 18 jules harbor 114 dina cobalt 87 gus ember 3 kim delta 34 jules harbor 60 alice ember 50
ivan grove 20 gus ember 18 jules harbor 114 dina cobalt 87 gus ember 3 kim delta 34 jules harbor 60 alice ember 50
jules juniper 53 dina indigo 42 eli indigo 99 gus indigo 81 eli amber 114 eli juniper 14 ivan delta 1 jules ember 81 jules grove 68
jules juniper 53 dina indigo 42 eli indigo 99 gus indigo 81 eli amber 114 eli juniper 14 ivan delta 1 jules ember 81 jules grove 68
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013800
qwen/qwen3.7-plus
awkweave-0013801
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno delta 63 closed farah juniper 44 paused lina indigo 7 ready lina juniper 114 failed lina harbor 8 closed hana birch 86 failed
farah juniper 44 paused
bruno harbor 16 active gus indigo 107 failed hana ember 30 ready kim indigo 40 ready eli harbor 60 paused hana ember 86 ready dina juniper 47 pending
dina juniper 47 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013801-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
bruno delta 63 closed farah juniper 44 paused lina indigo 7 ready lina juniper 114 failed lina harbor 8 closed hana birch 86 failed
farah juniper 44 paused
bruno harbor 16 active gus indigo 107 failed hana ember 30 ready kim indigo 40 ready eli harbor 60 paused hana ember 86 ready dina juniper 47 pending
dina juniper 47 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013801
qwen/qwen3.7-plus
awkweave-0013802
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
farah 75 hana 63 eli 117 alice 111 eli 49 eli 41 bruno 79 chen 96 bruno 23
eli 117 eli 41 bruno 23
alice 36 kim 83 hana 1 kim 38 hana 78 kim 79 bruno 45 chen 106 dina 50 kim 70
hana 1 kim 79 dina 50
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013802-p1
Output every third line, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
farah 75 hana 63 eli 117 alice 111 eli 49 eli 41 bruno 79 chen 96 bruno 23
eli 117 eli 41 bruno 23
alice 36 kim 83 hana 1 kim 38 hana 78 kim 79 bruno 45 chen 106 dina 50 kim 70
hana 1 kim 79 dina 50
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013802
qwen/qwen3.7-plus
awkweave-0013803
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 93 alpha birch 43 beta grove 33 beta delta 39 delta birch 9 alpha delta 29 alpha amber 55 delta grove 92
4
delta grove 90 beta delta 22 alpha fable 116 alpha fable 46 delta indigo 112 alpha indigo 14 gamma amber 53 alpha fable 119
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013803-p1
Calculate the number of unique values found in the second column and display only that total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 93 alpha birch 43 beta grove 33 beta delta 39 delta birch 9 alpha delta 29 alpha amber 55 delta grove 92
4
delta grove 90 beta delta 22 alpha fable 116 alpha fable 46 delta indigo 112 alpha indigo 14 gamma amber 53 alpha fable 119
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013803
qwen/qwen3.7-plus
awkweave-0013804
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}
farah 30 0 kim 15 15 chen 21 22 alice 26 24 chen 8 23 hana 21 30 dina 30 21 eli 11 23 lina 18 23 chen 21 1
kim 1.00 chen 0.95 alice 1.08 chen 0.35 hana 0.70 dina 1.43 eli 0.48 lina 0.78 chen 21.00
chen 27 0 gus 24 28 bruno 19 16 chen 17 7 eli 11 8 chen 2 23
gus 0.86 bruno 1.19 chen 2.43 eli 1.38 chen 0.09
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013804-p1
For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 30 0 kim 15 15 chen 21 22 alice 26 24 chen 8 23 hana 21 30 dina 30 21 eli 11 23 lina 18 23 chen 21 1
kim 1.00 chen 0.95 alice 1.08 chen 0.35 hana 0.70 dina 1.43 eli 0.48 lina 0.78 chen 21.00
chen 27 0 gus 24 28 bruno 19 16 chen 17 7 eli 11 8 chen 2 23
gus 0.86 bruno 1.19 chen 2.43 eli 1.38 chen 0.09
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013804
qwen/qwen3.7-plus
awkweave-0013805
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]}
lina harbor 18 hana indigo 19 bruno delta 1 kim juniper 11 hana amber 15 farah harbor 26 eli harbor 11 lina birch 16
farah harbor 26 hana indigo 19 lina harbor 18
kim juniper 30 eli amber 26 eli juniper 3 bruno amber 20 farah cobalt 4 bruno fable 7
kim juniper 30 eli amber 26 bruno amber 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013805-p1
Display the full records corresponding to the three highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
lina harbor 18 hana indigo 19 bruno delta 1 kim juniper 11 hana amber 15 farah harbor 26 eli harbor 11 lina birch 16
farah harbor 26 hana indigo 19 lina harbor 18
kim juniper 30 eli amber 26 eli juniper 3 bruno amber 20 farah cobalt 4 bruno fable 7
kim juniper 30 eli amber 26 bruno amber 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013805
qwen/qwen3.7-plus
awkweave-0013806
Print column 6 followed by column 4 for every record.
{print $6, $4}
38 bruno ready harbor ember closed 24 gus failed harbor juniper active 114 hana pending amber amber closed 13 eli pending birch amber failed 59 kim failed juniper fable failed 93 kim active birch ember active
closed harbor active harbor closed amber failed birch failed juniper active birch
115 chen ready delta birch paused 14 kim pending harbor cobalt closed 77 bruno failed fable grove paused 79 bruno paused harbor grove closed 3 kim closed juniper harbor pending 39 alice ready grove delta active
paused delta closed harbor paused fable closed harbor pending juniper active grove
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013806-p1
For every record, output the value from column 6 followed by the value from column 4.
{print $6, $4}
38 bruno ready harbor ember closed 24 gus failed harbor juniper active 114 hana pending amber amber closed 13 eli pending birch amber failed 59 kim failed juniper fable failed 93 kim active birch ember active
closed harbor active harbor closed amber failed birch failed juniper active birch
115 chen ready delta birch paused 14 kim pending harbor cobalt closed 77 bruno failed fable grove paused 79 bruno paused harbor grove closed 3 kim closed juniper harbor pending 39 alice ready grove delta active
paused delta closed harbor paused fable closed harbor pending juniper active grove
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013806
qwen/qwen3.7-plus
awkweave-0013807
Print the last field of every input line.
{print $NF}
jules paused indigo gus gus pending birch alice farah active delta farah bruno ready birch jules kim failed grove ivan bruno ready amber dina gus failed amber lina jules ready ember chen dina paused juniper dina ivan ready ember farah
gus alice farah jules ivan dina lina chen dina farah
dina ready delta gus farah failed harbor bruno eli failed delta lina dina pending grove kim bruno closed harbor gus bruno failed amber farah gus failed delta farah alice ready juniper gus gus ready harbor farah
gus bruno lina kim gus farah farah gus farah
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013807-p1
Output the final field of each input line.
{print $NF}
jules paused indigo gus gus pending birch alice farah active delta farah bruno ready birch jules kim failed grove ivan bruno ready amber dina gus failed amber lina jules ready ember chen dina paused juniper dina ivan ready ember farah
gus alice farah jules ivan dina lina chen dina farah
dina ready delta gus farah failed harbor bruno eli failed delta lina dina pending grove kim bruno closed harbor gus bruno failed amber farah gus failed delta farah alice ready juniper gus gus ready harbor farah
gus bruno lina kim gus farah farah gus farah
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013807
qwen/qwen3.7-plus
awkweave-0013808
Print the complete records where column 1 is at most 51.
$1 <= 51
2 failed failed 99 paused closed 45 failed closed 102 closed active 55 paused active 65 paused failed 30 active active 6 ready closed
2 failed failed 45 failed closed 30 active active 6 ready closed
39 active closed 54 pending ready 118 pending closed 87 closed failed 25 paused active 114 pending failed
39 active closed 25 paused active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013808-p1
Print the full records for which the value in column 1 is less than or equal to 51.
$1 <= 51
2 failed failed 99 paused closed 45 failed closed 102 closed active 55 paused active 65 paused failed 30 active active 6 ready closed
2 failed failed 45 failed closed 30 active active 6 ready closed
39 active closed 54 pending ready 118 pending closed 87 closed failed 25 paused active 114 pending failed
39 active closed 25 paused active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013808
qwen/qwen3.7-plus
awkweave-0013809
Show whole lines whose 2nd field is between 9 and 20, inclusive.
$2 >= 9 && $2 <= 20
pending 9 farah cobalt paused 22 eli fable closed 6 gus amber failed 30 eli birch paused 6 lina indigo failed 3 jules ember active 15 alice harbor ready 25 bruno grove active 8 ivan amber failed 3 gus harbor
pending 9 farah cobalt active 15 alice harbor
pending 19 alice grove paused 19 lina amber closed 29 hana amber ready 11 gus juniper failed 10 kim ember ready 25 alice harbor pending 19 gus indigo failed 16 farah birch
pending 19 alice grove paused 19 lina amber ready 11 gus juniper failed 10 kim ember pending 19 gus indigo failed 16 farah birch
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013809-p1
Display entire lines where the second field has a value between 9 and 20, inclusive.
$2 >= 9 && $2 <= 20
pending 9 farah cobalt paused 22 eli fable closed 6 gus amber failed 30 eli birch paused 6 lina indigo failed 3 jules ember active 15 alice harbor ready 25 bruno grove active 8 ivan amber failed 3 gus harbor
pending 9 farah cobalt active 15 alice harbor
pending 19 alice grove paused 19 lina amber closed 29 hana amber ready 11 gus juniper failed 10 kim ember ready 25 alice harbor pending 19 gus indigo failed 16 farah birch
pending 19 alice grove paused 19 lina amber ready 11 gus juniper failed 10 kim ember pending 19 gus indigo failed 16 farah birch
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013809
qwen/qwen3.7-plus
awkweave-0013810
Print column 2 only for rows where column 3 is exactly failed.
$3 == "failed"{print $2}
41 lina ready amber 76 chen failed ember 28 alice paused amber 53 dina closed amber 41 eli closed delta 49 chen closed fable 61 ivan paused birch 50 farah active ember
chen
100 lina active harbor 38 gus pending amber 82 eli closed juniper 83 lina pending harbor 85 alice pending harbor 61 alice active delta
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013810-p1
Output only the second column for rows where the third column contains exactly the string 'failed'.
$3 == "failed"{print $2}
41 lina ready amber 76 chen failed ember 28 alice paused amber 53 dina closed amber 41 eli closed delta 49 chen closed fable 61 ivan paused birch 50 farah active ember
chen
100 lina active harbor 38 gus pending amber 82 eli closed juniper 83 lina pending harbor 85 alice pending harbor 61 alice active delta
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013810
qwen/qwen3.7-plus
awkweave-0013811
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
73 WARN fable 74 DEBUG cobalt 3 ERROR juniper 117 INFO cobalt 50 WARN birch 99 ERROR ember 47 WARN delta 92 DEBUG grove 94 ERROR juniper
3 ERROR juniper 99 ERROR ember 94 ERROR juniper
17 WARN juniper 18 INFO harbor 7 WARN indigo 4 INFO indigo 8 INFO indigo 33 ERROR fable 4 ERROR grove 49 WARN fable
33 ERROR fable 4 ERROR grove
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013811-p1
Print all fields from any line where the second field starts with the prefix 'ERROR'.
$2 ~ /^ERROR/
73 WARN fable 74 DEBUG cobalt 3 ERROR juniper 117 INFO cobalt 50 WARN birch 99 ERROR ember 47 WARN delta 92 DEBUG grove 94 ERROR juniper
3 ERROR juniper 99 ERROR ember 94 ERROR juniper
17 WARN juniper 18 INFO harbor 7 WARN indigo 4 INFO indigo 8 INFO indigo 33 ERROR fable 4 ERROR grove 49 WARN fable
33 ERROR fable 4 ERROR grove
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013811
qwen/qwen3.7-plus
awkweave-0013812
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
delta 109 ready birch 100 active amber 102 pending harbor 87 closed cobalt 58 ready ember 109 ready indigo 999 active
delta 109 ready birch 100 active amber 102 pending harbor 87 closed cobalt 58 ready ember 109 ready
birch 13 closed fable 84 closed amber 103 paused fable 77 active juniper 78 pending grove 81 pending indigo 999 active
birch 13 closed fable 84 closed amber 103 paused fable 77 active juniper 78 pending grove 81 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013812-p1
Display all lines that do not contain the exact string indigo.
$0 !~ /indigo/
delta 109 ready birch 100 active amber 102 pending harbor 87 closed cobalt 58 ready ember 109 ready indigo 999 active
delta 109 ready birch 100 active amber 102 pending harbor 87 closed cobalt 58 ready ember 109 ready
birch 13 closed fable 84 closed amber 103 paused fable 77 active juniper 78 pending grove 81 pending indigo 999 active
birch 13 closed fable 84 closed amber 103 paused fable 77 active juniper 78 pending grove 81 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013812
qwen/qwen3.7-plus
awkweave-0013813
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
gus birch 11 alice ember 107 chen delta 70 dina fable 46 bruno birch 39 alice amber 108 bruno birch 56 jules amber 78
chen delta 70 dina fable 46 bruno birch 39
kim juniper 39 ivan harbor 82 eli indigo 3 dina indigo 108 jules birch 31 chen birch 62 kim ember 106 chen fable 15 hana amber 117
eli indigo 3 dina indigo 108 jules birch 31
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013813-p1
Output lines 3 to 5, inclusive of both the start and end lines.
NR >= 3 && NR <= 5
gus birch 11 alice ember 107 chen delta 70 dina fable 46 bruno birch 39 alice amber 108 bruno birch 56 jules amber 78
chen delta 70 dina fable 46 bruno birch 39
kim juniper 39 ivan harbor 82 eli indigo 3 dina indigo 108 jules birch 31 chen birch 62 kim ember 106 chen fable 15 hana amber 117
eli indigo 3 dina indigo 108 jules birch 31
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013813
qwen/qwen3.7-plus
awkweave-0013814
Output only the first 5 records.
NR <= 5
chen 114 harbor lina 72 juniper lina 75 delta jules 42 harbor bruno 32 cobalt hana 43 harbor chen 49 ember lina 51 harbor gus 104 cobalt eli 83 indigo
chen 114 harbor lina 72 juniper lina 75 delta jules 42 harbor bruno 32 cobalt
kim 4 fable alice 67 ember alice 58 harbor kim 56 fable dina 108 amber alice 89 fable
kim 4 fable alice 67 ember alice 58 harbor kim 56 fable dina 108 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013814-p1
Show only the initial 5 records from the input.
NR <= 5
chen 114 harbor lina 72 juniper lina 75 delta jules 42 harbor bruno 32 cobalt hana 43 harbor chen 49 ember lina 51 harbor gus 104 cobalt eli 83 indigo
chen 114 harbor lina 72 juniper lina 75 delta jules 42 harbor bruno 32 cobalt
kim 4 fable alice 67 ember alice 58 harbor kim 56 fable dina 108 amber alice 89 fable
kim 4 fable alice 67 ember alice 58 harbor kim 56 fable dina 108 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013814
qwen/qwen3.7-plus
awkweave-0013815
Skip the first line and print every remaining line unchanged.
NR > 1
chen 54 indigo hana 97 amber alice 8 grove farah 52 harbor alice 102 indigo gus 57 amber
hana 97 amber alice 8 grove farah 52 harbor alice 102 indigo gus 57 amber
alice 6 ember farah 74 ember lina 4 cobalt hana 14 amber lina 37 harbor kim 74 amber chen 39 juniper chen 27 amber
farah 74 ember lina 4 cobalt hana 14 amber lina 37 harbor kim 74 amber chen 39 juniper chen 27 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013815-p1
Omit the first line and print the rest of the lines exactly as they appear.
NR > 1
chen 54 indigo hana 97 amber alice 8 grove farah 52 harbor alice 102 indigo gus 57 amber
hana 97 amber alice 8 grove farah 52 harbor alice 102 indigo gus 57 amber
alice 6 ember farah 74 ember lina 4 cobalt hana 14 amber lina 37 harbor kim 74 amber chen 39 juniper chen 27 amber
farah 74 ember lina 4 cobalt hana 14 amber lina 37 harbor kim 74 amber chen 39 juniper chen 27 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013815
qwen/qwen3.7-plus
awkweave-0013816
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
alice ready 107 hana paused 40 kim closed 57 jules ready 27 kim ready 5 eli closed 87
0
jules closed 18 lina failed 17 dina paused 88 bruno pending 75 bruno failed 93 gus closed 46 eli ready 39 chen active 46 hana closed 99 alice paused 57
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013816-p1
Count the number of records where column 2 is active; output 0 if no such records exist.
$2 == "active"{n++}END{print n+0}
alice ready 107 hana paused 40 kim closed 57 jules ready 27 kim ready 5 eli closed 87
0
jules closed 18 lina failed 17 dina paused 88 bruno pending 75 bruno failed 93 gus closed 46 eli ready 39 chen active 46 hana closed 99 alice paused 57
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013816
qwen/qwen3.7-plus
awkweave-0013817
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
eli 7 cobalt eli 11 harbor lina 14 amber ivan 20 delta hana 22 birch farah 16 amber kim 11 birch dina 27 delta
128
chen 27 cobalt hana 9 ember alice 23 amber alice 17 fable alice 28 delta eli 8 grove dina 2 amber lina 19 ember farah 2 indigo
135
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013817-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
eli 7 cobalt eli 11 harbor lina 14 amber ivan 20 delta hana 22 birch farah 16 amber kim 11 birch dina 27 delta
128
chen 27 cobalt hana 9 ember alice 23 amber alice 17 fable alice 28 delta eli 8 grove dina 2 amber lina 19 ember farah 2 indigo
135
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013817
qwen/qwen3.7-plus
awkweave-0013818
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
gus juniper 19 farah indigo 30 alice grove 28 ivan amber 10 lina juniper 12 hana juniper 1 hana amber 26 lina fable 16 bruno cobalt 2 chen birch 11
15.50
eli birch 29 farah harbor 6 jules cobalt 5 kim harbor 24 chen harbor 10 hana fable 7 alice delta 16 alice juniper 26
15.38
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013818-p1
Calculate the average of column 3 and print it rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
gus juniper 19 farah indigo 30 alice grove 28 ivan amber 10 lina juniper 12 hana juniper 1 hana amber 26 lina fable 16 bruno cobalt 2 chen birch 11
15.50
eli birch 29 farah harbor 6 jules cobalt 5 kim harbor 24 chen harbor 10 hana fable 7 alice delta 16 alice juniper 26
15.38
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013818
qwen/qwen3.7-plus
awkweave-0013819
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 gus harbor 11 gus ember 1 chen ember 20 eli fable 28 kim indigo 16 kim grove 22 lina cobalt 22 jules cobalt 26 alice amber
1
6 hana birch 10 farah ember 22 eli indigo 25 lina amber 13 hana juniper 12 hana cobalt
6
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013819-p1
Identify and output the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 gus harbor 11 gus ember 1 chen ember 20 eli fable 28 kim indigo 16 kim grove 22 lina cobalt 22 jules cobalt 26 alice amber
1
6 hana birch 10 farah ember 22 eli indigo 25 lina amber 13 hana juniper 12 hana cobalt
6
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013819
qwen/qwen3.7-plus
awkweave-0013820
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
chen juniper 13 alice ember 23 hana harbor 17 bruno amber 21 chen harbor 11 farah cobalt 10 alice fable 8 hana delta 23 eli juniper 15
23
ivan birch 4 chen juniper 14 farah fable 3 kim birch 16 eli amber 6 alice birch 11 hana juniper 15
16
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013820-p1
Identify and output the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
chen juniper 13 alice ember 23 hana harbor 17 bruno amber 21 chen harbor 11 farah cobalt 10 alice fable 8 hana delta 23 eli juniper 15
23
ivan birch 4 chen juniper 14 farah fable 3 kim birch 16 eli amber 6 alice birch 11 hana juniper 15
16
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013820
qwen/qwen3.7-plus
awkweave-0013821
Count all input records and print the total.
END{print NR}
eli 83 jules 73 ivan 82 bruno 100 lina 78 bruno 21 gus 47 gus 77
8
kim 49 kim 84 bruno 20 ivan 43 jules 46 eli 117 jules 117 hana 75 alice 75 hana 104
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013821-p1
Count the total number of input records and print the result.
END{print NR}
eli 83 jules 73 ivan 82 bruno 100 lina 78 bruno 21 gus 47 gus 77
8
kim 49 kim 84 bruno 20 ivan 43 jules 46 eli 117 jules 117 hana 75 alice 75 hana 104
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013821
qwen/qwen3.7-plus
awkweave-0013822
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus ember 32 alice birch 61 ivan harbor 65 bruno birch 27 bruno birch 27 alice harbor 2 kim delta 17 alice grove 79
gus ember 32 alice birch 61 ivan harbor 65 bruno birch 27 alice harbor 2 kim delta 17 alice grove 79
ivan delta 47 alice birch 48 eli grove 78 kim ember 76 dina harbor 2 eli grove 78 dina juniper 57 ivan juniper 16 lina fable 74
ivan delta 47 alice birch 48 eli grove 78 kim ember 76 dina harbor 2 dina juniper 57 ivan juniper 16 lina fable 74
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013822-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence.
!seen[$0]++
gus ember 32 alice birch 61 ivan harbor 65 bruno birch 27 bruno birch 27 alice harbor 2 kim delta 17 alice grove 79
gus ember 32 alice birch 61 ivan harbor 65 bruno birch 27 alice harbor 2 kim delta 17 alice grove 79
ivan delta 47 alice birch 48 eli grove 78 kim ember 76 dina harbor 2 eli grove 78 dina juniper 57 ivan juniper 16 lina fable 74
ivan delta 47 alice birch 48 eli grove 78 kim ember 76 dina harbor 2 dina juniper 57 ivan juniper 16 lina fable 74
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013822
qwen/qwen3.7-plus
awkweave-0013823
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
alice amber 15 alice cobalt 31 gus harbor 91 alice indigo 43 lina grove 118 ivan delta 64 alice birch 99 alice cobalt 112 eli ember 58
alice amber 15 alice cobalt 31 gus harbor 91 alice indigo 43 lina grove 118 ivan delta 64 alice birch 99 eli ember 58
bruno harbor 94 lina fable 26 dina ember 17 hana ember 45 kim cobalt 24 hana grove 96
bruno harbor 94 lina fable 26 dina ember 17 kim cobalt 24 hana grove 96
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013823-p1
Retain only the first line for every unique value in column 2, preserving the original input order.
!seen[$2]++
alice amber 15 alice cobalt 31 gus harbor 91 alice indigo 43 lina grove 118 ivan delta 64 alice birch 99 alice cobalt 112 eli ember 58
alice amber 15 alice cobalt 31 gus harbor 91 alice indigo 43 lina grove 118 ivan delta 64 alice birch 99 eli ember 58
bruno harbor 94 lina fable 26 dina ember 17 hana ember 45 kim cobalt 24 hana grove 96
bruno harbor 94 lina fable 26 dina ember 17 kim cobalt 24 hana grove 96
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013823
qwen/qwen3.7-plus
awkweave-0013824
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 16 fable dina 11 grove gus 8 grove eli 4 amber hana 20 harbor gus 26 ember bruno 17 amber chen 24 amber hana 3 ember
alice 16 dina 27 gus 35 eli 39 hana 59 gus 85 bruno 102 chen 126 hana 129
chen 2 ember hana 10 fable chen 11 ember eli 2 harbor ivan 14 juniper chen 30 amber ivan 15 cobalt jules 26 fable kim 5 ember farah 18 birch
chen 2 hana 12 chen 23 eli 25 ivan 39 chen 69 ivan 84 jules 110 kim 115 farah 133
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013824-p1
Output the first column and the cumulative total of the second column for each record, separated by a space.
{s+=$2;print $1,s}
alice 16 fable dina 11 grove gus 8 grove eli 4 amber hana 20 harbor gus 26 ember bruno 17 amber chen 24 amber hana 3 ember
alice 16 dina 27 gus 35 eli 39 hana 59 gus 85 bruno 102 chen 126 hana 129
chen 2 ember hana 10 fable chen 11 ember eli 2 harbor ivan 14 juniper chen 30 amber ivan 15 cobalt jules 26 fable kim 5 ember farah 18 birch
chen 2 hana 12 chen 23 eli 25 ivan 39 chen 69 ivan 84 jules 110 kim 115 farah 133
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013824
qwen/qwen3.7-plus
awkweave-0013825
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 29 1 indigo eli 7 14 birch ivan 3 5 birch eli 5 23 amber farah 12 11 grove jules 27 10 grove dina 12 14 grove jules 20 17 fable alice 10 24 amber
ivan 30 eli 21 ivan 8 eli 28 farah 23 jules 37 dina 26 jules 37 alice 34
farah 23 9 harbor hana 3 12 birch alice 24 15 fable alice 19 1 indigo jules 15 11 indigo chen 7 20 fable gus 21 14 amber alice 23 8 ember
farah 32 hana 15 alice 39 alice 20 jules 26 chen 27 gus 35 alice 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013825-p1
For every line, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
ivan 29 1 indigo eli 7 14 birch ivan 3 5 birch eli 5 23 amber farah 12 11 grove jules 27 10 grove dina 12 14 grove jules 20 17 fable alice 10 24 amber
ivan 30 eli 21 ivan 8 eli 28 farah 23 jules 37 dina 26 jules 37 alice 34
farah 23 9 harbor hana 3 12 birch alice 24 15 fable alice 19 1 indigo jules 15 11 indigo chen 7 20 fable gus 21 14 amber alice 23 8 ember
farah 32 hana 15 alice 39 alice 20 jules 26 chen 27 gus 35 alice 31
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013825
qwen/qwen3.7-plus
awkweave-0013826
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
lina 24 bruno 17 chen 11 farah 3 lina 5 lina 9 eli 17 kim 5
lina pass bruno fail chen fail farah fail lina fail lina fail eli fail kim fail
farah 22 chen 29 lina 18 hana 21 jules 11 eli 12 alice 3 hana 24
farah pass chen pass lina fail hana pass jules fail eli fail alice fail hana pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013826-p1
Show the first column along with 'pass' if the second column is 20 or greater; otherwise, show 'fail'.
{print $1,($2>=20?"pass":"fail")}
lina 24 bruno 17 chen 11 farah 3 lina 5 lina 9 eli 17 kim 5
lina pass bruno fail chen fail farah fail lina fail lina fail eli fail kim fail
farah 22 chen 29 lina 18 hana 21 jules 11 eli 12 alice 3 hana 24
farah pass chen pass lina fail hana pass jules fail eli fail alice fail hana pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013826
qwen/qwen3.7-plus
awkweave-0013827
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno grove 70 gus cobalt 101 dina harbor 117 eli ember 17 alice grove 75 kim juniper 40 dina amber 29 jules birch 112 farah birch 72
BRUNO GUS DINA ELI ALICE KIM DINA JULES FARAH
lina cobalt 38 lina delta 34 hana cobalt 60 farah grove 52 gus fable 105 lina birch 34 kim grove 109 bruno juniper 26 bruno juniper 4 dina delta 57
LINA LINA HANA FARAH GUS LINA KIM BRUNO BRUNO DINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013827-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
bruno grove 70 gus cobalt 101 dina harbor 117 eli ember 17 alice grove 75 kim juniper 40 dina amber 29 jules birch 112 farah birch 72
BRUNO GUS DINA ELI ALICE KIM DINA JULES FARAH
lina cobalt 38 lina delta 34 hana cobalt 60 farah grove 52 gus fable 105 lina birch 34 kim grove 109 bruno juniper 26 bruno juniper 4 dina delta 57
LINA LINA HANA FARAH GUS LINA KIM BRUNO BRUNO DINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013827
qwen/qwen3.7-plus
awkweave-0013828
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
cobalt 77 birch 91 cobalt 71 birch 91 delta 43 ember 46 delta 106
cob bir cob bir del emb del
ember 57 amber 70 indigo 112 delta 60 ember 28 birch 92 delta 30
emb amb ind del emb bir del
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013828-p1
Extract and print the first 3 characters from the first column.
{print substr($1,1,3)}
cobalt 77 birch 91 cobalt 71 birch 91 delta 43 ember 46 delta 106
cob bir cob bir del emb del
ember 57 amber 70 indigo 112 delta 60 ember 28 birch 92 delta 30
emb amb ind del emb bir del
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013828
qwen/qwen3.7-plus
awkweave-0013829
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_juniper 40 birch_grove 105 indigo_harbor 104 ember_amber 9 cobalt_cobalt 98 ember_harbor 31 ember_delta 101 juniper_grove 82 fable_ember 87
delta juniper birch grove indigo harbor ember amber cobalt cobalt ember harbor ember delta juniper grove fable ember
cobalt_grove 22 amber_indigo 42 grove_harbor 29 cobalt_amber 32 harbor_juniper 3 harbor_delta 33 ember_ember 93
cobalt grove amber indigo grove harbor cobalt amber harbor juniper harbor delta ember ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0013829-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
delta_juniper 40 birch_grove 105 indigo_harbor 104 ember_amber 9 cobalt_cobalt 98 ember_harbor 31 ember_delta 101 juniper_grove 82 fable_ember 87
delta juniper birch grove indigo harbor ember amber cobalt cobalt ember harbor ember delta juniper grove fable ember
cobalt_grove 22 amber_indigo 42 grove_harbor 29 cobalt_amber 32 harbor_juniper 3 harbor_delta 33 ember_ember 93
cobalt grove amber indigo grove harbor cobalt amber harbor juniper harbor delta ember ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0013829
qwen/qwen3.7-plus
awkweave-0013830
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)}
hana juniper 60 pending farah grove 80 ready kim amber 66 active gus harbor 1 ready lina harbor 36 active kim fable 15 pending
pending 60 juniper hana ready 80 grove farah active 66 amber kim ready 1 harbor gus active 36 harbor lina pending 15 fable kim
gus fable 65 active hana grove 46 failed jules fable 99 failed dina juniper 13 pending lina ember 47 pending jules fable 47 ready alice birch 64 failed farah juniper 22 active jules indigo 59 failed dina birch 87 active
active 65 fable gus failed 46 grove hana failed 99 fable jules pending 13 juniper dina pending 47 ember lina ready 47 fable jules failed 64 birch alice active 22 juniper farah failed 59 indigo jules active 87 birch dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null