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-0010770-p1
Output every line that does not contain the exact substring 'amber'.
$0 !~ /amber/
grove 34 failed cobalt 1 pending juniper 77 ready amber 84 active fable 74 closed birch 0 closed birch 6 pending juniper 44 pending delta 42 active harbor 40 paused amber 999 active
grove 34 failed cobalt 1 pending juniper 77 ready fable 74 closed birch 0 closed birch 6 pending juniper 44 pending delta 42 active harbor 40 paused
ember 38 pending fable 34 paused harbor 90 pending delta 65 active fable 25 failed harbor 54 ready juniper 77 active harbor 56 active amber 999 active
ember 38 pending fable 34 paused harbor 90 pending delta 65 active fable 25 failed harbor 54 ready juniper 77 active harbor 56 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010770
qwen/qwen3.7-plus
awkweave-0010771
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
lina juniper 24 gus indigo 40 kim harbor 45 lina fable 98 gus grove 120 eli cobalt 38 bruno indigo 87 eli delta 75 lina juniper 44 bruno amber 111
kim harbor 45 lina fable 98 gus grove 120 eli cobalt 38
farah delta 67 gus cobalt 78 hana birch 85 ivan ember 70 alice fable 3 chen indigo 68 gus amber 39 eli fable 31
hana birch 85 ivan ember 70 alice fable 3 chen indigo 68
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010771-p1
Print lines numbered 3 through 6, inclusive of both the start and end lines.
NR >= 3 && NR <= 6
lina juniper 24 gus indigo 40 kim harbor 45 lina fable 98 gus grove 120 eli cobalt 38 bruno indigo 87 eli delta 75 lina juniper 44 bruno amber 111
kim harbor 45 lina fable 98 gus grove 120 eli cobalt 38
farah delta 67 gus cobalt 78 hana birch 85 ivan ember 70 alice fable 3 chen indigo 68 gus amber 39 eli fable 31
hana birch 85 ivan ember 70 alice fable 3 chen indigo 68
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010771
qwen/qwen3.7-plus
awkweave-0010772
Output only the first 3 records.
NR <= 3
kim 70 birch eli 14 cobalt eli 75 delta farah 8 fable eli 50 delta chen 14 birch
kim 70 birch eli 14 cobalt eli 75 delta
jules 27 indigo ivan 116 fable alice 67 fable ivan 56 amber hana 94 cobalt chen 10 indigo bruno 77 grove chen 5 birch eli 107 ember eli 18 fable
jules 27 indigo ivan 116 fable alice 67 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010772-p1
Output only the first three records from the input.
NR <= 3
kim 70 birch eli 14 cobalt eli 75 delta farah 8 fable eli 50 delta chen 14 birch
kim 70 birch eli 14 cobalt eli 75 delta
jules 27 indigo ivan 116 fable alice 67 fable ivan 56 amber hana 94 cobalt chen 10 indigo bruno 77 grove chen 5 birch eli 107 ember eli 18 fable
jules 27 indigo ivan 116 fable alice 67 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010772
qwen/qwen3.7-plus
awkweave-0010773
Skip the first line and print every remaining line unchanged.
NR > 1
farah 112 harbor alice 17 amber dina 11 birch ivan 14 juniper bruno 17 fable ivan 6 grove lina 102 ember gus 16 fable farah 106 fable jules 34 grove
alice 17 amber dina 11 birch ivan 14 juniper bruno 17 fable ivan 6 grove lina 102 ember gus 16 fable farah 106 fable jules 34 grove
alice 89 juniper alice 15 ember alice 40 juniper hana 48 harbor alice 116 juniper ivan 27 amber alice 64 harbor alice 37 cobalt eli 24 ember
alice 15 ember alice 40 juniper hana 48 harbor alice 116 juniper ivan 27 amber alice 64 harbor alice 37 cobalt eli 24 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010773-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
farah 112 harbor alice 17 amber dina 11 birch ivan 14 juniper bruno 17 fable ivan 6 grove lina 102 ember gus 16 fable farah 106 fable jules 34 grove
alice 17 amber dina 11 birch ivan 14 juniper bruno 17 fable ivan 6 grove lina 102 ember gus 16 fable farah 106 fable jules 34 grove
alice 89 juniper alice 15 ember alice 40 juniper hana 48 harbor alice 116 juniper ivan 27 amber alice 64 harbor alice 37 cobalt eli 24 ember
alice 15 ember alice 40 juniper hana 48 harbor alice 116 juniper ivan 27 amber alice 64 harbor alice 37 cobalt eli 24 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010773
qwen/qwen3.7-plus
awkweave-0010774
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
lina failed 14 eli paused 74 eli ready 33 eli paused 64 hana closed 60 jules ready 24 eli active 1
0
gus failed 69 hana ready 63 bruno closed 49 chen active 50 chen failed 25 farah failed 60
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010774-p1
Count the number of records where the second column contains 'pending', and output 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
lina failed 14 eli paused 74 eli ready 33 eli paused 64 hana closed 60 jules ready 24 eli active 1
0
gus failed 69 hana ready 63 bruno closed 49 chen active 50 chen failed 25 farah failed 60
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010774
qwen/qwen3.7-plus
awkweave-0010775
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
21 ivan juniper 21 jules juniper 20 ivan harbor 2 dina indigo 29 farah ember 29 bruno ember 15 alice juniper 1 kim birch
138
11 alice harbor 19 gus delta 11 jules amber 3 jules grove 25 eli birch 9 alice fable 30 dina delta
108
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010775-p1
Compute and display the total sum of all integer values found in the first column.
{s+=$1}END{print s+0}
21 ivan juniper 21 jules juniper 20 ivan harbor 2 dina indigo 29 farah ember 29 bruno ember 15 alice juniper 1 kim birch
138
11 alice harbor 19 gus delta 11 jules amber 3 jules grove 25 eli birch 9 alice fable 30 dina delta
108
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010775
qwen/qwen3.7-plus
awkweave-0010776
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 13 dina cobalt 19 alice grove 16 bruno amber 21 dina fable 28 jules ember 7 ivan juniper 18 kim ember 24 bruno grove 30 gus
19.56
grove 2 bruno delta 30 chen juniper 11 lina ember 5 alice juniper 2 eli cobalt 6 bruno delta 9 chen birch 13 hana juniper 18 jules
10.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010776-p1
Calculate and print the average of the values in the second column, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ember 13 dina cobalt 19 alice grove 16 bruno amber 21 dina fable 28 jules ember 7 ivan juniper 18 kim ember 24 bruno grove 30 gus
19.56
grove 2 bruno delta 30 chen juniper 11 lina ember 5 alice juniper 2 eli cobalt 6 bruno delta 9 chen birch 13 hana juniper 18 jules
10.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010776
qwen/qwen3.7-plus
awkweave-0010777
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 16 dina amber 18 farah indigo 11 ivan fable 4 hana grove 15 lina harbor 3 bruno juniper 27 jules fable 11 kim amber 4 jules
3
amber 28 alice delta 13 lina indigo 8 bruno fable 1 jules fable 5 jules birch 18 lina fable 6 bruno fable 22 bruno indigo 26 kim fable 6 farah
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010777-p1
Identify and output the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 16 dina amber 18 farah indigo 11 ivan fable 4 hana grove 15 lina harbor 3 bruno juniper 27 jules fable 11 kim amber 4 jules
3
amber 28 alice delta 13 lina indigo 8 bruno fable 1 jules fable 5 jules birch 18 lina fable 6 bruno fable 22 bruno indigo 26 kim fable 6 farah
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010777
qwen/qwen3.7-plus
awkweave-0010778
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 7 dina indigo 28 dina amber 11 eli harbor 24 kim fable 19 dina cobalt 7 lina cobalt 17 farah
28
cobalt 25 alice birch 9 alice fable 22 eli harbor 3 dina grove 25 jules harbor 2 kim indigo 18 farah harbor 26 ivan juniper 25 eli
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010778-p1
Identify and output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 7 dina indigo 28 dina amber 11 eli harbor 24 kim fable 19 dina cobalt 7 lina cobalt 17 farah
28
cobalt 25 alice birch 9 alice fable 22 eli harbor 3 dina grove 25 jules harbor 2 kim indigo 18 farah harbor 26 ivan juniper 25 eli
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010778
qwen/qwen3.7-plus
awkweave-0010779
Count all input records and print the total.
END{print NR}
ivan 109 lina 2 eli 117 ivan 118 eli 66 farah 100 kim 83 chen 12 alice 58 lina 37
10
alice 50 farah 114 hana 65 bruno 99 alice 91 farah 73 ivan 99 farah 115 alice 103 gus 66
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010779-p1
Calculate the total number of input records and display the count.
END{print NR}
ivan 109 lina 2 eli 117 ivan 118 eli 66 farah 100 kim 83 chen 12 alice 58 lina 37
10
alice 50 farah 114 hana 65 bruno 99 alice 91 farah 73 ivan 99 farah 115 alice 103 gus 66
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010779
qwen/qwen3.7-plus
awkweave-0010780
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno harbor 93 hana grove 22 eli juniper 19 ivan amber 25 jules amber 4 chen juniper 53 alice cobalt 82 eli juniper 19 gus ember 35 ivan harbor 44
bruno harbor 93 hana grove 22 eli juniper 19 ivan amber 25 jules amber 4 chen juniper 53 alice cobalt 82 gus ember 35 ivan harbor 44
chen juniper 22 hana birch 27 hana delta 25 chen delta 85 lina cobalt 94 gus fable 101 ivan grove 115 lina cobalt 94 farah ember 63 alice cobalt 70
chen juniper 22 hana birch 27 hana delta 25 chen delta 85 lina cobalt 94 gus fable 101 ivan grove 115 farah ember 63 alice cobalt 70
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010780-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
bruno harbor 93 hana grove 22 eli juniper 19 ivan amber 25 jules amber 4 chen juniper 53 alice cobalt 82 eli juniper 19 gus ember 35 ivan harbor 44
bruno harbor 93 hana grove 22 eli juniper 19 ivan amber 25 jules amber 4 chen juniper 53 alice cobalt 82 gus ember 35 ivan harbor 44
chen juniper 22 hana birch 27 hana delta 25 chen delta 85 lina cobalt 94 gus fable 101 ivan grove 115 lina cobalt 94 farah ember 63 alice cobalt 70
chen juniper 22 hana birch 27 hana delta 25 chen delta 85 lina cobalt 94 gus fable 101 ivan grove 115 farah ember 63 alice cobalt 70
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010780
qwen/qwen3.7-plus
awkweave-0010781
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
alice cobalt 107 farah harbor 106 gus harbor 73 eli harbor 46 dina indigo 24 alice juniper 39 eli harbor 1
alice cobalt 107 farah harbor 106 dina indigo 24 alice juniper 39
ivan harbor 18 kim harbor 86 eli delta 52 eli ember 46 eli fable 69 kim indigo 77
ivan harbor 18 eli delta 52 eli ember 46 eli fable 69 kim indigo 77
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010781-p1
Retain only the initial line for every unique value in the second column, preserving the input order.
!seen[$2]++
alice cobalt 107 farah harbor 106 gus harbor 73 eli harbor 46 dina indigo 24 alice juniper 39 eli harbor 1
alice cobalt 107 farah harbor 106 dina indigo 24 alice juniper 39
ivan harbor 18 kim harbor 86 eli delta 52 eli ember 46 eli fable 69 kim indigo 77
ivan harbor 18 eli delta 52 eli ember 46 eli fable 69 kim indigo 77
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010781
qwen/qwen3.7-plus
awkweave-0010782
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 5 fable bruno 12 grove gus 8 grove kim 13 juniper eli 14 delta jules 23 birch ivan 13 ember lina 17 amber jules 7 harbor
farah 5 bruno 17 gus 25 kim 38 eli 52 jules 75 ivan 88 lina 105 jules 112
alice 28 amber farah 5 grove dina 15 ember chen 30 harbor jules 18 amber lina 29 cobalt jules 8 indigo eli 12 cobalt alice 25 ember
alice 28 farah 33 dina 48 chen 78 jules 96 lina 125 jules 133 eli 145 alice 170
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010782-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}
farah 5 fable bruno 12 grove gus 8 grove kim 13 juniper eli 14 delta jules 23 birch ivan 13 ember lina 17 amber jules 7 harbor
farah 5 bruno 17 gus 25 kim 38 eli 52 jules 75 ivan 88 lina 105 jules 112
alice 28 amber farah 5 grove dina 15 ember chen 30 harbor jules 18 amber lina 29 cobalt jules 8 indigo eli 12 cobalt alice 25 ember
alice 28 farah 33 dina 48 chen 78 jules 96 lina 125 jules 133 eli 145 alice 170
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010782
qwen/qwen3.7-plus
awkweave-0010783
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 2 16 fable farah 19 6 cobalt kim 10 3 indigo ivan 1 19 fable chen 27 8 harbor dina 18 20 harbor gus 27 15 birch eli 15 4 amber hana 27 23 juniper farah 25 14 indigo
jules 18 farah 25 kim 13 ivan 20 chen 35 dina 38 gus 42 eli 19 hana 50 farah 39
lina 18 9 cobalt alice 9 11 juniper bruno 1 5 juniper lina 13 7 ember gus 10 5 amber alice 30 29 birch
lina 27 alice 20 bruno 6 lina 20 gus 15 alice 59
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010783-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 2 16 fable farah 19 6 cobalt kim 10 3 indigo ivan 1 19 fable chen 27 8 harbor dina 18 20 harbor gus 27 15 birch eli 15 4 amber hana 27 23 juniper farah 25 14 indigo
jules 18 farah 25 kim 13 ivan 20 chen 35 dina 38 gus 42 eli 19 hana 50 farah 39
lina 18 9 cobalt alice 9 11 juniper bruno 1 5 juniper lina 13 7 ember gus 10 5 amber alice 30 29 birch
lina 27 alice 20 bruno 6 lina 20 gus 15 alice 59
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010783
qwen/qwen3.7-plus
awkweave-0010784
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
eli 5 alice 9 kim 20 hana 11 gus 7 eli 2 gus 16 chen 21
eli fail alice fail kim pass hana fail gus fail eli fail gus fail chen pass
jules 5 chen 10 farah 24 ivan 3 jules 14 chen 10
jules fail chen fail farah pass ivan fail jules fail chen fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010784-p1
Output the first column and print 'pass' if the second column is 20 or greater; otherwise, print 'fail'.
{print $1,($2>=20?"pass":"fail")}
eli 5 alice 9 kim 20 hana 11 gus 7 eli 2 gus 16 chen 21
eli fail alice fail kim pass hana fail gus fail eli fail gus fail chen pass
jules 5 chen 10 farah 24 ivan 3 jules 14 chen 10
jules fail chen fail farah pass ivan fail jules fail chen fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010784
qwen/qwen3.7-plus
awkweave-0010785
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
gus fable 77 ivan grove 81 kim fable 44 chen fable 87 jules birch 92 jules delta 73 eli indigo 49 alice grove 26 eli fable 20
FABLE GROVE FABLE FABLE BIRCH DELTA INDIGO GROVE FABLE
gus harbor 59 chen delta 90 dina birch 43 jules ember 32 bruno juniper 47 chen grove 25 alice harbor 81 bruno ember 21 dina fable 52
HARBOR DELTA BIRCH EMBER JUNIPER GROVE HARBOR EMBER FABLE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010785-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
gus fable 77 ivan grove 81 kim fable 44 chen fable 87 jules birch 92 jules delta 73 eli indigo 49 alice grove 26 eli fable 20
FABLE GROVE FABLE FABLE BIRCH DELTA INDIGO GROVE FABLE
gus harbor 59 chen delta 90 dina birch 43 jules ember 32 bruno juniper 47 chen grove 25 alice harbor 81 bruno ember 21 dina fable 52
HARBOR DELTA BIRCH EMBER JUNIPER GROVE HARBOR EMBER FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010785
qwen/qwen3.7-plus
awkweave-0010786
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
juniper 104 birch 21 cobalt 28 juniper 52 delta 84 indigo 29
jun bir cob jun del ind
grove 17 indigo 4 delta 78 cobalt 82 grove 89 ember 27 fable 44 cobalt 85
gro ind del cob gro emb fab cob
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010786-p1
Extract and print the first 3 characters from the first column, starting at position 1.
{print substr($1,1,3)}
juniper 104 birch 21 cobalt 28 juniper 52 delta 84 indigo 29
jun bir cob jun del ind
grove 17 indigo 4 delta 78 cobalt 82 grove 89 ember 27 fable 44 cobalt 85
gro ind del cob gro emb fab cob
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010786
qwen/qwen3.7-plus
awkweave-0010787
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_grove 2 delta_amber 92 delta_cobalt 43 amber_ember 15 fable_juniper 29 fable_grove 85 indigo_amber 93
amber grove delta amber delta cobalt amber ember fable juniper fable grove indigo amber
birch_fable 76 grove_grove 112 harbor_juniper 22 fable_delta 105 grove_birch 12 amber_delta 107 harbor_indigo 37 amber_juniper 64 fable_harbor 37
birch fable grove grove harbor juniper fable delta grove birch amber delta harbor indigo amber juniper fable harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010787-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
amber_grove 2 delta_amber 92 delta_cobalt 43 amber_ember 15 fable_juniper 29 fable_grove 85 indigo_amber 93
amber grove delta amber delta cobalt amber ember fable juniper fable grove indigo amber
birch_fable 76 grove_grove 112 harbor_juniper 22 fable_delta 105 grove_birch 12 amber_delta 107 harbor_indigo 37 amber_juniper 64 fable_harbor 37
birch fable grove grove harbor juniper fable delta grove birch amber delta harbor indigo amber juniper fable harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010787
qwen/qwen3.7-plus
awkweave-0010788
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)}
eli fable 34 paused lina birch 74 closed chen indigo 113 pending hana fable 95 paused farah delta 76 closed ivan fable 113 pending lina delta 79 pending eli juniper 90 closed
paused 34 fable eli closed 74 birch lina pending 113 indigo chen paused 95 fable hana closed 76 delta farah pending 113 fable ivan pending 79 delta lina closed 90 juniper eli
gus cobalt 82 failed kim ember 0 ready dina indigo 28 active bruno delta 26 active eli harbor 47 paused lina amber 97 failed dina indigo 35 pending gus juniper 113 closed eli cobalt 76 closed hana harbor 41 active
failed 82 cobalt gus ready 0 ember kim active 28 indigo dina active 26 delta bruno paused 47 harbor eli failed 97 amber lina pending 35 indigo dina closed 113 juniper gus closed 76 cobalt eli active 41 harbor hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010788-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)}
eli fable 34 paused lina birch 74 closed chen indigo 113 pending hana fable 95 paused farah delta 76 closed ivan fable 113 pending lina delta 79 pending eli juniper 90 closed
paused 34 fable eli closed 74 birch lina pending 113 indigo chen paused 95 fable hana closed 76 delta farah pending 113 fable ivan pending 79 delta lina closed 90 juniper eli
gus cobalt 82 failed kim ember 0 ready dina indigo 28 active bruno delta 26 active eli harbor 47 paused lina amber 97 failed dina indigo 35 pending gus juniper 113 closed eli cobalt 76 closed hana harbor 41 active
failed 82 cobalt gus ready 0 ember kim active 28 indigo dina active 26 delta bruno paused 47 harbor eli failed 97 amber lina pending 35 indigo dina closed 113 juniper gus closed 76 cobalt eli active 41 harbor hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010788
qwen/qwen3.7-plus
awkweave-0010789
Print the number of whitespace-separated fields on each line.
{print NF}
chen fable 66 pending lina indigo 70 failed ivan ember 17 pending eli birch 14 active jules grove 64 active lina harbor 39 paused chen juniper 39 closed lina amber 91 closed
4 4 4 4 4 4 4 4
eli cobalt 15 failed lina grove 18 pending gus juniper 49 pending jules ember 90 active bruno juniper 39 failed eli fable 24 ready eli ember 109 pending chen harbor 79 paused bruno ember 117 active ivan fable 35 failed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010789-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
chen fable 66 pending lina indigo 70 failed ivan ember 17 pending eli birch 14 active jules grove 64 active lina harbor 39 paused chen juniper 39 closed lina amber 91 closed
4 4 4 4 4 4 4 4
eli cobalt 15 failed lina grove 18 pending gus juniper 49 pending jules ember 90 active bruno juniper 39 failed eli fable 24 ready eli ember 109 pending chen harbor 79 paused bruno ember 117 active ivan fable 35 failed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010789
qwen/qwen3.7-plus
awkweave-0010800
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha indigo 43 alpha cobalt 77 beta juniper 95 gamma birch 116 gamma grove 88 beta birch 91 beta ember 79 gamma delta 9 alpha grove 38
3
delta juniper 54 alpha delta 90 alpha indigo 78 alpha juniper 79 beta cobalt 2 beta delta 23 beta juniper 2
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010800-p1
Output just the number of unique entries found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
alpha indigo 43 alpha cobalt 77 beta juniper 95 gamma birch 116 gamma grove 88 beta birch 91 beta ember 79 gamma delta 9 alpha grove 38
3
delta juniper 54 alpha delta 90 alpha indigo 78 alpha juniper 79 beta cobalt 2 beta delta 23 beta juniper 2
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010800
qwen/qwen3.7-plus
awkweave-0010801
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}
kim 1 0 lina 19 23 kim 13 23 alice 23 21 gus 15 23 bruno 28 16 eli 10 20
lina 0.83 kim 0.57 alice 1.10 gus 0.65 bruno 1.75 eli 0.50
gus 8 0 dina 18 22 kim 23 10 dina 2 14 farah 26 30 ivan 10 12 farah 28 12
dina 0.82 kim 2.30 dina 0.14 farah 0.87 ivan 0.83 farah 2.33
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010801-p1
For every row where the third column is not zero, display the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 1 0 lina 19 23 kim 13 23 alice 23 21 gus 15 23 bruno 28 16 eli 10 20
lina 0.83 kim 0.57 alice 1.10 gus 0.65 bruno 1.75 eli 0.50
gus 8 0 dina 18 22 kim 23 10 dina 2 14 farah 26 30 ivan 10 12 farah 28 12
dina 0.82 kim 2.30 dina 0.14 farah 0.87 ivan 0.83 farah 2.33
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010801
qwen/qwen3.7-plus
awkweave-0010802
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]}
ivan grove 26 jules ember 19 ivan amber 11 alice fable 20 dina ember 27 eli amber 12
dina ember 27 ivan grove 26 alice fable 20
eli indigo 9 bruno juniper 1 jules amber 30 bruno amber 1 alice birch 3 gus delta 4 alice delta 20 gus birch 18 hana harbor 10
jules amber 30 alice delta 20 gus birch 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010802-p1
Display the full rows with the top three numeric values in column 3, sorted in descending order; keep 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]}
ivan grove 26 jules ember 19 ivan amber 11 alice fable 20 dina ember 27 eli amber 12
dina ember 27 ivan grove 26 alice fable 20
eli indigo 9 bruno juniper 1 jules amber 30 bruno amber 1 alice birch 3 gus delta 4 alice delta 20 gus birch 18 hana harbor 10
jules amber 30 alice delta 20 gus birch 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010802
qwen/qwen3.7-plus
awkweave-0010803
For each line, output fields 5 and 1, in that order.
{print $5, $1}
closed pending harbor chen lina cobalt active paused grove farah dina indigo failed active cobalt gus kim ember closed failed indigo lina eli birch failed active juniper bruno ivan grove failed active ember hana dina delta ready closed amber eli kim delta failed failed grove jules alice delta closed failed ember gus el...
lina closed dina active kim failed eli closed ivan failed dina failed kim ready alice failed eli closed bruno pending
closed paused harbor bruno jules ember closed ready cobalt hana lina birch ready failed amber bruno jules amber ready ready fable ivan eli delta ready closed fable farah eli ember ready pending amber farah bruno amber
jules closed lina closed jules ready eli ready eli ready bruno ready
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010803-p1
Print field 5 followed by field 1 for each line.
{print $5, $1}
closed pending harbor chen lina cobalt active paused grove farah dina indigo failed active cobalt gus kim ember closed failed indigo lina eli birch failed active juniper bruno ivan grove failed active ember hana dina delta ready closed amber eli kim delta failed failed grove jules alice delta closed failed ember gus el...
lina closed dina active kim failed eli closed ivan failed dina failed kim ready alice failed eli closed bruno pending
closed paused harbor bruno jules ember closed ready cobalt hana lina birch ready failed amber bruno jules amber ready ready fable ivan eli delta ready closed fable farah eli ember ready pending amber farah bruno amber
jules closed lina closed jules ready eli ready eli ready bruno ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010803
qwen/qwen3.7-plus
awkweave-0010804
Print the last field of every input line.
{print $NF}
gus indigo active gus indigo failed kim cobalt active kim delta pending gus ember failed dina harbor failed farah juniper paused
active failed active pending failed failed paused
ivan juniper failed alice indigo closed bruno grove closed eli juniper failed jules ember ready lina indigo active eli birch pending eli indigo paused
failed closed closed failed ready active pending paused
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010804-p1
Output the final field from every line of input.
{print $NF}
gus indigo active gus indigo failed kim cobalt active kim delta pending gus ember failed dina harbor failed farah juniper paused
active failed active pending failed failed paused
ivan juniper failed alice indigo closed bruno grove closed eli juniper failed jules ember ready lina indigo active eli birch pending eli indigo paused
failed closed closed failed ready active pending paused
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010804
qwen/qwen3.7-plus
awkweave-0010805
Print the complete records where column 2 is greater than 42.
$2 > 42
pending 95 harbor failed 77 amber paused 50 fable paused 74 juniper pending 110 amber paused 71 grove failed 52 cobalt ready 48 harbor paused 97 juniper paused 118 indigo
pending 95 harbor failed 77 amber paused 50 fable paused 74 juniper pending 110 amber paused 71 grove failed 52 cobalt ready 48 harbor paused 97 juniper paused 118 indigo
active 109 juniper failed 14 amber closed 80 ember active 58 indigo failed 74 birch active 6 juniper pending 72 juniper failed 4 fable
active 109 juniper closed 80 ember active 58 indigo failed 74 birch pending 72 juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010805-p1
Show the entire records where the value in column 2 exceeds 42.
$2 > 42
pending 95 harbor failed 77 amber paused 50 fable paused 74 juniper pending 110 amber paused 71 grove failed 52 cobalt ready 48 harbor paused 97 juniper paused 118 indigo
pending 95 harbor failed 77 amber paused 50 fable paused 74 juniper pending 110 amber paused 71 grove failed 52 cobalt ready 48 harbor paused 97 juniper paused 118 indigo
active 109 juniper failed 14 amber closed 80 ember active 58 indigo failed 74 birch active 6 juniper pending 72 juniper failed 4 fable
active 109 juniper closed 80 ember active 58 indigo failed 74 birch pending 72 juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010805
qwen/qwen3.7-plus
awkweave-0010806
Show whole lines whose 3rd field is between 11 and 25, inclusive.
$3 >= 11 && $3 <= 25
eli failed 26 ember jules paused 22 ember lina closed 5 fable alice ready 1 juniper kim closed 27 amber bruno active 8 cobalt chen failed 5 amber jules closed 13 cobalt
jules paused 22 ember jules closed 13 cobalt
eli active 27 delta gus active 26 juniper kim closed 28 fable kim paused 30 fable dina failed 27 amber lina closed 9 harbor gus failed 16 grove lina failed 13 fable dina ready 23 amber bruno paused 4 delta
gus failed 16 grove lina failed 13 fable dina ready 23 amber
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010806-p1
Display complete lines where the third field falls within the inclusive range of 11 to 25.
$3 >= 11 && $3 <= 25
eli failed 26 ember jules paused 22 ember lina closed 5 fable alice ready 1 juniper kim closed 27 amber bruno active 8 cobalt chen failed 5 amber jules closed 13 cobalt
jules paused 22 ember jules closed 13 cobalt
eli active 27 delta gus active 26 juniper kim closed 28 fable kim paused 30 fable dina failed 27 amber lina closed 9 harbor gus failed 16 grove lina failed 13 fable dina ready 23 amber bruno paused 4 delta
gus failed 16 grove lina failed 13 fable dina ready 23 amber
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010806
qwen/qwen3.7-plus
awkweave-0010807
Print column 3 only for rows where column 2 is exactly paused.
$2 == "paused"{print $3}
27 active farah birch 14 pending farah ember 30 failed alice juniper 46 ready gus fable 55 paused ivan juniper 1 active lina ember 89 active jules fable 74 pending farah juniper 36 ready bruno harbor
ivan
5 pending alice fable 78 ready eli cobalt 103 closed hana cobalt 22 paused ivan delta 14 failed gus grove 102 pending lina harbor
ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010807-p1
Output only the third column for rows where the second column is exactly 'paused'.
$2 == "paused"{print $3}
27 active farah birch 14 pending farah ember 30 failed alice juniper 46 ready gus fable 55 paused ivan juniper 1 active lina ember 89 active jules fable 74 pending farah juniper 36 ready bruno harbor
ivan
5 pending alice fable 78 ready eli cobalt 103 closed hana cobalt 22 paused ivan delta 14 failed gus grove 102 pending lina harbor
ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010807
qwen/qwen3.7-plus
awkweave-0010808
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
68 ember ERROR 9 amber INFO 38 juniper DEBUG 111 ember DEBUG 91 ember DEBUG 45 harbor INFO 16 fable ERROR 108 amber DEBUG 49 cobalt WARN
68 ember ERROR 16 fable ERROR
17 grove ERROR 85 juniper INFO 6 cobalt DEBUG 13 fable ERROR 101 grove WARN 98 juniper WARN 22 delta DEBUG 98 delta DEBUG 111 fable WARN
17 grove ERROR 13 fable ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010808-p1
Print all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
68 ember ERROR 9 amber INFO 38 juniper DEBUG 111 ember DEBUG 91 ember DEBUG 45 harbor INFO 16 fable ERROR 108 amber DEBUG 49 cobalt WARN
68 ember ERROR 16 fable ERROR
17 grove ERROR 85 juniper INFO 6 cobalt DEBUG 13 fable ERROR 101 grove WARN 98 juniper WARN 22 delta DEBUG 98 delta DEBUG 111 fable WARN
17 grove ERROR 13 fable ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010808
qwen/qwen3.7-plus
awkweave-0010809
Print every line except those containing the exact text amber.
$0 !~ /amber/
grove 115 closed indigo 46 active birch 72 pending fable 114 active delta 53 paused cobalt 43 active amber 999 active
grove 115 closed indigo 46 active birch 72 pending fable 114 active delta 53 paused cobalt 43 active
indigo 27 active birch 3 failed birch 17 active juniper 35 ready ember 6 closed birch 22 active delta 46 closed juniper 66 failed cobalt 15 pending ember 113 active amber 999 active
indigo 27 active birch 3 failed birch 17 active juniper 35 ready ember 6 closed birch 22 active delta 46 closed juniper 66 failed cobalt 15 pending ember 113 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010809-p1
Output every line that does not contain the exact string 'amber'.
$0 !~ /amber/
grove 115 closed indigo 46 active birch 72 pending fable 114 active delta 53 paused cobalt 43 active amber 999 active
grove 115 closed indigo 46 active birch 72 pending fable 114 active delta 53 paused cobalt 43 active
indigo 27 active birch 3 failed birch 17 active juniper 35 ready ember 6 closed birch 22 active delta 46 closed juniper 66 failed cobalt 15 pending ember 113 active amber 999 active
indigo 27 active birch 3 failed birch 17 active juniper 35 ready ember 6 closed birch 22 active delta 46 closed juniper 66 failed cobalt 15 pending ember 113 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010809
qwen/qwen3.7-plus
awkweave-0010810
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
farah amber 88 jules harbor 7 kim grove 96 lina amber 104 bruno indigo 84 dina ember 77 ivan amber 91 alice grove 12 jules juniper 102
jules harbor 7 kim grove 96 lina amber 104
bruno grove 30 farah delta 97 hana grove 56 ivan indigo 67 hana fable 56 bruno fable 12 ivan indigo 36 bruno harbor 87
farah delta 97 hana grove 56 ivan indigo 67
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010810-p1
Print lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
farah amber 88 jules harbor 7 kim grove 96 lina amber 104 bruno indigo 84 dina ember 77 ivan amber 91 alice grove 12 jules juniper 102
jules harbor 7 kim grove 96 lina amber 104
bruno grove 30 farah delta 97 hana grove 56 ivan indigo 67 hana fable 56 bruno fable 12 ivan indigo 36 bruno harbor 87
farah delta 97 hana grove 56 ivan indigo 67
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010810
qwen/qwen3.7-plus
awkweave-0010811
Output only the first 2 records.
NR <= 2
ivan 85 cobalt kim 27 delta kim 54 cobalt alice 60 harbor eli 52 ember chen 66 amber bruno 56 delta
ivan 85 cobalt kim 27 delta
farah 32 grove gus 8 harbor lina 55 delta hana 113 ember ivan 74 birch alice 119 ember lina 12 fable kim 7 grove
farah 32 grove gus 8 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010811-p1
Output only the first two records.
NR <= 2
ivan 85 cobalt kim 27 delta kim 54 cobalt alice 60 harbor eli 52 ember chen 66 amber bruno 56 delta
ivan 85 cobalt kim 27 delta
farah 32 grove gus 8 harbor lina 55 delta hana 113 ember ivan 74 birch alice 119 ember lina 12 fable kim 7 grove
farah 32 grove gus 8 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010811
qwen/qwen3.7-plus
awkweave-0010812
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 53 cobalt lina 55 juniper chen 118 amber kim 115 juniper alice 22 delta gus 60 delta
lina 55 juniper chen 118 amber kim 115 juniper alice 22 delta gus 60 delta
gus 31 fable chen 50 ember hana 30 ember kim 11 ember hana 45 delta kim 54 harbor kim 36 ember chen 113 amber jules 79 indigo
chen 50 ember hana 30 ember kim 11 ember hana 45 delta kim 54 harbor kim 36 ember chen 113 amber jules 79 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010812-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
bruno 53 cobalt lina 55 juniper chen 118 amber kim 115 juniper alice 22 delta gus 60 delta
lina 55 juniper chen 118 amber kim 115 juniper alice 22 delta gus 60 delta
gus 31 fable chen 50 ember hana 30 ember kim 11 ember hana 45 delta kim 54 harbor kim 36 ember chen 113 amber jules 79 indigo
chen 50 ember hana 30 ember kim 11 ember hana 45 delta kim 54 harbor kim 36 ember chen 113 amber jules 79 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010812
qwen/qwen3.7-plus
awkweave-0010813
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
alice failed 44 hana pending 109 jules active 32 dina failed 8 alice paused 37 chen failed 20
0
gus paused 114 jules ready 38 kim failed 27 farah ready 103 jules paused 16 farah pending 21 dina paused 45 lina closed 28
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010813-p1
Tally the entries marked 'closed' in the second column; output 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
alice failed 44 hana pending 109 jules active 32 dina failed 8 alice paused 37 chen failed 20
0
gus paused 114 jules ready 38 kim failed 27 farah ready 103 jules paused 16 farah pending 21 dina paused 45 lina closed 28
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010813
qwen/qwen3.7-plus
awkweave-0010814
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
12 delta gus 12 delta gus 20 harbor hana 13 harbor ivan 11 birch kim 8 harbor alice 29 indigo bruno
105
20 harbor gus 3 fable chen 27 amber hana 8 amber farah 23 indigo eli 19 indigo jules 20 fable ivan 7 birch gus
127
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010814-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
12 delta gus 12 delta gus 20 harbor hana 13 harbor ivan 11 birch kim 8 harbor alice 29 indigo bruno
105
20 harbor gus 3 fable chen 27 amber hana 8 amber farah 23 indigo eli 19 indigo jules 20 fable ivan 7 birch gus
127
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010814
qwen/qwen3.7-plus
awkweave-0010815
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper bruno 20 indigo ivan 13 juniper gus 8 amber alice 25 juniper alice 6 harbor gus 9
13.50
juniper jules 1 juniper alice 6 birch eli 27 cobalt ivan 27 fable eli 26 ember chen 20 juniper kim 10 juniper gus 5 ember bruno 13 fable chen 22
15.70
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010815-p1
Output the average of the third column, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
juniper bruno 20 indigo ivan 13 juniper gus 8 amber alice 25 juniper alice 6 harbor gus 9
13.50
juniper jules 1 juniper alice 6 birch eli 27 cobalt ivan 27 fable eli 26 ember chen 20 juniper kim 10 juniper gus 5 ember bruno 13 fable chen 22
15.70
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010815
qwen/qwen3.7-plus
awkweave-0010816
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
alice 29 birch farah 17 amber chen 30 ember hana 5 grove eli 21 juniper dina 22 harbor ivan 30 amber chen 29 cobalt ivan 15 indigo
5
ivan 24 ember farah 20 harbor bruno 13 amber gus 21 cobalt chen 15 harbor hana 10 delta hana 1 ember gus 28 delta lina 27 amber lina 15 harbor
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010816-p1
Identify and print the minimum numeric value located in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
alice 29 birch farah 17 amber chen 30 ember hana 5 grove eli 21 juniper dina 22 harbor ivan 30 amber chen 29 cobalt ivan 15 indigo
5
ivan 24 ember farah 20 harbor bruno 13 amber gus 21 cobalt chen 15 harbor hana 10 delta hana 1 ember gus 28 delta lina 27 amber lina 15 harbor
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010816
qwen/qwen3.7-plus
awkweave-0010817
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 hana indigo 13 bruno birch 18 chen ember 12 kim delta 2 gus indigo 8 chen delta 21 dina delta 16 dina cobalt 16 bruno grove
21
4 chen birch 13 dina delta 14 ivan fable 25 hana harbor 2 chen birch 16 farah fable 2 gus delta 24 farah birch 24 kim amber
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010817-p1
Identify and print the maximum numeric value located in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 hana indigo 13 bruno birch 18 chen ember 12 kim delta 2 gus indigo 8 chen delta 21 dina delta 16 dina cobalt 16 bruno grove
21
4 chen birch 13 dina delta 14 ivan fable 25 hana harbor 2 chen birch 16 farah fable 2 gus delta 24 farah birch 24 kim amber
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010817
qwen/qwen3.7-plus
awkweave-0010818
Count all input records and print the total.
END{print NR}
gus 82 alice 92 kim 119 farah 27 dina 112 eli 79 ivan 67
7
hana 11 alice 104 kim 98 hana 90 eli 112 kim 56 dina 11
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010818-p1
Count the total number of input records and display the result.
END{print NR}
gus 82 alice 92 kim 119 farah 27 dina 112 eli 79 ivan 67
7
hana 11 alice 104 kim 98 hana 90 eli 112 kim 56 dina 11
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010818
qwen/qwen3.7-plus
awkweave-0010819
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana ember 93 alice fable 35 eli fable 97 eli fable 97 hana ember 25 hana harbor 5 ivan delta 51 eli birch 58
hana ember 93 alice fable 35 eli fable 97 hana ember 25 hana harbor 5 ivan delta 51 eli birch 58
lina juniper 79 kim juniper 119 eli delta 50 kim delta 84 kim delta 84 ivan harbor 39 dina birch 51 bruno cobalt 48
lina juniper 79 kim juniper 119 eli delta 50 kim delta 84 ivan harbor 39 dina birch 51 bruno cobalt 48
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010819-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
hana ember 93 alice fable 35 eli fable 97 eli fable 97 hana ember 25 hana harbor 5 ivan delta 51 eli birch 58
hana ember 93 alice fable 35 eli fable 97 hana ember 25 hana harbor 5 ivan delta 51 eli birch 58
lina juniper 79 kim juniper 119 eli delta 50 kim delta 84 kim delta 84 ivan harbor 39 dina birch 51 bruno cobalt 48
lina juniper 79 kim juniper 119 eli delta 50 kim delta 84 ivan harbor 39 dina birch 51 bruno cobalt 48
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010819
qwen/qwen3.7-plus
awkweave-0010820
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
hana juniper 78 gus amber 7 gus birch 18 alice harbor 79 jules amber 119 chen grove 95 lina cobalt 19 chen cobalt 82
hana juniper 78 gus amber 7 gus birch 18 alice harbor 79 chen grove 95 lina cobalt 19
chen grove 83 gus amber 8 lina amber 39 hana ember 111 jules delta 9 lina cobalt 43 alice harbor 110 alice grove 57 hana grove 51
chen grove 83 gus amber 8 hana ember 111 jules delta 9 lina cobalt 43 alice harbor 110
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010820-p1
Retain only the first occurrence for every unique value in column 2, preserving the original sequence.
!seen[$2]++
hana juniper 78 gus amber 7 gus birch 18 alice harbor 79 jules amber 119 chen grove 95 lina cobalt 19 chen cobalt 82
hana juniper 78 gus amber 7 gus birch 18 alice harbor 79 chen grove 95 lina cobalt 19
chen grove 83 gus amber 8 lina amber 39 hana ember 111 jules delta 9 lina cobalt 43 alice harbor 110 alice grove 57 hana grove 51
chen grove 83 gus amber 8 hana ember 111 jules delta 9 lina cobalt 43 alice harbor 110
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010820
qwen/qwen3.7-plus
awkweave-0010821
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 16 amber bruno 8 delta alice 2 cobalt jules 1 indigo chen 18 fable ivan 29 juniper bruno 6 fable alice 26 delta farah 23 birch
farah 16 bruno 24 alice 26 jules 27 chen 45 ivan 74 bruno 80 alice 106 farah 129
dina 26 juniper farah 21 harbor kim 5 juniper kim 24 ember chen 30 cobalt eli 3 indigo eli 5 juniper gus 20 grove
dina 26 farah 47 kim 52 kim 76 chen 106 eli 109 eli 114 gus 134
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010821-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 16 amber bruno 8 delta alice 2 cobalt jules 1 indigo chen 18 fable ivan 29 juniper bruno 6 fable alice 26 delta farah 23 birch
farah 16 bruno 24 alice 26 jules 27 chen 45 ivan 74 bruno 80 alice 106 farah 129
dina 26 juniper farah 21 harbor kim 5 juniper kim 24 ember chen 30 cobalt eli 3 indigo eli 5 juniper gus 20 grove
dina 26 farah 47 kim 52 kim 76 chen 106 eli 109 eli 114 gus 134
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010821
qwen/qwen3.7-plus
awkweave-0010822
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 11 27 birch lina 9 22 amber chen 15 23 delta farah 3 29 fable farah 10 21 amber eli 22 18 birch farah 16 13 birch
hana 38 lina 31 chen 38 farah 32 farah 31 eli 40 farah 29
kim 20 25 harbor dina 10 9 ember chen 22 4 birch lina 4 26 fable kim 22 18 delta alice 21 17 cobalt ivan 4 11 fable lina 24 3 birch jules 18 22 amber ivan 12 7 cobalt
kim 45 dina 19 chen 26 lina 30 kim 40 alice 38 ivan 15 lina 27 jules 40 ivan 19
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010822-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 11 27 birch lina 9 22 amber chen 15 23 delta farah 3 29 fable farah 10 21 amber eli 22 18 birch farah 16 13 birch
hana 38 lina 31 chen 38 farah 32 farah 31 eli 40 farah 29
kim 20 25 harbor dina 10 9 ember chen 22 4 birch lina 4 26 fable kim 22 18 delta alice 21 17 cobalt ivan 4 11 fable lina 24 3 birch jules 18 22 amber ivan 12 7 cobalt
kim 45 dina 19 chen 26 lina 30 kim 40 alice 38 ivan 15 lina 27 jules 40 ivan 19
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010822
qwen/qwen3.7-plus
awkweave-0010823
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
gus 10 gus 13 jules 8 alice 2 bruno 21 bruno 12
gus fail gus fail jules fail alice fail bruno fail bruno fail
lina 5 gus 1 ivan 21 kim 18 jules 24 gus 30 ivan 16 bruno 21 bruno 12 jules 29
lina fail gus fail ivan fail kim fail jules pass gus pass ivan fail bruno fail bruno fail jules pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010823-p1
Output column 1 and print 'pass' if column 2 is greater than or equal to 22; otherwise, print 'fail'.
{print $1,($2>=22?"pass":"fail")}
gus 10 gus 13 jules 8 alice 2 bruno 21 bruno 12
gus fail gus fail jules fail alice fail bruno fail bruno fail
lina 5 gus 1 ivan 21 kim 18 jules 24 gus 30 ivan 16 bruno 21 bruno 12 jules 29
lina fail gus fail ivan fail kim fail jules pass gus pass ivan fail bruno fail bruno fail jules pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010823
qwen/qwen3.7-plus
awkweave-0010824
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli harbor 48 jules cobalt 34 kim ember 44 bruno indigo 34 jules grove 44 ivan ember 60 kim juniper 48
HARBOR COBALT EMBER INDIGO GROVE EMBER JUNIPER
bruno ember 67 lina harbor 33 kim juniper 110 alice cobalt 95 ivan birch 81 lina harbor 102
EMBER HARBOR JUNIPER COBALT BIRCH HARBOR
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010824-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
eli harbor 48 jules cobalt 34 kim ember 44 bruno indigo 34 jules grove 44 ivan ember 60 kim juniper 48
HARBOR COBALT EMBER INDIGO GROVE EMBER JUNIPER
bruno ember 67 lina harbor 33 kim juniper 110 alice cobalt 95 ivan birch 81 lina harbor 102
EMBER HARBOR JUNIPER COBALT BIRCH HARBOR
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010824
qwen/qwen3.7-plus
awkweave-0010825
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
juniper 108 indigo 100 delta 117 ember 37 fable 3 grove 79 amber 16 indigo 78
unip ndig elta mber able rove mber ndig
birch 91 indigo 119 delta 93 indigo 43 amber 48 fable 1
irch ndig elta ndig mber able
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010825-p1
Extract and print a 4-character substring from column 1, beginning at the second character.
{print substr($1,2,4)}
juniper 108 indigo 100 delta 117 ember 37 fable 3 grove 79 amber 16 indigo 78
unip ndig elta mber able rove mber ndig
birch 91 indigo 119 delta 93 indigo 43 amber 48 fable 1
irch ndig elta ndig mber able
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010825
qwen/qwen3.7-plus
awkweave-0010826
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_birch 36 delta_delta 22 harbor_delta 51 harbor_delta 12 amber_indigo 49 delta_juniper 120 indigo_grove 59 fable_fable 1
fable birch delta delta harbor delta harbor delta amber indigo delta juniper indigo grove fable fable
harbor_juniper 107 birch_grove 96 harbor_delta 36 juniper_indigo 84 grove_amber 55 delta_juniper 45 harbor_cobalt 34 indigo_fable 116
harbor juniper birch grove harbor delta juniper indigo grove amber delta juniper harbor cobalt indigo fable
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010826-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
fable_birch 36 delta_delta 22 harbor_delta 51 harbor_delta 12 amber_indigo 49 delta_juniper 120 indigo_grove 59 fable_fable 1
fable birch delta delta harbor delta harbor delta amber indigo delta juniper indigo grove fable fable
harbor_juniper 107 birch_grove 96 harbor_delta 36 juniper_indigo 84 grove_amber 55 delta_juniper 45 harbor_cobalt 34 indigo_fable 116
harbor juniper birch grove harbor delta juniper indigo grove amber delta juniper harbor cobalt indigo fable
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010826
qwen/qwen3.7-plus
awkweave-0010827
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim grove 57 ready gus indigo 24 active hana amber 8 active alice fable 24 closed gus cobalt 41 failed alice cobalt 9 pending gus fable 64 closed
ready 57 grove kim active 24 indigo gus active 8 amber hana closed 24 fable alice failed 41 cobalt gus pending 9 cobalt alice closed 64 fable gus
kim cobalt 93 paused gus birch 16 paused chen amber 73 ready kim fable 18 active hana cobalt 85 failed eli harbor 85 ready eli juniper 69 ready bruno fable 25 paused gus ember 22 closed
paused 93 cobalt kim paused 16 birch gus ready 73 amber chen active 18 fable kim failed 85 cobalt hana ready 85 harbor eli ready 69 juniper eli paused 25 fable bruno closed 22 ember gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010827-p1
Reverse the sequence of fields for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim grove 57 ready gus indigo 24 active hana amber 8 active alice fable 24 closed gus cobalt 41 failed alice cobalt 9 pending gus fable 64 closed
ready 57 grove kim active 24 indigo gus active 8 amber hana closed 24 fable alice failed 41 cobalt gus pending 9 cobalt alice closed 64 fable gus
kim cobalt 93 paused gus birch 16 paused chen amber 73 ready kim fable 18 active hana cobalt 85 failed eli harbor 85 ready eli juniper 69 ready bruno fable 25 paused gus ember 22 closed
paused 93 cobalt kim paused 16 birch gus ready 73 amber chen active 18 fable kim failed 85 cobalt hana ready 85 harbor eli ready 69 juniper eli paused 25 fable bruno closed 22 ember gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010827
qwen/qwen3.7-plus
awkweave-0010828
Print the number of whitespace-separated fields on each line.
{print NF}
kim indigo 111 closed dina ember 86 failed ivan juniper 12 pending ivan juniper 36 ready chen fable 58 closed ivan harbor 25 closed chen harbor 2 active chen birch 90 paused chen harbor 28 pending
4 4 4 4 4 4 4 4 4
kim ember 76 ready lina delta 59 paused chen harbor 35 failed hana grove 41 failed bruno fable 71 ready kim grove 14 pending chen delta 92 paused dina cobalt 98 paused gus harbor 111 paused farah grove 43 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010828-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
kim indigo 111 closed dina ember 86 failed ivan juniper 12 pending ivan juniper 36 ready chen fable 58 closed ivan harbor 25 closed chen harbor 2 active chen birch 90 paused chen harbor 28 pending
4 4 4 4 4 4 4 4 4
kim ember 76 ready lina delta 59 paused chen harbor 35 failed hana grove 41 failed bruno fable 71 ready kim grove 14 pending chen delta 92 paused dina cobalt 98 paused gus harbor 111 paused farah grove 43 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010828
qwen/qwen3.7-plus
awkweave-0010829
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]]}
alice delta 75 kim alpha 16 kim beta 106 dina delta 43 alice gamma 89 eli alpha 118
delta 2 alpha 2 beta 1 gamma 1
jules beta 69 gus gamma 30 jules alpha 4 gus delta 33 lina delta 8 dina gamma 34 farah beta 109 bruno alpha 58
beta 2 gamma 2 alpha 2 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0010829-p1
Tally the records for each unique value in column 2, listing each value and its total in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice delta 75 kim alpha 16 kim beta 106 dina delta 43 alice gamma 89 eli alpha 118
delta 2 alpha 2 beta 1 gamma 1
jules beta 69 gus gamma 30 jules alpha 4 gus delta 33 lina delta 8 dina gamma 34 farah beta 109 bruno alpha 58
beta 2 gamma 2 alpha 2 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0010829
qwen/qwen3.7-plus
awkweave-0010830
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]]}
ivan delta 23 ivan alpha 14 ivan beta 17 lina delta 26 farah delta 26 gus beta 13 chen delta 19 jules gamma 5 eli beta 5
delta 94 alpha 14 beta 35 gamma 5
jules beta 18 jules gamma 12 ivan beta 7 alice beta 30 alice gamma 2 gus alpha 7 alice delta 10 eli alpha 28 kim gamma 30
beta 55 gamma 44 alpha 35 delta 10
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null