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-0006940-p1
For each row, output column 1 and the result of dividing column 2 by column 3 rounded to two decimal places, omitting rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 7 0 eli 3 7 chen 12 11 gus 18 24 ivan 3 17 chen 3 15 ivan 9 1
eli 0.43 chen 1.09 gus 0.75 ivan 0.18 chen 0.20 ivan 9.00
alice 10 0 lina 18 27 hana 20 3 bruno 20 7 eli 30 10 farah 26 14 ivan 1 25 alice 13 23
lina 0.67 hana 6.67 bruno 2.86 eli 3.00 farah 1.86 ivan 0.04 alice 0.57
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006940
qwen/qwen3.7-plus
awkweave-0006941
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
lina indigo 14 alice ember 8 lina grove 29 ivan amber 9 ivan indigo 13 gus grove 25
lina grove 29 gus grove 25 lina indigo 14
ivan ember 14 hana birch 22 lina amber 18 alice birch 14 lina grove 10 gus cobalt 13 farah harbor 10 hana grove 3
hana birch 22 lina amber 18 ivan ember 14
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006941-p1
Output the three full 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]}
lina indigo 14 alice ember 8 lina grove 29 ivan amber 9 ivan indigo 13 gus grove 25
lina grove 29 gus grove 25 lina indigo 14
ivan ember 14 hana birch 22 lina amber 18 alice birch 14 lina grove 10 gus cobalt 13 farah harbor 10 hana grove 3
hana birch 22 lina amber 18 ivan ember 14
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006941
qwen/qwen3.7-plus
awkweave-0006942
Print column 3 followed by column 1 for every record.
{print $3, $1}
pending chen 119 ember 37 pending ivan 111 birch 14 ready gus 60 birch 5 ready chen 29 indigo 106 closed farah 81 grove 16 closed ivan 111 indigo 99 active ivan 65 ember 89 failed gus 69 birch 10 ready dina 26 birch 36
119 pending 111 pending 60 ready 29 ready 81 closed 111 closed 65 active 69 failed 26 ready
pending alice 90 fable 81 closed dina 31 juniper 6 pending jules 92 juniper 115 failed gus 65 delta 33 active alice 39 delta 61 paused bruno 41 birch 8 active ivan 96 amber 31 failed farah 43 birch 109 failed dina 50 birch 54
90 pending 31 closed 92 pending 65 failed 39 active 41 paused 96 active 43 failed 50 failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006942-p1
Output the third column then the first column for each record.
{print $3, $1}
pending chen 119 ember 37 pending ivan 111 birch 14 ready gus 60 birch 5 ready chen 29 indigo 106 closed farah 81 grove 16 closed ivan 111 indigo 99 active ivan 65 ember 89 failed gus 69 birch 10 ready dina 26 birch 36
119 pending 111 pending 60 ready 29 ready 81 closed 111 closed 65 active 69 failed 26 ready
pending alice 90 fable 81 closed dina 31 juniper 6 pending jules 92 juniper 115 failed gus 65 delta 33 active alice 39 delta 61 paused bruno 41 birch 8 active ivan 96 amber 31 failed farah 43 birch 109 failed dina 50 birch 54
90 pending 31 closed 92 pending 65 failed 39 active 41 paused 96 active 43 failed 50 failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006942
qwen/qwen3.7-plus
awkweave-0006943
Print the last field of every input line.
{print $NF}
ready active fable active failed amber closed failed fable closed ready delta closed ready juniper pending active harbor
fable amber fable delta juniper harbor
paused paused indigo active paused indigo ready failed harbor active pending delta failed paused indigo pending failed harbor
indigo indigo harbor delta indigo harbor
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006943-p1
Display the final field of every input line.
{print $NF}
ready active fable active failed amber closed failed fable closed ready delta closed ready juniper pending active harbor
fable amber fable delta juniper harbor
paused paused indigo active paused indigo ready failed harbor active pending delta failed paused indigo pending failed harbor
indigo indigo harbor delta indigo harbor
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006943
qwen/qwen3.7-plus
awkweave-0006944
Print the complete records where column 1 is at most 51.
$1 <= 51
18 active closed closed 22 paused closed active 21 failed paused failed 39 closed active paused 117 active failed failed 44 closed failed pending 104 closed active paused
18 active closed closed 22 paused closed active 21 failed paused failed 39 closed active paused 44 closed failed pending
17 closed pending pending 76 paused active active 71 active closed pending 10 active failed failed 41 pending pending active 89 ready active paused 91 active active closed 109 failed active failed 95 active closed ready
17 closed pending pending 10 active failed failed 41 pending pending active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006944-p1
Print full records where the value in column 1 is less than or equal to 51.
$1 <= 51
18 active closed closed 22 paused closed active 21 failed paused failed 39 closed active paused 117 active failed failed 44 closed failed pending 104 closed active paused
18 active closed closed 22 paused closed active 21 failed paused failed 39 closed active paused 44 closed failed pending
17 closed pending pending 76 paused active active 71 active closed pending 10 active failed failed 41 pending pending active 89 ready active paused 91 active active closed 109 failed active failed 95 active closed ready
17 closed pending pending 10 active failed failed 41 pending pending active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006944
qwen/qwen3.7-plus
awkweave-0006945
Show whole lines whose 1st field is between 8 and 24, inclusive.
$1 >= 8 && $1 <= 24
22 alice jules chen 4 gus dina chen 4 farah dina dina 17 lina dina alice 18 hana lina alice 23 kim ivan gus 1 bruno dina gus
22 alice jules chen 17 lina dina alice 18 hana lina alice 23 kim ivan gus
25 alice ivan hana 16 kim farah bruno 8 eli gus dina 19 farah gus hana 26 ivan bruno dina 13 chen alice jules 16 eli gus alice 19 jules eli kim 24 gus gus bruno
16 kim farah bruno 8 eli gus dina 19 farah gus hana 13 chen alice jules 16 eli gus alice 19 jules eli kim 24 gus gus bruno
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006945-p1
Show entire lines where the first field falls within the range 8 to 24, inclusive.
$1 >= 8 && $1 <= 24
22 alice jules chen 4 gus dina chen 4 farah dina dina 17 lina dina alice 18 hana lina alice 23 kim ivan gus 1 bruno dina gus
22 alice jules chen 17 lina dina alice 18 hana lina alice 23 kim ivan gus
25 alice ivan hana 16 kim farah bruno 8 eli gus dina 19 farah gus hana 26 ivan bruno dina 13 chen alice jules 16 eli gus alice 19 jules eli kim 24 gus gus bruno
16 kim farah bruno 8 eli gus dina 19 farah gus hana 13 chen alice jules 16 eli gus alice 19 jules eli kim 24 gus gus bruno
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006945
qwen/qwen3.7-plus
awkweave-0006946
Print column 1 only for rows where column 4 is exactly paused.
$4 == "paused"{print $1}
hana amber 99 paused ivan grove 99 ready ivan fable 26 closed dina harbor 113 closed bruno indigo 38 closed lina indigo 112 pending dina juniper 71 failed
hana
hana grove 49 ready alice grove 119 active bruno juniper 30 paused jules fable 72 closed ivan juniper 32 paused hana indigo 17 closed eli indigo 14 failed dina indigo 9 active
bruno ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006946-p1
Output only the first column for rows where the fourth column equals paused.
$4 == "paused"{print $1}
hana amber 99 paused ivan grove 99 ready ivan fable 26 closed dina harbor 113 closed bruno indigo 38 closed lina indigo 112 pending dina juniper 71 failed
hana
hana grove 49 ready alice grove 119 active bruno juniper 30 paused jules fable 72 closed ivan juniper 32 paused hana indigo 17 closed eli indigo 14 failed dina indigo 9 active
bruno ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006946
qwen/qwen3.7-plus
awkweave-0006947
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
96 INFO amber 104 DEBUG birch 88 DEBUG juniper 70 WARN indigo 48 DEBUG harbor 3 ERROR indigo 85 DEBUG ember 102 DEBUG delta
70 WARN indigo
55 WARN cobalt 31 INFO delta 51 DEBUG ember 81 WARN indigo 120 DEBUG indigo 102 WARN indigo 14 ERROR birch 29 ERROR fable
55 WARN cobalt 81 WARN indigo 102 WARN indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006947-p1
Print all fields from lines where the second field starts with WARN.
$2 ~ /^WARN/
96 INFO amber 104 DEBUG birch 88 DEBUG juniper 70 WARN indigo 48 DEBUG harbor 3 ERROR indigo 85 DEBUG ember 102 DEBUG delta
70 WARN indigo
55 WARN cobalt 31 INFO delta 51 DEBUG ember 81 WARN indigo 120 DEBUG indigo 102 WARN indigo 14 ERROR birch 29 ERROR fable
55 WARN cobalt 81 WARN indigo 102 WARN indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006947
qwen/qwen3.7-plus
awkweave-0006948
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
birch 70 ready juniper 88 active fable 52 failed birch 72 closed birch 117 paused juniper 92 closed juniper 33 failed juniper 999 active
birch 70 ready fable 52 failed birch 72 closed birch 117 paused
amber 55 paused fable 27 failed cobalt 23 paused grove 110 active harbor 106 paused ember 47 active juniper 999 active
amber 55 paused fable 27 failed cobalt 23 paused grove 110 active harbor 106 paused ember 47 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006948-p1
Print every line that does not contain the exact string juniper.
$0 !~ /juniper/
birch 70 ready juniper 88 active fable 52 failed birch 72 closed birch 117 paused juniper 92 closed juniper 33 failed juniper 999 active
birch 70 ready fable 52 failed birch 72 closed birch 117 paused
amber 55 paused fable 27 failed cobalt 23 paused grove 110 active harbor 106 paused ember 47 active juniper 999 active
amber 55 paused fable 27 failed cobalt 23 paused grove 110 active harbor 106 paused ember 47 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006948
qwen/qwen3.7-plus
awkweave-0006949
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
lina birch 53 gus indigo 0 kim cobalt 118 hana cobalt 35 chen ember 61 alice birch 91 jules indigo 14 dina juniper 75 gus fable 38 gus delta 116
gus indigo 0 kim cobalt 118 hana cobalt 35 chen ember 61
farah birch 41 gus delta 119 alice indigo 3 chen harbor 103 chen fable 103 hana fable 52 alice birch 72
gus delta 119 alice indigo 3 chen harbor 103 chen fable 103
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006949-p1
Output lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
lina birch 53 gus indigo 0 kim cobalt 118 hana cobalt 35 chen ember 61 alice birch 91 jules indigo 14 dina juniper 75 gus fable 38 gus delta 116
gus indigo 0 kim cobalt 118 hana cobalt 35 chen ember 61
farah birch 41 gus delta 119 alice indigo 3 chen harbor 103 chen fable 103 hana fable 52 alice birch 72
gus delta 119 alice indigo 3 chen harbor 103 chen fable 103
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006949
qwen/qwen3.7-plus
awkweave-0006950
Output only the first 5 records.
NR <= 5
lina 44 ember alice 119 harbor bruno 118 birch hana 37 juniper jules 44 indigo gus 43 cobalt jules 103 fable
lina 44 ember alice 119 harbor bruno 118 birch hana 37 juniper jules 44 indigo
bruno 116 birch farah 48 amber ivan 59 juniper eli 94 ember hana 33 juniper farah 20 amber alice 116 fable
bruno 116 birch farah 48 amber ivan 59 juniper eli 94 ember hana 33 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006950-p1
Display only the first 5 records.
NR <= 5
lina 44 ember alice 119 harbor bruno 118 birch hana 37 juniper jules 44 indigo gus 43 cobalt jules 103 fable
lina 44 ember alice 119 harbor bruno 118 birch hana 37 juniper jules 44 indigo
bruno 116 birch farah 48 amber ivan 59 juniper eli 94 ember hana 33 juniper farah 20 amber alice 116 fable
bruno 116 birch farah 48 amber ivan 59 juniper eli 94 ember hana 33 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006950
qwen/qwen3.7-plus
awkweave-0006951
Skip the first line and print every remaining line unchanged.
NR > 1
lina 35 ember gus 13 fable dina 31 fable kim 17 harbor gus 63 juniper bruno 48 juniper dina 5 indigo ivan 71 cobalt farah 53 grove chen 105 harbor
gus 13 fable dina 31 fable kim 17 harbor gus 63 juniper bruno 48 juniper dina 5 indigo ivan 71 cobalt farah 53 grove chen 105 harbor
farah 7 harbor lina 3 grove eli 82 cobalt ivan 94 juniper kim 62 cobalt bruno 37 harbor kim 48 birch dina 63 delta
lina 3 grove eli 82 cobalt ivan 94 juniper kim 62 cobalt bruno 37 harbor kim 48 birch dina 63 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006951-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
lina 35 ember gus 13 fable dina 31 fable kim 17 harbor gus 63 juniper bruno 48 juniper dina 5 indigo ivan 71 cobalt farah 53 grove chen 105 harbor
gus 13 fable dina 31 fable kim 17 harbor gus 63 juniper bruno 48 juniper dina 5 indigo ivan 71 cobalt farah 53 grove chen 105 harbor
farah 7 harbor lina 3 grove eli 82 cobalt ivan 94 juniper kim 62 cobalt bruno 37 harbor kim 48 birch dina 63 delta
lina 3 grove eli 82 cobalt ivan 94 juniper kim 62 cobalt bruno 37 harbor kim 48 birch dina 63 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006951
qwen/qwen3.7-plus
awkweave-0006952
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
bruno active 21 ivan ready 7 jules active 34 farah paused 14 jules closed 28 alice pending 32 lina failed 83 jules paused 100 jules closed 89
1
bruno active 16 gus ready 100 alice active 96 ivan failed 41 bruno failed 11 kim paused 45
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006952-p1
Count the number of records where column 2 contains ready, printing 0 if none exist.
$2 == "ready"{n++}END{print n+0}
bruno active 21 ivan ready 7 jules active 34 farah paused 14 jules closed 28 alice pending 32 lina failed 83 jules paused 100 jules closed 89
1
bruno active 16 gus ready 100 alice active 96 ivan failed 41 bruno failed 11 kim paused 45
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006952
qwen/qwen3.7-plus
awkweave-0006953
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
17 dina grove 1 alice harbor 14 jules fable 3 chen juniper 9 kim fable 18 gus amber
62
3 farah harbor 12 jules juniper 11 eli juniper 26 gus indigo 17 farah birch 22 bruno delta 21 kim birch 23 farah grove 15 ivan fable 28 chen harbor
178
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006953-p1
Compute and output the sum of integer values in column 1.
{s+=$1}END{print s+0}
17 dina grove 1 alice harbor 14 jules fable 3 chen juniper 9 kim fable 18 gus amber
62
3 farah harbor 12 jules juniper 11 eli juniper 26 gus indigo 17 farah birch 22 bruno delta 21 kim birch 23 farah grove 15 ivan fable 28 chen harbor
178
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006953
qwen/qwen3.7-plus
awkweave-0006954
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana cobalt 24 jules delta 8 kim fable 28 eli delta 8 dina ember 12 farah ember 18 lina ember 24 dina juniper 6 alice harbor 18 eli cobalt 22
16.80
jules ember 5 alice fable 13 alice harbor 17 kim harbor 15 jules delta 21 farah cobalt 10 ivan birch 17 lina juniper 16 alice grove 12 kim cobalt 14
14.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006954-p1
Output the average of the values in column 3, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana cobalt 24 jules delta 8 kim fable 28 eli delta 8 dina ember 12 farah ember 18 lina ember 24 dina juniper 6 alice harbor 18 eli cobalt 22
16.80
jules ember 5 alice fable 13 alice harbor 17 kim harbor 15 jules delta 21 farah cobalt 10 ivan birch 17 lina juniper 16 alice grove 12 kim cobalt 14
14.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006954
qwen/qwen3.7-plus
awkweave-0006955
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 5 farah harbor 13 lina amber 13 kim ember 25 jules grove 23 lina fable 16 chen delta 16 chen
5
indigo 14 chen amber 9 bruno birch 1 eli birch 20 dina ember 4 kim grove 19 dina
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006955-p1
Identify and display the minimum number found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
cobalt 5 farah harbor 13 lina amber 13 kim ember 25 jules grove 23 lina fable 16 chen delta 16 chen
5
indigo 14 chen amber 9 bruno birch 1 eli birch 20 dina ember 4 kim grove 19 dina
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006955
qwen/qwen3.7-plus
awkweave-0006956
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 indigo alice 9 ember bruno 15 delta hana 7 delta farah 1 cobalt lina 14 fable dina 26 grove eli 2 ember hana 16 indigo lina
28
7 indigo alice 23 cobalt dina 15 cobalt ivan 20 ember farah 22 indigo kim 26 amber dina 15 birch kim
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006956-p1
Identify and display the maximum number found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
28 indigo alice 9 ember bruno 15 delta hana 7 delta farah 1 cobalt lina 14 fable dina 26 grove eli 2 ember hana 16 indigo lina
28
7 indigo alice 23 cobalt dina 15 cobalt ivan 20 ember farah 22 indigo kim 26 amber dina 15 birch kim
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006956
qwen/qwen3.7-plus
awkweave-0006957
Count all input records and print the total.
END{print NR}
bruno 58 bruno 59 lina 78 dina 55 eli 21 gus 11 kim 10 bruno 33 lina 95
9
jules 40 dina 21 ivan 14 lina 87 chen 117 kim 24 alice 104 farah 100 alice 46
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006957-p1
Calculate and output the total count of input records.
END{print NR}
bruno 58 bruno 59 lina 78 dina 55 eli 21 gus 11 kim 10 bruno 33 lina 95
9
jules 40 dina 21 ivan 14 lina 87 chen 117 kim 24 alice 104 farah 100 alice 46
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006957
qwen/qwen3.7-plus
awkweave-0006958
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan grove 28 farah juniper 4 alice fable 97 kim juniper 120 farah juniper 4 jules harbor 84 hana juniper 11 alice birch 24 bruno juniper 39
ivan grove 28 farah juniper 4 alice fable 97 kim juniper 120 jules harbor 84 hana juniper 11 alice birch 24 bruno juniper 39
dina cobalt 102 chen delta 97 ivan birch 1 alice delta 96 lina cobalt 93 eli juniper 90 farah delta 15 eli birch 19 dina ember 31 dina ember 31 jules delta 72
dina cobalt 102 chen delta 97 ivan birch 1 alice delta 96 lina cobalt 93 eli juniper 90 farah delta 15 eli birch 19 dina ember 31 jules delta 72
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006958-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
ivan grove 28 farah juniper 4 alice fable 97 kim juniper 120 farah juniper 4 jules harbor 84 hana juniper 11 alice birch 24 bruno juniper 39
ivan grove 28 farah juniper 4 alice fable 97 kim juniper 120 jules harbor 84 hana juniper 11 alice birch 24 bruno juniper 39
dina cobalt 102 chen delta 97 ivan birch 1 alice delta 96 lina cobalt 93 eli juniper 90 farah delta 15 eli birch 19 dina ember 31 dina ember 31 jules delta 72
dina cobalt 102 chen delta 97 ivan birch 1 alice delta 96 lina cobalt 93 eli juniper 90 farah delta 15 eli birch 19 dina ember 31 jules delta 72
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006958
qwen/qwen3.7-plus
awkweave-0006959
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
farah fable 93 bruno fable 39 eli juniper 15 hana birch 62 dina juniper 94 alice grove 110 ivan fable 66 eli indigo 48 lina delta 3 ivan birch 44
farah fable 93 bruno fable 39 eli juniper 15 hana birch 62 dina juniper 94 alice grove 110 ivan fable 66 eli indigo 48 lina delta 3 ivan birch 44
chen cobalt 10 ivan ember 116 chen cobalt 7 jules grove 89 lina juniper 97 hana grove 73 hana ember 70 lina birch 99 ivan harbor 33 eli grove 31
chen cobalt 10 ivan ember 116 chen cobalt 7 jules grove 89 lina juniper 97 hana grove 73 hana ember 70 lina birch 99 ivan harbor 33 eli grove 31
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006959-p1
Retain only the initial line for every unique value in column 3, keeping the original order.
!seen[$3]++
farah fable 93 bruno fable 39 eli juniper 15 hana birch 62 dina juniper 94 alice grove 110 ivan fable 66 eli indigo 48 lina delta 3 ivan birch 44
farah fable 93 bruno fable 39 eli juniper 15 hana birch 62 dina juniper 94 alice grove 110 ivan fable 66 eli indigo 48 lina delta 3 ivan birch 44
chen cobalt 10 ivan ember 116 chen cobalt 7 jules grove 89 lina juniper 97 hana grove 73 hana ember 70 lina birch 99 ivan harbor 33 eli grove 31
chen cobalt 10 ivan ember 116 chen cobalt 7 jules grove 89 lina juniper 97 hana grove 73 hana ember 70 lina birch 99 ivan harbor 33 eli grove 31
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006959
qwen/qwen3.7-plus
awkweave-0006960
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 18 ember farah 1 amber chen 5 delta hana 27 grove alice 10 harbor kim 3 harbor ivan 8 delta lina 5 ember
ivan 18 farah 19 chen 24 hana 51 alice 61 kim 64 ivan 72 lina 77
jules 7 cobalt dina 23 delta kim 3 amber dina 25 amber eli 3 ember bruno 15 indigo hana 9 ember dina 28 fable eli 6 cobalt ivan 3 indigo
jules 7 dina 30 kim 33 dina 58 eli 61 bruno 76 hana 85 dina 113 eli 119 ivan 122
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006960-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 18 ember farah 1 amber chen 5 delta hana 27 grove alice 10 harbor kim 3 harbor ivan 8 delta lina 5 ember
ivan 18 farah 19 chen 24 hana 51 alice 61 kim 64 ivan 72 lina 77
jules 7 cobalt dina 23 delta kim 3 amber dina 25 amber eli 3 ember bruno 15 indigo hana 9 ember dina 28 fable eli 6 cobalt ivan 3 indigo
jules 7 dina 30 kim 33 dina 58 eli 61 bruno 76 hana 85 dina 113 eli 119 ivan 122
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006960
qwen/qwen3.7-plus
awkweave-0006961
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 28 15 juniper jules 23 19 amber bruno 30 28 ember jules 27 20 cobalt kim 29 25 delta chen 1 25 amber eli 11 21 harbor jules 28 20 fable lina 15 18 grove
bruno 43 jules 42 bruno 58 jules 47 kim 54 chen 26 eli 32 jules 48 lina 33
dina 23 11 harbor kim 18 14 fable farah 27 22 delta dina 30 22 harbor eli 20 24 fable chen 21 26 delta farah 24 17 cobalt
dina 34 kim 32 farah 49 dina 52 eli 44 chen 47 farah 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006961-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 28 15 juniper jules 23 19 amber bruno 30 28 ember jules 27 20 cobalt kim 29 25 delta chen 1 25 amber eli 11 21 harbor jules 28 20 fable lina 15 18 grove
bruno 43 jules 42 bruno 58 jules 47 kim 54 chen 26 eli 32 jules 48 lina 33
dina 23 11 harbor kim 18 14 fable farah 27 22 delta dina 30 22 harbor eli 20 24 fable chen 21 26 delta farah 24 17 cobalt
dina 34 kim 32 farah 49 dina 52 eli 44 chen 47 farah 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006961
qwen/qwen3.7-plus
awkweave-0006962
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
chen 15 jules 28 alice 26 dina 14 chen 20 alice 15
chen fail jules pass alice pass dina fail chen fail alice fail
lina 3 bruno 21 jules 22 eli 6 kim 16 dina 24
lina fail bruno pass jules pass eli fail kim fail dina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006962-p1
Output column 1 along with 'pass' if column 2 is 21 or greater, otherwise output 'fail'.
{print $1,($2>=21?"pass":"fail")}
chen 15 jules 28 alice 26 dina 14 chen 20 alice 15
chen fail jules pass alice pass dina fail chen fail alice fail
lina 3 bruno 21 jules 22 eli 6 kim 16 dina 24
lina fail bruno pass jules pass eli fail kim fail dina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006962
qwen/qwen3.7-plus
awkweave-0006963
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
lina ember 28 eli indigo 68 alice ember 11 ivan harbor 57 chen grove 3 ivan cobalt 34 ivan juniper 104
EMBER INDIGO EMBER HARBOR GROVE COBALT JUNIPER
eli amber 72 bruno juniper 53 eli juniper 72 eli indigo 85 dina delta 42 farah grove 85 alice cobalt 69
AMBER JUNIPER JUNIPER INDIGO DELTA GROVE COBALT
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006963-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
lina ember 28 eli indigo 68 alice ember 11 ivan harbor 57 chen grove 3 ivan cobalt 34 ivan juniper 104
EMBER INDIGO EMBER HARBOR GROVE COBALT JUNIPER
eli amber 72 bruno juniper 53 eli juniper 72 eli indigo 85 dina delta 42 farah grove 85 alice cobalt 69
AMBER JUNIPER JUNIPER INDIGO DELTA GROVE COBALT
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006963
qwen/qwen3.7-plus
awkweave-0006964
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
cobalt 106 birch 17 harbor 115 indigo 6 harbor 29 cobalt 4 birch 117
cob bir har ind har cob bir
grove 43 delta 43 harbor 24 grove 29 juniper 39 delta 49 fable 118 cobalt 66 birch 45 grove 117
gro del har gro jun del fab cob bir gro
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006964-p1
Extract and print the first 3 characters from column 1.
{print substr($1,1,3)}
cobalt 106 birch 17 harbor 115 indigo 6 harbor 29 cobalt 4 birch 117
cob bir har ind har cob bir
grove 43 delta 43 harbor 24 grove 29 juniper 39 delta 49 fable 118 cobalt 66 birch 45 grove 117
gro del har gro jun del fab cob bir gro
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006964
qwen/qwen3.7-plus
awkweave-0006965
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_juniper 24 ember_fable 25 delta_ember 52 grove_amber 69 amber_grove 93 grove_juniper 59
grove juniper ember fable delta ember grove amber amber grove grove juniper
juniper_grove 1 harbor_delta 67 indigo_ember 57 delta_ember 70 birch_cobalt 15 juniper_birch 70 delta_ember 94 amber_amber 27
juniper grove harbor delta indigo ember delta ember birch cobalt juniper birch delta ember amber amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006965-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
grove_juniper 24 ember_fable 25 delta_ember 52 grove_amber 69 amber_grove 93 grove_juniper 59
grove juniper ember fable delta ember grove amber amber grove grove juniper
juniper_grove 1 harbor_delta 67 indigo_ember 57 delta_ember 70 birch_cobalt 15 juniper_birch 70 delta_ember 94 amber_amber 27
juniper grove harbor delta indigo ember delta ember birch cobalt juniper birch delta ember amber amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006965
qwen/qwen3.7-plus
awkweave-0006966
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)}
chen juniper 73 ready hana birch 55 closed eli harbor 26 closed kim cobalt 117 pending lina birch 49 paused eli harbor 14 closed
ready 73 juniper chen closed 55 birch hana closed 26 harbor eli pending 117 cobalt kim paused 49 birch lina closed 14 harbor eli
bruno grove 117 active ivan indigo 48 active lina fable 107 ready farah ember 42 paused eli fable 36 failed hana amber 106 ready alice harbor 47 ready
active 117 grove bruno active 48 indigo ivan ready 107 fable lina paused 42 ember farah failed 36 fable eli ready 106 amber hana ready 47 harbor alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006966-p1
Reverse the field order on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen juniper 73 ready hana birch 55 closed eli harbor 26 closed kim cobalt 117 pending lina birch 49 paused eli harbor 14 closed
ready 73 juniper chen closed 55 birch hana closed 26 harbor eli pending 117 cobalt kim paused 49 birch lina closed 14 harbor eli
bruno grove 117 active ivan indigo 48 active lina fable 107 ready farah ember 42 paused eli fable 36 failed hana amber 106 ready alice harbor 47 ready
active 117 grove bruno active 48 indigo ivan ready 107 fable lina paused 42 ember farah failed 36 fable eli ready 106 amber hana ready 47 harbor alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006966
qwen/qwen3.7-plus
awkweave-0006967
Print the number of whitespace-separated fields on each line.
{print NF}
alice grove 19 closed dina birch 11 closed gus juniper 54 active eli indigo 111 ready eli birch 6 ready lina birch 13 closed chen amber 12 ready
4 4 4 4 4 4 4
farah birch 79 closed ivan amber 112 ready dina amber 96 paused alice harbor 10 closed alice cobalt 77 closed kim juniper 66 ready alice juniper 104 ready
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006967-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
alice grove 19 closed dina birch 11 closed gus juniper 54 active eli indigo 111 ready eli birch 6 ready lina birch 13 closed chen amber 12 ready
4 4 4 4 4 4 4
farah birch 79 closed ivan amber 112 ready dina amber 96 paused alice harbor 10 closed alice cobalt 77 closed kim juniper 66 ready alice juniper 104 ready
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006967
qwen/qwen3.7-plus
awkweave-0006968
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 delta 9 gus beta 48 kim beta 16 bruno gamma 46 bruno beta 105 chen delta 101 jules alpha 105 bruno alpha 117 hana gamma 62
delta 2 beta 3 gamma 2 alpha 2
farah gamma 68 farah alpha 22 dina delta 67 jules alpha 16 jules gamma 14 hana beta 9 bruno delta 22
gamma 2 alpha 2 delta 2 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006968-p1
Tally records by the value in column 2, then print each value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
chen delta 9 gus beta 48 kim beta 16 bruno gamma 46 bruno beta 105 chen delta 101 jules alpha 105 bruno alpha 117 hana gamma 62
delta 2 beta 3 gamma 2 alpha 2
farah gamma 68 farah alpha 22 dina delta 67 jules alpha 16 jules gamma 14 hana beta 9 bruno delta 22
gamma 2 alpha 2 delta 2 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006968
qwen/qwen3.7-plus
awkweave-0006969
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]]}
farah beta 25 farah beta 12 bruno beta 21 chen beta 8 jules alpha 12 gus alpha 15 hana alpha 1
beta 66 alpha 28
alice gamma 18 gus gamma 26 bruno gamma 28 chen alpha 28 gus gamma 27 lina delta 16 dina delta 25
gamma 99 alpha 28 delta 41
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006969-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying results in the 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]]}
farah beta 25 farah beta 12 bruno beta 21 chen beta 8 jules alpha 12 gus alpha 15 hana alpha 1
beta 66 alpha 28
alice gamma 18 gus gamma 26 bruno gamma 28 chen alpha 28 gus gamma 27 lina delta 16 dina delta 25
gamma 99 alpha 28 delta 41
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006969
qwen/qwen3.7-plus
awkweave-0006970
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta ember 107 delta indigo 64 gamma grove 51 gamma grove 91 alpha delta 116 alpha amber 117 gamma ember 104 beta juniper 22
beta 2 gamma 3 alpha 2
delta juniper 68 beta indigo 36 gamma harbor 107 alpha amber 87 gamma delta 79 gamma cobalt 56 delta cobalt 62 delta fable 49
delta 3 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006970-p1
List each duplicate value from column 1 with its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta ember 107 delta indigo 64 gamma grove 51 gamma grove 91 alpha delta 116 alpha amber 117 gamma ember 104 beta juniper 22
beta 2 gamma 3 alpha 2
delta juniper 68 beta indigo 36 gamma harbor 107 alpha amber 87 gamma delta 79 gamma cobalt 56 delta cobalt 62 delta fable 49
delta 3 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006970
qwen/qwen3.7-plus
awkweave-0006971
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region record_id state score r001 bruno 13 ready r002 eli 7 active r003 eli 28 failed r004 lina 2 active r005 dina 6 closed r006 alice 7 paused r007 kim 9 ready r008 eli 20 pending r009 ivan 14 paused r010 farah 19 active
ready active failed active closed paused ready pending paused active
region record_id state score r001 eli 29 ready r002 ivan 7 failed r003 eli 15 paused r004 eli 7 ready r005 dina 18 active r006 gus 23 paused r007 ivan 9 pending
ready failed paused ready active paused pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006971-p1
Skip the header row and output the score column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
region record_id state score r001 bruno 13 ready r002 eli 7 active r003 eli 28 failed r004 lina 2 active r005 dina 6 closed r006 alice 7 paused r007 kim 9 ready r008 eli 20 pending r009 ivan 14 paused r010 farah 19 active
ready active failed active closed paused ready pending paused active
region record_id state score r001 eli 29 ready r002 ivan 7 failed r003 eli 15 paused r004 eli 7 ready r005 dina 18 active r006 gus 23 paused r007 ivan 9 pending
ready failed paused ready active paused pending
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006971
qwen/qwen3.7-plus
awkweave-0006972
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 alice 15 ready r002 bruno 27 failed r003 gus 7 failed r004 dina 21 active r005 kim 4 failed r006 hana 13 paused r007 dina 11 pending r008 dina 15 ready
bruno
record_id display_name score state r001 lina 8 pending r002 hana 29 failed r003 bruno 27 active r004 eli 9 closed r005 kim 9 ready r006 dina 8 ready
hana bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006972-p1
Ignoring the header, print the display_name for any data row where the score exceeds 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 alice 15 ready r002 bruno 27 failed r003 gus 7 failed r004 dina 21 active r005 kim 4 failed r006 hana 13 paused r007 dina 11 pending r008 dina 15 ready
bruno
record_id display_name score state r001 lina 8 pending r002 hana 29 failed r003 bruno 27 active r004 eli 9 closed r005 kim 9 ready r006 dina 8 ready
hana bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006972
qwen/qwen3.7-plus
awkweave-0006973
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 5 pending hana 24 failed dina 25 ready chen 12 failed bruno 10 ready jules 24 paused
5 24 25 12 10 24
chen 7 failed dina 27 paused bruno 25 paused dina 6 ready lina 13 paused eli 26 failed gus 1 active
7 27 25 6 13 26 1
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006973-p1
Given tab-separated input, output the second column from each record.
BEGIN{FS=OFS="\t"}{print $2}
kim 5 pending hana 24 failed dina 25 ready chen 12 failed bruno 10 ready jules 24 paused
5 24 25 12 10 24
chen 7 failed dina 27 paused bruno 25 paused dina 6 ready lina 13 paused eli 26 failed gus 1 active
7 27 25 6 13 26 1
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006973
qwen/qwen3.7-plus
awkweave-0006974
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17.
BEGIN{FS=OFS=","}$2>17{print $1}
lina,28,closed bruno,6,ready ivan,30,paused bruno,28,closed dina,2,active gus,23,closed eli,16,paused ivan,12,closed kim,15,ready gus,25,closed
lina ivan bruno gus gus
gus,19,active chen,24,failed jules,25,ready dina,16,active dina,29,paused eli,13,ready
gus chen jules dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006974-p1
For simple comma-separated input without quoted commas, print the first column if the second column is greater than 17.
BEGIN{FS=OFS=","}$2>17{print $1}
lina,28,closed bruno,6,ready ivan,30,paused bruno,28,closed dina,2,active gus,23,closed eli,16,paused ivan,12,closed kim,15,ready gus,25,closed
lina ivan bruno gus gus
gus,19,active chen,24,failed jules,25,ready dina,16,active dina,29,paused eli,13,ready
gus chen jules dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006974
qwen/qwen3.7-plus
awkweave-0006975
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
hana indigo 109 jules fable 71 chen indigo 55 dina amber 51 hana grove 17 hana grove 3
hana indigo 109 jules fable 71 chen indigo 55 dina amber 51 hana grove 17 hana grove 3
gus birch 61 alice juniper 44 hana amber 85 bruno cobalt 48 dina amber 84 ivan amber 18 ivan grove 77
gus birch 61 alice juniper 44 hana amber 85 bruno cobalt 48 dina amber 84 ivan amber 18 ivan grove 77
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006975-p1
Remove leading and trailing whitespace, and replace internal whitespace sequences with a single space.
{$1=$1;print}
hana indigo 109 jules fable 71 chen indigo 55 dina amber 51 hana grove 17 hana grove 3
hana indigo 109 jules fable 71 chen indigo 55 dina amber 51 hana grove 17 hana grove 3
gus birch 61 alice juniper 44 hana amber 85 bruno cobalt 48 dina amber 84 ivan amber 18 ivan grove 77
gus birch 61 alice juniper 44 hana amber 85 bruno cobalt 48 dina amber 84 ivan amber 18 ivan grove 77
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006975
qwen/qwen3.7-plus
awkweave-0006976
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus fable 115 failed bruno harbor 59 pending chen ember 43 pending farah indigo 60 pending chen amber 55 pending lina ember 40 paused eli cobalt 75 closed eli ember 10 ready
bruno harbor 59 pending
chen cobalt 119 closed alice indigo 46 ready hana ember 72 ready gus fable 64 failed eli delta 55 active kim delta 101 pending bruno ember 78 pending chen ember 35 failed kim juniper 96 pending ivan juniper 41 closed
chen cobalt 119 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006976-p1
Identify and print the longest line from the input; if there is a tie in length, select the earliest one.
{if(length($0)>length(best))best=$0}END{print best}
gus fable 115 failed bruno harbor 59 pending chen ember 43 pending farah indigo 60 pending chen amber 55 pending lina ember 40 paused eli cobalt 75 closed eli ember 10 ready
bruno harbor 59 pending
chen cobalt 119 closed alice indigo 46 ready hana ember 72 ready gus fable 64 failed eli delta 55 active kim delta 101 pending bruno ember 78 pending chen ember 35 failed kim juniper 96 pending ivan juniper 41 closed
chen cobalt 119 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006976
qwen/qwen3.7-plus
awkweave-0006977
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
chen 76 ivan 51 bruno 12 kim 92 lina 37 chen 92 chen 59 alice 25
bruno 12 chen 59
jules 48 kim 23 dina 117 alice 86 ivan 93 gus 26
dina 117
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006977-p1
Output every 4th line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
chen 76 ivan 51 bruno 12 kim 92 lina 37 chen 92 chen 59 alice 25
bruno 12 chen 59
jules 48 kim 23 dina 117 alice 86 ivan 93 gus 26
dina 117
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006977
qwen/qwen3.7-plus
awkweave-0006978
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta indigo 17 delta birch 11 delta juniper 89 beta harbor 106 alpha birch 22 gamma fable 111 delta cobalt 13 delta juniper 70 beta harbor 14
6
delta birch 115 delta birch 104 beta amber 78 gamma harbor 62 alpha harbor 96 beta amber 25 delta fable 56 delta birch 92 delta cobalt 105 delta ember 94
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006978-p1
Calculate the number of unique entries in the second column and output just that total.
{if(!seen[$2]++)n++}END{print n+0}
beta indigo 17 delta birch 11 delta juniper 89 beta harbor 106 alpha birch 22 gamma fable 111 delta cobalt 13 delta juniper 70 beta harbor 14
6
delta birch 115 delta birch 104 beta amber 78 gamma harbor 62 alpha harbor 96 beta amber 25 delta fable 56 delta birch 92 delta cobalt 105 delta ember 94
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006978
qwen/qwen3.7-plus
awkweave-0006979
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 19 0 chen 10 14 eli 2 17 ivan 17 5 ivan 21 29 gus 4 12 lina 17 22 gus 27 7 kim 11 24 ivan 19 30
chen 0.71 eli 0.12 ivan 3.40 ivan 0.72 gus 0.33 lina 0.77 gus 3.86 kim 0.46 ivan 0.63
chen 5 0 hana 23 15 ivan 6 6 jules 11 29 lina 24 19 hana 15 4 chen 25 11 kim 20 2 eli 4 28 dina 6 15
hana 1.53 ivan 1.00 jules 0.38 lina 1.26 hana 3.75 chen 2.27 kim 10.00 eli 0.14 dina 0.40
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006979-p1
For every row, display the first and second columns alongside the result of dividing the second by the third, rounded to two decimal places, while omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 19 0 chen 10 14 eli 2 17 ivan 17 5 ivan 21 29 gus 4 12 lina 17 22 gus 27 7 kim 11 24 ivan 19 30
chen 0.71 eli 0.12 ivan 3.40 ivan 0.72 gus 0.33 lina 0.77 gus 3.86 kim 0.46 ivan 0.63
chen 5 0 hana 23 15 ivan 6 6 jules 11 29 lina 24 19 hana 15 4 chen 25 11 kim 20 2 eli 4 28 dina 6 15
hana 1.53 ivan 1.00 jules 0.38 lina 1.26 hana 3.75 chen 2.27 kim 10.00 eli 0.14 dina 0.40
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006979
qwen/qwen3.7-plus
awkweave-0006980
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]}
kim juniper 26 chen cobalt 3 farah fable 4 dina grove 2 dina ember 2 bruno birch 5 farah juniper 28
farah juniper 28 kim juniper 26 bruno birch 5
hana delta 2 lina ember 6 eli delta 5 ivan indigo 19 chen indigo 28 jules delta 10 ivan birch 10 farah cobalt 21 dina juniper 13
chen indigo 28 farah cobalt 21 ivan indigo 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006980-p1
Output the full records corresponding to the top three highest numeric values in the third column, sorted in descending order, keeping the original input sequence 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]}
kim juniper 26 chen cobalt 3 farah fable 4 dina grove 2 dina ember 2 bruno birch 5 farah juniper 28
farah juniper 28 kim juniper 26 bruno birch 5
hana delta 2 lina ember 6 eli delta 5 ivan indigo 19 chen indigo 28 jules delta 10 ivan birch 10 farah cobalt 21 dina juniper 13
chen indigo 28 farah cobalt 21 ivan indigo 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006980
qwen/qwen3.7-plus
awkweave-0006981
For each line, output fields 3 and 2, in that order.
{print $3, $2}
alice paused harbor 16 28 68 hana paused indigo 85 23 57 ivan pending grove 39 19 87 chen pending indigo 84 59 87 ivan pending cobalt 18 113 7 chen pending amber 9 71 27 hana failed harbor 41 17 20 lina active indigo 118 118 104
harbor paused indigo paused grove pending indigo pending cobalt pending amber pending harbor failed indigo active
dina failed birch 91 56 20 hana failed birch 18 52 43 bruno active fable 99 7 82 alice ready ember 48 61 70 gus closed amber 89 11 86 dina failed ember 108 86 1
birch failed birch failed fable active ember ready amber closed ember failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006981-p1
Print the third field followed by the second field for each line.
{print $3, $2}
alice paused harbor 16 28 68 hana paused indigo 85 23 57 ivan pending grove 39 19 87 chen pending indigo 84 59 87 ivan pending cobalt 18 113 7 chen pending amber 9 71 27 hana failed harbor 41 17 20 lina active indigo 118 118 104
harbor paused indigo paused grove pending indigo pending cobalt pending amber pending harbor failed indigo active
dina failed birch 91 56 20 hana failed birch 18 52 43 bruno active fable 99 7 82 alice ready ember 48 61 70 gus closed amber 89 11 86 dina failed ember 108 86 1
birch failed birch failed fable active ember ready amber closed ember failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006981
qwen/qwen3.7-plus
awkweave-0006982
Print the last field of every input line.
{print $NF}
72 cobalt gus closed 69 71 25 birch kim ready 76 88 106 delta farah pending 118 53 39 cobalt hana active 31 81 69 fable jules closed 64 21 109 grove kim closed 97 37
71 88 53 81 21 37
69 harbor chen failed 56 89 32 ember eli closed 55 73 59 juniper gus ready 41 103 87 juniper ivan pending 6 107 26 delta bruno failed 86 80 118 fable jules failed 93 55 54 delta bruno pending 96 44 97 grove dina ready 58 22 112 amber bruno closed 17 29
89 73 103 107 80 55 44 22 29
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006982-p1
Display the final field from every line of input.
{print $NF}
72 cobalt gus closed 69 71 25 birch kim ready 76 88 106 delta farah pending 118 53 39 cobalt hana active 31 81 69 fable jules closed 64 21 109 grove kim closed 97 37
71 88 53 81 21 37
69 harbor chen failed 56 89 32 ember eli closed 55 73 59 juniper gus ready 41 103 87 juniper ivan pending 6 107 26 delta bruno failed 86 80 118 fable jules failed 93 55 54 delta bruno pending 96 44 97 grove dina ready 58 22 112 amber bruno closed 17 29
89 73 103 107 80 55 44 22 29
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006982
qwen/qwen3.7-plus
awkweave-0006983
Print the complete records where column 2 is at least 57.
$2 >= 57
lina 11 paused alice farah 18 pending hana bruno 20 ready lina chen 118 active ivan alice 107 ready alice kim 23 closed gus kim 75 active lina chen 27 pending gus dina 50 active eli kim 57 failed jules
chen 118 active ivan alice 107 ready alice kim 75 active lina kim 57 failed jules
eli 31 pending bruno kim 54 paused lina bruno 117 ready lina eli 36 pending alice hana 28 closed chen alice 61 failed chen eli 57 active dina
bruno 117 ready lina alice 61 failed chen eli 57 active dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006983-p1
Output the entire lines where the value in the second column is 57 or greater.
$2 >= 57
lina 11 paused alice farah 18 pending hana bruno 20 ready lina chen 118 active ivan alice 107 ready alice kim 23 closed gus kim 75 active lina chen 27 pending gus dina 50 active eli kim 57 failed jules
chen 118 active ivan alice 107 ready alice kim 75 active lina kim 57 failed jules
eli 31 pending bruno kim 54 paused lina bruno 117 ready lina eli 36 pending alice hana 28 closed chen alice 61 failed chen eli 57 active dina
bruno 117 ready lina alice 61 failed chen eli 57 active dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006983
qwen/qwen3.7-plus
awkweave-0006984
Show whole lines whose 3rd field is between 7 and 28, inclusive.
$3 >= 7 && $3 <= 28
failed amber 9 ready paused fable 30 failed ready delta 14 failed closed harbor 14 closed closed ember 19 failed active juniper 30 pending failed cobalt 12 pending closed amber 8 paused ready birch 23 paused
failed amber 9 ready ready delta 14 failed closed harbor 14 closed closed ember 19 failed failed cobalt 12 pending closed amber 8 paused ready birch 23 paused
ready amber 5 pending ready cobalt 17 closed pending indigo 18 pending paused ember 26 failed failed amber 7 active failed grove 11 failed active harbor 22 paused pending indigo 11 failed closed grove 1 ready paused harbor 8 ready
ready cobalt 17 closed pending indigo 18 pending paused ember 26 failed failed amber 7 active failed grove 11 failed active harbor 22 paused pending indigo 11 failed paused harbor 8 ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006984-p1
Show all lines where the third field falls within the range of 7 to 28, inclusive.
$3 >= 7 && $3 <= 28
failed amber 9 ready paused fable 30 failed ready delta 14 failed closed harbor 14 closed closed ember 19 failed active juniper 30 pending failed cobalt 12 pending closed amber 8 paused ready birch 23 paused
failed amber 9 ready ready delta 14 failed closed harbor 14 closed closed ember 19 failed failed cobalt 12 pending closed amber 8 paused ready birch 23 paused
ready amber 5 pending ready cobalt 17 closed pending indigo 18 pending paused ember 26 failed failed amber 7 active failed grove 11 failed active harbor 22 paused pending indigo 11 failed closed grove 1 ready paused harbor 8 ready
ready cobalt 17 closed pending indigo 18 pending paused ember 26 failed failed amber 7 active failed grove 11 failed active harbor 22 paused pending indigo 11 failed paused harbor 8 ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006984
qwen/qwen3.7-plus
awkweave-0006985
Print column 1 only for rows where column 2 is exactly paused.
$2 == "paused"{print $1}
eli pending 118 ember jules pending 114 fable chen paused 61 delta eli ready 32 harbor eli ready 32 indigo ivan failed 3 fable dina failed 62 ember alice pending 80 juniper dina active 53 cobalt gus closed 52 cobalt
chen
dina failed 45 harbor dina active 38 ember chen ready 68 ember farah pending 4 ember chen pending 104 indigo dina pending 114 grove ivan failed 98 harbor
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006985-p1
Output only the first column for rows where the second column contains exactly 'paused'.
$2 == "paused"{print $1}
eli pending 118 ember jules pending 114 fable chen paused 61 delta eli ready 32 harbor eli ready 32 indigo ivan failed 3 fable dina failed 62 ember alice pending 80 juniper dina active 53 cobalt gus closed 52 cobalt
chen
dina failed 45 harbor dina active 38 ember chen ready 68 ember farah pending 4 ember chen pending 104 indigo dina pending 114 grove ivan failed 98 harbor
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006985
qwen/qwen3.7-plus
awkweave-0006986
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
delta 13 DEBUG amber 48 ERROR delta 76 WARN indigo 34 ERROR indigo 39 ERROR amber 72 DEBUG delta 61 WARN harbor 63 WARN juniper 19 WARN
amber 48 ERROR indigo 34 ERROR indigo 39 ERROR
fable 91 DEBUG indigo 82 DEBUG fable 120 ERROR fable 72 ERROR delta 44 WARN juniper 23 INFO fable 72 DEBUG juniper 46 WARN juniper 28 INFO ember 50 WARN
fable 120 ERROR fable 72 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006986-p1
Print all fields from any line where the third field starts with 'ERROR'.
$3 ~ /^ERROR/
delta 13 DEBUG amber 48 ERROR delta 76 WARN indigo 34 ERROR indigo 39 ERROR amber 72 DEBUG delta 61 WARN harbor 63 WARN juniper 19 WARN
amber 48 ERROR indigo 34 ERROR indigo 39 ERROR
fable 91 DEBUG indigo 82 DEBUG fable 120 ERROR fable 72 ERROR delta 44 WARN juniper 23 INFO fable 72 DEBUG juniper 46 WARN juniper 28 INFO ember 50 WARN
fable 120 ERROR fable 72 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006986
qwen/qwen3.7-plus
awkweave-0006987
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
juniper 54 failed amber 118 ready juniper 29 paused amber 65 paused juniper 103 failed harbor 105 active ember 70 closed cobalt 999 active
juniper 54 failed amber 118 ready juniper 29 paused amber 65 paused juniper 103 failed harbor 105 active ember 70 closed
indigo 90 ready indigo 5 closed amber 79 failed fable 23 pending juniper 27 pending indigo 36 active harbor 65 ready cobalt 999 active
indigo 90 ready indigo 5 closed amber 79 failed fable 23 pending juniper 27 pending indigo 36 active harbor 65 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006987-p1
Output every line except those that contain the exact string 'cobalt'.
$0 !~ /cobalt/
juniper 54 failed amber 118 ready juniper 29 paused amber 65 paused juniper 103 failed harbor 105 active ember 70 closed cobalt 999 active
juniper 54 failed amber 118 ready juniper 29 paused amber 65 paused juniper 103 failed harbor 105 active ember 70 closed
indigo 90 ready indigo 5 closed amber 79 failed fable 23 pending juniper 27 pending indigo 36 active harbor 65 ready cobalt 999 active
indigo 90 ready indigo 5 closed amber 79 failed fable 23 pending juniper 27 pending indigo 36 active harbor 65 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006987
qwen/qwen3.7-plus
awkweave-0006988
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
bruno cobalt 109 ivan indigo 72 lina grove 41 jules harbor 2 ivan grove 62 gus ember 77 hana cobalt 80 jules birch 39
ivan indigo 72 lina grove 41 jules harbor 2
gus cobalt 65 dina grove 12 jules birch 69 jules indigo 91 gus ember 58 ivan juniper 83 alice cobalt 48
dina grove 12 jules birch 69 jules indigo 91
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006988-p1
Print lines 2 through 4, inclusive.
NR >= 2 && NR <= 4
bruno cobalt 109 ivan indigo 72 lina grove 41 jules harbor 2 ivan grove 62 gus ember 77 hana cobalt 80 jules birch 39
ivan indigo 72 lina grove 41 jules harbor 2
gus cobalt 65 dina grove 12 jules birch 69 jules indigo 91 gus ember 58 ivan juniper 83 alice cobalt 48
dina grove 12 jules birch 69 jules indigo 91
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006988
qwen/qwen3.7-plus
awkweave-0006989
Output only the first 3 records.
NR <= 3
eli 56 ember kim 11 amber ivan 114 birch gus 46 fable jules 40 indigo dina 76 birch farah 55 indigo alice 87 fable
eli 56 ember kim 11 amber ivan 114 birch
bruno 11 fable dina 113 delta farah 97 juniper eli 84 ember kim 99 cobalt farah 54 delta
bruno 11 fable dina 113 delta farah 97 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006989-p1
Output only the first three records.
NR <= 3
eli 56 ember kim 11 amber ivan 114 birch gus 46 fable jules 40 indigo dina 76 birch farah 55 indigo alice 87 fable
eli 56 ember kim 11 amber ivan 114 birch
bruno 11 fable dina 113 delta farah 97 juniper eli 84 ember kim 99 cobalt farah 54 delta
bruno 11 fable dina 113 delta farah 97 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006989
qwen/qwen3.7-plus
awkweave-0007000
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 3 29 cobalt eli 24 21 fable alice 2 9 grove eli 8 18 birch alice 5 19 delta eli 7 19 juniper gus 23 19 indigo jules 20 7 indigo bruno 21 18 birch
chen 32 eli 45 alice 11 eli 26 alice 24 eli 26 gus 42 jules 27 bruno 39
dina 18 20 amber bruno 15 29 harbor gus 12 29 ember kim 19 29 fable hana 26 12 ember chen 10 10 indigo lina 1 4 amber alice 11 20 cobalt
dina 38 bruno 44 gus 41 kim 48 hana 38 chen 20 lina 5 alice 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null