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-0005770-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 5 0 bruno 13 15 eli 2 19 bruno 21 10 chen 9 23 bruno 8 21 lina 20 30 lina 28 9 lina 24 15
bruno 0.87 eli 0.11 bruno 2.10 chen 0.39 bruno 0.38 lina 0.67 lina 3.11 lina 1.60
alice 22 0 hana 16 21 gus 15 1 kim 3 2 ivan 10 11 jules 7 15
hana 0.76 gus 15.00 kim 1.50 ivan 0.91 jules 0.47
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005770
qwen/qwen3.7-plus
awkweave-0005771
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 delta 17 dina juniper 15 kim grove 9 bruno indigo 9 alice amber 7 dina delta 10 jules fable 25 eli harbor 11 farah ember 16 ivan cobalt 28
ivan cobalt 28 jules fable 25 dina delta 17
jules juniper 26 gus juniper 16 kim juniper 6 ivan amber 6 lina juniper 9 chen juniper 13
jules juniper 26 gus juniper 16 chen juniper 13
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005771-p1
Display the three full records with the highest numeric values in the third column, 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]}
dina delta 17 dina juniper 15 kim grove 9 bruno indigo 9 alice amber 7 dina delta 10 jules fable 25 eli harbor 11 farah ember 16 ivan cobalt 28
ivan cobalt 28 jules fable 25 dina delta 17
jules juniper 26 gus juniper 16 kim juniper 6 ivan amber 6 lina juniper 9 chen juniper 13
jules juniper 26 gus juniper 16 chen juniper 13
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005771
qwen/qwen3.7-plus
awkweave-0005772
For each line, output fields 4 and 3, in that order.
{print $4, $3}
pending 48 10 harbor bruno pending 32 85 amber dina paused 58 16 juniper kim closed 17 52 fable chen pending 60 30 cobalt eli failed 31 81 birch chen failed 58 76 juniper bruno
harbor 10 amber 85 juniper 16 fable 52 cobalt 30 birch 81 juniper 76
pending 108 37 birch lina failed 8 96 grove lina ready 50 80 amber eli failed 29 73 ember alice paused 88 64 indigo dina closed 26 36 birch hana
birch 37 grove 96 amber 80 ember 73 indigo 64 birch 36
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005772-p1
For every line, print the fourth field followed by the third field.
{print $4, $3}
pending 48 10 harbor bruno pending 32 85 amber dina paused 58 16 juniper kim closed 17 52 fable chen pending 60 30 cobalt eli failed 31 81 birch chen failed 58 76 juniper bruno
harbor 10 amber 85 juniper 16 fable 52 cobalt 30 birch 81 juniper 76
pending 108 37 birch lina failed 8 96 grove lina ready 50 80 amber eli failed 29 73 ember alice paused 88 64 indigo dina closed 26 36 birch hana
birch 37 grove 96 amber 80 ember 73 indigo 64 birch 36
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005772
qwen/qwen3.7-plus
awkweave-0005773
Print the last field of every input line.
{print $NF}
11 fable active 81 ember paused 77 delta active 37 birch closed 106 juniper closed 53 grove failed 5 fable ready 11 juniper paused
active paused active closed closed failed ready paused
115 juniper closed 28 fable pending 18 indigo closed 10 juniper failed 19 cobalt paused 29 birch paused 111 fable pending 46 delta paused
closed pending closed failed paused paused pending paused
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005773-p1
Output the final field from each input line.
{print $NF}
11 fable active 81 ember paused 77 delta active 37 birch closed 106 juniper closed 53 grove failed 5 fable ready 11 juniper paused
active paused active closed closed failed ready paused
115 juniper closed 28 fable pending 18 indigo closed 10 juniper failed 19 cobalt paused 29 birch paused 111 fable pending 46 delta paused
closed pending closed failed paused paused pending paused
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005773
qwen/qwen3.7-plus
awkweave-0005774
Print the complete records where column 2 is greater than 43.
$2 > 43
birch 34 grove birch 23 birch amber 27 grove birch 38 indigo grove 41 amber harbor 40 grove harbor 93 cobalt
harbor 93 cobalt
juniper 2 birch birch 33 delta fable 104 harbor grove 117 fable delta 74 fable delta 24 grove cobalt 41 fable amber 71 harbor
fable 104 harbor grove 117 fable delta 74 fable amber 71 harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005774-p1
Print the entire records for which the value in the second column exceeds 43.
$2 > 43
birch 34 grove birch 23 birch amber 27 grove birch 38 indigo grove 41 amber harbor 40 grove harbor 93 cobalt
harbor 93 cobalt
juniper 2 birch birch 33 delta fable 104 harbor grove 117 fable delta 74 fable delta 24 grove cobalt 41 fable amber 71 harbor
fable 104 harbor grove 117 fable delta 74 fable amber 71 harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005774
qwen/qwen3.7-plus
awkweave-0005775
Show whole lines whose 2nd field is between 10 and 26, inclusive.
$2 >= 10 && $2 <= 26
bruno 10 juniper closed farah 21 fable failed hana 25 cobalt pending chen 7 cobalt closed alice 25 grove active chen 24 cobalt failed farah 14 birch pending chen 16 harbor pending alice 23 harbor pending jules 7 cobalt failed
bruno 10 juniper closed farah 21 fable failed hana 25 cobalt pending alice 25 grove active chen 24 cobalt failed farah 14 birch pending chen 16 harbor pending alice 23 harbor pending
jules 1 fable active gus 18 fable active eli 12 delta pending alice 7 indigo active lina 8 harbor closed kim 24 harbor closed jules 30 ember closed
gus 18 fable active eli 12 delta pending kim 24 harbor closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005775-p1
Display complete lines where the second field falls within the range of 10 to 26, inclusive.
$2 >= 10 && $2 <= 26
bruno 10 juniper closed farah 21 fable failed hana 25 cobalt pending chen 7 cobalt closed alice 25 grove active chen 24 cobalt failed farah 14 birch pending chen 16 harbor pending alice 23 harbor pending jules 7 cobalt failed
bruno 10 juniper closed farah 21 fable failed hana 25 cobalt pending alice 25 grove active chen 24 cobalt failed farah 14 birch pending chen 16 harbor pending alice 23 harbor pending
jules 1 fable active gus 18 fable active eli 12 delta pending alice 7 indigo active lina 8 harbor closed kim 24 harbor closed jules 30 ember closed
gus 18 fable active eli 12 delta pending kim 24 harbor closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005775
qwen/qwen3.7-plus
awkweave-0005776
Print column 2 only for rows where column 4 is exactly active.
$4 == "active"{print $2}
96 gus fable paused 43 farah delta paused 86 lina fable closed 77 farah birch ready 100 farah cobalt active 29 eli ember ready 19 eli birch pending 59 farah juniper closed
farah
64 jules ember ready 1 hana fable closed 54 gus fable pending 31 gus fable ready 10 eli indigo closed 2 eli cobalt paused 87 bruno ember paused 119 lina ember paused 99 lina amber pending 72 alice indigo paused
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005776-p1
Output only the second column for rows where the fourth column is exactly 'active'.
$4 == "active"{print $2}
96 gus fable paused 43 farah delta paused 86 lina fable closed 77 farah birch ready 100 farah cobalt active 29 eli ember ready 19 eli birch pending 59 farah juniper closed
farah
64 jules ember ready 1 hana fable closed 54 gus fable pending 31 gus fable ready 10 eli indigo closed 2 eli cobalt paused 87 bruno ember paused 119 lina ember paused 99 lina amber pending 72 alice indigo paused
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005776
qwen/qwen3.7-plus
awkweave-0005777
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
delta 56 INFO juniper 11 WARN delta 47 DEBUG harbor 45 INFO amber 73 INFO ember 17 WARN delta 53 WARN grove 117 ERROR harbor 23 ERROR
delta 56 INFO harbor 45 INFO amber 73 INFO
grove 67 INFO birch 43 INFO ember 104 WARN indigo 38 ERROR juniper 40 ERROR amber 26 DEBUG indigo 15 WARN juniper 0 INFO
grove 67 INFO birch 43 INFO juniper 0 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005777-p1
Print all fields from lines where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
delta 56 INFO juniper 11 WARN delta 47 DEBUG harbor 45 INFO amber 73 INFO ember 17 WARN delta 53 WARN grove 117 ERROR harbor 23 ERROR
delta 56 INFO harbor 45 INFO amber 73 INFO
grove 67 INFO birch 43 INFO ember 104 WARN indigo 38 ERROR juniper 40 ERROR amber 26 DEBUG indigo 15 WARN juniper 0 INFO
grove 67 INFO birch 43 INFO juniper 0 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005777
qwen/qwen3.7-plus
awkweave-0005778
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
harbor 64 ready amber 66 pending ember 64 paused fable 56 failed grove 13 pending amber 94 ready indigo 999 active
harbor 64 ready amber 66 pending ember 64 paused fable 56 failed grove 13 pending amber 94 ready
birch 110 ready cobalt 2 pending amber 99 closed harbor 115 closed indigo 91 ready cobalt 65 ready delta 91 paused indigo 107 closed fable 75 ready indigo 999 active
birch 110 ready cobalt 2 pending amber 99 closed harbor 115 closed cobalt 65 ready delta 91 paused fable 75 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005778-p1
Display all lines that do not contain the exact string indigo.
$0 !~ /indigo/
harbor 64 ready amber 66 pending ember 64 paused fable 56 failed grove 13 pending amber 94 ready indigo 999 active
harbor 64 ready amber 66 pending ember 64 paused fable 56 failed grove 13 pending amber 94 ready
birch 110 ready cobalt 2 pending amber 99 closed harbor 115 closed indigo 91 ready cobalt 65 ready delta 91 paused indigo 107 closed fable 75 ready indigo 999 active
birch 110 ready cobalt 2 pending amber 99 closed harbor 115 closed cobalt 65 ready delta 91 paused fable 75 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005778
qwen/qwen3.7-plus
awkweave-0005779
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
dina ember 5 chen fable 20 chen birch 58 gus delta 86 chen fable 100 dina amber 103 kim harbor 76 lina juniper 74
chen birch 58 gus delta 86 chen fable 100 dina amber 103
bruno indigo 8 dina fable 82 eli harbor 12 gus grove 96 jules amber 96 bruno fable 78 alice delta 49
eli harbor 12 gus grove 96 jules amber 96 bruno fable 78
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005779-p1
Output lines from index 3 to 6, inclusive of both ends.
NR >= 3 && NR <= 6
dina ember 5 chen fable 20 chen birch 58 gus delta 86 chen fable 100 dina amber 103 kim harbor 76 lina juniper 74
chen birch 58 gus delta 86 chen fable 100 dina amber 103
bruno indigo 8 dina fable 82 eli harbor 12 gus grove 96 jules amber 96 bruno fable 78 alice delta 49
eli harbor 12 gus grove 96 jules amber 96 bruno fable 78
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005779
qwen/qwen3.7-plus
awkweave-0005780
Output only the first 3 records.
NR <= 3
bruno 91 indigo bruno 0 fable jules 62 juniper jules 37 juniper eli 50 amber jules 79 juniper hana 79 fable lina 29 fable chen 82 delta chen 95 indigo
bruno 91 indigo bruno 0 fable jules 62 juniper
eli 112 delta farah 71 ember jules 89 fable ivan 14 ember farah 6 fable alice 106 indigo farah 87 delta bruno 43 harbor eli 97 fable
eli 112 delta farah 71 ember jules 89 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005780-p1
Show only the initial 3 records.
NR <= 3
bruno 91 indigo bruno 0 fable jules 62 juniper jules 37 juniper eli 50 amber jules 79 juniper hana 79 fable lina 29 fable chen 82 delta chen 95 indigo
bruno 91 indigo bruno 0 fable jules 62 juniper
eli 112 delta farah 71 ember jules 89 fable ivan 14 ember farah 6 fable alice 106 indigo farah 87 delta bruno 43 harbor eli 97 fable
eli 112 delta farah 71 ember jules 89 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005780
qwen/qwen3.7-plus
awkweave-0005781
Skip the first line and print every remaining line unchanged.
NR > 1
hana 78 cobalt farah 6 delta alice 19 harbor gus 45 delta eli 2 indigo bruno 73 fable kim 53 birch
farah 6 delta alice 19 harbor gus 45 delta eli 2 indigo bruno 73 fable kim 53 birch
hana 59 juniper hana 65 cobalt lina 94 amber eli 3 delta hana 9 juniper farah 34 cobalt gus 63 ember alice 59 birch lina 92 delta
hana 65 cobalt lina 94 amber eli 3 delta hana 9 juniper farah 34 cobalt gus 63 ember alice 59 birch lina 92 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005781-p1
Omit the first line and print the rest as they are.
NR > 1
hana 78 cobalt farah 6 delta alice 19 harbor gus 45 delta eli 2 indigo bruno 73 fable kim 53 birch
farah 6 delta alice 19 harbor gus 45 delta eli 2 indigo bruno 73 fable kim 53 birch
hana 59 juniper hana 65 cobalt lina 94 amber eli 3 delta hana 9 juniper farah 34 cobalt gus 63 ember alice 59 birch lina 92 delta
hana 65 cobalt lina 94 amber eli 3 delta hana 9 juniper farah 34 cobalt gus 63 ember alice 59 birch lina 92 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005781
qwen/qwen3.7-plus
awkweave-0005782
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
jules closed 71 jules closed 83 jules paused 23 kim closed 7 chen closed 40 alice failed 6
0
ivan paused 50 bruno ready 96 dina ready 37 eli ready 33 kim ready 120 gus paused 25 dina active 96 jules paused 33
4
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005782-p1
Count records where column 2 equals ready; output 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
jules closed 71 jules closed 83 jules paused 23 kim closed 7 chen closed 40 alice failed 6
0
ivan paused 50 bruno ready 96 dina ready 37 eli ready 33 kim ready 120 gus paused 25 dina active 96 jules paused 33
4
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005782
qwen/qwen3.7-plus
awkweave-0005783
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
farah delta 8 alice cobalt 18 gus fable 10 hana grove 14 bruno birch 18 eli juniper 18
86
hana delta 20 chen ember 25 kim fable 22 eli juniper 29 hana indigo 19 hana fable 11 hana indigo 21 hana ember 20 farah grove 1
168
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005783-p1
Compute and display the total sum of integer values in column 3.
{s+=$3}END{print s+0}
farah delta 8 alice cobalt 18 gus fable 10 hana grove 14 bruno birch 18 eli juniper 18
86
hana delta 20 chen ember 25 kim fable 22 eli juniper 29 hana indigo 19 hana fable 11 hana indigo 21 hana ember 20 farah grove 1
168
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005783
qwen/qwen3.7-plus
awkweave-0005784
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
11 indigo ivan 27 grove hana 28 amber chen 1 fable kim 6 ember alice 10 amber dina 11 juniper gus 18 grove jules 14 delta jules 29 ember alice
15.50
29 grove gus 29 grove kim 28 cobalt farah 1 birch hana 1 amber jules 10 delta farah 29 amber alice 12 birch gus 30 amber alice 9 juniper jules
17.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005784-p1
Calculate the average of column 1 and format it to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
11 indigo ivan 27 grove hana 28 amber chen 1 fable kim 6 ember alice 10 amber dina 11 juniper gus 18 grove jules 14 delta jules 29 ember alice
15.50
29 grove gus 29 grove kim 28 cobalt farah 1 birch hana 1 amber jules 10 delta farah 29 amber alice 12 birch gus 30 amber alice 9 juniper jules
17.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005784
qwen/qwen3.7-plus
awkweave-0005785
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ivan juniper 2 kim cobalt 5 ivan ember 28 dina delta 15 bruno delta 14 chen cobalt 21 bruno juniper 30 lina amber 22 eli delta 10 gus juniper 30
2
lina amber 24 farah cobalt 4 farah grove 10 kim delta 20 alice grove 8 jules grove 23 alice juniper 24 lina fable 5 bruno grove 10 eli birch 8
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005785-p1
Identify and print the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ivan juniper 2 kim cobalt 5 ivan ember 28 dina delta 15 bruno delta 14 chen cobalt 21 bruno juniper 30 lina amber 22 eli delta 10 gus juniper 30
2
lina amber 24 farah cobalt 4 farah grove 10 kim delta 20 alice grove 8 jules grove 23 alice juniper 24 lina fable 5 bruno grove 10 eli birch 8
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005785
qwen/qwen3.7-plus
awkweave-0005786
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
17 alice fable 18 alice juniper 15 gus ember 17 alice ember 3 eli fable 30 dina fable 22 ivan birch
30
14 dina harbor 15 farah ember 8 dina birch 13 kim juniper 20 lina cobalt 3 gus indigo 16 jules cobalt
20
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005786-p1
Identify and print the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
17 alice fable 18 alice juniper 15 gus ember 17 alice ember 3 eli fable 30 dina fable 22 ivan birch
30
14 dina harbor 15 farah ember 8 dina birch 13 kim juniper 20 lina cobalt 3 gus indigo 16 jules cobalt
20
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005786
qwen/qwen3.7-plus
awkweave-0005787
Count all input records and print the total.
END{print NR}
lina 7 alice 59 eli 118 ivan 84 bruno 43 hana 17 ivan 91 ivan 82
8
lina 108 bruno 46 kim 90 alice 116 alice 101 chen 23 dina 29 eli 3
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005787-p1
Count the total number of input records and print the result.
END{print NR}
lina 7 alice 59 eli 118 ivan 84 bruno 43 hana 17 ivan 91 ivan 82
8
lina 108 bruno 46 kim 90 alice 116 alice 101 chen 23 dina 29 eli 3
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005787
qwen/qwen3.7-plus
awkweave-0005788
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules birch 119 dina delta 77 eli birch 68 kim birch 17 eli birch 77 jules harbor 46 jules harbor 46 eli fable 95
jules birch 119 dina delta 77 eli birch 68 kim birch 17 eli birch 77 jules harbor 46 eli fable 95
farah birch 102 bruno birch 9 dina harbor 28 ivan cobalt 42 gus fable 40 ivan delta 60 gus fable 40 alice juniper 48
farah birch 102 bruno birch 9 dina harbor 28 ivan cobalt 42 gus fable 40 ivan delta 60 alice juniper 48
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005788-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining original order.
!seen[$0]++
jules birch 119 dina delta 77 eli birch 68 kim birch 17 eli birch 77 jules harbor 46 jules harbor 46 eli fable 95
jules birch 119 dina delta 77 eli birch 68 kim birch 17 eli birch 77 jules harbor 46 eli fable 95
farah birch 102 bruno birch 9 dina harbor 28 ivan cobalt 42 gus fable 40 ivan delta 60 gus fable 40 alice juniper 48
farah birch 102 bruno birch 9 dina harbor 28 ivan cobalt 42 gus fable 40 ivan delta 60 alice juniper 48
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005788
qwen/qwen3.7-plus
awkweave-0005789
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
dina cobalt 22 alice juniper 55 kim ember 22 ivan birch 3 dina grove 17 gus harbor 73
dina cobalt 22 alice juniper 55 kim ember 22 ivan birch 3 gus harbor 73
chen grove 16 alice delta 90 alice delta 104 bruno indigo 18 eli amber 22 lina ember 75 farah cobalt 28 bruno amber 75
chen grove 16 alice delta 90 bruno indigo 18 eli amber 22 lina ember 75 farah cobalt 28
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005789-p1
Retain only the first occurrence for each unique value in column 1, preserving the input sequence.
!seen[$1]++
dina cobalt 22 alice juniper 55 kim ember 22 ivan birch 3 dina grove 17 gus harbor 73
dina cobalt 22 alice juniper 55 kim ember 22 ivan birch 3 gus harbor 73
chen grove 16 alice delta 90 alice delta 104 bruno indigo 18 eli amber 22 lina ember 75 farah cobalt 28 bruno amber 75
chen grove 16 alice delta 90 bruno indigo 18 eli amber 22 lina ember 75 farah cobalt 28
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005789
qwen/qwen3.7-plus
awkweave-0005800
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta grove 6 alpha delta 80 beta indigo 92 delta cobalt 79 gamma ember 67 delta harbor 100 alpha harbor 32 beta juniper 2 gamma birch 60 gamma amber 48
beta 3 alpha 2 delta 2 gamma 3
gamma harbor 87 gamma delta 34 delta fable 37 alpha harbor 47 gamma juniper 35 gamma ember 78 alpha indigo 9 gamma birch 44 beta juniper 74 alpha juniper 29
gamma 5 alpha 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005800-p1
List each unique value from the first column alongside its frequency, maintaining the order of their first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta grove 6 alpha delta 80 beta indigo 92 delta cobalt 79 gamma ember 67 delta harbor 100 alpha harbor 32 beta juniper 2 gamma birch 60 gamma amber 48
beta 3 alpha 2 delta 2 gamma 3
gamma harbor 87 gamma delta 34 delta fable 37 alpha harbor 47 gamma juniper 35 gamma ember 78 alpha indigo 9 gamma birch 44 beta juniper 74 alpha juniper 29
gamma 5 alpha 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005800
qwen/qwen3.7-plus
awkweave-0005801
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state score note display_name r001 gus 29 failed r002 lina 20 paused r003 ivan 29 ready r004 bruno 4 closed r005 farah 3 failed r006 kim 28 pending
failed paused ready closed failed pending
state score note display_name r001 hana 30 pending r002 gus 14 pending r003 dina 25 pending r004 gus 24 failed r005 eli 24 pending r006 eli 1 closed r007 jules 24 pending r008 kim 16 paused
pending pending pending failed pending closed pending paused
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005801-p1
Treating the initial row as a header, output the 'display_name' field for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state score note display_name r001 gus 29 failed r002 lina 20 paused r003 ivan 29 ready r004 bruno 4 closed r005 farah 3 failed r006 kim 28 pending
failed paused ready closed failed pending
state score note display_name r001 hana 30 pending r002 gus 14 pending r003 dina 25 pending r004 gus 24 failed r005 eli 24 pending r006 eli 1 closed r007 jules 24 pending r008 kim 16 paused
pending pending pending failed pending closed pending paused
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005801
qwen/qwen3.7-plus
awkweave-0005802
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 chen 19 pending r002 ivan 5 paused r003 ivan 30 failed r004 jules 3 active r005 gus 11 pending r006 ivan 11 active r007 eli 7 active r008 bruno 3 ready
chen ivan
record_id display_name score state r001 bruno 13 pending r002 kim 13 failed r003 farah 9 paused r004 gus 6 failed r005 hana 6 closed r006 eli 27 active r007 bruno 12 active r008 gus 7 failed r009 alice 13 pending r010 dina 16 pending
eli dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005802-p1
With the first line serving as a header, extract and print the 'display_name' for every record where the 'score' exceeds 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 chen 19 pending r002 ivan 5 paused r003 ivan 30 failed r004 jules 3 active r005 gus 11 pending r006 ivan 11 active r007 eli 7 active r008 bruno 3 ready
chen ivan
record_id display_name score state r001 bruno 13 pending r002 kim 13 failed r003 farah 9 paused r004 gus 6 failed r005 hana 6 closed r006 eli 27 active r007 bruno 12 active r008 gus 7 failed r009 alice 13 pending r010 dina 16 pending
eli dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005802
qwen/qwen3.7-plus
awkweave-0005803
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 8 failed bruno 1 pending ivan 6 failed jules 1 ready farah 1 closed farah 27 failed
failed pending failed ready closed failed
kim 13 active dina 20 closed dina 29 failed alice 27 pending farah 19 ready kim 25 closed lina 21 pending farah 17 active ivan 3 paused
active closed failed pending ready closed pending active paused
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005803-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 8 failed bruno 1 pending ivan 6 failed jules 1 ready farah 1 closed farah 27 failed
failed pending failed ready closed failed
kim 13 active dina 20 closed dina 29 failed alice 27 pending farah 19 ready kim 25 closed lina 21 pending farah 17 active ivan 3 paused
active closed failed pending ready closed pending active paused
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0005803
qwen/qwen3.7-plus
awkweave-0005804
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}
eli,20,active kim,4,active hana,21,closed kim,15,ready chen,6,active farah,6,ready
eli hana
kim,9,active bruno,21,ready ivan,28,pending dina,5,closed hana,19,failed hana,29,failed hana,10,pending chen,19,paused gus,2,ready ivan,20,ready
bruno ivan hana hana chen ivan
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005804-p1
For simple comma-separated values without quoted commas, print the first column only if the second column is greater than 17.
BEGIN{FS=OFS=","}$2>17{print $1}
eli,20,active kim,4,active hana,21,closed kim,15,ready chen,6,active farah,6,ready
eli hana
kim,9,active bruno,21,ready ivan,28,pending dina,5,closed hana,19,failed hana,29,failed hana,10,pending chen,19,paused gus,2,ready ivan,20,ready
bruno ivan hana hana chen ivan
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005804
qwen/qwen3.7-plus
awkweave-0005805
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules amber 8 gus fable 63 farah amber 78 alice indigo 91 farah fable 51 lina juniper 105 farah birch 115 lina juniper 11 bruno cobalt 78
jules amber 8 gus fable 63 farah amber 78 alice indigo 91 farah fable 51 lina juniper 105 farah birch 115 lina juniper 11 bruno cobalt 78
alice harbor 68 alice grove 26 hana amber 80 bruno harbor 99 bruno fable 12 hana juniper 28 gus harbor 23 bruno delta 112 farah cobalt 47
alice harbor 68 alice grove 26 hana amber 80 bruno harbor 99 bruno fable 12 hana juniper 28 gus harbor 23 bruno delta 112 farah cobalt 47
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005805-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
jules amber 8 gus fable 63 farah amber 78 alice indigo 91 farah fable 51 lina juniper 105 farah birch 115 lina juniper 11 bruno cobalt 78
jules amber 8 gus fable 63 farah amber 78 alice indigo 91 farah fable 51 lina juniper 105 farah birch 115 lina juniper 11 bruno cobalt 78
alice harbor 68 alice grove 26 hana amber 80 bruno harbor 99 bruno fable 12 hana juniper 28 gus harbor 23 bruno delta 112 farah cobalt 47
alice harbor 68 alice grove 26 hana amber 80 bruno harbor 99 bruno fable 12 hana juniper 28 gus harbor 23 bruno delta 112 farah cobalt 47
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005805
qwen/qwen3.7-plus
awkweave-0005806
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina delta 12 ready eli cobalt 71 closed eli cobalt 116 ready hana juniper 99 ready alice fable 80 closed alice indigo 77 ready alice ember 84 failed alice birch 59 closed kim cobalt 22 paused
hana juniper 99 ready
eli amber 90 failed ivan grove 110 ready alice indigo 53 closed bruno delta 110 paused bruno delta 67 closed alice indigo 101 failed
alice indigo 101 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005806-p1
Identify and output the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina delta 12 ready eli cobalt 71 closed eli cobalt 116 ready hana juniper 99 ready alice fable 80 closed alice indigo 77 ready alice ember 84 failed alice birch 59 closed kim cobalt 22 paused
hana juniper 99 ready
eli amber 90 failed ivan grove 110 ready alice indigo 53 closed bruno delta 110 paused bruno delta 67 closed alice indigo 101 failed
alice indigo 101 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005806
qwen/qwen3.7-plus
awkweave-0005807
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
alice 51 alice 13 gus 21 kim 42 alice 78 hana 53 hana 38 eli 3 alice 17
alice 51 gus 21 alice 78 hana 38 alice 17
kim 80 kim 57 jules 118 dina 75 kim 38 kim 81 gus 69 kim 55 jules 89
kim 80 jules 118 kim 38 gus 69 jules 89
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005807-p1
Output every other line, beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
alice 51 alice 13 gus 21 kim 42 alice 78 hana 53 hana 38 eli 3 alice 17
alice 51 gus 21 alice 78 hana 38 alice 17
kim 80 kim 57 jules 118 dina 75 kim 38 kim 81 gus 69 kim 55 jules 89
kim 80 jules 118 kim 38 gus 69 jules 89
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005807
qwen/qwen3.7-plus
awkweave-0005808
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 97 beta ember 63 alpha ember 21 gamma fable 116 alpha amber 15 gamma grove 31 delta birch 41 gamma fable 74 delta grove 117
4
delta ember 37 delta harbor 20 delta grove 38 alpha harbor 41 beta birch 19 delta ember 6 alpha delta 0 beta amber 83
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005808-p1
Calculate the number of unique entries in the first column and print only this total count.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 97 beta ember 63 alpha ember 21 gamma fable 116 alpha amber 15 gamma grove 31 delta birch 41 gamma fable 74 delta grove 117
4
delta ember 37 delta harbor 20 delta grove 38 alpha harbor 41 beta birch 19 delta ember 6 alpha delta 0 beta amber 83
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005808
qwen/qwen3.7-plus
awkweave-0005809
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 1 0 ivan 24 28 eli 26 12 dina 21 30 jules 25 3 hana 17 12 ivan 23 4
ivan 0.86 eli 2.17 dina 0.70 jules 8.33 hana 1.42 ivan 5.75
chen 17 0 lina 13 5 chen 18 22 gus 12 2 eli 11 2 dina 4 22 kim 17 8 alice 14 17 bruno 16 8 hana 9 29
lina 2.60 chen 0.82 gus 6.00 eli 5.50 dina 0.18 kim 2.12 alice 0.82 bruno 2.00 hana 0.31
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005809-p1
For each row, display the first column and the result of dividing the second column by the third (rounded to two decimal places), excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 1 0 ivan 24 28 eli 26 12 dina 21 30 jules 25 3 hana 17 12 ivan 23 4
ivan 0.86 eli 2.17 dina 0.70 jules 8.33 hana 1.42 ivan 5.75
chen 17 0 lina 13 5 chen 18 22 gus 12 2 eli 11 2 dina 4 22 kim 17 8 alice 14 17 bruno 16 8 hana 9 29
lina 2.60 chen 0.82 gus 6.00 eli 5.50 dina 0.18 kim 2.12 alice 0.82 bruno 2.00 hana 0.31
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005809
qwen/qwen3.7-plus
awkweave-0005810
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 fable 9 chen amber 2 farah harbor 27 eli delta 29 eli birch 19 alice juniper 20 lina delta 2 jules fable 24 dina amber 15 chen grove 23
eli delta 29 farah harbor 27 jules fable 24
lina indigo 10 gus harbor 13 chen harbor 9 dina indigo 6 alice fable 7 alice cobalt 20 chen birch 3 lina delta 18 kim juniper 28 lina juniper 26
kim juniper 28 lina juniper 26 alice cobalt 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005810-p1
Retrieve the top three 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]}
hana fable 9 chen amber 2 farah harbor 27 eli delta 29 eli birch 19 alice juniper 20 lina delta 2 jules fable 24 dina amber 15 chen grove 23
eli delta 29 farah harbor 27 jules fable 24
lina indigo 10 gus harbor 13 chen harbor 9 dina indigo 6 alice fable 7 alice cobalt 20 chen birch 3 lina delta 18 kim juniper 28 lina juniper 26
kim juniper 28 lina juniper 26 alice cobalt 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005810
qwen/qwen3.7-plus
awkweave-0005811
For each line, output fields 6 and 1, in that order.
{print $6, $1}
32 failed 39 53 ember paused 26 ready 13 22 birch paused 91 active 66 73 juniper closed 29 pending 79 18 juniper closed 33 active 79 23 cobalt active 109 failed 81 109 delta pending 32 active 28 67 grove ready 48 failed 5 113 cobalt closed 110 failed 119 32 juniper active
paused 32 paused 26 closed 91 closed 29 active 33 pending 109 ready 32 closed 48 active 110
101 pending 32 92 harbor active 61 ready 7 57 grove paused 90 ready 103 29 juniper closed 72 failed 99 29 grove pending 51 failed 75 34 juniper active 24 paused 80 112 fable active 118 active 30 92 juniper ready 63 pending 32 4 delta active
active 101 paused 61 closed 90 pending 72 active 51 active 24 ready 118 active 63
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005811-p1
For every line, print the sixth field followed by the first field.
{print $6, $1}
32 failed 39 53 ember paused 26 ready 13 22 birch paused 91 active 66 73 juniper closed 29 pending 79 18 juniper closed 33 active 79 23 cobalt active 109 failed 81 109 delta pending 32 active 28 67 grove ready 48 failed 5 113 cobalt closed 110 failed 119 32 juniper active
paused 32 paused 26 closed 91 closed 29 active 33 pending 109 ready 32 closed 48 active 110
101 pending 32 92 harbor active 61 ready 7 57 grove paused 90 ready 103 29 juniper closed 72 failed 99 29 grove pending 51 failed 75 34 juniper active 24 paused 80 112 fable active 118 active 30 92 juniper ready 63 pending 32 4 delta active
active 101 paused 61 closed 90 pending 72 active 51 active 24 ready 118 active 63
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005811
qwen/qwen3.7-plus
awkweave-0005812
Print the last field of every input line.
{print $NF}
pending cobalt active closed ember paused ready delta ready ready ember failed active harbor closed ready cobalt pending
active paused ready failed closed pending
ready indigo failed paused juniper paused closed juniper ready ready juniper active active juniper failed failed ember failed closed ember pending
failed paused ready active failed failed pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005812-p1
Extract and display the final field from each input line.
{print $NF}
pending cobalt active closed ember paused ready delta ready ready ember failed active harbor closed ready cobalt pending
active paused ready failed closed pending
ready indigo failed paused juniper paused closed juniper ready ready juniper active active juniper failed failed ember failed closed ember pending
failed paused ready active failed failed pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005812
qwen/qwen3.7-plus
awkweave-0005813
Print the complete records where column 2 is at most 21.
$2 <= 21
indigo 105 lina fable 101 jules grove 31 farah cobalt 84 alice juniper 90 jules ember 13 alice harbor 23 alice grove 52 kim harbor 45 alice
ember 13 alice
birch 20 ivan grove 55 eli delta 88 gus ember 66 farah juniper 72 eli amber 102 dina
birch 20 ivan
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005813-p1
Output full records where the value in the second column is less than or equal to 21.
$2 <= 21
indigo 105 lina fable 101 jules grove 31 farah cobalt 84 alice juniper 90 jules ember 13 alice harbor 23 alice grove 52 kim harbor 45 alice
ember 13 alice
birch 20 ivan grove 55 eli delta 88 gus ember 66 farah juniper 72 eli amber 102 dina
birch 20 ivan
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005813
qwen/qwen3.7-plus
awkweave-0005814
Show whole lines whose 3rd field is between 4 and 22, inclusive.
$3 >= 4 && $3 <= 22
grove farah 1 active harbor lina 24 pending cobalt dina 28 closed indigo hana 16 ready juniper lina 17 ready indigo dina 5 ready birch kim 20 closed cobalt bruno 15 paused delta alice 25 failed
indigo hana 16 ready juniper lina 17 ready indigo dina 5 ready birch kim 20 closed cobalt bruno 15 paused
birch chen 11 failed cobalt farah 24 closed ember kim 5 pending amber ivan 9 failed harbor dina 8 closed delta lina 17 closed fable lina 9 closed
birch chen 11 failed ember kim 5 pending amber ivan 9 failed harbor dina 8 closed delta lina 17 closed fable lina 9 closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005814-p1
Display entire lines where the third field falls within the inclusive range of 4 to 22.
$3 >= 4 && $3 <= 22
grove farah 1 active harbor lina 24 pending cobalt dina 28 closed indigo hana 16 ready juniper lina 17 ready indigo dina 5 ready birch kim 20 closed cobalt bruno 15 paused delta alice 25 failed
indigo hana 16 ready juniper lina 17 ready indigo dina 5 ready birch kim 20 closed cobalt bruno 15 paused
birch chen 11 failed cobalt farah 24 closed ember kim 5 pending amber ivan 9 failed harbor dina 8 closed delta lina 17 closed fable lina 9 closed
birch chen 11 failed ember kim 5 pending amber ivan 9 failed harbor dina 8 closed delta lina 17 closed fable lina 9 closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005814
qwen/qwen3.7-plus
awkweave-0005815
Print column 3 only for rows where column 1 is exactly pending.
$1 == "pending"{print $3}
paused 28 jules fable closed 76 alice birch ready 10 kim fable ready 96 ivan harbor pending 78 lina delta failed 104 farah cobalt failed 29 alice birch ready 16 alice indigo
lina
failed 20 gus indigo pending 67 kim cobalt active 70 jules juniper closed 12 dina harbor failed 0 lina harbor pending 100 kim harbor ready 16 alice harbor paused 60 jules ember
kim kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005815-p1
Print only the third column for rows where the first column matches 'pending' exactly.
$1 == "pending"{print $3}
paused 28 jules fable closed 76 alice birch ready 10 kim fable ready 96 ivan harbor pending 78 lina delta failed 104 farah cobalt failed 29 alice birch ready 16 alice indigo
lina
failed 20 gus indigo pending 67 kim cobalt active 70 jules juniper closed 12 dina harbor failed 0 lina harbor pending 100 kim harbor ready 16 alice harbor paused 60 jules ember
kim kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005815
qwen/qwen3.7-plus
awkweave-0005816
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR ember 47 WARN fable 88 WARN grove 108 INFO fable 66 INFO cobalt 85 WARN indigo 42 WARN juniper 97
ERROR ember 47
INFO grove 52 ERROR ember 67 INFO birch 110 INFO birch 72 INFO ember 98 INFO ember 60
ERROR ember 67
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005816-p1
Output all fields from lines where the first field starts with the string 'ERROR'.
$1 ~ /^ERROR/
ERROR ember 47 WARN fable 88 WARN grove 108 INFO fable 66 INFO cobalt 85 WARN indigo 42 WARN juniper 97
ERROR ember 47
INFO grove 52 ERROR ember 67 INFO birch 110 INFO birch 72 INFO ember 98 INFO ember 60
ERROR ember 67
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005816
qwen/qwen3.7-plus
awkweave-0005817
Print every line except those containing the exact text ember.
$0 !~ /ember/
grove 71 failed harbor 78 failed amber 99 failed grove 38 failed juniper 88 ready juniper 98 pending ember 999 active
grove 71 failed harbor 78 failed amber 99 failed grove 38 failed juniper 88 ready juniper 98 pending
juniper 19 paused cobalt 68 pending juniper 105 failed harbor 106 ready cobalt 59 closed fable 33 paused ember 999 active
juniper 19 paused cobalt 68 pending juniper 105 failed harbor 106 ready cobalt 59 closed fable 33 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005817-p1
Print every line that does not contain the exact substring 'ember'.
$0 !~ /ember/
grove 71 failed harbor 78 failed amber 99 failed grove 38 failed juniper 88 ready juniper 98 pending ember 999 active
grove 71 failed harbor 78 failed amber 99 failed grove 38 failed juniper 88 ready juniper 98 pending
juniper 19 paused cobalt 68 pending juniper 105 failed harbor 106 ready cobalt 59 closed fable 33 paused ember 999 active
juniper 19 paused cobalt 68 pending juniper 105 failed harbor 106 ready cobalt 59 closed fable 33 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005817
qwen/qwen3.7-plus
awkweave-0005818
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
farah fable 17 ivan birch 42 chen birch 20 farah grove 50 hana harbor 108 kim indigo 60 ivan delta 55 gus ember 105 alice fable 92
chen birch 20 farah grove 50
ivan ember 13 chen ember 98 eli amber 84 alice amber 29 gus delta 99 gus amber 93
eli amber 84 alice amber 29
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005818-p1
Output lines 3 through 4, inclusive of both the start and end lines.
NR >= 3 && NR <= 4
farah fable 17 ivan birch 42 chen birch 20 farah grove 50 hana harbor 108 kim indigo 60 ivan delta 55 gus ember 105 alice fable 92
chen birch 20 farah grove 50
ivan ember 13 chen ember 98 eli amber 84 alice amber 29 gus delta 99 gus amber 93
eli amber 84 alice amber 29
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005818
qwen/qwen3.7-plus
awkweave-0005819
Output only the first 2 records.
NR <= 2
alice 67 ember hana 89 delta ivan 5 juniper hana 15 birch farah 17 delta hana 82 birch
alice 67 ember hana 89 delta
dina 39 birch bruno 7 delta eli 11 juniper chen 75 birch chen 81 grove bruno 19 ember bruno 63 delta dina 21 fable gus 0 grove
dina 39 birch bruno 7 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005819-p1
Restrict output to the first 2 records only.
NR <= 2
alice 67 ember hana 89 delta ivan 5 juniper hana 15 birch farah 17 delta hana 82 birch
alice 67 ember hana 89 delta
dina 39 birch bruno 7 delta eli 11 juniper chen 75 birch chen 81 grove bruno 19 ember bruno 63 delta dina 21 fable gus 0 grove
dina 39 birch bruno 7 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005819
qwen/qwen3.7-plus
awkweave-0005820
Skip the first line and print every remaining line unchanged.
NR > 1
farah 5 grove jules 68 harbor jules 58 cobalt kim 85 harbor chen 119 cobalt lina 25 delta farah 103 harbor jules 89 harbor chen 79 juniper eli 93 juniper
jules 68 harbor jules 58 cobalt kim 85 harbor chen 119 cobalt lina 25 delta farah 103 harbor jules 89 harbor chen 79 juniper eli 93 juniper
kim 95 cobalt eli 45 grove jules 8 indigo gus 65 birch bruno 9 delta kim 18 fable
eli 45 grove jules 8 indigo gus 65 birch bruno 9 delta kim 18 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005820-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
farah 5 grove jules 68 harbor jules 58 cobalt kim 85 harbor chen 119 cobalt lina 25 delta farah 103 harbor jules 89 harbor chen 79 juniper eli 93 juniper
jules 68 harbor jules 58 cobalt kim 85 harbor chen 119 cobalt lina 25 delta farah 103 harbor jules 89 harbor chen 79 juniper eli 93 juniper
kim 95 cobalt eli 45 grove jules 8 indigo gus 65 birch bruno 9 delta kim 18 fable
eli 45 grove jules 8 indigo gus 65 birch bruno 9 delta kim 18 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005820
qwen/qwen3.7-plus
awkweave-0005821
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
alice active 107 gus closed 20 ivan closed 95 alice paused 0 alice pending 88 bruno ready 67 lina closed 55 bruno paused 112 chen paused 35 kim active 21
1
eli ready 120 jules paused 0 kim closed 116 farah failed 85 ivan active 71 farah pending 61 jules failed 0
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005821-p1
Count the number of records with 'ready' in the second column; output 0 if no such records exist.
$2 == "ready"{n++}END{print n+0}
alice active 107 gus closed 20 ivan closed 95 alice paused 0 alice pending 88 bruno ready 67 lina closed 55 bruno paused 112 chen paused 35 kim active 21
1
eli ready 120 jules paused 0 kim closed 116 farah failed 85 ivan active 71 farah pending 61 jules failed 0
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005821
qwen/qwen3.7-plus
awkweave-0005822
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
30 indigo lina 10 fable eli 25 juniper jules 13 ember eli 12 birch lina 30 indigo eli
120
6 cobalt gus 3 harbor ivan 23 delta eli 12 grove ivan 19 indigo gus 6 harbor gus
69
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005822-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
30 indigo lina 10 fable eli 25 juniper jules 13 ember eli 12 birch lina 30 indigo eli
120
6 cobalt gus 3 harbor ivan 23 delta eli 12 grove ivan 19 indigo gus 6 harbor gus
69
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005822
qwen/qwen3.7-plus
awkweave-0005823
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
18 bruno cobalt 1 kim ember 10 jules delta 11 hana juniper 4 lina cobalt 30 chen birch 10 kim juniper
12.00
4 lina grove 19 dina cobalt 1 hana indigo 20 dina harbor 24 farah harbor 14 chen indigo
13.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005823-p1
Calculate the average of values in the first column and print it rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
18 bruno cobalt 1 kim ember 10 jules delta 11 hana juniper 4 lina cobalt 30 chen birch 10 kim juniper
12.00
4 lina grove 19 dina cobalt 1 hana indigo 20 dina harbor 24 farah harbor 14 chen indigo
13.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005823
qwen/qwen3.7-plus
awkweave-0005824
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 gus cobalt 14 hana juniper 19 gus cobalt 25 bruno fable 14 ivan delta 24 jules delta 6 kim grove 19 eli grove 13 chen grove 29 hana fable
6
5 gus amber 16 hana ember 14 hana harbor 19 bruno birch 19 dina birch 5 chen amber 27 farah amber 16 alice birch
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005824-p1
Identify and output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
6 gus cobalt 14 hana juniper 19 gus cobalt 25 bruno fable 14 ivan delta 24 jules delta 6 kim grove 19 eli grove 13 chen grove 29 hana fable
6
5 gus amber 16 hana ember 14 hana harbor 19 bruno birch 19 dina birch 5 chen amber 27 farah amber 16 alice birch
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005824
qwen/qwen3.7-plus
awkweave-0005825
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
18 indigo ivan 11 birch alice 16 birch bruno 28 harbor eli 8 birch dina 4 harbor eli 3 grove gus
28
13 grove kim 3 harbor chen 24 indigo dina 24 birch gus 29 juniper bruno 8 juniper ivan 18 grove farah 21 grove dina
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005825-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
18 indigo ivan 11 birch alice 16 birch bruno 28 harbor eli 8 birch dina 4 harbor eli 3 grove gus
28
13 grove kim 3 harbor chen 24 indigo dina 24 birch gus 29 juniper bruno 8 juniper ivan 18 grove farah 21 grove dina
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005825
qwen/qwen3.7-plus
awkweave-0005826
Count all input records and print the total.
END{print NR}
farah 66 jules 21 lina 78 jules 16 ivan 110 jules 86
6
bruno 94 gus 108 hana 9 lina 108 gus 75 hana 46 chen 105 gus 54 bruno 24
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005826-p1
Calculate the total number of input records and display the count.
END{print NR}
farah 66 jules 21 lina 78 jules 16 ivan 110 jules 86
6
bruno 94 gus 108 hana 9 lina 108 gus 75 hana 46 chen 105 gus 54 bruno 24
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005826
qwen/qwen3.7-plus
awkweave-0005827
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana delta 51 eli indigo 33 bruno amber 92 chen grove 95 farah fable 47 bruno cobalt 96 hana delta 51 hana juniper 31 farah juniper 118 eli ember 52
hana delta 51 eli indigo 33 bruno amber 92 chen grove 95 farah fable 47 bruno cobalt 96 hana juniper 31 farah juniper 118 eli ember 52
dina fable 63 alice grove 1 lina amber 27 hana ember 119 dina birch 10 chen grove 23 alice amber 85 jules delta 67 gus delta 104 ivan cobalt 59 chen grove 23
dina fable 63 alice grove 1 lina amber 27 hana ember 119 dina birch 10 chen grove 23 alice amber 85 jules delta 67 gus delta 104 ivan cobalt 59
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005827-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
hana delta 51 eli indigo 33 bruno amber 92 chen grove 95 farah fable 47 bruno cobalt 96 hana delta 51 hana juniper 31 farah juniper 118 eli ember 52
hana delta 51 eli indigo 33 bruno amber 92 chen grove 95 farah fable 47 bruno cobalt 96 hana juniper 31 farah juniper 118 eli ember 52
dina fable 63 alice grove 1 lina amber 27 hana ember 119 dina birch 10 chen grove 23 alice amber 85 jules delta 67 gus delta 104 ivan cobalt 59 chen grove 23
dina fable 63 alice grove 1 lina amber 27 hana ember 119 dina birch 10 chen grove 23 alice amber 85 jules delta 67 gus delta 104 ivan cobalt 59
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005827
qwen/qwen3.7-plus
awkweave-0005828
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
dina delta 62 hana birch 6 gus amber 28 bruno birch 39 ivan cobalt 93 farah grove 47 lina ember 57 hana ember 78
dina delta 62 hana birch 6 gus amber 28 bruno birch 39 ivan cobalt 93 farah grove 47 lina ember 57
dina amber 53 lina amber 13 dina amber 109 jules cobalt 90 jules birch 23 ivan fable 94 kim delta 31 alice birch 60 dina cobalt 24 ivan ember 43
dina amber 53 lina amber 13 jules cobalt 90 ivan fable 94 kim delta 31 alice birch 60
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005828-p1
Retain only the initial line for every unique value in the first column, keeping the original input order.
!seen[$1]++
dina delta 62 hana birch 6 gus amber 28 bruno birch 39 ivan cobalt 93 farah grove 47 lina ember 57 hana ember 78
dina delta 62 hana birch 6 gus amber 28 bruno birch 39 ivan cobalt 93 farah grove 47 lina ember 57
dina amber 53 lina amber 13 dina amber 109 jules cobalt 90 jules birch 23 ivan fable 94 kim delta 31 alice birch 60 dina cobalt 24 ivan ember 43
dina amber 53 lina amber 13 jules cobalt 90 ivan fable 94 kim delta 31 alice birch 60
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005828
qwen/qwen3.7-plus
awkweave-0005829
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 5 fable chen 19 amber eli 11 fable jules 1 amber lina 28 harbor farah 8 harbor jules 21 amber ivan 13 harbor farah 15 birch bruno 7 harbor
gus 5 chen 24 eli 35 jules 36 lina 64 farah 72 jules 93 ivan 106 farah 121 bruno 128
lina 21 juniper bruno 22 cobalt gus 24 cobalt dina 8 fable hana 3 fable eli 10 fable jules 20 amber jules 16 harbor bruno 3 indigo
lina 21 bruno 43 gus 67 dina 75 hana 78 eli 88 jules 108 jules 124 bruno 127
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0005829-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
gus 5 fable chen 19 amber eli 11 fable jules 1 amber lina 28 harbor farah 8 harbor jules 21 amber ivan 13 harbor farah 15 birch bruno 7 harbor
gus 5 chen 24 eli 35 jules 36 lina 64 farah 72 jules 93 ivan 106 farah 121 bruno 128
lina 21 juniper bruno 22 cobalt gus 24 cobalt dina 8 fable hana 3 fable eli 10 fable jules 20 amber jules 16 harbor bruno 3 indigo
lina 21 bruno 43 gus 67 dina 75 hana 78 eli 88 jules 108 jules 124 bruno 127
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0005829
qwen/qwen3.7-plus
awkweave-0005830
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 27 6 harbor bruno 10 19 harbor chen 18 30 amber kim 18 8 indigo gus 30 22 harbor ivan 12 23 cobalt kim 6 30 grove
alice 33 bruno 29 chen 48 kim 26 gus 52 ivan 35 kim 36
dina 23 8 fable ivan 12 11 ember alice 14 23 ember gus 29 9 cobalt lina 10 16 fable jules 10 19 ember gus 5 4 delta jules 21 21 birch lina 19 6 indigo
dina 31 ivan 23 alice 37 gus 38 lina 26 jules 29 gus 9 jules 42 lina 25
computed_field
1
train
original-grammar
CC-BY-4.0
null
null