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-0012550-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
chen 15 active hana 15 pending lina 6 failed eli 14 ready gus 26 failed hana 12 paused chen 29 ready chen 11 pending
chen hana lina eli gus hana chen chen
ivan 11 ready jules 15 paused kim 26 closed lina 17 closed kim 11 paused kim 9 failed
ivan jules kim lina kim kim
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012550
qwen/qwen3.7-plus
awkweave-0012551
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 12.
BEGIN{FS=OFS=","}$2>12{print $1}
dina,3,closed kim,24,pending hana,8,pending farah,8,closed hana,10,ready bruno,8,closed
kim
hana,11,paused eli,10,closed bruno,13,paused kim,16,active eli,11,active alice,24,closed hana,21,paused bruno,21,active
bruno kim alice hana bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012551-p1
For simple comma-separated input without quoted commas, print the first column only when the second column's value is greater than 12.
BEGIN{FS=OFS=","}$2>12{print $1}
dina,3,closed kim,24,pending hana,8,pending farah,8,closed hana,10,ready bruno,8,closed
kim
hana,11,paused eli,10,closed bruno,13,paused kim,16,active eli,11,active alice,24,closed hana,21,paused bruno,21,active
bruno kim alice hana bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012551
qwen/qwen3.7-plus
awkweave-0012552
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules juniper 25 jules delta 56 eli delta 14 dina fable 19 chen fable 39 kim indigo 109 ivan delta 11 bruno fable 27 hana fable 33
jules juniper 25 jules delta 56 eli delta 14 dina fable 19 chen fable 39 kim indigo 109 ivan delta 11 bruno fable 27 hana fable 33
eli ember 82 alice grove 14 ivan ember 9 eli delta 69 farah delta 33 gus grove 38 lina amber 58
eli ember 82 alice grove 14 ivan ember 9 eli delta 69 farah delta 33 gus grove 38 lina amber 58
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012552-p1
Remove leading and trailing whitespace, and replace any internal whitespace sequences with a single space.
{$1=$1;print}
jules juniper 25 jules delta 56 eli delta 14 dina fable 19 chen fable 39 kim indigo 109 ivan delta 11 bruno fable 27 hana fable 33
jules juniper 25 jules delta 56 eli delta 14 dina fable 19 chen fable 39 kim indigo 109 ivan delta 11 bruno fable 27 hana fable 33
eli ember 82 alice grove 14 ivan ember 9 eli delta 69 farah delta 33 gus grove 38 lina amber 58
eli ember 82 alice grove 14 ivan ember 9 eli delta 69 farah delta 33 gus grove 38 lina amber 58
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012552
qwen/qwen3.7-plus
awkweave-0012553
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen amber 111 ready jules fable 11 pending kim ember 31 ready dina birch 51 closed alice delta 18 active hana grove 70 paused kim cobalt 83 active farah cobalt 79 failed dina juniper 106 ready chen birch 31 paused
jules fable 11 pending
kim amber 28 paused dina juniper 16 ready hana birch 54 ready gus fable 0 pending ivan harbor 40 failed ivan ember 53 failed alice juniper 67 closed dina ember 90 failed
alice juniper 67 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012553-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen amber 111 ready jules fable 11 pending kim ember 31 ready dina birch 51 closed alice delta 18 active hana grove 70 paused kim cobalt 83 active farah cobalt 79 failed dina juniper 106 ready chen birch 31 paused
jules fable 11 pending
kim amber 28 paused dina juniper 16 ready hana birch 54 ready gus fable 0 pending ivan harbor 40 failed ivan ember 53 failed alice juniper 67 closed dina ember 90 failed
alice juniper 67 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012553
qwen/qwen3.7-plus
awkweave-0012554
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
dina 110 alice 41 hana 4 ivan 73 bruno 1 hana 117
alice 41 bruno 1
farah 55 kim 103 eli 5 gus 27 eli 120 jules 119 hana 52 jules 23
kim 103 eli 120 jules 23
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012554-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, etc.).
NR%3==2
dina 110 alice 41 hana 4 ivan 73 bruno 1 hana 117
alice 41 bruno 1
farah 55 kim 103 eli 5 gus 27 eli 120 jules 119 hana 52 jules 23
kim 103 eli 120 jules 23
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012554
qwen/qwen3.7-plus
awkweave-0012555
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta delta 109 beta grove 38 alpha delta 105 gamma grove 68 gamma ember 83 gamma juniper 50
3
alpha amber 78 delta cobalt 51 delta amber 114 delta juniper 13 beta amber 31 alpha birch 102 beta harbor 113 alpha juniper 13
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012555-p1
Calculate the number of unique entries in column 1 and display just that total.
{if(!seen[$1]++)n++}END{print n+0}
beta delta 109 beta grove 38 alpha delta 105 gamma grove 68 gamma ember 83 gamma juniper 50
3
alpha amber 78 delta cobalt 51 delta amber 114 delta juniper 13 beta amber 31 alpha birch 102 beta harbor 113 alpha juniper 13
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012555
qwen/qwen3.7-plus
awkweave-0012556
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 20 0 farah 21 28 lina 29 25 kim 3 11 farah 19 11 kim 27 24 chen 13 4 ivan 25 29 kim 1 6
farah 0.75 lina 1.16 kim 0.27 farah 1.73 kim 1.12 chen 3.25 ivan 0.86 kim 0.17
lina 16 0 bruno 7 19 hana 30 24 ivan 18 29 kim 11 24 bruno 3 4 gus 27 3 hana 25 19 lina 27 25 gus 2 22
bruno 0.37 hana 1.25 ivan 0.62 kim 0.46 bruno 0.75 gus 9.00 hana 1.32 lina 1.08 gus 0.09
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012556-p1
For each row where column 3 is non-zero, output column 1 and the result of column 2 divided by column 3, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 20 0 farah 21 28 lina 29 25 kim 3 11 farah 19 11 kim 27 24 chen 13 4 ivan 25 29 kim 1 6
farah 0.75 lina 1.16 kim 0.27 farah 1.73 kim 1.12 chen 3.25 ivan 0.86 kim 0.17
lina 16 0 bruno 7 19 hana 30 24 ivan 18 29 kim 11 24 bruno 3 4 gus 27 3 hana 25 19 lina 27 25 gus 2 22
bruno 0.37 hana 1.25 ivan 0.62 kim 0.46 bruno 0.75 gus 9.00 hana 1.32 lina 1.08 gus 0.09
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012556
qwen/qwen3.7-plus
awkweave-0012557
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]}
bruno delta 28 kim cobalt 8 farah cobalt 21 bruno fable 1 farah birch 17 jules birch 26 farah fable 3 kim indigo 3 lina fable 28
bruno delta 28 lina fable 28 jules birch 26
jules ember 22 alice amber 4 dina grove 6 bruno juniper 1 alice birch 28 hana grove 25 ivan indigo 4 dina fable 28 farah grove 3 bruno indigo 14
alice birch 28 dina fable 28 hana grove 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012557-p1
Display the top three full records based on the highest numeric values in column 3, sorted in descending order, keeping 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]}
bruno delta 28 kim cobalt 8 farah cobalt 21 bruno fable 1 farah birch 17 jules birch 26 farah fable 3 kim indigo 3 lina fable 28
bruno delta 28 lina fable 28 jules birch 26
jules ember 22 alice amber 4 dina grove 6 bruno juniper 1 alice birch 28 hana grove 25 ivan indigo 4 dina fable 28 farah grove 3 bruno indigo 14
alice birch 28 dina fable 28 hana grove 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012557
qwen/qwen3.7-plus
awkweave-0012558
Print column 5 followed by column 4 for every record.
{print $5, $4}
closed ember closed 56 63 closed fable failed 95 117 paused indigo pending 5 51 paused amber pending 57 17 closed juniper active 3 24 failed grove pending 12 31 pending indigo pending 33 90 ready indigo ready 37 82 ready amber pending 76 65 paused birch failed 73 4
63 56 117 95 51 5 17 57 24 3 31 12 90 33 82 37 65 76 4 73
pending grove active 25 37 paused cobalt paused 69 111 pending delta active 82 65 pending juniper failed 80 25 failed amber paused 38 13 paused cobalt failed 53 72 ready delta paused 91 74
37 25 111 69 65 82 25 80 13 38 72 53 74 91
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012558-p1
Output column 5 followed by column 4 for all records.
{print $5, $4}
closed ember closed 56 63 closed fable failed 95 117 paused indigo pending 5 51 paused amber pending 57 17 closed juniper active 3 24 failed grove pending 12 31 pending indigo pending 33 90 ready indigo ready 37 82 ready amber pending 76 65 paused birch failed 73 4
63 56 117 95 51 5 17 57 24 3 31 12 90 33 82 37 65 76 4 73
pending grove active 25 37 paused cobalt paused 69 111 pending delta active 82 65 pending juniper failed 80 25 failed amber paused 38 13 paused cobalt failed 53 72 ready delta paused 91 74
37 25 111 69 65 82 25 80 13 38 72 53 74 91
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012558
qwen/qwen3.7-plus
awkweave-0012559
Print the last field of every input line.
{print $NF}
dina failed 59 59 birch lina ready 18 28 harbor ivan paused 82 118 indigo lina active 13 50 fable lina pending 14 87 cobalt hana active 17 70 cobalt kim closed 120 22 amber eli active 48 76 juniper
birch harbor indigo fable cobalt cobalt amber juniper
ivan pending 103 93 harbor farah ready 111 0 juniper gus pending 44 5 amber hana active 72 23 indigo bruno closed 47 67 indigo ivan pending 96 49 delta bruno ready 55 2 harbor chen pending 108 61 delta chen ready 88 16 grove dina pending 97 80 cobalt
harbor juniper amber indigo indigo delta harbor delta grove cobalt
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012559-p1
Print the final field from every input line.
{print $NF}
dina failed 59 59 birch lina ready 18 28 harbor ivan paused 82 118 indigo lina active 13 50 fable lina pending 14 87 cobalt hana active 17 70 cobalt kim closed 120 22 amber eli active 48 76 juniper
birch harbor indigo fable cobalt cobalt amber juniper
ivan pending 103 93 harbor farah ready 111 0 juniper gus pending 44 5 amber hana active 72 23 indigo bruno closed 47 67 indigo ivan pending 96 49 delta bruno ready 55 2 harbor chen pending 108 61 delta chen ready 88 16 grove dina pending 97 80 cobalt
harbor juniper amber indigo indigo delta harbor delta grove cobalt
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012559
qwen/qwen3.7-plus
awkweave-0012560
Print the complete records where column 2 is at most 32.
$2 <= 32
amber 26 dina pending gus ember 110 lina ready jules grove 6 kim failed chen ember 55 lina closed gus juniper 93 hana failed jules indigo 34 eli pending alice juniper 85 alice pending kim grove 66 dina active hana fable 112 bruno pending ivan fable 12 kim ready chen
amber 26 dina pending gus grove 6 kim failed chen fable 12 kim ready chen
ember 68 eli failed kim harbor 58 ivan active dina cobalt 79 gus pending lina fable 54 gus active eli harbor 119 ivan active ivan birch 62 dina failed farah indigo 87 jules paused lina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012560-p1
Output full records where the value in column 2 is less than or equal to 32.
$2 <= 32
amber 26 dina pending gus ember 110 lina ready jules grove 6 kim failed chen ember 55 lina closed gus juniper 93 hana failed jules indigo 34 eli pending alice juniper 85 alice pending kim grove 66 dina active hana fable 112 bruno pending ivan fable 12 kim ready chen
amber 26 dina pending gus grove 6 kim failed chen fable 12 kim ready chen
ember 68 eli failed kim harbor 58 ivan active dina cobalt 79 gus pending lina fable 54 gus active eli harbor 119 ivan active ivan birch 62 dina failed farah indigo 87 jules paused lina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012560
qwen/qwen3.7-plus
awkweave-0012561
Show whole lines whose 2nd field is between 12 and 27, inclusive.
$2 >= 12 && $2 <= 27
delta 15 closed grove cobalt 27 ready cobalt harbor 16 closed cobalt fable 18 pending grove cobalt 28 closed grove birch 2 active indigo amber 22 closed juniper cobalt 11 closed juniper grove 21 pending harbor
delta 15 closed grove cobalt 27 ready cobalt harbor 16 closed cobalt fable 18 pending grove amber 22 closed juniper grove 21 pending harbor
cobalt 5 closed birch cobalt 20 paused harbor fable 9 failed juniper juniper 18 failed delta delta 13 ready juniper indigo 1 active delta grove 7 failed delta juniper 14 active grove ember 12 ready cobalt
cobalt 20 paused harbor juniper 18 failed delta delta 13 ready juniper juniper 14 active grove ember 12 ready cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012561-p1
Display entire lines where the second field falls within the inclusive range of 12 to 27.
$2 >= 12 && $2 <= 27
delta 15 closed grove cobalt 27 ready cobalt harbor 16 closed cobalt fable 18 pending grove cobalt 28 closed grove birch 2 active indigo amber 22 closed juniper cobalt 11 closed juniper grove 21 pending harbor
delta 15 closed grove cobalt 27 ready cobalt harbor 16 closed cobalt fable 18 pending grove amber 22 closed juniper grove 21 pending harbor
cobalt 5 closed birch cobalt 20 paused harbor fable 9 failed juniper juniper 18 failed delta delta 13 ready juniper indigo 1 active delta grove 7 failed delta juniper 14 active grove ember 12 ready cobalt
cobalt 20 paused harbor juniper 18 failed delta delta 13 ready juniper juniper 14 active grove ember 12 ready cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012561
qwen/qwen3.7-plus
awkweave-0012562
Print column 1 only for rows where column 3 is exactly pending.
$3 == "pending"{print $1}
kim amber active 109 chen ember pending 45 bruno cobalt pending 56 kim birch failed 67 chen juniper ready 77 eli cobalt ready 119 jules ember closed 31 alice birch ready 63
chen bruno
chen ember failed 4 jules juniper pending 20 alice grove closed 109 alice delta pending 27 eli birch ready 95 hana harbor pending 26 kim ember pending 37 lina delta pending 67 ivan juniper closed 69
jules alice hana kim lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012562-p1
Print only column 1 for rows where column 3 equals pending.
$3 == "pending"{print $1}
kim amber active 109 chen ember pending 45 bruno cobalt pending 56 kim birch failed 67 chen juniper ready 77 eli cobalt ready 119 jules ember closed 31 alice birch ready 63
chen bruno
chen ember failed 4 jules juniper pending 20 alice grove closed 109 alice delta pending 27 eli birch ready 95 hana harbor pending 26 kim ember pending 37 lina delta pending 67 ivan juniper closed 69
jules alice hana kim lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012562
qwen/qwen3.7-plus
awkweave-0012563
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
ERROR 4 fable DEBUG 55 amber WARN 49 grove DEBUG 93 juniper ERROR 21 ember INFO 95 delta DEBUG 22 birch ERROR 20 indigo ERROR 116 fable ERROR 111 birch
INFO 95 delta
INFO 84 amber INFO 118 birch INFO 115 harbor WARN 118 ember DEBUG 32 grove ERROR 93 cobalt DEBUG 27 ember
INFO 84 amber INFO 118 birch INFO 115 harbor
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012563-p1
Output all fields from lines where the first field starts with INFO.
$1 ~ /^INFO/
ERROR 4 fable DEBUG 55 amber WARN 49 grove DEBUG 93 juniper ERROR 21 ember INFO 95 delta DEBUG 22 birch ERROR 20 indigo ERROR 116 fable ERROR 111 birch
INFO 95 delta
INFO 84 amber INFO 118 birch INFO 115 harbor WARN 118 ember DEBUG 32 grove ERROR 93 cobalt DEBUG 27 ember
INFO 84 amber INFO 118 birch INFO 115 harbor
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012563
qwen/qwen3.7-plus
awkweave-0012564
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
fable 52 closed birch 87 failed delta 65 paused birch 96 ready ember 81 closed ember 94 failed delta 5 paused harbor 14 closed fable 79 failed indigo 999 active
fable 52 closed birch 87 failed delta 65 paused birch 96 ready ember 81 closed ember 94 failed delta 5 paused harbor 14 closed fable 79 failed
indigo 41 closed delta 87 active juniper 19 pending amber 38 closed birch 93 paused amber 86 paused juniper 94 ready grove 9 ready indigo 110 ready birch 80 pending indigo 999 active
delta 87 active juniper 19 pending amber 38 closed birch 93 paused amber 86 paused juniper 94 ready grove 9 ready birch 80 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012564-p1
Print every line that does not contain the exact string indigo.
$0 !~ /indigo/
fable 52 closed birch 87 failed delta 65 paused birch 96 ready ember 81 closed ember 94 failed delta 5 paused harbor 14 closed fable 79 failed indigo 999 active
fable 52 closed birch 87 failed delta 65 paused birch 96 ready ember 81 closed ember 94 failed delta 5 paused harbor 14 closed fable 79 failed
indigo 41 closed delta 87 active juniper 19 pending amber 38 closed birch 93 paused amber 86 paused juniper 94 ready grove 9 ready indigo 110 ready birch 80 pending indigo 999 active
delta 87 active juniper 19 pending amber 38 closed birch 93 paused amber 86 paused juniper 94 ready grove 9 ready birch 80 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012564
qwen/qwen3.7-plus
awkweave-0012565
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
alice ember 44 dina fable 57 eli juniper 30 jules fable 53 chen cobalt 101 ivan grove 56 alice delta 65 chen indigo 116 chen ember 113
dina fable 57 eli juniper 30
eli fable 87 dina indigo 108 gus fable 6 jules harbor 85 gus ember 34 ivan indigo 101 kim delta 46 kim ember 107
dina indigo 108 gus fable 6
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012565-p1
Output lines 2 through 3, inclusive.
NR >= 2 && NR <= 3
alice ember 44 dina fable 57 eli juniper 30 jules fable 53 chen cobalt 101 ivan grove 56 alice delta 65 chen indigo 116 chen ember 113
dina fable 57 eli juniper 30
eli fable 87 dina indigo 108 gus fable 6 jules harbor 85 gus ember 34 ivan indigo 101 kim delta 46 kim ember 107
dina indigo 108 gus fable 6
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012565
qwen/qwen3.7-plus
awkweave-0012566
Output only the first 3 records.
NR <= 3
hana 114 fable bruno 80 indigo bruno 23 harbor jules 76 indigo dina 39 amber hana 13 indigo eli 37 juniper
hana 114 fable bruno 80 indigo bruno 23 harbor
bruno 23 indigo farah 115 grove hana 50 delta jules 109 juniper farah 68 indigo eli 109 ember chen 71 delta
bruno 23 indigo farah 115 grove hana 50 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012566-p1
Display only the initial three records.
NR <= 3
hana 114 fable bruno 80 indigo bruno 23 harbor jules 76 indigo dina 39 amber hana 13 indigo eli 37 juniper
hana 114 fable bruno 80 indigo bruno 23 harbor
bruno 23 indigo farah 115 grove hana 50 delta jules 109 juniper farah 68 indigo eli 109 ember chen 71 delta
bruno 23 indigo farah 115 grove hana 50 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012566
qwen/qwen3.7-plus
awkweave-0012567
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 44 juniper ivan 70 ember kim 49 indigo chen 52 amber jules 60 cobalt jules 90 delta farah 97 harbor alice 84 harbor
ivan 70 ember kim 49 indigo chen 52 amber jules 60 cobalt jules 90 delta farah 97 harbor alice 84 harbor
jules 45 cobalt lina 35 amber farah 30 grove hana 57 amber alice 62 cobalt bruno 10 juniper
lina 35 amber farah 30 grove hana 57 amber alice 62 cobalt bruno 10 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012567-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
bruno 44 juniper ivan 70 ember kim 49 indigo chen 52 amber jules 60 cobalt jules 90 delta farah 97 harbor alice 84 harbor
ivan 70 ember kim 49 indigo chen 52 amber jules 60 cobalt jules 90 delta farah 97 harbor alice 84 harbor
jules 45 cobalt lina 35 amber farah 30 grove hana 57 amber alice 62 cobalt bruno 10 juniper
lina 35 amber farah 30 grove hana 57 amber alice 62 cobalt bruno 10 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012567
qwen/qwen3.7-plus
awkweave-0012568
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
bruno ready 74 eli paused 48 kim ready 102 kim paused 54 bruno pending 37 dina failed 80 ivan closed 33 lina closed 43
2
hana ready 76 lina failed 20 dina pending 17 eli active 100 jules pending 81 bruno active 40 alice active 2
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012568-p1
Tally the number of entries where column 2 contains 'paused', outputting 0 if no matches are found.
$2 == "paused"{n++}END{print n+0}
bruno ready 74 eli paused 48 kim ready 102 kim paused 54 bruno pending 37 dina failed 80 ivan closed 33 lina closed 43
2
hana ready 76 lina failed 20 dina pending 17 eli active 100 jules pending 81 bruno active 40 alice active 2
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012568
qwen/qwen3.7-plus
awkweave-0012569
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ivan 30 harbor eli 29 cobalt jules 28 fable ivan 14 fable dina 4 cobalt hana 29 grove
134
gus 15 grove dina 21 fable eli 29 cobalt gus 28 harbor dina 29 juniper jules 15 harbor bruno 20 delta kim 2 ember lina 16 grove farah 28 grove
203
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012569-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
ivan 30 harbor eli 29 cobalt jules 28 fable ivan 14 fable dina 4 cobalt hana 29 grove
134
gus 15 grove dina 21 fable eli 29 cobalt gus 28 harbor dina 29 juniper jules 15 harbor bruno 20 delta kim 2 ember lina 16 grove farah 28 grove
203
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012569
qwen/qwen3.7-plus
awkweave-0012570
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
kim 13 fable kim 29 delta gus 8 harbor lina 10 cobalt jules 14 fable ivan 29 ember eli 11 delta chen 25 amber bruno 19 birch gus 1 harbor
15.90
farah 17 juniper ivan 29 harbor dina 20 delta eli 7 delta jules 7 harbor gus 21 ember bruno 10 juniper
15.86
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012570-p1
Output the average of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
kim 13 fable kim 29 delta gus 8 harbor lina 10 cobalt jules 14 fable ivan 29 ember eli 11 delta chen 25 amber bruno 19 birch gus 1 harbor
15.90
farah 17 juniper ivan 29 harbor dina 20 delta eli 7 delta jules 7 harbor gus 21 ember bruno 10 juniper
15.86
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012570
qwen/qwen3.7-plus
awkweave-0012571
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
fable 21 hana cobalt 4 ivan fable 21 kim grove 17 gus birch 15 ivan cobalt 13 bruno fable 23 gus juniper 8 eli
4
amber 30 kim grove 14 ivan ember 25 alice delta 3 jules cobalt 1 eli amber 25 eli grove 1 hana
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012571-p1
Identify and print the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
fable 21 hana cobalt 4 ivan fable 21 kim grove 17 gus birch 15 ivan cobalt 13 bruno fable 23 gus juniper 8 eli
4
amber 30 kim grove 14 ivan ember 25 alice delta 3 jules cobalt 1 eli amber 25 eli grove 1 hana
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012571
qwen/qwen3.7-plus
awkweave-0012572
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor eli 16 fable farah 3 amber chen 10 harbor bruno 2 indigo jules 10 juniper jules 17 harbor farah 21 amber eli 29
29
amber farah 24 juniper lina 11 indigo farah 4 harbor dina 18 grove eli 12 ember hana 4 birch alice 29 cobalt bruno 25 harbor jules 4 cobalt gus 19
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012572-p1
Identify and print the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
harbor eli 16 fable farah 3 amber chen 10 harbor bruno 2 indigo jules 10 juniper jules 17 harbor farah 21 amber eli 29
29
amber farah 24 juniper lina 11 indigo farah 4 harbor dina 18 grove eli 12 ember hana 4 birch alice 29 cobalt bruno 25 harbor jules 4 cobalt gus 19
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012572
qwen/qwen3.7-plus
awkweave-0012573
Count all input records and print the total.
END{print NR}
gus 83 ivan 5 ivan 23 ivan 8 lina 67 hana 47 bruno 41
7
kim 32 bruno 53 farah 108 hana 63 ivan 62 farah 53 dina 82
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012573-p1
Count the total number of input records and print the result.
END{print NR}
gus 83 ivan 5 ivan 23 ivan 8 lina 67 hana 47 bruno 41
7
kim 32 bruno 53 farah 108 hana 63 ivan 62 farah 53 dina 82
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012573
qwen/qwen3.7-plus
awkweave-0012574
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan birch 87 gus grove 21 chen birch 76 lina harbor 78 ivan birch 87 jules fable 21 lina grove 102 ivan amber 9
ivan birch 87 gus grove 21 chen birch 76 lina harbor 78 jules fable 21 lina grove 102 ivan amber 9
eli amber 103 ivan juniper 74 jules amber 119 eli birch 111 eli birch 111 ivan delta 72 alice harbor 74 eli indigo 47 gus birch 117 gus juniper 19
eli amber 103 ivan juniper 74 jules amber 119 eli birch 111 ivan delta 72 alice harbor 74 eli indigo 47 gus birch 117 gus juniper 19
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012574-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
ivan birch 87 gus grove 21 chen birch 76 lina harbor 78 ivan birch 87 jules fable 21 lina grove 102 ivan amber 9
ivan birch 87 gus grove 21 chen birch 76 lina harbor 78 jules fable 21 lina grove 102 ivan amber 9
eli amber 103 ivan juniper 74 jules amber 119 eli birch 111 eli birch 111 ivan delta 72 alice harbor 74 eli indigo 47 gus birch 117 gus juniper 19
eli amber 103 ivan juniper 74 jules amber 119 eli birch 111 ivan delta 72 alice harbor 74 eli indigo 47 gus birch 117 gus juniper 19
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012574
qwen/qwen3.7-plus
awkweave-0012575
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
alice cobalt 78 jules cobalt 30 chen ember 81 eli juniper 83 hana indigo 25 lina delta 117 dina ember 100 ivan fable 119
alice cobalt 78 chen ember 81 eli juniper 83 hana indigo 25 lina delta 117 ivan fable 119
kim indigo 31 farah cobalt 103 alice fable 9 dina ember 107 gus birch 30 lina amber 86
kim indigo 31 farah cobalt 103 alice fable 9 dina ember 107 gus birch 30 lina amber 86
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012575-p1
Retain only the first occurrence for each unique value in column 2, preserving the original input sequence.
!seen[$2]++
alice cobalt 78 jules cobalt 30 chen ember 81 eli juniper 83 hana indigo 25 lina delta 117 dina ember 100 ivan fable 119
alice cobalt 78 chen ember 81 eli juniper 83 hana indigo 25 lina delta 117 ivan fable 119
kim indigo 31 farah cobalt 103 alice fable 9 dina ember 107 gus birch 30 lina amber 86
kim indigo 31 farah cobalt 103 alice fable 9 dina ember 107 gus birch 30 lina amber 86
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012575
qwen/qwen3.7-plus
awkweave-0012576
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 12 harbor lina 7 birch eli 18 delta lina 20 birch chen 2 grove hana 2 indigo
jules 12 lina 19 eli 37 lina 57 chen 59 hana 61
jules 22 delta bruno 26 ember kim 17 grove hana 19 fable ivan 6 ember jules 25 harbor ivan 17 ember ivan 18 grove kim 15 harbor
jules 22 bruno 48 kim 65 hana 84 ivan 90 jules 115 ivan 132 ivan 150 kim 165
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012576-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 12 harbor lina 7 birch eli 18 delta lina 20 birch chen 2 grove hana 2 indigo
jules 12 lina 19 eli 37 lina 57 chen 59 hana 61
jules 22 delta bruno 26 ember kim 17 grove hana 19 fable ivan 6 ember jules 25 harbor ivan 17 ember ivan 18 grove kim 15 harbor
jules 22 bruno 48 kim 65 hana 84 ivan 90 jules 115 ivan 132 ivan 150 kim 165
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012576
qwen/qwen3.7-plus
awkweave-0012577
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 26 12 ember chen 25 17 amber dina 21 27 harbor alice 14 4 amber gus 16 7 indigo gus 10 15 juniper
chen 38 chen 42 dina 48 alice 18 gus 23 gus 25
kim 13 6 amber gus 25 5 cobalt gus 6 29 juniper jules 8 6 harbor gus 22 4 cobalt bruno 17 30 delta ivan 28 8 fable kim 26 12 cobalt eli 14 20 grove alice 16 22 amber
kim 19 gus 30 gus 35 jules 14 gus 26 bruno 47 ivan 36 kim 38 eli 34 alice 38
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012577-p1
For every row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 26 12 ember chen 25 17 amber dina 21 27 harbor alice 14 4 amber gus 16 7 indigo gus 10 15 juniper
chen 38 chen 42 dina 48 alice 18 gus 23 gus 25
kim 13 6 amber gus 25 5 cobalt gus 6 29 juniper jules 8 6 harbor gus 22 4 cobalt bruno 17 30 delta ivan 28 8 fable kim 26 12 cobalt eli 14 20 grove alice 16 22 amber
kim 19 gus 30 gus 35 jules 14 gus 26 bruno 47 ivan 36 kim 38 eli 34 alice 38
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012577
qwen/qwen3.7-plus
awkweave-0012578
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
bruno 1 hana 22 bruno 18 kim 4 bruno 30 chen 14 bruno 22 dina 1 dina 17
bruno fail hana pass bruno fail kim fail bruno pass chen fail bruno pass dina fail dina fail
jules 19 dina 10 kim 12 eli 2 gus 8 eli 15 lina 3 alice 16
jules fail dina fail kim fail eli fail gus fail eli fail lina fail alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012578-p1
Output the value in column 1; if column 2 is 20 or more, output 'pass', otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
bruno 1 hana 22 bruno 18 kim 4 bruno 30 chen 14 bruno 22 dina 1 dina 17
bruno fail hana pass bruno fail kim fail bruno pass chen fail bruno pass dina fail dina fail
jules 19 dina 10 kim 12 eli 2 gus 8 eli 15 lina 3 alice 16
jules fail dina fail kim fail eli fail gus fail eli fail lina fail alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012578
qwen/qwen3.7-plus
awkweave-0012579
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
chen fable 47 eli birch 29 jules amber 93 chen amber 18 gus birch 42 gus fable 54 lina ember 104
CHEN ELI JULES CHEN GUS GUS LINA
ivan delta 71 dina grove 36 lina indigo 103 lina ember 65 chen indigo 107 bruno fable 13 hana grove 94 gus delta 4
IVAN DINA LINA LINA CHEN BRUNO HANA GUS
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012579-p1
Transform column 1 to uppercase and display only that modified column.
{print toupper($1)}
chen fable 47 eli birch 29 jules amber 93 chen amber 18 gus birch 42 gus fable 54 lina ember 104
CHEN ELI JULES CHEN GUS GUS LINA
ivan delta 71 dina grove 36 lina indigo 103 lina ember 65 chen indigo 107 bruno fable 13 hana grove 94 gus delta 4
IVAN DINA LINA LINA CHEN BRUNO HANA GUS
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012579
qwen/qwen3.7-plus
awkweave-0012580
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
fable 24 cobalt 54 grove 94 grove 43 ember 26 harbor 39 indigo 57 harbor 83 harbor 3 birch 106
able obal rove rove mber arbo ndig arbo arbo irch
harbor 100 delta 118 harbor 3 ember 84 birch 15 cobalt 24 indigo 96 grove 34 juniper 18 grove 13
arbo elta arbo mber irch obal ndig rove unip rove
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012580-p1
Extract and print a substring of length 4 from column 1, beginning at the second character.
{print substr($1,2,4)}
fable 24 cobalt 54 grove 94 grove 43 ember 26 harbor 39 indigo 57 harbor 83 harbor 3 birch 106
able obal rove rove mber arbo ndig arbo arbo irch
harbor 100 delta 118 harbor 3 ember 84 birch 15 cobalt 24 indigo 96 grove 34 juniper 18 grove 13
arbo elta arbo mber irch obal ndig rove unip rove
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012580
qwen/qwen3.7-plus
awkweave-0012581
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_birch 1 harbor_harbor 105 ember_grove 100 indigo_cobalt 98 indigo_cobalt 32 cobalt_delta 30 harbor_indigo 93 cobalt_grove 40
birch birch harbor harbor ember grove indigo cobalt indigo cobalt cobalt delta harbor indigo cobalt grove
cobalt_amber 0 harbor_amber 27 amber_harbor 51 cobalt_fable 46 fable_juniper 44 birch_juniper 27 birch_grove 17 harbor_birch 78 birch_ember 4 cobalt_birch 75
cobalt amber harbor amber amber harbor cobalt fable fable juniper birch juniper birch grove harbor birch birch ember cobalt birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012581-p1
Substitute all underscores in column 1 with spaces and output the result.
{gsub(/_/," ",$1);print $1}
birch_birch 1 harbor_harbor 105 ember_grove 100 indigo_cobalt 98 indigo_cobalt 32 cobalt_delta 30 harbor_indigo 93 cobalt_grove 40
birch birch harbor harbor ember grove indigo cobalt indigo cobalt cobalt delta harbor indigo cobalt grove
cobalt_amber 0 harbor_amber 27 amber_harbor 51 cobalt_fable 46 fable_juniper 44 birch_juniper 27 birch_grove 17 harbor_birch 78 birch_ember 4 cobalt_birch 75
cobalt amber harbor amber amber harbor cobalt fable fable juniper birch juniper birch grove harbor birch birch ember cobalt birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012581
qwen/qwen3.7-plus
awkweave-0012582
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)}
gus ember 3 ready hana juniper 27 ready jules grove 92 ready gus birch 3 active jules indigo 5 pending bruno indigo 23 failed farah harbor 36 ready ivan juniper 91 pending kim juniper 25 paused bruno indigo 120 pending
ready 3 ember gus ready 27 juniper hana ready 92 grove jules active 3 birch gus pending 5 indigo jules failed 23 indigo bruno ready 36 harbor farah pending 91 juniper ivan paused 25 juniper kim pending 120 indigo bruno
kim fable 19 pending chen grove 78 paused dina ember 49 paused chen delta 44 failed jules amber 19 pending gus grove 64 ready
pending 19 fable kim paused 78 grove chen paused 49 ember dina failed 44 delta chen pending 19 amber jules ready 64 grove gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012582-p1
Reverse the sequence of fields in each line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus ember 3 ready hana juniper 27 ready jules grove 92 ready gus birch 3 active jules indigo 5 pending bruno indigo 23 failed farah harbor 36 ready ivan juniper 91 pending kim juniper 25 paused bruno indigo 120 pending
ready 3 ember gus ready 27 juniper hana ready 92 grove jules active 3 birch gus pending 5 indigo jules failed 23 indigo bruno ready 36 harbor farah pending 91 juniper ivan paused 25 juniper kim pending 120 indigo bruno
kim fable 19 pending chen grove 78 paused dina ember 49 paused chen delta 44 failed jules amber 19 pending gus grove 64 ready
pending 19 fable kim paused 78 grove chen paused 49 ember dina failed 44 delta chen pending 19 amber jules ready 64 grove gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012582
qwen/qwen3.7-plus
awkweave-0012583
Print the number of whitespace-separated fields on each line.
{print NF}
dina birch 51 pending kim amber 97 paused jules amber 110 pending chen birch 91 active kim harbor 17 closed eli fable 87 ready
4 4 4 4 4 4
jules indigo 47 ready kim cobalt 56 closed hana ember 71 closed ivan delta 24 pending bruno harbor 35 paused lina ember 76 paused eli indigo 11 failed
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012583-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
dina birch 51 pending kim amber 97 paused jules amber 110 pending chen birch 91 active kim harbor 17 closed eli fable 87 ready
4 4 4 4 4 4
jules indigo 47 ready kim cobalt 56 closed hana ember 71 closed ivan delta 24 pending bruno harbor 35 paused lina ember 76 paused eli indigo 11 failed
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012583
qwen/qwen3.7-plus
awkweave-0012584
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]]}
jules gamma 60 hana beta 65 dina delta 112 bruno beta 6 chen gamma 48 kim delta 48
gamma 2 beta 2 delta 2
alice gamma 83 ivan alpha 103 alice beta 53 kim gamma 27 farah delta 17 gus beta 16 alice alpha 91 dina alpha 11 kim beta 79 hana alpha 86
gamma 2 alpha 4 beta 3 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012584-p1
Tally the records for each unique value in column 2, then print each value alongside 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]]}
jules gamma 60 hana beta 65 dina delta 112 bruno beta 6 chen gamma 48 kim delta 48
gamma 2 beta 2 delta 2
alice gamma 83 ivan alpha 103 alice beta 53 kim gamma 27 farah delta 17 gus beta 16 alice alpha 91 dina alpha 11 kim beta 79 hana alpha 86
gamma 2 alpha 4 beta 3 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012584
qwen/qwen3.7-plus
awkweave-0012585
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]]}
chen delta 12 gus gamma 29 lina gamma 1 hana delta 12 ivan alpha 12 gus gamma 3 hana beta 16
delta 24 gamma 33 alpha 12 beta 16
hana delta 6 dina delta 12 farah beta 20 farah alpha 3 alice delta 26 eli alpha 15 dina delta 12 hana gamma 17
delta 56 beta 20 alpha 18 gamma 17
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012585-p1
Calculate the sum of column 3 grouped by column 2 categories, outputting the results in the order of the category's 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]]}
chen delta 12 gus gamma 29 lina gamma 1 hana delta 12 ivan alpha 12 gus gamma 3 hana beta 16
delta 24 gamma 33 alpha 12 beta 16
hana delta 6 dina delta 12 farah beta 20 farah alpha 3 alice delta 26 eli alpha 15 dina delta 12 hana gamma 17
delta 56 beta 20 alpha 18 gamma 17
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012585
qwen/qwen3.7-plus
awkweave-0012586
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 62 beta amber 9 gamma cobalt 69 beta juniper 21 alpha harbor 93 delta fable 73
beta 3
delta fable 109 delta harbor 35 gamma fable 56 alpha grove 93 alpha juniper 44 beta delta 45 gamma indigo 61 gamma juniper 10
delta 2 gamma 3 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012586-p1
List each duplicate value from column 1 along with its frequency, sorted by the order of first occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta grove 62 beta amber 9 gamma cobalt 69 beta juniper 21 alpha harbor 93 delta fable 73
beta 3
delta fable 109 delta harbor 35 gamma fable 56 alpha grove 93 alpha juniper 44 beta delta 45 gamma indigo 61 gamma juniper 10
delta 2 gamma 3 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012586
qwen/qwen3.7-plus
awkweave-0012587
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region note score state r001 eli 5 ready r002 ivan 19 closed r003 eli 13 ready r004 lina 5 pending r005 chen 26 ready r006 kim 10 pending r007 lina 14 ready r008 lina 8 failed r009 dina 24 closed
5 19 13 5 26 10 14 8 24
region note score state r001 alice 18 pending r002 farah 26 closed r003 alice 18 ready r004 ivan 30 active r005 ivan 11 active r006 alice 1 failed r007 dina 28 paused r008 hana 14 pending r009 gus 9 active
18 26 18 30 11 1 28 14 9
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012587-p1
Treating the first row as a header, output the values from the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region note score state r001 eli 5 ready r002 ivan 19 closed r003 eli 13 ready r004 lina 5 pending r005 chen 26 ready r006 kim 10 pending r007 lina 14 ready r008 lina 8 failed r009 dina 24 closed
5 19 13 5 26 10 14 8 24
region note score state r001 alice 18 pending r002 farah 26 closed r003 alice 18 ready r004 ivan 30 active r005 ivan 11 active r006 alice 1 failed r007 dina 28 paused r008 hana 14 pending r009 gus 9 active
18 26 18 30 11 1 28 14 9
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012587
qwen/qwen3.7-plus
awkweave-0012588
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 jules 7 paused r002 gus 12 ready r003 gus 30 active r004 bruno 20 closed r005 ivan 25 active r006 alice 12 paused
gus ivan
record_id display_name score state r001 ivan 22 pending r002 jules 10 ready r003 alice 22 closed r004 dina 21 failed r005 farah 26 closed r006 bruno 14 active
farah
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012588-p1
With the first row as a header, print the display_name field for data rows where the score exceeds 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 jules 7 paused r002 gus 12 ready r003 gus 30 active r004 bruno 20 closed r005 ivan 25 active r006 alice 12 paused
gus ivan
record_id display_name score state r001 ivan 22 pending r002 jules 10 ready r003 alice 22 closed r004 dina 21 failed r005 farah 26 closed r006 bruno 14 active
farah
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012588
qwen/qwen3.7-plus
awkweave-0012589
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 18 failed eli 9 active chen 16 active hana 21 closed kim 1 ready alice 13 ready
18 9 16 21 1 13
dina 4 paused kim 16 pending kim 20 pending lina 4 failed chen 3 active farah 15 failed farah 2 failed
4 16 20 4 3 15 2
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012589-p1
Given tab-separated input, output the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 18 failed eli 9 active chen 16 active hana 21 closed kim 1 ready alice 13 ready
18 9 16 21 1 13
dina 4 paused kim 16 pending kim 20 pending lina 4 failed chen 3 active farah 15 failed farah 2 failed
4 16 20 4 3 15 2
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012589
qwen/qwen3.7-plus
awkweave-0012600
Show whole lines whose 3rd field is between 11 and 21, inclusive.
$3 >= 11 && $3 <= 21
alice ember 4 ember alice birch 14 amber dina fable 26 indigo bruno juniper 22 ember jules harbor 12 juniper jules delta 1 indigo kim harbor 8 harbor
alice birch 14 amber jules harbor 12 juniper
dina birch 23 cobalt jules amber 6 cobalt dina juniper 26 indigo bruno amber 23 delta chen harbor 29 ember chen birch 23 grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012600-p1
Display complete lines where the third field falls within the inclusive range of 11 to 21.
$3 >= 11 && $3 <= 21
alice ember 4 ember alice birch 14 amber dina fable 26 indigo bruno juniper 22 ember jules harbor 12 juniper jules delta 1 indigo kim harbor 8 harbor
alice birch 14 amber jules harbor 12 juniper
dina birch 23 cobalt jules amber 6 cobalt dina juniper 26 indigo bruno amber 23 delta chen harbor 29 ember chen birch 23 grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012600
qwen/qwen3.7-plus
awkweave-0012601
Print column 3 only for rows where column 2 is exactly closed.
$2 == "closed"{print $3}
birch active alice 49 harbor active ivan 25 amber closed bruno 9 birch paused ivan 91 delta closed alice 62 harbor active alice 33 delta pending eli 62
bruno alice
harbor closed jules 34 amber paused lina 7 juniper active eli 6 harbor active gus 21 harbor active kim 87 juniper pending farah 84 grove closed alice 30 cobalt ready lina 11 juniper failed farah 18
jules alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012601-p1
Output only the third column for rows where the second column is exactly 'closed'.
$2 == "closed"{print $3}
birch active alice 49 harbor active ivan 25 amber closed bruno 9 birch paused ivan 91 delta closed alice 62 harbor active alice 33 delta pending eli 62
bruno alice
harbor closed jules 34 amber paused lina 7 juniper active eli 6 harbor active gus 21 harbor active kim 87 juniper pending farah 84 grove closed alice 30 cobalt ready lina 11 juniper failed farah 18
jules alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012601
qwen/qwen3.7-plus
awkweave-0012602
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR 85 ember INFO 90 indigo INFO 71 cobalt DEBUG 101 indigo ERROR 17 harbor WARN 76 cobalt ERROR 102 ember
ERROR 85 ember ERROR 17 harbor ERROR 102 ember
DEBUG 12 birch ERROR 41 cobalt DEBUG 119 grove DEBUG 111 juniper INFO 18 harbor WARN 116 grove ERROR 117 indigo
ERROR 41 cobalt ERROR 117 indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012602-p1
Print all fields from lines where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
ERROR 85 ember INFO 90 indigo INFO 71 cobalt DEBUG 101 indigo ERROR 17 harbor WARN 76 cobalt ERROR 102 ember
ERROR 85 ember ERROR 17 harbor ERROR 102 ember
DEBUG 12 birch ERROR 41 cobalt DEBUG 119 grove DEBUG 111 juniper INFO 18 harbor WARN 116 grove ERROR 117 indigo
ERROR 41 cobalt ERROR 117 indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012602
qwen/qwen3.7-plus
awkweave-0012603
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
ember 4 active cobalt 94 ready grove 46 pending ember 98 closed cobalt 43 closed delta 25 failed harbor 40 active harbor 999 active
ember 4 active cobalt 94 ready grove 46 pending ember 98 closed cobalt 43 closed delta 25 failed
fable 83 paused grove 69 paused birch 46 closed cobalt 21 pending indigo 38 active delta 55 failed fable 84 pending harbor 120 pending harbor 57 closed birch 14 ready harbor 999 active
fable 83 paused grove 69 paused birch 46 closed cobalt 21 pending indigo 38 active delta 55 failed fable 84 pending birch 14 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012603-p1
Print every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
ember 4 active cobalt 94 ready grove 46 pending ember 98 closed cobalt 43 closed delta 25 failed harbor 40 active harbor 999 active
ember 4 active cobalt 94 ready grove 46 pending ember 98 closed cobalt 43 closed delta 25 failed
fable 83 paused grove 69 paused birch 46 closed cobalt 21 pending indigo 38 active delta 55 failed fable 84 pending harbor 120 pending harbor 57 closed birch 14 ready harbor 999 active
fable 83 paused grove 69 paused birch 46 closed cobalt 21 pending indigo 38 active delta 55 failed fable 84 pending birch 14 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012603
qwen/qwen3.7-plus
awkweave-0012604
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
kim cobalt 72 kim harbor 94 farah cobalt 77 chen cobalt 17 gus delta 92 farah indigo 41 jules cobalt 65
kim harbor 94 farah cobalt 77 chen cobalt 17
kim fable 33 chen indigo 111 lina cobalt 34 kim ember 58 farah juniper 99 farah delta 107 bruno ember 18 hana amber 82
chen indigo 111 lina cobalt 34 kim ember 58
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012604-p1
Output lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
kim cobalt 72 kim harbor 94 farah cobalt 77 chen cobalt 17 gus delta 92 farah indigo 41 jules cobalt 65
kim harbor 94 farah cobalt 77 chen cobalt 17
kim fable 33 chen indigo 111 lina cobalt 34 kim ember 58 farah juniper 99 farah delta 107 bruno ember 18 hana amber 82
chen indigo 111 lina cobalt 34 kim ember 58
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012604
qwen/qwen3.7-plus
awkweave-0012605
Output only the first 3 records.
NR <= 3
bruno 15 fable chen 4 harbor bruno 35 grove eli 89 fable gus 6 grove chen 87 grove chen 101 delta dina 43 indigo gus 107 birch eli 100 harbor
bruno 15 fable chen 4 harbor bruno 35 grove
farah 88 indigo lina 13 harbor lina 92 amber bruno 61 grove ivan 37 indigo hana 36 delta jules 55 delta hana 27 ember dina 117 ember
farah 88 indigo lina 13 harbor lina 92 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012605-p1
Display only the first 3 records.
NR <= 3
bruno 15 fable chen 4 harbor bruno 35 grove eli 89 fable gus 6 grove chen 87 grove chen 101 delta dina 43 indigo gus 107 birch eli 100 harbor
bruno 15 fable chen 4 harbor bruno 35 grove
farah 88 indigo lina 13 harbor lina 92 amber bruno 61 grove ivan 37 indigo hana 36 delta jules 55 delta hana 27 ember dina 117 ember
farah 88 indigo lina 13 harbor lina 92 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012605
qwen/qwen3.7-plus
awkweave-0012606
Skip the first line and print every remaining line unchanged.
NR > 1
lina 92 birch kim 14 indigo hana 115 grove gus 99 juniper eli 115 amber dina 92 grove alice 13 juniper hana 22 juniper ivan 58 harbor chen 22 fable
kim 14 indigo hana 115 grove gus 99 juniper eli 115 amber dina 92 grove alice 13 juniper hana 22 juniper ivan 58 harbor chen 22 fable
lina 14 indigo chen 108 cobalt hana 61 amber ivan 103 grove gus 106 juniper farah 74 cobalt kim 1 birch
chen 108 cobalt hana 61 amber ivan 103 grove gus 106 juniper farah 74 cobalt kim 1 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012606-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
lina 92 birch kim 14 indigo hana 115 grove gus 99 juniper eli 115 amber dina 92 grove alice 13 juniper hana 22 juniper ivan 58 harbor chen 22 fable
kim 14 indigo hana 115 grove gus 99 juniper eli 115 amber dina 92 grove alice 13 juniper hana 22 juniper ivan 58 harbor chen 22 fable
lina 14 indigo chen 108 cobalt hana 61 amber ivan 103 grove gus 106 juniper farah 74 cobalt kim 1 birch
chen 108 cobalt hana 61 amber ivan 103 grove gus 106 juniper farah 74 cobalt kim 1 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012606
qwen/qwen3.7-plus
awkweave-0012607
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
chen ready 82 lina active 81 ivan paused 114 bruno failed 97 kim failed 3 eli ready 61
2
chen ready 56 gus failed 4 dina active 38 gus pending 6 kim failed 112 alice ready 54 eli pending 72 kim ready 27
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012607-p1
Count the number of records with 'failed' in the second column, outputting 0 if none exist.
$2 == "failed"{n++}END{print n+0}
chen ready 82 lina active 81 ivan paused 114 bruno failed 97 kim failed 3 eli ready 61
2
chen ready 56 gus failed 4 dina active 38 gus pending 6 kim failed 112 alice ready 54 eli pending 72 kim ready 27
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012607
qwen/qwen3.7-plus
awkweave-0012608
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
birch ivan 22 ember alice 18 grove kim 14 juniper ivan 4 juniper farah 3 cobalt kim 8 delta lina 14 birch dina 30 juniper lina 7
120
amber farah 30 cobalt jules 26 ember hana 16 cobalt bruno 18 delta kim 19 grove dina 21 birch jules 6 birch farah 25 grove ivan 4
165
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012608-p1
Compute and display the sum of integer values in the third column.
{s+=$3}END{print s+0}
birch ivan 22 ember alice 18 grove kim 14 juniper ivan 4 juniper farah 3 cobalt kim 8 delta lina 14 birch dina 30 juniper lina 7
120
amber farah 30 cobalt jules 26 ember hana 16 cobalt bruno 18 delta kim 19 grove dina 21 birch jules 6 birch farah 25 grove ivan 4
165
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012608
qwen/qwen3.7-plus
awkweave-0012609
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
alice fable 29 eli amber 14 alice ember 6 farah juniper 1 hana amber 19 jules grove 12 gus birch 18 dina birch 28 gus delta 6 eli grove 14
14.70
dina juniper 16 jules juniper 7 jules fable 27 ivan harbor 10 lina cobalt 13 gus juniper 9 eli harbor 12
13.43
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012609-p1
Calculate and print the average of the third column, rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
alice fable 29 eli amber 14 alice ember 6 farah juniper 1 hana amber 19 jules grove 12 gus birch 18 dina birch 28 gus delta 6 eli grove 14
14.70
dina juniper 16 jules juniper 7 jules fable 27 ivan harbor 10 lina cobalt 13 gus juniper 9 eli harbor 12
13.43
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012609
qwen/qwen3.7-plus
awkweave-0012610
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
bruno juniper 8 alice amber 3 bruno delta 4 kim grove 29 alice juniper 8 lina amber 19
3
lina juniper 30 lina fable 26 alice harbor 23 gus grove 5 bruno amber 21 gus amber 22 hana harbor 29 kim ember 7 jules grove 12
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null