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-0042502
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 3 active gus 9 pending eli 3 ready farah 24 ready ivan 8 ready dina 15 ready alice 22 paused jules 15 paused bruno 12 ready
farah gus eli farah ivan dina alice jules bruno
ivan 30 closed farah 21 ready gus 24 failed lina 14 pending alice 21 paused eli 10 paused farah 18 pending jules 20 active gus 14 failed
ivan farah gus lina alice eli farah jules gus
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042502-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 3 active gus 9 pending eli 3 ready farah 24 ready ivan 8 ready dina 15 ready alice 22 paused jules 15 paused bruno 12 ready
farah gus eli farah ivan dina alice jules bruno
ivan 30 closed farah 21 ready gus 24 failed lina 14 pending alice 21 paused eli 10 paused farah 18 pending jules 20 active gus 14 failed
ivan farah gus lina alice eli farah jules gus
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042502
qwen/qwen3.7-plus
awkweave-0042503
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
jules,16,paused farah,22,ready farah,5,ready alice,5,pending chen,22,paused chen,12,active ivan,22,paused
jules farah chen chen ivan
alice,21,closed farah,18,paused hana,29,failed hana,28,active bruno,6,closed hana,16,pending bruno,13,pending
alice farah hana hana hana bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042503-p1
For simple comma-separated data without quoted commas, print the first column if the second column's value is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
jules,16,paused farah,22,ready farah,5,ready alice,5,pending chen,22,paused chen,12,active ivan,22,paused
jules farah chen chen ivan
alice,21,closed farah,18,paused hana,29,failed hana,28,active bruno,6,closed hana,16,pending bruno,13,pending
alice farah hana hana hana bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042503
qwen/qwen3.7-plus
awkweave-0042504
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno delta 91 eli grove 71 jules delta 82 eli fable 42 bruno amber 120 kim birch 68 gus fable 111 hana amber 11 ivan birch 15
bruno delta 91 eli grove 71 jules delta 82 eli fable 42 bruno amber 120 kim birch 68 gus fable 111 hana amber 11 ivan birch 15
farah birch 98 alice delta 31 ivan birch 100 chen fable 36 dina fable 57 dina birch 72
farah birch 98 alice delta 31 ivan birch 100 chen fable 36 dina fable 57 dina birch 72
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042504-p1
Strip leading and trailing whitespace and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
bruno delta 91 eli grove 71 jules delta 82 eli fable 42 bruno amber 120 kim birch 68 gus fable 111 hana amber 11 ivan birch 15
bruno delta 91 eli grove 71 jules delta 82 eli fable 42 bruno amber 120 kim birch 68 gus fable 111 hana amber 11 ivan birch 15
farah birch 98 alice delta 31 ivan birch 100 chen fable 36 dina fable 57 dina birch 72
farah birch 98 alice delta 31 ivan birch 100 chen fable 36 dina fable 57 dina birch 72
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042504
qwen/qwen3.7-plus
awkweave-0042505
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno juniper 82 closed chen indigo 24 paused gus indigo 112 closed jules birch 85 active kim grove 109 pending bruno delta 87 paused chen grove 69 active chen delta 30 failed
bruno juniper 82 closed
jules ember 87 active farah birch 36 ready eli indigo 112 pending farah cobalt 112 closed hana delta 81 paused kim delta 91 failed chen amber 47 active lina fable 97 paused
farah cobalt 112 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042505-p1
Locate and print the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno juniper 82 closed chen indigo 24 paused gus indigo 112 closed jules birch 85 active kim grove 109 pending bruno delta 87 paused chen grove 69 active chen delta 30 failed
bruno juniper 82 closed
jules ember 87 active farah birch 36 ready eli indigo 112 pending farah cobalt 112 closed hana delta 81 paused kim delta 91 failed chen amber 47 active lina fable 97 paused
farah cobalt 112 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042505
qwen/qwen3.7-plus
awkweave-0042506
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
kim 64 eli 20 hana 39 jules 70 farah 64 chen 38 alice 113 ivan 118 hana 89
eli 20 farah 64 ivan 118
jules 110 dina 94 kim 91 kim 82 eli 88 gus 76 hana 44 jules 53 gus 80
dina 94 eli 88 jules 53
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042506-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, 8, etc.).
NR%3==2
kim 64 eli 20 hana 39 jules 70 farah 64 chen 38 alice 113 ivan 118 hana 89
eli 20 farah 64 ivan 118
jules 110 dina 94 kim 91 kim 82 eli 88 gus 76 hana 44 jules 53 gus 80
dina 94 eli 88 jules 53
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042506
qwen/qwen3.7-plus
awkweave-0042507
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 59 alpha ember 100 alpha birch 36 delta indigo 31 delta harbor 119 beta amber 8
4
gamma birch 62 gamma birch 66 beta fable 91 delta ember 38 alpha ember 58 delta fable 71 beta grove 2
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042507-p1
Calculate the number of unique values in the first column and display only that total.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 59 alpha ember 100 alpha birch 36 delta indigo 31 delta harbor 119 beta amber 8
4
gamma birch 62 gamma birch 66 beta fable 91 delta ember 38 alpha ember 58 delta fable 71 beta grove 2
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042507
qwen/qwen3.7-plus
awkweave-0042508
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 4 0 farah 8 18 chen 11 15 lina 2 17 dina 2 26 hana 4 7 bruno 4 5 farah 11 26
farah 0.44 chen 0.73 lina 0.12 dina 0.08 hana 0.57 bruno 0.80 farah 0.42
lina 20 0 kim 6 20 dina 29 5 chen 30 20 farah 7 6 kim 13 22 ivan 18 6 kim 5 10
kim 0.30 dina 5.80 chen 1.50 farah 1.17 kim 0.59 ivan 3.00 kim 0.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042508-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 4 0 farah 8 18 chen 11 15 lina 2 17 dina 2 26 hana 4 7 bruno 4 5 farah 11 26
farah 0.44 chen 0.73 lina 0.12 dina 0.08 hana 0.57 bruno 0.80 farah 0.42
lina 20 0 kim 6 20 dina 29 5 chen 30 20 farah 7 6 kim 13 22 ivan 18 6 kim 5 10
kim 0.30 dina 5.80 chen 1.50 farah 1.17 kim 0.59 ivan 3.00 kim 0.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042508
qwen/qwen3.7-plus
awkweave-0042509
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
lina fable 24 hana juniper 26 hana birch 30 alice cobalt 12 lina fable 22 alice harbor 25 hana fable 2
hana birch 30 hana juniper 26 alice harbor 25
chen cobalt 8 chen delta 12 alice grove 28 jules delta 27 dina indigo 7 farah harbor 28 gus harbor 27
alice grove 28 farah harbor 28 jules delta 27
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042509-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
lina fable 24 hana juniper 26 hana birch 30 alice cobalt 12 lina fable 22 alice harbor 25 hana fable 2
hana birch 30 hana juniper 26 alice harbor 25
chen cobalt 8 chen delta 12 alice grove 28 jules delta 27 dina indigo 7 farah harbor 28 gus harbor 27
alice grove 28 farah harbor 28 jules delta 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042509
qwen/qwen3.7-plus
awkweave-0042510
Select the 4th and 3rd fields in that order.
{print $4, $3}
harbor delta grove pending harbor amber grove failed birch cobalt birch paused ember harbor juniper failed fable delta amber active juniper cobalt juniper active cobalt harbor birch ready delta juniper juniper failed birch harbor amber closed grove amber juniper closed
pending grove failed grove paused birch failed juniper active amber active juniper ready birch failed juniper closed amber closed juniper
cobalt cobalt juniper ready harbor grove ember ready birch indigo fable active cobalt indigo indigo ready ember ember birch failed birch delta cobalt closed delta cobalt harbor ready grove ember grove paused harbor cobalt indigo active
ready juniper ready ember active fable ready indigo failed birch closed cobalt ready harbor paused grove active indigo
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042510-p1
Extract and print the fourth field followed by the third field.
{print $4, $3}
harbor delta grove pending harbor amber grove failed birch cobalt birch paused ember harbor juniper failed fable delta amber active juniper cobalt juniper active cobalt harbor birch ready delta juniper juniper failed birch harbor amber closed grove amber juniper closed
pending grove failed grove paused birch failed juniper active amber active juniper ready birch failed juniper closed amber closed juniper
cobalt cobalt juniper ready harbor grove ember ready birch indigo fable active cobalt indigo indigo ready ember ember birch failed birch delta cobalt closed delta cobalt harbor ready grove ember grove paused harbor cobalt indigo active
ready juniper ready ember active fable ready indigo failed birch closed cobalt ready harbor paused grove active indigo
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042510
qwen/qwen3.7-plus
awkweave-0042511
Print the last field of every input line.
{print $NF}
93 bruno 76 69 87 43 kim 67 87 94 62 bruno 2 84 37 52 gus 11 114 40 1 chen 113 111 93 56 ivan 64 22 76 41 chen 65 39 105
87 94 37 40 93 76 105
87 dina 41 93 66 88 ivan 38 70 19 52 kim 4 8 68 73 chen 114 97 63 65 lina 16 110 95 70 jules 37 27 25 33 gus 82 4 102 91 jules 55 48 94 79 jules 57 12 110
66 19 68 63 95 25 102 94 110
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042511-p1
Output the final field from every line of input.
{print $NF}
93 bruno 76 69 87 43 kim 67 87 94 62 bruno 2 84 37 52 gus 11 114 40 1 chen 113 111 93 56 ivan 64 22 76 41 chen 65 39 105
87 94 37 40 93 76 105
87 dina 41 93 66 88 ivan 38 70 19 52 kim 4 8 68 73 chen 114 97 63 65 lina 16 110 95 70 jules 37 27 25 33 gus 82 4 102 91 jules 55 48 94 79 jules 57 12 110
66 19 68 63 95 25 102 94 110
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042511
qwen/qwen3.7-plus
awkweave-0042512
Print the complete records where column 1 is less than 41.
$1 < 41
83 active birch kim delta 24 active ember ivan ember 27 failed juniper ivan fable 112 closed delta dina ember 87 ready ember chen ember 6 ready amber chen juniper
24 active ember ivan ember 27 failed juniper ivan fable 6 ready amber chen juniper
10 paused ember hana harbor 28 ready grove hana harbor 92 closed birch eli cobalt 73 ready harbor kim cobalt 112 failed harbor farah grove 108 paused delta hana harbor 86 active birch jules grove
10 paused ember hana harbor 28 ready grove hana harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042512-p1
Print the entire records where the value in the first column is less than 41.
$1 < 41
83 active birch kim delta 24 active ember ivan ember 27 failed juniper ivan fable 112 closed delta dina ember 87 ready ember chen ember 6 ready amber chen juniper
24 active ember ivan ember 27 failed juniper ivan fable 6 ready amber chen juniper
10 paused ember hana harbor 28 ready grove hana harbor 92 closed birch eli cobalt 73 ready harbor kim cobalt 112 failed harbor farah grove 108 paused delta hana harbor 86 active birch jules grove
10 paused ember hana harbor 28 ready grove hana harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042512
qwen/qwen3.7-plus
awkweave-0042513
Show whole lines whose 1st field is between 11 and 29, inclusive.
$1 >= 11 && $1 <= 29
15 failed chen harbor 2 failed jules harbor 5 active jules harbor 15 paused alice cobalt 20 paused farah fable 6 ready dina harbor 10 active ivan cobalt 1 failed jules delta 18 paused kim birch 6 paused dina cobalt
15 failed chen harbor 15 paused alice cobalt 20 paused farah fable 18 paused kim birch
13 active farah juniper 3 paused gus fable 14 ready chen grove 21 pending alice indigo 25 closed gus juniper 3 pending hana grove 27 paused bruno juniper
13 active farah juniper 14 ready chen grove 21 pending alice indigo 25 closed gus juniper 27 paused bruno juniper
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042513-p1
Display complete lines where the first field falls within the inclusive range of 11 to 29.
$1 >= 11 && $1 <= 29
15 failed chen harbor 2 failed jules harbor 5 active jules harbor 15 paused alice cobalt 20 paused farah fable 6 ready dina harbor 10 active ivan cobalt 1 failed jules delta 18 paused kim birch 6 paused dina cobalt
15 failed chen harbor 15 paused alice cobalt 20 paused farah fable 18 paused kim birch
13 active farah juniper 3 paused gus fable 14 ready chen grove 21 pending alice indigo 25 closed gus juniper 3 pending hana grove 27 paused bruno juniper
13 active farah juniper 14 ready chen grove 21 pending alice indigo 25 closed gus juniper 27 paused bruno juniper
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042513
qwen/qwen3.7-plus
awkweave-0042514
Print column 2 only for rows where column 3 is exactly ready.
$3 == "ready"{print $2}
birch chen failed 115 juniper bruno active 94 juniper hana ready 78 juniper farah failed 42 amber farah ready 117 delta jules ready 67 juniper dina ready 98 ember lina failed 45
hana farah jules dina
juniper kim active 81 grove lina pending 47 grove kim closed 96 cobalt gus closed 54 cobalt dina active 114 indigo chen pending 109 fable chen ready 53
chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042514-p1
Output only the second column for rows where the third column contains exactly the text ready.
$3 == "ready"{print $2}
birch chen failed 115 juniper bruno active 94 juniper hana ready 78 juniper farah failed 42 amber farah ready 117 delta jules ready 67 juniper dina ready 98 ember lina failed 45
hana farah jules dina
juniper kim active 81 grove lina pending 47 grove kim closed 96 cobalt gus closed 54 cobalt dina active 114 indigo chen pending 109 fable chen ready 53
chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042514
qwen/qwen3.7-plus
awkweave-0042515
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
fable INFO 106 indigo DEBUG 7 amber DEBUG 37 fable WARN 22 fable DEBUG 103 ember ERROR 42
ember ERROR 42
ember INFO 42 delta INFO 21 indigo ERROR 41 birch ERROR 17 fable INFO 44 birch ERROR 63 fable WARN 24 indigo WARN 96 harbor DEBUG 23 birch ERROR 37
indigo ERROR 41 birch ERROR 17 birch ERROR 63 birch ERROR 37
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042515-p1
Print all fields from lines where the second field starts with ERROR.
$2 ~ /^ERROR/
fable INFO 106 indigo DEBUG 7 amber DEBUG 37 fable WARN 22 fable DEBUG 103 ember ERROR 42
ember ERROR 42
ember INFO 42 delta INFO 21 indigo ERROR 41 birch ERROR 17 fable INFO 44 birch ERROR 63 fable WARN 24 indigo WARN 96 harbor DEBUG 23 birch ERROR 37
indigo ERROR 41 birch ERROR 17 birch ERROR 63 birch ERROR 37
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042515
qwen/qwen3.7-plus
awkweave-0042516
Print every line except those containing the exact text delta.
$0 !~ /delta/
fable 77 paused juniper 60 closed fable 52 pending delta 42 failed amber 73 failed birch 39 paused grove 83 ready indigo 61 closed amber 11 pending delta 999 active
fable 77 paused juniper 60 closed fable 52 pending amber 73 failed birch 39 paused grove 83 ready indigo 61 closed amber 11 pending
indigo 101 pending indigo 81 closed juniper 54 closed harbor 102 active cobalt 89 paused indigo 85 active harbor 40 ready harbor 60 failed delta 999 active
indigo 101 pending indigo 81 closed juniper 54 closed harbor 102 active cobalt 89 paused indigo 85 active harbor 40 ready harbor 60 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042516-p1
Output every line that does not contain the exact string delta.
$0 !~ /delta/
fable 77 paused juniper 60 closed fable 52 pending delta 42 failed amber 73 failed birch 39 paused grove 83 ready indigo 61 closed amber 11 pending delta 999 active
fable 77 paused juniper 60 closed fable 52 pending amber 73 failed birch 39 paused grove 83 ready indigo 61 closed amber 11 pending
indigo 101 pending indigo 81 closed juniper 54 closed harbor 102 active cobalt 89 paused indigo 85 active harbor 40 ready harbor 60 failed delta 999 active
indigo 101 pending indigo 81 closed juniper 54 closed harbor 102 active cobalt 89 paused indigo 85 active harbor 40 ready harbor 60 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042516
qwen/qwen3.7-plus
awkweave-0042517
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
hana ember 102 bruno fable 78 jules harbor 3 hana harbor 20 jules juniper 0 farah grove 47 farah cobalt 118
bruno fable 78 jules harbor 3 hana harbor 20 jules juniper 0
jules delta 59 alice birch 4 alice grove 119 farah harbor 58 farah indigo 41 bruno fable 59 jules cobalt 60 dina cobalt 39 chen ember 53
alice birch 4 alice grove 119 farah harbor 58 farah indigo 41
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042517-p1
Print lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
hana ember 102 bruno fable 78 jules harbor 3 hana harbor 20 jules juniper 0 farah grove 47 farah cobalt 118
bruno fable 78 jules harbor 3 hana harbor 20 jules juniper 0
jules delta 59 alice birch 4 alice grove 119 farah harbor 58 farah indigo 41 bruno fable 59 jules cobalt 60 dina cobalt 39 chen ember 53
alice birch 4 alice grove 119 farah harbor 58 farah indigo 41
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042517
qwen/qwen3.7-plus
awkweave-0042518
Output only the first 2 records.
NR <= 2
gus 8 juniper chen 87 cobalt farah 83 birch farah 3 grove hana 110 harbor lina 18 delta lina 52 amber
gus 8 juniper chen 87 cobalt
dina 70 indigo dina 28 cobalt dina 27 birch chen 26 ember jules 46 birch eli 10 harbor ivan 27 cobalt farah 74 fable
dina 70 indigo dina 28 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042518-p1
Display only the initial two records.
NR <= 2
gus 8 juniper chen 87 cobalt farah 83 birch farah 3 grove hana 110 harbor lina 18 delta lina 52 amber
gus 8 juniper chen 87 cobalt
dina 70 indigo dina 28 cobalt dina 27 birch chen 26 ember jules 46 birch eli 10 harbor ivan 27 cobalt farah 74 fable
dina 70 indigo dina 28 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042518
qwen/qwen3.7-plus
awkweave-0042519
Skip the first line and print every remaining line unchanged.
NR > 1
farah 49 juniper farah 66 amber dina 49 amber bruno 18 cobalt lina 38 harbor jules 104 harbor gus 64 harbor hana 70 juniper jules 98 fable
farah 66 amber dina 49 amber bruno 18 cobalt lina 38 harbor jules 104 harbor gus 64 harbor hana 70 juniper jules 98 fable
alice 4 cobalt gus 28 delta eli 93 indigo ivan 88 indigo hana 63 amber jules 59 birch lina 39 delta kim 60 fable hana 85 ember eli 103 cobalt
gus 28 delta eli 93 indigo ivan 88 indigo hana 63 amber jules 59 birch lina 39 delta kim 60 fable hana 85 ember eli 103 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042519-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
farah 49 juniper farah 66 amber dina 49 amber bruno 18 cobalt lina 38 harbor jules 104 harbor gus 64 harbor hana 70 juniper jules 98 fable
farah 66 amber dina 49 amber bruno 18 cobalt lina 38 harbor jules 104 harbor gus 64 harbor hana 70 juniper jules 98 fable
alice 4 cobalt gus 28 delta eli 93 indigo ivan 88 indigo hana 63 amber jules 59 birch lina 39 delta kim 60 fable hana 85 ember eli 103 cobalt
gus 28 delta eli 93 indigo ivan 88 indigo hana 63 amber jules 59 birch lina 39 delta kim 60 fable hana 85 ember eli 103 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042519
qwen/qwen3.7-plus
awkweave-0042520
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
jules closed 15 chen ready 17 bruno active 53 eli ready 109 dina ready 19 alice active 62 jules active 86 ivan active 1
3
hana closed 97 farah active 21 jules closed 24 alice active 65 chen paused 108 lina paused 36 eli paused 96 chen paused 84 farah closed 1 lina active 85
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042520-p1
Determine the number of entries where column 2 contains 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
jules closed 15 chen ready 17 bruno active 53 eli ready 109 dina ready 19 alice active 62 jules active 86 ivan active 1
3
hana closed 97 farah active 21 jules closed 24 alice active 65 chen paused 108 lina paused 36 eli paused 96 chen paused 84 farah closed 1 lina active 85
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042520
qwen/qwen3.7-plus
awkweave-0042521
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
2 birch bruno 22 birch farah 30 harbor farah 3 harbor bruno 15 indigo dina 13 ember alice 29 harbor bruno 12 ember eli 30 fable kim 13 birch dina
169
27 ember chen 28 fable gus 12 ember kim 13 amber jules 21 delta kim 19 cobalt chen 1 birch gus 25 delta bruno
146
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042521-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
2 birch bruno 22 birch farah 30 harbor farah 3 harbor bruno 15 indigo dina 13 ember alice 29 harbor bruno 12 ember eli 30 fable kim 13 birch dina
169
27 ember chen 28 fable gus 12 ember kim 13 amber jules 21 delta kim 19 cobalt chen 1 birch gus 25 delta bruno
146
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042521
qwen/qwen3.7-plus
awkweave-0042522
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 indigo kim 24 grove hana 16 grove chen 14 juniper dina 19 delta hana 11 amber gus 16 birch gus 11 juniper gus 8 ember kim
14.56
12 fable farah 26 ember ivan 17 ember gus 22 grove dina 27 amber lina 20 juniper farah 6 birch farah
18.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042522-p1
Output the average of column 1, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 indigo kim 24 grove hana 16 grove chen 14 juniper dina 19 delta hana 11 amber gus 16 birch gus 11 juniper gus 8 ember kim
14.56
12 fable farah 26 ember ivan 17 ember gus 22 grove dina 27 amber lina 20 juniper farah 6 birch farah
18.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042522
qwen/qwen3.7-plus
awkweave-0042523
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 harbor alice 13 indigo jules 17 birch chen 15 juniper chen 24 fable hana 5 harbor hana 3 delta bruno
3
2 amber kim 13 cobalt alice 7 amber bruno 15 fable dina 7 harbor dina 29 harbor bruno
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042523-p1
Identify and print the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 harbor alice 13 indigo jules 17 birch chen 15 juniper chen 24 fable hana 5 harbor hana 3 delta bruno
3
2 amber kim 13 cobalt alice 7 amber bruno 15 fable dina 7 harbor dina 29 harbor bruno
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042523
qwen/qwen3.7-plus
awkweave-0042524
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
chen juniper 3 ivan indigo 21 jules ember 3 hana harbor 3 farah amber 20 jules birch 18 ivan birch 5 alice juniper 8 ivan cobalt 24 gus harbor 9
24
jules ember 15 ivan delta 12 bruno grove 17 farah amber 21 kim amber 22 farah cobalt 13 eli fable 3 kim grove 10 hana amber 2 jules cobalt 24
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042524-p1
Locate and output the maximum numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
chen juniper 3 ivan indigo 21 jules ember 3 hana harbor 3 farah amber 20 jules birch 18 ivan birch 5 alice juniper 8 ivan cobalt 24 gus harbor 9
24
jules ember 15 ivan delta 12 bruno grove 17 farah amber 21 kim amber 22 farah cobalt 13 eli fable 3 kim grove 10 hana amber 2 jules cobalt 24
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042524
qwen/qwen3.7-plus
awkweave-0042525
Count all input records and print the total.
END{print NR}
jules 29 chen 40 kim 34 hana 11 gus 83 ivan 37 alice 44 lina 68 eli 66 chen 24
10
gus 102 lina 103 jules 34 gus 96 bruno 11 ivan 48 ivan 3 dina 42 lina 114
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042525-p1
Count the total number of input records and print the result.
END{print NR}
jules 29 chen 40 kim 34 hana 11 gus 83 ivan 37 alice 44 lina 68 eli 66 chen 24
10
gus 102 lina 103 jules 34 gus 96 bruno 11 ivan 48 ivan 3 dina 42 lina 114
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042525
qwen/qwen3.7-plus
awkweave-0042526
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli delta 17 kim amber 113 bruno juniper 59 ivan juniper 2 alice ember 101 jules juniper 112 eli juniper 98 bruno juniper 59
eli delta 17 kim amber 113 bruno juniper 59 ivan juniper 2 alice ember 101 jules juniper 112 eli juniper 98
alice ember 68 ivan fable 112 bruno ember 102 alice delta 86 alice ember 68 ivan ember 61 ivan fable 115 ivan cobalt 101 farah indigo 112 jules delta 118
alice ember 68 ivan fable 112 bruno ember 102 alice delta 86 ivan ember 61 ivan fable 115 ivan cobalt 101 farah indigo 112 jules delta 118
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042526-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
eli delta 17 kim amber 113 bruno juniper 59 ivan juniper 2 alice ember 101 jules juniper 112 eli juniper 98 bruno juniper 59
eli delta 17 kim amber 113 bruno juniper 59 ivan juniper 2 alice ember 101 jules juniper 112 eli juniper 98
alice ember 68 ivan fable 112 bruno ember 102 alice delta 86 alice ember 68 ivan ember 61 ivan fable 115 ivan cobalt 101 farah indigo 112 jules delta 118
alice ember 68 ivan fable 112 bruno ember 102 alice delta 86 ivan ember 61 ivan fable 115 ivan cobalt 101 farah indigo 112 jules delta 118
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042526
qwen/qwen3.7-plus
awkweave-0042527
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
farah harbor 119 chen birch 35 alice delta 106 gus cobalt 107 ivan harbor 120 kim amber 106 farah ember 0
farah harbor 119 chen birch 35 alice delta 106 gus cobalt 107 ivan harbor 120 kim amber 106
chen amber 110 kim indigo 90 dina birch 31 bruno fable 4 gus birch 14 jules harbor 18 lina juniper 68 alice harbor 52
chen amber 110 kim indigo 90 dina birch 31 bruno fable 4 gus birch 14 jules harbor 18 lina juniper 68 alice harbor 52
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042527-p1
Retain only the first occurrence for every unique value in column 1, preserving the original sequence.
!seen[$1]++
farah harbor 119 chen birch 35 alice delta 106 gus cobalt 107 ivan harbor 120 kim amber 106 farah ember 0
farah harbor 119 chen birch 35 alice delta 106 gus cobalt 107 ivan harbor 120 kim amber 106
chen amber 110 kim indigo 90 dina birch 31 bruno fable 4 gus birch 14 jules harbor 18 lina juniper 68 alice harbor 52
chen amber 110 kim indigo 90 dina birch 31 bruno fable 4 gus birch 14 jules harbor 18 lina juniper 68 alice harbor 52
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042527
qwen/qwen3.7-plus
awkweave-0042528
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 5 grove hana 5 harbor gus 6 ember ivan 20 grove hana 3 juniper kim 1 ember lina 12 delta
lina 5 hana 10 gus 16 ivan 36 hana 39 kim 40 lina 52
dina 1 cobalt hana 7 cobalt farah 10 juniper alice 22 juniper jules 14 juniper jules 10 juniper jules 1 fable
dina 1 hana 8 farah 18 alice 40 jules 54 jules 64 jules 65
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042528-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 5 grove hana 5 harbor gus 6 ember ivan 20 grove hana 3 juniper kim 1 ember lina 12 delta
lina 5 hana 10 gus 16 ivan 36 hana 39 kim 40 lina 52
dina 1 cobalt hana 7 cobalt farah 10 juniper alice 22 juniper jules 14 juniper jules 10 juniper jules 1 fable
dina 1 hana 8 farah 18 alice 40 jules 54 jules 64 jules 65
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042528
qwen/qwen3.7-plus
awkweave-0042529
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 1 7 cobalt alice 13 6 indigo jules 18 1 amber gus 30 5 harbor bruno 28 28 indigo eli 10 23 birch chen 9 8 cobalt
gus 8 alice 19 jules 19 gus 35 bruno 56 eli 33 chen 17
kim 27 10 juniper jules 25 18 amber gus 11 6 delta gus 29 2 delta eli 24 3 fable ivan 5 24 harbor farah 16 10 indigo hana 24 19 cobalt
kim 37 jules 43 gus 17 gus 31 eli 27 ivan 29 farah 26 hana 43
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042529-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 1 7 cobalt alice 13 6 indigo jules 18 1 amber gus 30 5 harbor bruno 28 28 indigo eli 10 23 birch chen 9 8 cobalt
gus 8 alice 19 jules 19 gus 35 bruno 56 eli 33 chen 17
kim 27 10 juniper jules 25 18 amber gus 11 6 delta gus 29 2 delta eli 24 3 fable ivan 5 24 harbor farah 16 10 indigo hana 24 19 cobalt
kim 37 jules 43 gus 17 gus 31 eli 27 ivan 29 farah 26 hana 43
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042529
qwen/qwen3.7-plus
awkweave-0042530
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
chen 25 eli 28 lina 14 chen 23 chen 14 eli 20
chen pass eli pass lina fail chen pass chen fail eli fail
ivan 17 ivan 6 alice 23 jules 7 lina 20 bruno 1 farah 29
ivan fail ivan fail alice pass jules fail lina fail bruno fail farah pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042530-p1
Output the value in column 1; if column 2 is 22 or higher, print 'pass', otherwise print 'fail'.
{print $1,($2>=22?"pass":"fail")}
chen 25 eli 28 lina 14 chen 23 chen 14 eli 20
chen pass eli pass lina fail chen pass chen fail eli fail
ivan 17 ivan 6 alice 23 jules 7 lina 20 bruno 1 farah 29
ivan fail ivan fail alice pass jules fail lina fail bruno fail farah pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042530
qwen/qwen3.7-plus
awkweave-0042531
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli juniper 71 bruno ember 60 farah ember 20 farah fable 101 farah harbor 65 alice fable 98 eli juniper 46 gus ember 94
ELI BRUNO FARAH FARAH FARAH ALICE ELI GUS
dina indigo 81 gus harbor 46 bruno cobalt 25 gus grove 104 dina indigo 101 eli harbor 27 ivan amber 60 chen indigo 42 lina harbor 53
DINA GUS BRUNO GUS DINA ELI IVAN CHEN LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042531-p1
Transform column 1 to uppercase letters and output only that modified column.
{print toupper($1)}
eli juniper 71 bruno ember 60 farah ember 20 farah fable 101 farah harbor 65 alice fable 98 eli juniper 46 gus ember 94
ELI BRUNO FARAH FARAH FARAH ALICE ELI GUS
dina indigo 81 gus harbor 46 bruno cobalt 25 gus grove 104 dina indigo 101 eli harbor 27 ivan amber 60 chen indigo 42 lina harbor 53
DINA GUS BRUNO GUS DINA ELI IVAN CHEN LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042531
qwen/qwen3.7-plus
awkweave-0042532
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
cobalt 88 ember 97 grove 70 fable 114 fable 90 juniper 9 fable 74 harbor 2 amber 113
co em gr fa fa ju fa ha am
ember 75 harbor 39 cobalt 88 harbor 35 ember 3 indigo 29
em ha co ha em in
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042532-p1
Extract and print a substring of length 2 from column 1, beginning at index 1.
{print substr($1,1,2)}
cobalt 88 ember 97 grove 70 fable 114 fable 90 juniper 9 fable 74 harbor 2 amber 113
co em gr fa fa ju fa ha am
ember 75 harbor 39 cobalt 88 harbor 35 ember 3 indigo 29
em ha co ha em in
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042532
qwen/qwen3.7-plus
awkweave-0042533
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_ember 54 harbor_ember 96 grove_birch 88 birch_fable 61 cobalt_delta 81 harbor_fable 102 birch_indigo 12 indigo_juniper 0 harbor_delta 52 cobalt_amber 25
delta ember harbor ember grove birch birch fable cobalt delta harbor fable birch indigo indigo juniper harbor delta cobalt amber
ember_grove 92 juniper_birch 91 juniper_juniper 42 indigo_delta 35 fable_birch 110 grove_amber 8 indigo_harbor 80 juniper_delta 90 harbor_harbor 22
ember grove juniper birch juniper juniper indigo delta fable birch grove amber indigo harbor juniper delta harbor harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042533-p1
Substitute all underscores with spaces in column 1 and display the updated values.
{gsub(/_/," ",$1);print $1}
delta_ember 54 harbor_ember 96 grove_birch 88 birch_fable 61 cobalt_delta 81 harbor_fable 102 birch_indigo 12 indigo_juniper 0 harbor_delta 52 cobalt_amber 25
delta ember harbor ember grove birch birch fable cobalt delta harbor fable birch indigo indigo juniper harbor delta cobalt amber
ember_grove 92 juniper_birch 91 juniper_juniper 42 indigo_delta 35 fable_birch 110 grove_amber 8 indigo_harbor 80 juniper_delta 90 harbor_harbor 22
ember grove juniper birch juniper juniper indigo delta fable birch grove amber indigo harbor juniper delta harbor harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042533
qwen/qwen3.7-plus
awkweave-0042534
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)}
dina cobalt 113 pending gus indigo 71 failed bruno cobalt 68 failed ivan delta 32 failed bruno fable 54 failed ivan harbor 105 paused
pending 113 cobalt dina failed 71 indigo gus failed 68 cobalt bruno failed 32 delta ivan failed 54 fable bruno paused 105 harbor ivan
eli grove 15 failed gus cobalt 12 failed hana delta 15 ready jules ember 109 paused dina grove 95 paused jules birch 117 pending
failed 15 grove eli failed 12 cobalt gus ready 15 delta hana paused 109 ember jules paused 95 grove dina pending 117 birch jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042534-p1
Reverse the sequence of all fields on each line and output every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina cobalt 113 pending gus indigo 71 failed bruno cobalt 68 failed ivan delta 32 failed bruno fable 54 failed ivan harbor 105 paused
pending 113 cobalt dina failed 71 indigo gus failed 68 cobalt bruno failed 32 delta ivan failed 54 fable bruno paused 105 harbor ivan
eli grove 15 failed gus cobalt 12 failed hana delta 15 ready jules ember 109 paused dina grove 95 paused jules birch 117 pending
failed 15 grove eli failed 12 cobalt gus ready 15 delta hana paused 109 ember jules paused 95 grove dina pending 117 birch jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042534
qwen/qwen3.7-plus
awkweave-0042535
Print the number of whitespace-separated fields on each line.
{print NF}
farah cobalt 9 closed hana indigo 93 paused gus amber 60 failed jules ember 20 paused lina birch 100 ready ivan indigo 30 paused eli juniper 90 ready jules delta 94 ready
4 4 4 4 4 4 4 4
hana indigo 73 ready hana fable 27 ready lina delta 115 active kim ember 0 paused hana indigo 18 closed ivan delta 58 failed dina indigo 115 active jules grove 99 pending eli ember 81 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042535-p1
Display the count of whitespace-delimited fields present in each line.
{print NF}
farah cobalt 9 closed hana indigo 93 paused gus amber 60 failed jules ember 20 paused lina birch 100 ready ivan indigo 30 paused eli juniper 90 ready jules delta 94 ready
4 4 4 4 4 4 4 4
hana indigo 73 ready hana fable 27 ready lina delta 115 active kim ember 0 paused hana indigo 18 closed ivan delta 58 failed dina indigo 115 active jules grove 99 pending eli ember 81 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042535
qwen/qwen3.7-plus
awkweave-0042536
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]]}
eli alpha 114 farah beta 88 ivan alpha 96 alice alpha 90 dina delta 18 dina alpha 50
alpha 4 beta 1 delta 1
bruno gamma 73 alice gamma 69 chen beta 13 farah delta 106 chen alpha 49 chen alpha 88 hana delta 24 lina alpha 104 jules alpha 72
gamma 2 beta 1 delta 2 alpha 4
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042536-p1
Tally the number of records for each unique value in column 2, listing each value and its total 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]]}
eli alpha 114 farah beta 88 ivan alpha 96 alice alpha 90 dina delta 18 dina alpha 50
alpha 4 beta 1 delta 1
bruno gamma 73 alice gamma 69 chen beta 13 farah delta 106 chen alpha 49 chen alpha 88 hana delta 24 lina alpha 104 jules alpha 72
gamma 2 beta 1 delta 2 alpha 4
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042536
qwen/qwen3.7-plus
awkweave-0042537
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]]}
bruno beta 21 kim delta 6 alice beta 18 ivan delta 27 jules gamma 10 farah alpha 9 alice alpha 20 alice delta 17
beta 39 delta 50 gamma 10 alpha 29
farah beta 8 alice beta 19 bruno alpha 17 hana gamma 13 dina beta 21 ivan beta 26 gus alpha 8 chen beta 2 ivan alpha 9
beta 76 alpha 34 gamma 13
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042537-p1
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]]}
bruno beta 21 kim delta 6 alice beta 18 ivan delta 27 jules gamma 10 farah alpha 9 alice alpha 20 alice delta 17
beta 39 delta 50 gamma 10 alpha 29
farah beta 8 alice beta 19 bruno alpha 17 hana gamma 13 dina beta 21 ivan beta 26 gus alpha 8 chen beta 2 ivan alpha 9
beta 76 alpha 34 gamma 13
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0042537
qwen/qwen3.7-plus
awkweave-0042538
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]]}
delta grove 21 gamma grove 103 delta cobalt 119 delta delta 32 delta amber 79 alpha fable 7 alpha harbor 48 alpha birch 120 delta harbor 73
delta 5 alpha 3
gamma juniper 88 delta ember 107 gamma harbor 97 delta birch 111 alpha fable 103 beta indigo 24 beta indigo 103
gamma 2 delta 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042538-p1
List each duplicate value from column 1 alongside its frequency, sorted by the order of 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]]}
delta grove 21 gamma grove 103 delta cobalt 119 delta delta 32 delta amber 79 alpha fable 7 alpha harbor 48 alpha birch 120 delta harbor 73
delta 5 alpha 3
gamma juniper 88 delta ember 107 gamma harbor 97 delta birch 111 alpha fable 103 beta indigo 24 beta indigo 103
gamma 2 delta 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042538
qwen/qwen3.7-plus
awkweave-0042539
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 region record_id display_name r001 hana 27 closed r002 farah 26 pending r003 gus 15 pending r004 hana 26 failed r005 chen 11 closed r006 eli 27 ready r007 jules 13 ready r008 eli 24 paused
hana farah gus hana chen eli jules eli
note region record_id display_name r001 hana 10 pending r002 chen 9 ready r003 eli 24 active r004 farah 12 pending r005 bruno 6 active r006 chen 30 paused r007 jules 22 pending r008 kim 8 paused r009 hana 29 closed
hana chen eli farah bruno chen jules kim hana
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042539-p1
Treating the first row as a header, output the 'region' column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note region record_id display_name r001 hana 27 closed r002 farah 26 pending r003 gus 15 pending r004 hana 26 failed r005 chen 11 closed r006 eli 27 ready r007 jules 13 ready r008 eli 24 paused
hana farah gus hana chen eli jules eli
note region record_id display_name r001 hana 10 pending r002 chen 9 ready r003 eli 24 active r004 farah 12 pending r005 bruno 6 active r006 chen 30 paused r007 jules 22 pending r008 kim 8 paused r009 hana 29 closed
hana chen eli farah bruno chen jules kim hana
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042539
qwen/qwen3.7-plus
awkweave-0042540
The first row is a header. Print display_name for data rows whose score is greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 jules 27 pending r002 farah 2 active r003 gus 25 closed r004 farah 23 active r005 eli 19 active r006 eli 19 ready r007 alice 18 ready
jules gus farah eli eli alice
record_id display_name score state r001 kim 7 ready r002 hana 7 paused r003 lina 29 paused r004 jules 16 paused r005 bruno 30 active r006 eli 23 failed r007 lina 24 active r008 jules 20 failed r009 ivan 25 closed r010 jules 6 closed
lina jules bruno eli lina jules ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042540-p1
With the first row as a header, print the 'display_name' for data rows where the 'score' exceeds 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 jules 27 pending r002 farah 2 active r003 gus 25 closed r004 farah 23 active r005 eli 19 active r006 eli 19 ready r007 alice 18 ready
jules gus farah eli eli alice
record_id display_name score state r001 kim 7 ready r002 hana 7 paused r003 lina 29 paused r004 jules 16 paused r005 bruno 30 active r006 eli 23 failed r007 lina 24 active r008 jules 20 failed r009 ivan 25 closed r010 jules 6 closed
lina jules bruno eli lina jules ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042540
qwen/qwen3.7-plus
awkweave-0042541
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
alice 3 pending farah 20 active lina 7 paused jules 9 pending gus 25 closed lina 15 closed
alice farah lina jules gus lina
hana 9 failed dina 21 failed chen 21 failed jules 2 closed bruno 13 failed kim 26 ready kim 19 ready chen 21 paused dina 17 closed
hana dina chen jules bruno kim kim chen dina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042541-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
alice 3 pending farah 20 active lina 7 paused jules 9 pending gus 25 closed lina 15 closed
alice farah lina jules gus lina
hana 9 failed dina 21 failed chen 21 failed jules 2 closed bruno 13 failed kim 26 ready kim 19 ready chen 21 paused dina 17 closed
hana dina chen jules bruno kim kim chen dina
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042541
qwen/qwen3.7-plus
awkweave-0042542
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
alice,25,pending jules,28,closed eli,12,failed kim,25,ready alice,2,ready kim,3,ready lina,28,paused jules,13,ready
alice jules kim lina
kim,17,ready gus,15,paused bruno,7,active bruno,23,active gus,27,pending eli,12,failed
kim bruno gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042542-p1
Given comma-separated input without quoted commas, output the first field whenever the second field is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
alice,25,pending jules,28,closed eli,12,failed kim,25,ready alice,2,ready kim,3,ready lina,28,paused jules,13,ready
alice jules kim lina
kim,17,ready gus,15,paused bruno,7,active bruno,23,active gus,27,pending eli,12,failed
kim bruno gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042542
qwen/qwen3.7-plus
awkweave-0042543
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli cobalt 60 alice harbor 15 bruno harbor 86 ivan ember 66 alice juniper 72 kim ember 103
eli cobalt 60 alice harbor 15 bruno harbor 86 ivan ember 66 alice juniper 72 kim ember 103
eli cobalt 15 dina ember 56 jules grove 90 jules delta 110 jules cobalt 96 dina indigo 64 jules grove 61
eli cobalt 15 dina ember 56 jules grove 90 jules delta 110 jules cobalt 96 dina indigo 64 jules grove 61
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042543-p1
Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
eli cobalt 60 alice harbor 15 bruno harbor 86 ivan ember 66 alice juniper 72 kim ember 103
eli cobalt 60 alice harbor 15 bruno harbor 86 ivan ember 66 alice juniper 72 kim ember 103
eli cobalt 15 dina ember 56 jules grove 90 jules delta 110 jules cobalt 96 dina indigo 64 jules grove 61
eli cobalt 15 dina ember 56 jules grove 90 jules delta 110 jules cobalt 96 dina indigo 64 jules grove 61
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042543
qwen/qwen3.7-plus
awkweave-0042544
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah fable 84 ready chen grove 13 active gus juniper 66 closed chen cobalt 52 paused lina ember 32 pending gus delta 93 pending gus birch 43 failed
gus juniper 66 closed
eli indigo 102 closed kim amber 17 failed lina indigo 99 active hana amber 81 failed farah cobalt 54 closed gus grove 72 paused
farah cobalt 54 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042544-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
farah fable 84 ready chen grove 13 active gus juniper 66 closed chen cobalt 52 paused lina ember 32 pending gus delta 93 pending gus birch 43 failed
gus juniper 66 closed
eli indigo 102 closed kim amber 17 failed lina indigo 99 active hana amber 81 failed farah cobalt 54 closed gus grove 72 paused
farah cobalt 54 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042544
qwen/qwen3.7-plus
awkweave-0042545
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
dina 26 chen 113 dina 83 alice 17 ivan 35 eli 77
dina 26 dina 83 ivan 35
eli 7 bruno 43 alice 105 jules 0 jules 78 gus 88 dina 78 lina 113 bruno 34 eli 52
eli 7 alice 105 jules 78 dina 78 bruno 34
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042545-p1
Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
dina 26 chen 113 dina 83 alice 17 ivan 35 eli 77
dina 26 dina 83 ivan 35
eli 7 bruno 43 alice 105 jules 0 jules 78 gus 88 dina 78 lina 113 bruno 34 eli 52
eli 7 alice 105 jules 78 dina 78 bruno 34
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042545
qwen/qwen3.7-plus
awkweave-0042546
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta birch 65 beta grove 76 gamma indigo 48 gamma birch 103 gamma grove 20 beta ember 19 alpha birch 119 alpha grove 10
4
gamma juniper 119 gamma birch 44 gamma juniper 29 delta birch 21 gamma harbor 117 beta grove 21 alpha indigo 83
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042546-p1
Calculate the number of unique values in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta birch 65 beta grove 76 gamma indigo 48 gamma birch 103 gamma grove 20 beta ember 19 alpha birch 119 alpha grove 10
4
gamma juniper 119 gamma birch 44 gamma juniper 29 delta birch 21 gamma harbor 117 beta grove 21 alpha indigo 83
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042546
qwen/qwen3.7-plus
awkweave-0042547
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 3 0 gus 26 4 lina 2 9 dina 18 27 eli 5 1 farah 3 21 alice 2 28
gus 6.50 lina 0.22 dina 0.67 eli 5.00 farah 0.14 alice 0.07
kim 6 0 dina 9 10 jules 3 12 hana 15 30 bruno 28 15 bruno 30 17 bruno 6 1 bruno 14 4
dina 0.90 jules 0.25 hana 0.50 bruno 1.87 bruno 1.76 bruno 6.00 bruno 3.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042547-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}
chen 3 0 gus 26 4 lina 2 9 dina 18 27 eli 5 1 farah 3 21 alice 2 28
gus 6.50 lina 0.22 dina 0.67 eli 5.00 farah 0.14 alice 0.07
kim 6 0 dina 9 10 jules 3 12 hana 15 30 bruno 28 15 bruno 30 17 bruno 6 1 bruno 14 4
dina 0.90 jules 0.25 hana 0.50 bruno 1.87 bruno 1.76 bruno 6.00 bruno 3.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042547
qwen/qwen3.7-plus
awkweave-0042548
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]}
gus grove 1 jules fable 9 lina delta 30 farah indigo 23 chen indigo 18 bruno birch 26 eli amber 9 gus cobalt 10 hana grove 11
lina delta 30 bruno birch 26 farah indigo 23
dina harbor 16 ivan harbor 13 dina birch 26 jules amber 30 chen juniper 14 ivan amber 29 hana cobalt 20 lina amber 29 gus harbor 23
jules amber 30 ivan amber 29 lina amber 29
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042548-p1
Display the three records with the highest numeric values in the third column, 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]}
gus grove 1 jules fable 9 lina delta 30 farah indigo 23 chen indigo 18 bruno birch 26 eli amber 9 gus cobalt 10 hana grove 11
lina delta 30 bruno birch 26 farah indigo 23
dina harbor 16 ivan harbor 13 dina birch 26 jules amber 30 chen juniper 14 ivan amber 29 hana cobalt 20 lina amber 29 gus harbor 23
jules amber 30 ivan amber 29 lina amber 29
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042548
qwen/qwen3.7-plus
awkweave-0042549
For each line, output fields 6 and 3, in that order.
{print $6, $3}
ready hana active 17 11 pending pending kim closed 63 90 pending failed bruno closed 83 103 closed ready ivan closed 120 24 failed pending kim paused 16 47 closed ready jules closed 99 112 paused failed jules failed 43 85 active pending jules active 46 86 pending ready alice paused 40 99 failed ready alice failed 56 70...
pending active pending closed closed closed failed closed closed paused paused closed active failed pending active failed paused active failed
pending ivan closed 42 17 active ready ivan ready 81 40 closed closed eli closed 76 13 active pending eli closed 105 117 failed failed jules paused 9 101 active closed gus ready 41 63 closed paused dina pending 97 48 failed closed dina pending 8 101 failed paused bruno paused 53 65 closed
active closed closed ready active closed failed closed active paused closed ready failed pending failed pending closed paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042549-p1
For every line, print the sixth field followed by the third field.
{print $6, $3}
ready hana active 17 11 pending pending kim closed 63 90 pending failed bruno closed 83 103 closed ready ivan closed 120 24 failed pending kim paused 16 47 closed ready jules closed 99 112 paused failed jules failed 43 85 active pending jules active 46 86 pending ready alice paused 40 99 failed ready alice failed 56 70...
pending active pending closed closed closed failed closed closed paused paused closed active failed pending active failed paused active failed
pending ivan closed 42 17 active ready ivan ready 81 40 closed closed eli closed 76 13 active pending eli closed 105 117 failed failed jules paused 9 101 active closed gus ready 41 63 closed paused dina pending 97 48 failed closed dina pending 8 101 failed paused bruno paused 53 65 closed
active closed closed ready active closed failed closed active paused closed ready failed pending failed pending closed paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042549
qwen/qwen3.7-plus
awkweave-0042550
Print the last field of every input line.
{print $NF}
juniper dina 112 failed gus amber harbor kim 36 paused eli ember birch kim 28 pending hana cobalt juniper farah 109 failed eli indigo indigo bruno 118 pending gus indigo birch gus 75 pending alice harbor fable farah 99 active jules amber
amber ember cobalt indigo indigo harbor amber
birch kim 82 closed gus amber grove alice 32 closed farah ember cobalt gus 72 failed gus harbor birch dina 20 closed dina ember ember gus 3 ready alice birch fable bruno 41 pending eli amber grove ivan 97 closed gus cobalt amber jules 78 pending jules birch indigo ivan 113 paused dina birch
amber ember harbor ember birch amber cobalt birch birch
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042550-p1
Output the last field from each line of the input.
{print $NF}
juniper dina 112 failed gus amber harbor kim 36 paused eli ember birch kim 28 pending hana cobalt juniper farah 109 failed eli indigo indigo bruno 118 pending gus indigo birch gus 75 pending alice harbor fable farah 99 active jules amber
amber ember cobalt indigo indigo harbor amber
birch kim 82 closed gus amber grove alice 32 closed farah ember cobalt gus 72 failed gus harbor birch dina 20 closed dina ember ember gus 3 ready alice birch fable bruno 41 pending eli amber grove ivan 97 closed gus cobalt amber jules 78 pending jules birch indigo ivan 113 paused dina birch
amber ember harbor ember birch amber cobalt birch birch
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042550
qwen/qwen3.7-plus
awkweave-0042551
Print the complete records where column 3 is less than 39.
$3 < 39
active paused 65 hana paused closed 97 hana paused paused 32 dina pending active 99 alice pending active 13 jules pending ready 95 kim pending paused 0 lina paused ready 96 jules
paused paused 32 dina pending active 13 jules pending paused 0 lina
failed closed 64 kim pending paused 39 eli closed ready 19 dina closed ready 99 chen failed closed 78 bruno closed active 45 gus closed closed 61 lina failed paused 63 gus
closed ready 19 dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042551-p1
Print the full records for which the value in the third column is less than 39.
$3 < 39
active paused 65 hana paused closed 97 hana paused paused 32 dina pending active 99 alice pending active 13 jules pending ready 95 kim pending paused 0 lina paused ready 96 jules
paused paused 32 dina pending active 13 jules pending paused 0 lina
failed closed 64 kim pending paused 39 eli closed ready 19 dina closed ready 99 chen failed closed 78 bruno closed active 45 gus closed closed 61 lina failed paused 63 gus
closed ready 19 dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042551
qwen/qwen3.7-plus