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-0003000-p1
Output the total number of unique entries found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
alpha ember 120 gamma delta 1 beta indigo 38 delta fable 108 beta grove 108 delta fable 9 delta cobalt 92 gamma amber 32 alpha ember 113 delta fable 45
4
delta delta 0 alpha juniper 79 alpha fable 2 delta delta 100 gamma birch 99 beta indigo 97
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003000
qwen/qwen3.7-plus
awkweave-0003001
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 4 0 farah 11 2 bruno 5 5 lina 25 30 lina 16 16 kim 19 29 alice 17 5
farah 5.50 bruno 1.00 lina 0.83 lina 1.00 kim 0.66 alice 3.40
lina 3 0 lina 15 19 kim 28 27 farah 11 14 farah 5 22 lina 12 30 farah 13 21
lina 0.79 kim 1.04 farah 0.79 farah 0.23 lina 0.40 farah 0.62
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003001-p1
For every row where the third column is not zero, display the first and second columns along with the result of dividing the second by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 4 0 farah 11 2 bruno 5 5 lina 25 30 lina 16 16 kim 19 29 alice 17 5
farah 5.50 bruno 1.00 lina 0.83 lina 1.00 kim 0.66 alice 3.40
lina 3 0 lina 15 19 kim 28 27 farah 11 14 farah 5 22 lina 12 30 farah 13 21
lina 0.79 kim 1.04 farah 0.79 farah 0.23 lina 0.40 farah 0.62
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003001
qwen/qwen3.7-plus
awkweave-0003002
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus ember 8 hana birch 19 dina amber 13 kim indigo 16 ivan fable 2 farah cobalt 24 kim indigo 17 jules indigo 8 jules ember 25
jules ember 25 farah cobalt 24 hana birch 19
jules fable 22 jules fable 10 hana ember 27 hana ember 28 farah harbor 6 dina harbor 9
hana ember 28 hana ember 27 jules fable 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003002-p1
List the full rows corresponding to the three largest values in column 3, sorted in descending order; maintain 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]}
gus ember 8 hana birch 19 dina amber 13 kim indigo 16 ivan fable 2 farah cobalt 24 kim indigo 17 jules indigo 8 jules ember 25
jules ember 25 farah cobalt 24 hana birch 19
jules fable 22 jules fable 10 hana ember 27 hana ember 28 farah harbor 6 dina harbor 9
hana ember 28 hana ember 27 jules fable 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003002
qwen/qwen3.7-plus
awkweave-0003003
Print column 4 followed by column 1 for every record.
{print $4, $1}
amber fable 93 pending lina juniper ember 116 paused dina ember ember 78 pending lina juniper delta 27 paused lina harbor juniper 85 closed farah grove cobalt 90 active dina harbor ember 30 closed dina juniper amber 114 paused jules amber delta 28 closed lina
pending amber paused juniper pending ember paused juniper closed harbor active grove closed harbor paused juniper closed amber
fable juniper 92 active lina harbor grove 76 ready kim indigo ember 66 ready ivan delta fable 70 closed gus amber ember 67 failed gus fable harbor 90 failed farah
active fable ready harbor ready indigo closed delta failed amber failed fable
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003003-p1
Display the fourth column followed by the first column for each entry.
{print $4, $1}
amber fable 93 pending lina juniper ember 116 paused dina ember ember 78 pending lina juniper delta 27 paused lina harbor juniper 85 closed farah grove cobalt 90 active dina harbor ember 30 closed dina juniper amber 114 paused jules amber delta 28 closed lina
pending amber paused juniper pending ember paused juniper closed harbor active grove closed harbor paused juniper closed amber
fable juniper 92 active lina harbor grove 76 ready kim indigo ember 66 ready ivan delta fable 70 closed gus amber ember 67 failed gus fable harbor 90 failed farah
active fable ready harbor ready indigo closed delta failed amber failed fable
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003003
qwen/qwen3.7-plus
awkweave-0003004
Print the last field of every input line.
{print $NF}
lina closed closed 37 97 active farah paused ready 78 72 ready kim failed pending 101 58 ready hana pending ready 112 23 paused lina closed active 61 99 pending dina paused active 34 56 active ivan failed paused 54 73 active eli closed ready 25 95 ready eli active failed 107 14 ready jules paused active 10 118 failed
active ready ready paused pending active active ready ready failed
alice pending ready 68 35 active ivan paused pending 54 117 ready alice paused closed 55 58 failed hana pending closed 47 109 paused eli active paused 18 78 paused ivan closed active 111 71 closed
active ready failed paused paused closed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003004-p1
Output the final field from every line of input.
{print $NF}
lina closed closed 37 97 active farah paused ready 78 72 ready kim failed pending 101 58 ready hana pending ready 112 23 paused lina closed active 61 99 pending dina paused active 34 56 active ivan failed paused 54 73 active eli closed ready 25 95 ready eli active failed 107 14 ready jules paused active 10 118 failed
active ready ready paused pending active active ready ready failed
alice pending ready 68 35 active ivan paused pending 54 117 ready alice paused closed 55 58 failed hana pending closed 47 109 paused eli active paused 18 78 paused ivan closed active 111 71 closed
active ready failed paused paused closed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003004
qwen/qwen3.7-plus
awkweave-0003005
Print the complete records where column 3 is at least 44.
$3 >= 44
pending dina 77 gus failed ivan 22 bruno ready bruno 13 bruno failed dina 7 eli active hana 84 alice failed lina 46 kim ready ivan 34 bruno ready kim 59 bruno closed gus 97 lina
pending dina 77 gus active hana 84 alice failed lina 46 kim ready kim 59 bruno closed gus 97 lina
ready lina 60 bruno paused chen 29 alice failed bruno 105 lina active hana 36 alice active alice 75 alice closed ivan 82 kim failed kim 20 hana
ready lina 60 bruno failed bruno 105 lina active alice 75 alice closed ivan 82 kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003005-p1
Print the entire records for which the value in column 3 is greater than or equal to 44.
$3 >= 44
pending dina 77 gus failed ivan 22 bruno ready bruno 13 bruno failed dina 7 eli active hana 84 alice failed lina 46 kim ready ivan 34 bruno ready kim 59 bruno closed gus 97 lina
pending dina 77 gus active hana 84 alice failed lina 46 kim ready kim 59 bruno closed gus 97 lina
ready lina 60 bruno paused chen 29 alice failed bruno 105 lina active hana 36 alice active alice 75 alice closed ivan 82 kim failed kim 20 hana
ready lina 60 bruno failed bruno 105 lina active alice 75 alice closed ivan 82 kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003005
qwen/qwen3.7-plus
awkweave-0003006
Show whole lines whose 3rd field is between 9 and 21, inclusive.
$3 >= 9 && $3 <= 21
ember ivan 15 failed harbor gus 2 failed amber ivan 24 paused ember kim 12 paused indigo jules 2 ready juniper kim 5 active
ember ivan 15 failed ember kim 12 paused
juniper hana 12 closed juniper jules 21 pending ember dina 11 closed amber ivan 20 active indigo farah 11 pending ember farah 8 pending
juniper hana 12 closed juniper jules 21 pending ember dina 11 closed amber ivan 20 active indigo farah 11 pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003006-p1
Display complete lines where the third field falls within the inclusive range of 9 to 21.
$3 >= 9 && $3 <= 21
ember ivan 15 failed harbor gus 2 failed amber ivan 24 paused ember kim 12 paused indigo jules 2 ready juniper kim 5 active
ember ivan 15 failed ember kim 12 paused
juniper hana 12 closed juniper jules 21 pending ember dina 11 closed amber ivan 20 active indigo farah 11 pending ember farah 8 pending
juniper hana 12 closed juniper jules 21 pending ember dina 11 closed amber ivan 20 active indigo farah 11 pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003006
qwen/qwen3.7-plus
awkweave-0003007
Print column 3 only for rows where column 1 is exactly pending.
$1 == "pending"{print $3}
pending harbor alice 2 paused ember alice 30 closed harbor chen 29 paused amber kim 88 active amber farah 19 closed juniper dina 96
alice
closed amber chen 11 pending ember dina 78 paused delta jules 0 closed grove dina 15 closed birch eli 17 paused harbor bruno 43
dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003007-p1
Output only the third column for rows where the first column matches 'pending' exactly.
$1 == "pending"{print $3}
pending harbor alice 2 paused ember alice 30 closed harbor chen 29 paused amber kim 88 active amber farah 19 closed juniper dina 96
alice
closed amber chen 11 pending ember dina 78 paused delta jules 0 closed grove dina 15 closed birch eli 17 paused harbor bruno 43
dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003007
qwen/qwen3.7-plus
awkweave-0003008
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
47 grove ERROR 117 ember WARN 10 indigo DEBUG 104 indigo INFO 30 indigo DEBUG 92 delta WARN 24 grove INFO 36 birch ERROR 86 birch WARN
117 ember WARN 92 delta WARN 86 birch WARN
49 grove WARN 88 juniper INFO 49 cobalt INFO 1 birch ERROR 116 amber DEBUG 60 fable ERROR 33 harbor DEBUG 36 delta WARN 86 juniper DEBUG 107 harbor DEBUG
49 grove WARN 36 delta WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003008-p1
Print all fields from lines where the third field starts with the string 'WARN'.
$3 ~ /^WARN/
47 grove ERROR 117 ember WARN 10 indigo DEBUG 104 indigo INFO 30 indigo DEBUG 92 delta WARN 24 grove INFO 36 birch ERROR 86 birch WARN
117 ember WARN 92 delta WARN 86 birch WARN
49 grove WARN 88 juniper INFO 49 cobalt INFO 1 birch ERROR 116 amber DEBUG 60 fable ERROR 33 harbor DEBUG 36 delta WARN 86 juniper DEBUG 107 harbor DEBUG
49 grove WARN 36 delta WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003008
qwen/qwen3.7-plus
awkweave-0003009
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
delta 20 closed birch 58 active delta 61 ready ember 107 pending ember 30 ready grove 62 ready delta 115 ready harbor 999 active
delta 20 closed birch 58 active delta 61 ready ember 107 pending ember 30 ready grove 62 ready delta 115 ready
ember 68 failed harbor 93 closed indigo 26 ready grove 47 paused cobalt 112 ready juniper 120 pending amber 28 active fable 59 ready fable 4 ready indigo 91 paused harbor 999 active
ember 68 failed indigo 26 ready grove 47 paused cobalt 112 ready juniper 120 pending amber 28 active fable 59 ready fable 4 ready indigo 91 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003009-p1
Output every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
delta 20 closed birch 58 active delta 61 ready ember 107 pending ember 30 ready grove 62 ready delta 115 ready harbor 999 active
delta 20 closed birch 58 active delta 61 ready ember 107 pending ember 30 ready grove 62 ready delta 115 ready
ember 68 failed harbor 93 closed indigo 26 ready grove 47 paused cobalt 112 ready juniper 120 pending amber 28 active fable 59 ready fable 4 ready indigo 91 paused harbor 999 active
ember 68 failed indigo 26 ready grove 47 paused cobalt 112 ready juniper 120 pending amber 28 active fable 59 ready fable 4 ready indigo 91 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003009
qwen/qwen3.7-plus
awkweave-0003010
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
chen indigo 95 alice delta 4 jules grove 117 ivan cobalt 43 jules juniper 74 jules delta 92 hana ember 76 jules delta 13 eli juniper 15
jules grove 117 ivan cobalt 43
alice birch 89 ivan fable 10 lina indigo 54 lina grove 11 gus fable 45 lina juniper 32 farah cobalt 39
lina indigo 54 lina grove 11
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003010-p1
Print lines 3 and 4, inclusive.
NR >= 3 && NR <= 4
chen indigo 95 alice delta 4 jules grove 117 ivan cobalt 43 jules juniper 74 jules delta 92 hana ember 76 jules delta 13 eli juniper 15
jules grove 117 ivan cobalt 43
alice birch 89 ivan fable 10 lina indigo 54 lina grove 11 gus fable 45 lina juniper 32 farah cobalt 39
lina indigo 54 lina grove 11
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003010
qwen/qwen3.7-plus
awkweave-0003011
Output only the first 2 records.
NR <= 2
kim 70 fable hana 31 birch jules 115 grove alice 78 juniper farah 24 amber hana 6 delta jules 14 fable eli 115 harbor
kim 70 fable hana 31 birch
eli 19 harbor eli 109 delta kim 21 ember gus 4 amber bruno 78 indigo alice 18 delta ivan 50 cobalt lina 16 amber
eli 19 harbor eli 109 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003011-p1
Output only the first 2 records.
NR <= 2
kim 70 fable hana 31 birch jules 115 grove alice 78 juniper farah 24 amber hana 6 delta jules 14 fable eli 115 harbor
kim 70 fable hana 31 birch
eli 19 harbor eli 109 delta kim 21 ember gus 4 amber bruno 78 indigo alice 18 delta ivan 50 cobalt lina 16 amber
eli 19 harbor eli 109 delta
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0003011
qwen/qwen3.7-plus
awkweave-0003012
Skip the first line and print every remaining line unchanged.
NR > 1
kim 58 delta chen 37 amber ivan 99 amber lina 34 grove gus 107 cobalt ivan 33 delta
chen 37 amber ivan 99 amber lina 34 grove gus 107 cobalt ivan 33 delta
kim 34 fable lina 23 indigo chen 78 delta bruno 79 delta gus 17 grove jules 26 juniper jules 79 delta bruno 18 delta dina 81 delta
lina 23 indigo chen 78 delta bruno 79 delta gus 17 grove jules 26 juniper jules 79 delta bruno 18 delta dina 81 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003012-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
kim 58 delta chen 37 amber ivan 99 amber lina 34 grove gus 107 cobalt ivan 33 delta
chen 37 amber ivan 99 amber lina 34 grove gus 107 cobalt ivan 33 delta
kim 34 fable lina 23 indigo chen 78 delta bruno 79 delta gus 17 grove jules 26 juniper jules 79 delta bruno 18 delta dina 81 delta
lina 23 indigo chen 78 delta bruno 79 delta gus 17 grove jules 26 juniper jules 79 delta bruno 18 delta dina 81 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003012
qwen/qwen3.7-plus
awkweave-0003013
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
chen active 73 alice closed 113 lina failed 116 eli closed 15 bruno paused 60 kim pending 91 gus active 102
0
kim pending 99 gus failed 15 dina failed 3 eli ready 50 eli pending 104 alice closed 83 farah ready 73
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003013-p1
Determine the number of entries where the second column contains 'ready', outputting 0 if no such entries exist.
$2 == "ready"{n++}END{print n+0}
chen active 73 alice closed 113 lina failed 116 eli closed 15 bruno paused 60 kim pending 91 gus active 102
0
kim pending 99 gus failed 15 dina failed 3 eli ready 50 eli pending 104 alice closed 83 farah ready 73
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003013
qwen/qwen3.7-plus
awkweave-0003014
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
harbor 9 chen cobalt 13 jules indigo 16 jules ember 20 dina harbor 13 ivan amber 24 dina delta 15 bruno cobalt 13 kim
123
indigo 29 dina cobalt 22 ivan ember 24 gus amber 18 farah juniper 6 ivan ember 4 lina ember 25 hana amber 26 chen amber 12 kim
166
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003014-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
harbor 9 chen cobalt 13 jules indigo 16 jules ember 20 dina harbor 13 ivan amber 24 dina delta 15 bruno cobalt 13 kim
123
indigo 29 dina cobalt 22 ivan ember 24 gus amber 18 farah juniper 6 ivan ember 4 lina ember 25 hana amber 26 chen amber 12 kim
166
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003014
qwen/qwen3.7-plus
awkweave-0003015
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
25 hana amber 5 farah birch 13 bruno amber 7 farah birch 17 kim delta 23 dina fable
15.00
24 hana delta 21 hana fable 13 chen cobalt 11 chen cobalt 14 eli birch 19 hana grove 12 hana delta 23 eli delta 6 ivan juniper
15.89
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003015-p1
Output the average of the values in the first column, formatted to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
25 hana amber 5 farah birch 13 bruno amber 7 farah birch 17 kim delta 23 dina fable
15.00
24 hana delta 21 hana fable 13 chen cobalt 11 chen cobalt 14 eli birch 19 hana grove 12 hana delta 23 eli delta 6 ivan juniper
15.89
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003015
qwen/qwen3.7-plus
awkweave-0003016
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 gus amber 9 jules harbor 23 eli delta 8 hana cobalt 9 hana ember 24 lina juniper 9 chen amber 9 alice indigo
6
11 eli cobalt 27 kim grove 16 eli indigo 20 dina delta 25 ivan cobalt 30 chen amber 14 kim harbor
11
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003016-p1
Identify and display the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 gus amber 9 jules harbor 23 eli delta 8 hana cobalt 9 hana ember 24 lina juniper 9 chen amber 9 alice indigo
6
11 eli cobalt 27 kim grove 16 eli indigo 20 dina delta 25 ivan cobalt 30 chen amber 14 kim harbor
11
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003016
qwen/qwen3.7-plus
awkweave-0003017
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
13 amber bruno 19 juniper chen 22 juniper eli 20 birch kim 12 harbor dina 14 ember kim 17 amber hana 10 ember lina 20 amber lina 11 amber lina
22
26 cobalt kim 5 grove lina 8 fable hana 2 cobalt lina 5 juniper jules 17 cobalt lina 28 cobalt kim 14 grove bruno 26 ember eli
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003017-p1
Identify and display the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
13 amber bruno 19 juniper chen 22 juniper eli 20 birch kim 12 harbor dina 14 ember kim 17 amber hana 10 ember lina 20 amber lina 11 amber lina
22
26 cobalt kim 5 grove lina 8 fable hana 2 cobalt lina 5 juniper jules 17 cobalt lina 28 cobalt kim 14 grove bruno 26 ember eli
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003017
qwen/qwen3.7-plus
awkweave-0003018
Count all input records and print the total.
END{print NR}
eli 17 chen 118 jules 95 lina 96 kim 18 lina 11 farah 22
7
jules 24 kim 73 kim 24 gus 49 bruno 79 dina 33 bruno 47
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003018-p1
Count the total number of input records and print the result.
END{print NR}
eli 17 chen 118 jules 95 lina 96 kim 18 lina 11 farah 22
7
jules 24 kim 73 kim 24 gus 49 bruno 79 dina 33 bruno 47
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003018
qwen/qwen3.7-plus
awkweave-0003019
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus fable 26 farah cobalt 119 eli harbor 107 chen harbor 33 farah cobalt 119 eli ember 23 bruno birch 102 eli grove 67 lina harbor 67 kim delta 67 hana harbor 26
gus fable 26 farah cobalt 119 eli harbor 107 chen harbor 33 eli ember 23 bruno birch 102 eli grove 67 lina harbor 67 kim delta 67 hana harbor 26
lina grove 66 dina indigo 119 alice indigo 9 hana grove 50 eli cobalt 114 chen harbor 102 jules grove 117 lina grove 66 kim fable 10 lina ember 78
lina grove 66 dina indigo 119 alice indigo 9 hana grove 50 eli cobalt 114 chen harbor 102 jules grove 117 kim fable 10 lina ember 78
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003019-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
gus fable 26 farah cobalt 119 eli harbor 107 chen harbor 33 farah cobalt 119 eli ember 23 bruno birch 102 eli grove 67 lina harbor 67 kim delta 67 hana harbor 26
gus fable 26 farah cobalt 119 eli harbor 107 chen harbor 33 eli ember 23 bruno birch 102 eli grove 67 lina harbor 67 kim delta 67 hana harbor 26
lina grove 66 dina indigo 119 alice indigo 9 hana grove 50 eli cobalt 114 chen harbor 102 jules grove 117 lina grove 66 kim fable 10 lina ember 78
lina grove 66 dina indigo 119 alice indigo 9 hana grove 50 eli cobalt 114 chen harbor 102 jules grove 117 kim fable 10 lina ember 78
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003019
qwen/qwen3.7-plus
awkweave-0003020
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
jules delta 86 bruno harbor 27 lina fable 120 jules delta 22 gus harbor 117 gus birch 76 farah grove 120 chen birch 34 bruno grove 20 farah grove 112
jules delta 86 bruno harbor 27 lina fable 120 gus birch 76 farah grove 120
alice amber 101 alice juniper 27 gus indigo 49 bruno ember 87 bruno birch 56 eli delta 0 dina harbor 115 gus ember 91
alice amber 101 alice juniper 27 gus indigo 49 bruno ember 87 bruno birch 56 eli delta 0 dina harbor 115
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003020-p1
Retain only the first occurrence for every unique value in the second column, keeping the original input order.
!seen[$2]++
jules delta 86 bruno harbor 27 lina fable 120 jules delta 22 gus harbor 117 gus birch 76 farah grove 120 chen birch 34 bruno grove 20 farah grove 112
jules delta 86 bruno harbor 27 lina fable 120 gus birch 76 farah grove 120
alice amber 101 alice juniper 27 gus indigo 49 bruno ember 87 bruno birch 56 eli delta 0 dina harbor 115 gus ember 91
alice amber 101 alice juniper 27 gus indigo 49 bruno ember 87 bruno birch 56 eli delta 0 dina harbor 115
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003020
qwen/qwen3.7-plus
awkweave-0003021
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 26 delta chen 16 cobalt dina 17 cobalt lina 9 amber lina 23 ember jules 16 harbor hana 6 indigo bruno 13 fable jules 3 delta
jules 26 chen 42 dina 59 lina 68 lina 91 jules 107 hana 113 bruno 126 jules 129
gus 19 juniper farah 16 delta dina 14 grove alice 23 indigo hana 14 harbor chen 22 indigo kim 19 amber
gus 19 farah 35 dina 49 alice 72 hana 86 chen 108 kim 127
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003021-p1
For each entry, output the value from the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
jules 26 delta chen 16 cobalt dina 17 cobalt lina 9 amber lina 23 ember jules 16 harbor hana 6 indigo bruno 13 fable jules 3 delta
jules 26 chen 42 dina 59 lina 68 lina 91 jules 107 hana 113 bruno 126 jules 129
gus 19 juniper farah 16 delta dina 14 grove alice 23 indigo hana 14 harbor chen 22 indigo kim 19 amber
gus 19 farah 35 dina 49 alice 72 hana 86 chen 108 kim 127
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003021
qwen/qwen3.7-plus
awkweave-0003022
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 21 25 juniper ivan 30 2 ember ivan 9 21 fable jules 20 1 indigo ivan 1 23 amber dina 2 24 cobalt bruno 1 2 juniper eli 25 15 birch bruno 1 3 birch ivan 13 16 indigo
gus 46 ivan 32 ivan 30 jules 21 ivan 24 dina 26 bruno 3 eli 40 bruno 4 ivan 29
kim 18 11 birch farah 21 8 delta chen 13 6 amber farah 13 25 amber gus 20 18 harbor farah 16 9 harbor dina 5 6 amber dina 7 16 amber eli 7 16 cobalt dina 1 1 amber
kim 29 farah 29 chen 19 farah 38 gus 38 farah 25 dina 11 dina 23 eli 23 dina 2
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003022-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
gus 21 25 juniper ivan 30 2 ember ivan 9 21 fable jules 20 1 indigo ivan 1 23 amber dina 2 24 cobalt bruno 1 2 juniper eli 25 15 birch bruno 1 3 birch ivan 13 16 indigo
gus 46 ivan 32 ivan 30 jules 21 ivan 24 dina 26 bruno 3 eli 40 bruno 4 ivan 29
kim 18 11 birch farah 21 8 delta chen 13 6 amber farah 13 25 amber gus 20 18 harbor farah 16 9 harbor dina 5 6 amber dina 7 16 amber eli 7 16 cobalt dina 1 1 amber
kim 29 farah 29 chen 19 farah 38 gus 38 farah 25 dina 11 dina 23 eli 23 dina 2
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003022
qwen/qwen3.7-plus
awkweave-0003023
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
chen 14 kim 23 jules 22 ivan 16 hana 21 ivan 8
chen fail kim fail jules fail ivan fail hana fail ivan fail
farah 22 dina 26 jules 21 lina 15 lina 14 bruno 26 alice 18 hana 2 alice 11 lina 27
farah fail dina fail jules fail lina fail lina fail bruno fail alice fail hana fail alice fail lina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003023-p1
Display the value from the first column along with 'pass' if the second column is 27 or greater, otherwise display 'fail'.
{print $1,($2>=27?"pass":"fail")}
chen 14 kim 23 jules 22 ivan 16 hana 21 ivan 8
chen fail kim fail jules fail ivan fail hana fail ivan fail
farah 22 dina 26 jules 21 lina 15 lina 14 bruno 26 alice 18 hana 2 alice 11 lina 27
farah fail dina fail jules fail lina fail lina fail bruno fail alice fail hana fail alice fail lina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003023
qwen/qwen3.7-plus
awkweave-0003024
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
bruno fable 10 dina amber 41 bruno amber 87 chen birch 49 hana birch 58 gus ember 64 kim harbor 92 jules delta 2
FABLE AMBER AMBER BIRCH BIRCH EMBER HARBOR DELTA
ivan fable 56 bruno harbor 64 bruno harbor 93 ivan delta 114 ivan birch 56 farah ember 74 hana indigo 84 farah delta 116 bruno fable 1
FABLE HARBOR HARBOR DELTA BIRCH EMBER INDIGO DELTA FABLE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003024-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
bruno fable 10 dina amber 41 bruno amber 87 chen birch 49 hana birch 58 gus ember 64 kim harbor 92 jules delta 2
FABLE AMBER AMBER BIRCH BIRCH EMBER HARBOR DELTA
ivan fable 56 bruno harbor 64 bruno harbor 93 ivan delta 114 ivan birch 56 farah ember 74 hana indigo 84 farah delta 116 bruno fable 1
FABLE HARBOR HARBOR DELTA BIRCH EMBER INDIGO DELTA FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003024
qwen/qwen3.7-plus
awkweave-0003025
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
juniper 97 grove 77 cobalt 98 indigo 41 grove 70 amber 97 fable 54
juni grov coba indi grov ambe fabl
indigo 104 juniper 16 fable 97 amber 1 cobalt 106 ember 93 juniper 82 harbor 24 delta 18 birch 110
indi juni fabl ambe coba embe juni harb delt birc
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003025-p1
Extract and print the first 4 characters from column 1.
{print substr($1,1,4)}
juniper 97 grove 77 cobalt 98 indigo 41 grove 70 amber 97 fable 54
juni grov coba indi grov ambe fabl
indigo 104 juniper 16 fable 97 amber 1 cobalt 106 ember 93 juniper 82 harbor 24 delta 18 birch 110
indi juni fabl ambe coba embe juni harb delt birc
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003025
qwen/qwen3.7-plus
awkweave-0003026
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_cobalt 70 grove_delta 95 amber_fable 2 cobalt_ember 0 fable_juniper 5 juniper_cobalt 103 delta_birch 38 cobalt_ember 49 harbor_cobalt 87 cobalt_fable 110
juniper cobalt grove delta amber fable cobalt ember fable juniper juniper cobalt delta birch cobalt ember harbor cobalt cobalt fable
ember_cobalt 64 cobalt_ember 109 fable_ember 107 juniper_harbor 64 ember_harbor 41 harbor_cobalt 1 delta_cobalt 47 harbor_fable 33 indigo_delta 47
ember cobalt cobalt ember fable ember juniper harbor ember harbor harbor cobalt delta cobalt harbor fable indigo delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003026-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
juniper_cobalt 70 grove_delta 95 amber_fable 2 cobalt_ember 0 fable_juniper 5 juniper_cobalt 103 delta_birch 38 cobalt_ember 49 harbor_cobalt 87 cobalt_fable 110
juniper cobalt grove delta amber fable cobalt ember fable juniper juniper cobalt delta birch cobalt ember harbor cobalt cobalt fable
ember_cobalt 64 cobalt_ember 109 fable_ember 107 juniper_harbor 64 ember_harbor 41 harbor_cobalt 1 delta_cobalt 47 harbor_fable 33 indigo_delta 47
ember cobalt cobalt ember fable ember juniper harbor ember harbor harbor cobalt delta cobalt harbor fable indigo delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003026
qwen/qwen3.7-plus
awkweave-0003027
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)}
farah juniper 20 pending dina birch 116 paused chen juniper 64 ready eli birch 63 ready hana delta 21 active kim amber 19 active
pending 20 juniper farah paused 116 birch dina ready 64 juniper chen ready 63 birch eli active 21 delta hana active 19 amber kim
gus cobalt 58 closed eli birch 91 closed ivan birch 24 failed eli fable 15 failed eli indigo 57 paused eli cobalt 46 active eli delta 96 active hana fable 18 pending
closed 58 cobalt gus closed 91 birch eli failed 24 birch ivan failed 15 fable eli paused 57 indigo eli active 46 cobalt eli active 96 delta eli pending 18 fable hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003027-p1
Reverse the sequence of fields in each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
farah juniper 20 pending dina birch 116 paused chen juniper 64 ready eli birch 63 ready hana delta 21 active kim amber 19 active
pending 20 juniper farah paused 116 birch dina ready 64 juniper chen ready 63 birch eli active 21 delta hana active 19 amber kim
gus cobalt 58 closed eli birch 91 closed ivan birch 24 failed eli fable 15 failed eli indigo 57 paused eli cobalt 46 active eli delta 96 active hana fable 18 pending
closed 58 cobalt gus closed 91 birch eli failed 24 birch ivan failed 15 fable eli paused 57 indigo eli active 46 cobalt eli active 96 delta eli pending 18 fable hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003027
qwen/qwen3.7-plus
awkweave-0003028
Print the number of whitespace-separated fields on each line.
{print NF}
eli juniper 68 failed jules grove 78 failed dina fable 117 ready farah harbor 98 paused gus fable 59 paused dina fable 25 closed jules grove 80 ready chen grove 32 closed ivan harbor 76 ready
4 4 4 4 4 4 4 4 4
kim juniper 73 active hana amber 23 failed jules delta 47 closed dina cobalt 81 closed ivan grove 5 paused dina birch 68 ready jules fable 44 paused chen birch 67 closed kim ember 23 ready hana delta 106 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003028-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
eli juniper 68 failed jules grove 78 failed dina fable 117 ready farah harbor 98 paused gus fable 59 paused dina fable 25 closed jules grove 80 ready chen grove 32 closed ivan harbor 76 ready
4 4 4 4 4 4 4 4 4
kim juniper 73 active hana amber 23 failed jules delta 47 closed dina cobalt 81 closed ivan grove 5 paused dina birch 68 ready jules fable 44 paused chen birch 67 closed kim ember 23 ready hana delta 106 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003028
qwen/qwen3.7-plus
awkweave-0003029
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]]}
chen alpha 8 dina beta 108 lina alpha 100 kim delta 98 bruno beta 6 farah gamma 51 lina delta 107 chen alpha 98 bruno delta 73 chen delta 113
alpha 3 beta 2 delta 4 gamma 1
dina delta 116 hana delta 74 kim delta 4 chen beta 61 kim beta 87 ivan beta 94
delta 3 beta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003029-p1
Tally records by column 2 values and list each value with its count, maintaining the 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]]}
chen alpha 8 dina beta 108 lina alpha 100 kim delta 98 bruno beta 6 farah gamma 51 lina delta 107 chen alpha 98 bruno delta 73 chen delta 113
alpha 3 beta 2 delta 4 gamma 1
dina delta 116 hana delta 74 kim delta 4 chen beta 61 kim beta 87 ivan beta 94
delta 3 beta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003029
qwen/qwen3.7-plus
awkweave-0003030
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
bruno beta 14 farah delta 24 alice alpha 21 jules delta 17 eli beta 1 hana delta 10 jules beta 9 dina beta 15
beta 39 delta 51 alpha 21
lina alpha 8 ivan gamma 10 hana delta 5 farah gamma 14 kim beta 28 dina alpha 11 chen gamma 22 ivan delta 28 kim beta 2 jules delta 9
alpha 19 gamma 46 delta 42 beta 30
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003030-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying results in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
bruno beta 14 farah delta 24 alice alpha 21 jules delta 17 eli beta 1 hana delta 10 jules beta 9 dina beta 15
beta 39 delta 51 alpha 21
lina alpha 8 ivan gamma 10 hana delta 5 farah gamma 14 kim beta 28 dina alpha 11 chen gamma 22 ivan delta 28 kim beta 2 jules delta 9
alpha 19 gamma 46 delta 42 beta 30
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003030
qwen/qwen3.7-plus
awkweave-0003031
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 grove 3 gamma grove 114 beta cobalt 92 gamma cobalt 21 beta delta 109 alpha cobalt 41 delta birch 26 beta harbor 58
alpha 2 gamma 2 beta 3
delta indigo 85 delta juniper 31 beta cobalt 89 delta indigo 28 alpha birch 112 gamma ember 91 beta birch 119
delta 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003031-p1
List duplicate values from column 1 alongside their occurrence counts, 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 grove 3 gamma grove 114 beta cobalt 92 gamma cobalt 21 beta delta 109 alpha cobalt 41 delta birch 26 beta harbor 58
alpha 2 gamma 2 beta 3
delta indigo 85 delta juniper 31 beta cobalt 89 delta indigo 28 alpha birch 112 gamma ember 91 beta birch 119
delta 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003031
qwen/qwen3.7-plus
awkweave-0003032
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name region score note r001 bruno 28 failed r002 chen 14 pending r003 jules 7 pending r004 farah 17 closed r005 jules 29 pending r006 lina 6 closed r007 gus 27 closed
bruno chen jules farah jules lina gus
display_name region score note r001 gus 29 ready r002 chen 18 closed r003 ivan 19 failed r004 chen 1 paused r005 bruno 26 active r006 hana 20 failed r007 lina 20 pending r008 kim 15 active
gus chen ivan chen bruno hana lina kim
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003032-p1
Skip the header row and print the region column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name region score note r001 bruno 28 failed r002 chen 14 pending r003 jules 7 pending r004 farah 17 closed r005 jules 29 pending r006 lina 6 closed r007 gus 27 closed
bruno chen jules farah jules lina gus
display_name region score note r001 gus 29 ready r002 chen 18 closed r003 ivan 19 failed r004 chen 1 paused r005 bruno 26 active r006 hana 20 failed r007 lina 20 pending r008 kim 15 active
gus chen ivan chen bruno hana lina kim
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003032
qwen/qwen3.7-plus
awkweave-0003033
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 jules 12 ready r002 bruno 17 failed r003 chen 17 ready r004 chen 4 pending r005 bruno 22 failed r006 ivan 6 paused r007 jules 13 active
jules bruno chen bruno jules
record_id display_name score state r001 farah 7 active r002 ivan 3 failed r003 ivan 21 failed r004 bruno 4 ready r005 kim 23 pending r006 chen 5 closed r007 hana 21 closed
ivan kim hana
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003033-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 jules 12 ready r002 bruno 17 failed r003 chen 17 ready r004 chen 4 pending r005 bruno 22 failed r006 ivan 6 paused r007 jules 13 active
jules bruno chen bruno jules
record_id display_name score state r001 farah 7 active r002 ivan 3 failed r003 ivan 21 failed r004 bruno 4 ready r005 kim 23 pending r006 chen 5 closed r007 hana 21 closed
ivan kim hana
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003033
qwen/qwen3.7-plus
awkweave-0003034
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 6 pending farah 26 paused gus 25 active jules 15 active chen 7 active eli 24 closed farah 18 paused chen 21 pending
6 26 25 15 7 24 18 21
gus 1 failed bruno 22 ready eli 2 ready gus 2 closed hana 13 paused hana 29 failed alice 16 active
1 22 2 2 13 29 16
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003034-p1
Given tab-separated input, output column 2 for every record.
BEGIN{FS=OFS="\t"}{print $2}
eli 6 pending farah 26 paused gus 25 active jules 15 active chen 7 active eli 24 closed farah 18 paused chen 21 pending
6 26 25 15 7 24 18 21
gus 1 failed bruno 22 ready eli 2 ready gus 2 closed hana 13 paused hana 29 failed alice 16 active
1 22 2 2 13 29 16
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003034
qwen/qwen3.7-plus
awkweave-0003035
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
bruno,18,paused kim,16,closed bruno,25,paused hana,27,paused kim,14,ready jules,20,paused
bruno kim bruno hana kim jules
ivan,12,paused lina,7,ready hana,27,pending hana,19,failed bruno,15,failed bruno,9,active lina,4,active
ivan hana hana bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003035-p1
For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
bruno,18,paused kim,16,closed bruno,25,paused hana,27,paused kim,14,ready jules,20,paused
bruno kim bruno hana kim jules
ivan,12,paused lina,7,ready hana,27,pending hana,19,failed bruno,15,failed bruno,9,active lina,4,active
ivan hana hana bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003035
qwen/qwen3.7-plus
awkweave-0003036
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim indigo 62 kim fable 50 jules grove 45 eli cobalt 6 eli fable 59 hana juniper 39 ivan indigo 71
kim indigo 62 kim fable 50 jules grove 45 eli cobalt 6 eli fable 59 hana juniper 39 ivan indigo 71
eli birch 93 alice juniper 88 lina juniper 73 ivan amber 56 kim juniper 102 ivan delta 85 kim juniper 76 kim grove 103 ivan fable 56
eli birch 93 alice juniper 88 lina juniper 73 ivan amber 56 kim juniper 102 ivan delta 85 kim juniper 76 kim grove 103 ivan fable 56
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003036-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
kim indigo 62 kim fable 50 jules grove 45 eli cobalt 6 eli fable 59 hana juniper 39 ivan indigo 71
kim indigo 62 kim fable 50 jules grove 45 eli cobalt 6 eli fable 59 hana juniper 39 ivan indigo 71
eli birch 93 alice juniper 88 lina juniper 73 ivan amber 56 kim juniper 102 ivan delta 85 kim juniper 76 kim grove 103 ivan fable 56
eli birch 93 alice juniper 88 lina juniper 73 ivan amber 56 kim juniper 102 ivan delta 85 kim juniper 76 kim grove 103 ivan fable 56
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003036
qwen/qwen3.7-plus
awkweave-0003037
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim indigo 113 active jules fable 99 pending dina delta 16 pending hana indigo 0 pending lina grove 68 paused kim ember 50 paused farah ember 99 active
jules fable 99 pending
farah amber 98 active farah ember 87 paused gus fable 72 ready lina fable 18 closed lina fable 3 paused alice indigo 104 ready dina grove 52 pending
alice indigo 104 ready
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003037-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
kim indigo 113 active jules fable 99 pending dina delta 16 pending hana indigo 0 pending lina grove 68 paused kim ember 50 paused farah ember 99 active
jules fable 99 pending
farah amber 98 active farah ember 87 paused gus fable 72 ready lina fable 18 closed lina fable 3 paused alice indigo 104 ready dina grove 52 pending
alice indigo 104 ready
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003037
qwen/qwen3.7-plus
awkweave-0003038
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
farah 6 gus 92 jules 64 jules 117 chen 60 gus 116 lina 73 lina 0
gus 92 chen 60 lina 0
chen 12 chen 111 eli 74 ivan 84 eli 42 dina 1 lina 73 jules 67 gus 78
chen 111 eli 42 jules 67
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003038-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, 8, etc.).
NR%3==2
farah 6 gus 92 jules 64 jules 117 chen 60 gus 116 lina 73 lina 0
gus 92 chen 60 lina 0
chen 12 chen 111 eli 74 ivan 84 eli 42 dina 1 lina 73 jules 67 gus 78
chen 111 eli 42 jules 67
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003038
qwen/qwen3.7-plus
awkweave-0003039
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma birch 117 beta juniper 84 gamma juniper 87 alpha fable 50 beta birch 50 beta indigo 18
3
gamma amber 115 alpha birch 97 gamma delta 5 alpha fable 3 gamma fable 8 delta grove 5
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003039-p1
Calculate the number of unique values present in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma birch 117 beta juniper 84 gamma juniper 87 alpha fable 50 beta birch 50 beta indigo 18
3
gamma amber 115 alpha birch 97 gamma delta 5 alpha fable 3 gamma fable 8 delta grove 5
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003039
qwen/qwen3.7-plus
awkweave-0003040
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}
kim 1 0 ivan 24 18 alice 20 24 farah 29 7 eli 8 13 chen 10 7 lina 5 18 gus 7 7 lina 27 23 chen 14 14
ivan 1.33 alice 0.83 farah 4.14 eli 0.62 chen 1.43 lina 0.28 gus 1.00 lina 1.17 chen 1.00
gus 28 0 jules 12 9 chen 7 28 kim 16 17 lina 29 28 hana 11 3 ivan 14 15
jules 1.33 chen 0.25 kim 0.94 lina 1.04 hana 3.67 ivan 0.93
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003040-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 1 0 ivan 24 18 alice 20 24 farah 29 7 eli 8 13 chen 10 7 lina 5 18 gus 7 7 lina 27 23 chen 14 14
ivan 1.33 alice 0.83 farah 4.14 eli 0.62 chen 1.43 lina 0.28 gus 1.00 lina 1.17 chen 1.00
gus 28 0 jules 12 9 chen 7 28 kim 16 17 lina 29 28 hana 11 3 ivan 14 15
jules 1.33 chen 0.25 kim 0.94 lina 1.04 hana 3.67 ivan 0.93
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003040
qwen/qwen3.7-plus
awkweave-0003041
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 ember 11 dina juniper 23 dina fable 4 hana grove 6 kim fable 26 gus harbor 26 eli grove 12 ivan birch 21 chen indigo 15 dina ember 3
kim fable 26 gus harbor 26 dina juniper 23
gus birch 5 bruno amber 24 hana juniper 12 kim ember 22 dina cobalt 16 bruno indigo 3 lina grove 3
bruno amber 24 kim ember 22 dina cobalt 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003041-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 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 ember 11 dina juniper 23 dina fable 4 hana grove 6 kim fable 26 gus harbor 26 eli grove 12 ivan birch 21 chen indigo 15 dina ember 3
kim fable 26 gus harbor 26 dina juniper 23
gus birch 5 bruno amber 24 hana juniper 12 kim ember 22 dina cobalt 16 bruno indigo 3 lina grove 3
bruno amber 24 kim ember 22 dina cobalt 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003041
qwen/qwen3.7-plus
awkweave-0003042
For each line, output fields 3 and 2, in that order.
{print $3, $2}
105 58 closed 85 ready lina 16 66 paused 89 paused farah 114 72 ready 64 active jules 2 68 failed 36 pending gus 51 14 active 109 paused jules 64 66 paused 119 paused kim 110 3 failed 19 active hana 104 95 paused 16 ready dina
closed 58 paused 66 ready 72 failed 68 active 14 paused 66 failed 3 paused 95
84 60 pending 66 active eli 64 104 closed 102 failed gus 78 14 pending 78 paused dina 60 69 closed 81 active kim 21 86 pending 63 failed chen 66 8 paused 116 active hana
pending 60 closed 104 pending 14 closed 69 pending 86 paused 8
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003042-p1
For every line, print the third field followed by the second field.
{print $3, $2}
105 58 closed 85 ready lina 16 66 paused 89 paused farah 114 72 ready 64 active jules 2 68 failed 36 pending gus 51 14 active 109 paused jules 64 66 paused 119 paused kim 110 3 failed 19 active hana 104 95 paused 16 ready dina
closed 58 paused 66 ready 72 failed 68 active 14 paused 66 failed 3 paused 95
84 60 pending 66 active eli 64 104 closed 102 failed gus 78 14 pending 78 paused dina 60 69 closed 81 active kim 21 86 pending 63 failed chen 66 8 paused 116 active hana
pending 60 closed 104 pending 14 closed 69 pending 86 paused 8
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003042
qwen/qwen3.7-plus
awkweave-0003043
Print the last field of every input line.
{print $NF}
106 delta grove 93 72 jules 55 23 fable juniper 32 30 lina 30 59 juniper delta 82 30 bruno 41 50 ember harbor 94 40 bruno 78 4 harbor cobalt 73 46 eli 42 100 fable grove 3 108 eli 80
55 30 41 78 42 80
33 ember delta 117 67 dina 2 2 cobalt birch 98 89 bruno 70 19 grove fable 81 14 bruno 89 43 delta juniper 57 60 kim 72 70 grove grove 53 87 hana 79 74 delta indigo 3 5 farah 102 108 birch juniper 4 83 jules 70 40 fable juniper 42 105 eli 26 58 delta cobalt 54 29 farah 105 45 cobalt harbor 98 120 kim 87
2 70 89 72 79 102 70 26 105 87
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003043-p1
Output the final field from each input line.
{print $NF}
106 delta grove 93 72 jules 55 23 fable juniper 32 30 lina 30 59 juniper delta 82 30 bruno 41 50 ember harbor 94 40 bruno 78 4 harbor cobalt 73 46 eli 42 100 fable grove 3 108 eli 80
55 30 41 78 42 80
33 ember delta 117 67 dina 2 2 cobalt birch 98 89 bruno 70 19 grove fable 81 14 bruno 89 43 delta juniper 57 60 kim 72 70 grove grove 53 87 hana 79 74 delta indigo 3 5 farah 102 108 birch juniper 4 83 jules 70 40 fable juniper 42 105 eli 26 58 delta cobalt 54 29 farah 105 45 cobalt harbor 98 120 kim 87
2 70 89 72 79 102 70 26 105 87
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003043
qwen/qwen3.7-plus
awkweave-0003044
Print the complete records where column 3 is greater than 54.
$3 > 54
pending lina 102 ready amber active chen 68 closed harbor active kim 11 ready birch ready farah 114 ready ember paused alice 69 active delta closed eli 116 closed juniper failed chen 42 paused fable closed hana 16 active fable
pending lina 102 ready amber active chen 68 closed harbor ready farah 114 ready ember paused alice 69 active delta closed eli 116 closed juniper
closed gus 113 paused cobalt paused bruno 47 paused fable pending gus 20 failed juniper active dina 4 closed harbor ready eli 98 pending grove active lina 119 failed grove failed jules 43 ready grove pending dina 59 ready ember
closed gus 113 paused cobalt ready eli 98 pending grove active lina 119 failed grove pending dina 59 ready ember
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003044-p1
Print the entire records for which the value in column 3 exceeds 54.
$3 > 54
pending lina 102 ready amber active chen 68 closed harbor active kim 11 ready birch ready farah 114 ready ember paused alice 69 active delta closed eli 116 closed juniper failed chen 42 paused fable closed hana 16 active fable
pending lina 102 ready amber active chen 68 closed harbor ready farah 114 ready ember paused alice 69 active delta closed eli 116 closed juniper
closed gus 113 paused cobalt paused bruno 47 paused fable pending gus 20 failed juniper active dina 4 closed harbor ready eli 98 pending grove active lina 119 failed grove failed jules 43 ready grove pending dina 59 ready ember
closed gus 113 paused cobalt ready eli 98 pending grove active lina 119 failed grove pending dina 59 ready ember
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003044
qwen/qwen3.7-plus
awkweave-0003045
Show whole lines whose 3rd field is between 12 and 27, inclusive.
$3 >= 12 && $3 <= 27
paused ready 26 ember active ready 8 fable failed paused 11 ember closed failed 24 juniper paused active 29 amber closed failed 7 amber active ready 19 fable pending active 16 cobalt failed closed 8 indigo
paused ready 26 ember closed failed 24 juniper active ready 19 fable pending active 16 cobalt
closed closed 22 birch closed pending 22 birch active pending 3 indigo pending closed 3 cobalt pending active 11 fable pending pending 29 cobalt ready paused 17 indigo paused closed 6 juniper
closed closed 22 birch closed pending 22 birch ready paused 17 indigo
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003045-p1
Display complete lines where the third field has a value between 12 and 27, inclusive.
$3 >= 12 && $3 <= 27
paused ready 26 ember active ready 8 fable failed paused 11 ember closed failed 24 juniper paused active 29 amber closed failed 7 amber active ready 19 fable pending active 16 cobalt failed closed 8 indigo
paused ready 26 ember closed failed 24 juniper active ready 19 fable pending active 16 cobalt
closed closed 22 birch closed pending 22 birch active pending 3 indigo pending closed 3 cobalt pending active 11 fable pending pending 29 cobalt ready paused 17 indigo paused closed 6 juniper
closed closed 22 birch closed pending 22 birch ready paused 17 indigo
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003045
qwen/qwen3.7-plus
awkweave-0003046
Print column 4 only for rows where column 2 is exactly paused.
$2 == "paused"{print $4}
grove closed 90 dina delta active 81 lina grove pending 105 chen birch pending 46 alice ember active 0 gus delta active 21 bruno fable closed 64 jules grove active 54 eli birch ready 116 kim fable paused 44 chen
chen
amber pending 32 bruno harbor failed 63 dina juniper active 65 hana fable pending 70 ivan harbor active 117 alice harbor failed 31 gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003046-p1
Output only the fourth column for rows where the second column is exactly 'paused'.
$2 == "paused"{print $4}
grove closed 90 dina delta active 81 lina grove pending 105 chen birch pending 46 alice ember active 0 gus delta active 21 bruno fable closed 64 jules grove active 54 eli birch ready 116 kim fable paused 44 chen
chen
amber pending 32 bruno harbor failed 63 dina juniper active 65 hana fable pending 70 ivan harbor active 117 alice harbor failed 31 gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003046
qwen/qwen3.7-plus
awkweave-0003047
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
birch 98 INFO amber 94 DEBUG juniper 91 WARN birch 55 ERROR amber 92 INFO indigo 84 INFO delta 116 ERROR delta 74 INFO cobalt 96 ERROR cobalt 117 ERROR
juniper 91 WARN
delta 2 INFO indigo 28 DEBUG birch 115 DEBUG grove 97 ERROR cobalt 10 WARN cobalt 32 DEBUG harbor 58 WARN
cobalt 10 WARN harbor 58 WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003047-p1
Print all fields from any line where the third field starts with the string 'WARN'.
$3 ~ /^WARN/
birch 98 INFO amber 94 DEBUG juniper 91 WARN birch 55 ERROR amber 92 INFO indigo 84 INFO delta 116 ERROR delta 74 INFO cobalt 96 ERROR cobalt 117 ERROR
juniper 91 WARN
delta 2 INFO indigo 28 DEBUG birch 115 DEBUG grove 97 ERROR cobalt 10 WARN cobalt 32 DEBUG harbor 58 WARN
cobalt 10 WARN harbor 58 WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003047
qwen/qwen3.7-plus
awkweave-0003048
Print every line except those containing the exact text delta.
$0 !~ /delta/
juniper 104 closed fable 10 closed indigo 56 paused grove 45 active birch 115 ready amber 36 failed delta 999 active
juniper 104 closed fable 10 closed indigo 56 paused grove 45 active birch 115 ready amber 36 failed
juniper 87 failed ember 94 pending fable 61 active ember 80 paused delta 20 active fable 4 closed fable 62 closed ember 24 pending indigo 74 pending delta 999 active
juniper 87 failed ember 94 pending fable 61 active ember 80 paused fable 4 closed fable 62 closed ember 24 pending indigo 74 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003048-p1
Output all lines that do not contain the exact string delta.
$0 !~ /delta/
juniper 104 closed fable 10 closed indigo 56 paused grove 45 active birch 115 ready amber 36 failed delta 999 active
juniper 104 closed fable 10 closed indigo 56 paused grove 45 active birch 115 ready amber 36 failed
juniper 87 failed ember 94 pending fable 61 active ember 80 paused delta 20 active fable 4 closed fable 62 closed ember 24 pending indigo 74 pending delta 999 active
juniper 87 failed ember 94 pending fable 61 active ember 80 paused fable 4 closed fable 62 closed ember 24 pending indigo 74 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003048
qwen/qwen3.7-plus
awkweave-0003049
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
lina fable 108 hana harbor 91 farah amber 22 hana juniper 23 alice birch 99 ivan delta 26
hana harbor 91 farah amber 22
eli harbor 91 jules delta 111 eli cobalt 81 jules birch 97 jules fable 22 gus harbor 5
jules delta 111 eli cobalt 81
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003049-p1
Display lines 2 to 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
lina fable 108 hana harbor 91 farah amber 22 hana juniper 23 alice birch 99 ivan delta 26
hana harbor 91 farah amber 22
eli harbor 91 jules delta 111 eli cobalt 81 jules birch 97 jules fable 22 gus harbor 5
jules delta 111 eli cobalt 81
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003049
qwen/qwen3.7-plus
awkweave-0003050
Output only the first 3 records.
NR <= 3
alice 28 delta chen 17 birch kim 101 birch alice 76 birch dina 27 amber dina 42 juniper ivan 40 amber chen 97 cobalt eli 117 ember
alice 28 delta chen 17 birch kim 101 birch
kim 51 amber hana 29 grove alice 83 delta jules 21 birch alice 101 grove farah 27 amber gus 36 grove gus 76 cobalt
kim 51 amber hana 29 grove alice 83 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null