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-0032721-p1
For each record, output the fifth column followed by the third column.
{print $5, $3}
36 ready 111 harbor 67 grove 71 active 119 cobalt 120 birch 44 ready 105 delta 72 birch 112 ready 72 juniper 18 grove 74 failed 106 grove 83 grove 5 active 30 delta 108 fable 22 failed 87 harbor 40 ember 74 closed 27 birch 44 fable 56 ready 21 cobalt 3 ember
67 111 120 119 72 105 18 72 83 106 108 30 40 87 44 27 3 21
47 ready 98 grove 86 juniper 63 ready 116 amber 31 delta 79 pending 84 fable 31 cobalt 95 ready 108 grove 47 birch 101 pending 104 fable 103 birch 38 failed 111 birch 43 fable 12 pending 19 juniper 3 fable 39 paused 9 ember 31 delta 115 active 110 birch 114 indigo 26 failed 51 harbor 3 fable
86 98 31 116 31 84 47 108 103 104 43 111 3 19 31 9 114 110 3 51
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032721
qwen/qwen3.7-plus
awkweave-0032722
Print the last field of every input line.
{print $NF}
ready birch chen hana failed 96 ready ember kim chen active 34 pending amber chen farah failed 60 paused amber kim chen active 95 paused amber jules kim paused 83 closed grove lina chen pending 60
96 34 60 95 83 60
closed ember kim hana closed 9 ready ember lina chen pending 41 failed delta ivan dina active 65 paused ember gus farah failed 119 active cobalt jules lina active 30 paused grove kim farah pending 14 closed juniper chen jules paused 112 paused indigo jules chen pending 92 failed juniper chen dina paused 87
9 41 65 119 30 14 112 92 87
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032722-p1
Display the final field from every line of input.
{print $NF}
ready birch chen hana failed 96 ready ember kim chen active 34 pending amber chen farah failed 60 paused amber kim chen active 95 paused amber jules kim paused 83 closed grove lina chen pending 60
96 34 60 95 83 60
closed ember kim hana closed 9 ready ember lina chen pending 41 failed delta ivan dina active 65 paused ember gus farah failed 119 active cobalt jules lina active 30 paused grove kim farah pending 14 closed juniper chen jules paused 112 paused indigo jules chen pending 92 failed juniper chen dina paused 87
9 41 65 119 30 14 112 92 87
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032722
qwen/qwen3.7-plus
awkweave-0032723
Print the complete records where column 1 is greater than 75.
$1 > 75
42 lina birch 29 jules harbor 28 hana cobalt 112 lina cobalt 24 hana juniper 58 alice delta 72 farah juniper
112 lina cobalt
1 chen indigo 71 gus grove 95 hana birch 0 hana indigo 4 kim ember 88 gus amber 120 alice fable
95 hana birch 88 gus amber 120 alice fable
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032723-p1
Output the entire lines where the value in the first column exceeds 75.
$1 > 75
42 lina birch 29 jules harbor 28 hana cobalt 112 lina cobalt 24 hana juniper 58 alice delta 72 farah juniper
112 lina cobalt
1 chen indigo 71 gus grove 95 hana birch 0 hana indigo 4 kim ember 88 gus amber 120 alice fable
95 hana birch 88 gus amber 120 alice fable
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032723
qwen/qwen3.7-plus
awkweave-0032724
Show whole lines whose 3rd field is between 3 and 27, inclusive.
$3 >= 3 && $3 <= 27
cobalt paused 8 paused cobalt ready 28 active cobalt closed 17 pending cobalt pending 26 pending juniper closed 19 pending amber failed 12 paused ember pending 27 closed amber paused 2 closed
cobalt paused 8 paused cobalt closed 17 pending cobalt pending 26 pending juniper closed 19 pending amber failed 12 paused ember pending 27 closed
ember paused 1 ready ember closed 20 closed indigo failed 9 pending birch ready 22 failed delta ready 29 ready delta paused 4 active delta active 23 paused juniper ready 19 active
ember closed 20 closed indigo failed 9 pending birch ready 22 failed delta paused 4 active delta active 23 paused juniper ready 19 active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032724-p1
Print complete lines where the third field falls within the range of 3 to 27, inclusive.
$3 >= 3 && $3 <= 27
cobalt paused 8 paused cobalt ready 28 active cobalt closed 17 pending cobalt pending 26 pending juniper closed 19 pending amber failed 12 paused ember pending 27 closed amber paused 2 closed
cobalt paused 8 paused cobalt closed 17 pending cobalt pending 26 pending juniper closed 19 pending amber failed 12 paused ember pending 27 closed
ember paused 1 ready ember closed 20 closed indigo failed 9 pending birch ready 22 failed delta ready 29 ready delta paused 4 active delta active 23 paused juniper ready 19 active
ember closed 20 closed indigo failed 9 pending birch ready 22 failed delta paused 4 active delta active 23 paused juniper ready 19 active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032724
qwen/qwen3.7-plus
awkweave-0032725
Print column 2 only for rows where column 3 is exactly closed.
$3 == "closed"{print $2}
27 eli failed ember 24 gus closed amber 89 farah failed amber 42 bruno pending birch 53 dina failed amber 13 kim active ember 76 hana pending ember 76 lina pending birch 107 bruno paused harbor
gus
15 chen failed cobalt 0 hana active ember 81 jules pending delta 118 gus paused indigo 0 ivan pending amber 76 lina paused harbor
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032725-p1
Output only the second column for rows where the third column contains exactly 'closed'.
$3 == "closed"{print $2}
27 eli failed ember 24 gus closed amber 89 farah failed amber 42 bruno pending birch 53 dina failed amber 13 kim active ember 76 hana pending ember 76 lina pending birch 107 bruno paused harbor
gus
15 chen failed cobalt 0 hana active ember 81 jules pending delta 118 gus paused indigo 0 ivan pending amber 76 lina paused harbor
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032725
qwen/qwen3.7-plus
awkweave-0032726
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
26 harbor WARN 109 delta ERROR 111 juniper WARN 79 juniper ERROR 17 indigo WARN 33 indigo DEBUG 51 amber INFO 47 ember INFO
51 amber INFO 47 ember INFO
12 indigo INFO 99 harbor DEBUG 0 birch INFO 31 grove DEBUG 5 fable ERROR 87 grove INFO 103 amber ERROR 52 cobalt DEBUG 27 delta WARN 71 delta WARN
12 indigo INFO 0 birch INFO 87 grove INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032726-p1
Print all fields from lines where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
26 harbor WARN 109 delta ERROR 111 juniper WARN 79 juniper ERROR 17 indigo WARN 33 indigo DEBUG 51 amber INFO 47 ember INFO
51 amber INFO 47 ember INFO
12 indigo INFO 99 harbor DEBUG 0 birch INFO 31 grove DEBUG 5 fable ERROR 87 grove INFO 103 amber ERROR 52 cobalt DEBUG 27 delta WARN 71 delta WARN
12 indigo INFO 0 birch INFO 87 grove INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032726
qwen/qwen3.7-plus
awkweave-0032727
Print every line except those containing the exact text birch.
$0 !~ /birch/
harbor 1 closed harbor 16 active amber 62 active grove 109 pending fable 116 failed delta 74 pending delta 71 failed birch 61 active harbor 17 ready cobalt 0 failed birch 999 active
harbor 1 closed harbor 16 active amber 62 active grove 109 pending fable 116 failed delta 74 pending delta 71 failed harbor 17 ready cobalt 0 failed
cobalt 52 ready ember 25 closed delta 64 paused grove 57 paused grove 77 paused harbor 0 closed juniper 21 ready birch 999 active
cobalt 52 ready ember 25 closed delta 64 paused grove 57 paused grove 77 paused harbor 0 closed juniper 21 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032727-p1
Output every line that does not contain the exact string 'birch'.
$0 !~ /birch/
harbor 1 closed harbor 16 active amber 62 active grove 109 pending fable 116 failed delta 74 pending delta 71 failed birch 61 active harbor 17 ready cobalt 0 failed birch 999 active
harbor 1 closed harbor 16 active amber 62 active grove 109 pending fable 116 failed delta 74 pending delta 71 failed harbor 17 ready cobalt 0 failed
cobalt 52 ready ember 25 closed delta 64 paused grove 57 paused grove 77 paused harbor 0 closed juniper 21 ready birch 999 active
cobalt 52 ready ember 25 closed delta 64 paused grove 57 paused grove 77 paused harbor 0 closed juniper 21 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032727
qwen/qwen3.7-plus
awkweave-0032728
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
kim cobalt 104 farah juniper 79 lina harbor 55 dina ember 87 bruno ember 81 lina cobalt 73 bruno juniper 116 bruno cobalt 110 ivan harbor 94 kim ember 51
dina ember 87 bruno ember 81 lina cobalt 73
eli amber 74 lina cobalt 72 chen birch 87 bruno amber 78 hana ember 11 ivan indigo 11 jules harbor 38
bruno amber 78 hana ember 11 ivan indigo 11
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032728-p1
Print lines 4, 5, and 6.
NR >= 4 && NR <= 6
kim cobalt 104 farah juniper 79 lina harbor 55 dina ember 87 bruno ember 81 lina cobalt 73 bruno juniper 116 bruno cobalt 110 ivan harbor 94 kim ember 51
dina ember 87 bruno ember 81 lina cobalt 73
eli amber 74 lina cobalt 72 chen birch 87 bruno amber 78 hana ember 11 ivan indigo 11 jules harbor 38
bruno amber 78 hana ember 11 ivan indigo 11
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032728
qwen/qwen3.7-plus
awkweave-0032729
Output only the first 3 records.
NR <= 3
jules 21 fable alice 108 harbor lina 49 birch dina 49 ember chen 32 grove dina 90 grove bruno 29 juniper dina 48 amber
jules 21 fable alice 108 harbor lina 49 birch
eli 95 grove lina 117 delta hana 57 cobalt gus 8 indigo bruno 15 harbor gus 81 grove
eli 95 grove lina 117 delta hana 57 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032729-p1
Display only the first 3 records.
NR <= 3
jules 21 fable alice 108 harbor lina 49 birch dina 49 ember chen 32 grove dina 90 grove bruno 29 juniper dina 48 amber
jules 21 fable alice 108 harbor lina 49 birch
eli 95 grove lina 117 delta hana 57 cobalt gus 8 indigo bruno 15 harbor gus 81 grove
eli 95 grove lina 117 delta hana 57 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032729
qwen/qwen3.7-plus
awkweave-0032730
Skip the first line and print every remaining line unchanged.
NR > 1
chen 93 ember ivan 31 delta kim 39 birch kim 20 ember gus 52 indigo jules 15 harbor dina 50 amber
ivan 31 delta kim 39 birch kim 20 ember gus 52 indigo jules 15 harbor dina 50 amber
kim 1 harbor kim 73 cobalt chen 71 delta kim 57 fable gus 22 fable gus 65 amber eli 66 harbor hana 49 ember hana 116 fable bruno 61 delta
kim 73 cobalt chen 71 delta kim 57 fable gus 22 fable gus 65 amber eli 66 harbor hana 49 ember hana 116 fable bruno 61 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032730-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
chen 93 ember ivan 31 delta kim 39 birch kim 20 ember gus 52 indigo jules 15 harbor dina 50 amber
ivan 31 delta kim 39 birch kim 20 ember gus 52 indigo jules 15 harbor dina 50 amber
kim 1 harbor kim 73 cobalt chen 71 delta kim 57 fable gus 22 fable gus 65 amber eli 66 harbor hana 49 ember hana 116 fable bruno 61 delta
kim 73 cobalt chen 71 delta kim 57 fable gus 22 fable gus 65 amber eli 66 harbor hana 49 ember hana 116 fable bruno 61 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032730
qwen/qwen3.7-plus
awkweave-0032731
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
gus closed 75 kim paused 14 jules closed 14 lina closed 118 kim closed 45 dina pending 10 alice ready 80 jules active 49 ivan pending 50
1
gus active 48 alice active 58 ivan paused 21 alice ready 106 gus closed 40 farah paused 95 ivan active 11 ivan paused 43 bruno closed 91
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032731-p1
Tally the entries where the second column contains 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
gus closed 75 kim paused 14 jules closed 14 lina closed 118 kim closed 45 dina pending 10 alice ready 80 jules active 49 ivan pending 50
1
gus active 48 alice active 58 ivan paused 21 alice ready 106 gus closed 40 farah paused 95 ivan active 11 ivan paused 43 bruno closed 91
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032731
qwen/qwen3.7-plus
awkweave-0032732
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
amber 4 lina juniper 2 eli birch 11 chen birch 12 jules indigo 12 lina amber 1 jules juniper 8 dina fable 1 kim grove 3 dina fable 2 chen
56
juniper 1 lina fable 3 hana amber 28 alice harbor 13 gus cobalt 27 dina harbor 10 bruno
82
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032732-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
amber 4 lina juniper 2 eli birch 11 chen birch 12 jules indigo 12 lina amber 1 jules juniper 8 dina fable 1 kim grove 3 dina fable 2 chen
56
juniper 1 lina fable 3 hana amber 28 alice harbor 13 gus cobalt 27 dina harbor 10 bruno
82
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032732
qwen/qwen3.7-plus
awkweave-0032733
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 ember jules 21 cobalt chen 19 juniper bruno 12 delta chen 3 indigo hana 24 indigo ivan 20 juniper bruno
14.43
24 amber dina 15 cobalt hana 26 delta jules 12 juniper eli 3 fable alice 19 indigo farah 24 birch hana 18 fable gus 13 amber farah
17.11
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032733-p1
Output the average of the first column, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 ember jules 21 cobalt chen 19 juniper bruno 12 delta chen 3 indigo hana 24 indigo ivan 20 juniper bruno
14.43
24 amber dina 15 cobalt hana 26 delta jules 12 juniper eli 3 fable alice 19 indigo farah 24 birch hana 18 fable gus 13 amber farah
17.11
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032733
qwen/qwen3.7-plus
awkweave-0032734
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 27 ivan delta 25 bruno delta 1 eli grove 8 hana fable 26 dina amber 23 kim birch 12 bruno grove 10 farah grove 8 bruno
1
indigo 14 jules juniper 23 eli delta 22 chen grove 14 chen grove 18 chen fable 26 farah
14
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032734-p1
Identify and display the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 27 ivan delta 25 bruno delta 1 eli grove 8 hana fable 26 dina amber 23 kim birch 12 bruno grove 10 farah grove 8 bruno
1
indigo 14 jules juniper 23 eli delta 22 chen grove 14 chen grove 18 chen fable 26 farah
14
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032734
qwen/qwen3.7-plus
awkweave-0032735
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
chen cobalt 10 kim birch 22 jules amber 22 eli fable 9 gus ember 6 alice delta 20 kim indigo 24
24
eli birch 2 lina ember 14 eli birch 30 bruno grove 24 ivan ember 23 farah juniper 1 gus grove 12 chen birch 7 eli ember 8
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032735-p1
Identify and display the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
chen cobalt 10 kim birch 22 jules amber 22 eli fable 9 gus ember 6 alice delta 20 kim indigo 24
24
eli birch 2 lina ember 14 eli birch 30 bruno grove 24 ivan ember 23 farah juniper 1 gus grove 12 chen birch 7 eli ember 8
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032735
qwen/qwen3.7-plus
awkweave-0032736
Count all input records and print the total.
END{print NR}
kim 67 dina 58 jules 104 eli 56 bruno 24 gus 40 ivan 85 alice 47 hana 95 gus 74
10
hana 72 kim 19 dina 39 ivan 100 kim 30 jules 99 bruno 104
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032736-p1
Count the total number of input records and print the result.
END{print NR}
kim 67 dina 58 jules 104 eli 56 bruno 24 gus 40 ivan 85 alice 47 hana 95 gus 74
10
hana 72 kim 19 dina 39 ivan 100 kim 30 jules 99 bruno 104
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032736
qwen/qwen3.7-plus
awkweave-0032737
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice delta 68 eli indigo 106 eli ember 100 gus harbor 67 gus juniper 41 alice delta 68 eli grove 30
alice delta 68 eli indigo 106 eli ember 100 gus harbor 67 gus juniper 41 eli grove 30
dina indigo 58 lina amber 96 lina juniper 47 dina ember 58 chen juniper 24 farah juniper 93 bruno ember 73 farah juniper 93 kim cobalt 57 kim cobalt 116
dina indigo 58 lina amber 96 lina juniper 47 dina ember 58 chen juniper 24 farah juniper 93 bruno ember 73 kim cobalt 57 kim cobalt 116
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032737-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
alice delta 68 eli indigo 106 eli ember 100 gus harbor 67 gus juniper 41 alice delta 68 eli grove 30
alice delta 68 eli indigo 106 eli ember 100 gus harbor 67 gus juniper 41 eli grove 30
dina indigo 58 lina amber 96 lina juniper 47 dina ember 58 chen juniper 24 farah juniper 93 bruno ember 73 farah juniper 93 kim cobalt 57 kim cobalt 116
dina indigo 58 lina amber 96 lina juniper 47 dina ember 58 chen juniper 24 farah juniper 93 bruno ember 73 kim cobalt 57 kim cobalt 116
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032737
qwen/qwen3.7-plus
awkweave-0032738
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
bruno indigo 42 dina harbor 39 eli amber 46 gus fable 116 ivan amber 108 hana cobalt 109 dina birch 114 kim juniper 67
bruno indigo 42 dina harbor 39 eli amber 46 gus fable 116 ivan amber 108 hana cobalt 109 dina birch 114 kim juniper 67
chen cobalt 74 bruno fable 82 ivan juniper 95 kim harbor 120 ivan delta 14 hana ember 92 chen juniper 37 jules birch 54 gus fable 22 hana fable 7
chen cobalt 74 bruno fable 82 ivan juniper 95 kim harbor 120 ivan delta 14 hana ember 92 chen juniper 37 jules birch 54 gus fable 22 hana fable 7
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032738-p1
Retain only the first occurrence for every unique value in the third column, preserving the original sequence.
!seen[$3]++
bruno indigo 42 dina harbor 39 eli amber 46 gus fable 116 ivan amber 108 hana cobalt 109 dina birch 114 kim juniper 67
bruno indigo 42 dina harbor 39 eli amber 46 gus fable 116 ivan amber 108 hana cobalt 109 dina birch 114 kim juniper 67
chen cobalt 74 bruno fable 82 ivan juniper 95 kim harbor 120 ivan delta 14 hana ember 92 chen juniper 37 jules birch 54 gus fable 22 hana fable 7
chen cobalt 74 bruno fable 82 ivan juniper 95 kim harbor 120 ivan delta 14 hana ember 92 chen juniper 37 jules birch 54 gus fable 22 hana fable 7
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032738
qwen/qwen3.7-plus
awkweave-0032739
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 7 ember kim 12 birch farah 24 delta ivan 8 juniper farah 14 delta lina 25 birch eli 6 birch
kim 7 kim 19 farah 43 ivan 51 farah 65 lina 90 eli 96
eli 14 birch lina 23 cobalt gus 7 cobalt dina 7 birch jules 19 harbor alice 3 harbor dina 25 juniper kim 13 amber hana 21 harbor
eli 14 lina 37 gus 44 dina 51 jules 70 alice 73 dina 98 kim 111 hana 132
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032739-p1
For each entry, output the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
kim 7 ember kim 12 birch farah 24 delta ivan 8 juniper farah 14 delta lina 25 birch eli 6 birch
kim 7 kim 19 farah 43 ivan 51 farah 65 lina 90 eli 96
eli 14 birch lina 23 cobalt gus 7 cobalt dina 7 birch jules 19 harbor alice 3 harbor dina 25 juniper kim 13 amber hana 21 harbor
eli 14 lina 37 gus 44 dina 51 jules 70 alice 73 dina 98 kim 111 hana 132
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032739
qwen/qwen3.7-plus
awkweave-0032740
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 18 12 cobalt chen 7 13 delta ivan 22 29 indigo bruno 27 20 grove bruno 21 10 juniper kim 3 25 harbor ivan 1 29 grove
chen 30 chen 20 ivan 51 bruno 47 bruno 31 kim 28 ivan 30
ivan 11 20 juniper eli 10 30 ember chen 25 6 ember farah 23 5 grove kim 14 22 cobalt eli 14 17 cobalt
ivan 31 eli 40 chen 31 farah 28 kim 36 eli 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032740-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
chen 18 12 cobalt chen 7 13 delta ivan 22 29 indigo bruno 27 20 grove bruno 21 10 juniper kim 3 25 harbor ivan 1 29 grove
chen 30 chen 20 ivan 51 bruno 47 bruno 31 kim 28 ivan 30
ivan 11 20 juniper eli 10 30 ember chen 25 6 ember farah 23 5 grove kim 14 22 cobalt eli 14 17 cobalt
ivan 31 eli 40 chen 31 farah 28 kim 36 eli 31
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032740
qwen/qwen3.7-plus
awkweave-0032741
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
dina 20 farah 17 alice 23 lina 3 kim 11 chen 11
dina fail farah fail alice fail lina fail kim fail chen fail
dina 8 jules 5 dina 18 dina 4 alice 12 farah 15 alice 9 dina 15
dina fail jules fail dina fail dina fail alice fail farah fail alice fail dina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032741-p1
Output the first column and print 'pass' if the second column is 25 or greater; otherwise, print 'fail'.
{print $1,($2>=25?"pass":"fail")}
dina 20 farah 17 alice 23 lina 3 kim 11 chen 11
dina fail farah fail alice fail lina fail kim fail chen fail
dina 8 jules 5 dina 18 dina 4 alice 12 farah 15 alice 9 dina 15
dina fail jules fail dina fail dina fail alice fail farah fail alice fail dina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032741
qwen/qwen3.7-plus
awkweave-0032742
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
farah birch 105 gus amber 16 kim ember 106 chen grove 46 hana amber 33 gus birch 68
BIRCH AMBER EMBER GROVE AMBER BIRCH
bruno juniper 116 eli birch 71 bruno delta 77 kim birch 67 gus cobalt 93 gus cobalt 72 farah amber 12
JUNIPER BIRCH DELTA BIRCH COBALT COBALT AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032742-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
farah birch 105 gus amber 16 kim ember 106 chen grove 46 hana amber 33 gus birch 68
BIRCH AMBER EMBER GROVE AMBER BIRCH
bruno juniper 116 eli birch 71 bruno delta 77 kim birch 67 gus cobalt 93 gus cobalt 72 farah amber 12
JUNIPER BIRCH DELTA BIRCH COBALT COBALT AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032742
qwen/qwen3.7-plus
awkweave-0032743
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
ember 2 amber 8 harbor 36 birch 120 delta 79 indigo 35 cobalt 74
mb mb ar ir el nd ob
harbor 17 fable 92 indigo 78 delta 60 grove 17 indigo 99 ember 80
ar ab nd el ro nd mb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032743-p1
Extract a 2-character substring from column 1, beginning at the second character.
{print substr($1,2,2)}
ember 2 amber 8 harbor 36 birch 120 delta 79 indigo 35 cobalt 74
mb mb ar ir el nd ob
harbor 17 fable 92 indigo 78 delta 60 grove 17 indigo 99 ember 80
ar ab nd el ro nd mb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032743
qwen/qwen3.7-plus
awkweave-0032744
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_amber 98 delta_cobalt 120 indigo_fable 88 amber_birch 49 birch_ember 56 harbor_fable 101 juniper_cobalt 32 amber_amber 112
indigo amber delta cobalt indigo fable amber birch birch ember harbor fable juniper cobalt amber amber
delta_delta 28 harbor_harbor 95 ember_cobalt 23 harbor_delta 100 delta_harbor 80 ember_birch 114
delta delta harbor harbor ember cobalt harbor delta delta harbor ember birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032744-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
indigo_amber 98 delta_cobalt 120 indigo_fable 88 amber_birch 49 birch_ember 56 harbor_fable 101 juniper_cobalt 32 amber_amber 112
indigo amber delta cobalt indigo fable amber birch birch ember harbor fable juniper cobalt amber amber
delta_delta 28 harbor_harbor 95 ember_cobalt 23 harbor_delta 100 delta_harbor 80 ember_birch 114
delta delta harbor harbor ember cobalt harbor delta delta harbor ember birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032744
qwen/qwen3.7-plus
awkweave-0032745
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 birch 111 ready kim indigo 57 paused farah indigo 114 pending chen juniper 24 failed kim delta 103 ready farah juniper 29 paused
ready 111 birch eli paused 57 indigo kim pending 114 indigo farah failed 24 juniper chen ready 103 delta kim paused 29 juniper farah
gus juniper 94 pending jules harbor 81 failed chen cobalt 71 closed ivan indigo 3 closed dina ember 80 active farah ember 67 paused gus indigo 11 active jules juniper 66 ready
pending 94 juniper gus failed 81 harbor jules closed 71 cobalt chen closed 3 indigo ivan active 80 ember dina paused 67 ember farah active 11 indigo gus ready 66 juniper jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032745-p1
Reverse the sequence of fields on each line and output all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
eli birch 111 ready kim indigo 57 paused farah indigo 114 pending chen juniper 24 failed kim delta 103 ready farah juniper 29 paused
ready 111 birch eli paused 57 indigo kim pending 114 indigo farah failed 24 juniper chen ready 103 delta kim paused 29 juniper farah
gus juniper 94 pending jules harbor 81 failed chen cobalt 71 closed ivan indigo 3 closed dina ember 80 active farah ember 67 paused gus indigo 11 active jules juniper 66 ready
pending 94 juniper gus failed 81 harbor jules closed 71 cobalt chen closed 3 indigo ivan active 80 ember dina paused 67 ember farah active 11 indigo gus ready 66 juniper jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032745
qwen/qwen3.7-plus
awkweave-0032746
Print the number of whitespace-separated fields on each line.
{print NF}
kim birch 105 closed lina grove 36 paused hana birch 98 failed alice harbor 33 closed chen ember 31 ready alice ember 103 closed dina fable 78 pending eli indigo 109 active eli cobalt 16 ready lina amber 60 active
4 4 4 4 4 4 4 4 4 4
kim ember 19 pending chen harbor 63 paused jules indigo 34 paused bruno indigo 6 ready dina indigo 86 closed farah cobalt 118 ready lina harbor 32 active alice fable 75 pending
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032746-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
kim birch 105 closed lina grove 36 paused hana birch 98 failed alice harbor 33 closed chen ember 31 ready alice ember 103 closed dina fable 78 pending eli indigo 109 active eli cobalt 16 ready lina amber 60 active
4 4 4 4 4 4 4 4 4 4
kim ember 19 pending chen harbor 63 paused jules indigo 34 paused bruno indigo 6 ready dina indigo 86 closed farah cobalt 118 ready lina harbor 32 active alice fable 75 pending
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032746
qwen/qwen3.7-plus
awkweave-0032747
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus alpha 109 bruno alpha 32 farah alpha 3 lina beta 86 farah delta 22 dina alpha 93 gus alpha 104 jules beta 90 lina beta 117 alice gamma 117
alpha 5 beta 3 delta 1 gamma 1
gus gamma 48 lina beta 94 hana delta 5 ivan beta 67 alice beta 106 farah beta 18 eli beta 25 hana gamma 32 lina gamma 51
gamma 3 beta 5 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032747-p1
Tally records by the value in column 2, listing each unique 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]]}
gus alpha 109 bruno alpha 32 farah alpha 3 lina beta 86 farah delta 22 dina alpha 93 gus alpha 104 jules beta 90 lina beta 117 alice gamma 117
alpha 5 beta 3 delta 1 gamma 1
gus gamma 48 lina beta 94 hana delta 5 ivan beta 67 alice beta 106 farah beta 18 eli beta 25 hana gamma 32 lina gamma 51
gamma 3 beta 5 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032747
qwen/qwen3.7-plus
awkweave-0032748
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice delta 26 alice gamma 10 chen delta 21 alice gamma 5 farah alpha 7 chen gamma 6 dina gamma 21 farah gamma 8 lina delta 3
delta 50 gamma 50 alpha 7
chen gamma 26 farah gamma 18 ivan beta 8 eli beta 27 dina alpha 21 chen gamma 10
gamma 54 beta 35 alpha 21
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032748-p1
Calculate the sum of column 3 grouped by column 2, presenting the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice delta 26 alice gamma 10 chen delta 21 alice gamma 5 farah alpha 7 chen gamma 6 dina gamma 21 farah gamma 8 lina delta 3
delta 50 gamma 50 alpha 7
chen gamma 26 farah gamma 18 ivan beta 8 eli beta 27 dina alpha 21 chen gamma 10
gamma 54 beta 35 alpha 21
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032748
qwen/qwen3.7-plus
awkweave-0032749
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta fable 70 delta harbor 3 delta fable 20 beta ember 110 beta amber 65 delta indigo 99 delta grove 45
beta 3 delta 4
delta grove 95 alpha birch 99 gamma grove 55 alpha harbor 3 beta ember 73 beta cobalt 25 beta ember 3 delta birch 45 beta cobalt 89
delta 2 alpha 2 beta 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032749-p1
List each duplicate value from column 1 alongside its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta fable 70 delta harbor 3 delta fable 20 beta ember 110 beta amber 65 delta indigo 99 delta grove 45
beta 3 delta 4
delta grove 95 alpha birch 99 gamma grove 55 alpha harbor 3 beta ember 73 beta cobalt 25 beta ember 3 delta birch 45 beta cobalt 89
delta 2 alpha 2 beta 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032749
qwen/qwen3.7-plus
awkweave-0032750
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name note region state r001 dina 25 active r002 bruno 18 failed r003 chen 8 closed r004 eli 14 failed r005 farah 29 paused r006 gus 12 active r007 hana 14 pending
25 18 8 14 29 12 14
display_name note region state r001 gus 19 failed r002 kim 19 paused r003 hana 23 failed r004 alice 6 failed r005 farah 24 closed r006 ivan 30 closed r007 gus 8 closed
19 19 23 6 24 30 8
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032750-p1
Skip the header row and output the region column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name note region state r001 dina 25 active r002 bruno 18 failed r003 chen 8 closed r004 eli 14 failed r005 farah 29 paused r006 gus 12 active r007 hana 14 pending
25 18 8 14 29 12 14
display_name note region state r001 gus 19 failed r002 kim 19 paused r003 hana 23 failed r004 alice 6 failed r005 farah 24 closed r006 ivan 30 closed r007 gus 8 closed
19 19 23 6 24 30 8
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032750
qwen/qwen3.7-plus
awkweave-0032751
The first row is a header. Print display_name for data rows whose score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 kim 23 failed r002 lina 20 failed r003 hana 23 closed r004 farah 14 pending r005 jules 27 active r006 lina 6 closed r007 eli 5 failed
kim hana jules
record_id display_name score state r001 dina 18 pending r002 dina 30 pending r003 gus 11 closed r004 bruno 23 paused r005 kim 29 failed r006 jules 11 closed r007 alice 13 paused r008 ivan 15 paused r009 gus 26 failed r010 kim 1 active
dina bruno kim gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032751-p1
Ignoring the header, print the display_name for rows where the score is above 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 kim 23 failed r002 lina 20 failed r003 hana 23 closed r004 farah 14 pending r005 jules 27 active r006 lina 6 closed r007 eli 5 failed
kim hana jules
record_id display_name score state r001 dina 18 pending r002 dina 30 pending r003 gus 11 closed r004 bruno 23 paused r005 kim 29 failed r006 jules 11 closed r007 alice 13 paused r008 ivan 15 paused r009 gus 26 failed r010 kim 1 active
dina bruno kim gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032751
qwen/qwen3.7-plus
awkweave-0032752
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 20 closed gus 17 closed gus 10 closed gus 25 failed gus 25 pending kim 14 active eli 11 paused gus 18 paused
20 17 10 25 25 14 11 18
eli 6 pending hana 8 active lina 21 ready ivan 19 pending dina 8 active farah 14 closed jules 12 ready
6 8 21 19 8 14 12
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032752-p1
Given tab-separated input, extract and print the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 20 closed gus 17 closed gus 10 closed gus 25 failed gus 25 pending kim 14 active eli 11 paused gus 18 paused
20 17 10 25 25 14 11 18
eli 6 pending hana 8 active lina 21 ready ivan 19 pending dina 8 active farah 14 closed jules 12 ready
6 8 21 19 8 14 12
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032752
qwen/qwen3.7-plus
awkweave-0032753
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
eli,30,paused jules,16,ready ivan,2,active eli,18,failed bruno,26,failed ivan,23,active lina,23,ready
eli jules eli bruno ivan lina
eli,22,closed chen,16,paused hana,15,closed jules,25,failed hana,15,pending ivan,17,pending gus,23,closed eli,6,ready bruno,1,pending
eli chen hana jules hana ivan gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032753-p1
For simple comma-separated input without quoted commas, print the first column if the second column's value is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
eli,30,paused jules,16,ready ivan,2,active eli,18,failed bruno,26,failed ivan,23,active lina,23,ready
eli jules eli bruno ivan lina
eli,22,closed chen,16,paused hana,15,closed jules,25,failed hana,15,pending ivan,17,pending gus,23,closed eli,6,ready bruno,1,pending
eli chen hana jules hana ivan gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032753
qwen/qwen3.7-plus
awkweave-0032754
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen ember 11 lina harbor 18 jules ember 19 bruno cobalt 8 hana ember 55 alice juniper 75 hana harbor 110 alice harbor 77
chen ember 11 lina harbor 18 jules ember 19 bruno cobalt 8 hana ember 55 alice juniper 75 hana harbor 110 alice harbor 77
chen juniper 86 hana juniper 5 hana amber 60 bruno juniper 38 dina birch 51 alice ember 30 gus juniper 87
chen juniper 86 hana juniper 5 hana amber 60 bruno juniper 38 dina birch 51 alice ember 30 gus juniper 87
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032754-p1
Strip leading and trailing whitespace from each line, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen ember 11 lina harbor 18 jules ember 19 bruno cobalt 8 hana ember 55 alice juniper 75 hana harbor 110 alice harbor 77
chen ember 11 lina harbor 18 jules ember 19 bruno cobalt 8 hana ember 55 alice juniper 75 hana harbor 110 alice harbor 77
chen juniper 86 hana juniper 5 hana amber 60 bruno juniper 38 dina birch 51 alice ember 30 gus juniper 87
chen juniper 86 hana juniper 5 hana amber 60 bruno juniper 38 dina birch 51 alice ember 30 gus juniper 87
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032754
qwen/qwen3.7-plus
awkweave-0032755
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan cobalt 41 ready kim fable 44 ready bruno birch 55 closed farah indigo 38 ready gus ember 116 ready jules grove 70 closed eli cobalt 76 paused farah juniper 16 ready
farah juniper 16 ready
alice delta 10 failed lina ember 38 pending ivan amber 86 pending eli juniper 18 pending farah cobalt 56 failed lina ember 7 ready jules cobalt 107 paused
jules cobalt 107 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032755-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
ivan cobalt 41 ready kim fable 44 ready bruno birch 55 closed farah indigo 38 ready gus ember 116 ready jules grove 70 closed eli cobalt 76 paused farah juniper 16 ready
farah juniper 16 ready
alice delta 10 failed lina ember 38 pending ivan amber 86 pending eli juniper 18 pending farah cobalt 56 failed lina ember 7 ready jules cobalt 107 paused
jules cobalt 107 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032755
qwen/qwen3.7-plus
awkweave-0032756
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
jules 119 kim 65 farah 50 hana 35 jules 39 eli 3 jules 102 gus 102 bruno 94 dina 114
kim 65 eli 3 dina 114
dina 87 lina 120 farah 27 lina 5 ivan 58 hana 3 gus 95 chen 39 bruno 58 gus 68
lina 120 hana 3 gus 68
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032756-p1
Output every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
jules 119 kim 65 farah 50 hana 35 jules 39 eli 3 jules 102 gus 102 bruno 94 dina 114
kim 65 eli 3 dina 114
dina 87 lina 120 farah 27 lina 5 ivan 58 hana 3 gus 95 chen 39 bruno 58 gus 68
lina 120 hana 3 gus 68
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032756
qwen/qwen3.7-plus
awkweave-0032757
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta fable 59 gamma juniper 5 beta ember 28 beta indigo 120 beta amber 100 alpha harbor 42 alpha juniper 67 alpha juniper 95 gamma harbor 11 gamma juniper 51
3
gamma fable 64 gamma fable 5 alpha harbor 21 alpha delta 70 delta juniper 30 alpha fable 48 alpha harbor 102
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032757-p1
Calculate the number of unique values found in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
beta fable 59 gamma juniper 5 beta ember 28 beta indigo 120 beta amber 100 alpha harbor 42 alpha juniper 67 alpha juniper 95 gamma harbor 11 gamma juniper 51
3
gamma fable 64 gamma fable 5 alpha harbor 21 alpha delta 70 delta juniper 30 alpha fable 48 alpha harbor 102
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032757
qwen/qwen3.7-plus
awkweave-0032758
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}
chen 29 0 hana 25 7 farah 29 21 hana 19 21 jules 4 23 eli 7 24 jules 11 24 bruno 2 10
hana 3.57 farah 1.38 hana 0.90 jules 0.17 eli 0.29 jules 0.46 bruno 0.20
kim 18 0 bruno 28 18 alice 15 20 bruno 10 3 lina 21 11 lina 27 16 bruno 14 5 dina 28 14
bruno 1.56 alice 0.75 bruno 3.33 lina 1.91 lina 1.69 bruno 2.80 dina 2.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032758-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}
chen 29 0 hana 25 7 farah 29 21 hana 19 21 jules 4 23 eli 7 24 jules 11 24 bruno 2 10
hana 3.57 farah 1.38 hana 0.90 jules 0.17 eli 0.29 jules 0.46 bruno 0.20
kim 18 0 bruno 28 18 alice 15 20 bruno 10 3 lina 21 11 lina 27 16 bruno 14 5 dina 28 14
bruno 1.56 alice 0.75 bruno 3.33 lina 1.91 lina 1.69 bruno 2.80 dina 2.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032758
qwen/qwen3.7-plus
awkweave-0032759
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 cobalt 8 jules amber 8 alice grove 1 jules juniper 27 gus cobalt 26 jules grove 22 chen birch 1
jules juniper 27 gus cobalt 26 jules grove 22
lina grove 29 bruno delta 11 bruno cobalt 1 eli birch 2 ivan fable 12 chen ember 23 jules juniper 5 gus harbor 15 bruno grove 17 farah birch 7
lina grove 29 chen ember 23 bruno grove 17
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032759-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]}
ivan cobalt 8 jules amber 8 alice grove 1 jules juniper 27 gus cobalt 26 jules grove 22 chen birch 1
jules juniper 27 gus cobalt 26 jules grove 22
lina grove 29 bruno delta 11 bruno cobalt 1 eli birch 2 ivan fable 12 chen ember 23 jules juniper 5 gus harbor 15 bruno grove 17 farah birch 7
lina grove 29 chen ember 23 bruno grove 17
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032759
qwen/qwen3.7-plus
awkweave-0032760
Print column 4 followed by column 2 for every record.
{print $4, $2}
birch 73 delta ivan dina ember amber 33 amber jules ivan delta indigo 26 delta jules gus delta fable 9 amber dina alice amber indigo 14 fable jules alice harbor delta 21 grove eli lina ember birch 93 indigo jules gus indigo fable 99 juniper farah lina birch
ivan 73 jules 33 jules 26 dina 9 jules 14 eli 21 jules 93 farah 99
ember 5 delta hana dina indigo grove 49 indigo bruno alice grove amber 10 birch hana alice harbor fable 53 fable farah alice grove juniper 83 harbor gus chen delta delta 86 fable alice alice cobalt juniper 106 birch farah eli indigo
hana 5 bruno 49 hana 10 farah 53 gus 83 alice 86 farah 106
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032760-p1
For every record, output the value from column 4 followed by the value from column 2.
{print $4, $2}
birch 73 delta ivan dina ember amber 33 amber jules ivan delta indigo 26 delta jules gus delta fable 9 amber dina alice amber indigo 14 fable jules alice harbor delta 21 grove eli lina ember birch 93 indigo jules gus indigo fable 99 juniper farah lina birch
ivan 73 jules 33 jules 26 dina 9 jules 14 eli 21 jules 93 farah 99
ember 5 delta hana dina indigo grove 49 indigo bruno alice grove amber 10 birch hana alice harbor fable 53 fable farah alice grove juniper 83 harbor gus chen delta delta 86 fable alice alice cobalt juniper 106 birch farah eli indigo
hana 5 bruno 49 hana 10 farah 53 gus 83 alice 86 farah 106
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032760
qwen/qwen3.7-plus
awkweave-0032761
Print the last field of every input line.
{print $NF}
paused bruno 93 79 birch paused gus 115 85 grove closed chen 27 60 amber closed chen 4 111 delta closed bruno 111 0 indigo paused eli 101 56 amber pending chen 112 105 harbor active eli 48 87 indigo pending bruno 92 59 grove pending dina 24 59 amber
birch grove amber delta indigo amber harbor indigo grove amber
closed hana 116 101 birch active dina 92 66 delta paused lina 34 8 amber failed kim 100 24 ember failed gus 80 53 amber active chen 96 86 grove failed kim 88 5 cobalt
birch delta amber ember amber grove cobalt
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032761-p1
Output the final field of each input line.
{print $NF}
paused bruno 93 79 birch paused gus 115 85 grove closed chen 27 60 amber closed chen 4 111 delta closed bruno 111 0 indigo paused eli 101 56 amber pending chen 112 105 harbor active eli 48 87 indigo pending bruno 92 59 grove pending dina 24 59 amber
birch grove amber delta indigo amber harbor indigo grove amber
closed hana 116 101 birch active dina 92 66 delta paused lina 34 8 amber failed kim 100 24 ember failed gus 80 53 amber active chen 96 86 grove failed kim 88 5 cobalt
birch delta amber ember amber grove cobalt
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032761
qwen/qwen3.7-plus
awkweave-0032762
Print the complete records where column 1 is less than 44.
$1 < 44
103 harbor ember hana 30 grove grove farah 2 harbor birch kim 40 delta grove jules 77 ember amber alice 100 delta grove hana 78 ember fable dina
30 grove grove farah 2 harbor birch kim 40 delta grove jules
5 grove fable jules 97 indigo ember ivan 92 indigo juniper chen 75 cobalt harbor dina 60 indigo delta hana 111 juniper birch gus
5 grove fable jules
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032762-p1
Print the full records for which the value in column 1 is strictly less than 44.
$1 < 44
103 harbor ember hana 30 grove grove farah 2 harbor birch kim 40 delta grove jules 77 ember amber alice 100 delta grove hana 78 ember fable dina
30 grove grove farah 2 harbor birch kim 40 delta grove jules
5 grove fable jules 97 indigo ember ivan 92 indigo juniper chen 75 cobalt harbor dina 60 indigo delta hana 111 juniper birch gus
5 grove fable jules
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032762
qwen/qwen3.7-plus
awkweave-0032763
Show whole lines whose 1st field is between 9 and 28, inclusive.
$1 >= 9 && $1 <= 28
19 hana birch paused 4 gus indigo active 19 lina fable closed 28 kim cobalt active 24 lina ember closed 8 eli grove active 14 chen delta ready
19 hana birch paused 19 lina fable closed 28 kim cobalt active 24 lina ember closed 14 chen delta ready
17 kim ember closed 18 farah ember active 19 gus cobalt paused 19 kim delta active 29 eli harbor ready 29 gus fable failed
17 kim ember closed 18 farah ember active 19 gus cobalt paused 19 kim delta active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032763-p1
Display entire lines where the first field falls within the inclusive range of 9 to 28.
$1 >= 9 && $1 <= 28
19 hana birch paused 4 gus indigo active 19 lina fable closed 28 kim cobalt active 24 lina ember closed 8 eli grove active 14 chen delta ready
19 hana birch paused 19 lina fable closed 28 kim cobalt active 24 lina ember closed 14 chen delta ready
17 kim ember closed 18 farah ember active 19 gus cobalt paused 19 kim delta active 29 eli harbor ready 29 gus fable failed
17 kim ember closed 18 farah ember active 19 gus cobalt paused 19 kim delta active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032763
qwen/qwen3.7-plus
awkweave-0032764
Print column 1 only for rows where column 4 is exactly pending.
$4 == "pending"{print $1}
hana 71 ember paused ivan 79 fable active kim 22 birch paused ivan 1 fable failed bruno 112 harbor pending gus 8 delta active lina 42 indigo pending
bruno lina
bruno 62 birch paused kim 89 delta active kim 97 grove closed hana 117 birch active eli 72 juniper ready dina 58 harbor paused farah 61 harbor ready lina 51 juniper closed kim 15 cobalt pending
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032764-p1
Output only the first column for rows where the fourth column contains exactly the value 'pending'.
$4 == "pending"{print $1}
hana 71 ember paused ivan 79 fable active kim 22 birch paused ivan 1 fable failed bruno 112 harbor pending gus 8 delta active lina 42 indigo pending
bruno lina
bruno 62 birch paused kim 89 delta active kim 97 grove closed hana 117 birch active eli 72 juniper ready dina 58 harbor paused farah 61 harbor ready lina 51 juniper closed kim 15 cobalt pending
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032764
qwen/qwen3.7-plus
awkweave-0032765
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
amber 40 ERROR delta 106 ERROR ember 42 DEBUG ember 6 ERROR grove 45 WARN birch 31 ERROR birch 26 DEBUG amber 114 INFO delta 74 DEBUG delta 75 DEBUG
amber 114 INFO
indigo 32 ERROR juniper 3 DEBUG harbor 77 WARN fable 43 DEBUG fable 57 INFO fable 120 ERROR harbor 62 INFO birch 99 INFO
fable 57 INFO harbor 62 INFO birch 99 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032765-p1
Print all fields from any line where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
amber 40 ERROR delta 106 ERROR ember 42 DEBUG ember 6 ERROR grove 45 WARN birch 31 ERROR birch 26 DEBUG amber 114 INFO delta 74 DEBUG delta 75 DEBUG
amber 114 INFO
indigo 32 ERROR juniper 3 DEBUG harbor 77 WARN fable 43 DEBUG fable 57 INFO fable 120 ERROR harbor 62 INFO birch 99 INFO
fable 57 INFO harbor 62 INFO birch 99 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032765
qwen/qwen3.7-plus
awkweave-0032766
Print every line except those containing the exact text delta.
$0 !~ /delta/
harbor 95 pending harbor 20 failed cobalt 23 active delta 58 failed birch 64 closed delta 93 pending delta 999 active
harbor 95 pending harbor 20 failed cobalt 23 active birch 64 closed
fable 35 pending ember 32 ready ember 91 pending fable 23 pending fable 24 active juniper 1 paused birch 2 pending juniper 35 failed delta 9 pending delta 999 active
fable 35 pending ember 32 ready ember 91 pending fable 23 pending fable 24 active juniper 1 paused birch 2 pending juniper 35 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032766-p1
Output all lines that do not contain the exact string delta.
$0 !~ /delta/
harbor 95 pending harbor 20 failed cobalt 23 active delta 58 failed birch 64 closed delta 93 pending delta 999 active
harbor 95 pending harbor 20 failed cobalt 23 active birch 64 closed
fable 35 pending ember 32 ready ember 91 pending fable 23 pending fable 24 active juniper 1 paused birch 2 pending juniper 35 failed delta 9 pending delta 999 active
fable 35 pending ember 32 ready ember 91 pending fable 23 pending fable 24 active juniper 1 paused birch 2 pending juniper 35 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032766
qwen/qwen3.7-plus
awkweave-0032767
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
eli harbor 46 kim birch 36 jules indigo 5 farah indigo 67 bruno cobalt 36 farah juniper 88 bruno cobalt 68 jules delta 101
jules indigo 5 farah indigo 67 bruno cobalt 36 farah juniper 88
dina grove 16 hana grove 92 farah amber 96 chen amber 102 eli birch 45 bruno delta 54
farah amber 96 chen amber 102 eli birch 45 bruno delta 54
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032767-p1
Display lines 3 to 6, inclusive of both the start and end lines.
NR >= 3 && NR <= 6
eli harbor 46 kim birch 36 jules indigo 5 farah indigo 67 bruno cobalt 36 farah juniper 88 bruno cobalt 68 jules delta 101
jules indigo 5 farah indigo 67 bruno cobalt 36 farah juniper 88
dina grove 16 hana grove 92 farah amber 96 chen amber 102 eli birch 45 bruno delta 54
farah amber 96 chen amber 102 eli birch 45 bruno delta 54
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032767
qwen/qwen3.7-plus
awkweave-0032768
Output only the first 3 records.
NR <= 3
gus 85 fable alice 35 birch alice 95 delta lina 38 fable farah 93 amber hana 97 cobalt lina 31 grove ivan 62 juniper
gus 85 fable alice 35 birch alice 95 delta
lina 23 indigo ivan 109 fable hana 72 amber eli 118 harbor kim 104 ember alice 42 juniper bruno 87 amber jules 31 amber chen 32 delta farah 66 birch
lina 23 indigo ivan 109 fable hana 72 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032768-p1
Show only the initial 3 records from the input.
NR <= 3
gus 85 fable alice 35 birch alice 95 delta lina 38 fable farah 93 amber hana 97 cobalt lina 31 grove ivan 62 juniper
gus 85 fable alice 35 birch alice 95 delta
lina 23 indigo ivan 109 fable hana 72 amber eli 118 harbor kim 104 ember alice 42 juniper bruno 87 amber jules 31 amber chen 32 delta farah 66 birch
lina 23 indigo ivan 109 fable hana 72 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032768
qwen/qwen3.7-plus
awkweave-0032769
Skip the first line and print every remaining line unchanged.
NR > 1
kim 86 juniper alice 42 cobalt ivan 90 cobalt farah 25 juniper kim 62 indigo farah 66 juniper alice 98 fable
alice 42 cobalt ivan 90 cobalt farah 25 juniper kim 62 indigo farah 66 juniper alice 98 fable
bruno 10 grove farah 65 indigo ivan 30 harbor eli 29 amber dina 104 birch alice 20 birch bruno 63 ember
farah 65 indigo ivan 30 harbor eli 29 amber dina 104 birch alice 20 birch bruno 63 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032769-p1
Omit the first line and output the rest of the lines exactly as they appear.
NR > 1
kim 86 juniper alice 42 cobalt ivan 90 cobalt farah 25 juniper kim 62 indigo farah 66 juniper alice 98 fable
alice 42 cobalt ivan 90 cobalt farah 25 juniper kim 62 indigo farah 66 juniper alice 98 fable
bruno 10 grove farah 65 indigo ivan 30 harbor eli 29 amber dina 104 birch alice 20 birch bruno 63 ember
farah 65 indigo ivan 30 harbor eli 29 amber dina 104 birch alice 20 birch bruno 63 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032769
qwen/qwen3.7-plus
awkweave-0032770
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
dina ready 106 gus ready 115 bruno active 19 hana failed 100 chen paused 26 dina failed 46 lina failed 53 dina closed 24
1
lina failed 12 eli ready 3 kim pending 2 kim pending 39 eli closed 20 bruno pending 39 bruno active 55 kim active 4 chen ready 38 dina active 116
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032770-p1
Count the number of records where column 2 is closed; output 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
dina ready 106 gus ready 115 bruno active 19 hana failed 100 chen paused 26 dina failed 46 lina failed 53 dina closed 24
1
lina failed 12 eli ready 3 kim pending 2 kim pending 39 eli closed 20 bruno pending 39 bruno active 55 kim active 4 chen ready 38 dina active 116
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032770
qwen/qwen3.7-plus
awkweave-0032771
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
19 juniper lina 10 delta gus 1 indigo farah 8 indigo bruno 19 indigo lina 5 ember farah 9 juniper kim 26 birch jules 15 cobalt alice 1 harbor bruno
113
18 fable bruno 23 cobalt chen 10 grove dina 28 juniper jules 30 ember alice 8 birch chen
117
sum_field
1
train
original-grammar
CC-BY-4.0
null
null