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-0036941-p1
Display only the first two records from the input.
NR <= 2
jules 101 harbor alice 82 cobalt ivan 99 juniper dina 111 delta alice 78 delta alice 9 delta
jules 101 harbor alice 82 cobalt
farah 48 juniper jules 75 amber ivan 29 juniper kim 23 ember dina 9 grove gus 93 amber ivan 45 delta
farah 48 juniper jules 75 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036941
qwen/qwen3.7-plus
awkweave-0036942
Skip the first line and print every remaining line unchanged.
NR > 1
kim 52 cobalt kim 99 ember farah 78 harbor kim 8 juniper chen 114 amber farah 86 indigo chen 18 amber bruno 23 ember farah 110 grove
kim 99 ember farah 78 harbor kim 8 juniper chen 114 amber farah 86 indigo chen 18 amber bruno 23 ember farah 110 grove
gus 19 juniper jules 39 birch kim 29 indigo bruno 48 juniper farah 79 juniper farah 10 ember jules 100 amber bruno 108 indigo jules 70 juniper dina 1 fable
jules 39 birch kim 29 indigo bruno 48 juniper farah 79 juniper farah 10 ember jules 100 amber bruno 108 indigo jules 70 juniper dina 1 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036942-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
kim 52 cobalt kim 99 ember farah 78 harbor kim 8 juniper chen 114 amber farah 86 indigo chen 18 amber bruno 23 ember farah 110 grove
kim 99 ember farah 78 harbor kim 8 juniper chen 114 amber farah 86 indigo chen 18 amber bruno 23 ember farah 110 grove
gus 19 juniper jules 39 birch kim 29 indigo bruno 48 juniper farah 79 juniper farah 10 ember jules 100 amber bruno 108 indigo jules 70 juniper dina 1 fable
jules 39 birch kim 29 indigo bruno 48 juniper farah 79 juniper farah 10 ember jules 100 amber bruno 108 indigo jules 70 juniper dina 1 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036942
qwen/qwen3.7-plus
awkweave-0036943
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
farah pending 32 chen closed 9 kim active 50 alice failed 20 hana paused 21 gus active 63 chen active 57 hana ready 72 alice pending 120 dina paused 38
1
hana failed 0 alice ready 31 ivan failed 114 kim paused 25 alice pending 12 lina active 12 ivan failed 95
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036943-p1
Tally the entries where column 2 is 'closed' and display the count, defaulting to 0 if no matches are found.
$2 == "closed"{n++}END{print n+0}
farah pending 32 chen closed 9 kim active 50 alice failed 20 hana paused 21 gus active 63 chen active 57 hana ready 72 alice pending 120 dina paused 38
1
hana failed 0 alice ready 31 ivan failed 114 kim paused 25 alice pending 12 lina active 12 ivan failed 95
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036943
qwen/qwen3.7-plus
awkweave-0036944
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
25 dina delta 12 alice delta 2 dina birch 3 hana cobalt 29 alice fable 9 lina ember 14 eli indigo
94
14 dina indigo 13 eli cobalt 24 hana amber 21 kim ember 25 farah birch 23 bruno grove 16 eli ember
136
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036944-p1
Compute the total of all integer values in column 1 and output the result.
{s+=$1}END{print s+0}
25 dina delta 12 alice delta 2 dina birch 3 hana cobalt 29 alice fable 9 lina ember 14 eli indigo
94
14 dina indigo 13 eli cobalt 24 hana amber 21 kim ember 25 farah birch 23 bruno grove 16 eli ember
136
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036944
qwen/qwen3.7-plus
awkweave-0036945
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 23 fable ivan 8 indigo hana 29 ember alice 7 juniper lina 25 harbor eli 12 delta kim 25 cobalt
18.43
lina 20 birch farah 15 ember chen 26 fable hana 19 juniper bruno 18 amber bruno 28 ember jules 18 grove gus 24 cobalt
21.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036945-p1
Output the average of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 23 fable ivan 8 indigo hana 29 ember alice 7 juniper lina 25 harbor eli 12 delta kim 25 cobalt
18.43
lina 20 birch farah 15 ember chen 26 fable hana 19 juniper bruno 18 amber bruno 28 ember jules 18 grove gus 24 cobalt
21.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036945
qwen/qwen3.7-plus
awkweave-0036946
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ivan ember 15 alice fable 16 alice amber 13 lina ember 21 hana delta 4 kim juniper 23
4
jules fable 2 farah amber 12 farah fable 24 lina ember 5 farah fable 26 gus birch 19
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036946-p1
Identify and display the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ivan ember 15 alice fable 16 alice amber 13 lina ember 21 hana delta 4 kim juniper 23
4
jules fable 2 farah amber 12 farah fable 24 lina ember 5 farah fable 26 gus birch 19
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036946
qwen/qwen3.7-plus
awkweave-0036947
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo ivan 1 juniper farah 1 birch eli 13 fable bruno 25 birch chen 2 indigo eli 28 juniper bruno 2
28
delta hana 28 fable dina 1 ember lina 21 fable bruno 8 cobalt dina 15 fable bruno 10 amber jules 19 birch chen 1 amber eli 6
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036947-p1
Identify and display the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo ivan 1 juniper farah 1 birch eli 13 fable bruno 25 birch chen 2 indigo eli 28 juniper bruno 2
28
delta hana 28 fable dina 1 ember lina 21 fable bruno 8 cobalt dina 15 fable bruno 10 amber jules 19 birch chen 1 amber eli 6
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036947
qwen/qwen3.7-plus
awkweave-0036948
Count all input records and print the total.
END{print NR}
lina 21 kim 65 farah 19 kim 35 chen 86 chen 2 jules 109 farah 88
8
eli 11 kim 83 farah 101 bruno 9 chen 61 chen 111 jules 73
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036948-p1
Count the total number of input records and print the final count.
END{print NR}
lina 21 kim 65 farah 19 kim 35 chen 86 chen 2 jules 109 farah 88
8
eli 11 kim 83 farah 101 bruno 9 chen 61 chen 111 jules 73
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036948
qwen/qwen3.7-plus
awkweave-0036949
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim delta 97 jules grove 77 gus indigo 70 kim delta 97 lina indigo 20 gus ember 60 chen delta 95 eli fable 72 farah delta 25 chen indigo 99 gus ember 89
kim delta 97 jules grove 77 gus indigo 70 lina indigo 20 gus ember 60 chen delta 95 eli fable 72 farah delta 25 chen indigo 99 gus ember 89
gus amber 119 kim amber 44 dina harbor 2 gus cobalt 39 jules delta 106 dina birch 0 gus amber 119 kim amber 112 kim harbor 52 farah grove 101 kim birch 66
gus amber 119 kim amber 44 dina harbor 2 gus cobalt 39 jules delta 106 dina birch 0 kim amber 112 kim harbor 52 farah grove 101 kim birch 66
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036949-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
kim delta 97 jules grove 77 gus indigo 70 kim delta 97 lina indigo 20 gus ember 60 chen delta 95 eli fable 72 farah delta 25 chen indigo 99 gus ember 89
kim delta 97 jules grove 77 gus indigo 70 lina indigo 20 gus ember 60 chen delta 95 eli fable 72 farah delta 25 chen indigo 99 gus ember 89
gus amber 119 kim amber 44 dina harbor 2 gus cobalt 39 jules delta 106 dina birch 0 gus amber 119 kim amber 112 kim harbor 52 farah grove 101 kim birch 66
gus amber 119 kim amber 44 dina harbor 2 gus cobalt 39 jules delta 106 dina birch 0 kim amber 112 kim harbor 52 farah grove 101 kim birch 66
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036949
qwen/qwen3.7-plus
awkweave-0036950
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
lina cobalt 8 eli ember 8 dina harbor 22 alice indigo 116 alice fable 41 farah fable 109 jules grove 114
lina cobalt 8 eli ember 8 dina harbor 22 alice indigo 116 farah fable 109 jules grove 114
bruno fable 12 bruno ember 13 dina delta 39 alice ember 105 alice indigo 98 hana fable 120 farah grove 32 alice indigo 41 chen amber 5
bruno fable 12 dina delta 39 alice ember 105 hana fable 120 farah grove 32 chen amber 5
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036950-p1
Retain only the first occurrence for each unique value in column 1, preserving the original sequence.
!seen[$1]++
lina cobalt 8 eli ember 8 dina harbor 22 alice indigo 116 alice fable 41 farah fable 109 jules grove 114
lina cobalt 8 eli ember 8 dina harbor 22 alice indigo 116 farah fable 109 jules grove 114
bruno fable 12 bruno ember 13 dina delta 39 alice ember 105 alice indigo 98 hana fable 120 farah grove 32 alice indigo 41 chen amber 5
bruno fable 12 dina delta 39 alice ember 105 hana fable 120 farah grove 32 chen amber 5
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036950
qwen/qwen3.7-plus
awkweave-0036951
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 16 fable jules 5 amber lina 18 grove dina 23 harbor dina 26 grove alice 11 delta chen 7 cobalt farah 9 cobalt farah 29 harbor
farah 16 jules 21 lina 39 dina 62 dina 88 alice 99 chen 106 farah 115 farah 144
bruno 22 indigo bruno 26 ember gus 4 fable lina 24 grove kim 5 fable gus 15 amber lina 29 amber hana 18 juniper
bruno 22 bruno 48 gus 52 lina 76 kim 81 gus 96 lina 125 hana 143
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036951-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 16 fable jules 5 amber lina 18 grove dina 23 harbor dina 26 grove alice 11 delta chen 7 cobalt farah 9 cobalt farah 29 harbor
farah 16 jules 21 lina 39 dina 62 dina 88 alice 99 chen 106 farah 115 farah 144
bruno 22 indigo bruno 26 ember gus 4 fable lina 24 grove kim 5 fable gus 15 amber lina 29 amber hana 18 juniper
bruno 22 bruno 48 gus 52 lina 76 kim 81 gus 96 lina 125 hana 143
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036951
qwen/qwen3.7-plus
awkweave-0036952
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 21 18 delta gus 19 17 amber eli 11 27 juniper lina 22 25 indigo dina 15 18 delta bruno 23 17 birch jules 28 18 birch bruno 26 26 delta ivan 10 13 harbor
bruno 39 gus 36 eli 38 lina 47 dina 33 bruno 40 jules 46 bruno 52 ivan 23
eli 12 14 amber ivan 23 1 fable dina 6 24 fable kim 6 5 grove chen 7 12 indigo dina 26 8 ember gus 7 30 delta
eli 26 ivan 24 dina 30 kim 11 chen 19 dina 34 gus 37
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036952-p1
Output field 1 followed by the sum of fields 2 and 3 for every row.
{print $1,$2+$3}
bruno 21 18 delta gus 19 17 amber eli 11 27 juniper lina 22 25 indigo dina 15 18 delta bruno 23 17 birch jules 28 18 birch bruno 26 26 delta ivan 10 13 harbor
bruno 39 gus 36 eli 38 lina 47 dina 33 bruno 40 jules 46 bruno 52 ivan 23
eli 12 14 amber ivan 23 1 fable dina 6 24 fable kim 6 5 grove chen 7 12 indigo dina 26 8 ember gus 7 30 delta
eli 26 ivan 24 dina 30 kim 11 chen 19 dina 34 gus 37
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036952
qwen/qwen3.7-plus
awkweave-0036953
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
bruno 21 jules 21 dina 22 ivan 11 bruno 12 eli 12 eli 5
bruno fail jules fail dina fail ivan fail bruno fail eli fail eli fail
lina 27 eli 28 hana 29 farah 19 chen 30 dina 5 ivan 1
lina pass eli pass hana pass farah fail chen pass dina fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036953-p1
Print column 1 and output 'pass' if column 2 is 25 or greater; otherwise, output 'fail'.
{print $1,($2>=25?"pass":"fail")}
bruno 21 jules 21 dina 22 ivan 11 bruno 12 eli 12 eli 5
bruno fail jules fail dina fail ivan fail bruno fail eli fail eli fail
lina 27 eli 28 hana 29 farah 19 chen 30 dina 5 ivan 1
lina pass eli pass hana pass farah fail chen pass dina fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036953
qwen/qwen3.7-plus
awkweave-0036954
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
ivan cobalt 45 gus indigo 21 gus harbor 7 bruno amber 81 eli amber 51 kim fable 65
COBALT INDIGO HARBOR AMBER AMBER FABLE
ivan delta 15 gus cobalt 106 farah grove 115 eli delta 21 bruno indigo 44 dina cobalt 32 jules indigo 53 dina delta 109 hana cobalt 23
DELTA COBALT GROVE DELTA INDIGO COBALT INDIGO DELTA COBALT
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036954-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
ivan cobalt 45 gus indigo 21 gus harbor 7 bruno amber 81 eli amber 51 kim fable 65
COBALT INDIGO HARBOR AMBER AMBER FABLE
ivan delta 15 gus cobalt 106 farah grove 115 eli delta 21 bruno indigo 44 dina cobalt 32 jules indigo 53 dina delta 109 hana cobalt 23
DELTA COBALT GROVE DELTA INDIGO COBALT INDIGO DELTA COBALT
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036954
qwen/qwen3.7-plus
awkweave-0036955
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
juniper 77 indigo 119 delta 10 delta 41 grove 98 birch 90 indigo 64 amber 59 indigo 22
nipe digo lta lta ove rch digo ber digo
ember 89 fable 34 delta 18 ember 43 delta 111 grove 27 ember 90
ber ble lta ber lta ove ber
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036955-p1
Extract and print a 4-character substring from column 1, beginning at the third character.
{print substr($1,3,4)}
juniper 77 indigo 119 delta 10 delta 41 grove 98 birch 90 indigo 64 amber 59 indigo 22
nipe digo lta lta ove rch digo ber digo
ember 89 fable 34 delta 18 ember 43 delta 111 grove 27 ember 90
ber ble lta ber lta ove ber
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036955
qwen/qwen3.7-plus
awkweave-0036956
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_fable 11 ember_fable 41 harbor_delta 34 cobalt_harbor 54 juniper_juniper 18 cobalt_fable 74
amber fable ember fable harbor delta cobalt harbor juniper juniper cobalt fable
harbor_indigo 73 ember_ember 73 amber_fable 78 amber_juniper 17 cobalt_juniper 119 juniper_delta 78 ember_birch 104 indigo_delta 34 birch_delta 20 amber_grove 112
harbor indigo ember ember amber fable amber juniper cobalt juniper juniper delta ember birch indigo delta birch delta amber grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036956-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
amber_fable 11 ember_fable 41 harbor_delta 34 cobalt_harbor 54 juniper_juniper 18 cobalt_fable 74
amber fable ember fable harbor delta cobalt harbor juniper juniper cobalt fable
harbor_indigo 73 ember_ember 73 amber_fable 78 amber_juniper 17 cobalt_juniper 119 juniper_delta 78 ember_birch 104 indigo_delta 34 birch_delta 20 amber_grove 112
harbor indigo ember ember amber fable amber juniper cobalt juniper juniper delta ember birch indigo delta birch delta amber grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036956
qwen/qwen3.7-plus
awkweave-0036957
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)}
bruno harbor 112 ready bruno harbor 90 pending jules birch 109 active bruno juniper 56 ready kim delta 30 ready gus birch 93 pending chen juniper 61 closed
ready 112 harbor bruno pending 90 harbor bruno active 109 birch jules ready 56 juniper bruno ready 30 delta kim pending 93 birch gus closed 61 juniper chen
kim grove 77 pending farah amber 13 closed chen ember 6 ready hana grove 77 pending ivan cobalt 87 closed kim ember 29 active
pending 77 grove kim closed 13 amber farah ready 6 ember chen pending 77 grove hana closed 87 cobalt ivan active 29 ember kim
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036957-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)}
bruno harbor 112 ready bruno harbor 90 pending jules birch 109 active bruno juniper 56 ready kim delta 30 ready gus birch 93 pending chen juniper 61 closed
ready 112 harbor bruno pending 90 harbor bruno active 109 birch jules ready 56 juniper bruno ready 30 delta kim pending 93 birch gus closed 61 juniper chen
kim grove 77 pending farah amber 13 closed chen ember 6 ready hana grove 77 pending ivan cobalt 87 closed kim ember 29 active
pending 77 grove kim closed 13 amber farah ready 6 ember chen pending 77 grove hana closed 87 cobalt ivan active 29 ember kim
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036957
qwen/qwen3.7-plus
awkweave-0036958
Print the number of whitespace-separated fields on each line.
{print NF}
kim delta 112 active bruno indigo 25 closed farah delta 105 failed hana juniper 78 active lina fable 57 paused bruno amber 10 paused kim birch 56 ready bruno ember 118 paused ivan ember 103 paused lina juniper 95 failed
4 4 4 4 4 4 4 4 4 4
kim fable 50 active lina birch 120 failed lina harbor 44 active farah indigo 82 paused kim indigo 97 paused bruno harbor 83 active gus grove 59 ready ivan fable 77 closed eli cobalt 117 ready hana juniper 81 failed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036958-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
kim delta 112 active bruno indigo 25 closed farah delta 105 failed hana juniper 78 active lina fable 57 paused bruno amber 10 paused kim birch 56 ready bruno ember 118 paused ivan ember 103 paused lina juniper 95 failed
4 4 4 4 4 4 4 4 4 4
kim fable 50 active lina birch 120 failed lina harbor 44 active farah indigo 82 paused kim indigo 97 paused bruno harbor 83 active gus grove 59 ready ivan fable 77 closed eli cobalt 117 ready hana juniper 81 failed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036958
qwen/qwen3.7-plus
awkweave-0036959
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]]}
dina gamma 51 jules gamma 42 eli delta 44 chen beta 83 gus alpha 39 kim alpha 68 ivan alpha 55 eli gamma 73 hana gamma 93 hana delta 74
gamma 4 delta 2 beta 1 alpha 3
kim gamma 11 bruno beta 89 gus alpha 92 hana beta 61 alice delta 71 jules alpha 57 farah delta 5 dina delta 47
gamma 1 beta 2 alpha 2 delta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036959-p1
Tally the records for each unique value in column 2, printing the value and its count 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]]}
dina gamma 51 jules gamma 42 eli delta 44 chen beta 83 gus alpha 39 kim alpha 68 ivan alpha 55 eli gamma 73 hana gamma 93 hana delta 74
gamma 4 delta 2 beta 1 alpha 3
kim gamma 11 bruno beta 89 gus alpha 92 hana beta 61 alice delta 71 jules alpha 57 farah delta 5 dina delta 47
gamma 1 beta 2 alpha 2 delta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036959
qwen/qwen3.7-plus
awkweave-0036960
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]]}
hana alpha 28 lina alpha 29 chen delta 17 ivan alpha 9 ivan alpha 24 alice gamma 23 alice gamma 3
alpha 90 delta 17 gamma 26
chen alpha 10 ivan delta 3 alice gamma 25 chen gamma 5 lina beta 15 eli alpha 19 alice beta 11 alice alpha 30 jules gamma 21
alpha 59 delta 3 gamma 51 beta 26
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036960-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying results in the 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]]}
hana alpha 28 lina alpha 29 chen delta 17 ivan alpha 9 ivan alpha 24 alice gamma 23 alice gamma 3
alpha 90 delta 17 gamma 26
chen alpha 10 ivan delta 3 alice gamma 25 chen gamma 5 lina beta 15 eli alpha 19 alice beta 11 alice alpha 30 jules gamma 21
alpha 59 delta 3 gamma 51 beta 26
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036960
qwen/qwen3.7-plus
awkweave-0036961
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 indigo 108 gamma grove 115 alpha grove 49 alpha harbor 10 alpha harbor 4 gamma indigo 61 gamma indigo 71
gamma 3 alpha 3
alpha amber 3 delta fable 31 delta fable 59 gamma indigo 88 delta amber 34 beta birch 108 alpha cobalt 72 delta amber 58 delta cobalt 72
alpha 2 delta 5
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036961-p1
List each duplicate value from column 1 along with 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 indigo 108 gamma grove 115 alpha grove 49 alpha harbor 10 alpha harbor 4 gamma indigo 61 gamma indigo 71
gamma 3 alpha 3
alpha amber 3 delta fable 31 delta fable 59 gamma indigo 88 delta amber 34 beta birch 108 alpha cobalt 72 delta amber 58 delta cobalt 72
alpha 2 delta 5
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036961
qwen/qwen3.7-plus
awkweave-0036962
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note record_id region display_name r001 dina 8 failed r002 farah 30 pending r003 alice 8 closed r004 eli 9 ready r005 dina 29 active r006 gus 5 active r007 gus 20 failed
8 30 8 9 29 5 20
note record_id region display_name r001 ivan 25 failed r002 alice 21 pending r003 farah 12 ready r004 dina 22 closed r005 hana 17 failed r006 ivan 3 pending r007 kim 29 paused
25 21 12 22 17 3 29
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036962-p1
Skip the header row and print the region column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note record_id region display_name r001 dina 8 failed r002 farah 30 pending r003 alice 8 closed r004 eli 9 ready r005 dina 29 active r006 gus 5 active r007 gus 20 failed
8 30 8 9 29 5 20
note record_id region display_name r001 ivan 25 failed r002 alice 21 pending r003 farah 12 ready r004 dina 22 closed r005 hana 17 failed r006 ivan 3 pending r007 kim 29 paused
25 21 12 22 17 3 29
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036962
qwen/qwen3.7-plus
awkweave-0036963
The first row is a header. Print display_name for data rows whose score is greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 gus 10 closed r002 kim 25 active r003 jules 8 failed r004 bruno 28 pending r005 ivan 16 pending r006 dina 29 active r007 alice 30 active r008 bruno 14 pending r009 farah 24 paused r010 kim 9 closed
kim bruno dina alice farah
record_id display_name score state r001 eli 2 paused r002 alice 19 closed r003 gus 21 failed r004 eli 11 paused r005 alice 19 failed r006 hana 8 closed r007 hana 4 paused r008 eli 2 closed r009 gus 9 active
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036963-p1
Ignoring the header, print the display_name for rows where the score is greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 gus 10 closed r002 kim 25 active r003 jules 8 failed r004 bruno 28 pending r005 ivan 16 pending r006 dina 29 active r007 alice 30 active r008 bruno 14 pending r009 farah 24 paused r010 kim 9 closed
kim bruno dina alice farah
record_id display_name score state r001 eli 2 paused r002 alice 19 closed r003 gus 21 failed r004 eli 11 paused r005 alice 19 failed r006 hana 8 closed r007 hana 4 paused r008 eli 2 closed r009 gus 9 active
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036963
qwen/qwen3.7-plus
awkweave-0036964
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
dina 2 pending jules 9 failed ivan 14 ready alice 10 active gus 14 closed farah 29 failed
pending failed ready active closed failed
alice 27 closed gus 27 failed gus 26 closed hana 29 paused chen 20 ready lina 23 active lina 27 active alice 24 failed
closed failed closed paused ready active active failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036964-p1
Given tab-separated input, output the third column for every record.
BEGIN{FS=OFS="\t"}{print $3}
dina 2 pending jules 9 failed ivan 14 ready alice 10 active gus 14 closed farah 29 failed
pending failed ready active closed failed
alice 27 closed gus 27 failed gus 26 closed hana 29 paused chen 20 ready lina 23 active lina 27 active alice 24 failed
closed failed closed paused ready active active failed
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036964
qwen/qwen3.7-plus
awkweave-0036965
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 21.
BEGIN{FS=OFS=","}$2>21{print $1}
gus,25,failed farah,29,pending dina,3,paused hana,18,active gus,12,ready farah,9,failed
gus farah
hana,18,closed jules,10,failed hana,26,closed alice,21,failed gus,1,pending bruno,13,ready lina,21,active
hana
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036965-p1
For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 21.
BEGIN{FS=OFS=","}$2>21{print $1}
gus,25,failed farah,29,pending dina,3,paused hana,18,active gus,12,ready farah,9,failed
gus farah
hana,18,closed jules,10,failed hana,26,closed alice,21,failed gus,1,pending bruno,13,ready lina,21,active
hana
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036965
qwen/qwen3.7-plus
awkweave-0036966
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim ember 16 lina juniper 44 bruno juniper 12 hana harbor 69 gus indigo 2 kim cobalt 61 kim juniper 2 alice grove 23
kim ember 16 lina juniper 44 bruno juniper 12 hana harbor 69 gus indigo 2 kim cobalt 61 kim juniper 2 alice grove 23
farah amber 65 kim indigo 113 alice cobalt 57 lina delta 115 lina harbor 68 farah delta 18 alice cobalt 70
farah amber 65 kim indigo 113 alice cobalt 57 lina delta 115 lina harbor 68 farah delta 18 alice cobalt 70
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036966-p1
Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
kim ember 16 lina juniper 44 bruno juniper 12 hana harbor 69 gus indigo 2 kim cobalt 61 kim juniper 2 alice grove 23
kim ember 16 lina juniper 44 bruno juniper 12 hana harbor 69 gus indigo 2 kim cobalt 61 kim juniper 2 alice grove 23
farah amber 65 kim indigo 113 alice cobalt 57 lina delta 115 lina harbor 68 farah delta 18 alice cobalt 70
farah amber 65 kim indigo 113 alice cobalt 57 lina delta 115 lina harbor 68 farah delta 18 alice cobalt 70
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036966
qwen/qwen3.7-plus
awkweave-0036967
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim grove 30 failed eli indigo 10 ready ivan harbor 43 paused kim amber 77 pending farah ember 102 failed ivan indigo 82 active bruno amber 115 ready eli cobalt 43 closed
farah ember 102 failed
chen birch 115 pending farah grove 47 pending gus indigo 70 active hana cobalt 47 pending hana fable 12 closed ivan delta 92 paused dina ember 86 ready lina juniper 90 failed kim amber 21 closed
chen birch 115 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036967-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
kim grove 30 failed eli indigo 10 ready ivan harbor 43 paused kim amber 77 pending farah ember 102 failed ivan indigo 82 active bruno amber 115 ready eli cobalt 43 closed
farah ember 102 failed
chen birch 115 pending farah grove 47 pending gus indigo 70 active hana cobalt 47 pending hana fable 12 closed ivan delta 92 paused dina ember 86 ready lina juniper 90 failed kim amber 21 closed
chen birch 115 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036967
qwen/qwen3.7-plus
awkweave-0036968
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
eli 41 gus 118 jules 91 lina 90 lina 20 dina 8 ivan 38 chen 31 eli 120 lina 2
jules 91 dina 8 eli 120
alice 53 farah 109 jules 101 kim 115 gus 51 eli 12
jules 101 eli 12
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036968-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
eli 41 gus 118 jules 91 lina 90 lina 20 dina 8 ivan 38 chen 31 eli 120 lina 2
jules 91 dina 8 eli 120
alice 53 farah 109 jules 101 kim 115 gus 51 eli 12
jules 101 eli 12
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036968
qwen/qwen3.7-plus
awkweave-0036969
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta juniper 49 delta fable 10 gamma ember 0 alpha cobalt 64 gamma cobalt 63 beta ember 112
4
gamma fable 73 beta indigo 59 gamma cobalt 107 delta ember 107 gamma grove 58 gamma birch 103 gamma cobalt 52
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036969-p1
Calculate the number of unique values present in the second column and display only that total count.
{if(!seen[$2]++)n++}END{print n+0}
beta juniper 49 delta fable 10 gamma ember 0 alpha cobalt 64 gamma cobalt 63 beta ember 112
4
gamma fable 73 beta indigo 59 gamma cobalt 107 delta ember 107 gamma grove 58 gamma birch 103 gamma cobalt 52
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036969
qwen/qwen3.7-plus
awkweave-0036970
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}
hana 27 0 gus 16 20 farah 17 8 farah 28 25 hana 2 2 dina 22 1
gus 0.80 farah 2.12 farah 1.12 hana 1.00 dina 22.00
eli 22 0 farah 2 29 alice 3 21 ivan 27 23 eli 30 4 lina 24 27
farah 0.07 alice 0.14 ivan 1.17 eli 7.50 lina 0.89
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036970-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 27 0 gus 16 20 farah 17 8 farah 28 25 hana 2 2 dina 22 1
gus 0.80 farah 2.12 farah 1.12 hana 1.00 dina 22.00
eli 22 0 farah 2 29 alice 3 21 ivan 27 23 eli 30 4 lina 24 27
farah 0.07 alice 0.14 ivan 1.17 eli 7.50 lina 0.89
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036970
qwen/qwen3.7-plus
awkweave-0036971
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]}
dina amber 25 gus fable 2 lina juniper 13 bruno cobalt 24 bruno ember 15 lina ember 5 eli juniper 17
dina amber 25 bruno cobalt 24 eli juniper 17
jules fable 11 alice cobalt 2 ivan indigo 19 hana indigo 8 farah cobalt 21 ivan harbor 7 lina fable 20
farah cobalt 21 lina fable 20 ivan indigo 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036971-p1
Display the full records corresponding to the top 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]}
dina amber 25 gus fable 2 lina juniper 13 bruno cobalt 24 bruno ember 15 lina ember 5 eli juniper 17
dina amber 25 bruno cobalt 24 eli juniper 17
jules fable 11 alice cobalt 2 ivan indigo 19 hana indigo 8 farah cobalt 21 ivan harbor 7 lina fable 20
farah cobalt 21 lina fable 20 ivan indigo 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036971
qwen/qwen3.7-plus
awkweave-0036972
For each line, output fields 5 and 1, in that order.
{print $5, $1}
kim pending farah ember indigo gus pending alice delta harbor ivan pending jules ember delta ivan failed farah cobalt delta jules ready hana birch delta farah pending bruno delta fable ivan paused gus fable delta gus active lina juniper harbor alice closed farah juniper indigo
indigo kim harbor gus delta ivan delta ivan delta jules fable farah delta ivan harbor gus indigo alice
bruno closed dina harbor harbor hana paused ivan grove juniper hana paused gus ember delta jules closed kim indigo juniper eli failed farah delta cobalt lina active eli juniper ember farah ready alice cobalt birch
harbor bruno juniper hana delta hana juniper jules cobalt eli ember lina birch farah
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036972-p1
For every line, print the fifth field followed by the first field.
{print $5, $1}
kim pending farah ember indigo gus pending alice delta harbor ivan pending jules ember delta ivan failed farah cobalt delta jules ready hana birch delta farah pending bruno delta fable ivan paused gus fable delta gus active lina juniper harbor alice closed farah juniper indigo
indigo kim harbor gus delta ivan delta ivan delta jules fable farah delta ivan harbor gus indigo alice
bruno closed dina harbor harbor hana paused ivan grove juniper hana paused gus ember delta jules closed kim indigo juniper eli failed farah delta cobalt lina active eli juniper ember farah ready alice cobalt birch
harbor bruno juniper hana delta hana juniper jules cobalt eli ember lina birch farah
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036972
qwen/qwen3.7-plus
awkweave-0036973
Print the last field of every input line.
{print $NF}
43 105 72 pending 47 jules 10 57 14 closed 0 lina 53 28 56 pending 7 kim 51 5 18 paused 104 chen 102 118 26 failed 51 chen 57 8 67 pending 2 jules 84 78 5 closed 4 chen 117 11 73 failed 106 jules 78 15 58 pending 118 ivan 85 21 22 pending 6 kim
jules lina kim chen chen jules chen jules ivan kim
41 28 8 failed 77 lina 63 40 47 paused 1 chen 88 20 60 pending 59 farah 99 117 104 closed 91 chen 32 37 62 ready 23 lina 32 85 43 paused 13 gus 10 11 99 failed 79 kim 8 16 61 active 14 eli 36 69 108 failed 61 lina 56 98 53 ready 83 kim
lina chen farah chen lina gus kim eli lina kim
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036973-p1
Output the final field from each line of the input.
{print $NF}
43 105 72 pending 47 jules 10 57 14 closed 0 lina 53 28 56 pending 7 kim 51 5 18 paused 104 chen 102 118 26 failed 51 chen 57 8 67 pending 2 jules 84 78 5 closed 4 chen 117 11 73 failed 106 jules 78 15 58 pending 118 ivan 85 21 22 pending 6 kim
jules lina kim chen chen jules chen jules ivan kim
41 28 8 failed 77 lina 63 40 47 paused 1 chen 88 20 60 pending 59 farah 99 117 104 closed 91 chen 32 37 62 ready 23 lina 32 85 43 paused 13 gus 10 11 99 failed 79 kim 8 16 61 active 14 eli 36 69 108 failed 61 lina 56 98 53 ready 83 kim
lina chen farah chen lina gus kim eli lina kim
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036973
qwen/qwen3.7-plus
awkweave-0036974
Print the complete records where column 4 is at least 65.
$4 >= 65
harbor alice bruno 77 pending harbor chen kim 34 ready birch alice eli 56 ready juniper gus farah 116 failed birch gus hana 15 closed delta bruno dina 112 active grove hana bruno 96 closed juniper chen dina 89 active
harbor alice bruno 77 pending juniper gus farah 116 failed delta bruno dina 112 active grove hana bruno 96 closed juniper chen dina 89 active
delta bruno dina 69 paused delta chen dina 53 closed ember bruno hana 77 active birch jules dina 82 pending grove gus dina 28 paused harbor alice eli 120 pending
delta bruno dina 69 paused ember bruno hana 77 active birch jules dina 82 pending harbor alice eli 120 pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036974-p1
Print the entire records for which the value in column 4 is greater than or equal to 65.
$4 >= 65
harbor alice bruno 77 pending harbor chen kim 34 ready birch alice eli 56 ready juniper gus farah 116 failed birch gus hana 15 closed delta bruno dina 112 active grove hana bruno 96 closed juniper chen dina 89 active
harbor alice bruno 77 pending juniper gus farah 116 failed delta bruno dina 112 active grove hana bruno 96 closed juniper chen dina 89 active
delta bruno dina 69 paused delta chen dina 53 closed ember bruno hana 77 active birch jules dina 82 pending grove gus dina 28 paused harbor alice eli 120 pending
delta bruno dina 69 paused ember bruno hana 77 active birch jules dina 82 pending harbor alice eli 120 pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036974
qwen/qwen3.7-plus
awkweave-0036975
Show whole lines whose 1st field is between 7 and 28, inclusive.
$1 >= 7 && $1 <= 28
3 cobalt pending active 16 amber ready paused 12 harbor failed failed 25 indigo closed pending 22 indigo ready active 11 ember active paused 10 amber active failed 13 juniper paused closed 5 harbor paused failed
16 amber ready paused 12 harbor failed failed 25 indigo closed pending 22 indigo ready active 11 ember active paused 10 amber active failed 13 juniper paused closed
12 birch pending failed 11 juniper paused active 23 cobalt ready closed 12 cobalt pending paused 26 ember pending active 18 cobalt closed closed 18 juniper ready ready 1 fable paused paused 2 ember paused ready
12 birch pending failed 11 juniper paused active 23 cobalt ready closed 12 cobalt pending paused 26 ember pending active 18 cobalt closed closed 18 juniper ready ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036975-p1
Display complete lines where the first field falls within the inclusive range of 7 to 28.
$1 >= 7 && $1 <= 28
3 cobalt pending active 16 amber ready paused 12 harbor failed failed 25 indigo closed pending 22 indigo ready active 11 ember active paused 10 amber active failed 13 juniper paused closed 5 harbor paused failed
16 amber ready paused 12 harbor failed failed 25 indigo closed pending 22 indigo ready active 11 ember active paused 10 amber active failed 13 juniper paused closed
12 birch pending failed 11 juniper paused active 23 cobalt ready closed 12 cobalt pending paused 26 ember pending active 18 cobalt closed closed 18 juniper ready ready 1 fable paused paused 2 ember paused ready
12 birch pending failed 11 juniper paused active 23 cobalt ready closed 12 cobalt pending paused 26 ember pending active 18 cobalt closed closed 18 juniper ready ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036975
qwen/qwen3.7-plus
awkweave-0036976
Print column 4 only for rows where column 2 is exactly paused.
$2 == "paused"{print $4}
delta paused 34 hana fable pending 103 eli amber ready 38 lina fable pending 41 bruno ember closed 21 jules juniper ready 12 hana fable closed 53 lina ember paused 85 bruno indigo paused 56 dina fable pending 89 jules
hana bruno dina
amber closed 108 gus cobalt active 86 chen fable pending 48 jules harbor paused 106 kim harbor paused 25 eli juniper failed 115 lina amber failed 54 dina indigo failed 8 ivan indigo paused 3 gus juniper active 112 hana
kim eli gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036976-p1
Output only the fourth column for rows where the second column contains exactly the value 'paused'.
$2 == "paused"{print $4}
delta paused 34 hana fable pending 103 eli amber ready 38 lina fable pending 41 bruno ember closed 21 jules juniper ready 12 hana fable closed 53 lina ember paused 85 bruno indigo paused 56 dina fable pending 89 jules
hana bruno dina
amber closed 108 gus cobalt active 86 chen fable pending 48 jules harbor paused 106 kim harbor paused 25 eli juniper failed 115 lina amber failed 54 dina indigo failed 8 ivan indigo paused 3 gus juniper active 112 hana
kim eli gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036976
qwen/qwen3.7-plus
awkweave-0036977
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
cobalt 62 DEBUG ember 2 ERROR delta 38 DEBUG birch 49 DEBUG fable 60 INFO ember 60 INFO delta 40 WARN
fable 60 INFO ember 60 INFO
fable 104 ERROR fable 116 WARN delta 114 INFO ember 7 DEBUG juniper 44 ERROR amber 43 INFO
delta 114 INFO amber 43 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036977-p1
Print all fields from any line where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
cobalt 62 DEBUG ember 2 ERROR delta 38 DEBUG birch 49 DEBUG fable 60 INFO ember 60 INFO delta 40 WARN
fable 60 INFO ember 60 INFO
fable 104 ERROR fable 116 WARN delta 114 INFO ember 7 DEBUG juniper 44 ERROR amber 43 INFO
delta 114 INFO amber 43 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036977
qwen/qwen3.7-plus
awkweave-0036978
Print every line except those containing the exact text fable.
$0 !~ /fable/
delta 103 ready birch 52 paused harbor 74 failed ember 18 active delta 14 active ember 102 ready fable 999 active
delta 103 ready birch 52 paused harbor 74 failed ember 18 active delta 14 active ember 102 ready
delta 29 ready cobalt 22 active grove 14 closed grove 6 pending harbor 103 pending harbor 42 closed juniper 74 active fable 999 active
delta 29 ready cobalt 22 active grove 14 closed grove 6 pending harbor 103 pending harbor 42 closed juniper 74 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036978-p1
Display all lines that do not contain the exact string fable.
$0 !~ /fable/
delta 103 ready birch 52 paused harbor 74 failed ember 18 active delta 14 active ember 102 ready fable 999 active
delta 103 ready birch 52 paused harbor 74 failed ember 18 active delta 14 active ember 102 ready
delta 29 ready cobalt 22 active grove 14 closed grove 6 pending harbor 103 pending harbor 42 closed juniper 74 active fable 999 active
delta 29 ready cobalt 22 active grove 14 closed grove 6 pending harbor 103 pending harbor 42 closed juniper 74 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036978
qwen/qwen3.7-plus
awkweave-0036979
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
farah juniper 102 alice ember 42 jules fable 68 lina birch 54 dina cobalt 96 ivan grove 6 eli birch 48
alice ember 42 jules fable 68 lina birch 54 dina cobalt 96
bruno fable 34 hana juniper 62 jules harbor 0 lina birch 39 alice amber 60 eli indigo 14 jules juniper 78 farah delta 25
hana juniper 62 jules harbor 0 lina birch 39 alice amber 60
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036979-p1
Output lines 2 to 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
farah juniper 102 alice ember 42 jules fable 68 lina birch 54 dina cobalt 96 ivan grove 6 eli birch 48
alice ember 42 jules fable 68 lina birch 54 dina cobalt 96
bruno fable 34 hana juniper 62 jules harbor 0 lina birch 39 alice amber 60 eli indigo 14 jules juniper 78 farah delta 25
hana juniper 62 jules harbor 0 lina birch 39 alice amber 60
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036979
qwen/qwen3.7-plus
awkweave-0036980
Output only the first 5 records.
NR <= 5
dina 99 indigo dina 41 cobalt lina 56 birch lina 29 birch eli 28 ember kim 110 indigo kim 65 fable
dina 99 indigo dina 41 cobalt lina 56 birch lina 29 birch eli 28 ember
hana 99 grove ivan 41 amber kim 58 amber jules 99 birch kim 28 ember eli 33 harbor
hana 99 grove ivan 41 amber kim 58 amber jules 99 birch kim 28 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036980-p1
Show only the initial 5 records.
NR <= 5
dina 99 indigo dina 41 cobalt lina 56 birch lina 29 birch eli 28 ember kim 110 indigo kim 65 fable
dina 99 indigo dina 41 cobalt lina 56 birch lina 29 birch eli 28 ember
hana 99 grove ivan 41 amber kim 58 amber jules 99 birch kim 28 ember eli 33 harbor
hana 99 grove ivan 41 amber kim 58 amber jules 99 birch kim 28 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036980
qwen/qwen3.7-plus
awkweave-0036981
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 54 amber bruno 78 grove kim 93 ember kim 63 delta gus 21 ember alice 45 delta
bruno 78 grove kim 93 ember kim 63 delta gus 21 ember alice 45 delta
lina 95 ember gus 12 indigo gus 119 birch lina 68 delta dina 1 harbor gus 69 juniper dina 79 amber alice 4 grove
gus 12 indigo gus 119 birch lina 68 delta dina 1 harbor gus 69 juniper dina 79 amber alice 4 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036981-p1
Omit the first line and output the rest of the lines as they are.
NR > 1
ivan 54 amber bruno 78 grove kim 93 ember kim 63 delta gus 21 ember alice 45 delta
bruno 78 grove kim 93 ember kim 63 delta gus 21 ember alice 45 delta
lina 95 ember gus 12 indigo gus 119 birch lina 68 delta dina 1 harbor gus 69 juniper dina 79 amber alice 4 grove
gus 12 indigo gus 119 birch lina 68 delta dina 1 harbor gus 69 juniper dina 79 amber alice 4 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036981
qwen/qwen3.7-plus
awkweave-0036982
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
lina paused 19 eli closed 22 hana closed 53 lina closed 85 chen closed 9 dina active 83 farah closed 96 kim pending 105 gus ready 72
0
farah failed 43 hana ready 5 dina paused 97 eli paused 52 kim active 119 hana failed 88
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036982-p1
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
lina paused 19 eli closed 22 hana closed 53 lina closed 85 chen closed 9 dina active 83 farah closed 96 kim pending 105 gus ready 72
0
farah failed 43 hana ready 5 dina paused 97 eli paused 52 kim active 119 hana failed 88
2
count_matches
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0036982
qwen/qwen3.7-plus
awkweave-0036983
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ivan 6 indigo dina 21 ember ivan 8 cobalt bruno 21 ember ivan 18 amber ivan 22 indigo ivan 24 delta dina 7 grove
127
ivan 23 delta kim 15 delta bruno 24 grove bruno 27 ember hana 9 grove dina 3 harbor chen 15 grove
116
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036983-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
ivan 6 indigo dina 21 ember ivan 8 cobalt bruno 21 ember ivan 18 amber ivan 22 indigo ivan 24 delta dina 7 grove
127
ivan 23 delta kim 15 delta bruno 24 grove bruno 27 ember hana 9 grove dina 3 harbor chen 15 grove
116
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036983
qwen/qwen3.7-plus
awkweave-0036984
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
chen 21 harbor chen 28 indigo bruno 11 cobalt farah 12 birch chen 5 juniper chen 22 harbor chen 6 indigo kim 5 amber lina 27 amber
15.22
gus 22 ember chen 30 juniper farah 9 grove dina 5 amber jules 9 harbor hana 5 indigo hana 18 indigo
14.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036984-p1
Calculate the average of values in column 2 and print it rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
chen 21 harbor chen 28 indigo bruno 11 cobalt farah 12 birch chen 5 juniper chen 22 harbor chen 6 indigo kim 5 amber lina 27 amber
15.22
gus 22 ember chen 30 juniper farah 9 grove dina 5 amber jules 9 harbor hana 5 indigo hana 18 indigo
14.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036984
qwen/qwen3.7-plus
awkweave-0036985
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 7 delta gus 7 grove hana 29 ember farah 16 delta gus 18 harbor lina 24 amber alice 29 cobalt
7
gus 7 cobalt hana 9 harbor alice 24 indigo chen 23 amber hana 20 harbor ivan 16 ember eli 26 fable farah 19 grove
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036985-p1
Identify and output the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 7 delta gus 7 grove hana 29 ember farah 16 delta gus 18 harbor lina 24 amber alice 29 cobalt
7
gus 7 cobalt hana 9 harbor alice 24 indigo chen 23 amber hana 20 harbor ivan 16 ember eli 26 fable farah 19 grove
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036985
qwen/qwen3.7-plus
awkweave-0036986
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
chen 25 delta bruno 12 fable hana 21 amber dina 15 cobalt jules 12 delta lina 5 birch gus 11 birch gus 30 delta
30
bruno 9 cobalt lina 12 cobalt farah 2 cobalt chen 21 juniper alice 15 amber jules 11 amber hana 17 ember eli 22 harbor
22
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036986-p1
Identify and output the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
chen 25 delta bruno 12 fable hana 21 amber dina 15 cobalt jules 12 delta lina 5 birch gus 11 birch gus 30 delta
30
bruno 9 cobalt lina 12 cobalt farah 2 cobalt chen 21 juniper alice 15 amber jules 11 amber hana 17 ember eli 22 harbor
22
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036986
qwen/qwen3.7-plus
awkweave-0036987
Count all input records and print the total.
END{print NR}
farah 62 eli 25 hana 2 kim 59 chen 64 eli 65 chen 1
7
lina 116 alice 31 farah 20 chen 61 farah 44 jules 67 bruno 7
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036987-p1
Count the total number of input records and print the result.
END{print NR}
farah 62 eli 25 hana 2 kim 59 chen 64 eli 65 chen 1
7
lina 116 alice 31 farah 20 chen 61 farah 44 jules 67 bruno 7
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036987
qwen/qwen3.7-plus
awkweave-0036988
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan fable 80 kim delta 114 lina harbor 105 hana grove 52 hana ember 23 jules fable 28 kim cobalt 57 kim harbor 20 ivan fable 5 kim harbor 20
ivan fable 80 kim delta 114 lina harbor 105 hana grove 52 hana ember 23 jules fable 28 kim cobalt 57 kim harbor 20 ivan fable 5
chen juniper 39 farah harbor 103 chen juniper 89 chen juniper 89 kim cobalt 37 eli harbor 43 bruno indigo 68 lina amber 90
chen juniper 39 farah harbor 103 chen juniper 89 kim cobalt 37 eli harbor 43 bruno indigo 68 lina amber 90
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036988-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence.
!seen[$0]++
ivan fable 80 kim delta 114 lina harbor 105 hana grove 52 hana ember 23 jules fable 28 kim cobalt 57 kim harbor 20 ivan fable 5 kim harbor 20
ivan fable 80 kim delta 114 lina harbor 105 hana grove 52 hana ember 23 jules fable 28 kim cobalt 57 kim harbor 20 ivan fable 5
chen juniper 39 farah harbor 103 chen juniper 89 chen juniper 89 kim cobalt 37 eli harbor 43 bruno indigo 68 lina amber 90
chen juniper 39 farah harbor 103 chen juniper 89 kim cobalt 37 eli harbor 43 bruno indigo 68 lina amber 90
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036988
qwen/qwen3.7-plus
awkweave-0036989
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
dina grove 27 kim birch 31 eli cobalt 117 gus delta 37 ivan ember 36 farah cobalt 0 ivan ember 104 bruno delta 31 gus fable 106
dina grove 27 kim birch 31 eli cobalt 117 gus delta 37 ivan ember 36 farah cobalt 0 ivan ember 104 gus fable 106
lina birch 41 kim fable 114 dina cobalt 109 chen delta 2 dina ember 43 lina harbor 94 bruno ember 28 alice grove 53 bruno birch 109
lina birch 41 kim fable 114 dina cobalt 109 chen delta 2 dina ember 43 lina harbor 94 bruno ember 28 alice grove 53
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0036989-p1
Retain only the first line for every unique value in column 3, preserving the original input order.
!seen[$3]++
dina grove 27 kim birch 31 eli cobalt 117 gus delta 37 ivan ember 36 farah cobalt 0 ivan ember 104 bruno delta 31 gus fable 106
dina grove 27 kim birch 31 eli cobalt 117 gus delta 37 ivan ember 36 farah cobalt 0 ivan ember 104 gus fable 106
lina birch 41 kim fable 114 dina cobalt 109 chen delta 2 dina ember 43 lina harbor 94 bruno ember 28 alice grove 53 bruno birch 109
lina birch 41 kim fable 114 dina cobalt 109 chen delta 2 dina ember 43 lina harbor 94 bruno ember 28 alice grove 53
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0036989
qwen/qwen3.7-plus
awkweave-0037000
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 grove 118 gamma delta 79 beta juniper 95 delta delta 11 gamma fable 90 beta ember 23 delta amber 9 gamma juniper 89 beta juniper 7 delta delta 89
beta 4 gamma 3 delta 3
gamma indigo 78 delta cobalt 69 alpha cobalt 51 delta harbor 57 alpha grove 113 gamma cobalt 78 gamma harbor 5
gamma 3 delta 2 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037000-p1
List each unique value from the first column alongside its frequency, ordered by when it first appears.
{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 grove 118 gamma delta 79 beta juniper 95 delta delta 11 gamma fable 90 beta ember 23 delta amber 9 gamma juniper 89 beta juniper 7 delta delta 89
beta 4 gamma 3 delta 3
gamma indigo 78 delta cobalt 69 alpha cobalt 51 delta harbor 57 alpha grove 113 gamma cobalt 78 gamma harbor 5
gamma 3 delta 2 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037000
qwen/qwen3.7-plus
awkweave-0037001
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
state region display_name record_id r001 jules 3 active r002 lina 4 pending r003 dina 21 paused r004 farah 13 active r005 bruno 5 pending r006 gus 1 paused
active pending paused active pending paused
state region display_name record_id r001 farah 23 closed r002 eli 21 ready r003 farah 26 paused r004 dina 20 closed r005 chen 27 closed r006 lina 26 pending r007 bruno 27 pending
closed ready paused closed closed pending pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null