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-0000660
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta indigo 112 delta amber 115 delta delta 44 delta delta 50 delta cobalt 119 delta amber 65
2
delta indigo 29 beta juniper 7 delta delta 49 gamma indigo 27 alpha harbor 19 gamma birch 39
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000660-p1
Count the unique entries in the first column and output just that number.
{if(!seen[$1]++)n++}END{print n+0}
beta indigo 112 delta amber 115 delta delta 44 delta delta 50 delta cobalt 119 delta amber 65
2
delta indigo 29 beta juniper 7 delta delta 49 gamma indigo 27 alpha harbor 19 gamma birch 39
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000660
qwen/qwen3.7-plus
awkweave-0000661
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}
jules 8 0 eli 22 27 lina 20 15 alice 6 10 dina 23 22 jules 21 14 chen 8 1 gus 8 16 kim 8 4 alice 18 29
eli 0.81 lina 1.33 alice 0.60 dina 1.05 jules 1.50 chen 8.00 gus 0.50 kim 2.00 alice 0.62
eli 22 0 farah 19 3 alice 27 3 lina 1 20 gus 3 3 hana 28 6 chen 4 13 gus 19 19
farah 6.33 alice 9.00 lina 0.05 gus 1.00 hana 4.67 chen 0.31 gus 1.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000661-p1
For every row, display the value of column 1 followed by the result of column 2 divided by column 3 rounded to two decimal places, omitting any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 8 0 eli 22 27 lina 20 15 alice 6 10 dina 23 22 jules 21 14 chen 8 1 gus 8 16 kim 8 4 alice 18 29
eli 0.81 lina 1.33 alice 0.60 dina 1.05 jules 1.50 chen 8.00 gus 0.50 kim 2.00 alice 0.62
eli 22 0 farah 19 3 alice 27 3 lina 1 20 gus 3 3 hana 28 6 chen 4 13 gus 19 19
farah 6.33 alice 9.00 lina 0.05 gus 1.00 hana 4.67 chen 0.31 gus 1.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000661
qwen/qwen3.7-plus
awkweave-0000662
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]}
hana indigo 6 dina grove 1 alice harbor 13 lina ember 12 jules fable 2 jules birch 28
jules birch 28 alice harbor 13 lina ember 12
gus juniper 7 bruno harbor 27 dina indigo 20 alice amber 7 gus juniper 2 kim birch 6 alice indigo 16 jules amber 22 gus amber 24 alice delta 3
bruno harbor 27 gus amber 24 jules amber 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000662-p1
Output the three full records with the largest numeric values in column 3 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]}
hana indigo 6 dina grove 1 alice harbor 13 lina ember 12 jules fable 2 jules birch 28
jules birch 28 alice harbor 13 lina ember 12
gus juniper 7 bruno harbor 27 dina indigo 20 alice amber 7 gus juniper 2 kim birch 6 alice indigo 16 jules amber 22 gus amber 24 alice delta 3
bruno harbor 27 gus amber 24 jules amber 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000662
qwen/qwen3.7-plus
awkweave-0000663
For each line, output fields 2 and 1, in that order.
{print $2, $1}
105 gus pending gus failed jules 86 jules paused alice failed gus 51 hana pending ivan ready ivan 0 chen failed ivan ready bruno 107 dina failed lina paused eli 120 dina failed eli failed kim 25 chen active alice failed eli
gus 105 jules 86 hana 51 chen 0 dina 107 dina 120 chen 25
7 hana active gus failed lina 102 alice ready hana active chen 52 hana pending gus active hana 120 farah paused bruno failed eli 21 kim closed alice paused farah 38 dina failed farah failed farah 10 chen ready lina active eli
hana 7 alice 102 hana 52 farah 120 kim 21 dina 38 chen 10
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000663-p1
Print the second field followed by the first field for each line.
{print $2, $1}
105 gus pending gus failed jules 86 jules paused alice failed gus 51 hana pending ivan ready ivan 0 chen failed ivan ready bruno 107 dina failed lina paused eli 120 dina failed eli failed kim 25 chen active alice failed eli
gus 105 jules 86 hana 51 chen 0 dina 107 dina 120 chen 25
7 hana active gus failed lina 102 alice ready hana active chen 52 hana pending gus active hana 120 farah paused bruno failed eli 21 kim closed alice paused farah 38 dina failed farah failed farah 10 chen ready lina active eli
hana 7 alice 102 hana 52 farah 120 kim 21 dina 38 chen 10
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000663
qwen/qwen3.7-plus
awkweave-0000664
Print the last field of every input line.
{print $NF}
birch paused 111 active delta closed 84 paused juniper failed 0 closed amber paused 86 pending fable active 46 ready harbor ready 13 active indigo failed 26 active ember active 76 paused
active paused closed pending ready active active paused
juniper failed 70 ready juniper ready 40 ready indigo active 93 active juniper ready 75 failed cobalt pending 120 failed birch pending 102 ready
ready ready active failed failed ready
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000664-p1
Display the final field from every line of input.
{print $NF}
birch paused 111 active delta closed 84 paused juniper failed 0 closed amber paused 86 pending fable active 46 ready harbor ready 13 active indigo failed 26 active ember active 76 paused
active paused closed pending ready active active paused
juniper failed 70 ready juniper ready 40 ready indigo active 93 active juniper ready 75 failed cobalt pending 120 failed birch pending 102 ready
ready ready active failed failed ready
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000664
qwen/qwen3.7-plus
awkweave-0000665
Print the complete records where column 1 is greater than 24.
$1 > 24
107 farah paused 39 ivan ready 33 bruno active 20 jules ready 84 farah failed 101 lina ready 65 dina pending 12 alice active
107 farah paused 39 ivan ready 33 bruno active 84 farah failed 101 lina ready 65 dina pending
62 jules ready 40 farah failed 88 jules closed 24 gus paused 72 ivan ready 97 jules paused
62 jules ready 40 farah failed 88 jules closed 72 ivan ready 97 jules paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000665-p1
Output the entire lines where the value in the first column exceeds 24.
$1 > 24
107 farah paused 39 ivan ready 33 bruno active 20 jules ready 84 farah failed 101 lina ready 65 dina pending 12 alice active
107 farah paused 39 ivan ready 33 bruno active 84 farah failed 101 lina ready 65 dina pending
62 jules ready 40 farah failed 88 jules closed 24 gus paused 72 ivan ready 97 jules paused
62 jules ready 40 farah failed 88 jules closed 72 ivan ready 97 jules paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000665
qwen/qwen3.7-plus
awkweave-0000666
Show whole lines whose 3rd field is between 7 and 23, inclusive.
$3 >= 7 && $3 <= 23
pending dina 18 dina paused lina 12 farah closed lina 29 ivan paused jules 27 lina failed kim 6 hana active ivan 17 eli closed kim 5 lina
pending dina 18 dina paused lina 12 farah active ivan 17 eli
closed kim 5 alice active lina 23 farah paused hana 18 gus ready kim 28 alice failed eli 1 alice active hana 29 gus
active lina 23 farah paused hana 18 gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000666-p1
Display complete lines where the third field falls within the inclusive range of 7 to 23.
$3 >= 7 && $3 <= 23
pending dina 18 dina paused lina 12 farah closed lina 29 ivan paused jules 27 lina failed kim 6 hana active ivan 17 eli closed kim 5 lina
pending dina 18 dina paused lina 12 farah active ivan 17 eli
closed kim 5 alice active lina 23 farah paused hana 18 gus ready kim 28 alice failed eli 1 alice active hana 29 gus
active lina 23 farah paused hana 18 gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000666
qwen/qwen3.7-plus
awkweave-0000667
Print column 3 only for rows where column 2 is exactly paused.
$2 == "paused"{print $3}
47 ready jules indigo 49 pending dina delta 7 failed alice indigo 94 paused dina indigo 17 failed chen harbor 79 active lina grove
dina
100 active hana delta 78 active dina harbor 105 closed chen grove 63 paused jules fable 18 active farah amber 43 ready eli cobalt
jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000667-p1
Output only the third column for rows where the second column is exactly 'paused'.
$2 == "paused"{print $3}
47 ready jules indigo 49 pending dina delta 7 failed alice indigo 94 paused dina indigo 17 failed chen harbor 79 active lina grove
dina
100 active hana delta 78 active dina harbor 105 closed chen grove 63 paused jules fable 18 active farah amber 43 ready eli cobalt
jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000667
qwen/qwen3.7-plus
awkweave-0000668
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
ember 35 DEBUG indigo 1 DEBUG delta 87 DEBUG fable 110 DEBUG birch 22 ERROR delta 66 DEBUG amber 47 INFO juniper 105 DEBUG juniper 48 DEBUG
amber 47 INFO
delta 44 DEBUG harbor 93 ERROR delta 51 WARN harbor 41 INFO harbor 114 WARN ember 12 ERROR delta 83 INFO juniper 120 WARN
harbor 41 INFO delta 83 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000668-p1
Print all fields from lines where the third field starts with 'INFO'.
$3 ~ /^INFO/
ember 35 DEBUG indigo 1 DEBUG delta 87 DEBUG fable 110 DEBUG birch 22 ERROR delta 66 DEBUG amber 47 INFO juniper 105 DEBUG juniper 48 DEBUG
amber 47 INFO
delta 44 DEBUG harbor 93 ERROR delta 51 WARN harbor 41 INFO harbor 114 WARN ember 12 ERROR delta 83 INFO juniper 120 WARN
harbor 41 INFO delta 83 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000668
qwen/qwen3.7-plus
awkweave-0000669
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
juniper 86 closed birch 15 paused fable 110 closed grove 29 pending delta 53 ready cobalt 4 pending juniper 999 active
birch 15 paused fable 110 closed grove 29 pending delta 53 ready cobalt 4 pending
juniper 74 ready delta 76 ready ember 39 ready juniper 37 failed cobalt 68 failed ember 63 failed juniper 999 active
delta 76 ready ember 39 ready cobalt 68 failed ember 63 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000669-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
juniper 86 closed birch 15 paused fable 110 closed grove 29 pending delta 53 ready cobalt 4 pending juniper 999 active
birch 15 paused fable 110 closed grove 29 pending delta 53 ready cobalt 4 pending
juniper 74 ready delta 76 ready ember 39 ready juniper 37 failed cobalt 68 failed ember 63 failed juniper 999 active
delta 76 ready ember 39 ready cobalt 68 failed ember 63 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000669
qwen/qwen3.7-plus
awkweave-0000670
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
ivan ember 93 gus amber 24 hana grove 28 farah harbor 50 farah delta 2 gus amber 29
hana grove 28 farah harbor 50 farah delta 2 gus amber 29
farah cobalt 64 alice birch 29 ivan fable 11 jules delta 7 ivan birch 83 alice cobalt 3 chen juniper 91
ivan fable 11 jules delta 7 ivan birch 83 alice cobalt 3
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000670-p1
Print lines 3 through 6, inclusive.
NR >= 3 && NR <= 6
ivan ember 93 gus amber 24 hana grove 28 farah harbor 50 farah delta 2 gus amber 29
hana grove 28 farah harbor 50 farah delta 2 gus amber 29
farah cobalt 64 alice birch 29 ivan fable 11 jules delta 7 ivan birch 83 alice cobalt 3 chen juniper 91
ivan fable 11 jules delta 7 ivan birch 83 alice cobalt 3
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000670
qwen/qwen3.7-plus
awkweave-0000671
Output only the first 5 records.
NR <= 5
jules 34 fable alice 26 ember gus 84 harbor bruno 107 cobalt bruno 78 juniper hana 65 indigo farah 62 cobalt kim 84 fable bruno 1 indigo
jules 34 fable alice 26 ember gus 84 harbor bruno 107 cobalt bruno 78 juniper
dina 82 grove kim 9 harbor farah 48 harbor gus 9 amber jules 36 cobalt ivan 112 ember eli 114 grove chen 88 juniper
dina 82 grove kim 9 harbor farah 48 harbor gus 9 amber jules 36 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000671-p1
Output only the first 5 records.
NR <= 5
jules 34 fable alice 26 ember gus 84 harbor bruno 107 cobalt bruno 78 juniper hana 65 indigo farah 62 cobalt kim 84 fable bruno 1 indigo
jules 34 fable alice 26 ember gus 84 harbor bruno 107 cobalt bruno 78 juniper
dina 82 grove kim 9 harbor farah 48 harbor gus 9 amber jules 36 cobalt ivan 112 ember eli 114 grove chen 88 juniper
dina 82 grove kim 9 harbor farah 48 harbor gus 9 amber jules 36 cobalt
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0000671
qwen/qwen3.7-plus
awkweave-0000672
Skip the first line and print every remaining line unchanged.
NR > 1
hana 40 delta lina 72 harbor eli 102 amber hana 0 birch gus 98 juniper alice 29 amber farah 68 ember lina 120 amber
lina 72 harbor eli 102 amber hana 0 birch gus 98 juniper alice 29 amber farah 68 ember lina 120 amber
dina 102 harbor lina 91 birch gus 34 birch farah 92 ember hana 10 ember eli 81 fable kim 58 amber eli 112 amber hana 103 amber
lina 91 birch gus 34 birch farah 92 ember hana 10 ember eli 81 fable kim 58 amber eli 112 amber hana 103 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000672-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
hana 40 delta lina 72 harbor eli 102 amber hana 0 birch gus 98 juniper alice 29 amber farah 68 ember lina 120 amber
lina 72 harbor eli 102 amber hana 0 birch gus 98 juniper alice 29 amber farah 68 ember lina 120 amber
dina 102 harbor lina 91 birch gus 34 birch farah 92 ember hana 10 ember eli 81 fable kim 58 amber eli 112 amber hana 103 amber
lina 91 birch gus 34 birch farah 92 ember hana 10 ember eli 81 fable kim 58 amber eli 112 amber hana 103 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000672
qwen/qwen3.7-plus
awkweave-0000673
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
farah paused 3 alice active 102 ivan active 109 gus active 4 lina closed 37 hana paused 6 farah pending 13 farah active 114 chen pending 0 eli failed 78
1
dina closed 78 lina ready 60 lina pending 112 alice closed 5 eli pending 102 alice active 25 lina paused 96
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000673-p1
Tally the entries marked as failed in the second column, displaying 0 if the count is zero.
$2 == "failed"{n++}END{print n+0}
farah paused 3 alice active 102 ivan active 109 gus active 4 lina closed 37 hana paused 6 farah pending 13 farah active 114 chen pending 0 eli failed 78
1
dina closed 78 lina ready 60 lina pending 112 alice closed 5 eli pending 102 alice active 25 lina paused 96
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000673
qwen/qwen3.7-plus
awkweave-0000674
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
16 delta kim 10 juniper kim 25 fable chen 11 juniper hana 13 grove dina 15 amber chen 6 ember bruno 25 ember chen 14 grove gus 23 delta lina
158
4 amber jules 27 fable ivan 25 amber hana 4 amber chen 2 ember alice 9 cobalt kim 13 cobalt chen 4 ember dina 30 harbor eli
118
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000674-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
16 delta kim 10 juniper kim 25 fable chen 11 juniper hana 13 grove dina 15 amber chen 6 ember bruno 25 ember chen 14 grove gus 23 delta lina
158
4 amber jules 27 fable ivan 25 amber hana 4 amber chen 2 ember alice 9 cobalt kim 13 cobalt chen 4 ember dina 30 harbor eli
118
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000674
qwen/qwen3.7-plus
awkweave-0000675
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 30 jules fable 9 hana birch 11 bruno cobalt 28 dina birch 29 ivan fable 28 gus delta 26 farah harbor 6 jules amber 15 bruno grove 14 kim
19.60
fable 11 bruno juniper 22 dina cobalt 18 lina ember 13 hana juniper 7 lina ember 1 lina indigo 16 ivan
12.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000675-p1
Output the average of the values in column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 30 jules fable 9 hana birch 11 bruno cobalt 28 dina birch 29 ivan fable 28 gus delta 26 farah harbor 6 jules amber 15 bruno grove 14 kim
19.60
fable 11 bruno juniper 22 dina cobalt 18 lina ember 13 hana juniper 7 lina ember 1 lina indigo 16 ivan
12.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000675
qwen/qwen3.7-plus
awkweave-0000676
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 28 fable alice 19 delta eli 28 amber eli 7 delta hana 7 ember alice 2 fable jules 11 indigo
2
eli 8 juniper jules 9 fable bruno 3 delta jules 9 indigo ivan 1 juniper ivan 3 birch
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000676-p1
Identify and print the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 28 fable alice 19 delta eli 28 amber eli 7 delta hana 7 ember alice 2 fable jules 11 indigo
2
eli 8 juniper jules 9 fable bruno 3 delta jules 9 indigo ivan 1 juniper ivan 3 birch
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000676
qwen/qwen3.7-plus
awkweave-0000677
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 10 kim juniper 21 farah indigo 30 dina juniper 16 ivan grove 19 chen birch 8 chen delta 16 ivan
30
fable 25 jules harbor 13 gus ember 26 eli grove 9 kim harbor 10 lina juniper 16 lina
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000677-p1
Identify and print the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 10 kim juniper 21 farah indigo 30 dina juniper 16 ivan grove 19 chen birch 8 chen delta 16 ivan
30
fable 25 jules harbor 13 gus ember 26 eli grove 9 kim harbor 10 lina juniper 16 lina
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000677
qwen/qwen3.7-plus
awkweave-0000678
Count all input records and print the total.
END{print NR}
farah 64 alice 11 ivan 7 gus 12 chen 118 chen 6 lina 110
7
bruno 112 eli 89 jules 56 kim 6 alice 39 hana 79 alice 59 alice 54
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000678-p1
Count the total number of input records and display the result.
END{print NR}
farah 64 alice 11 ivan 7 gus 12 chen 118 chen 6 lina 110
7
bruno 112 eli 89 jules 56 kim 6 alice 39 hana 79 alice 59 alice 54
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000678
qwen/qwen3.7-plus
awkweave-0000679
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan delta 118 jules ember 111 lina birch 45 alice amber 46 hana ember 25 hana indigo 76 jules birch 119 lina fable 83 jules ember 111 kim indigo 76
ivan delta 118 jules ember 111 lina birch 45 alice amber 46 hana ember 25 hana indigo 76 jules birch 119 lina fable 83 kim indigo 76
farah delta 40 bruno amber 14 chen fable 111 lina amber 44 jules ember 118 dina ember 105 dina indigo 0 bruno birch 82 ivan grove 69 dina ember 105 eli harbor 28
farah delta 40 bruno amber 14 chen fable 111 lina amber 44 jules ember 118 dina ember 105 dina indigo 0 bruno birch 82 ivan grove 69 eli harbor 28
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000679-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
ivan delta 118 jules ember 111 lina birch 45 alice amber 46 hana ember 25 hana indigo 76 jules birch 119 lina fable 83 jules ember 111 kim indigo 76
ivan delta 118 jules ember 111 lina birch 45 alice amber 46 hana ember 25 hana indigo 76 jules birch 119 lina fable 83 kim indigo 76
farah delta 40 bruno amber 14 chen fable 111 lina amber 44 jules ember 118 dina ember 105 dina indigo 0 bruno birch 82 ivan grove 69 dina ember 105 eli harbor 28
farah delta 40 bruno amber 14 chen fable 111 lina amber 44 jules ember 118 dina ember 105 dina indigo 0 bruno birch 82 ivan grove 69 eli harbor 28
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000679
qwen/qwen3.7-plus
awkweave-0000680
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
hana juniper 50 gus delta 111 jules cobalt 29 chen amber 77 farah indigo 84 chen birch 95 farah indigo 82 kim indigo 15 lina delta 24 kim birch 118
hana juniper 50 gus delta 111 jules cobalt 29 chen amber 77 farah indigo 84 kim indigo 15 lina delta 24
lina juniper 117 bruno delta 20 gus fable 93 eli fable 13 dina ember 99 lina cobalt 112 farah juniper 9 lina juniper 113
lina juniper 117 bruno delta 20 gus fable 93 eli fable 13 dina ember 99 farah juniper 9
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000680-p1
Retain only the first occurrence for every unique value in column 1, preserving the original sequence.
!seen[$1]++
hana juniper 50 gus delta 111 jules cobalt 29 chen amber 77 farah indigo 84 chen birch 95 farah indigo 82 kim indigo 15 lina delta 24 kim birch 118
hana juniper 50 gus delta 111 jules cobalt 29 chen amber 77 farah indigo 84 kim indigo 15 lina delta 24
lina juniper 117 bruno delta 20 gus fable 93 eli fable 13 dina ember 99 lina cobalt 112 farah juniper 9 lina juniper 113
lina juniper 117 bruno delta 20 gus fable 93 eli fable 13 dina ember 99 farah juniper 9
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000680
qwen/qwen3.7-plus
awkweave-0000681
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 15 grove chen 13 juniper eli 5 birch farah 11 grove lina 27 ember bruno 16 birch
hana 15 chen 28 eli 33 farah 44 lina 71 bruno 87
alice 14 fable eli 29 delta eli 12 ember hana 26 birch bruno 22 cobalt dina 22 cobalt farah 13 indigo dina 8 ember chen 17 grove farah 16 ember
alice 14 eli 43 eli 55 hana 81 bruno 103 dina 125 farah 138 dina 146 chen 163 farah 179
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000681-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 15 grove chen 13 juniper eli 5 birch farah 11 grove lina 27 ember bruno 16 birch
hana 15 chen 28 eli 33 farah 44 lina 71 bruno 87
alice 14 fable eli 29 delta eli 12 ember hana 26 birch bruno 22 cobalt dina 22 cobalt farah 13 indigo dina 8 ember chen 17 grove farah 16 ember
alice 14 eli 43 eli 55 hana 81 bruno 103 dina 125 farah 138 dina 146 chen 163 farah 179
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000681
qwen/qwen3.7-plus
awkweave-0000682
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 14 12 fable lina 29 18 grove bruno 22 26 harbor eli 11 17 birch alice 22 23 grove kim 25 15 juniper
ivan 26 lina 47 bruno 48 eli 28 alice 45 kim 40
ivan 29 21 indigo gus 7 21 birch jules 5 17 grove kim 6 1 birch lina 23 24 cobalt gus 25 13 grove
ivan 50 gus 28 jules 22 kim 7 lina 47 gus 38
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000682-p1
Display field 1 followed by the combined sum of fields 2 and 3 for every row.
{print $1,$2+$3}
ivan 14 12 fable lina 29 18 grove bruno 22 26 harbor eli 11 17 birch alice 22 23 grove kim 25 15 juniper
ivan 26 lina 47 bruno 48 eli 28 alice 45 kim 40
ivan 29 21 indigo gus 7 21 birch jules 5 17 grove kim 6 1 birch lina 23 24 cobalt gus 25 13 grove
ivan 50 gus 28 jules 22 kim 7 lina 47 gus 38
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000682
qwen/qwen3.7-plus
awkweave-0000683
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
eli 22 alice 3 alice 11 jules 3 bruno 21 farah 22
eli fail alice fail alice fail jules fail bruno fail farah fail
hana 19 kim 16 lina 23 dina 30 gus 26 eli 6
hana fail kim fail lina fail dina pass gus pass eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000683-p1
Print column 1 and label it 'pass' if column 2 is 25 or higher; otherwise, label it 'fail'.
{print $1,($2>=25?"pass":"fail")}
eli 22 alice 3 alice 11 jules 3 bruno 21 farah 22
eli fail alice fail alice fail jules fail bruno fail farah fail
hana 19 kim 16 lina 23 dina 30 gus 26 eli 6
hana fail kim fail lina fail dina pass gus pass eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000683
qwen/qwen3.7-plus
awkweave-0000684
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
farah juniper 53 eli cobalt 15 kim ember 46 eli indigo 4 hana cobalt 62 eli grove 67 farah harbor 53 gus amber 42 ivan delta 74 ivan birch 103
FARAH ELI KIM ELI HANA ELI FARAH GUS IVAN IVAN
ivan delta 47 dina juniper 96 kim amber 41 bruno ember 83 gus delta 114 kim ember 118 bruno fable 80 chen amber 36 bruno delta 80
IVAN DINA KIM BRUNO GUS KIM BRUNO CHEN BRUNO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000684-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
farah juniper 53 eli cobalt 15 kim ember 46 eli indigo 4 hana cobalt 62 eli grove 67 farah harbor 53 gus amber 42 ivan delta 74 ivan birch 103
FARAH ELI KIM ELI HANA ELI FARAH GUS IVAN IVAN
ivan delta 47 dina juniper 96 kim amber 41 bruno ember 83 gus delta 114 kim ember 118 bruno fable 80 chen amber 36 bruno delta 80
IVAN DINA KIM BRUNO GUS KIM BRUNO CHEN BRUNO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000684
qwen/qwen3.7-plus
awkweave-0000685
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
cobalt 7 ember 103 amber 4 juniper 52 ember 47 ember 101 amber 41 birch 106 cobalt 108 juniper 110
ob mb mb un mb mb mb ir ob un
harbor 12 ember 33 delta 18 amber 1 juniper 60 grove 108 grove 36 indigo 7
ar mb el mb un ro ro nd
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000685-p1
Extract and print a 2-character substring from column 1, starting at the second character.
{print substr($1,2,2)}
cobalt 7 ember 103 amber 4 juniper 52 ember 47 ember 101 amber 41 birch 106 cobalt 108 juniper 110
ob mb mb un mb mb mb ir ob un
harbor 12 ember 33 delta 18 amber 1 juniper 60 grove 108 grove 36 indigo 7
ar mb el mb un ro ro nd
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000685
qwen/qwen3.7-plus
awkweave-0000686
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_juniper 98 harbor_harbor 105 fable_delta 53 fable_fable 67 grove_birch 67 birch_indigo 58 birch_ember 6 birch_fable 113
amber juniper harbor harbor fable delta fable fable grove birch birch indigo birch ember birch fable
ember_cobalt 74 grove_grove 107 fable_juniper 47 delta_birch 5 fable_grove 75 grove_harbor 68
ember cobalt grove grove fable juniper delta birch fable grove grove harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000686-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
amber_juniper 98 harbor_harbor 105 fable_delta 53 fable_fable 67 grove_birch 67 birch_indigo 58 birch_ember 6 birch_fable 113
amber juniper harbor harbor fable delta fable fable grove birch birch indigo birch ember birch fable
ember_cobalt 74 grove_grove 107 fable_juniper 47 delta_birch 5 fable_grove 75 grove_harbor 68
ember cobalt grove grove fable juniper delta birch fable grove grove harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000686
qwen/qwen3.7-plus
awkweave-0000687
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)}
hana juniper 47 active ivan ember 20 active farah grove 49 failed ivan amber 80 failed kim juniper 36 active alice indigo 74 pending bruno ember 50 failed
active 47 juniper hana active 20 ember ivan failed 49 grove farah failed 80 amber ivan active 36 juniper kim pending 74 indigo alice failed 50 ember bruno
farah cobalt 97 ready gus juniper 22 ready jules fable 101 pending eli juniper 109 paused dina harbor 55 paused chen cobalt 77 active chen delta 119 closed
ready 97 cobalt farah ready 22 juniper gus pending 101 fable jules paused 109 juniper eli paused 55 harbor dina active 77 cobalt chen closed 119 delta chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000687-p1
Reverse the sequence of fields for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana juniper 47 active ivan ember 20 active farah grove 49 failed ivan amber 80 failed kim juniper 36 active alice indigo 74 pending bruno ember 50 failed
active 47 juniper hana active 20 ember ivan failed 49 grove farah failed 80 amber ivan active 36 juniper kim pending 74 indigo alice failed 50 ember bruno
farah cobalt 97 ready gus juniper 22 ready jules fable 101 pending eli juniper 109 paused dina harbor 55 paused chen cobalt 77 active chen delta 119 closed
ready 97 cobalt farah ready 22 juniper gus pending 101 fable jules paused 109 juniper eli paused 55 harbor dina active 77 cobalt chen closed 119 delta chen
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000687
qwen/qwen3.7-plus
awkweave-0000688
Print the number of whitespace-separated fields on each line.
{print NF}
jules harbor 100 paused chen birch 35 ready kim cobalt 79 paused eli fable 91 failed hana cobalt 63 failed kim grove 116 closed jules amber 45 pending bruno delta 19 paused jules amber 24 active
4 4 4 4 4 4 4 4 4
dina birch 100 active alice cobalt 108 failed lina birch 97 ready alice birch 78 paused eli delta 71 failed eli harbor 81 failed eli delta 40 active kim harbor 81 ready bruno grove 109 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000688-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
jules harbor 100 paused chen birch 35 ready kim cobalt 79 paused eli fable 91 failed hana cobalt 63 failed kim grove 116 closed jules amber 45 pending bruno delta 19 paused jules amber 24 active
4 4 4 4 4 4 4 4 4
dina birch 100 active alice cobalt 108 failed lina birch 97 ready alice birch 78 paused eli delta 71 failed eli harbor 81 failed eli delta 40 active kim harbor 81 ready bruno grove 109 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000688
qwen/qwen3.7-plus
awkweave-0000689
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]]}
alice beta 60 farah delta 63 lina alpha 85 hana gamma 67 lina delta 55 jules delta 101 farah alpha 68 gus delta 22 chen alpha 113 bruno gamma 12
beta 1 delta 4 alpha 3 gamma 2
gus gamma 115 hana delta 120 hana delta 109 lina delta 67 eli gamma 53 lina gamma 113 dina gamma 79 eli delta 97 bruno beta 76 lina gamma 44
gamma 5 delta 4 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000689-p1
Tally the occurrences of each unique value in column 2. Display each value alongside its count, ordered by when it first appears.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice beta 60 farah delta 63 lina alpha 85 hana gamma 67 lina delta 55 jules delta 101 farah alpha 68 gus delta 22 chen alpha 113 bruno gamma 12
beta 1 delta 4 alpha 3 gamma 2
gus gamma 115 hana delta 120 hana delta 109 lina delta 67 eli gamma 53 lina gamma 113 dina gamma 79 eli delta 97 bruno beta 76 lina gamma 44
gamma 5 delta 4 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000689
qwen/qwen3.7-plus
awkweave-0000700
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 28 0 alice 1 4 alice 11 18 kim 28 27 ivan 15 11 dina 22 4 chen 17 17 hana 18 8 farah 9 13 eli 26 1
alice 0.25 alice 0.61 kim 1.04 ivan 1.36 dina 5.50 chen 1.00 hana 2.25 farah 0.69 eli 26.00
kim 5 0 chen 19 15 hana 27 14 lina 30 23 hana 5 10 ivan 10 8 chen 29 11 ivan 14 2
chen 1.27 hana 1.93 lina 1.30 hana 0.50 ivan 1.25 chen 2.64 ivan 7.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000700-p1
For every row, output column 1 and the result of column 2 divided by column 3 formatted to two decimal places, omitting rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 28 0 alice 1 4 alice 11 18 kim 28 27 ivan 15 11 dina 22 4 chen 17 17 hana 18 8 farah 9 13 eli 26 1
alice 0.25 alice 0.61 kim 1.04 ivan 1.36 dina 5.50 chen 1.00 hana 2.25 farah 0.69 eli 26.00
kim 5 0 chen 19 15 hana 27 14 lina 30 23 hana 5 10 ivan 10 8 chen 29 11 ivan 14 2
chen 1.27 hana 1.93 lina 1.30 hana 0.50 ivan 1.25 chen 2.64 ivan 7.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000700
qwen/qwen3.7-plus
awkweave-0000701
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]}
alice indigo 29 lina birch 29 jules juniper 19 jules amber 15 gus amber 27 lina birch 21 alice fable 20
alice indigo 29 lina birch 29 gus amber 27
dina birch 13 farah birch 8 chen amber 15 jules amber 9 jules birch 22 gus birch 26 chen delta 19 bruno birch 8
gus birch 26 jules birch 22 chen delta 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000701-p1
Output the top 3 full records based on 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]}
alice indigo 29 lina birch 29 jules juniper 19 jules amber 15 gus amber 27 lina birch 21 alice fable 20
alice indigo 29 lina birch 29 gus amber 27
dina birch 13 farah birch 8 chen amber 15 jules amber 9 jules birch 22 gus birch 26 chen delta 19 bruno birch 8
gus birch 26 jules birch 22 chen delta 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000701
qwen/qwen3.7-plus
awkweave-0000702
Select the 4th and 2nd fields in that order.
{print $4, $2}
chen cobalt harbor failed dina juniper amber paused dina grove fable pending bruno harbor ember pending kim cobalt delta active alice birch juniper paused jules harbor cobalt active kim juniper delta ready farah delta birch paused
failed cobalt paused juniper pending grove pending harbor active cobalt paused birch active harbor ready juniper paused delta
gus indigo indigo ready alice fable delta paused chen harbor grove failed kim ember amber paused ivan harbor indigo paused bruno fable indigo active dina birch amber paused
ready indigo paused fable failed harbor paused ember paused harbor active fable paused birch
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000702-p1
Select and output the 4th field followed by the 2nd field.
{print $4, $2}
chen cobalt harbor failed dina juniper amber paused dina grove fable pending bruno harbor ember pending kim cobalt delta active alice birch juniper paused jules harbor cobalt active kim juniper delta ready farah delta birch paused
failed cobalt paused juniper pending grove pending harbor active cobalt paused birch active harbor ready juniper paused delta
gus indigo indigo ready alice fable delta paused chen harbor grove failed kim ember amber paused ivan harbor indigo paused bruno fable indigo active dina birch amber paused
ready indigo paused fable failed harbor paused ember paused harbor active fable paused birch
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000702
qwen/qwen3.7-plus
awkweave-0000703
Print the last field of every input line.
{print $NF}
81 hana pending 29 farah failed 84 farah ready 23 kim paused 69 farah closed 118 chen active 49 gus paused 78 hana ready 52 hana failed 84 alice ready
pending failed ready paused closed active paused ready failed ready
91 lina active 86 jules closed 120 alice closed 73 eli ready 120 farah paused 93 hana ready 10 kim ready 43 eli failed
active closed closed ready paused ready ready failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000703-p1
Print the final field from every input line.
{print $NF}
81 hana pending 29 farah failed 84 farah ready 23 kim paused 69 farah closed 118 chen active 49 gus paused 78 hana ready 52 hana failed 84 alice ready
pending failed ready paused closed active paused ready failed ready
91 lina active 86 jules closed 120 alice closed 73 eli ready 120 farah paused 93 hana ready 10 kim ready 43 eli failed
active closed closed ready paused ready ready failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000703
qwen/qwen3.7-plus
awkweave-0000704
Print the complete records where column 1 is less than 61.
$1 < 61
74 failed pending 6 closed ready 49 failed closed 53 ready closed 106 ready closed 108 ready failed 109 active closed 53 closed active 72 failed closed
6 closed ready 49 failed closed 53 ready closed 53 closed active
2 active pending 42 paused active 120 active closed 6 closed paused 19 closed paused 76 active ready 113 failed pending
2 active pending 42 paused active 6 closed paused 19 closed paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000704-p1
Display full records where the value in column 1 is strictly less than 61.
$1 < 61
74 failed pending 6 closed ready 49 failed closed 53 ready closed 106 ready closed 108 ready failed 109 active closed 53 closed active 72 failed closed
6 closed ready 49 failed closed 53 ready closed 53 closed active
2 active pending 42 paused active 120 active closed 6 closed paused 19 closed paused 76 active ready 113 failed pending
2 active pending 42 paused active 6 closed paused 19 closed paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000704
qwen/qwen3.7-plus
awkweave-0000705
Show whole lines whose 2nd field is between 12 and 22, inclusive.
$2 >= 12 && $2 <= 22
alice 4 pending ivan gus 5 paused alice gus 25 closed bruno hana 10 active bruno chen 26 active hana gus 24 paused chen eli 15 active dina jules 30 ready gus chen 7 ready hana
eli 15 active dina
chen 21 active bruno jules 12 ready dina alice 16 active dina kim 11 closed hana hana 22 ready alice chen 8 closed hana ivan 11 paused kim lina 18 ready eli
chen 21 active bruno jules 12 ready dina alice 16 active dina hana 22 ready alice lina 18 ready eli
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000705-p1
Output entire lines where the second field falls within the range of 12 to 22, inclusive.
$2 >= 12 && $2 <= 22
alice 4 pending ivan gus 5 paused alice gus 25 closed bruno hana 10 active bruno chen 26 active hana gus 24 paused chen eli 15 active dina jules 30 ready gus chen 7 ready hana
eli 15 active dina
chen 21 active bruno jules 12 ready dina alice 16 active dina kim 11 closed hana hana 22 ready alice chen 8 closed hana ivan 11 paused kim lina 18 ready eli
chen 21 active bruno jules 12 ready dina alice 16 active dina hana 22 ready alice lina 18 ready eli
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000705
qwen/qwen3.7-plus
awkweave-0000706
Print column 2 only for rows where column 3 is exactly closed.
$3 == "closed"{print $2}
indigo farah paused 14 ember lina closed 33 fable dina pending 69 ember farah paused 53 cobalt hana ready 0 birch gus active 16 harbor kim active 81 harbor eli ready 20 delta farah failed 82 cobalt kim failed 17
lina
delta dina active 64 cobalt ivan active 101 indigo hana ready 8 indigo farah paused 12 harbor bruno active 75 harbor alice closed 37 birch chen pending 117 harbor chen ready 60
alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000706-p1
Output only the second column for rows where the third column is exactly 'closed'.
$3 == "closed"{print $2}
indigo farah paused 14 ember lina closed 33 fable dina pending 69 ember farah paused 53 cobalt hana ready 0 birch gus active 16 harbor kim active 81 harbor eli ready 20 delta farah failed 82 cobalt kim failed 17
lina
delta dina active 64 cobalt ivan active 101 indigo hana ready 8 indigo farah paused 12 harbor bruno active 75 harbor alice closed 37 birch chen pending 117 harbor chen ready 60
alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000706
qwen/qwen3.7-plus
awkweave-0000707
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
38 fable DEBUG 104 grove INFO 18 fable INFO 28 delta WARN 20 cobalt ERROR 101 delta WARN 112 ember DEBUG 36 birch ERROR 80 birch ERROR
104 grove INFO 18 fable INFO
26 amber WARN 63 amber INFO 100 ember DEBUG 117 ember ERROR 108 birch WARN 72 juniper WARN 20 fable INFO 43 birch ERROR 37 indigo DEBUG 94 ember DEBUG
63 amber INFO 20 fable INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000707-p1
Display all fields from lines where the third field starts with 'INFO'.
$3 ~ /^INFO/
38 fable DEBUG 104 grove INFO 18 fable INFO 28 delta WARN 20 cobalt ERROR 101 delta WARN 112 ember DEBUG 36 birch ERROR 80 birch ERROR
104 grove INFO 18 fable INFO
26 amber WARN 63 amber INFO 100 ember DEBUG 117 ember ERROR 108 birch WARN 72 juniper WARN 20 fable INFO 43 birch ERROR 37 indigo DEBUG 94 ember DEBUG
63 amber INFO 20 fable INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000707
qwen/qwen3.7-plus
awkweave-0000708
Print every line except those containing the exact text delta.
$0 !~ /delta/
cobalt 13 closed birch 2 active birch 24 ready juniper 62 failed fable 98 failed grove 83 active birch 39 closed fable 34 active delta 999 active
cobalt 13 closed birch 2 active birch 24 ready juniper 62 failed fable 98 failed grove 83 active birch 39 closed fable 34 active
delta 104 failed harbor 8 closed delta 74 active ember 14 ready amber 58 closed amber 90 paused delta 999 active
harbor 8 closed ember 14 ready amber 58 closed amber 90 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000708-p1
Print every line that does not contain the exact string 'delta'.
$0 !~ /delta/
cobalt 13 closed birch 2 active birch 24 ready juniper 62 failed fable 98 failed grove 83 active birch 39 closed fable 34 active delta 999 active
cobalt 13 closed birch 2 active birch 24 ready juniper 62 failed fable 98 failed grove 83 active birch 39 closed fable 34 active
delta 104 failed harbor 8 closed delta 74 active ember 14 ready amber 58 closed amber 90 paused delta 999 active
harbor 8 closed ember 14 ready amber 58 closed amber 90 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000708
qwen/qwen3.7-plus
awkweave-0000709
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
dina indigo 114 bruno grove 73 eli juniper 68 jules harbor 76 jules cobalt 81 chen delta 27 hana ember 98 farah grove 52
bruno grove 73 eli juniper 68 jules harbor 76
kim harbor 88 jules harbor 94 gus birch 2 hana delta 22 ivan ember 97 eli juniper 68 lina birch 104 chen ember 25 dina harbor 68 alice ember 53
jules harbor 94 gus birch 2 hana delta 22
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000709-p1
Output lines 2 to 4, inclusive.
NR >= 2 && NR <= 4
dina indigo 114 bruno grove 73 eli juniper 68 jules harbor 76 jules cobalt 81 chen delta 27 hana ember 98 farah grove 52
bruno grove 73 eli juniper 68 jules harbor 76
kim harbor 88 jules harbor 94 gus birch 2 hana delta 22 ivan ember 97 eli juniper 68 lina birch 104 chen ember 25 dina harbor 68 alice ember 53
jules harbor 94 gus birch 2 hana delta 22
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000709
qwen/qwen3.7-plus
awkweave-0000710
Output only the first 4 records.
NR <= 4
jules 65 delta gus 24 amber gus 25 amber alice 119 harbor jules 86 amber ivan 99 indigo jules 64 amber dina 66 indigo gus 53 grove
jules 65 delta gus 24 amber gus 25 amber alice 119 harbor
jules 48 indigo alice 57 birch ivan 79 amber jules 17 cobalt kim 65 indigo ivan 93 birch eli 54 birch
jules 48 indigo alice 57 birch ivan 79 amber jules 17 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000710-p1
Display only the first 4 records.
NR <= 4
jules 65 delta gus 24 amber gus 25 amber alice 119 harbor jules 86 amber ivan 99 indigo jules 64 amber dina 66 indigo gus 53 grove
jules 65 delta gus 24 amber gus 25 amber alice 119 harbor
jules 48 indigo alice 57 birch ivan 79 amber jules 17 cobalt kim 65 indigo ivan 93 birch eli 54 birch
jules 48 indigo alice 57 birch ivan 79 amber jules 17 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000710
qwen/qwen3.7-plus
awkweave-0000711
Skip the first line and print every remaining line unchanged.
NR > 1
farah 83 cobalt jules 80 harbor farah 110 birch jules 2 harbor farah 52 cobalt chen 53 harbor gus 85 delta eli 71 fable jules 71 juniper
jules 80 harbor farah 110 birch jules 2 harbor farah 52 cobalt chen 53 harbor gus 85 delta eli 71 fable jules 71 juniper
gus 111 harbor kim 77 juniper ivan 102 indigo farah 47 amber farah 27 delta eli 45 cobalt hana 109 amber jules 89 ember
kim 77 juniper ivan 102 indigo farah 47 amber farah 27 delta eli 45 cobalt hana 109 amber jules 89 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000711-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
farah 83 cobalt jules 80 harbor farah 110 birch jules 2 harbor farah 52 cobalt chen 53 harbor gus 85 delta eli 71 fable jules 71 juniper
jules 80 harbor farah 110 birch jules 2 harbor farah 52 cobalt chen 53 harbor gus 85 delta eli 71 fable jules 71 juniper
gus 111 harbor kim 77 juniper ivan 102 indigo farah 47 amber farah 27 delta eli 45 cobalt hana 109 amber jules 89 ember
kim 77 juniper ivan 102 indigo farah 47 amber farah 27 delta eli 45 cobalt hana 109 amber jules 89 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000711
qwen/qwen3.7-plus
awkweave-0000712
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
ivan pending 60 farah failed 55 jules pending 9 dina ready 15 jules pending 110 farah ready 7 bruno active 34 bruno active 10
0
bruno paused 98 gus active 88 gus active 17 eli pending 62 chen active 2 bruno closed 41 gus paused 37
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000712-p1
Count the number of records with 'paused' in column 2, printing 0 if none exist.
$2 == "paused"{n++}END{print n+0}
ivan pending 60 farah failed 55 jules pending 9 dina ready 15 jules pending 110 farah ready 7 bruno active 34 bruno active 10
0
bruno paused 98 gus active 88 gus active 17 eli pending 62 chen active 2 bruno closed 41 gus paused 37
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000712
qwen/qwen3.7-plus
awkweave-0000713
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
birch 2 eli harbor 30 bruno delta 30 gus fable 4 gus fable 20 lina birch 3 lina grove 14 alice indigo 11 kim
114
fable 21 hana fable 11 kim indigo 28 eli harbor 23 hana grove 6 dina cobalt 15 lina juniper 5 alice delta 13 hana
122
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000713-p1
Compute and display the sum of integer values in column 2.
{s+=$2}END{print s+0}
birch 2 eli harbor 30 bruno delta 30 gus fable 4 gus fable 20 lina birch 3 lina grove 14 alice indigo 11 kim
114
fable 21 hana fable 11 kim indigo 28 eli harbor 23 hana grove 6 dina cobalt 15 lina juniper 5 alice delta 13 hana
122
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000713
qwen/qwen3.7-plus
awkweave-0000714
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
birch 12 hana ember 19 ivan ember 21 jules amber 17 bruno grove 30 alice harbor 9 eli
18.00
birch 14 ivan harbor 4 kim fable 1 farah juniper 7 chen indigo 16 kim cobalt 10 eli delta 3 eli harbor 7 bruno fable 13 ivan indigo 25 lina
10.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000714-p1
Print the average of column 2, rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
birch 12 hana ember 19 ivan ember 21 jules amber 17 bruno grove 30 alice harbor 9 eli
18.00
birch 14 ivan harbor 4 kim fable 1 farah juniper 7 chen indigo 16 kim cobalt 10 eli delta 3 eli harbor 7 bruno fable 13 ivan indigo 25 lina
10.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000714
qwen/qwen3.7-plus
awkweave-0000715
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 hana fable 5 ivan juniper 12 farah cobalt 16 bruno birch 3 farah amber 13 alice ember 27 chen ember 4 hana grove 5 gus fable 4 eli juniper
3
3 chen indigo 18 chen fable 12 lina delta 27 jules fable 22 lina ember 15 lina delta
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000715-p1
Identify and output the minimum numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 hana fable 5 ivan juniper 12 farah cobalt 16 bruno birch 3 farah amber 13 alice ember 27 chen ember 4 hana grove 5 gus fable 4 eli juniper
3
3 chen indigo 18 chen fable 12 lina delta 27 jules fable 22 lina ember 15 lina delta
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000715
qwen/qwen3.7-plus
awkweave-0000716
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
delta 9 lina indigo 22 hana birch 18 dina amber 7 ivan juniper 20 ivan harbor 27 hana juniper 14 chen delta 1 gus cobalt 13 kim fable 2 hana
27
indigo 18 eli juniper 15 kim juniper 10 gus amber 22 hana ember 21 bruno indigo 6 eli ember 28 kim ember 20 jules indigo 20 alice birch 10 ivan
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000716-p1
Identify and output the maximum numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
delta 9 lina indigo 22 hana birch 18 dina amber 7 ivan juniper 20 ivan harbor 27 hana juniper 14 chen delta 1 gus cobalt 13 kim fable 2 hana
27
indigo 18 eli juniper 15 kim juniper 10 gus amber 22 hana ember 21 bruno indigo 6 eli ember 28 kim ember 20 jules indigo 20 alice birch 10 ivan
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000716
qwen/qwen3.7-plus
awkweave-0000717
Count all input records and print the total.
END{print NR}
alice 32 eli 19 lina 33 bruno 15 hana 71 bruno 38 lina 108
7
dina 42 bruno 109 alice 12 gus 41 eli 44 dina 35 hana 62
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000717-p1
Count the total number of input records and print the result.
END{print NR}
alice 32 eli 19 lina 33 bruno 15 hana 71 bruno 38 lina 108
7
dina 42 bruno 109 alice 12 gus 41 eli 44 dina 35 hana 62
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000717
qwen/qwen3.7-plus
awkweave-0000718
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen harbor 68 eli harbor 33 ivan fable 53 lina juniper 17 alice ember 57 lina juniper 17 farah juniper 76 jules birch 25 ivan harbor 60 dina indigo 68
chen harbor 68 eli harbor 33 ivan fable 53 lina juniper 17 alice ember 57 farah juniper 76 jules birch 25 ivan harbor 60 dina indigo 68
gus cobalt 109 eli ember 2 ivan harbor 6 dina indigo 41 eli ember 2 jules fable 47 gus juniper 44 dina grove 120
gus cobalt 109 eli ember 2 ivan harbor 6 dina indigo 41 jules fable 47 gus juniper 44 dina grove 120
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000718-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
chen harbor 68 eli harbor 33 ivan fable 53 lina juniper 17 alice ember 57 lina juniper 17 farah juniper 76 jules birch 25 ivan harbor 60 dina indigo 68
chen harbor 68 eli harbor 33 ivan fable 53 lina juniper 17 alice ember 57 farah juniper 76 jules birch 25 ivan harbor 60 dina indigo 68
gus cobalt 109 eli ember 2 ivan harbor 6 dina indigo 41 eli ember 2 jules fable 47 gus juniper 44 dina grove 120
gus cobalt 109 eli ember 2 ivan harbor 6 dina indigo 41 jules fable 47 gus juniper 44 dina grove 120
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000718
qwen/qwen3.7-plus
awkweave-0000719
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
jules birch 44 dina cobalt 97 chen fable 22 eli fable 86 kim grove 81 lina ember 90 farah indigo 45 bruno indigo 8
jules birch 44 dina cobalt 97 chen fable 22 eli fable 86 kim grove 81 lina ember 90 farah indigo 45 bruno indigo 8
dina grove 51 dina ember 75 jules ember 96 jules indigo 48 ivan juniper 120 lina grove 21 chen ember 61 dina ember 83 lina juniper 110
dina grove 51 jules ember 96 ivan juniper 120 lina grove 21 chen ember 61
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000719-p1
Retain only the initial line for every unique value found in the first column, ensuring the original input order is preserved.
!seen[$1]++
jules birch 44 dina cobalt 97 chen fable 22 eli fable 86 kim grove 81 lina ember 90 farah indigo 45 bruno indigo 8
jules birch 44 dina cobalt 97 chen fable 22 eli fable 86 kim grove 81 lina ember 90 farah indigo 45 bruno indigo 8
dina grove 51 dina ember 75 jules ember 96 jules indigo 48 ivan juniper 120 lina grove 21 chen ember 61 dina ember 83 lina juniper 110
dina grove 51 jules ember 96 ivan juniper 120 lina grove 21 chen ember 61
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000719
qwen/qwen3.7-plus