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-0056663
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
chen 49 dina 75 hana 120 eli 41 bruno 109 bruno 118
chen 49 hana 120 bruno 109
farah 18 dina 103 chen 24 lina 100 alice 105 alice 46 hana 96 jules 102 jules 21 lina 42
farah 18 chen 24 alice 105 hana 96 jules 21
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056663-p1
Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
chen 49 dina 75 hana 120 eli 41 bruno 109 bruno 118
chen 49 hana 120 bruno 109
farah 18 dina 103 chen 24 lina 100 alice 105 alice 46 hana 96 jules 102 jules 21 lina 42
farah 18 chen 24 alice 105 hana 96 jules 21
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056663
qwen/qwen3.7-plus
awkweave-0056664
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma juniper 95 beta juniper 66 delta delta 99 delta cobalt 58 gamma birch 65 alpha grove 111 alpha ember 6 delta harbor 83
7
gamma birch 78 beta amber 68 alpha juniper 79 beta delta 57 gamma indigo 13 beta fable 107 gamma indigo 98
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056664-p1
Calculate the number of unique values present in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
gamma juniper 95 beta juniper 66 delta delta 99 delta cobalt 58 gamma birch 65 alpha grove 111 alpha ember 6 delta harbor 83
7
gamma birch 78 beta amber 68 alpha juniper 79 beta delta 57 gamma indigo 13 beta fable 107 gamma indigo 98
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056664
qwen/qwen3.7-plus
awkweave-0056665
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}
gus 23 0 hana 26 25 gus 8 4 kim 27 28 ivan 12 12 chen 14 26 bruno 20 20 hana 23 2 lina 13 23
hana 1.04 gus 2.00 kim 0.96 ivan 1.00 chen 0.54 bruno 1.00 hana 11.50 lina 0.57
bruno 21 0 alice 7 9 lina 18 26 alice 2 9 hana 2 4 bruno 19 9 dina 6 2
alice 0.78 lina 0.69 alice 0.22 hana 0.50 bruno 2.11 dina 3.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056665-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third column, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 23 0 hana 26 25 gus 8 4 kim 27 28 ivan 12 12 chen 14 26 bruno 20 20 hana 23 2 lina 13 23
hana 1.04 gus 2.00 kim 0.96 ivan 1.00 chen 0.54 bruno 1.00 hana 11.50 lina 0.57
bruno 21 0 alice 7 9 lina 18 26 alice 2 9 hana 2 4 bruno 19 9 dina 6 2
alice 0.78 lina 0.69 alice 0.22 hana 0.50 bruno 2.11 dina 3.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056665
qwen/qwen3.7-plus
awkweave-0056666
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]}
eli delta 24 bruno indigo 22 kim birch 27 jules juniper 11 dina amber 6 ivan birch 2 ivan juniper 5 farah harbor 15 gus indigo 8 bruno delta 5
kim birch 27 eli delta 24 bruno indigo 22
alice grove 6 chen amber 15 ivan harbor 20 hana cobalt 11 bruno grove 21 kim birch 2 kim ember 1 hana ember 5 jules ember 23
jules ember 23 bruno grove 21 ivan harbor 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056666-p1
Display the top three 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]}
eli delta 24 bruno indigo 22 kim birch 27 jules juniper 11 dina amber 6 ivan birch 2 ivan juniper 5 farah harbor 15 gus indigo 8 bruno delta 5
kim birch 27 eli delta 24 bruno indigo 22
alice grove 6 chen amber 15 ivan harbor 20 hana cobalt 11 bruno grove 21 kim birch 2 kim ember 1 hana ember 5 jules ember 23
jules ember 23 bruno grove 21 ivan harbor 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056666
qwen/qwen3.7-plus
awkweave-0056667
For each line, output fields 3 and 2, in that order.
{print $3, $2}
active birch cobalt 113 ready delta cobalt 57 ready fable harbor 25 active birch amber 118 closed grove birch 76 closed ember harbor 25 closed juniper amber 60 failed ember ember 18 ready cobalt delta 22
cobalt birch cobalt delta harbor fable amber birch birch grove harbor ember amber juniper ember ember delta cobalt
pending birch amber 48 ready amber grove 1 active delta birch 98 active cobalt birch 107 closed fable amber 71 active cobalt grove 75 failed indigo ember 18 ready harbor delta 55 closed birch indigo 78
amber birch grove amber birch delta birch cobalt amber fable grove cobalt ember indigo delta harbor indigo birch
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056667-p1
For every line, print the third field followed by the second field.
{print $3, $2}
active birch cobalt 113 ready delta cobalt 57 ready fable harbor 25 active birch amber 118 closed grove birch 76 closed ember harbor 25 closed juniper amber 60 failed ember ember 18 ready cobalt delta 22
cobalt birch cobalt delta harbor fable amber birch birch grove harbor ember amber juniper ember ember delta cobalt
pending birch amber 48 ready amber grove 1 active delta birch 98 active cobalt birch 107 closed fable amber 71 active cobalt grove 75 failed indigo ember 18 ready harbor delta 55 closed birch indigo 78
amber birch grove amber birch delta birch cobalt amber fable grove cobalt ember indigo delta harbor indigo birch
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056667
qwen/qwen3.7-plus
awkweave-0056668
Print the last field of every input line.
{print $NF}
gus harbor ember ember 115 20 active farah fable fable ember 71 87 ready farah delta birch ember 8 5 paused alice amber birch delta 26 17 ready chen fable birch amber 98 115 pending dina harbor delta ember 114 83 active ivan harbor birch harbor 46 3 failed bruno grove delta amber 105 17 pending kim amber birch amber 4 ...
active ready paused ready pending active failed pending closed
bruno cobalt birch delta 43 36 paused lina birch grove birch 9 14 closed alice indigo cobalt fable 48 113 failed lina indigo cobalt indigo 9 92 paused farah harbor delta amber 70 118 ready ivan fable amber indigo 82 53 closed alice birch indigo amber 90 54 active
paused closed failed paused ready closed active
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056668-p1
Output the final field from each line of the input.
{print $NF}
gus harbor ember ember 115 20 active farah fable fable ember 71 87 ready farah delta birch ember 8 5 paused alice amber birch delta 26 17 ready chen fable birch amber 98 115 pending dina harbor delta ember 114 83 active ivan harbor birch harbor 46 3 failed bruno grove delta amber 105 17 pending kim amber birch amber 4 ...
active ready paused ready pending active failed pending closed
bruno cobalt birch delta 43 36 paused lina birch grove birch 9 14 closed alice indigo cobalt fable 48 113 failed lina indigo cobalt indigo 9 92 paused farah harbor delta amber 70 118 ready ivan fable amber indigo 82 53 closed alice birch indigo amber 90 54 active
paused closed failed paused ready closed active
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056668
qwen/qwen3.7-plus
awkweave-0056669
Print the complete records where column 3 is at least 74.
$3 >= 74
delta active 39 ivan pending indigo ready 70 kim closed cobalt paused 66 bruno failed birch paused 76 eli failed grove paused 23 eli failed ember pending 83 ivan paused juniper paused 12 hana active juniper active 90 eli active delta active 9 ivan active indigo pending 22 dina failed
birch paused 76 eli failed ember pending 83 ivan paused juniper active 90 eli active
ember pending 19 farah paused birch closed 12 jules pending birch closed 84 alice failed amber paused 89 jules closed ember closed 1 gus ready ember failed 5 chen paused juniper active 72 farah closed
birch closed 84 alice failed amber paused 89 jules closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056669-p1
Print entire records where the value in the third column is 74 or higher.
$3 >= 74
delta active 39 ivan pending indigo ready 70 kim closed cobalt paused 66 bruno failed birch paused 76 eli failed grove paused 23 eli failed ember pending 83 ivan paused juniper paused 12 hana active juniper active 90 eli active delta active 9 ivan active indigo pending 22 dina failed
birch paused 76 eli failed ember pending 83 ivan paused juniper active 90 eli active
ember pending 19 farah paused birch closed 12 jules pending birch closed 84 alice failed amber paused 89 jules closed ember closed 1 gus ready ember failed 5 chen paused juniper active 72 farah closed
birch closed 84 alice failed amber paused 89 jules closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056669
qwen/qwen3.7-plus
awkweave-0056670
Show whole lines whose 1st field is between 12 and 19, inclusive.
$1 >= 12 && $1 <= 19
22 delta failed dina 23 delta failed alice 23 amber failed dina 10 juniper closed lina 3 birch closed eli 1 ember ready bruno 14 harbor ready alice 30 birch failed jules 9 indigo failed lina
14 harbor ready alice
30 ember failed farah 19 fable failed jules 8 grove paused jules 19 harbor paused lina 13 fable ready bruno 25 juniper closed farah 16 ember active eli 18 juniper ready kim 4 indigo closed eli 16 birch ready alice
19 fable failed jules 19 harbor paused lina 13 fable ready bruno 16 ember active eli 18 juniper ready kim 16 birch ready alice
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056670-p1
Display full lines where the first field falls within the inclusive range of 12 to 19.
$1 >= 12 && $1 <= 19
22 delta failed dina 23 delta failed alice 23 amber failed dina 10 juniper closed lina 3 birch closed eli 1 ember ready bruno 14 harbor ready alice 30 birch failed jules 9 indigo failed lina
14 harbor ready alice
30 ember failed farah 19 fable failed jules 8 grove paused jules 19 harbor paused lina 13 fable ready bruno 25 juniper closed farah 16 ember active eli 18 juniper ready kim 4 indigo closed eli 16 birch ready alice
19 fable failed jules 19 harbor paused lina 13 fable ready bruno 16 ember active eli 18 juniper ready kim 16 birch ready alice
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056670
qwen/qwen3.7-plus
awkweave-0056671
Print column 3 only for rows where column 2 is exactly closed.
$2 == "closed"{print $3}
delta failed eli 39 juniper closed farah 1 harbor failed eli 54 indigo ready farah 59 delta closed eli 52 ember paused hana 36
farah eli
amber active lina 109 grove paused kim 43 grove failed bruno 32 grove paused farah 76 cobalt pending kim 95 juniper ready jules 25 cobalt active farah 88 amber ready ivan 76
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056671-p1
Output only the third column for rows where the second column contains the exact value 'closed'.
$2 == "closed"{print $3}
delta failed eli 39 juniper closed farah 1 harbor failed eli 54 indigo ready farah 59 delta closed eli 52 ember paused hana 36
farah eli
amber active lina 109 grove paused kim 43 grove failed bruno 32 grove paused farah 76 cobalt pending kim 95 juniper ready jules 25 cobalt active farah 88 amber ready ivan 76
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056671
qwen/qwen3.7-plus
awkweave-0056672
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
42 cobalt DEBUG 95 harbor INFO 48 grove ERROR 1 grove ERROR 105 harbor WARN 15 indigo INFO 42 ember ERROR 54 indigo WARN 100 grove ERROR 50 fable DEBUG
95 harbor INFO 15 indigo INFO
35 cobalt ERROR 77 fable DEBUG 25 amber WARN 35 ember INFO 17 juniper INFO 58 harbor WARN 80 birch INFO 120 amber DEBUG 49 delta DEBUG
35 ember INFO 17 juniper INFO 80 birch INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056672-p1
Output all fields for lines where the third field starts with INFO.
$3 ~ /^INFO/
42 cobalt DEBUG 95 harbor INFO 48 grove ERROR 1 grove ERROR 105 harbor WARN 15 indigo INFO 42 ember ERROR 54 indigo WARN 100 grove ERROR 50 fable DEBUG
95 harbor INFO 15 indigo INFO
35 cobalt ERROR 77 fable DEBUG 25 amber WARN 35 ember INFO 17 juniper INFO 58 harbor WARN 80 birch INFO 120 amber DEBUG 49 delta DEBUG
35 ember INFO 17 juniper INFO 80 birch INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056672
qwen/qwen3.7-plus
awkweave-0056673
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
harbor 39 pending juniper 22 pending birch 63 paused delta 33 ready indigo 77 closed ember 6 paused juniper 999 active
harbor 39 pending birch 63 paused delta 33 ready indigo 77 closed ember 6 paused
cobalt 21 active harbor 69 active indigo 84 paused birch 115 closed birch 114 ready birch 53 pending amber 49 paused juniper 999 active
cobalt 21 active harbor 69 active indigo 84 paused birch 115 closed birch 114 ready birch 53 pending amber 49 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056673-p1
Display every line that does not contain the exact string juniper.
$0 !~ /juniper/
harbor 39 pending juniper 22 pending birch 63 paused delta 33 ready indigo 77 closed ember 6 paused juniper 999 active
harbor 39 pending birch 63 paused delta 33 ready indigo 77 closed ember 6 paused
cobalt 21 active harbor 69 active indigo 84 paused birch 115 closed birch 114 ready birch 53 pending amber 49 paused juniper 999 active
cobalt 21 active harbor 69 active indigo 84 paused birch 115 closed birch 114 ready birch 53 pending amber 49 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056673
qwen/qwen3.7-plus
awkweave-0056674
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
dina delta 32 jules fable 76 lina indigo 109 gus grove 27 farah cobalt 91 bruno grove 49 kim indigo 31 alice fable 88 kim indigo 88
gus grove 27 farah cobalt 91 bruno grove 49 kim indigo 31
dina ember 93 dina ember 9 alice juniper 51 gus amber 64 dina ember 21 eli birch 24 kim grove 89 dina harbor 22 bruno delta 46
gus amber 64 dina ember 21 eli birch 24 kim grove 89
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056674-p1
Print lines 4 to 7, inclusive of both endpoints.
NR >= 4 && NR <= 7
dina delta 32 jules fable 76 lina indigo 109 gus grove 27 farah cobalt 91 bruno grove 49 kim indigo 31 alice fable 88 kim indigo 88
gus grove 27 farah cobalt 91 bruno grove 49 kim indigo 31
dina ember 93 dina ember 9 alice juniper 51 gus amber 64 dina ember 21 eli birch 24 kim grove 89 dina harbor 22 bruno delta 46
gus amber 64 dina ember 21 eli birch 24 kim grove 89
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056674
qwen/qwen3.7-plus
awkweave-0056675
Output only the first 2 records.
NR <= 2
chen 97 birch farah 62 amber dina 43 fable chen 5 fable chen 62 indigo eli 78 amber chen 28 indigo lina 45 harbor jules 73 amber alice 7 birch
chen 97 birch farah 62 amber
gus 70 cobalt jules 56 birch eli 29 birch lina 8 grove ivan 43 fable kim 44 fable dina 6 juniper
gus 70 cobalt jules 56 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056675-p1
Output only the first 2 records.
NR <= 2
chen 97 birch farah 62 amber dina 43 fable chen 5 fable chen 62 indigo eli 78 amber chen 28 indigo lina 45 harbor jules 73 amber alice 7 birch
chen 97 birch farah 62 amber
gus 70 cobalt jules 56 birch eli 29 birch lina 8 grove ivan 43 fable kim 44 fable dina 6 juniper
gus 70 cobalt jules 56 birch
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0056675
qwen/qwen3.7-plus
awkweave-0056676
Skip the first line and print every remaining line unchanged.
NR > 1
hana 113 birch eli 110 delta lina 62 cobalt hana 79 amber dina 71 indigo alice 79 indigo kim 56 indigo hana 74 fable eli 38 amber
eli 110 delta lina 62 cobalt hana 79 amber dina 71 indigo alice 79 indigo kim 56 indigo hana 74 fable eli 38 amber
farah 39 juniper chen 35 delta hana 119 ember kim 67 amber alice 30 grove alice 77 juniper farah 120 delta
chen 35 delta hana 119 ember kim 67 amber alice 30 grove alice 77 juniper farah 120 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056676-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
hana 113 birch eli 110 delta lina 62 cobalt hana 79 amber dina 71 indigo alice 79 indigo kim 56 indigo hana 74 fable eli 38 amber
eli 110 delta lina 62 cobalt hana 79 amber dina 71 indigo alice 79 indigo kim 56 indigo hana 74 fable eli 38 amber
farah 39 juniper chen 35 delta hana 119 ember kim 67 amber alice 30 grove alice 77 juniper farah 120 delta
chen 35 delta hana 119 ember kim 67 amber alice 30 grove alice 77 juniper farah 120 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056676
qwen/qwen3.7-plus
awkweave-0056677
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
dina failed 9 alice ready 0 ivan ready 6 eli failed 100 alice pending 71 chen paused 8 chen paused 27
2
farah active 106 dina active 96 farah failed 30 jules failed 53 bruno ready 11 kim pending 117 gus failed 49
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056677-p1
Count the number of records with ready in the second column; output 0 if none exist.
$2 == "ready"{n++}END{print n+0}
dina failed 9 alice ready 0 ivan ready 6 eli failed 100 alice pending 71 chen paused 8 chen paused 27
2
farah active 106 dina active 96 farah failed 30 jules failed 53 bruno ready 11 kim pending 117 gus failed 49
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056677
qwen/qwen3.7-plus
awkweave-0056678
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
alice 4 cobalt dina 14 birch bruno 16 birch farah 29 juniper dina 10 juniper ivan 4 fable
77
farah 27 delta lina 16 harbor farah 29 indigo alice 22 harbor kim 10 delta ivan 26 juniper
130
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056678-p1
Compute and display the sum of integer values in the second column.
{s+=$2}END{print s+0}
alice 4 cobalt dina 14 birch bruno 16 birch farah 29 juniper dina 10 juniper ivan 4 fable
77
farah 27 delta lina 16 harbor farah 29 indigo alice 22 harbor kim 10 delta ivan 26 juniper
130
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056678
qwen/qwen3.7-plus
awkweave-0056679
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt hana 20 delta ivan 19 cobalt farah 6 birch chen 2 delta gus 16 harbor ivan 23 fable farah 27 cobalt eli 8 amber dina 6
14.11
indigo jules 7 amber bruno 25 juniper gus 30 birch dina 22 harbor alice 27 juniper dina 12 fable bruno 13 harbor gus 18 birch farah 25 fable bruno 12
19.10
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056679-p1
Calculate the arithmetic mean of the third column and round it to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt hana 20 delta ivan 19 cobalt farah 6 birch chen 2 delta gus 16 harbor ivan 23 fable farah 27 cobalt eli 8 amber dina 6
14.11
indigo jules 7 amber bruno 25 juniper gus 30 birch dina 22 harbor alice 27 juniper dina 12 fable bruno 13 harbor gus 18 birch farah 25 fable bruno 12
19.10
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056679
qwen/qwen3.7-plus
awkweave-0056680
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
grove bruno 4 grove bruno 26 juniper dina 22 juniper alice 16 harbor alice 13 cobalt farah 22 grove dina 6 indigo ivan 21 harbor ivan 2
2
ember dina 29 fable jules 12 ember bruno 4 grove dina 9 grove gus 6 grove ivan 2 fable eli 29 indigo jules 25
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056680-p1
Identify and print the minimum numeric value found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
grove bruno 4 grove bruno 26 juniper dina 22 juniper alice 16 harbor alice 13 cobalt farah 22 grove dina 6 indigo ivan 21 harbor ivan 2
2
ember dina 29 fable jules 12 ember bruno 4 grove dina 9 grove gus 6 grove ivan 2 fable eli 29 indigo jules 25
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056680
qwen/qwen3.7-plus
awkweave-0056681
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 21 alice harbor 11 gus birch 4 farah amber 3 chen harbor 6 chen grove 26 gus
26
amber 9 bruno birch 17 farah amber 20 ivan amber 17 jules birch 19 lina ember 13 dina fable 5 hana
20
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056681-p1
Identify and print the maximum numeric value found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 21 alice harbor 11 gus birch 4 farah amber 3 chen harbor 6 chen grove 26 gus
26
amber 9 bruno birch 17 farah amber 20 ivan amber 17 jules birch 19 lina ember 13 dina fable 5 hana
20
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056681
qwen/qwen3.7-plus
awkweave-0056682
Count all input records and print the total.
END{print NR}
hana 33 alice 65 lina 102 gus 104 hana 106 gus 52 kim 26 kim 78
8
ivan 40 hana 14 alice 41 gus 112 jules 82 dina 97
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056682-p1
Count the total number of input records and print the result.
END{print NR}
hana 33 alice 65 lina 102 gus 104 hana 106 gus 52 kim 26 kim 78
8
ivan 40 hana 14 alice 41 gus 112 jules 82 dina 97
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056682
qwen/qwen3.7-plus
awkweave-0056683
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim cobalt 92 lina amber 46 gus juniper 112 hana ember 38 kim birch 31 hana amber 36 lina birch 78 ivan grove 61 kim birch 31 jules grove 104
kim cobalt 92 lina amber 46 gus juniper 112 hana ember 38 kim birch 31 hana amber 36 lina birch 78 ivan grove 61 jules grove 104
farah ember 83 eli indigo 15 dina harbor 89 ivan indigo 64 eli juniper 44 chen delta 81 chen delta 81
farah ember 83 eli indigo 15 dina harbor 89 ivan indigo 64 eli juniper 44 chen delta 81
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056683-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original order.
!seen[$0]++
kim cobalt 92 lina amber 46 gus juniper 112 hana ember 38 kim birch 31 hana amber 36 lina birch 78 ivan grove 61 kim birch 31 jules grove 104
kim cobalt 92 lina amber 46 gus juniper 112 hana ember 38 kim birch 31 hana amber 36 lina birch 78 ivan grove 61 jules grove 104
farah ember 83 eli indigo 15 dina harbor 89 ivan indigo 64 eli juniper 44 chen delta 81 chen delta 81
farah ember 83 eli indigo 15 dina harbor 89 ivan indigo 64 eli juniper 44 chen delta 81
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056683
qwen/qwen3.7-plus
awkweave-0056684
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
hana delta 75 ivan harbor 50 ivan juniper 54 kim indigo 37 bruno harbor 113 alice cobalt 44 chen amber 30 gus delta 64
hana delta 75 ivan harbor 50 kim indigo 37 bruno harbor 113 alice cobalt 44 chen amber 30 gus delta 64
bruno harbor 40 gus indigo 48 farah grove 73 eli grove 45 eli indigo 5 alice birch 66 hana harbor 38
bruno harbor 40 gus indigo 48 farah grove 73 eli grove 45 alice birch 66 hana harbor 38
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056684-p1
Retain only the first occurrence of each unique value in column 1, maintaining the original input order.
!seen[$1]++
hana delta 75 ivan harbor 50 ivan juniper 54 kim indigo 37 bruno harbor 113 alice cobalt 44 chen amber 30 gus delta 64
hana delta 75 ivan harbor 50 kim indigo 37 bruno harbor 113 alice cobalt 44 chen amber 30 gus delta 64
bruno harbor 40 gus indigo 48 farah grove 73 eli grove 45 eli indigo 5 alice birch 66 hana harbor 38
bruno harbor 40 gus indigo 48 farah grove 73 eli grove 45 alice birch 66 hana harbor 38
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056684
qwen/qwen3.7-plus
awkweave-0056685
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 8 cobalt alice 22 juniper farah 14 indigo eli 15 juniper hana 18 birch ivan 5 fable dina 29 birch jules 20 delta
jules 8 alice 30 farah 44 eli 59 hana 77 ivan 82 dina 111 jules 131
chen 7 birch chen 23 harbor kim 1 cobalt hana 26 juniper bruno 6 birch alice 13 delta lina 16 cobalt
chen 7 chen 30 kim 31 hana 57 bruno 63 alice 76 lina 92
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056685-p1
Output column 1 and the cumulative sum of column 2 for each record, separated by a space.
{s+=$2;print $1,s}
jules 8 cobalt alice 22 juniper farah 14 indigo eli 15 juniper hana 18 birch ivan 5 fable dina 29 birch jules 20 delta
jules 8 alice 30 farah 44 eli 59 hana 77 ivan 82 dina 111 jules 131
chen 7 birch chen 23 harbor kim 1 cobalt hana 26 juniper bruno 6 birch alice 13 delta lina 16 cobalt
chen 7 chen 30 kim 31 hana 57 bruno 63 alice 76 lina 92
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056685
qwen/qwen3.7-plus
awkweave-0056686
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 23 18 delta hana 24 30 grove hana 13 27 indigo eli 7 14 ember chen 9 17 cobalt farah 21 10 fable eli 17 24 delta
kim 41 hana 54 hana 40 eli 21 chen 26 farah 31 eli 41
dina 2 26 amber alice 26 27 amber alice 8 8 delta lina 26 1 grove kim 17 2 juniper alice 27 18 juniper
dina 28 alice 53 alice 16 lina 27 kim 19 alice 45
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056686-p1
For every row, display field 1 followed by the total of fields 2 and 3.
{print $1,$2+$3}
kim 23 18 delta hana 24 30 grove hana 13 27 indigo eli 7 14 ember chen 9 17 cobalt farah 21 10 fable eli 17 24 delta
kim 41 hana 54 hana 40 eli 21 chen 26 farah 31 eli 41
dina 2 26 amber alice 26 27 amber alice 8 8 delta lina 26 1 grove kim 17 2 juniper alice 27 18 juniper
dina 28 alice 53 alice 16 lina 27 kim 19 alice 45
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056686
qwen/qwen3.7-plus
awkweave-0056687
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
kim 19 alice 16 farah 1 farah 20 bruno 9 chen 29 hana 25
kim fail alice fail farah fail farah fail bruno fail chen pass hana pass
ivan 20 chen 2 jules 11 chen 23 alice 8 gus 27 bruno 26 kim 29 gus 13
ivan fail chen fail jules fail chen pass alice fail gus pass bruno pass kim pass gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056687-p1
Print column 1 along with 'pass' if column 2 is 22 or greater; otherwise, print 'fail'.
{print $1,($2>=22?"pass":"fail")}
kim 19 alice 16 farah 1 farah 20 bruno 9 chen 29 hana 25
kim fail alice fail farah fail farah fail bruno fail chen pass hana pass
ivan 20 chen 2 jules 11 chen 23 alice 8 gus 27 bruno 26 kim 29 gus 13
ivan fail chen fail jules fail chen pass alice fail gus pass bruno pass kim pass gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056687
qwen/qwen3.7-plus
awkweave-0056688
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
lina cobalt 74 gus birch 107 lina cobalt 67 kim amber 106 dina juniper 39 gus delta 97 lina fable 82
COBALT BIRCH COBALT AMBER JUNIPER DELTA FABLE
lina cobalt 82 hana grove 55 bruno fable 56 gus harbor 77 jules ember 6 lina cobalt 78 dina harbor 62 lina juniper 77 jules juniper 35
COBALT GROVE FABLE HARBOR EMBER COBALT HARBOR JUNIPER JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056688-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
lina cobalt 74 gus birch 107 lina cobalt 67 kim amber 106 dina juniper 39 gus delta 97 lina fable 82
COBALT BIRCH COBALT AMBER JUNIPER DELTA FABLE
lina cobalt 82 hana grove 55 bruno fable 56 gus harbor 77 jules ember 6 lina cobalt 78 dina harbor 62 lina juniper 77 jules juniper 35
COBALT GROVE FABLE HARBOR EMBER COBALT HARBOR JUNIPER JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056688
qwen/qwen3.7-plus
awkweave-0056689
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
indigo 25 fable 93 juniper 92 cobalt 115 grove 115 indigo 102 harbor 35 birch 105 grove 77 harbor 19
in fa ju co gr in ha bi gr ha
indigo 32 indigo 107 harbor 82 harbor 21 indigo 16 ember 87
in in ha ha in em
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056689-p1
Extract and print the first 2 characters from column 1.
{print substr($1,1,2)}
indigo 25 fable 93 juniper 92 cobalt 115 grove 115 indigo 102 harbor 35 birch 105 grove 77 harbor 19
in fa ju co gr in ha bi gr ha
indigo 32 indigo 107 harbor 82 harbor 21 indigo 16 ember 87
in in ha ha in em
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056689
qwen/qwen3.7-plus
awkweave-0056700
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina harbor 12 gus juniper 34 hana birch 41 chen harbor 11 ivan birch 17 ivan delta 108 ivan juniper 12
lina harbor 12 gus juniper 34 hana birch 41 chen harbor 11 ivan birch 17 ivan delta 108 ivan juniper 12
ivan grove 48 hana delta 42 jules birch 81 alice juniper 73 jules birch 68 eli birch 39 ivan delta 17 alice juniper 92 bruno indigo 115
ivan grove 48 hana delta 42 jules birch 81 alice juniper 73 jules birch 68 eli birch 39 ivan delta 17 alice juniper 92 bruno indigo 115
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056700-p1
Remove leading and trailing whitespace and replace multiple internal spaces with a single space.
{$1=$1;print}
lina harbor 12 gus juniper 34 hana birch 41 chen harbor 11 ivan birch 17 ivan delta 108 ivan juniper 12
lina harbor 12 gus juniper 34 hana birch 41 chen harbor 11 ivan birch 17 ivan delta 108 ivan juniper 12
ivan grove 48 hana delta 42 jules birch 81 alice juniper 73 jules birch 68 eli birch 39 ivan delta 17 alice juniper 92 bruno indigo 115
ivan grove 48 hana delta 42 jules birch 81 alice juniper 73 jules birch 68 eli birch 39 ivan delta 17 alice juniper 92 bruno indigo 115
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056700
qwen/qwen3.7-plus
awkweave-0056701
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan indigo 43 paused dina delta 114 paused ivan ember 23 closed hana grove 24 pending kim grove 60 pending ivan indigo 67 paused gus cobalt 54 paused farah birch 114 pending ivan amber 104 active
farah birch 114 pending
chen indigo 96 failed gus juniper 43 failed dina cobalt 34 paused ivan ember 84 paused bruno ember 120 pending ivan ember 59 closed lina birch 119 ready lina cobalt 26 ready eli juniper 72 ready
bruno ember 120 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056701-p1
Identify and print the longest line from the input; in case of a tie, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
ivan indigo 43 paused dina delta 114 paused ivan ember 23 closed hana grove 24 pending kim grove 60 pending ivan indigo 67 paused gus cobalt 54 paused farah birch 114 pending ivan amber 104 active
farah birch 114 pending
chen indigo 96 failed gus juniper 43 failed dina cobalt 34 paused ivan ember 84 paused bruno ember 120 pending ivan ember 59 closed lina birch 119 ready lina cobalt 26 ready eli juniper 72 ready
bruno ember 120 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056701
qwen/qwen3.7-plus
awkweave-0056702
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
ivan 80 jules 117 eli 98 kim 119 farah 64 kim 60 dina 4 eli 7
eli 98 dina 4
gus 6 kim 108 chen 69 kim 98 dina 115 eli 13 bruno 43
chen 69 bruno 43
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056702-p1
Output every 4th line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
ivan 80 jules 117 eli 98 kim 119 farah 64 kim 60 dina 4 eli 7
eli 98 dina 4
gus 6 kim 108 chen 69 kim 98 dina 115 eli 13 bruno 43
chen 69 bruno 43
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056702
qwen/qwen3.7-plus
awkweave-0056703
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta juniper 115 alpha indigo 116 alpha grove 36 alpha indigo 95 beta juniper 102 alpha cobalt 14
3
alpha grove 86 alpha cobalt 77 delta amber 102 alpha grove 63 gamma cobalt 104 beta ember 82
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056703-p1
Count the number of unique values in column 1 and print only the total count.
{if(!seen[$1]++)n++}END{print n+0}
delta juniper 115 alpha indigo 116 alpha grove 36 alpha indigo 95 beta juniper 102 alpha cobalt 14
3
alpha grove 86 alpha cobalt 77 delta amber 102 alpha grove 63 gamma cobalt 104 beta ember 82
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056703
qwen/qwen3.7-plus
awkweave-0056704
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}
farah 17 0 alice 26 25 ivan 26 19 eli 13 12 kim 5 18 bruno 25 9 ivan 29 23 ivan 18 29 jules 25 29
alice 1.04 ivan 1.37 eli 1.08 kim 0.28 bruno 2.78 ivan 1.26 ivan 0.62 jules 0.86
farah 2 0 ivan 3 29 chen 29 3 ivan 18 11 alice 19 1 gus 11 21 ivan 22 13 alice 26 14 bruno 15 28
ivan 0.10 chen 9.67 ivan 1.64 alice 19.00 gus 0.52 ivan 1.69 alice 1.86 bruno 0.54
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056704-p1
For each row where column 3 is not zero, print column 1 and the result of column 2 divided by column 3, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 17 0 alice 26 25 ivan 26 19 eli 13 12 kim 5 18 bruno 25 9 ivan 29 23 ivan 18 29 jules 25 29
alice 1.04 ivan 1.37 eli 1.08 kim 0.28 bruno 2.78 ivan 1.26 ivan 0.62 jules 0.86
farah 2 0 ivan 3 29 chen 29 3 ivan 18 11 alice 19 1 gus 11 21 ivan 22 13 alice 26 14 bruno 15 28
ivan 0.10 chen 9.67 ivan 1.64 alice 19.00 gus 0.52 ivan 1.69 alice 1.86 bruno 0.54
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056704
qwen/qwen3.7-plus
awkweave-0056705
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
lina delta 9 chen delta 13 alice amber 28 chen fable 17 jules juniper 3 jules ember 20 dina birch 2 alice harbor 12 farah cobalt 11 hana fable 13
alice amber 28 jules ember 20 chen fable 17
bruno birch 17 alice amber 17 lina fable 1 gus harbor 7 eli amber 5 lina cobalt 23 farah juniper 28
farah juniper 28 lina cobalt 23 bruno birch 17
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056705-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order; preserve the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
lina delta 9 chen delta 13 alice amber 28 chen fable 17 jules juniper 3 jules ember 20 dina birch 2 alice harbor 12 farah cobalt 11 hana fable 13
alice amber 28 jules ember 20 chen fable 17
bruno birch 17 alice amber 17 lina fable 1 gus harbor 7 eli amber 5 lina cobalt 23 farah juniper 28
farah juniper 28 lina cobalt 23 bruno birch 17
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056705
qwen/qwen3.7-plus
awkweave-0056706
For each line, output fields 5 and 1, in that order.
{print $5, $1}
89 birch failed closed bruno 12 indigo ready ready alice 40 ember pending closed ivan 39 grove paused ready jules 35 grove active paused farah 45 amber active failed kim
bruno 89 alice 12 ivan 40 jules 39 farah 35 kim 45
70 amber active paused jules 72 grove active ready gus 40 delta failed pending farah 119 birch failed active alice 98 harbor closed paused hana 110 birch ready pending gus 119 fable pending ready dina 120 juniper active ready alice
jules 70 gus 72 farah 40 alice 119 hana 98 gus 110 dina 119 alice 120
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056706-p1
For every line, extract and display the fifth field followed by the first field.
{print $5, $1}
89 birch failed closed bruno 12 indigo ready ready alice 40 ember pending closed ivan 39 grove paused ready jules 35 grove active paused farah 45 amber active failed kim
bruno 89 alice 12 ivan 40 jules 39 farah 35 kim 45
70 amber active paused jules 72 grove active ready gus 40 delta failed pending farah 119 birch failed active alice 98 harbor closed paused hana 110 birch ready pending gus 119 fable pending ready dina 120 juniper active ready alice
jules 70 gus 72 farah 40 alice 119 hana 98 gus 110 dina 119 alice 120
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056706
qwen/qwen3.7-plus
awkweave-0056707
Print the last field of every input line.
{print $NF}
ready 103 jules failed 43 gus paused 114 bruno pending 70 ivan closed 10 lina ready 37 hana active 80 dina ready 17 dina
jules gus bruno ivan lina hana dina dina
paused 67 hana active 35 ivan active 40 lina closed 114 jules closed 26 lina closed 91 lina
hana ivan lina jules lina lina
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056707-p1
Output the final field from each input line.
{print $NF}
ready 103 jules failed 43 gus paused 114 bruno pending 70 ivan closed 10 lina ready 37 hana active 80 dina ready 17 dina
jules gus bruno ivan lina hana dina dina
paused 67 hana active 35 ivan active 40 lina closed 114 jules closed 26 lina closed 91 lina
hana ivan lina jules lina lina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056707
qwen/qwen3.7-plus
awkweave-0056708
Print the complete records where column 1 is at least 30.
$1 >= 30
87 ember harbor juniper farah 89 fable ember fable dina 34 juniper delta delta bruno 46 amber indigo harbor jules 18 grove indigo delta hana 54 juniper indigo grove ivan
87 ember harbor juniper farah 89 fable ember fable dina 34 juniper delta delta bruno 46 amber indigo harbor jules 54 juniper indigo grove ivan
14 amber indigo amber gus 33 amber juniper fable ivan 66 cobalt juniper juniper farah 35 amber indigo delta eli 25 grove grove grove eli 118 harbor cobalt juniper farah
33 amber juniper fable ivan 66 cobalt juniper juniper farah 35 amber indigo delta eli 118 harbor cobalt juniper farah
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056708-p1
Display full records where the value in the first column is greater than or equal to 30.
$1 >= 30
87 ember harbor juniper farah 89 fable ember fable dina 34 juniper delta delta bruno 46 amber indigo harbor jules 18 grove indigo delta hana 54 juniper indigo grove ivan
87 ember harbor juniper farah 89 fable ember fable dina 34 juniper delta delta bruno 46 amber indigo harbor jules 54 juniper indigo grove ivan
14 amber indigo amber gus 33 amber juniper fable ivan 66 cobalt juniper juniper farah 35 amber indigo delta eli 25 grove grove grove eli 118 harbor cobalt juniper farah
33 amber juniper fable ivan 66 cobalt juniper juniper farah 35 amber indigo delta eli 118 harbor cobalt juniper farah
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056708
qwen/qwen3.7-plus
awkweave-0056709
Show whole lines whose 1st field is between 9 and 19, inclusive.
$1 >= 9 && $1 <= 19
16 active paused delta 18 paused ready indigo 4 paused ready cobalt 12 pending failed delta 12 active paused delta 18 paused closed juniper
16 active paused delta 18 paused ready indigo 12 pending failed delta 12 active paused delta 18 paused closed juniper
17 ready pending fable 26 failed pending birch 30 pending paused cobalt 9 ready pending harbor 2 closed failed harbor 9 paused paused juniper
17 ready pending fable 9 ready pending harbor 9 paused paused juniper
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056709-p1
Show entire lines where the first field falls within the inclusive range of 9 to 19.
$1 >= 9 && $1 <= 19
16 active paused delta 18 paused ready indigo 4 paused ready cobalt 12 pending failed delta 12 active paused delta 18 paused closed juniper
16 active paused delta 18 paused ready indigo 12 pending failed delta 12 active paused delta 18 paused closed juniper
17 ready pending fable 26 failed pending birch 30 pending paused cobalt 9 ready pending harbor 2 closed failed harbor 9 paused paused juniper
17 ready pending fable 9 ready pending harbor 9 paused paused juniper
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056709
qwen/qwen3.7-plus
awkweave-0056710
Print column 1 only for rows where column 2 is exactly pending.
$2 == "pending"{print $1}
bruno ready birch 85 chen closed ember 109 kim failed juniper 33 farah active juniper 110 eli active cobalt 66 farah failed birch 34 bruno failed harbor 115 farah pending harbor 40
farah
kim paused fable 28 eli pending amber 110 eli closed delta 68 dina closed amber 97 kim pending indigo 9 farah failed fable 78 farah ready indigo 64 kim pending juniper 47 eli failed cobalt 108
eli kim kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056710-p1
Output only the first column for rows where the second column matches 'pending' exactly.
$2 == "pending"{print $1}
bruno ready birch 85 chen closed ember 109 kim failed juniper 33 farah active juniper 110 eli active cobalt 66 farah failed birch 34 bruno failed harbor 115 farah pending harbor 40
farah
kim paused fable 28 eli pending amber 110 eli closed delta 68 dina closed amber 97 kim pending indigo 9 farah failed fable 78 farah ready indigo 64 kim pending juniper 47 eli failed cobalt 108
eli kim kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056710
qwen/qwen3.7-plus
awkweave-0056711
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
amber DEBUG 67 fable ERROR 94 cobalt INFO 52 cobalt WARN 111 amber DEBUG 94 birch WARN 35
cobalt INFO 52
grove WARN 83 grove ERROR 35 grove ERROR 36 fable ERROR 14 indigo ERROR 90 indigo ERROR 18 amber WARN 48 birch WARN 46
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056711-p1
Print all fields from lines where the second field starts with the string 'INFO'.
$2 ~ /^INFO/
amber DEBUG 67 fable ERROR 94 cobalt INFO 52 cobalt WARN 111 amber DEBUG 94 birch WARN 35
cobalt INFO 52
grove WARN 83 grove ERROR 35 grove ERROR 36 fable ERROR 14 indigo ERROR 90 indigo ERROR 18 amber WARN 48 birch WARN 46
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056711
qwen/qwen3.7-plus
awkweave-0056712
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
cobalt 104 ready indigo 93 paused ember 35 pending harbor 39 active delta 19 ready indigo 111 closed indigo 48 closed amber 34 paused fable 48 ready indigo 999 active
cobalt 104 ready ember 35 pending harbor 39 active delta 19 ready amber 34 paused fable 48 ready
cobalt 89 failed delta 99 active ember 22 closed fable 95 ready indigo 49 failed cobalt 97 paused juniper 37 failed harbor 86 pending juniper 17 active indigo 60 pending indigo 999 active
cobalt 89 failed delta 99 active ember 22 closed fable 95 ready cobalt 97 paused juniper 37 failed harbor 86 pending juniper 17 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056712-p1
Output every line that does not contain the exact string 'indigo'.
$0 !~ /indigo/
cobalt 104 ready indigo 93 paused ember 35 pending harbor 39 active delta 19 ready indigo 111 closed indigo 48 closed amber 34 paused fable 48 ready indigo 999 active
cobalt 104 ready ember 35 pending harbor 39 active delta 19 ready amber 34 paused fable 48 ready
cobalt 89 failed delta 99 active ember 22 closed fable 95 ready indigo 49 failed cobalt 97 paused juniper 37 failed harbor 86 pending juniper 17 active indigo 60 pending indigo 999 active
cobalt 89 failed delta 99 active ember 22 closed fable 95 ready cobalt 97 paused juniper 37 failed harbor 86 pending juniper 17 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056712
qwen/qwen3.7-plus
awkweave-0056713
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
farah juniper 81 gus cobalt 12 hana cobalt 51 gus harbor 98 lina grove 15 dina juniper 60 lina ember 43 dina delta 49
gus cobalt 12 hana cobalt 51
kim delta 82 ivan ember 56 gus delta 50 hana ember 69 kim cobalt 31 alice juniper 101 lina juniper 20 eli cobalt 32
ivan ember 56 gus delta 50
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056713-p1
Display lines 2 through 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
farah juniper 81 gus cobalt 12 hana cobalt 51 gus harbor 98 lina grove 15 dina juniper 60 lina ember 43 dina delta 49
gus cobalt 12 hana cobalt 51
kim delta 82 ivan ember 56 gus delta 50 hana ember 69 kim cobalt 31 alice juniper 101 lina juniper 20 eli cobalt 32
ivan ember 56 gus delta 50
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056713
qwen/qwen3.7-plus
awkweave-0056714
Output only the first 3 records.
NR <= 3
farah 61 birch bruno 77 fable kim 78 cobalt farah 106 amber dina 100 grove lina 62 birch kim 68 harbor
farah 61 birch bruno 77 fable kim 78 cobalt
bruno 53 harbor farah 31 birch hana 26 juniper chen 1 indigo hana 55 birch eli 114 indigo bruno 75 birch farah 93 birch jules 47 grove ivan 7 juniper
bruno 53 harbor farah 31 birch hana 26 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056714-p1
Output only the first three records.
NR <= 3
farah 61 birch bruno 77 fable kim 78 cobalt farah 106 amber dina 100 grove lina 62 birch kim 68 harbor
farah 61 birch bruno 77 fable kim 78 cobalt
bruno 53 harbor farah 31 birch hana 26 juniper chen 1 indigo hana 55 birch eli 114 indigo bruno 75 birch farah 93 birch jules 47 grove ivan 7 juniper
bruno 53 harbor farah 31 birch hana 26 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056714
qwen/qwen3.7-plus
awkweave-0056715
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 0 birch bruno 96 grove hana 4 juniper chen 98 ember farah 43 juniper jules 34 ember eli 98 harbor
bruno 96 grove hana 4 juniper chen 98 ember farah 43 juniper jules 34 ember eli 98 harbor
chen 36 delta alice 73 amber lina 5 cobalt eli 64 birch chen 22 grove gus 75 cobalt gus 81 delta farah 18 indigo bruno 11 cobalt alice 2 delta
alice 73 amber lina 5 cobalt eli 64 birch chen 22 grove gus 75 cobalt gus 81 delta farah 18 indigo bruno 11 cobalt alice 2 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056715-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
ivan 0 birch bruno 96 grove hana 4 juniper chen 98 ember farah 43 juniper jules 34 ember eli 98 harbor
bruno 96 grove hana 4 juniper chen 98 ember farah 43 juniper jules 34 ember eli 98 harbor
chen 36 delta alice 73 amber lina 5 cobalt eli 64 birch chen 22 grove gus 75 cobalt gus 81 delta farah 18 indigo bruno 11 cobalt alice 2 delta
alice 73 amber lina 5 cobalt eli 64 birch chen 22 grove gus 75 cobalt gus 81 delta farah 18 indigo bruno 11 cobalt alice 2 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056715
qwen/qwen3.7-plus
awkweave-0056716
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
eli closed 31 farah failed 94 dina closed 90 eli closed 60 hana paused 39 dina active 44
0
chen paused 33 lina active 59 ivan ready 116 hana ready 32 kim pending 24 jules active 82 hana closed 49 hana active 20
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056716-p1
Count the number of records where the second column is 'pending', outputting 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
eli closed 31 farah failed 94 dina closed 90 eli closed 60 hana paused 39 dina active 44
0
chen paused 33 lina active 59 ivan ready 116 hana ready 32 kim pending 24 jules active 82 hana closed 49 hana active 20
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056716
qwen/qwen3.7-plus
awkweave-0056717
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
22 gus harbor 29 ivan harbor 30 kim fable 1 chen cobalt 19 alice harbor 14 eli ember 29 hana indigo
144
7 eli delta 5 kim fable 9 dina amber 22 gus grove 5 dina amber 16 alice ember 1 ivan cobalt 14 chen juniper 21 hana indigo
100
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056717-p1
Compute and print the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
22 gus harbor 29 ivan harbor 30 kim fable 1 chen cobalt 19 alice harbor 14 eli ember 29 hana indigo
144
7 eli delta 5 kim fable 9 dina amber 22 gus grove 5 dina amber 16 alice ember 1 ivan cobalt 14 chen juniper 21 hana indigo
100
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056717
qwen/qwen3.7-plus
awkweave-0056718
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah delta 2 chen birch 17 farah harbor 23 hana harbor 30 farah amber 25 eli amber 27
20.67
lina juniper 7 eli delta 30 kim harbor 5 alice grove 18 hana indigo 30 farah birch 19 dina indigo 30 eli grove 28 eli ember 10
19.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056718-p1
Output the average of the values in the third column, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
farah delta 2 chen birch 17 farah harbor 23 hana harbor 30 farah amber 25 eli amber 27
20.67
lina juniper 7 eli delta 30 kim harbor 5 alice grove 18 hana indigo 30 farah birch 19 dina indigo 30 eli grove 28 eli ember 10
19.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056718
qwen/qwen3.7-plus
awkweave-0056719
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
eli 11 indigo chen 28 delta bruno 11 harbor gus 24 harbor dina 16 amber chen 7 amber eli 5 harbor farah 29 harbor farah 13 indigo alice 21 delta
5
hana 2 harbor gus 18 grove gus 26 amber dina 17 harbor eli 25 juniper chen 1 ember gus 8 fable hana 1 grove
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056719-p1
Identify and display the minimum numerical value found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
eli 11 indigo chen 28 delta bruno 11 harbor gus 24 harbor dina 16 amber chen 7 amber eli 5 harbor farah 29 harbor farah 13 indigo alice 21 delta
5
hana 2 harbor gus 18 grove gus 26 amber dina 17 harbor eli 25 juniper chen 1 ember gus 8 fable hana 1 grove
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056719
qwen/qwen3.7-plus
awkweave-0056720
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
alice 3 ember lina 7 fable bruno 7 cobalt kim 7 ember farah 6 indigo ivan 2 juniper eli 24 grove alice 21 indigo lina 24 amber
24
jules 18 juniper farah 6 cobalt jules 15 cobalt ivan 29 grove lina 17 indigo jules 6 ember kim 3 grove farah 18 cobalt
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056720-p1
Identify and display the maximum numerical value found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
alice 3 ember lina 7 fable bruno 7 cobalt kim 7 ember farah 6 indigo ivan 2 juniper eli 24 grove alice 21 indigo lina 24 amber
24
jules 18 juniper farah 6 cobalt jules 15 cobalt ivan 29 grove lina 17 indigo jules 6 ember kim 3 grove farah 18 cobalt
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056720
qwen/qwen3.7-plus
awkweave-0056721
Count all input records and print the total.
END{print NR}
farah 70 lina 17 ivan 107 lina 79 lina 58 bruno 110 lina 34 chen 106 lina 75 hana 31
10
gus 35 gus 9 chen 71 chen 94 kim 103 eli 115 gus 86 gus 1 bruno 19
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056721-p1
Calculate the total number of input records and output the count.
END{print NR}
farah 70 lina 17 ivan 107 lina 79 lina 58 bruno 110 lina 34 chen 106 lina 75 hana 31
10
gus 35 gus 9 chen 71 chen 94 kim 103 eli 115 gus 86 gus 1 bruno 19
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056721
qwen/qwen3.7-plus
awkweave-0056722
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli harbor 24 lina cobalt 87 farah cobalt 110 chen delta 26 lina harbor 107 lina cobalt 87 eli indigo 89 eli birch 0
eli harbor 24 lina cobalt 87 farah cobalt 110 chen delta 26 lina harbor 107 eli indigo 89 eli birch 0
bruno birch 52 eli harbor 39 farah delta 6 jules amber 96 farah grove 73 eli harbor 39 bruno delta 100
bruno birch 52 eli harbor 39 farah delta 6 jules amber 96 farah grove 73 bruno delta 100
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056722-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
eli harbor 24 lina cobalt 87 farah cobalt 110 chen delta 26 lina harbor 107 lina cobalt 87 eli indigo 89 eli birch 0
eli harbor 24 lina cobalt 87 farah cobalt 110 chen delta 26 lina harbor 107 eli indigo 89 eli birch 0
bruno birch 52 eli harbor 39 farah delta 6 jules amber 96 farah grove 73 eli harbor 39 bruno delta 100
bruno birch 52 eli harbor 39 farah delta 6 jules amber 96 farah grove 73 bruno delta 100
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056722
qwen/qwen3.7-plus