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-0026051-p1
Display the three full records with the largest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules harbor 12 eli fable 16 gus birch 21 farah cobalt 20 alice ember 24 dina fable 29
dina fable 29 alice ember 24 gus birch 21
lina delta 27 farah cobalt 7 eli birch 18 dina indigo 28 farah harbor 8 alice amber 15 chen cobalt 29
chen cobalt 29 dina indigo 28 lina delta 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026051
qwen/qwen3.7-plus
awkweave-0026052
Print column 3 followed by column 2 for every record.
{print $3, $2}
ready closed 45 13 harbor paused failed 100 20 cobalt ready pending 76 4 cobalt failed closed 70 87 grove paused active 113 97 fable active active 15 101 indigo failed closed 57 43 indigo ready pending 89 15 indigo active active 19 115 delta
45 closed 100 failed 76 pending 70 closed 113 active 15 active 57 closed 89 pending 19 active
paused active 45 78 ember active pending 99 15 ember failed closed 76 41 juniper closed active 64 89 fable closed paused 88 71 juniper failed pending 115 70 harbor ready active 3 89 indigo closed paused 110 53 fable closed active 101 23 grove paused failed 114 72 harbor
45 active 99 pending 76 closed 64 active 88 paused 115 pending 3 active 110 paused 101 active 114 failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026052-p1
Output column 3 followed by column 2 for all records.
{print $3, $2}
ready closed 45 13 harbor paused failed 100 20 cobalt ready pending 76 4 cobalt failed closed 70 87 grove paused active 113 97 fable active active 15 101 indigo failed closed 57 43 indigo ready pending 89 15 indigo active active 19 115 delta
45 closed 100 failed 76 pending 70 closed 113 active 15 active 57 closed 89 pending 19 active
paused active 45 78 ember active pending 99 15 ember failed closed 76 41 juniper closed active 64 89 fable closed paused 88 71 juniper failed pending 115 70 harbor ready active 3 89 indigo closed paused 110 53 fable closed active 101 23 grove paused failed 114 72 harbor
45 active 99 pending 76 closed 64 active 88 paused 115 pending 3 active 110 paused 101 active 114 failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026052
qwen/qwen3.7-plus
awkweave-0026053
Print the last field of every input line.
{print $NF}
eli active lina 80 active alice ivan bruno closed kim 62 paused gus bruno kim active bruno 114 failed lina lina alice pending farah 7 failed kim alice eli failed lina 120 active eli jules ivan active jules 118 active farah farah jules pending dina 34 paused bruno alice
ivan bruno lina alice jules farah alice
chen ready kim 115 failed gus eli bruno closed ivan 57 active farah dina ivan ready kim 23 closed dina gus lina paused kim 95 closed hana kim hana closed kim 30 active gus ivan farah active bruno 16 active gus hana alice paused dina 19 pending bruno dina eli closed alice 78 active alice farah kim closed chen 119 paused...
eli dina gus kim ivan hana dina farah hana
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026053-p1
Print the final field from every input line.
{print $NF}
eli active lina 80 active alice ivan bruno closed kim 62 paused gus bruno kim active bruno 114 failed lina lina alice pending farah 7 failed kim alice eli failed lina 120 active eli jules ivan active jules 118 active farah farah jules pending dina 34 paused bruno alice
ivan bruno lina alice jules farah alice
chen ready kim 115 failed gus eli bruno closed ivan 57 active farah dina ivan ready kim 23 closed dina gus lina paused kim 95 closed hana kim hana closed kim 30 active gus ivan farah active bruno 16 active gus hana alice paused dina 19 pending bruno dina eli closed alice 78 active alice farah kim closed chen 119 paused...
eli dina gus kim ivan hana dina farah hana
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026053
qwen/qwen3.7-plus
awkweave-0026054
Print the complete records where column 2 is greater than 69.
$2 > 69
gus 42 amber pending ivan 77 grove ready eli 61 juniper failed hana 74 harbor paused eli 27 ember failed farah 110 birch failed farah 80 juniper active eli 12 grove paused
ivan 77 grove ready hana 74 harbor paused farah 110 birch failed farah 80 juniper active
alice 12 amber active eli 93 cobalt closed bruno 18 fable closed alice 26 cobalt closed kim 100 amber ready bruno 106 indigo failed jules 14 amber failed lina 45 ember active
eli 93 cobalt closed kim 100 amber ready bruno 106 indigo failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026054-p1
Output the full records where the value in column 2 exceeds 69.
$2 > 69
gus 42 amber pending ivan 77 grove ready eli 61 juniper failed hana 74 harbor paused eli 27 ember failed farah 110 birch failed farah 80 juniper active eli 12 grove paused
ivan 77 grove ready hana 74 harbor paused farah 110 birch failed farah 80 juniper active
alice 12 amber active eli 93 cobalt closed bruno 18 fable closed alice 26 cobalt closed kim 100 amber ready bruno 106 indigo failed jules 14 amber failed lina 45 ember active
eli 93 cobalt closed kim 100 amber ready bruno 106 indigo failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026054
qwen/qwen3.7-plus
awkweave-0026055
Show whole lines whose 3rd field is between 7 and 27, inclusive.
$3 >= 7 && $3 <= 27
active grove 9 active closed ember 30 closed active ember 25 paused paused amber 24 closed failed birch 7 failed failed delta 18 closed closed fable 2 paused ready harbor 10 closed
active grove 9 active active ember 25 paused paused amber 24 closed failed birch 7 failed failed delta 18 closed ready harbor 10 closed
paused harbor 19 closed closed ember 15 pending pending fable 12 paused pending harbor 29 failed active cobalt 10 failed failed harbor 13 closed closed ember 17 closed
paused harbor 19 closed closed ember 15 pending pending fable 12 paused active cobalt 10 failed failed harbor 13 closed closed ember 17 closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026055-p1
Display entire lines where the third field falls within the inclusive range of 7 to 27.
$3 >= 7 && $3 <= 27
active grove 9 active closed ember 30 closed active ember 25 paused paused amber 24 closed failed birch 7 failed failed delta 18 closed closed fable 2 paused ready harbor 10 closed
active grove 9 active active ember 25 paused paused amber 24 closed failed birch 7 failed failed delta 18 closed ready harbor 10 closed
paused harbor 19 closed closed ember 15 pending pending fable 12 paused pending harbor 29 failed active cobalt 10 failed failed harbor 13 closed closed ember 17 closed
paused harbor 19 closed closed ember 15 pending pending fable 12 paused active cobalt 10 failed failed harbor 13 closed closed ember 17 closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026055
qwen/qwen3.7-plus
awkweave-0026056
Print column 4 only for rows where column 2 is exactly failed.
$2 == "failed"{print $4}
58 pending amber kim 118 pending indigo alice 104 paused juniper hana 53 active juniper dina 111 pending juniper chen 67 pending fable farah 67 failed indigo lina 22 closed cobalt farah 47 paused birch ivan
lina
119 pending indigo bruno 113 active grove alice 119 ready indigo jules 119 pending delta lina 108 failed harbor dina 74 pending ember hana
dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026056-p1
Print only the fourth column for rows where the second column is exactly 'failed'.
$2 == "failed"{print $4}
58 pending amber kim 118 pending indigo alice 104 paused juniper hana 53 active juniper dina 111 pending juniper chen 67 pending fable farah 67 failed indigo lina 22 closed cobalt farah 47 paused birch ivan
lina
119 pending indigo bruno 113 active grove alice 119 ready indigo jules 119 pending delta lina 108 failed harbor dina 74 pending ember hana
dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026056
qwen/qwen3.7-plus
awkweave-0026057
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
cobalt 116 DEBUG juniper 3 ERROR harbor 55 INFO amber 51 WARN grove 33 WARN amber 68 DEBUG
juniper 3 ERROR
birch 30 DEBUG indigo 63 WARN delta 79 WARN ember 1 INFO harbor 3 ERROR cobalt 41 INFO fable 48 INFO indigo 96 DEBUG
harbor 3 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026057-p1
Output all fields from lines where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
cobalt 116 DEBUG juniper 3 ERROR harbor 55 INFO amber 51 WARN grove 33 WARN amber 68 DEBUG
juniper 3 ERROR
birch 30 DEBUG indigo 63 WARN delta 79 WARN ember 1 INFO harbor 3 ERROR cobalt 41 INFO fable 48 INFO indigo 96 DEBUG
harbor 3 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026057
qwen/qwen3.7-plus
awkweave-0026058
Print every line except those containing the exact text grove.
$0 !~ /grove/
delta 2 closed ember 68 failed amber 45 ready birch 10 paused cobalt 66 paused harbor 20 ready grove 999 active
delta 2 closed ember 68 failed amber 45 ready birch 10 paused cobalt 66 paused harbor 20 ready
indigo 95 closed indigo 43 ready ember 118 ready cobalt 31 pending juniper 80 ready harbor 37 pending ember 23 closed grove 999 active
indigo 95 closed indigo 43 ready ember 118 ready cobalt 31 pending juniper 80 ready harbor 37 pending ember 23 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026058-p1
Print every line that does not contain the exact string 'grove'.
$0 !~ /grove/
delta 2 closed ember 68 failed amber 45 ready birch 10 paused cobalt 66 paused harbor 20 ready grove 999 active
delta 2 closed ember 68 failed amber 45 ready birch 10 paused cobalt 66 paused harbor 20 ready
indigo 95 closed indigo 43 ready ember 118 ready cobalt 31 pending juniper 80 ready harbor 37 pending ember 23 closed grove 999 active
indigo 95 closed indigo 43 ready ember 118 ready cobalt 31 pending juniper 80 ready harbor 37 pending ember 23 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026058
qwen/qwen3.7-plus
awkweave-0026059
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
farah fable 12 chen cobalt 0 ivan grove 79 bruno cobalt 16 chen harbor 47 lina amber 64
bruno cobalt 16 chen harbor 47 lina amber 64
hana fable 83 chen juniper 30 kim indigo 61 chen grove 116 chen grove 20 ivan fable 106 ivan grove 44 farah grove 21 eli harbor 68
chen grove 116 chen grove 20 ivan fable 106 ivan grove 44
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026059-p1
Output lines 4 through 7, inclusive.
NR >= 4 && NR <= 7
farah fable 12 chen cobalt 0 ivan grove 79 bruno cobalt 16 chen harbor 47 lina amber 64
bruno cobalt 16 chen harbor 47 lina amber 64
hana fable 83 chen juniper 30 kim indigo 61 chen grove 116 chen grove 20 ivan fable 106 ivan grove 44 farah grove 21 eli harbor 68
chen grove 116 chen grove 20 ivan fable 106 ivan grove 44
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026059
qwen/qwen3.7-plus
awkweave-0026060
Output only the first 3 records.
NR <= 3
ivan 91 cobalt alice 22 harbor ivan 22 juniper alice 105 cobalt farah 77 birch jules 9 harbor eli 26 cobalt alice 98 delta dina 36 birch
ivan 91 cobalt alice 22 harbor ivan 22 juniper
kim 115 delta hana 25 delta dina 57 cobalt lina 33 grove gus 94 ember jules 44 harbor hana 11 fable bruno 10 cobalt gus 89 grove ivan 77 cobalt
kim 115 delta hana 25 delta dina 57 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026060-p1
Display only the initial three records.
NR <= 3
ivan 91 cobalt alice 22 harbor ivan 22 juniper alice 105 cobalt farah 77 birch jules 9 harbor eli 26 cobalt alice 98 delta dina 36 birch
ivan 91 cobalt alice 22 harbor ivan 22 juniper
kim 115 delta hana 25 delta dina 57 cobalt lina 33 grove gus 94 ember jules 44 harbor hana 11 fable bruno 10 cobalt gus 89 grove ivan 77 cobalt
kim 115 delta hana 25 delta dina 57 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026060
qwen/qwen3.7-plus
awkweave-0026061
Skip the first line and print every remaining line unchanged.
NR > 1
hana 94 juniper farah 65 delta lina 74 amber jules 78 juniper ivan 23 fable bruno 15 amber alice 63 juniper ivan 87 birch gus 103 ember chen 33 ember
farah 65 delta lina 74 amber jules 78 juniper ivan 23 fable bruno 15 amber alice 63 juniper ivan 87 birch gus 103 ember chen 33 ember
jules 49 grove eli 119 delta gus 101 harbor farah 38 birch bruno 12 cobalt dina 120 juniper bruno 104 juniper alice 39 grove alice 50 delta chen 62 ember
eli 119 delta gus 101 harbor farah 38 birch bruno 12 cobalt dina 120 juniper bruno 104 juniper alice 39 grove alice 50 delta chen 62 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026061-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
hana 94 juniper farah 65 delta lina 74 amber jules 78 juniper ivan 23 fable bruno 15 amber alice 63 juniper ivan 87 birch gus 103 ember chen 33 ember
farah 65 delta lina 74 amber jules 78 juniper ivan 23 fable bruno 15 amber alice 63 juniper ivan 87 birch gus 103 ember chen 33 ember
jules 49 grove eli 119 delta gus 101 harbor farah 38 birch bruno 12 cobalt dina 120 juniper bruno 104 juniper alice 39 grove alice 50 delta chen 62 ember
eli 119 delta gus 101 harbor farah 38 birch bruno 12 cobalt dina 120 juniper bruno 104 juniper alice 39 grove alice 50 delta chen 62 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026061
qwen/qwen3.7-plus
awkweave-0026062
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
gus paused 113 lina failed 8 dina paused 29 eli closed 12 bruno active 62 hana closed 61 dina pending 111 alice ready 61 jules failed 91
1
farah closed 101 chen failed 8 jules paused 107 kim ready 8 chen closed 51 lina ready 32 dina closed 58 kim paused 83
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026062-p1
Determine the number of entries where column 2 contains 'pending', outputting 0 if no such entries exist.
$2 == "pending"{n++}END{print n+0}
gus paused 113 lina failed 8 dina paused 29 eli closed 12 bruno active 62 hana closed 61 dina pending 111 alice ready 61 jules failed 91
1
farah closed 101 chen failed 8 jules paused 107 kim ready 8 chen closed 51 lina ready 32 dina closed 58 kim paused 83
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026062
qwen/qwen3.7-plus
awkweave-0026063
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
hana birch 6 bruno amber 4 chen harbor 20 gus delta 28 dina fable 16 lina fable 3 hana birch 13 gus delta 14 gus fable 5
109
chen amber 17 bruno amber 3 gus cobalt 10 dina juniper 13 lina amber 10 kim harbor 3 jules grove 30 chen cobalt 10 eli fable 13
109
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026063-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
hana birch 6 bruno amber 4 chen harbor 20 gus delta 28 dina fable 16 lina fable 3 hana birch 13 gus delta 14 gus fable 5
109
chen amber 17 bruno amber 3 gus cobalt 10 dina juniper 13 lina amber 10 kim harbor 3 jules grove 30 chen cobalt 10 eli fable 13
109
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026063
qwen/qwen3.7-plus
awkweave-0026064
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
eli ember 8 dina grove 18 bruno grove 15 ivan juniper 24 hana grove 10 jules ember 12
14.50
alice ember 17 jules ember 12 jules fable 13 alice cobalt 1 chen cobalt 25 eli harbor 22 jules juniper 28 ivan indigo 1
14.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026064-p1
Output the average value of column 3, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
eli ember 8 dina grove 18 bruno grove 15 ivan juniper 24 hana grove 10 jules ember 12
14.50
alice ember 17 jules ember 12 jules fable 13 alice cobalt 1 chen cobalt 25 eli harbor 22 jules juniper 28 ivan indigo 1
14.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026064
qwen/qwen3.7-plus
awkweave-0026065
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
fable 19 hana harbor 8 hana indigo 21 kim ember 23 eli juniper 3 dina ember 21 farah cobalt 4 jules
3
grove 1 kim cobalt 21 ivan amber 1 chen ember 28 kim harbor 16 hana birch 4 gus
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026065-p1
Identify and display the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
fable 19 hana harbor 8 hana indigo 21 kim ember 23 eli juniper 3 dina ember 21 farah cobalt 4 jules
3
grove 1 kim cobalt 21 ivan amber 1 chen ember 28 kim harbor 16 hana birch 4 gus
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026065
qwen/qwen3.7-plus
awkweave-0026066
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 chen delta 30 chen amber 13 kim grove 21 chen grove 11 ivan cobalt 23 farah juniper
30
22 kim amber 8 eli amber 21 gus juniper 26 jules fable 23 farah ember 17 bruno delta 4 kim grove 28 kim ember 25 jules birch
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026066-p1
Identify and display the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 chen delta 30 chen amber 13 kim grove 21 chen grove 11 ivan cobalt 23 farah juniper
30
22 kim amber 8 eli amber 21 gus juniper 26 jules fable 23 farah ember 17 bruno delta 4 kim grove 28 kim ember 25 jules birch
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026066
qwen/qwen3.7-plus
awkweave-0026067
Count all input records and print the total.
END{print NR}
chen 65 jules 118 farah 68 lina 85 gus 52 kim 56 kim 100 eli 63 gus 48 alice 98
10
dina 16 alice 48 hana 103 jules 27 bruno 70 ivan 71
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026067-p1
Count the total number of input records and print the result.
END{print NR}
chen 65 jules 118 farah 68 lina 85 gus 52 kim 56 kim 100 eli 63 gus 48 alice 98
10
dina 16 alice 48 hana 103 jules 27 bruno 70 ivan 71
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026067
qwen/qwen3.7-plus
awkweave-0026068
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina ember 12 jules ember 99 farah juniper 38 bruno amber 65 kim amber 91 jules juniper 45 chen amber 10 gus juniper 4 dina ember 12 bruno indigo 22 hana juniper 22
dina ember 12 jules ember 99 farah juniper 38 bruno amber 65 kim amber 91 jules juniper 45 chen amber 10 gus juniper 4 bruno indigo 22 hana juniper 22
dina ember 112 ivan birch 4 farah delta 63 eli fable 11 eli fable 11 ivan cobalt 83 gus ember 33 ivan amber 120 gus indigo 34 alice fable 29 farah cobalt 74
dina ember 112 ivan birch 4 farah delta 63 eli fable 11 ivan cobalt 83 gus ember 33 ivan amber 120 gus indigo 34 alice fable 29 farah cobalt 74
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026068-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
dina ember 12 jules ember 99 farah juniper 38 bruno amber 65 kim amber 91 jules juniper 45 chen amber 10 gus juniper 4 dina ember 12 bruno indigo 22 hana juniper 22
dina ember 12 jules ember 99 farah juniper 38 bruno amber 65 kim amber 91 jules juniper 45 chen amber 10 gus juniper 4 bruno indigo 22 hana juniper 22
dina ember 112 ivan birch 4 farah delta 63 eli fable 11 eli fable 11 ivan cobalt 83 gus ember 33 ivan amber 120 gus indigo 34 alice fable 29 farah cobalt 74
dina ember 112 ivan birch 4 farah delta 63 eli fable 11 ivan cobalt 83 gus ember 33 ivan amber 120 gus indigo 34 alice fable 29 farah cobalt 74
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026068
qwen/qwen3.7-plus
awkweave-0026069
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
gus grove 95 gus delta 92 kim grove 74 lina grove 49 bruno indigo 52 jules harbor 98 bruno birch 71 eli cobalt 120 hana fable 16
gus grove 95 kim grove 74 lina grove 49 bruno indigo 52 jules harbor 98 eli cobalt 120 hana fable 16
lina amber 95 lina amber 54 jules juniper 4 bruno grove 83 bruno ember 62 chen delta 113
lina amber 95 jules juniper 4 bruno grove 83 chen delta 113
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026069-p1
Retain only the first occurrence for every unique value in column 1, preserving the original input sequence.
!seen[$1]++
gus grove 95 gus delta 92 kim grove 74 lina grove 49 bruno indigo 52 jules harbor 98 bruno birch 71 eli cobalt 120 hana fable 16
gus grove 95 kim grove 74 lina grove 49 bruno indigo 52 jules harbor 98 eli cobalt 120 hana fable 16
lina amber 95 lina amber 54 jules juniper 4 bruno grove 83 bruno ember 62 chen delta 113
lina amber 95 jules juniper 4 bruno grove 83 chen delta 113
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026069
qwen/qwen3.7-plus
awkweave-0026070
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 5 harbor lina 14 grove chen 12 indigo kim 5 delta dina 17 amber farah 7 ember chen 19 indigo dina 13 delta
dina 5 lina 19 chen 31 kim 36 dina 53 farah 60 chen 79 dina 92
ivan 23 delta ivan 5 indigo ivan 28 cobalt chen 6 grove chen 8 amber lina 21 juniper jules 20 indigo jules 13 amber
ivan 23 ivan 28 ivan 56 chen 62 chen 70 lina 91 jules 111 jules 124
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026070-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 5 harbor lina 14 grove chen 12 indigo kim 5 delta dina 17 amber farah 7 ember chen 19 indigo dina 13 delta
dina 5 lina 19 chen 31 kim 36 dina 53 farah 60 chen 79 dina 92
ivan 23 delta ivan 5 indigo ivan 28 cobalt chen 6 grove chen 8 amber lina 21 juniper jules 20 indigo jules 13 amber
ivan 23 ivan 28 ivan 56 chen 62 chen 70 lina 91 jules 111 jules 124
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026070
qwen/qwen3.7-plus
awkweave-0026071
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 26 5 juniper alice 15 24 juniper alice 7 25 juniper jules 24 25 grove kim 28 2 ember gus 2 16 grove lina 8 30 ember eli 10 8 harbor kim 3 15 cobalt alice 29 2 birch
farah 31 alice 39 alice 32 jules 49 kim 30 gus 18 lina 38 eli 18 kim 18 alice 31
jules 14 8 harbor eli 11 12 cobalt chen 11 25 harbor jules 4 6 harbor alice 12 5 ember eli 7 3 harbor hana 23 20 juniper jules 24 3 indigo
jules 22 eli 23 chen 36 jules 10 alice 17 eli 10 hana 43 jules 27
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026071-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 26 5 juniper alice 15 24 juniper alice 7 25 juniper jules 24 25 grove kim 28 2 ember gus 2 16 grove lina 8 30 ember eli 10 8 harbor kim 3 15 cobalt alice 29 2 birch
farah 31 alice 39 alice 32 jules 49 kim 30 gus 18 lina 38 eli 18 kim 18 alice 31
jules 14 8 harbor eli 11 12 cobalt chen 11 25 harbor jules 4 6 harbor alice 12 5 ember eli 7 3 harbor hana 23 20 juniper jules 24 3 indigo
jules 22 eli 23 chen 36 jules 10 alice 17 eli 10 hana 43 jules 27
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026071
qwen/qwen3.7-plus
awkweave-0026072
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
bruno 9 farah 11 ivan 25 hana 5 alice 6 gus 20 jules 18 alice 11
bruno fail farah fail ivan pass hana fail alice fail gus fail jules fail alice fail
ivan 26 eli 29 chen 18 ivan 8 chen 18 ivan 9 farah 24 kim 25 gus 21 bruno 3
ivan pass eli pass chen fail ivan fail chen fail ivan fail farah pass kim pass gus fail bruno fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026072-p1
Output the value in column 1; if column 2 is greater than or equal to 23, print 'pass', otherwise print 'fail'.
{print $1,($2>=23?"pass":"fail")}
bruno 9 farah 11 ivan 25 hana 5 alice 6 gus 20 jules 18 alice 11
bruno fail farah fail ivan pass hana fail alice fail gus fail jules fail alice fail
ivan 26 eli 29 chen 18 ivan 8 chen 18 ivan 9 farah 24 kim 25 gus 21 bruno 3
ivan pass eli pass chen fail ivan fail chen fail ivan fail farah pass kim pass gus fail bruno fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026072
qwen/qwen3.7-plus
awkweave-0026073
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
bruno amber 26 chen indigo 83 lina grove 96 kim indigo 85 jules ember 60 farah delta 54 hana fable 43 farah fable 112 alice indigo 59 kim fable 93
AMBER INDIGO GROVE INDIGO EMBER DELTA FABLE FABLE INDIGO FABLE
hana fable 95 hana harbor 83 chen ember 22 gus birch 84 hana birch 0 jules fable 87 hana cobalt 5
FABLE HARBOR EMBER BIRCH BIRCH FABLE COBALT
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026073-p1
Transform the content of column 2 to uppercase and output only that modified column.
{print toupper($2)}
bruno amber 26 chen indigo 83 lina grove 96 kim indigo 85 jules ember 60 farah delta 54 hana fable 43 farah fable 112 alice indigo 59 kim fable 93
AMBER INDIGO GROVE INDIGO EMBER DELTA FABLE FABLE INDIGO FABLE
hana fable 95 hana harbor 83 chen ember 22 gus birch 84 hana birch 0 jules fable 87 hana cobalt 5
FABLE HARBOR EMBER BIRCH BIRCH FABLE COBALT
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026073
qwen/qwen3.7-plus
awkweave-0026074
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
juniper 9 indigo 60 harbor 54 cobalt 21 harbor 21 ember 63 fable 87 ember 116 indigo 55 indigo 73
ju in ha co ha em fa em in in
amber 118 ember 66 cobalt 84 ember 52 fable 76 amber 54 delta 13 fable 51 ember 23 ember 26
am em co em fa am de fa em em
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026074-p1
Extract and print a substring of length 2 from column 1, starting at position 1.
{print substr($1,1,2)}
juniper 9 indigo 60 harbor 54 cobalt 21 harbor 21 ember 63 fable 87 ember 116 indigo 55 indigo 73
ju in ha co ha em fa em in in
amber 118 ember 66 cobalt 84 ember 52 fable 76 amber 54 delta 13 fable 51 ember 23 ember 26
am em co em fa am de fa em em
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026074
qwen/qwen3.7-plus
awkweave-0026075
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_grove 110 fable_cobalt 105 cobalt_fable 61 harbor_birch 62 indigo_juniper 52 ember_delta 84 delta_delta 80 amber_juniper 47 grove_birch 69 birch_ember 8
harbor grove fable cobalt cobalt fable harbor birch indigo juniper ember delta delta delta amber juniper grove birch birch ember
indigo_indigo 109 birch_indigo 19 ember_amber 34 cobalt_delta 73 indigo_cobalt 100 birch_birch 95 ember_fable 65 amber_ember 5 cobalt_indigo 119
indigo indigo birch indigo ember amber cobalt delta indigo cobalt birch birch ember fable amber ember cobalt indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026075-p1
Substitute all underscores with spaces in column 1 and display the updated values.
{gsub(/_/," ",$1);print $1}
harbor_grove 110 fable_cobalt 105 cobalt_fable 61 harbor_birch 62 indigo_juniper 52 ember_delta 84 delta_delta 80 amber_juniper 47 grove_birch 69 birch_ember 8
harbor grove fable cobalt cobalt fable harbor birch indigo juniper ember delta delta delta amber juniper grove birch birch ember
indigo_indigo 109 birch_indigo 19 ember_amber 34 cobalt_delta 73 indigo_cobalt 100 birch_birch 95 ember_fable 65 amber_ember 5 cobalt_indigo 119
indigo indigo birch indigo ember amber cobalt delta indigo cobalt birch birch ember fable amber ember cobalt indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026075
qwen/qwen3.7-plus
awkweave-0026076
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)}
ivan birch 107 closed alice harbor 30 failed farah birch 67 closed hana juniper 113 paused jules fable 44 ready kim delta 41 pending
closed 107 birch ivan failed 30 harbor alice closed 67 birch farah paused 113 juniper hana ready 44 fable jules pending 41 delta kim
eli ember 115 closed eli cobalt 50 failed ivan birch 2 paused dina ember 119 failed hana fable 40 paused bruno ember 99 active lina delta 78 failed farah cobalt 111 failed farah birch 40 failed
closed 115 ember eli failed 50 cobalt eli paused 2 birch ivan failed 119 ember dina paused 40 fable hana active 99 ember bruno failed 78 delta lina failed 111 cobalt farah failed 40 birch farah
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026076-p1
Reverse the sequence of fields for each line and output all fields in the new order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan birch 107 closed alice harbor 30 failed farah birch 67 closed hana juniper 113 paused jules fable 44 ready kim delta 41 pending
closed 107 birch ivan failed 30 harbor alice closed 67 birch farah paused 113 juniper hana ready 44 fable jules pending 41 delta kim
eli ember 115 closed eli cobalt 50 failed ivan birch 2 paused dina ember 119 failed hana fable 40 paused bruno ember 99 active lina delta 78 failed farah cobalt 111 failed farah birch 40 failed
closed 115 ember eli failed 50 cobalt eli paused 2 birch ivan failed 119 ember dina paused 40 fable hana active 99 ember bruno failed 78 delta lina failed 111 cobalt farah failed 40 birch farah
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026076
qwen/qwen3.7-plus
awkweave-0026077
Print the number of whitespace-separated fields on each line.
{print NF}
bruno grove 89 closed bruno delta 5 pending bruno amber 25 failed dina delta 35 pending gus fable 104 closed farah grove 62 closed farah ember 23 pending eli amber 118 failed kim delta 111 failed bruno grove 58 pending
4 4 4 4 4 4 4 4 4 4
hana grove 47 pending lina grove 4 paused ivan indigo 105 active farah delta 21 pending dina fable 16 paused farah juniper 26 pending eli birch 92 pending gus cobalt 55 pending bruno cobalt 8 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026077-p1
Display the count of whitespace-delimited fields present in each line.
{print NF}
bruno grove 89 closed bruno delta 5 pending bruno amber 25 failed dina delta 35 pending gus fable 104 closed farah grove 62 closed farah ember 23 pending eli amber 118 failed kim delta 111 failed bruno grove 58 pending
4 4 4 4 4 4 4 4 4 4
hana grove 47 pending lina grove 4 paused ivan indigo 105 active farah delta 21 pending dina fable 16 paused farah juniper 26 pending eli birch 92 pending gus cobalt 55 pending bruno cobalt 8 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026077
qwen/qwen3.7-plus
awkweave-0026078
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]]}
hana beta 3 jules gamma 16 ivan alpha 21 bruno alpha 34 kim delta 13 lina gamma 82
beta 1 gamma 2 alpha 2 delta 1
lina delta 91 lina alpha 44 farah delta 34 alice alpha 25 jules alpha 69 chen alpha 18 ivan beta 81 eli alpha 67 bruno delta 2
delta 3 alpha 5 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026078-p1
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]]}
hana beta 3 jules gamma 16 ivan alpha 21 bruno alpha 34 kim delta 13 lina gamma 82
beta 1 gamma 2 alpha 2 delta 1
lina delta 91 lina alpha 44 farah delta 34 alice alpha 25 jules alpha 69 chen alpha 18 ivan beta 81 eli alpha 67 bruno delta 2
delta 3 alpha 5 beta 1
count_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0026078
qwen/qwen3.7-plus
awkweave-0026079
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]]}
eli alpha 20 chen beta 22 jules delta 9 eli gamma 3 dina alpha 23 hana delta 27 eli beta 16 farah beta 25
alpha 43 beta 63 delta 36 gamma 3
chen gamma 1 gus gamma 30 farah delta 7 chen delta 5 bruno gamma 6 hana alpha 21 gus alpha 27 gus gamma 10 farah gamma 19
gamma 66 delta 12 alpha 48
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026079-p1
Calculate the sum of column 3 grouped by the categories in column 2, and output the results in the order the groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli alpha 20 chen beta 22 jules delta 9 eli gamma 3 dina alpha 23 hana delta 27 eli beta 16 farah beta 25
alpha 43 beta 63 delta 36 gamma 3
chen gamma 1 gus gamma 30 farah delta 7 chen delta 5 bruno gamma 6 hana alpha 21 gus alpha 27 gus gamma 10 farah gamma 19
gamma 66 delta 12 alpha 48
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026079
qwen/qwen3.7-plus
awkweave-0026080
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]]}
gamma indigo 61 alpha grove 29 delta amber 70 gamma indigo 107 beta juniper 106 delta amber 79 gamma fable 102 gamma juniper 46
gamma 4 delta 2
alpha juniper 23 delta cobalt 35 gamma juniper 66 delta ember 103 alpha delta 103 gamma amber 96 delta juniper 12 beta cobalt 19 gamma birch 21
alpha 2 delta 3 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026080-p1
Identify duplicate values in column 1 and print each repeated value along with its frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma indigo 61 alpha grove 29 delta amber 70 gamma indigo 107 beta juniper 106 delta amber 79 gamma fable 102 gamma juniper 46
gamma 4 delta 2
alpha juniper 23 delta cobalt 35 gamma juniper 66 delta ember 103 alpha delta 103 gamma amber 96 delta juniper 12 beta cobalt 19 gamma birch 21
alpha 2 delta 3 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026080
qwen/qwen3.7-plus
awkweave-0026081
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"]}
note state display_name score r001 kim 5 pending r002 chen 27 pending r003 bruno 22 pending r004 ivan 30 active r005 kim 1 paused r006 dina 3 paused r007 gus 28 pending r008 chen 27 ready
pending pending pending active paused paused pending ready
note state display_name score r001 kim 30 ready r002 kim 21 pending r003 farah 12 active r004 ivan 7 closed r005 hana 1 pending r006 bruno 30 failed r007 dina 8 ready
ready pending active closed pending failed ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026081-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"]}
note state display_name score r001 kim 5 pending r002 chen 27 pending r003 bruno 22 pending r004 ivan 30 active r005 kim 1 paused r006 dina 3 paused r007 gus 28 pending r008 chen 27 ready
pending pending pending active paused paused pending ready
note state display_name score r001 kim 30 ready r002 kim 21 pending r003 farah 12 active r004 ivan 7 closed r005 hana 1 pending r006 bruno 30 failed r007 dina 8 ready
ready pending active closed pending failed ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026081
qwen/qwen3.7-plus
awkweave-0026082
The first row is a header. Print display_name for data rows whose score is greater than 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 eli 21 ready r002 eli 8 paused r003 jules 27 active r004 alice 20 paused r005 dina 3 active r006 dina 17 ready
eli jules
record_id display_name score state r001 ivan 19 pending r002 lina 17 failed r003 lina 20 active r004 eli 3 closed r005 ivan 16 closed r006 dina 8 failed r007 alice 23 ready r008 bruno 2 failed r009 eli 6 failed r010 alice 29 pending
alice alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026082-p1
With the first row as a header, print the display_name field for data rows where the score exceeds 20.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]}
record_id display_name score state r001 eli 21 ready r002 eli 8 paused r003 jules 27 active r004 alice 20 paused r005 dina 3 active r006 dina 17 ready
eli jules
record_id display_name score state r001 ivan 19 pending r002 lina 17 failed r003 lina 20 active r004 eli 3 closed r005 ivan 16 closed r006 dina 8 failed r007 alice 23 ready r008 bruno 2 failed r009 eli 6 failed r010 alice 29 pending
alice alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026082
qwen/qwen3.7-plus
awkweave-0026083
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 19 paused dina 3 failed lina 30 pending lina 24 active dina 4 failed alice 16 failed hana 18 active eli 12 paused
paused failed pending active failed failed active paused
ivan 3 paused ivan 16 closed alice 21 pending lina 7 closed ivan 1 pending gus 27 pending kim 12 closed kim 1 active
paused closed pending closed pending pending closed active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026083-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 19 paused dina 3 failed lina 30 pending lina 24 active dina 4 failed alice 16 failed hana 18 active eli 12 paused
paused failed pending active failed failed active paused
ivan 3 paused ivan 16 closed alice 21 pending lina 7 closed ivan 1 pending gus 27 pending kim 12 closed kim 1 active
paused closed pending closed pending pending closed active
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026083
qwen/qwen3.7-plus
awkweave-0026084
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24.
BEGIN{FS=OFS=","}$2>24{print $1}
alice,14,ready ivan,21,failed farah,30,failed hana,20,closed gus,10,failed lina,15,paused eli,4,pending eli,27,active
farah eli
alice,17,active lina,20,active chen,15,ready alice,28,active farah,13,ready ivan,17,failed gus,24,closed eli,4,failed bruno,12,closed
alice
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026084-p1
Given simple comma-separated input without quoted commas, output the first field whenever the second field is greater than 24.
BEGIN{FS=OFS=","}$2>24{print $1}
alice,14,ready ivan,21,failed farah,30,failed hana,20,closed gus,10,failed lina,15,paused eli,4,pending eli,27,active
farah eli
alice,17,active lina,20,active chen,15,ready alice,28,active farah,13,ready ivan,17,failed gus,24,closed eli,4,failed bruno,12,closed
alice
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026084
qwen/qwen3.7-plus
awkweave-0026085
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
hana harbor 48 lina delta 113 chen harbor 103 chen delta 90 hana grove 108 hana amber 80 bruno fable 112 eli delta 75
hana harbor 48 lina delta 113 chen harbor 103 chen delta 90 hana grove 108 hana amber 80 bruno fable 112 eli delta 75
lina delta 20 kim harbor 106 lina indigo 60 bruno harbor 36 jules indigo 109 alice cobalt 77 chen harbor 33 eli ember 78 gus birch 70 chen juniper 8
lina delta 20 kim harbor 106 lina indigo 60 bruno harbor 36 jules indigo 109 alice cobalt 77 chen harbor 33 eli ember 78 gus birch 70 chen juniper 8
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026085-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
hana harbor 48 lina delta 113 chen harbor 103 chen delta 90 hana grove 108 hana amber 80 bruno fable 112 eli delta 75
hana harbor 48 lina delta 113 chen harbor 103 chen delta 90 hana grove 108 hana amber 80 bruno fable 112 eli delta 75
lina delta 20 kim harbor 106 lina indigo 60 bruno harbor 36 jules indigo 109 alice cobalt 77 chen harbor 33 eli ember 78 gus birch 70 chen juniper 8
lina delta 20 kim harbor 106 lina indigo 60 bruno harbor 36 jules indigo 109 alice cobalt 77 chen harbor 33 eli ember 78 gus birch 70 chen juniper 8
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026085
qwen/qwen3.7-plus
awkweave-0026086
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli delta 40 paused eli delta 13 ready hana harbor 90 ready eli indigo 115 pending gus cobalt 68 failed jules juniper 13 pending kim amber 28 failed dina amber 43 closed
jules juniper 13 pending
lina grove 113 pending alice cobalt 3 closed farah grove 59 active kim fable 31 ready hana birch 119 pending chen grove 90 pending
lina grove 113 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026086-p1
Identify and output the longest line from the input; in case of a tie in length, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
eli delta 40 paused eli delta 13 ready hana harbor 90 ready eli indigo 115 pending gus cobalt 68 failed jules juniper 13 pending kim amber 28 failed dina amber 43 closed
jules juniper 13 pending
lina grove 113 pending alice cobalt 3 closed farah grove 59 active kim fable 31 ready hana birch 119 pending chen grove 90 pending
lina grove 113 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026086
qwen/qwen3.7-plus
awkweave-0026087
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
dina 83 alice 78 hana 103 eli 85 bruno 106 ivan 114 eli 16 lina 97 lina 88
hana 103 ivan 114 lina 88
bruno 89 alice 83 alice 34 chen 88 kim 109 gus 94 eli 33 chen 60 alice 53
alice 34 gus 94 alice 53
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026087-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
dina 83 alice 78 hana 103 eli 85 bruno 106 ivan 114 eli 16 lina 97 lina 88
hana 103 ivan 114 lina 88
bruno 89 alice 83 alice 34 chen 88 kim 109 gus 94 eli 33 chen 60 alice 53
alice 34 gus 94 alice 53
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026087
qwen/qwen3.7-plus
awkweave-0026088
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha ember 107 beta cobalt 58 alpha delta 31 beta delta 48 delta grove 63 gamma amber 101 delta delta 85 alpha amber 75 beta cobalt 27
5
beta amber 23 beta birch 29 alpha birch 38 alpha grove 37 beta grove 50 alpha birch 104
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026088-p1
Determine the number of unique values present in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha ember 107 beta cobalt 58 alpha delta 31 beta delta 48 delta grove 63 gamma amber 101 delta delta 85 alpha amber 75 beta cobalt 27
5
beta amber 23 beta birch 29 alpha birch 38 alpha grove 37 beta grove 50 alpha birch 104
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026088
qwen/qwen3.7-plus
awkweave-0026089
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}
dina 13 0 jules 20 18 chen 2 6 farah 26 12 bruno 6 8 lina 30 29 hana 25 18 gus 9 1
jules 1.11 chen 0.33 farah 2.17 bruno 0.75 lina 1.03 hana 1.39 gus 9.00
hana 9 0 hana 29 22 farah 30 10 farah 9 9 hana 27 21 gus 5 1 bruno 21 6 kim 10 8 chen 23 21 chen 13 10
hana 1.32 farah 3.00 farah 1.00 hana 1.29 gus 5.00 bruno 3.50 kim 1.25 chen 1.10 chen 1.30
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026089-p1
For each record, 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}
dina 13 0 jules 20 18 chen 2 6 farah 26 12 bruno 6 8 lina 30 29 hana 25 18 gus 9 1
jules 1.11 chen 0.33 farah 2.17 bruno 0.75 lina 1.03 hana 1.39 gus 9.00
hana 9 0 hana 29 22 farah 30 10 farah 9 9 hana 27 21 gus 5 1 bruno 21 6 kim 10 8 chen 23 21 chen 13 10
hana 1.32 farah 3.00 farah 1.00 hana 1.29 gus 5.00 bruno 3.50 kim 1.25 chen 1.10 chen 1.30
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026089
qwen/qwen3.7-plus
awkweave-0026100
Skip the first line and print every remaining line unchanged.
NR > 1
lina 48 harbor eli 59 juniper eli 35 delta alice 11 birch jules 72 cobalt dina 96 juniper lina 32 indigo eli 88 indigo jules 43 amber lina 67 ember
eli 59 juniper eli 35 delta alice 11 birch jules 72 cobalt dina 96 juniper lina 32 indigo eli 88 indigo jules 43 amber lina 67 ember
jules 55 cobalt eli 100 grove gus 11 birch ivan 64 amber alice 112 indigo gus 73 cobalt dina 59 delta hana 91 juniper
eli 100 grove gus 11 birch ivan 64 amber alice 112 indigo gus 73 cobalt dina 59 delta hana 91 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026100-p1
Ignore the header line and print all subsequent lines exactly as they appear.
NR > 1
lina 48 harbor eli 59 juniper eli 35 delta alice 11 birch jules 72 cobalt dina 96 juniper lina 32 indigo eli 88 indigo jules 43 amber lina 67 ember
eli 59 juniper eli 35 delta alice 11 birch jules 72 cobalt dina 96 juniper lina 32 indigo eli 88 indigo jules 43 amber lina 67 ember
jules 55 cobalt eli 100 grove gus 11 birch ivan 64 amber alice 112 indigo gus 73 cobalt dina 59 delta hana 91 juniper
eli 100 grove gus 11 birch ivan 64 amber alice 112 indigo gus 73 cobalt dina 59 delta hana 91 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026100
qwen/qwen3.7-plus
awkweave-0026101
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
hana closed 3 bruno paused 46 dina closed 91 eli failed 31 eli pending 62 chen ready 8
1
lina pending 28 farah failed 98 ivan ready 99 dina active 7 ivan ready 50 kim closed 41 farah closed 44 hana active 11
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026101-p1
Count the number of entries where the second column contains the value 'paused' and print 0 if no such entries exist.
$2 == "paused"{n++}END{print n+0}
hana closed 3 bruno paused 46 dina closed 91 eli failed 31 eli pending 62 chen ready 8
1
lina pending 28 farah failed 98 ivan ready 99 dina active 7 ivan ready 50 kim closed 41 farah closed 44 hana active 11
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026101
qwen/qwen3.7-plus
awkweave-0026102
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
10 chen ember 13 hana amber 24 gus fable 30 bruno ember 12 farah cobalt 24 eli fable 3 eli birch 13 eli birch
129
11 hana delta 21 eli cobalt 1 bruno ember 22 hana juniper 28 ivan amber 22 ivan delta 28 chen indigo 10 alice ember
143
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026102-p1
Compute and display the total sum of all integer values found in the first column.
{s+=$1}END{print s+0}
10 chen ember 13 hana amber 24 gus fable 30 bruno ember 12 farah cobalt 24 eli fable 3 eli birch 13 eli birch
129
11 hana delta 21 eli cobalt 1 bruno ember 22 hana juniper 28 ivan amber 22 ivan delta 28 chen indigo 10 alice ember
143
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026102
qwen/qwen3.7-plus
awkweave-0026103
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 27 hana fable 28 lina cobalt 27 kim juniper 23 farah grove 26 eli juniper 13 hana juniper 29 farah harbor 21 kim cobalt 25 kim
24.33
delta 10 dina delta 3 eli cobalt 7 ivan delta 4 bruno grove 1 farah juniper 17 bruno amber 3 alice birch 4 hana grove 25 hana harbor 11 alice
8.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026103-p1
Calculate the average of the values in the second column and print the result rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
grove 27 hana fable 28 lina cobalt 27 kim juniper 23 farah grove 26 eli juniper 13 hana juniper 29 farah harbor 21 kim cobalt 25 kim
24.33
delta 10 dina delta 3 eli cobalt 7 ivan delta 4 bruno grove 1 farah juniper 17 bruno amber 3 alice birch 4 hana grove 25 hana harbor 11 alice
8.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026103
qwen/qwen3.7-plus
awkweave-0026104
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 5 eli harbor 7 gus fable 2 eli juniper 10 bruno grove 21 bruno birch 29 jules fable 15 hana amber 17 kim delta 26 farah
2
birch 22 eli delta 15 gus delta 21 lina grove 27 bruno fable 11 farah fable 7 chen
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026104-p1
Locate and print the minimum numeric value found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
harbor 5 eli harbor 7 gus fable 2 eli juniper 10 bruno grove 21 bruno birch 29 jules fable 15 hana amber 17 kim delta 26 farah
2
birch 22 eli delta 15 gus delta 21 lina grove 27 bruno fable 11 farah fable 7 chen
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026104
qwen/qwen3.7-plus
awkweave-0026105
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 25 alice harbor 19 kim amber 23 bruno amber 27 jules cobalt 20 jules delta 17 jules birch 11 hana juniper 18 chen birch 18 eli fable 12 alice
27
delta 2 lina grove 30 jules juniper 15 bruno juniper 14 ivan juniper 27 dina amber 11 eli birch 1 alice
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026105-p1
Locate and print the maximum numeric value found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 25 alice harbor 19 kim amber 23 bruno amber 27 jules cobalt 20 jules delta 17 jules birch 11 hana juniper 18 chen birch 18 eli fable 12 alice
27
delta 2 lina grove 30 jules juniper 15 bruno juniper 14 ivan juniper 27 dina amber 11 eli birch 1 alice
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026105
qwen/qwen3.7-plus
awkweave-0026106
Count all input records and print the total.
END{print NR}
hana 79 farah 36 farah 0 dina 11 alice 69 lina 101 farah 64
7
eli 20 chen 92 farah 98 hana 66 bruno 113 eli 56
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026106-p1
Calculate and output the total number of input records.
END{print NR}
hana 79 farah 36 farah 0 dina 11 alice 69 lina 101 farah 64
7
eli 20 chen 92 farah 98 hana 66 bruno 113 eli 56
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026106
qwen/qwen3.7-plus
awkweave-0026107
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim cobalt 97 lina delta 114 lina cobalt 50 eli harbor 33 gus cobalt 55 farah juniper 88 kim cobalt 97
kim cobalt 97 lina delta 114 lina cobalt 50 eli harbor 33 gus cobalt 55 farah juniper 88
chen harbor 39 hana amber 15 hana amber 26 chen cobalt 79 chen harbor 39 gus grove 112 dina birch 9 bruno amber 60 kim grove 57
chen harbor 39 hana amber 15 hana amber 26 chen cobalt 79 gus grove 112 dina birch 9 bruno amber 60 kim grove 57
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026107-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
kim cobalt 97 lina delta 114 lina cobalt 50 eli harbor 33 gus cobalt 55 farah juniper 88 kim cobalt 97
kim cobalt 97 lina delta 114 lina cobalt 50 eli harbor 33 gus cobalt 55 farah juniper 88
chen harbor 39 hana amber 15 hana amber 26 chen cobalt 79 chen harbor 39 gus grove 112 dina birch 9 bruno amber 60 kim grove 57
chen harbor 39 hana amber 15 hana amber 26 chen cobalt 79 gus grove 112 dina birch 9 bruno amber 60 kim grove 57
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026107
qwen/qwen3.7-plus
awkweave-0026108
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
gus cobalt 85 alice indigo 5 bruno grove 49 jules fable 107 alice delta 63 bruno ember 11
gus cobalt 85 alice indigo 5 bruno grove 49 jules fable 107
chen birch 52 gus cobalt 33 eli harbor 83 kim birch 74 kim grove 37 gus delta 15 alice cobalt 56 lina amber 33 lina cobalt 87
chen birch 52 gus cobalt 33 eli harbor 83 kim birch 74 alice cobalt 56 lina amber 33
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026108-p1
Retain only the initial line for every unique value in the first column, preserving the input order.
!seen[$1]++
gus cobalt 85 alice indigo 5 bruno grove 49 jules fable 107 alice delta 63 bruno ember 11
gus cobalt 85 alice indigo 5 bruno grove 49 jules fable 107
chen birch 52 gus cobalt 33 eli harbor 83 kim birch 74 kim grove 37 gus delta 15 alice cobalt 56 lina amber 33 lina cobalt 87
chen birch 52 gus cobalt 33 eli harbor 83 kim birch 74 alice cobalt 56 lina amber 33
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026108
qwen/qwen3.7-plus
awkweave-0026109
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 3 cobalt kim 12 cobalt lina 16 indigo kim 24 fable jules 16 indigo alice 8 grove eli 3 delta alice 26 cobalt farah 21 juniper
bruno 3 kim 15 lina 31 kim 55 jules 71 alice 79 eli 82 alice 108 farah 129
eli 17 cobalt hana 28 juniper alice 17 cobalt gus 17 cobalt jules 23 delta bruno 18 fable lina 30 juniper bruno 15 birch bruno 26 harbor
eli 17 hana 45 alice 62 gus 79 jules 102 bruno 120 lina 150 bruno 165 bruno 191
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026109-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
bruno 3 cobalt kim 12 cobalt lina 16 indigo kim 24 fable jules 16 indigo alice 8 grove eli 3 delta alice 26 cobalt farah 21 juniper
bruno 3 kim 15 lina 31 kim 55 jules 71 alice 79 eli 82 alice 108 farah 129
eli 17 cobalt hana 28 juniper alice 17 cobalt gus 17 cobalt jules 23 delta bruno 18 fable lina 30 juniper bruno 15 birch bruno 26 harbor
eli 17 hana 45 alice 62 gus 79 jules 102 bruno 120 lina 150 bruno 165 bruno 191
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026109
qwen/qwen3.7-plus
awkweave-0026110
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 18 15 fable kim 4 14 juniper kim 19 19 juniper gus 21 23 harbor lina 12 29 birch eli 9 9 harbor kim 8 14 harbor chen 5 9 cobalt
lina 33 kim 18 kim 38 gus 44 lina 41 eli 18 kim 22 chen 14
chen 16 25 amber dina 16 26 fable dina 27 23 juniper ivan 23 2 birch jules 8 7 fable hana 8 14 juniper ivan 13 13 indigo
chen 41 dina 42 dina 50 ivan 25 jules 15 hana 22 ivan 26
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026110-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
lina 18 15 fable kim 4 14 juniper kim 19 19 juniper gus 21 23 harbor lina 12 29 birch eli 9 9 harbor kim 8 14 harbor chen 5 9 cobalt
lina 33 kim 18 kim 38 gus 44 lina 41 eli 18 kim 22 chen 14
chen 16 25 amber dina 16 26 fable dina 27 23 juniper ivan 23 2 birch jules 8 7 fable hana 8 14 juniper ivan 13 13 indigo
chen 41 dina 42 dina 50 ivan 25 jules 15 hana 22 ivan 26
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026110
qwen/qwen3.7-plus
awkweave-0026111
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
alice 7 ivan 3 ivan 3 bruno 28 hana 24 farah 6 lina 8 hana 3 bruno 11 lina 10
alice fail ivan fail ivan fail bruno pass hana pass farah fail lina fail hana fail bruno fail lina fail
alice 7 kim 14 eli 5 kim 17 gus 27 eli 22 chen 15 dina 14 bruno 15 lina 24
alice fail kim fail eli fail kim fail gus pass eli fail chen fail dina fail bruno fail lina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null