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-0034941-p1
Compute and print only the number of unique values found in column 1.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 67 delta indigo 55 gamma ember 38 delta ember 30 gamma cobalt 23 gamma birch 105 beta ember 26 delta ember 20
3
delta birch 34 beta harbor 11 beta delta 91 alpha grove 87 gamma ember 42 gamma amber 25 alpha birch 30
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034941
qwen/qwen3.7-plus
awkweave-0034942
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}
alice 27 0 kim 21 21 ivan 29 17 ivan 2 24 farah 25 4 eli 16 13 hana 30 18 dina 22 19 hana 26 19 lina 14 8
kim 1.00 ivan 1.71 ivan 0.08 farah 6.25 eli 1.23 hana 1.67 dina 1.16 hana 1.37 lina 1.75
gus 13 0 alice 30 6 hana 20 15 eli 3 2 hana 23 4 hana 1 28 hana 27 10
alice 5.00 hana 1.33 eli 1.50 hana 5.75 hana 0.04 hana 2.70
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034942-p1
For every row, output the value of column 1 followed by the result of column 2 divided by column 3 formatted to two decimal places, omitting any rows where column 3 equals 0.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 27 0 kim 21 21 ivan 29 17 ivan 2 24 farah 25 4 eli 16 13 hana 30 18 dina 22 19 hana 26 19 lina 14 8
kim 1.00 ivan 1.71 ivan 0.08 farah 6.25 eli 1.23 hana 1.67 dina 1.16 hana 1.37 lina 1.75
gus 13 0 alice 30 6 hana 20 15 eli 3 2 hana 23 4 hana 1 28 hana 27 10
alice 5.00 hana 1.33 eli 1.50 hana 5.75 hana 0.04 hana 2.70
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034942
qwen/qwen3.7-plus
awkweave-0034943
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan amber 28 lina ember 27 hana ember 15 jules fable 2 lina amber 13 ivan ember 23 bruno birch 23 bruno birch 29 alice indigo 28 eli cobalt 29
bruno birch 29 eli cobalt 29 ivan amber 28
lina amber 4 kim amber 5 farah amber 4 ivan indigo 9 kim harbor 30 bruno juniper 25 eli cobalt 18 jules cobalt 2
kim harbor 30 bruno juniper 25 eli cobalt 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034943-p1
Display the top three full records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input sequence for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan amber 28 lina ember 27 hana ember 15 jules fable 2 lina amber 13 ivan ember 23 bruno birch 23 bruno birch 29 alice indigo 28 eli cobalt 29
bruno birch 29 eli cobalt 29 ivan amber 28
lina amber 4 kim amber 5 farah amber 4 ivan indigo 9 kim harbor 30 bruno juniper 25 eli cobalt 18 jules cobalt 2
kim harbor 30 bruno juniper 25 eli cobalt 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034943
qwen/qwen3.7-plus
awkweave-0034944
For each line, output fields 4 and 1, in that order.
{print $4, $1}
dina indigo closed closed 71 21 chen harbor pending paused 15 97 lina amber active pending 77 79 alice fable paused paused 43 3 lina juniper ready paused 114 92 chen cobalt paused paused 101 9 bruno harbor closed pending 70 107
closed dina paused chen pending lina paused alice paused lina paused chen pending bruno
kim indigo closed ready 35 116 bruno fable paused pending 38 35 jules cobalt ready ready 21 117 kim amber ready ready 65 9 chen harbor failed failed 111 16 ivan cobalt paused paused 38 31 dina birch closed failed 50 78
ready kim pending bruno ready jules ready kim failed chen paused ivan failed dina
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034944-p1
Output field 4 and then field 1 for each line.
{print $4, $1}
dina indigo closed closed 71 21 chen harbor pending paused 15 97 lina amber active pending 77 79 alice fable paused paused 43 3 lina juniper ready paused 114 92 chen cobalt paused paused 101 9 bruno harbor closed pending 70 107
closed dina paused chen pending lina paused alice paused lina paused chen pending bruno
kim indigo closed ready 35 116 bruno fable paused pending 38 35 jules cobalt ready ready 21 117 kim amber ready ready 65 9 chen harbor failed failed 111 16 ivan cobalt paused paused 38 31 dina birch closed failed 50 78
ready kim pending bruno ready jules ready kim failed chen paused ivan failed dina
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034944
qwen/qwen3.7-plus
awkweave-0034945
Print the last field of every input line.
{print $NF}
7 failed paused 32 25 failed pending 59 50 failed ready 8 73 failed paused 62 98 failed paused 59 90 failed active 106 90 closed ready 27 64 ready failed 87
32 59 8 62 59 106 27 87
58 active ready 98 51 closed active 105 19 active active 106 55 ready pending 85 35 active paused 116 44 active ready 57 85 paused pending 76 48 paused pending 74
98 105 106 85 116 57 76 74
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034945-p1
Print the final field from every line in the input.
{print $NF}
7 failed paused 32 25 failed pending 59 50 failed ready 8 73 failed paused 62 98 failed paused 59 90 failed active 106 90 closed ready 27 64 ready failed 87
32 59 8 62 59 106 27 87
58 active ready 98 51 closed active 105 19 active active 106 55 ready pending 85 35 active paused 116 44 active ready 57 85 paused pending 76 48 paused pending 74
98 105 106 85 116 57 76 74
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034945
qwen/qwen3.7-plus
awkweave-0034946
Print the complete records where column 4 is less than 72.
$4 < 72
jules dina juniper 86 amber bruno jules fable 43 amber kim gus delta 45 birch ivan eli delta 54 delta chen kim fable 80 juniper chen eli indigo 53 harbor gus chen fable 4 juniper bruno alice cobalt 112 juniper alice eli ember 69 ember alice lina ember 20 birch
bruno jules fable 43 amber kim gus delta 45 birch ivan eli delta 54 delta chen eli indigo 53 harbor gus chen fable 4 juniper alice eli ember 69 ember alice lina ember 20 birch
bruno chen fable 75 fable jules farah indigo 73 delta gus kim harbor 20 juniper ivan gus cobalt 61 juniper eli chen grove 54 ember bruno alice delta 79 harbor
gus kim harbor 20 juniper ivan gus cobalt 61 juniper eli chen grove 54 ember
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034946-p1
Output the full records for which the value in column 4 is strictly less than 72.
$4 < 72
jules dina juniper 86 amber bruno jules fable 43 amber kim gus delta 45 birch ivan eli delta 54 delta chen kim fable 80 juniper chen eli indigo 53 harbor gus chen fable 4 juniper bruno alice cobalt 112 juniper alice eli ember 69 ember alice lina ember 20 birch
bruno jules fable 43 amber kim gus delta 45 birch ivan eli delta 54 delta chen eli indigo 53 harbor gus chen fable 4 juniper alice eli ember 69 ember alice lina ember 20 birch
bruno chen fable 75 fable jules farah indigo 73 delta gus kim harbor 20 juniper ivan gus cobalt 61 juniper eli chen grove 54 ember bruno alice delta 79 harbor
gus kim harbor 20 juniper ivan gus cobalt 61 juniper eli chen grove 54 ember
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034946
qwen/qwen3.7-plus
awkweave-0034947
Show whole lines whose 2nd field is between 8 and 22, inclusive.
$2 >= 8 && $2 <= 22
ember 3 failed closed grove 8 failed closed delta 24 closed ready ember 14 failed ready delta 13 pending closed juniper 3 active paused cobalt 14 ready pending cobalt 10 failed failed
grove 8 failed closed ember 14 failed ready delta 13 pending closed cobalt 14 ready pending cobalt 10 failed failed
harbor 11 active active indigo 23 closed pending delta 22 active paused amber 16 failed closed fable 6 failed ready juniper 13 pending closed amber 6 pending paused grove 17 closed active indigo 23 closed failed
harbor 11 active active delta 22 active paused amber 16 failed closed juniper 13 pending closed grove 17 closed active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034947-p1
Display entire lines where the second field falls within the inclusive range of 8 to 22.
$2 >= 8 && $2 <= 22
ember 3 failed closed grove 8 failed closed delta 24 closed ready ember 14 failed ready delta 13 pending closed juniper 3 active paused cobalt 14 ready pending cobalt 10 failed failed
grove 8 failed closed ember 14 failed ready delta 13 pending closed cobalt 14 ready pending cobalt 10 failed failed
harbor 11 active active indigo 23 closed pending delta 22 active paused amber 16 failed closed fable 6 failed ready juniper 13 pending closed amber 6 pending paused grove 17 closed active indigo 23 closed failed
harbor 11 active active delta 22 active paused amber 16 failed closed juniper 13 pending closed grove 17 closed active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034947
qwen/qwen3.7-plus
awkweave-0034948
Print column 3 only for rows where column 2 is exactly active.
$2 == "active"{print $3}
birch ready bruno 49 harbor ready jules 45 juniper pending farah 73 amber closed bruno 71 delta failed chen 1 indigo ready chen 1 ember failed chen 1 birch pending bruno 16 amber active alice 36 juniper ready alice 0
alice
amber active bruno 94 cobalt failed ivan 23 indigo paused dina 61 harbor ready kim 90 harbor closed chen 22 harbor failed chen 113 harbor closed dina 71 birch closed ivan 44 grove paused dina 46
bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034948-p1
Output only column 3 for rows where column 2 matches the exact string 'active'.
$2 == "active"{print $3}
birch ready bruno 49 harbor ready jules 45 juniper pending farah 73 amber closed bruno 71 delta failed chen 1 indigo ready chen 1 ember failed chen 1 birch pending bruno 16 amber active alice 36 juniper ready alice 0
alice
amber active bruno 94 cobalt failed ivan 23 indigo paused dina 61 harbor ready kim 90 harbor closed chen 22 harbor failed chen 113 harbor closed dina 71 birch closed ivan 44 grove paused dina 46
bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034948
qwen/qwen3.7-plus
awkweave-0034949
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
39 fable ERROR 88 juniper DEBUG 0 juniper ERROR 95 fable ERROR 115 juniper ERROR 25 indigo INFO 14 grove ERROR 36 juniper WARN 103 juniper INFO 14 fable WARN
39 fable ERROR 0 juniper ERROR 95 fable ERROR 115 juniper ERROR 14 grove ERROR
77 juniper WARN 23 delta WARN 102 cobalt WARN 58 fable DEBUG 38 cobalt DEBUG 4 harbor DEBUG 24 cobalt WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034949-p1
Print all fields from lines where the third field starts with the prefix 'ERROR'.
$3 ~ /^ERROR/
39 fable ERROR 88 juniper DEBUG 0 juniper ERROR 95 fable ERROR 115 juniper ERROR 25 indigo INFO 14 grove ERROR 36 juniper WARN 103 juniper INFO 14 fable WARN
39 fable ERROR 0 juniper ERROR 95 fable ERROR 115 juniper ERROR 14 grove ERROR
77 juniper WARN 23 delta WARN 102 cobalt WARN 58 fable DEBUG 38 cobalt DEBUG 4 harbor DEBUG 24 cobalt WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034949
qwen/qwen3.7-plus
awkweave-0034950
Print every line except those containing the exact text fable.
$0 !~ /fable/
ember 113 paused fable 7 active cobalt 3 paused juniper 101 active harbor 98 failed juniper 82 active juniper 0 paused harbor 43 closed harbor 3 failed fable 999 active
ember 113 paused cobalt 3 paused juniper 101 active harbor 98 failed juniper 82 active juniper 0 paused harbor 43 closed harbor 3 failed
harbor 37 ready harbor 91 paused birch 2 failed juniper 99 paused fable 66 pending grove 89 pending amber 45 paused harbor 110 paused ember 55 closed juniper 49 paused fable 999 active
harbor 37 ready harbor 91 paused birch 2 failed juniper 99 paused grove 89 pending amber 45 paused harbor 110 paused ember 55 closed juniper 49 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034950-p1
Print every line that does not contain the exact substring 'fable'.
$0 !~ /fable/
ember 113 paused fable 7 active cobalt 3 paused juniper 101 active harbor 98 failed juniper 82 active juniper 0 paused harbor 43 closed harbor 3 failed fable 999 active
ember 113 paused cobalt 3 paused juniper 101 active harbor 98 failed juniper 82 active juniper 0 paused harbor 43 closed harbor 3 failed
harbor 37 ready harbor 91 paused birch 2 failed juniper 99 paused fable 66 pending grove 89 pending amber 45 paused harbor 110 paused ember 55 closed juniper 49 paused fable 999 active
harbor 37 ready harbor 91 paused birch 2 failed juniper 99 paused grove 89 pending amber 45 paused harbor 110 paused ember 55 closed juniper 49 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034950
qwen/qwen3.7-plus
awkweave-0034951
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
alice harbor 71 alice fable 111 chen amber 19 eli amber 7 ivan harbor 10 chen fable 14 eli birch 20 chen cobalt 44 kim indigo 102 hana juniper 91
chen amber 19 eli amber 7 ivan harbor 10 chen fable 14
gus cobalt 35 hana juniper 119 chen birch 21 eli amber 25 dina harbor 59 chen ember 69
chen birch 21 eli amber 25 dina harbor 59 chen ember 69
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034951-p1
Output lines 3 through 6, inclusive of both the start and end lines.
NR >= 3 && NR <= 6
alice harbor 71 alice fable 111 chen amber 19 eli amber 7 ivan harbor 10 chen fable 14 eli birch 20 chen cobalt 44 kim indigo 102 hana juniper 91
chen amber 19 eli amber 7 ivan harbor 10 chen fable 14
gus cobalt 35 hana juniper 119 chen birch 21 eli amber 25 dina harbor 59 chen ember 69
chen birch 21 eli amber 25 dina harbor 59 chen ember 69
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034951
qwen/qwen3.7-plus
awkweave-0034952
Output only the first 5 records.
NR <= 5
lina 69 amber chen 94 indigo eli 48 cobalt gus 87 amber kim 118 harbor jules 34 fable
lina 69 amber chen 94 indigo eli 48 cobalt gus 87 amber kim 118 harbor
bruno 101 indigo lina 42 cobalt bruno 45 cobalt jules 8 fable kim 94 amber dina 72 indigo dina 119 grove ivan 54 indigo
bruno 101 indigo lina 42 cobalt bruno 45 cobalt jules 8 fable kim 94 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034952-p1
Output only the first five records.
NR <= 5
lina 69 amber chen 94 indigo eli 48 cobalt gus 87 amber kim 118 harbor jules 34 fable
lina 69 amber chen 94 indigo eli 48 cobalt gus 87 amber kim 118 harbor
bruno 101 indigo lina 42 cobalt bruno 45 cobalt jules 8 fable kim 94 amber dina 72 indigo dina 119 grove ivan 54 indigo
bruno 101 indigo lina 42 cobalt bruno 45 cobalt jules 8 fable kim 94 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034952
qwen/qwen3.7-plus
awkweave-0034953
Skip the first line and print every remaining line unchanged.
NR > 1
chen 100 juniper bruno 60 fable jules 27 harbor alice 9 delta dina 17 ember alice 73 juniper
bruno 60 fable jules 27 harbor alice 9 delta dina 17 ember alice 73 juniper
dina 63 ember bruno 49 fable eli 87 harbor jules 112 amber gus 46 fable lina 29 birch
bruno 49 fable eli 87 harbor jules 112 amber gus 46 fable lina 29 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034953-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
chen 100 juniper bruno 60 fable jules 27 harbor alice 9 delta dina 17 ember alice 73 juniper
bruno 60 fable jules 27 harbor alice 9 delta dina 17 ember alice 73 juniper
dina 63 ember bruno 49 fable eli 87 harbor jules 112 amber gus 46 fable lina 29 birch
bruno 49 fable eli 87 harbor jules 112 amber gus 46 fable lina 29 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034953
qwen/qwen3.7-plus
awkweave-0034954
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
dina paused 55 kim active 95 dina closed 19 ivan ready 87 gus active 63 farah paused 26 chen pending 47
1
bruno closed 119 ivan pending 108 eli paused 63 gus failed 58 hana paused 85 lina ready 89 jules ready 47 kim paused 32
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034954-p1
Count the occurrences of 'ready' in the second column and output 0 if none are found.
$2 == "ready"{n++}END{print n+0}
dina paused 55 kim active 95 dina closed 19 ivan ready 87 gus active 63 farah paused 26 chen pending 47
1
bruno closed 119 ivan pending 108 eli paused 63 gus failed 58 hana paused 85 lina ready 89 jules ready 47 kim paused 32
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034954
qwen/qwen3.7-plus
awkweave-0034955
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
eli 15 harbor dina 28 ember kim 12 ember dina 1 harbor alice 24 birch gus 2 cobalt
82
kim 10 indigo chen 19 amber eli 21 ember jules 3 harbor bruno 22 fable lina 9 amber lina 18 delta alice 9 amber eli 28 amber
139
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034955-p1
Compute and display the total sum of all integer values located in column 2.
{s+=$2}END{print s+0}
eli 15 harbor dina 28 ember kim 12 ember dina 1 harbor alice 24 birch gus 2 cobalt
82
kim 10 indigo chen 19 amber eli 21 ember jules 3 harbor bruno 22 fable lina 9 amber lina 18 delta alice 9 amber eli 28 amber
139
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034955
qwen/qwen3.7-plus
awkweave-0034956
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
harbor farah 2 ember farah 21 cobalt ivan 15 indigo alice 23 delta ivan 26 birch alice 7 indigo alice 22 birch gus 5 fable gus 13
14.89
harbor hana 22 grove bruno 17 birch ivan 29 ember farah 10 amber dina 15 ember kim 15 grove dina 3 birch jules 19 amber ivan 25
17.22
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034956-p1
Output the average of the values in column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
harbor farah 2 ember farah 21 cobalt ivan 15 indigo alice 23 delta ivan 26 birch alice 7 indigo alice 22 birch gus 5 fable gus 13
14.89
harbor hana 22 grove bruno 17 birch ivan 29 ember farah 10 amber dina 15 ember kim 15 grove dina 3 birch jules 19 amber ivan 25
17.22
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034956
qwen/qwen3.7-plus
awkweave-0034957
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 23 jules cobalt 3 eli birch 17 chen delta 9 ivan birch 16 gus ember 16 gus cobalt 10 eli
3
indigo 19 gus fable 10 farah grove 26 jules indigo 14 kim harbor 10 kim birch 22 dina grove 9 lina cobalt 16 bruno juniper 3 hana grove 14 farah
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034957-p1
Identify and print the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
amber 23 jules cobalt 3 eli birch 17 chen delta 9 ivan birch 16 gus ember 16 gus cobalt 10 eli
3
indigo 19 gus fable 10 farah grove 26 jules indigo 14 kim harbor 10 kim birch 22 dina grove 9 lina cobalt 16 bruno juniper 3 hana grove 14 farah
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034957
qwen/qwen3.7-plus
awkweave-0034958
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
gus 12 birch kim 25 amber jules 27 cobalt dina 10 grove hana 21 juniper gus 4 cobalt ivan 7 juniper hana 28 harbor jules 22 ember
28
lina 11 harbor ivan 29 ember farah 3 delta chen 2 cobalt lina 26 grove bruno 22 juniper jules 23 birch bruno 25 grove
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034958-p1
Identify and print the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
gus 12 birch kim 25 amber jules 27 cobalt dina 10 grove hana 21 juniper gus 4 cobalt ivan 7 juniper hana 28 harbor jules 22 ember
28
lina 11 harbor ivan 29 ember farah 3 delta chen 2 cobalt lina 26 grove bruno 22 juniper jules 23 birch bruno 25 grove
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034958
qwen/qwen3.7-plus
awkweave-0034959
Count all input records and print the total.
END{print NR}
hana 16 farah 59 gus 10 gus 70 lina 47 lina 73 bruno 4
7
kim 38 chen 82 chen 74 dina 13 alice 58 eli 49
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034959-p1
Count the total number of input records and print the result.
END{print NR}
hana 16 farah 59 gus 10 gus 70 lina 47 lina 73 bruno 4
7
kim 38 chen 82 chen 74 dina 13 alice 58 eli 49
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034959
qwen/qwen3.7-plus
awkweave-0034960
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice birch 118 chen grove 60 ivan cobalt 66 alice fable 100 alice birch 118 hana amber 101 farah grove 20 ivan indigo 6 eli delta 97
alice birch 118 chen grove 60 ivan cobalt 66 alice fable 100 hana amber 101 farah grove 20 ivan indigo 6 eli delta 97
lina ember 70 lina juniper 10 kim harbor 111 dina birch 55 eli juniper 53 jules birch 77 lina juniper 10 ivan harbor 60 bruno amber 55 dina juniper 79
lina ember 70 lina juniper 10 kim harbor 111 dina birch 55 eli juniper 53 jules birch 77 ivan harbor 60 bruno amber 55 dina juniper 79
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034960-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance.
!seen[$0]++
alice birch 118 chen grove 60 ivan cobalt 66 alice fable 100 alice birch 118 hana amber 101 farah grove 20 ivan indigo 6 eli delta 97
alice birch 118 chen grove 60 ivan cobalt 66 alice fable 100 hana amber 101 farah grove 20 ivan indigo 6 eli delta 97
lina ember 70 lina juniper 10 kim harbor 111 dina birch 55 eli juniper 53 jules birch 77 lina juniper 10 ivan harbor 60 bruno amber 55 dina juniper 79
lina ember 70 lina juniper 10 kim harbor 111 dina birch 55 eli juniper 53 jules birch 77 ivan harbor 60 bruno amber 55 dina juniper 79
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034960
qwen/qwen3.7-plus
awkweave-0034961
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
chen fable 105 ivan fable 22 gus cobalt 75 hana juniper 105 farah grove 42 ivan delta 120 bruno indigo 16 jules delta 18
chen fable 105 ivan fable 22 gus cobalt 75 hana juniper 105 farah grove 42 bruno indigo 16 jules delta 18
dina delta 12 jules amber 25 bruno fable 25 dina juniper 102 gus harbor 94 bruno indigo 118 alice indigo 79
dina delta 12 jules amber 25 bruno fable 25 gus harbor 94 alice indigo 79
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034961-p1
Retain only the first occurrence for each unique value in column 1, preserving the original input sequence.
!seen[$1]++
chen fable 105 ivan fable 22 gus cobalt 75 hana juniper 105 farah grove 42 ivan delta 120 bruno indigo 16 jules delta 18
chen fable 105 ivan fable 22 gus cobalt 75 hana juniper 105 farah grove 42 bruno indigo 16 jules delta 18
dina delta 12 jules amber 25 bruno fable 25 dina juniper 102 gus harbor 94 bruno indigo 118 alice indigo 79
dina delta 12 jules amber 25 bruno fable 25 gus harbor 94 alice indigo 79
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034961
qwen/qwen3.7-plus
awkweave-0034962
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 1 delta eli 27 harbor farah 27 amber dina 19 grove dina 7 fable hana 22 indigo
chen 1 eli 28 farah 55 dina 74 dina 81 hana 103
kim 10 harbor jules 9 indigo ivan 4 indigo jules 18 delta dina 30 ember farah 14 indigo alice 25 fable hana 15 grove
kim 10 jules 19 ivan 23 jules 41 dina 71 farah 85 alice 110 hana 125
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034962-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 1 delta eli 27 harbor farah 27 amber dina 19 grove dina 7 fable hana 22 indigo
chen 1 eli 28 farah 55 dina 74 dina 81 hana 103
kim 10 harbor jules 9 indigo ivan 4 indigo jules 18 delta dina 30 ember farah 14 indigo alice 25 fable hana 15 grove
kim 10 jules 19 ivan 23 jules 41 dina 71 farah 85 alice 110 hana 125
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034962
qwen/qwen3.7-plus
awkweave-0034963
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 12 25 fable eli 5 15 cobalt bruno 9 8 harbor farah 14 29 birch bruno 21 14 cobalt hana 22 14 delta chen 3 18 delta farah 7 24 ember
alice 37 eli 20 bruno 17 farah 43 bruno 35 hana 36 chen 21 farah 31
hana 20 16 cobalt hana 21 5 cobalt lina 6 15 grove ivan 3 10 cobalt jules 27 17 ember gus 21 21 amber eli 19 14 amber alice 19 24 amber hana 30 6 amber
hana 36 hana 26 lina 21 ivan 13 jules 44 gus 42 eli 33 alice 43 hana 36
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034963-p1
For every row, print the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
alice 12 25 fable eli 5 15 cobalt bruno 9 8 harbor farah 14 29 birch bruno 21 14 cobalt hana 22 14 delta chen 3 18 delta farah 7 24 ember
alice 37 eli 20 bruno 17 farah 43 bruno 35 hana 36 chen 21 farah 31
hana 20 16 cobalt hana 21 5 cobalt lina 6 15 grove ivan 3 10 cobalt jules 27 17 ember gus 21 21 amber eli 19 14 amber alice 19 24 amber hana 30 6 amber
hana 36 hana 26 lina 21 ivan 13 jules 44 gus 42 eli 33 alice 43 hana 36
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034963
qwen/qwen3.7-plus
awkweave-0034964
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
dina 28 jules 7 gus 19 lina 29 dina 30 eli 24 jules 15
dina pass jules fail gus fail lina pass dina pass eli fail jules fail
ivan 28 chen 11 hana 3 kim 10 dina 4 kim 2 gus 21 ivan 17
ivan pass chen fail hana fail kim fail dina fail kim fail gus fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034964-p1
Print column 1 along with 'pass' if column 2 is 26 or greater; otherwise, print 'fail'.
{print $1,($2>=26?"pass":"fail")}
dina 28 jules 7 gus 19 lina 29 dina 30 eli 24 jules 15
dina pass jules fail gus fail lina pass dina pass eli fail jules fail
ivan 28 chen 11 hana 3 kim 10 dina 4 kim 2 gus 21 ivan 17
ivan pass chen fail hana fail kim fail dina fail kim fail gus fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034964
qwen/qwen3.7-plus
awkweave-0034965
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
jules ember 7 gus delta 106 chen amber 1 hana delta 116 lina fable 0 eli amber 108 chen birch 63 alice birch 13 jules cobalt 19 alice amber 30
EMBER DELTA AMBER DELTA FABLE AMBER BIRCH BIRCH COBALT AMBER
ivan grove 48 bruno delta 88 bruno grove 79 dina delta 45 bruno fable 56 chen delta 30
GROVE DELTA GROVE DELTA FABLE DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034965-p1
Transform the text in column 2 to uppercase and output only that modified column.
{print toupper($2)}
jules ember 7 gus delta 106 chen amber 1 hana delta 116 lina fable 0 eli amber 108 chen birch 63 alice birch 13 jules cobalt 19 alice amber 30
EMBER DELTA AMBER DELTA FABLE AMBER BIRCH BIRCH COBALT AMBER
ivan grove 48 bruno delta 88 bruno grove 79 dina delta 45 bruno fable 56 chen delta 30
GROVE DELTA GROVE DELTA FABLE DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034965
qwen/qwen3.7-plus
awkweave-0034966
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
indigo 88 fable 52 delta 87 amber 110 fable 29 fable 80 juniper 3 birch 103 ember 118 juniper 120
ind fab del amb fab fab jun bir emb jun
juniper 102 cobalt 65 fable 92 harbor 99 harbor 14 grove 46 juniper 108 juniper 95 indigo 95 grove 75
jun cob fab har har gro jun jun ind gro
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034966-p1
Extract and print the first 3 characters from column 1.
{print substr($1,1,3)}
indigo 88 fable 52 delta 87 amber 110 fable 29 fable 80 juniper 3 birch 103 ember 118 juniper 120
ind fab del amb fab fab jun bir emb jun
juniper 102 cobalt 65 fable 92 harbor 99 harbor 14 grove 46 juniper 108 juniper 95 indigo 95 grove 75
jun cob fab har har gro jun jun ind gro
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034966
qwen/qwen3.7-plus
awkweave-0034967
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_delta 115 delta_cobalt 39 amber_indigo 27 amber_fable 116 indigo_delta 33 cobalt_juniper 88 fable_harbor 66 juniper_cobalt 83 juniper_grove 24 ember_delta 70
amber delta delta cobalt amber indigo amber fable indigo delta cobalt juniper fable harbor juniper cobalt juniper grove ember delta
fable_birch 45 fable_birch 55 juniper_amber 38 harbor_grove 116 indigo_amber 53 amber_indigo 94
fable birch fable birch juniper amber harbor grove indigo amber amber indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034967-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
amber_delta 115 delta_cobalt 39 amber_indigo 27 amber_fable 116 indigo_delta 33 cobalt_juniper 88 fable_harbor 66 juniper_cobalt 83 juniper_grove 24 ember_delta 70
amber delta delta cobalt amber indigo amber fable indigo delta cobalt juniper fable harbor juniper cobalt juniper grove ember delta
fable_birch 45 fable_birch 55 juniper_amber 38 harbor_grove 116 indigo_amber 53 amber_indigo 94
fable birch fable birch juniper amber harbor grove indigo amber amber indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034967
qwen/qwen3.7-plus
awkweave-0034968
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus grove 47 failed kim juniper 5 closed chen harbor 89 paused eli ember 23 failed dina harbor 119 ready dina delta 71 pending jules harbor 10 closed bruno grove 55 failed
failed 47 grove gus closed 5 juniper kim paused 89 harbor chen failed 23 ember eli ready 119 harbor dina pending 71 delta dina closed 10 harbor jules failed 55 grove bruno
alice ember 14 failed lina amber 2 ready farah delta 116 closed eli harbor 71 ready eli delta 89 paused kim birch 120 failed hana birch 52 closed
failed 14 ember alice ready 2 amber lina closed 116 delta farah ready 71 harbor eli paused 89 delta eli failed 120 birch kim closed 52 birch hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034968-p1
Reverse the sequence of fields on each line and display all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus grove 47 failed kim juniper 5 closed chen harbor 89 paused eli ember 23 failed dina harbor 119 ready dina delta 71 pending jules harbor 10 closed bruno grove 55 failed
failed 47 grove gus closed 5 juniper kim paused 89 harbor chen failed 23 ember eli ready 119 harbor dina pending 71 delta dina closed 10 harbor jules failed 55 grove bruno
alice ember 14 failed lina amber 2 ready farah delta 116 closed eli harbor 71 ready eli delta 89 paused kim birch 120 failed hana birch 52 closed
failed 14 ember alice ready 2 amber lina closed 116 delta farah ready 71 harbor eli paused 89 delta eli failed 120 birch kim closed 52 birch hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034968
qwen/qwen3.7-plus
awkweave-0034969
Print the number of whitespace-separated fields on each line.
{print NF}
bruno juniper 48 paused ivan harbor 36 failed hana delta 13 closed alice indigo 31 paused dina juniper 89 paused ivan amber 111 closed jules birch 98 pending farah harbor 102 paused lina ember 79 active chen birch 13 pending
4 4 4 4 4 4 4 4 4 4
chen cobalt 75 active gus indigo 29 ready hana delta 42 active jules harbor 98 failed gus birch 87 closed lina delta 83 ready dina juniper 61 ready kim delta 12 closed
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034969-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
bruno juniper 48 paused ivan harbor 36 failed hana delta 13 closed alice indigo 31 paused dina juniper 89 paused ivan amber 111 closed jules birch 98 pending farah harbor 102 paused lina ember 79 active chen birch 13 pending
4 4 4 4 4 4 4 4 4 4
chen cobalt 75 active gus indigo 29 ready hana delta 42 active jules harbor 98 failed gus birch 87 closed lina delta 83 ready dina juniper 61 ready kim delta 12 closed
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034969
qwen/qwen3.7-plus
awkweave-0034970
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]]}
kim beta 46 gus delta 56 lina gamma 64 ivan delta 0 chen alpha 62 lina alpha 28 eli gamma 90 jules beta 53 kim beta 64 lina beta 47
beta 4 delta 2 gamma 2 alpha 2
lina gamma 42 alice gamma 38 bruno delta 38 ivan alpha 29 farah delta 102 dina delta 120 lina alpha 103
gamma 2 delta 3 alpha 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034970-p1
Tally records per value in column 2, listing each value and its frequency 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]]}
kim beta 46 gus delta 56 lina gamma 64 ivan delta 0 chen alpha 62 lina alpha 28 eli gamma 90 jules beta 53 kim beta 64 lina beta 47
beta 4 delta 2 gamma 2 alpha 2
lina gamma 42 alice gamma 38 bruno delta 38 ivan alpha 29 farah delta 102 dina delta 120 lina alpha 103
gamma 2 delta 3 alpha 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034970
qwen/qwen3.7-plus
awkweave-0034971
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice delta 3 chen beta 24 hana gamma 19 chen beta 29 bruno gamma 10 kim alpha 13 jules beta 28
delta 3 beta 81 gamma 29 alpha 13
chen gamma 11 jules beta 21 dina gamma 17 bruno beta 11 dina delta 20 gus alpha 29
gamma 28 beta 32 delta 20 alpha 29
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034971-p1
Calculate the sum of column 3 for each group in column 2, presenting results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice delta 3 chen beta 24 hana gamma 19 chen beta 29 bruno gamma 10 kim alpha 13 jules beta 28
delta 3 beta 81 gamma 29 alpha 13
chen gamma 11 jules beta 21 dina gamma 17 bruno beta 11 dina delta 20 gus alpha 29
gamma 28 beta 32 delta 20 alpha 29
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034971
qwen/qwen3.7-plus
awkweave-0034972
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]]}
alpha harbor 83 delta cobalt 94 alpha fable 85 gamma delta 88 beta indigo 92 gamma ember 107
alpha 2 gamma 2
beta birch 77 alpha amber 1 beta fable 84 alpha indigo 111 delta harbor 27 beta amber 60 alpha delta 26 beta indigo 1 beta harbor 67 beta grove 44
beta 6 alpha 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034972-p1
List each duplicate value from column 1 alongside its occurrence count, sorted 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]]}
alpha harbor 83 delta cobalt 94 alpha fable 85 gamma delta 88 beta indigo 92 gamma ember 107
alpha 2 gamma 2
beta birch 77 alpha amber 1 beta fable 84 alpha indigo 111 delta harbor 27 beta amber 60 alpha delta 26 beta indigo 1 beta harbor 67 beta grove 44
beta 6 alpha 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034972
qwen/qwen3.7-plus
awkweave-0034973
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note score region state r001 ivan 23 paused r002 kim 29 failed r003 eli 26 active r004 farah 6 active r005 chen 1 closed r006 gus 11 failed
paused failed active active closed failed
note score region state r001 bruno 5 paused r002 hana 24 active r003 dina 11 active r004 ivan 20 paused r005 bruno 30 paused r006 eli 10 closed r007 ivan 8 closed r008 chen 12 active
paused active active paused paused closed closed active
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034973-p1
Skip the header row and output the state column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note score region state r001 ivan 23 paused r002 kim 29 failed r003 eli 26 active r004 farah 6 active r005 chen 1 closed r006 gus 11 failed
paused failed active active closed failed
note score region state r001 bruno 5 paused r002 hana 24 active r003 dina 11 active r004 ivan 20 paused r005 bruno 30 paused r006 eli 10 closed r007 ivan 8 closed r008 chen 12 active
paused active active paused paused closed closed active
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034973
qwen/qwen3.7-plus
awkweave-0034974
The first row is a header. Print display_name for data rows whose score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 alice 22 paused r002 kim 12 paused r003 lina 29 failed r004 chen 19 ready r005 chen 30 failed r006 alice 1 ready r007 eli 26 active
alice kim lina chen chen eli
record_id display_name score state r001 farah 30 closed r002 bruno 26 paused r003 kim 21 paused r004 gus 2 closed r005 farah 20 active r006 jules 28 paused r007 kim 26 ready r008 kim 21 active r009 bruno 8 closed r010 alice 1 paused
farah bruno kim farah jules kim kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034974-p1
Ignoring the header, print the display_name for rows where the score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 alice 22 paused r002 kim 12 paused r003 lina 29 failed r004 chen 19 ready r005 chen 30 failed r006 alice 1 ready r007 eli 26 active
alice kim lina chen chen eli
record_id display_name score state r001 farah 30 closed r002 bruno 26 paused r003 kim 21 paused r004 gus 2 closed r005 farah 20 active r006 jules 28 paused r007 kim 26 ready r008 kim 21 active r009 bruno 8 closed r010 alice 1 paused
farah bruno kim farah jules kim kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034974
qwen/qwen3.7-plus
awkweave-0034975
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 2 paused ivan 2 pending alice 28 pending hana 21 active alice 26 paused lina 8 failed jules 6 ready lina 18 failed
2 2 28 21 26 8 6 18
chen 2 ready hana 3 active chen 21 active kim 19 paused alice 2 failed kim 23 ready bruno 10 ready
2 3 21 19 2 23 10
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034975-p1
Given tab-separated input, output the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 2 paused ivan 2 pending alice 28 pending hana 21 active alice 26 paused lina 8 failed jules 6 ready lina 18 failed
2 2 28 21 26 8 6 18
chen 2 ready hana 3 active chen 21 active kim 19 paused alice 2 failed kim 23 ready bruno 10 ready
2 3 21 19 2 23 10
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034975
qwen/qwen3.7-plus
awkweave-0034976
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}
ivan,29,closed hana,29,closed alice,23,active bruno,16,active bruno,17,pending bruno,19,ready jules,27,active dina,12,pending alice,29,pending
ivan hana alice bruno bruno bruno jules alice
ivan,5,failed hana,23,ready bruno,24,failed eli,13,failed alice,3,pending hana,1,active
hana bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034976-p1
For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
ivan,29,closed hana,29,closed alice,23,active bruno,16,active bruno,17,pending bruno,19,ready jules,27,active dina,12,pending alice,29,pending
ivan hana alice bruno bruno bruno jules alice
ivan,5,failed hana,23,ready bruno,24,failed eli,13,failed alice,3,pending hana,1,active
hana bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034976
qwen/qwen3.7-plus
awkweave-0034977
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus amber 71 ivan amber 107 dina delta 85 dina harbor 88 ivan delta 12 bruno fable 54 hana indigo 8 chen birch 87 bruno amber 21
gus amber 71 ivan amber 107 dina delta 85 dina harbor 88 ivan delta 12 bruno fable 54 hana indigo 8 chen birch 87 bruno amber 21
hana juniper 51 eli birch 40 eli indigo 116 bruno juniper 56 bruno birch 119 ivan birch 55
hana juniper 51 eli birch 40 eli indigo 116 bruno juniper 56 bruno birch 119 ivan birch 55
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034977-p1
Remove leading and trailing whitespace and reduce internal whitespace sequences to single spaces.
{$1=$1;print}
gus amber 71 ivan amber 107 dina delta 85 dina harbor 88 ivan delta 12 bruno fable 54 hana indigo 8 chen birch 87 bruno amber 21
gus amber 71 ivan amber 107 dina delta 85 dina harbor 88 ivan delta 12 bruno fable 54 hana indigo 8 chen birch 87 bruno amber 21
hana juniper 51 eli birch 40 eli indigo 116 bruno juniper 56 bruno birch 119 ivan birch 55
hana juniper 51 eli birch 40 eli indigo 116 bruno juniper 56 bruno birch 119 ivan birch 55
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034977
qwen/qwen3.7-plus
awkweave-0034978
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules indigo 74 ready hana indigo 103 paused hana fable 94 active lina ember 75 paused lina cobalt 103 closed lina juniper 56 closed
hana indigo 103 paused
bruno fable 70 ready kim delta 26 ready chen juniper 80 active chen ember 33 closed kim amber 107 paused lina fable 38 failed ivan harbor 89 active lina fable 56 pending jules ember 29 pending
chen juniper 80 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034978-p1
Output the longest line from the input, selecting the first one encountered if there is a tie in length.
{if(length($0)>length(best))best=$0}END{print best}
jules indigo 74 ready hana indigo 103 paused hana fable 94 active lina ember 75 paused lina cobalt 103 closed lina juniper 56 closed
hana indigo 103 paused
bruno fable 70 ready kim delta 26 ready chen juniper 80 active chen ember 33 closed kim amber 107 paused lina fable 38 failed ivan harbor 89 active lina fable 56 pending jules ember 29 pending
chen juniper 80 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034978
qwen/qwen3.7-plus
awkweave-0034979
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
ivan 107 hana 100 alice 91 gus 29 kim 71 chen 41 bruno 92
hana 100 gus 29 chen 41
bruno 77 kim 29 lina 54 farah 29 alice 25 farah 27
kim 29 farah 29 farah 27
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034979-p1
Print every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
ivan 107 hana 100 alice 91 gus 29 kim 71 chen 41 bruno 92
hana 100 gus 29 chen 41
bruno 77 kim 29 lina 54 farah 29 alice 25 farah 27
kim 29 farah 29 farah 27
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034979
qwen/qwen3.7-plus
awkweave-0034980
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma fable 106 gamma delta 1 gamma harbor 95 delta birch 13 beta amber 88 alpha delta 90 alpha ember 67 beta grove 60 beta fable 110 delta ember 54
4
delta indigo 117 alpha grove 109 delta juniper 85 gamma juniper 25 gamma fable 59 alpha juniper 29 delta delta 78 beta amber 66
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034980-p1
Calculate and output only the number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
gamma fable 106 gamma delta 1 gamma harbor 95 delta birch 13 beta amber 88 alpha delta 90 alpha ember 67 beta grove 60 beta fable 110 delta ember 54
4
delta indigo 117 alpha grove 109 delta juniper 85 gamma juniper 25 gamma fable 59 alpha juniper 29 delta delta 78 beta amber 66
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034980
qwen/qwen3.7-plus
awkweave-0034981
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}
ivan 23 0 alice 25 1 dina 3 8 chen 30 25 eli 10 21 kim 5 22
alice 25.00 dina 0.38 chen 1.20 eli 0.48 kim 0.23
dina 25 0 jules 23 18 lina 3 24 hana 5 3 lina 1 6 lina 10 29 hana 1 4 farah 14 29 ivan 26 3 kim 23 13
jules 1.28 lina 0.12 hana 1.67 lina 0.17 lina 0.34 hana 0.25 farah 0.48 ivan 8.67 kim 1.77
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034981-p1
For each row where the third column is not zero, print the first column and the result of dividing the second column by the third column, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 23 0 alice 25 1 dina 3 8 chen 30 25 eli 10 21 kim 5 22
alice 25.00 dina 0.38 chen 1.20 eli 0.48 kim 0.23
dina 25 0 jules 23 18 lina 3 24 hana 5 3 lina 1 6 lina 10 29 hana 1 4 farah 14 29 ivan 26 3 kim 23 13
jules 1.28 lina 0.12 hana 1.67 lina 0.17 lina 0.34 hana 0.25 farah 0.48 ivan 8.67 kim 1.77
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034981
qwen/qwen3.7-plus
awkweave-0034982
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno birch 16 ivan juniper 26 hana amber 1 gus delta 24 jules juniper 3 ivan ember 26 chen cobalt 18 chen juniper 1 chen indigo 22
ivan juniper 26 ivan ember 26 gus delta 24
chen birch 27 chen delta 1 lina cobalt 1 alice indigo 22 eli harbor 20 hana ember 4 dina amber 5
chen birch 27 alice indigo 22 eli harbor 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034982-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno birch 16 ivan juniper 26 hana amber 1 gus delta 24 jules juniper 3 ivan ember 26 chen cobalt 18 chen juniper 1 chen indigo 22
ivan juniper 26 ivan ember 26 gus delta 24
chen birch 27 chen delta 1 lina cobalt 1 alice indigo 22 eli harbor 20 hana ember 4 dina amber 5
chen birch 27 alice indigo 22 eli harbor 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034982
qwen/qwen3.7-plus
awkweave-0034983
Print column 3 followed by column 1 for every record.
{print $3, $1}
ivan pending farah paused kim paused jules paused kim ready gus paused alice pending alice failed kim ready dina pending farah ready alice paused
farah ivan jules kim gus kim alice alice dina kim alice farah
ivan active alice active eli pending ivan paused gus pending farah pending farah pending kim active ivan paused ivan paused bruno pending kim pending eli closed bruno active chen closed chen paused
alice ivan ivan eli farah gus kim farah ivan ivan kim bruno bruno eli chen chen
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034983-p1
For every record, print the value from column 3 followed by the value from column 1.
{print $3, $1}
ivan pending farah paused kim paused jules paused kim ready gus paused alice pending alice failed kim ready dina pending farah ready alice paused
farah ivan jules kim gus kim alice alice dina kim alice farah
ivan active alice active eli pending ivan paused gus pending farah pending farah pending kim active ivan paused ivan paused bruno pending kim pending eli closed bruno active chen closed chen paused
alice ivan ivan eli farah gus kim farah ivan ivan kim bruno bruno eli chen chen
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034983
qwen/qwen3.7-plus
awkweave-0034984
Print the last field of every input line.
{print $NF}
cobalt kim amber amber farah ember delta lina harbor birch lina juniper fable alice fable delta hana fable amber jules amber cobalt bruno cobalt juniper farah grove
amber ember harbor juniper fable fable amber cobalt grove
indigo hana amber harbor gus indigo indigo hana birch indigo gus birch harbor chen amber juniper chen ember
amber indigo birch birch amber ember
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034984-p1
Output the last field of each input line.
{print $NF}
cobalt kim amber amber farah ember delta lina harbor birch lina juniper fable alice fable delta hana fable amber jules amber cobalt bruno cobalt juniper farah grove
amber ember harbor juniper fable fable amber cobalt grove
indigo hana amber harbor gus indigo indigo hana birch indigo gus birch harbor chen amber juniper chen ember
amber indigo birch birch amber ember
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034984
qwen/qwen3.7-plus
awkweave-0034985
Print the complete records where column 3 is less than 32.
$3 < 32
cobalt birch 30 dina failed delta juniper 114 chen pending grove ember 30 ivan paused amber cobalt 69 ivan closed birch amber 87 lina closed amber amber 65 gus pending
cobalt birch 30 dina failed grove ember 30 ivan paused
harbor grove 28 chen pending juniper cobalt 9 gus closed amber indigo 91 alice failed cobalt amber 28 chen pending indigo fable 14 gus pending grove harbor 107 alice closed cobalt ember 16 gus failed birch fable 98 kim pending fable indigo 71 chen pending
harbor grove 28 chen pending juniper cobalt 9 gus closed cobalt amber 28 chen pending indigo fable 14 gus pending cobalt ember 16 gus failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034985-p1
Print the full records for which the value in column 3 is strictly less than 32.
$3 < 32
cobalt birch 30 dina failed delta juniper 114 chen pending grove ember 30 ivan paused amber cobalt 69 ivan closed birch amber 87 lina closed amber amber 65 gus pending
cobalt birch 30 dina failed grove ember 30 ivan paused
harbor grove 28 chen pending juniper cobalt 9 gus closed amber indigo 91 alice failed cobalt amber 28 chen pending indigo fable 14 gus pending grove harbor 107 alice closed cobalt ember 16 gus failed birch fable 98 kim pending fable indigo 71 chen pending
harbor grove 28 chen pending juniper cobalt 9 gus closed cobalt amber 28 chen pending indigo fable 14 gus pending cobalt ember 16 gus failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034985
qwen/qwen3.7-plus
awkweave-0034986
Show whole lines whose 1st field is between 10 and 27, inclusive.
$1 >= 10 && $1 <= 27
30 closed closed paused 10 active failed active 17 pending pending failed 21 closed failed ready 14 active pending pending 12 active closed pending
10 active failed active 17 pending pending failed 21 closed failed ready 14 active pending pending 12 active closed pending
25 paused active ready 6 pending ready paused 4 pending paused active 29 failed closed failed 3 failed active paused 23 active pending closed 4 failed paused active 18 closed paused ready 15 ready ready paused 6 ready closed paused
25 paused active ready 23 active pending closed 18 closed paused ready 15 ready ready paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034986-p1
Display entire lines where the first field has a numeric value between 10 and 27, inclusive.
$1 >= 10 && $1 <= 27
30 closed closed paused 10 active failed active 17 pending pending failed 21 closed failed ready 14 active pending pending 12 active closed pending
10 active failed active 17 pending pending failed 21 closed failed ready 14 active pending pending 12 active closed pending
25 paused active ready 6 pending ready paused 4 pending paused active 29 failed closed failed 3 failed active paused 23 active pending closed 4 failed paused active 18 closed paused ready 15 ready ready paused 6 ready closed paused
25 paused active ready 23 active pending closed 18 closed paused ready 15 ready ready paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034986
qwen/qwen3.7-plus
awkweave-0034987
Print column 2 only for rows where column 3 is exactly closed.
$3 == "closed"{print $2}
grove kim ready 102 grove bruno active 96 harbor hana pending 31 harbor kim active 90 birch dina paused 56 juniper dina failed 98 fable chen closed 45 birch hana failed 98 fable gus paused 112 ember hana ready 74
chen
harbor alice closed 7 grove lina pending 6 cobalt bruno closed 49 indigo lina paused 66 juniper farah active 60 grove chen active 74
alice bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034987-p1
Print only the second column for rows where the third column contains the exact value 'closed'.
$3 == "closed"{print $2}
grove kim ready 102 grove bruno active 96 harbor hana pending 31 harbor kim active 90 birch dina paused 56 juniper dina failed 98 fable chen closed 45 birch hana failed 98 fable gus paused 112 ember hana ready 74
chen
harbor alice closed 7 grove lina pending 6 cobalt bruno closed 49 indigo lina paused 66 juniper farah active 60 grove chen active 74
alice bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034987
qwen/qwen3.7-plus
awkweave-0034988
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR juniper 98 WARN fable 27 WARN ember 45 ERROR juniper 58 DEBUG amber 1 INFO cobalt 91 WARN ember 89 INFO indigo 36
ERROR juniper 98 ERROR juniper 58
WARN cobalt 110 DEBUG amber 69 INFO grove 66 WARN amber 45 INFO indigo 43 WARN ember 92
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034988-p1
Output all fields from any line where the first field starts with the string 'ERROR'.
$1 ~ /^ERROR/
ERROR juniper 98 WARN fable 27 WARN ember 45 ERROR juniper 58 DEBUG amber 1 INFO cobalt 91 WARN ember 89 INFO indigo 36
ERROR juniper 98 ERROR juniper 58
WARN cobalt 110 DEBUG amber 69 INFO grove 66 WARN amber 45 INFO indigo 43 WARN ember 92
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034988
qwen/qwen3.7-plus
awkweave-0034989
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
delta 14 pending delta 76 closed birch 51 closed fable 86 pending indigo 25 failed cobalt 6 closed juniper 93 paused grove 106 paused harbor 37 closed ember 44 failed harbor 999 active
delta 14 pending delta 76 closed birch 51 closed fable 86 pending indigo 25 failed cobalt 6 closed juniper 93 paused grove 106 paused ember 44 failed
birch 69 paused delta 71 ready ember 60 closed cobalt 52 closed grove 35 paused ember 95 closed harbor 43 pending ember 15 ready ember 105 failed harbor 999 active
birch 69 paused delta 71 ready ember 60 closed cobalt 52 closed grove 35 paused ember 95 closed ember 15 ready ember 105 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034989-p1
Print every line from the input that does not contain the exact substring 'harbor'.
$0 !~ /harbor/
delta 14 pending delta 76 closed birch 51 closed fable 86 pending indigo 25 failed cobalt 6 closed juniper 93 paused grove 106 paused harbor 37 closed ember 44 failed harbor 999 active
delta 14 pending delta 76 closed birch 51 closed fable 86 pending indigo 25 failed cobalt 6 closed juniper 93 paused grove 106 paused ember 44 failed
birch 69 paused delta 71 ready ember 60 closed cobalt 52 closed grove 35 paused ember 95 closed harbor 43 pending ember 15 ready ember 105 failed harbor 999 active
birch 69 paused delta 71 ready ember 60 closed cobalt 52 closed grove 35 paused ember 95 closed ember 15 ready ember 105 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034989
qwen/qwen3.7-plus
awkweave-0035000
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
kim cobalt 59 dina fable 33 chen indigo 33 kim indigo 34 lina amber 113 kim fable 43
kim cobalt 59 dina fable 33 chen indigo 33 lina amber 113
kim birch 93 hana ember 38 chen juniper 8 bruno amber 62 hana indigo 64 dina grove 72 dina birch 71
kim birch 93 hana ember 38 chen juniper 8 bruno amber 62 hana indigo 64 dina grove 72
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035000-p1
Retain only the first occurrence of each unique value in column 2, maintaining the original input sequence.
!seen[$2]++
kim cobalt 59 dina fable 33 chen indigo 33 kim indigo 34 lina amber 113 kim fable 43
kim cobalt 59 dina fable 33 chen indigo 33 lina amber 113
kim birch 93 hana ember 38 chen juniper 8 bruno amber 62 hana indigo 64 dina grove 72 dina birch 71
kim birch 93 hana ember 38 chen juniper 8 bruno amber 62 hana indigo 64 dina grove 72
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035000
qwen/qwen3.7-plus
awkweave-0035001
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 29 cobalt dina 19 amber chen 27 harbor farah 14 harbor gus 22 ember farah 8 juniper eli 4 fable bruno 24 fable eli 17 harbor eli 25 ember
jules 29 dina 48 chen 75 farah 89 gus 111 farah 119 eli 123 bruno 147 eli 164 eli 189
kim 21 birch alice 26 juniper eli 16 grove jules 23 fable dina 22 ember chen 5 grove
kim 21 alice 47 eli 63 jules 86 dina 108 chen 113
running_total
2
train
original-grammar
CC-BY-4.0
null
null