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-0019771
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}
hana 14 0 bruno 12 17 gus 28 25 dina 22 14 kim 5 13 farah 30 30 dina 20 1 chen 11 7
bruno 0.71 gus 1.12 dina 1.57 kim 0.38 farah 1.00 dina 20.00 chen 1.57
lina 3 0 hana 7 19 gus 15 27 kim 5 3 bruno 24 8 farah 26 17 chen 2 4 dina 25 3 lina 22 1
hana 0.37 gus 0.56 kim 1.67 bruno 3.00 farah 1.53 chen 0.50 dina 8.33 lina 22.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019771-p1
For each row where the third column is non-zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 14 0 bruno 12 17 gus 28 25 dina 22 14 kim 5 13 farah 30 30 dina 20 1 chen 11 7
bruno 0.71 gus 1.12 dina 1.57 kim 0.38 farah 1.00 dina 20.00 chen 1.57
lina 3 0 hana 7 19 gus 15 27 kim 5 3 bruno 24 8 farah 26 17 chen 2 4 dina 25 3 lina 22 1
hana 0.37 gus 0.56 kim 1.67 bruno 3.00 farah 1.53 chen 0.50 dina 8.33 lina 22.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019771
qwen/qwen3.7-plus
awkweave-0019772
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]}
farah fable 5 hana cobalt 22 chen amber 24 farah amber 19 hana delta 3 kim birch 14 gus harbor 30 hana cobalt 6
gus harbor 30 chen amber 24 hana cobalt 22
alice ember 22 kim delta 24 alice grove 18 jules indigo 27 dina amber 13 farah grove 2 eli birch 11 kim cobalt 21 chen delta 17
jules indigo 27 kim delta 24 alice ember 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019772-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah fable 5 hana cobalt 22 chen amber 24 farah amber 19 hana delta 3 kim birch 14 gus harbor 30 hana cobalt 6
gus harbor 30 chen amber 24 hana cobalt 22
alice ember 22 kim delta 24 alice grove 18 jules indigo 27 dina amber 13 farah grove 2 eli birch 11 kim cobalt 21 chen delta 17
jules indigo 27 kim delta 24 alice ember 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019772
qwen/qwen3.7-plus
awkweave-0019773
Print column 5 followed by column 1 for every record.
{print $5, $1}
73 grove 85 hana ember 8 49 birch 84 jules harbor 69 11 ember 84 bruno juniper 104 25 birch 43 ivan grove 77 31 cobalt 6 lina indigo 101 110 juniper 45 chen indigo 68 90 indigo 91 bruno indigo 22 88 fable 119 hana fable 40 22 grove 107 kim ember 119
ember 73 harbor 49 juniper 11 grove 25 indigo 31 indigo 110 indigo 90 fable 88 ember 22
17 fable 59 ivan birch 111 73 amber 78 hana fable 95 1 harbor 59 lina indigo 76 113 delta 32 lina fable 69 12 juniper 103 eli harbor 88 119 delta 30 gus juniper 8 34 grove 106 chen amber 79
birch 17 fable 73 indigo 1 fable 113 harbor 12 juniper 119 amber 34
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019773-p1
For every record, output the fifth column followed by the first column.
{print $5, $1}
73 grove 85 hana ember 8 49 birch 84 jules harbor 69 11 ember 84 bruno juniper 104 25 birch 43 ivan grove 77 31 cobalt 6 lina indigo 101 110 juniper 45 chen indigo 68 90 indigo 91 bruno indigo 22 88 fable 119 hana fable 40 22 grove 107 kim ember 119
ember 73 harbor 49 juniper 11 grove 25 indigo 31 indigo 110 indigo 90 fable 88 ember 22
17 fable 59 ivan birch 111 73 amber 78 hana fable 95 1 harbor 59 lina indigo 76 113 delta 32 lina fable 69 12 juniper 103 eli harbor 88 119 delta 30 gus juniper 8 34 grove 106 chen amber 79
birch 17 fable 73 indigo 1 fable 113 harbor 12 juniper 119 amber 34
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019773
qwen/qwen3.7-plus
awkweave-0019774
Print the last field of every input line.
{print $NF}
cobalt farah 15 jules delta farah 39 harbor eli 115 eli grove eli 83 fable hana 79 gus ember bruno 105 fable jules 33 kim delta hana 76 birch chen 89 hana grove bruno 1 juniper eli 48 jules ember bruno 20 amber dina 60 gus juniper jules 5 juniper lina 12 gus harbor farah 82
39 83 105 76 1 20 5 82
delta dina 99 hana birch ivan 23 fable eli 41 ivan delta hana 27 fable lina 63 bruno fable bruno 73 cobalt alice 29 alice harbor lina 15 grove kim 45 jules grove kim 110 birch gus 116 alice amber ivan 16 grove hana 120 gus ember lina 45 amber eli 112 lina delta dina 0
23 27 73 15 110 16 45 0
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019774-p1
Print the final field from each line of input.
{print $NF}
cobalt farah 15 jules delta farah 39 harbor eli 115 eli grove eli 83 fable hana 79 gus ember bruno 105 fable jules 33 kim delta hana 76 birch chen 89 hana grove bruno 1 juniper eli 48 jules ember bruno 20 amber dina 60 gus juniper jules 5 juniper lina 12 gus harbor farah 82
39 83 105 76 1 20 5 82
delta dina 99 hana birch ivan 23 fable eli 41 ivan delta hana 27 fable lina 63 bruno fable bruno 73 cobalt alice 29 alice harbor lina 15 grove kim 45 jules grove kim 110 birch gus 116 alice amber ivan 16 grove hana 120 gus ember lina 45 amber eli 112 lina delta dina 0
23 27 73 15 110 16 45 0
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019774
qwen/qwen3.7-plus
awkweave-0019775
Print the complete records where column 1 is less than 39.
$1 < 39
40 lina dina 57 bruno chen 0 jules ivan 83 chen gus 88 jules bruno 4 kim chen 104 gus bruno 60 hana lina 93 eli chen
0 jules ivan 4 kim chen
120 dina hana 66 chen alice 91 farah lina 20 chen kim 45 kim kim 80 farah ivan
20 chen kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019775-p1
Output the full records for which the value in the first column is less than 39.
$1 < 39
40 lina dina 57 bruno chen 0 jules ivan 83 chen gus 88 jules bruno 4 kim chen 104 gus bruno 60 hana lina 93 eli chen
0 jules ivan 4 kim chen
120 dina hana 66 chen alice 91 farah lina 20 chen kim 45 kim kim 80 farah ivan
20 chen kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019775
qwen/qwen3.7-plus
awkweave-0019776
Show whole lines whose 1st field is between 3 and 20, inclusive.
$1 >= 3 && $1 <= 20
13 fable pending closed 28 amber active closed 24 juniper paused paused 15 ember failed failed 29 juniper closed closed 6 harbor active paused 14 ember paused pending 22 amber pending closed
13 fable pending closed 15 ember failed failed 6 harbor active paused 14 ember paused pending
22 amber closed paused 1 amber ready ready 2 juniper active ready 26 indigo ready pending 19 indigo closed paused 15 amber failed closed
19 indigo closed paused 15 amber failed closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019776-p1
Display entire lines where the first field falls within the inclusive range of 3 to 20.
$1 >= 3 && $1 <= 20
13 fable pending closed 28 amber active closed 24 juniper paused paused 15 ember failed failed 29 juniper closed closed 6 harbor active paused 14 ember paused pending 22 amber pending closed
13 fable pending closed 15 ember failed failed 6 harbor active paused 14 ember paused pending
22 amber closed paused 1 amber ready ready 2 juniper active ready 26 indigo ready pending 19 indigo closed paused 15 amber failed closed
19 indigo closed paused 15 amber failed closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019776
qwen/qwen3.7-plus
awkweave-0019777
Print column 4 only for rows where column 1 is exactly paused.
$1 == "paused"{print $4}
active 100 juniper farah active 72 fable bruno active 77 amber dina paused 52 grove lina ready 52 ember lina active 72 fable lina failed 59 fable eli active 66 delta gus
lina
closed 64 fable dina pending 57 birch lina closed 31 amber eli ready 27 birch ivan active 24 juniper chen active 86 cobalt lina active 46 juniper farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019777-p1
Output the fourth column only for rows where the first column contains the exact value 'paused'.
$1 == "paused"{print $4}
active 100 juniper farah active 72 fable bruno active 77 amber dina paused 52 grove lina ready 52 ember lina active 72 fable lina failed 59 fable eli active 66 delta gus
lina
closed 64 fable dina pending 57 birch lina closed 31 amber eli ready 27 birch ivan active 24 juniper chen active 86 cobalt lina active 46 juniper farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019777
qwen/qwen3.7-plus
awkweave-0019778
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
47 INFO fable 26 DEBUG juniper 50 INFO grove 117 WARN amber 85 DEBUG amber 37 WARN juniper
117 WARN amber 37 WARN juniper
36 INFO indigo 24 WARN cobalt 97 WARN ember 39 ERROR juniper 92 WARN juniper 27 WARN grove 85 WARN birch
24 WARN cobalt 97 WARN ember 92 WARN juniper 27 WARN grove 85 WARN birch
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019778-p1
Output every field from rows where the second field starts with WARN.
$2 ~ /^WARN/
47 INFO fable 26 DEBUG juniper 50 INFO grove 117 WARN amber 85 DEBUG amber 37 WARN juniper
117 WARN amber 37 WARN juniper
36 INFO indigo 24 WARN cobalt 97 WARN ember 39 ERROR juniper 92 WARN juniper 27 WARN grove 85 WARN birch
24 WARN cobalt 97 WARN ember 92 WARN juniper 27 WARN grove 85 WARN birch
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019778
qwen/qwen3.7-plus
awkweave-0019779
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
grove 79 ready indigo 51 active ember 53 failed fable 37 active fable 9 closed grove 25 active juniper 103 ready birch 11 closed juniper 73 active juniper 999 active
grove 79 ready indigo 51 active ember 53 failed fable 37 active fable 9 closed grove 25 active birch 11 closed
indigo 76 failed ember 59 active delta 76 closed birch 72 paused amber 14 closed indigo 113 ready fable 8 failed juniper 999 active
indigo 76 failed ember 59 active delta 76 closed birch 72 paused amber 14 closed indigo 113 ready fable 8 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019779-p1
Display all lines that do not contain the exact string juniper.
$0 !~ /juniper/
grove 79 ready indigo 51 active ember 53 failed fable 37 active fable 9 closed grove 25 active juniper 103 ready birch 11 closed juniper 73 active juniper 999 active
grove 79 ready indigo 51 active ember 53 failed fable 37 active fable 9 closed grove 25 active birch 11 closed
indigo 76 failed ember 59 active delta 76 closed birch 72 paused amber 14 closed indigo 113 ready fable 8 failed juniper 999 active
indigo 76 failed ember 59 active delta 76 closed birch 72 paused amber 14 closed indigo 113 ready fable 8 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019779
qwen/qwen3.7-plus
awkweave-0019780
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
chen harbor 93 dina grove 25 eli juniper 107 chen juniper 6 eli birch 50 chen indigo 46
eli juniper 107 chen juniper 6 eli birch 50
chen fable 60 kim birch 79 alice delta 45 alice cobalt 5 jules amber 42 ivan birch 90 gus harbor 86 ivan cobalt 85 bruno indigo 103
alice delta 45 alice cobalt 5 jules amber 42
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019780-p1
Show lines 3 to 5, inclusive of both ends.
NR >= 3 && NR <= 5
chen harbor 93 dina grove 25 eli juniper 107 chen juniper 6 eli birch 50 chen indigo 46
eli juniper 107 chen juniper 6 eli birch 50
chen fable 60 kim birch 79 alice delta 45 alice cobalt 5 jules amber 42 ivan birch 90 gus harbor 86 ivan cobalt 85 bruno indigo 103
alice delta 45 alice cobalt 5 jules amber 42
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019780
qwen/qwen3.7-plus
awkweave-0019781
Output only the first 5 records.
NR <= 5
gus 115 juniper eli 31 indigo eli 81 indigo gus 118 cobalt gus 15 ember chen 96 cobalt gus 110 delta gus 30 delta
gus 115 juniper eli 31 indigo eli 81 indigo gus 118 cobalt gus 15 ember
lina 39 harbor kim 90 harbor eli 116 birch gus 105 amber chen 82 birch gus 36 indigo
lina 39 harbor kim 90 harbor eli 116 birch gus 105 amber chen 82 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019781-p1
Print just the initial 5 records.
NR <= 5
gus 115 juniper eli 31 indigo eli 81 indigo gus 118 cobalt gus 15 ember chen 96 cobalt gus 110 delta gus 30 delta
gus 115 juniper eli 31 indigo eli 81 indigo gus 118 cobalt gus 15 ember
lina 39 harbor kim 90 harbor eli 116 birch gus 105 amber chen 82 birch gus 36 indigo
lina 39 harbor kim 90 harbor eli 116 birch gus 105 amber chen 82 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019781
qwen/qwen3.7-plus
awkweave-0019782
Skip the first line and print every remaining line unchanged.
NR > 1
eli 19 grove bruno 64 ember hana 22 ember farah 1 harbor kim 76 juniper alice 81 fable kim 35 harbor
bruno 64 ember hana 22 ember farah 1 harbor kim 76 juniper alice 81 fable kim 35 harbor
lina 41 cobalt bruno 114 ember eli 113 delta ivan 44 delta ivan 91 cobalt chen 90 delta gus 12 ember
bruno 114 ember eli 113 delta ivan 44 delta ivan 91 cobalt chen 90 delta gus 12 ember
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019782-p1
Omit the first line and output the rest as they are.
NR > 1
eli 19 grove bruno 64 ember hana 22 ember farah 1 harbor kim 76 juniper alice 81 fable kim 35 harbor
bruno 64 ember hana 22 ember farah 1 harbor kim 76 juniper alice 81 fable kim 35 harbor
lina 41 cobalt bruno 114 ember eli 113 delta ivan 44 delta ivan 91 cobalt chen 90 delta gus 12 ember
bruno 114 ember eli 113 delta ivan 44 delta ivan 91 cobalt chen 90 delta gus 12 ember
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019782
qwen/qwen3.7-plus
awkweave-0019783
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
chen ready 22 bruno failed 6 eli active 68 alice failed 58 kim failed 40 ivan ready 84 eli active 11 kim failed 12 jules pending 14 bruno failed 95
2
dina paused 74 jules failed 54 hana paused 79 lina failed 59 farah active 72 dina active 2
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019783-p1
Tally the number of entries with ready in the second column; output 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
chen ready 22 bruno failed 6 eli active 68 alice failed 58 kim failed 40 ivan ready 84 eli active 11 kim failed 12 jules pending 14 bruno failed 95
2
dina paused 74 jules failed 54 hana paused 79 lina failed 59 farah active 72 dina active 2
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019783
qwen/qwen3.7-plus
awkweave-0019784
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
dina 27 grove gus 14 indigo dina 23 birch gus 10 grove bruno 8 ember chen 13 fable eli 22 delta jules 27 indigo hana 20 cobalt
164
alice 15 cobalt gus 20 amber kim 21 delta eli 2 cobalt alice 2 amber jules 6 indigo chen 15 cobalt bruno 17 grove bruno 13 harbor farah 9 ember
120
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019784-p1
Compute and display the total sum of integer values in the second column.
{s+=$2}END{print s+0}
dina 27 grove gus 14 indigo dina 23 birch gus 10 grove bruno 8 ember chen 13 fable eli 22 delta jules 27 indigo hana 20 cobalt
164
alice 15 cobalt gus 20 amber kim 21 delta eli 2 cobalt alice 2 amber jules 6 indigo chen 15 cobalt bruno 17 grove bruno 13 harbor farah 9 ember
120
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019784
qwen/qwen3.7-plus
awkweave-0019785
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 4 gus birch 19 eli juniper 6 farah fable 26 gus grove 4 chen cobalt 5 kim juniper 8 dina grove 30 hana amber 5 ivan
11.89
harbor 23 farah amber 6 farah birch 3 bruno indigo 7 jules cobalt 18 bruno birch 2 bruno harbor 4 hana grove 14 lina grove 3 jules birch 30 eli
11.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019785-p1
Calculate the average of the second column and print it rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 4 gus birch 19 eli juniper 6 farah fable 26 gus grove 4 chen cobalt 5 kim juniper 8 dina grove 30 hana amber 5 ivan
11.89
harbor 23 farah amber 6 farah birch 3 bruno indigo 7 jules cobalt 18 bruno birch 2 bruno harbor 4 hana grove 14 lina grove 3 jules birch 30 eli
11.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019785
qwen/qwen3.7-plus
awkweave-0019786
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 bruno delta 4 gus ember 30 kim ember 15 chen cobalt 7 farah amber 26 alice delta 13 chen fable
2
11 farah indigo 20 gus amber 17 lina fable 3 dina delta 5 bruno amber 22 alice delta 28 eli birch 6 farah ember
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019786-p1
Identify and output the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 bruno delta 4 gus ember 30 kim ember 15 chen cobalt 7 farah amber 26 alice delta 13 chen fable
2
11 farah indigo 20 gus amber 17 lina fable 3 dina delta 5 bruno amber 22 alice delta 28 eli birch 6 farah ember
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019786
qwen/qwen3.7-plus
awkweave-0019787
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 17 delta dina 6 delta dina 5 harbor dina 29 cobalt farah 23 cobalt alice 27 birch eli 27 fable gus 27 ember hana 17 birch
29
bruno 7 birch kim 23 juniper hana 19 delta ivan 7 amber gus 27 indigo kim 5 delta alice 6 fable dina 18 amber farah 14 amber
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019787-p1
Identify and output the maximum numeric value found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
dina 17 delta dina 6 delta dina 5 harbor dina 29 cobalt farah 23 cobalt alice 27 birch eli 27 fable gus 27 ember hana 17 birch
29
bruno 7 birch kim 23 juniper hana 19 delta ivan 7 amber gus 27 indigo kim 5 delta alice 6 fable dina 18 amber farah 14 amber
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019787
qwen/qwen3.7-plus
awkweave-0019788
Count all input records and print the total.
END{print NR}
ivan 97 lina 68 alice 9 bruno 70 gus 74 gus 108
6
lina 105 alice 59 lina 100 jules 83 kim 65 ivan 101 chen 57 farah 17 kim 15 chen 116
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019788-p1
Count the total number of input records and print the result.
END{print NR}
ivan 97 lina 68 alice 9 bruno 70 gus 74 gus 108
6
lina 105 alice 59 lina 100 jules 83 kim 65 ivan 101 chen 57 farah 17 kim 15 chen 116
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019788
qwen/qwen3.7-plus
awkweave-0019789
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice grove 66 gus delta 58 alice grove 66 ivan delta 64 hana delta 111 alice harbor 10 hana fable 50 chen juniper 84
alice grove 66 gus delta 58 ivan delta 64 hana delta 111 alice harbor 10 hana fable 50 chen juniper 84
farah grove 26 chen delta 16 gus delta 97 hana juniper 37 jules indigo 33 dina cobalt 96 hana harbor 52 farah grove 26 lina juniper 81 lina birch 105 bruno ember 98
farah grove 26 chen delta 16 gus delta 97 hana juniper 37 jules indigo 33 dina cobalt 96 hana harbor 52 lina juniper 81 lina birch 105 bruno ember 98
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019789-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice grove 66 gus delta 58 alice grove 66 ivan delta 64 hana delta 111 alice harbor 10 hana fable 50 chen juniper 84
alice grove 66 gus delta 58 ivan delta 64 hana delta 111 alice harbor 10 hana fable 50 chen juniper 84
farah grove 26 chen delta 16 gus delta 97 hana juniper 37 jules indigo 33 dina cobalt 96 hana harbor 52 farah grove 26 lina juniper 81 lina birch 105 bruno ember 98
farah grove 26 chen delta 16 gus delta 97 hana juniper 37 jules indigo 33 dina cobalt 96 hana harbor 52 lina juniper 81 lina birch 105 bruno ember 98
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019789
qwen/qwen3.7-plus
awkweave-0019800
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli alpha 8 ivan delta 23 hana gamma 2 eli delta 30 farah alpha 24 kim delta 12 chen gamma 28 ivan alpha 24
alpha 56 delta 65 gamma 30
farah beta 30 bruno gamma 9 alice beta 17 bruno beta 14 eli gamma 14 ivan delta 14
beta 61 gamma 23 delta 14
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019800-p1
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli alpha 8 ivan delta 23 hana gamma 2 eli delta 30 farah alpha 24 kim delta 12 chen gamma 28 ivan alpha 24
alpha 56 delta 65 gamma 30
farah beta 30 bruno gamma 9 alice beta 17 bruno beta 14 eli gamma 14 ivan delta 14
beta 61 gamma 23 delta 14
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0019800
qwen/qwen3.7-plus
awkweave-0019801
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma grove 86 alpha delta 105 gamma amber 7 delta birch 65 delta ember 95 gamma cobalt 66 gamma indigo 67 alpha cobalt 12 delta fable 5
gamma 4 alpha 2 delta 3
alpha amber 16 delta indigo 47 delta birch 86 alpha delta 32 beta delta 23 delta cobalt 92
alpha 2 delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019801-p1
Identify duplicate entries in column 1, count their occurrences, and list them in the order they first appear in the data.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma grove 86 alpha delta 105 gamma amber 7 delta birch 65 delta ember 95 gamma cobalt 66 gamma indigo 67 alpha cobalt 12 delta fable 5
gamma 4 alpha 2 delta 3
alpha amber 16 delta indigo 47 delta birch 86 alpha delta 32 beta delta 23 delta cobalt 92
alpha 2 delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019801
qwen/qwen3.7-plus
awkweave-0019802
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"]}
state note score display_name r001 jules 16 active r002 jules 25 active r003 chen 29 paused r004 jules 21 failed r005 alice 24 failed r006 chen 29 paused r007 jules 4 ready r008 lina 29 active
16 25 29 21 24 29 4 29
state note score display_name r001 hana 19 pending r002 dina 20 paused r003 gus 23 active r004 jules 18 pending r005 bruno 12 closed r006 farah 6 failed r007 farah 13 pending
19 20 23 18 12 6 13
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019802-p1
Treating the initial row as a header, extract and display the values from the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state note score display_name r001 jules 16 active r002 jules 25 active r003 chen 29 paused r004 jules 21 failed r005 alice 24 failed r006 chen 29 paused r007 jules 4 ready r008 lina 29 active
16 25 29 21 24 29 4 29
state note score display_name r001 hana 19 pending r002 dina 20 paused r003 gus 23 active r004 jules 18 pending r005 bruno 12 closed r006 farah 6 failed r007 farah 13 pending
19 20 23 18 12 6 13
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019802
qwen/qwen3.7-plus
awkweave-0019803
The first row is a header. Print display_name for data rows whose score is greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 eli 18 active r002 gus 21 pending r003 ivan 18 pending r004 gus 16 failed r005 ivan 14 failed r006 kim 21 pending
eli gus ivan gus ivan kim
record_id display_name score state r001 dina 27 ready r002 gus 13 ready r003 chen 23 failed r004 kim 2 active r005 bruno 20 failed r006 chen 10 pending r007 lina 30 pending
dina gus chen bruno lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019803-p1
With the first row serving as a header, output the display_name field for any data row where the score value is strictly greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 eli 18 active r002 gus 21 pending r003 ivan 18 pending r004 gus 16 failed r005 ivan 14 failed r006 kim 21 pending
eli gus ivan gus ivan kim
record_id display_name score state r001 dina 27 ready r002 gus 13 ready r003 chen 23 failed r004 kim 2 active r005 bruno 20 failed r006 chen 10 pending r007 lina 30 pending
dina gus chen bruno lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019803
qwen/qwen3.7-plus
awkweave-0019804
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 16 closed eli 7 failed jules 20 active chen 20 failed gus 11 active hana 3 paused lina 21 active ivan 23 closed kim 27 pending jules 6 pending
closed failed active failed active paused active closed pending pending
farah 3 ready farah 17 active eli 10 ready jules 1 paused ivan 4 paused kim 8 active
ready active ready paused paused active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019804-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 16 closed eli 7 failed jules 20 active chen 20 failed gus 11 active hana 3 paused lina 21 active ivan 23 closed kim 27 pending jules 6 pending
closed failed active failed active paused active closed pending pending
farah 3 ready farah 17 active eli 10 ready jules 1 paused ivan 4 paused kim 8 active
ready active ready paused paused active
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0019804
qwen/qwen3.7-plus
awkweave-0019805
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}
ivan,19,ready alice,16,failed eli,2,ready alice,23,failed dina,25,failed alice,18,active hana,23,active bruno,13,ready farah,13,pending chen,29,ready
ivan alice dina alice hana chen
kim,22,active kim,25,ready alice,19,failed chen,18,pending hana,19,paused hana,22,paused dina,20,paused eli,23,paused alice,11,paused lina,16,failed
kim kim alice chen hana hana dina eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019805-p1
Process simple comma-separated values without quoted commas; output the first column only if the second column's value is greater than 17.
BEGIN{FS=OFS=","}$2>17{print $1}
ivan,19,ready alice,16,failed eli,2,ready alice,23,failed dina,25,failed alice,18,active hana,23,active bruno,13,ready farah,13,pending chen,29,ready
ivan alice dina alice hana chen
kim,22,active kim,25,ready alice,19,failed chen,18,pending hana,19,paused hana,22,paused dina,20,paused eli,23,paused alice,11,paused lina,16,failed
kim kim alice chen hana hana dina eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019805
qwen/qwen3.7-plus
awkweave-0019806
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus grove 44 bruno grove 70 gus indigo 20 alice cobalt 31 hana amber 103 kim birch 105 hana grove 112 chen harbor 115
gus grove 44 bruno grove 70 gus indigo 20 alice cobalt 31 hana amber 103 kim birch 105 hana grove 112 chen harbor 115
dina cobalt 86 gus amber 59 bruno ember 0 lina juniper 115 dina amber 15 chen amber 63 lina harbor 72 chen birch 85 chen ember 57
dina cobalt 86 gus amber 59 bruno ember 0 lina juniper 115 dina amber 15 chen amber 63 lina harbor 72 chen birch 85 chen ember 57
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019806-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus grove 44 bruno grove 70 gus indigo 20 alice cobalt 31 hana amber 103 kim birch 105 hana grove 112 chen harbor 115
gus grove 44 bruno grove 70 gus indigo 20 alice cobalt 31 hana amber 103 kim birch 105 hana grove 112 chen harbor 115
dina cobalt 86 gus amber 59 bruno ember 0 lina juniper 115 dina amber 15 chen amber 63 lina harbor 72 chen birch 85 chen ember 57
dina cobalt 86 gus amber 59 bruno ember 0 lina juniper 115 dina amber 15 chen amber 63 lina harbor 72 chen birch 85 chen ember 57
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019806
qwen/qwen3.7-plus
awkweave-0019807
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah amber 93 ready gus harbor 102 paused farah fable 17 pending chen amber 77 active eli indigo 25 closed hana juniper 4 pending eli birch 60 pending kim birch 62 ready bruno fable 109 closed
farah fable 17 pending
farah indigo 78 failed dina ember 75 pending farah harbor 81 pending eli cobalt 84 pending gus indigo 17 paused ivan juniper 83 closed lina indigo 116 failed kim fable 30 paused alice fable 88 ready gus grove 98 paused
farah harbor 81 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019807-p1
Identify and output the longest line from the input; in the event of a tie in length, select the line that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah amber 93 ready gus harbor 102 paused farah fable 17 pending chen amber 77 active eli indigo 25 closed hana juniper 4 pending eli birch 60 pending kim birch 62 ready bruno fable 109 closed
farah fable 17 pending
farah indigo 78 failed dina ember 75 pending farah harbor 81 pending eli cobalt 84 pending gus indigo 17 paused ivan juniper 83 closed lina indigo 116 failed kim fable 30 paused alice fable 88 ready gus grove 98 paused
farah harbor 81 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019807
qwen/qwen3.7-plus
awkweave-0019808
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
farah 30 lina 9 jules 21 dina 81 gus 77 jules 63 bruno 103 eli 18 dina 67
jules 21 jules 63 dina 67
ivan 99 ivan 45 ivan 12 alice 102 kim 62 ivan 48 bruno 26 eli 83
ivan 12 ivan 48
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019808-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
farah 30 lina 9 jules 21 dina 81 gus 77 jules 63 bruno 103 eli 18 dina 67
jules 21 jules 63 dina 67
ivan 99 ivan 45 ivan 12 alice 102 kim 62 ivan 48 bruno 26 eli 83
ivan 12 ivan 48
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019808
qwen/qwen3.7-plus
awkweave-0019809
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 27 beta delta 25 gamma fable 49 delta indigo 77 gamma delta 44 gamma harbor 53 gamma fable 74 delta birch 9
6
alpha cobalt 18 alpha juniper 31 gamma juniper 92 alpha ember 113 alpha harbor 63 alpha grove 23
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019809-p1
Determine the number of unique values present in column 2 and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
beta grove 27 beta delta 25 gamma fable 49 delta indigo 77 gamma delta 44 gamma harbor 53 gamma fable 74 delta birch 9
6
alpha cobalt 18 alpha juniper 31 gamma juniper 92 alpha ember 113 alpha harbor 63 alpha grove 23
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019809
qwen/qwen3.7-plus
awkweave-0019810
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 22 0 dina 16 2 gus 6 5 farah 10 8 hana 6 2 alice 26 1 jules 4 5
dina 8.00 gus 1.20 farah 1.25 hana 3.00 alice 26.00 jules 0.80
jules 21 0 chen 21 17 dina 16 25 lina 13 6 dina 19 15 bruno 29 2 gus 18 19 gus 10 24
chen 1.24 dina 0.64 lina 2.17 dina 1.27 bruno 14.50 gus 0.95 gus 0.42
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019810-p1
For each row, output column 1 and the result of dividing column 2 by column 3 (formatted to two decimal places), omitting any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 22 0 dina 16 2 gus 6 5 farah 10 8 hana 6 2 alice 26 1 jules 4 5
dina 8.00 gus 1.20 farah 1.25 hana 3.00 alice 26.00 jules 0.80
jules 21 0 chen 21 17 dina 16 25 lina 13 6 dina 19 15 bruno 29 2 gus 18 19 gus 10 24
chen 1.24 dina 0.64 lina 2.17 dina 1.27 bruno 14.50 gus 0.95 gus 0.42
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019810
qwen/qwen3.7-plus
awkweave-0019811
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]}
dina cobalt 21 jules amber 17 eli harbor 1 kim harbor 15 bruno grove 18 dina fable 23
dina fable 23 dina cobalt 21 bruno grove 18
farah birch 14 chen juniper 21 lina ember 10 bruno fable 24 gus cobalt 26 chen juniper 21 dina cobalt 12
gus cobalt 26 bruno fable 24 chen juniper 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019811-p1
Select the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
dina cobalt 21 jules amber 17 eli harbor 1 kim harbor 15 bruno grove 18 dina fable 23
dina fable 23 dina cobalt 21 bruno grove 18
farah birch 14 chen juniper 21 lina ember 10 bruno fable 24 gus cobalt 26 chen juniper 21 dina cobalt 12
gus cobalt 26 bruno fable 24 chen juniper 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019811
qwen/qwen3.7-plus
awkweave-0019812
For each line, output fields 4 and 2, in that order.
{print $4, $2}
pending active paused chen closed ready failed kim closed closed closed jules ready ready closed eli ready closed failed farah closed paused failed chen
chen active kim ready jules closed eli ready farah closed chen paused
ready paused pending kim ready closed paused farah failed paused closed chen closed failed failed gus ready closed pending eli ready pending pending jules failed closed failed eli ready closed closed alice pending paused active farah paused ready closed lina
kim paused farah closed chen paused gus failed eli closed jules pending eli closed alice closed farah paused lina ready
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019812-p1
Extract and display the fourth and second fields from each line, maintaining that sequence.
{print $4, $2}
pending active paused chen closed ready failed kim closed closed closed jules ready ready closed eli ready closed failed farah closed paused failed chen
chen active kim ready jules closed eli ready farah closed chen paused
ready paused pending kim ready closed paused farah failed paused closed chen closed failed failed gus ready closed pending eli ready pending pending jules failed closed failed eli ready closed closed alice pending paused active farah paused ready closed lina
kim paused farah closed chen paused gus failed eli closed jules pending eli closed alice closed farah paused lina ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019812
qwen/qwen3.7-plus
awkweave-0019813
Print the last field of every input line.
{print $NF}
78 harbor pending 99 harbor closed 34 grove closed 74 harbor closed 51 ember closed 20 indigo failed 112 juniper failed
pending closed closed closed closed failed failed
35 grove pending 81 grove failed 90 ember ready 47 harbor ready 73 indigo closed 22 delta active 51 delta failed 67 harbor closed 9 juniper closed 9 indigo active
pending failed ready ready closed active failed closed closed active
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019813-p1
Output the final field found on every input line.
{print $NF}
78 harbor pending 99 harbor closed 34 grove closed 74 harbor closed 51 ember closed 20 indigo failed 112 juniper failed
pending closed closed closed closed failed failed
35 grove pending 81 grove failed 90 ember ready 47 harbor ready 73 indigo closed 22 delta active 51 delta failed 67 harbor closed 9 juniper closed 9 indigo active
pending failed ready ready closed active failed closed closed active
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019813
qwen/qwen3.7-plus
awkweave-0019814
Print the complete records where column 1 is at most 73.
$1 <= 73
79 gus jules 117 eli kim 45 hana alice 8 dina bruno 65 eli eli 46 chen ivan 120 chen alice 87 alice lina
45 hana alice 8 dina bruno 65 eli eli 46 chen ivan
82 kim ivan 19 ivan hana 4 dina dina 5 dina chen 17 jules hana 38 jules eli
19 ivan hana 4 dina dina 5 dina chen 17 jules hana 38 jules eli
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019814-p1
Display full records where the value in the first column is less than or equal to 73.
$1 <= 73
79 gus jules 117 eli kim 45 hana alice 8 dina bruno 65 eli eli 46 chen ivan 120 chen alice 87 alice lina
45 hana alice 8 dina bruno 65 eli eli 46 chen ivan
82 kim ivan 19 ivan hana 4 dina dina 5 dina chen 17 jules hana 38 jules eli
19 ivan hana 4 dina dina 5 dina chen 17 jules hana 38 jules eli
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019814
qwen/qwen3.7-plus
awkweave-0019815
Show whole lines whose 3rd field is between 11 and 21, inclusive.
$3 >= 11 && $3 <= 21
grove paused 4 gus cobalt failed 1 hana harbor active 29 chen fable failed 14 ivan indigo failed 21 gus harbor paused 15 farah
fable failed 14 ivan indigo failed 21 gus harbor paused 15 farah
ember failed 6 dina fable pending 16 farah delta ready 9 jules amber pending 1 eli fable paused 5 dina fable closed 22 alice ember paused 26 gus
fable pending 16 farah
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019815-p1
Show entire lines where the third field falls within the inclusive range of 11 to 21.
$3 >= 11 && $3 <= 21
grove paused 4 gus cobalt failed 1 hana harbor active 29 chen fable failed 14 ivan indigo failed 21 gus harbor paused 15 farah
fable failed 14 ivan indigo failed 21 gus harbor paused 15 farah
ember failed 6 dina fable pending 16 farah delta ready 9 jules amber pending 1 eli fable paused 5 dina fable closed 22 alice ember paused 26 gus
fable pending 16 farah
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019815
qwen/qwen3.7-plus
awkweave-0019816
Print column 2 only for rows where column 4 is exactly paused.
$4 == "paused"{print $2}
ember hana 10 paused indigo kim 27 pending grove gus 29 closed delta farah 103 failed juniper eli 1 active delta jules 94 failed
hana
fable jules 119 pending indigo gus 119 ready amber ivan 51 closed juniper farah 90 ready amber alice 49 closed delta jules 28 closed
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019816-p1
Output only the second column for rows where the fourth column matches the exact string 'paused'.
$4 == "paused"{print $2}
ember hana 10 paused indigo kim 27 pending grove gus 29 closed delta farah 103 failed juniper eli 1 active delta jules 94 failed
hana
fable jules 119 pending indigo gus 119 ready amber ivan 51 closed juniper farah 90 ready amber alice 49 closed delta jules 28 closed
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019816
qwen/qwen3.7-plus
awkweave-0019817
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
74 ERROR indigo 29 WARN birch 40 WARN juniper 29 ERROR fable 79 INFO ember 88 DEBUG indigo 59 WARN ember 26 DEBUG juniper 111 ERROR amber
74 ERROR indigo 29 ERROR fable 111 ERROR amber
78 ERROR cobalt 21 DEBUG juniper 39 ERROR juniper 69 DEBUG amber 115 DEBUG juniper 46 DEBUG grove 39 DEBUG juniper
78 ERROR cobalt 39 ERROR juniper
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019817-p1
Print all fields from any line where the second field starts with the prefix 'ERROR'.
$2 ~ /^ERROR/
74 ERROR indigo 29 WARN birch 40 WARN juniper 29 ERROR fable 79 INFO ember 88 DEBUG indigo 59 WARN ember 26 DEBUG juniper 111 ERROR amber
74 ERROR indigo 29 ERROR fable 111 ERROR amber
78 ERROR cobalt 21 DEBUG juniper 39 ERROR juniper 69 DEBUG amber 115 DEBUG juniper 46 DEBUG grove 39 DEBUG juniper
78 ERROR cobalt 39 ERROR juniper
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019817
qwen/qwen3.7-plus
awkweave-0019818
Print every line except those containing the exact text birch.
$0 !~ /birch/
amber 86 failed juniper 40 paused fable 109 paused juniper 29 ready ember 109 paused fable 107 closed ember 30 closed amber 1 paused grove 39 ready birch 999 active
amber 86 failed juniper 40 paused fable 109 paused juniper 29 ready ember 109 paused fable 107 closed ember 30 closed amber 1 paused grove 39 ready
juniper 50 pending ember 21 failed amber 107 active indigo 47 failed amber 81 pending cobalt 78 paused grove 5 active birch 999 active
juniper 50 pending ember 21 failed amber 107 active indigo 47 failed amber 81 pending cobalt 78 paused grove 5 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019818-p1
Output every line that does not contain the exact substring 'birch'.
$0 !~ /birch/
amber 86 failed juniper 40 paused fable 109 paused juniper 29 ready ember 109 paused fable 107 closed ember 30 closed amber 1 paused grove 39 ready birch 999 active
amber 86 failed juniper 40 paused fable 109 paused juniper 29 ready ember 109 paused fable 107 closed ember 30 closed amber 1 paused grove 39 ready
juniper 50 pending ember 21 failed amber 107 active indigo 47 failed amber 81 pending cobalt 78 paused grove 5 active birch 999 active
juniper 50 pending ember 21 failed amber 107 active indigo 47 failed amber 81 pending cobalt 78 paused grove 5 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019818
qwen/qwen3.7-plus
awkweave-0019819
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
dina amber 76 jules amber 48 hana ember 105 lina juniper 58 alice fable 41 jules cobalt 20 hana juniper 1
hana ember 105 lina juniper 58 alice fable 41 jules cobalt 20
hana ember 99 ivan juniper 2 jules birch 65 alice delta 4 lina grove 40 bruno harbor 32
jules birch 65 alice delta 4 lina grove 40 bruno harbor 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019819-p1
Display lines numbered 3 through 6, inclusive of both the start and end lines.
NR >= 3 && NR <= 6
dina amber 76 jules amber 48 hana ember 105 lina juniper 58 alice fable 41 jules cobalt 20 hana juniper 1
hana ember 105 lina juniper 58 alice fable 41 jules cobalt 20
hana ember 99 ivan juniper 2 jules birch 65 alice delta 4 lina grove 40 bruno harbor 32
jules birch 65 alice delta 4 lina grove 40 bruno harbor 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019819
qwen/qwen3.7-plus
awkweave-0019820
Output only the first 2 records.
NR <= 2
eli 106 birch chen 96 fable dina 38 fable farah 62 indigo ivan 21 birch alice 56 amber jules 62 delta
eli 106 birch chen 96 fable
alice 68 fable bruno 38 indigo eli 69 fable chen 37 harbor gus 9 birch jules 50 fable
alice 68 fable bruno 38 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019820-p1
Output strictly the first two records from the input.
NR <= 2
eli 106 birch chen 96 fable dina 38 fable farah 62 indigo ivan 21 birch alice 56 amber jules 62 delta
eli 106 birch chen 96 fable
alice 68 fable bruno 38 indigo eli 69 fable chen 37 harbor gus 9 birch jules 50 fable
alice 68 fable bruno 38 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019820
qwen/qwen3.7-plus
awkweave-0019821
Skip the first line and print every remaining line unchanged.
NR > 1
kim 99 juniper kim 97 fable gus 3 indigo gus 19 fable hana 30 ember farah 62 birch hana 26 ember chen 84 amber kim 80 amber
kim 97 fable gus 3 indigo gus 19 fable hana 30 ember farah 62 birch hana 26 ember chen 84 amber kim 80 amber
bruno 19 delta bruno 81 harbor chen 80 delta hana 1 grove bruno 6 birch ivan 56 amber gus 68 birch alice 119 birch bruno 25 juniper lina 92 harbor
bruno 81 harbor chen 80 delta hana 1 grove bruno 6 birch ivan 56 amber gus 68 birch alice 119 birch bruno 25 juniper lina 92 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019821-p1
Ignore the initial line and print all subsequent lines exactly as they appear.
NR > 1
kim 99 juniper kim 97 fable gus 3 indigo gus 19 fable hana 30 ember farah 62 birch hana 26 ember chen 84 amber kim 80 amber
kim 97 fable gus 3 indigo gus 19 fable hana 30 ember farah 62 birch hana 26 ember chen 84 amber kim 80 amber
bruno 19 delta bruno 81 harbor chen 80 delta hana 1 grove bruno 6 birch ivan 56 amber gus 68 birch alice 119 birch bruno 25 juniper lina 92 harbor
bruno 81 harbor chen 80 delta hana 1 grove bruno 6 birch ivan 56 amber gus 68 birch alice 119 birch bruno 25 juniper lina 92 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019821
qwen/qwen3.7-plus
awkweave-0019822
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
kim pending 79 lina paused 88 lina ready 19 hana active 19 chen paused 55 chen pending 42
1
bruno failed 59 bruno paused 98 bruno closed 93 gus ready 37 eli ready 93 farah ready 107
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019822-p1
Count the number of records containing 'ready' in the second column, outputting 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
kim pending 79 lina paused 88 lina ready 19 hana active 19 chen paused 55 chen pending 42
1
bruno failed 59 bruno paused 98 bruno closed 93 gus ready 37 eli ready 93 farah ready 107
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019822
qwen/qwen3.7-plus
awkweave-0019823
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
21 indigo kim 18 amber hana 19 amber dina 22 birch eli 12 juniper bruno 22 ember eli 24 indigo farah
138
9 fable bruno 30 ember farah 5 birch gus 27 cobalt hana 30 birch gus 11 birch alice
112
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019823-p1
Compute and display the total sum of all integer values located in the first column.
{s+=$1}END{print s+0}
21 indigo kim 18 amber hana 19 amber dina 22 birch eli 12 juniper bruno 22 ember eli 24 indigo farah
138
9 fable bruno 30 ember farah 5 birch gus 27 cobalt hana 30 birch gus 11 birch alice
112
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019823
qwen/qwen3.7-plus
awkweave-0019824
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
harbor bruno 15 ember farah 14 harbor hana 8 juniper hana 17 juniper gus 29 fable bruno 14
16.17
juniper alice 3 ember ivan 11 ember eli 24 grove lina 16 birch ivan 11 indigo dina 3
11.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019824-p1
Output the average of the values in column 3, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
harbor bruno 15 ember farah 14 harbor hana 8 juniper hana 17 juniper gus 29 fable bruno 14
16.17
juniper alice 3 ember ivan 11 ember eli 24 grove lina 16 birch ivan 11 indigo dina 3
11.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019824
qwen/qwen3.7-plus
awkweave-0019825
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt jules 15 delta lina 24 birch lina 6 delta alice 28 harbor lina 22 amber hana 5 cobalt alice 5 birch kim 4 delta lina 29
4
amber bruno 30 ember jules 29 juniper ivan 15 indigo lina 11 cobalt bruno 21 fable ivan 5 birch bruno 4
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019825-p1
Identify and display the minimum numerical value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt jules 15 delta lina 24 birch lina 6 delta alice 28 harbor lina 22 amber hana 5 cobalt alice 5 birch kim 4 delta lina 29
4
amber bruno 30 ember jules 29 juniper ivan 15 indigo lina 11 cobalt bruno 21 fable ivan 5 birch bruno 4
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019825
qwen/qwen3.7-plus
awkweave-0019826
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
amber lina 5 delta bruno 30 ember alice 4 grove chen 14 delta eli 15 harbor hana 21 indigo jules 5 juniper ivan 27
30
fable ivan 22 indigo bruno 9 birch alice 11 grove kim 26 fable kim 4 fable eli 26 amber alice 9 ember kim 18
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019826-p1
Identify and display the maximum numerical value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
amber lina 5 delta bruno 30 ember alice 4 grove chen 14 delta eli 15 harbor hana 21 indigo jules 5 juniper ivan 27
30
fable ivan 22 indigo bruno 9 birch alice 11 grove kim 26 fable kim 4 fable eli 26 amber alice 9 ember kim 18
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019826
qwen/qwen3.7-plus
awkweave-0019827
Count all input records and print the total.
END{print NR}
chen 68 dina 39 ivan 68 hana 116 farah 65 hana 55
6
alice 55 kim 29 dina 35 farah 45 dina 10 lina 23
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019827-p1
Calculate the total number of input records and output the count.
END{print NR}
chen 68 dina 39 ivan 68 hana 116 farah 65 hana 55
6
alice 55 kim 29 dina 35 farah 45 dina 10 lina 23
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019827
qwen/qwen3.7-plus
awkweave-0019828
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice harbor 7 alice fable 15 ivan delta 46 hana cobalt 114 alice fable 15 chen ember 109 farah ember 119
alice harbor 7 alice fable 15 ivan delta 46 hana cobalt 114 chen ember 109 farah ember 119
eli juniper 97 bruno ember 106 eli indigo 2 bruno grove 84 farah juniper 51 dina cobalt 79 bruno grove 84 farah grove 102
eli juniper 97 bruno ember 106 eli indigo 2 bruno grove 84 farah juniper 51 dina cobalt 79 farah grove 102
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019828-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
alice harbor 7 alice fable 15 ivan delta 46 hana cobalt 114 alice fable 15 chen ember 109 farah ember 119
alice harbor 7 alice fable 15 ivan delta 46 hana cobalt 114 chen ember 109 farah ember 119
eli juniper 97 bruno ember 106 eli indigo 2 bruno grove 84 farah juniper 51 dina cobalt 79 bruno grove 84 farah grove 102
eli juniper 97 bruno ember 106 eli indigo 2 bruno grove 84 farah juniper 51 dina cobalt 79 farah grove 102
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019828
qwen/qwen3.7-plus
awkweave-0019829
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
alice delta 81 farah juniper 6 ivan fable 39 hana cobalt 42 alice amber 89 gus delta 115 lina cobalt 75 hana amber 9 dina harbor 85
alice delta 81 farah juniper 6 ivan fable 39 hana cobalt 42 gus delta 115 lina cobalt 75 dina harbor 85
jules fable 44 alice indigo 53 bruno amber 96 eli delta 26 eli juniper 59 chen harbor 28 bruno fable 31
jules fable 44 alice indigo 53 bruno amber 96 eli delta 26 chen harbor 28
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019829-p1
Retain only the initial line for every unique value in column 1, preserving the original input order.
!seen[$1]++
alice delta 81 farah juniper 6 ivan fable 39 hana cobalt 42 alice amber 89 gus delta 115 lina cobalt 75 hana amber 9 dina harbor 85
alice delta 81 farah juniper 6 ivan fable 39 hana cobalt 42 gus delta 115 lina cobalt 75 dina harbor 85
jules fable 44 alice indigo 53 bruno amber 96 eli delta 26 eli juniper 59 chen harbor 28 bruno fable 31
jules fable 44 alice indigo 53 bruno amber 96 eli delta 26 chen harbor 28
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019829
qwen/qwen3.7-plus
awkweave-0019830
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 19 ember jules 16 ember alice 14 cobalt bruno 23 grove ivan 30 delta gus 26 juniper lina 20 fable gus 10 ember
kim 19 jules 35 alice 49 bruno 72 ivan 102 gus 128 lina 148 gus 158
bruno 19 ember chen 29 delta kim 26 indigo bruno 14 grove hana 4 juniper ivan 9 amber kim 27 amber kim 5 cobalt
bruno 19 chen 48 kim 74 bruno 88 hana 92 ivan 101 kim 128 kim 133
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019830-p1
For each entry, output column 1 alongside the cumulative sum of column 2, using a space as the delimiter.
{s+=$2;print $1,s}
kim 19 ember jules 16 ember alice 14 cobalt bruno 23 grove ivan 30 delta gus 26 juniper lina 20 fable gus 10 ember
kim 19 jules 35 alice 49 bruno 72 ivan 102 gus 128 lina 148 gus 158
bruno 19 ember chen 29 delta kim 26 indigo bruno 14 grove hana 4 juniper ivan 9 amber kim 27 amber kim 5 cobalt
bruno 19 chen 48 kim 74 bruno 88 hana 92 ivan 101 kim 128 kim 133
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019830
qwen/qwen3.7-plus