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-0006660-p1
Skip the header row and output the display_name field for all data rows where the score exceeds 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 jules 22 ready r002 eli 9 pending r003 jules 11 active r004 bruno 23 closed r005 ivan 23 active r006 lina 3 pending r007 hana 10 closed r008 hana 8 failed
jules bruno ivan
record_id display_name score state r001 ivan 25 paused r002 alice 11 pending r003 eli 6 paused r004 farah 6 pending r005 gus 23 paused r006 jules 27 failed r007 farah 3 pending r008 dina 25 ready r009 hana 13 closed
ivan gus jules dina hana
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006660
qwen/qwen3.7-plus
awkweave-0006661
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 9 active jules 8 active jules 30 failed lina 25 active bruno 3 pending alice 2 failed chen 12 pending gus 19 active kim 4 closed gus 27 failed
active active failed active pending failed pending active closed failed
ivan 13 closed farah 6 ready alice 20 ready dina 19 active lina 11 ready hana 2 pending chen 20 pending
closed ready ready active ready pending pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006661-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 9 active jules 8 active jules 30 failed lina 25 active bruno 3 pending alice 2 failed chen 12 pending gus 19 active kim 4 closed gus 27 failed
active active failed active pending failed pending active closed failed
ivan 13 closed farah 6 ready alice 20 ready dina 19 active lina 11 ready hana 2 pending chen 20 pending
closed ready ready active ready pending pending
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0006661
qwen/qwen3.7-plus
awkweave-0006662
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8.
BEGIN{FS=OFS=","}$2>8{print $1}
jules,28,paused gus,2,ready dina,17,closed kim,9,pending dina,14,failed bruno,27,ready dina,11,pending
jules dina kim dina bruno dina
jules,12,ready lina,14,active jules,9,closed jules,24,failed jules,21,paused gus,24,ready jules,6,pending
jules lina jules jules jules gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006662-p1
For simple CSV input without quoted commas, output the first column whenever the second column is greater than 8.
BEGIN{FS=OFS=","}$2>8{print $1}
jules,28,paused gus,2,ready dina,17,closed kim,9,pending dina,14,failed bruno,27,ready dina,11,pending
jules dina kim dina bruno dina
jules,12,ready lina,14,active jules,9,closed jules,24,failed jules,21,paused gus,24,ready jules,6,pending
jules lina jules jules jules gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006662
qwen/qwen3.7-plus
awkweave-0006663
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus cobalt 17 chen harbor 96 dina amber 24 eli amber 18 eli cobalt 47 farah birch 35
gus cobalt 17 chen harbor 96 dina amber 24 eli amber 18 eli cobalt 47 farah birch 35
dina fable 48 dina grove 8 ivan cobalt 37 ivan indigo 119 dina grove 55 bruno fable 97 bruno cobalt 42 chen juniper 101
dina fable 48 dina grove 8 ivan cobalt 37 ivan indigo 119 dina grove 55 bruno fable 97 bruno cobalt 42 chen juniper 101
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006663-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus cobalt 17 chen harbor 96 dina amber 24 eli amber 18 eli cobalt 47 farah birch 35
gus cobalt 17 chen harbor 96 dina amber 24 eli amber 18 eli cobalt 47 farah birch 35
dina fable 48 dina grove 8 ivan cobalt 37 ivan indigo 119 dina grove 55 bruno fable 97 bruno cobalt 42 chen juniper 101
dina fable 48 dina grove 8 ivan cobalt 37 ivan indigo 119 dina grove 55 bruno fable 97 bruno cobalt 42 chen juniper 101
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006663
qwen/qwen3.7-plus
awkweave-0006664
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules indigo 51 active kim birch 113 closed dina harbor 46 closed kim amber 40 paused kim ember 35 pending ivan grove 38 closed farah ember 74 pending bruno cobalt 16 pending lina juniper 2 ready gus amber 38 pending
bruno cobalt 16 pending
farah juniper 88 closed jules grove 20 failed lina cobalt 89 ready jules delta 29 closed bruno indigo 95 ready kim fable 117 paused gus birch 63 pending dina harbor 17 failed ivan delta 60 paused ivan indigo 55 ready
farah juniper 88 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006664-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
jules indigo 51 active kim birch 113 closed dina harbor 46 closed kim amber 40 paused kim ember 35 pending ivan grove 38 closed farah ember 74 pending bruno cobalt 16 pending lina juniper 2 ready gus amber 38 pending
bruno cobalt 16 pending
farah juniper 88 closed jules grove 20 failed lina cobalt 89 ready jules delta 29 closed bruno indigo 95 ready kim fable 117 paused gus birch 63 pending dina harbor 17 failed ivan delta 60 paused ivan indigo 55 ready
farah juniper 88 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006664
qwen/qwen3.7-plus
awkweave-0006665
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
ivan 21 chen 41 bruno 25 kim 63 lina 109 chen 55 ivan 87
chen 41 kim 63 chen 55
dina 89 hana 118 dina 51 chen 46 alice 65 eli 80 ivan 69 farah 0 alice 100
hana 118 chen 46 eli 80 farah 0
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006665-p1
Output every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
ivan 21 chen 41 bruno 25 kim 63 lina 109 chen 55 ivan 87
chen 41 kim 63 chen 55
dina 89 hana 118 dina 51 chen 46 alice 65 eli 80 ivan 69 farah 0 alice 100
hana 118 chen 46 eli 80 farah 0
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006665
qwen/qwen3.7-plus
awkweave-0006666
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha grove 48 beta harbor 119 alpha indigo 77 delta ember 84 gamma birch 88 alpha indigo 1 delta amber 46 beta birch 33 beta delta 95
7
delta harbor 116 gamma ember 48 delta birch 80 gamma grove 20 delta harbor 57 alpha juniper 21 delta delta 21
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006666-p1
Calculate the number of unique values in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha grove 48 beta harbor 119 alpha indigo 77 delta ember 84 gamma birch 88 alpha indigo 1 delta amber 46 beta birch 33 beta delta 95
7
delta harbor 116 gamma ember 48 delta birch 80 gamma grove 20 delta harbor 57 alpha juniper 21 delta delta 21
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006666
qwen/qwen3.7-plus
awkweave-0006667
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}
kim 20 0 farah 19 20 hana 2 4 dina 18 17 lina 8 10 gus 10 25 alice 1 6 bruno 27 1 gus 15 10
farah 0.95 hana 0.50 dina 1.06 lina 0.80 gus 0.40 alice 0.17 bruno 27.00 gus 1.50
gus 17 0 bruno 22 28 ivan 13 3 chen 11 1 ivan 13 29 gus 10 6 jules 2 14 alice 29 30 ivan 8 4 eli 7 17
bruno 0.79 ivan 4.33 chen 11.00 ivan 0.45 gus 1.67 jules 0.14 alice 0.97 ivan 2.00 eli 0.41
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006667-p1
For each row, output the first column and the result of dividing the second column by the third column rounded to two decimal places, omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 20 0 farah 19 20 hana 2 4 dina 18 17 lina 8 10 gus 10 25 alice 1 6 bruno 27 1 gus 15 10
farah 0.95 hana 0.50 dina 1.06 lina 0.80 gus 0.40 alice 0.17 bruno 27.00 gus 1.50
gus 17 0 bruno 22 28 ivan 13 3 chen 11 1 ivan 13 29 gus 10 6 jules 2 14 alice 29 30 ivan 8 4 eli 7 17
bruno 0.79 ivan 4.33 chen 11.00 ivan 0.45 gus 1.67 jules 0.14 alice 0.97 ivan 2.00 eli 0.41
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006667
qwen/qwen3.7-plus
awkweave-0006668
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]}
bruno cobalt 7 chen birch 10 alice fable 21 bruno delta 5 lina indigo 17 bruno ember 16 lina indigo 12
alice fable 21 lina indigo 17 bruno ember 16
lina juniper 26 kim amber 3 hana cobalt 26 ivan grove 24 lina harbor 12 eli amber 13 gus ember 13 chen ember 25 gus cobalt 7
lina juniper 26 hana cobalt 26 chen ember 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006668-p1
Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno cobalt 7 chen birch 10 alice fable 21 bruno delta 5 lina indigo 17 bruno ember 16 lina indigo 12
alice fable 21 lina indigo 17 bruno ember 16
lina juniper 26 kim amber 3 hana cobalt 26 ivan grove 24 lina harbor 12 eli amber 13 gus ember 13 chen ember 25 gus cobalt 7
lina juniper 26 hana cobalt 26 chen ember 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006668
qwen/qwen3.7-plus
awkweave-0006669
Print column 5 followed by column 2 for every record.
{print $5, $2}
paused delta juniper closed harbor 91 ready juniper indigo pending indigo 66 ready indigo ember failed delta 70 ready cobalt birch active delta 34 paused ember indigo pending cobalt 37 pending birch fable ready juniper 99
harbor delta indigo juniper delta indigo delta cobalt cobalt ember juniper birch
active cobalt birch ready birch 40 active fable indigo failed delta 107 active juniper amber paused juniper 29 failed ember ember ready delta 82 active harbor ember failed indigo 52 pending grove birch ready indigo 73 paused delta amber ready indigo 96 pending delta amber active juniper 117 failed cobalt amber failed b...
birch cobalt delta fable juniper juniper delta ember indigo harbor indigo grove indigo delta juniper delta birch cobalt
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006669-p1
For every record, print the fifth column followed by the second column.
{print $5, $2}
paused delta juniper closed harbor 91 ready juniper indigo pending indigo 66 ready indigo ember failed delta 70 ready cobalt birch active delta 34 paused ember indigo pending cobalt 37 pending birch fable ready juniper 99
harbor delta indigo juniper delta indigo delta cobalt cobalt ember juniper birch
active cobalt birch ready birch 40 active fable indigo failed delta 107 active juniper amber paused juniper 29 failed ember ember ready delta 82 active harbor ember failed indigo 52 pending grove birch ready indigo 73 paused delta amber ready indigo 96 pending delta amber active juniper 117 failed cobalt amber failed b...
birch cobalt delta fable juniper juniper delta ember indigo harbor indigo grove indigo delta juniper delta birch cobalt
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006669
qwen/qwen3.7-plus
awkweave-0006670
Print the last field of every input line.
{print $NF}
37 harbor 22 89 indigo 90 116 cobalt 66 66 juniper 86 0 delta 6 24 delta 59 88 indigo 103 99 amber 105
22 90 66 86 6 59 103 105
92 indigo 29 74 ember 83 86 indigo 8 112 amber 55 116 indigo 93 16 juniper 69 89 birch 46
29 83 8 55 93 69 46
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006670-p1
Output the final field from each line of input.
{print $NF}
37 harbor 22 89 indigo 90 116 cobalt 66 66 juniper 86 0 delta 6 24 delta 59 88 indigo 103 99 amber 105
22 90 66 86 6 59 103 105
92 indigo 29 74 ember 83 86 indigo 8 112 amber 55 116 indigo 93 16 juniper 69 89 birch 46
29 83 8 55 93 69 46
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006670
qwen/qwen3.7-plus
awkweave-0006671
Print the complete records where column 2 is at least 39.
$2 >= 39
eli 100 failed kim 65 closed bruno 16 failed eli 15 failed gus 1 active bruno 8 paused alice 59 pending ivan 11 failed ivan 6 closed gus 2 paused
eli 100 failed kim 65 closed alice 59 pending
bruno 4 closed eli 73 paused chen 26 closed chen 22 ready bruno 86 closed chen 85 ready dina 10 paused alice 4 failed jules 113 pending ivan 5 pending
eli 73 paused bruno 86 closed chen 85 ready jules 113 pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006671-p1
Print all complete records where the value in the second column is 39 or higher.
$2 >= 39
eli 100 failed kim 65 closed bruno 16 failed eli 15 failed gus 1 active bruno 8 paused alice 59 pending ivan 11 failed ivan 6 closed gus 2 paused
eli 100 failed kim 65 closed alice 59 pending
bruno 4 closed eli 73 paused chen 26 closed chen 22 ready bruno 86 closed chen 85 ready dina 10 paused alice 4 failed jules 113 pending ivan 5 pending
eli 73 paused bruno 86 closed chen 85 ready jules 113 pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006671
qwen/qwen3.7-plus
awkweave-0006672
Show whole lines whose 1st field is between 10 and 22, inclusive.
$1 >= 10 && $1 <= 22
14 fable pending ivan 17 birch active gus 4 birch closed farah 12 birch paused chen 25 grove pending kim 2 grove pending dina 10 harbor closed chen 29 grove closed jules
14 fable pending ivan 17 birch active gus 12 birch paused chen 10 harbor closed chen
9 delta closed bruno 29 amber closed jules 25 harbor active ivan 6 amber failed hana 16 juniper ready hana 29 grove closed hana 12 birch ready kim 22 grove paused alice
16 juniper ready hana 12 birch ready kim 22 grove paused alice
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006672-p1
Display entire lines where the first field falls within the inclusive range of 10 to 22.
$1 >= 10 && $1 <= 22
14 fable pending ivan 17 birch active gus 4 birch closed farah 12 birch paused chen 25 grove pending kim 2 grove pending dina 10 harbor closed chen 29 grove closed jules
14 fable pending ivan 17 birch active gus 12 birch paused chen 10 harbor closed chen
9 delta closed bruno 29 amber closed jules 25 harbor active ivan 6 amber failed hana 16 juniper ready hana 29 grove closed hana 12 birch ready kim 22 grove paused alice
16 juniper ready hana 12 birch ready kim 22 grove paused alice
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006672
qwen/qwen3.7-plus
awkweave-0006673
Print column 1 only for rows where column 3 is exactly active.
$3 == "active"{print $1}
chen 30 closed cobalt eli 80 failed cobalt eli 15 failed fable eli 12 closed cobalt bruno 31 active grove chen 11 active cobalt
bruno chen
dina 83 failed harbor bruno 55 closed delta jules 18 active indigo kim 21 active indigo kim 44 failed cobalt kim 89 ready harbor chen 62 closed juniper chen 6 pending grove hana 15 failed ember bruno 82 failed ember
jules kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006673-p1
Output only the first column for rows where the third column is exactly active.
$3 == "active"{print $1}
chen 30 closed cobalt eli 80 failed cobalt eli 15 failed fable eli 12 closed cobalt bruno 31 active grove chen 11 active cobalt
bruno chen
dina 83 failed harbor bruno 55 closed delta jules 18 active indigo kim 21 active indigo kim 44 failed cobalt kim 89 ready harbor chen 62 closed juniper chen 6 pending grove hana 15 failed ember bruno 82 failed ember
jules kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006673
qwen/qwen3.7-plus
awkweave-0006674
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
juniper 52 DEBUG amber 72 INFO cobalt 58 DEBUG birch 103 ERROR harbor 115 DEBUG ember 95 WARN cobalt 27 DEBUG cobalt 23 DEBUG
ember 95 WARN
amber 26 ERROR fable 51 ERROR birch 38 ERROR cobalt 48 INFO juniper 21 INFO birch 5 DEBUG cobalt 104 WARN fable 37 DEBUG cobalt 69 DEBUG
cobalt 104 WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006674-p1
Print all fields from lines where the third field starts with WARN.
$3 ~ /^WARN/
juniper 52 DEBUG amber 72 INFO cobalt 58 DEBUG birch 103 ERROR harbor 115 DEBUG ember 95 WARN cobalt 27 DEBUG cobalt 23 DEBUG
ember 95 WARN
amber 26 ERROR fable 51 ERROR birch 38 ERROR cobalt 48 INFO juniper 21 INFO birch 5 DEBUG cobalt 104 WARN fable 37 DEBUG cobalt 69 DEBUG
cobalt 104 WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006674
qwen/qwen3.7-plus
awkweave-0006675
Print every line except those containing the exact text fable.
$0 !~ /fable/
birch 9 active amber 30 pending ember 102 active ember 39 closed delta 95 closed harbor 71 pending cobalt 105 paused fable 67 ready fable 999 active
birch 9 active amber 30 pending ember 102 active ember 39 closed delta 95 closed harbor 71 pending cobalt 105 paused
birch 37 failed delta 116 paused cobalt 34 failed juniper 69 pending juniper 51 ready ember 32 closed delta 8 paused cobalt 89 failed birch 49 failed ember 8 closed fable 999 active
birch 37 failed delta 116 paused cobalt 34 failed juniper 69 pending juniper 51 ready ember 32 closed delta 8 paused cobalt 89 failed birch 49 failed ember 8 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006675-p1
Print every line that does not contain the exact string fable.
$0 !~ /fable/
birch 9 active amber 30 pending ember 102 active ember 39 closed delta 95 closed harbor 71 pending cobalt 105 paused fable 67 ready fable 999 active
birch 9 active amber 30 pending ember 102 active ember 39 closed delta 95 closed harbor 71 pending cobalt 105 paused
birch 37 failed delta 116 paused cobalt 34 failed juniper 69 pending juniper 51 ready ember 32 closed delta 8 paused cobalt 89 failed birch 49 failed ember 8 closed fable 999 active
birch 37 failed delta 116 paused cobalt 34 failed juniper 69 pending juniper 51 ready ember 32 closed delta 8 paused cobalt 89 failed birch 49 failed ember 8 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006675
qwen/qwen3.7-plus
awkweave-0006676
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
dina delta 9 lina delta 56 farah fable 5 dina harbor 22 dina harbor 16 gus indigo 102 lina harbor 62 eli birch 118
dina harbor 22 dina harbor 16 gus indigo 102
hana delta 58 hana fable 69 hana fable 72 bruno ember 9 ivan juniper 72 alice juniper 7 lina harbor 80 kim harbor 47
bruno ember 9 ivan juniper 72 alice juniper 7
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006676-p1
Output lines 4 through 6, inclusive.
NR >= 4 && NR <= 6
dina delta 9 lina delta 56 farah fable 5 dina harbor 22 dina harbor 16 gus indigo 102 lina harbor 62 eli birch 118
dina harbor 22 dina harbor 16 gus indigo 102
hana delta 58 hana fable 69 hana fable 72 bruno ember 9 ivan juniper 72 alice juniper 7 lina harbor 80 kim harbor 47
bruno ember 9 ivan juniper 72 alice juniper 7
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006676
qwen/qwen3.7-plus
awkweave-0006677
Output only the first 4 records.
NR <= 4
chen 114 indigo dina 32 grove ivan 42 juniper chen 2 cobalt jules 20 indigo bruno 70 birch
chen 114 indigo dina 32 grove ivan 42 juniper chen 2 cobalt
farah 53 delta farah 91 indigo farah 35 juniper eli 105 fable ivan 15 harbor lina 41 juniper dina 116 amber gus 117 fable ivan 116 grove lina 44 harbor
farah 53 delta farah 91 indigo farah 35 juniper eli 105 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006677-p1
Display only the first 4 records.
NR <= 4
chen 114 indigo dina 32 grove ivan 42 juniper chen 2 cobalt jules 20 indigo bruno 70 birch
chen 114 indigo dina 32 grove ivan 42 juniper chen 2 cobalt
farah 53 delta farah 91 indigo farah 35 juniper eli 105 fable ivan 15 harbor lina 41 juniper dina 116 amber gus 117 fable ivan 116 grove lina 44 harbor
farah 53 delta farah 91 indigo farah 35 juniper eli 105 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006677
qwen/qwen3.7-plus
awkweave-0006678
Skip the first line and print every remaining line unchanged.
NR > 1
alice 88 indigo gus 58 delta kim 98 delta gus 63 juniper lina 12 fable dina 115 juniper hana 111 cobalt ivan 6 delta
gus 58 delta kim 98 delta gus 63 juniper lina 12 fable dina 115 juniper hana 111 cobalt ivan 6 delta
ivan 14 juniper chen 32 indigo eli 117 harbor chen 105 cobalt ivan 32 fable ivan 13 juniper ivan 24 fable
chen 32 indigo eli 117 harbor chen 105 cobalt ivan 32 fable ivan 13 juniper ivan 24 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006678-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
alice 88 indigo gus 58 delta kim 98 delta gus 63 juniper lina 12 fable dina 115 juniper hana 111 cobalt ivan 6 delta
gus 58 delta kim 98 delta gus 63 juniper lina 12 fable dina 115 juniper hana 111 cobalt ivan 6 delta
ivan 14 juniper chen 32 indigo eli 117 harbor chen 105 cobalt ivan 32 fable ivan 13 juniper ivan 24 fable
chen 32 indigo eli 117 harbor chen 105 cobalt ivan 32 fable ivan 13 juniper ivan 24 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006678
qwen/qwen3.7-plus
awkweave-0006679
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
alice pending 45 eli paused 18 lina paused 86 lina pending 17 farah ready 8 jules ready 91 eli paused 72 ivan paused 118 jules active 45 eli active 24
2
lina active 31 chen failed 23 farah failed 27 gus pending 110 hana pending 111 gus pending 111
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006679-p1
Count the number of records with active in the second column; output 0 if none exist.
$2 == "active"{n++}END{print n+0}
alice pending 45 eli paused 18 lina paused 86 lina pending 17 farah ready 8 jules ready 91 eli paused 72 ivan paused 118 jules active 45 eli active 24
2
lina active 31 chen failed 23 farah failed 27 gus pending 110 hana pending 111 gus pending 111
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006679
qwen/qwen3.7-plus
awkweave-0006680
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
fable 30 chen amber 5 gus birch 13 hana indigo 28 dina delta 10 jules ember 21 ivan ember 11 farah juniper 26 ivan amber 22 ivan juniper 12 ivan
178
cobalt 6 jules delta 18 eli birch 1 hana ember 7 dina delta 5 hana amber 14 chen harbor 7 dina delta 2 kim indigo 9 kim
69
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006680-p1
Compute and display the sum of integer values in the second column.
{s+=$2}END{print s+0}
fable 30 chen amber 5 gus birch 13 hana indigo 28 dina delta 10 jules ember 21 ivan ember 11 farah juniper 26 ivan amber 22 ivan juniper 12 ivan
178
cobalt 6 jules delta 18 eli birch 1 hana ember 7 dina delta 5 hana amber 14 chen harbor 7 dina delta 2 kim indigo 9 kim
69
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006680
qwen/qwen3.7-plus
awkweave-0006681
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 grove kim 9 indigo dina 25 indigo chen 12 cobalt dina 9 amber ivan 23 juniper alice 25 cobalt gus 23 ember dina
16.00
18 birch chen 10 indigo chen 2 juniper bruno 12 birch lina 25 ember chen 8 grove bruno 17 juniper bruno 25 indigo lina 3 amber chen
13.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006681-p1
Print the average of the first column, rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 grove kim 9 indigo dina 25 indigo chen 12 cobalt dina 9 amber ivan 23 juniper alice 25 cobalt gus 23 ember dina
16.00
18 birch chen 10 indigo chen 2 juniper bruno 12 birch lina 25 ember chen 8 grove bruno 17 juniper bruno 25 indigo lina 3 amber chen
13.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006681
qwen/qwen3.7-plus
awkweave-0006682
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
30 gus harbor 8 jules cobalt 16 lina grove 15 bruno indigo 1 jules ember 18 kim birch 9 ivan amber 22 ivan birch
1
23 bruno birch 22 gus delta 30 gus grove 30 jules indigo 8 ivan ember 20 dina grove 15 hana ember 3 kim delta 5 eli indigo 11 gus cobalt
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006682-p1
Identify and print the minimum numeric value in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
30 gus harbor 8 jules cobalt 16 lina grove 15 bruno indigo 1 jules ember 18 kim birch 9 ivan amber 22 ivan birch
1
23 bruno birch 22 gus delta 30 gus grove 30 jules indigo 8 ivan ember 20 dina grove 15 hana ember 3 kim delta 5 eli indigo 11 gus cobalt
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006682
qwen/qwen3.7-plus
awkweave-0006683
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
gus cobalt 2 jules indigo 23 chen juniper 13 eli grove 11 kim juniper 14 dina birch 18
23
lina delta 1 dina delta 18 chen amber 13 hana delta 19 hana delta 5 lina juniper 17 ivan delta 6 ivan indigo 25 ivan cobalt 2 bruno cobalt 30
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006683-p1
Identify and print the maximum numeric value in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
gus cobalt 2 jules indigo 23 chen juniper 13 eli grove 11 kim juniper 14 dina birch 18
23
lina delta 1 dina delta 18 chen amber 13 hana delta 19 hana delta 5 lina juniper 17 ivan delta 6 ivan indigo 25 ivan cobalt 2 bruno cobalt 30
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006683
qwen/qwen3.7-plus
awkweave-0006684
Count all input records and print the total.
END{print NR}
gus 82 dina 66 kim 3 hana 0 hana 94 ivan 6 farah 37 dina 70 ivan 120 bruno 14
10
gus 87 alice 63 lina 87 ivan 91 eli 39 kim 38
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006684-p1
Output the total number of input records.
END{print NR}
gus 82 dina 66 kim 3 hana 0 hana 94 ivan 6 farah 37 dina 70 ivan 120 bruno 14
10
gus 87 alice 63 lina 87 ivan 91 eli 39 kim 38
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006684
qwen/qwen3.7-plus
awkweave-0006685
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina birch 109 ivan fable 28 alice delta 6 bruno indigo 85 jules indigo 1 lina birch 109 gus amber 14 eli cobalt 37
lina birch 109 ivan fable 28 alice delta 6 bruno indigo 85 jules indigo 1 gus amber 14 eli cobalt 37
chen ember 105 bruno indigo 78 eli fable 37 farah grove 59 dina ember 39 ivan indigo 47 ivan indigo 47 chen indigo 112 farah ember 95 gus juniper 80 kim fable 94
chen ember 105 bruno indigo 78 eli fable 37 farah grove 59 dina ember 39 ivan indigo 47 chen indigo 112 farah ember 95 gus juniper 80 kim fable 94
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006685-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
lina birch 109 ivan fable 28 alice delta 6 bruno indigo 85 jules indigo 1 lina birch 109 gus amber 14 eli cobalt 37
lina birch 109 ivan fable 28 alice delta 6 bruno indigo 85 jules indigo 1 gus amber 14 eli cobalt 37
chen ember 105 bruno indigo 78 eli fable 37 farah grove 59 dina ember 39 ivan indigo 47 ivan indigo 47 chen indigo 112 farah ember 95 gus juniper 80 kim fable 94
chen ember 105 bruno indigo 78 eli fable 37 farah grove 59 dina ember 39 ivan indigo 47 chen indigo 112 farah ember 95 gus juniper 80 kim fable 94
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006685
qwen/qwen3.7-plus
awkweave-0006686
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
hana juniper 85 hana indigo 28 bruno indigo 49 chen harbor 21 chen juniper 5 dina harbor 56 dina grove 0 jules cobalt 7 bruno delta 98
hana juniper 85 hana indigo 28 bruno indigo 49 chen harbor 21 chen juniper 5 dina harbor 56 dina grove 0 jules cobalt 7 bruno delta 98
bruno amber 98 lina grove 105 gus cobalt 92 kim grove 85 hana cobalt 54 hana grove 31 hana grove 12 farah delta 55 kim ember 108
bruno amber 98 lina grove 105 gus cobalt 92 kim grove 85 hana cobalt 54 hana grove 31 hana grove 12 farah delta 55 kim ember 108
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006686-p1
Retain only the initial line for every unique value found in the third column, keeping the original order.
!seen[$3]++
hana juniper 85 hana indigo 28 bruno indigo 49 chen harbor 21 chen juniper 5 dina harbor 56 dina grove 0 jules cobalt 7 bruno delta 98
hana juniper 85 hana indigo 28 bruno indigo 49 chen harbor 21 chen juniper 5 dina harbor 56 dina grove 0 jules cobalt 7 bruno delta 98
bruno amber 98 lina grove 105 gus cobalt 92 kim grove 85 hana cobalt 54 hana grove 31 hana grove 12 farah delta 55 kim ember 108
bruno amber 98 lina grove 105 gus cobalt 92 kim grove 85 hana cobalt 54 hana grove 31 hana grove 12 farah delta 55 kim ember 108
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006686
qwen/qwen3.7-plus
awkweave-0006687
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 26 indigo dina 22 indigo jules 1 ember alice 29 juniper hana 12 delta chen 21 indigo bruno 28 amber
dina 26 dina 48 jules 49 alice 78 hana 90 chen 111 bruno 139
lina 18 cobalt bruno 7 cobalt farah 21 juniper eli 23 grove dina 5 fable bruno 1 juniper
lina 18 bruno 25 farah 46 eli 69 dina 74 bruno 75
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006687-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
dina 26 indigo dina 22 indigo jules 1 ember alice 29 juniper hana 12 delta chen 21 indigo bruno 28 amber
dina 26 dina 48 jules 49 alice 78 hana 90 chen 111 bruno 139
lina 18 cobalt bruno 7 cobalt farah 21 juniper eli 23 grove dina 5 fable bruno 1 juniper
lina 18 bruno 25 farah 46 eli 69 dina 74 bruno 75
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006687
qwen/qwen3.7-plus
awkweave-0006688
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 2 6 indigo eli 30 26 ember dina 22 5 ember lina 16 9 cobalt alice 14 3 delta jules 3 22 grove farah 19 30 ember
jules 8 eli 56 dina 27 lina 25 alice 17 jules 25 farah 49
farah 11 27 amber jules 26 13 juniper ivan 8 12 ember alice 14 7 amber gus 19 10 cobalt farah 23 27 delta lina 17 22 harbor
farah 38 jules 39 ivan 20 alice 21 gus 29 farah 50 lina 39
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006688-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 2 6 indigo eli 30 26 ember dina 22 5 ember lina 16 9 cobalt alice 14 3 delta jules 3 22 grove farah 19 30 ember
jules 8 eli 56 dina 27 lina 25 alice 17 jules 25 farah 49
farah 11 27 amber jules 26 13 juniper ivan 8 12 ember alice 14 7 amber gus 19 10 cobalt farah 23 27 delta lina 17 22 harbor
farah 38 jules 39 ivan 20 alice 21 gus 29 farah 50 lina 39
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006688
qwen/qwen3.7-plus
awkweave-0006689
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
gus 22 lina 29 hana 16 kim 25 bruno 7 gus 12 gus 7 chen 19 farah 6
gus fail lina pass hana fail kim fail bruno fail gus fail gus fail chen fail farah fail
lina 3 chen 24 lina 23 farah 21 chen 18 gus 10
lina fail chen fail lina fail farah fail chen fail gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006689-p1
Output the first column along with 'pass' if the second column is 27 or greater; otherwise, output 'fail'.
{print $1,($2>=27?"pass":"fail")}
gus 22 lina 29 hana 16 kim 25 bruno 7 gus 12 gus 7 chen 19 farah 6
gus fail lina pass hana fail kim fail bruno fail gus fail gus fail chen fail farah fail
lina 3 chen 24 lina 23 farah 21 chen 18 gus 10
lina fail chen fail lina fail farah fail chen fail gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006689
qwen/qwen3.7-plus
awkweave-0006700
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 2 active dina 7 failed chen 5 paused hana 7 closed kim 29 active chen 22 failed hana 19 failed farah 5 closed ivan 29 failed
2 7 5 7 29 22 19 5 29
ivan 7 closed dina 12 closed bruno 23 pending ivan 22 closed eli 23 pending farah 22 failed eli 6 ready
7 12 23 22 23 22 6
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006700-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 2 active dina 7 failed chen 5 paused hana 7 closed kim 29 active chen 22 failed hana 19 failed farah 5 closed ivan 29 failed
2 7 5 7 29 22 19 5 29
ivan 7 closed dina 12 closed bruno 23 pending ivan 22 closed eli 23 pending farah 22 failed eli 6 ready
7 12 23 22 23 22 6
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0006700
qwen/qwen3.7-plus
awkweave-0006701
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18.
BEGIN{FS=OFS=","}$2>18{print $1}
alice,5,failed bruno,9,ready alice,22,active kim,1,ready hana,23,closed ivan,27,closed
alice hana ivan
gus,21,active hana,29,closed bruno,1,active chen,21,closed bruno,3,closed farah,4,failed alice,16,closed jules,7,paused alice,30,active
gus hana chen alice
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006701-p1
From simple comma-separated input without quoted commas, print the first column where the second column is greater than 18.
BEGIN{FS=OFS=","}$2>18{print $1}
alice,5,failed bruno,9,ready alice,22,active kim,1,ready hana,23,closed ivan,27,closed
alice hana ivan
gus,21,active hana,29,closed bruno,1,active chen,21,closed bruno,3,closed farah,4,failed alice,16,closed jules,7,paused alice,30,active
gus hana chen alice
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006701
qwen/qwen3.7-plus
awkweave-0006702
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules birch 49 bruno ember 11 dina ember 54 kim grove 7 ivan grove 72 kim birch 40 farah indigo 35 bruno amber 101 hana amber 112
jules birch 49 bruno ember 11 dina ember 54 kim grove 7 ivan grove 72 kim birch 40 farah indigo 35 bruno amber 101 hana amber 112
lina juniper 36 ivan cobalt 29 bruno amber 83 lina grove 13 hana ember 51 jules delta 75 chen indigo 74
lina juniper 36 ivan cobalt 29 bruno amber 83 lina grove 13 hana ember 51 jules delta 75 chen indigo 74
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006702-p1
Strip leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
jules birch 49 bruno ember 11 dina ember 54 kim grove 7 ivan grove 72 kim birch 40 farah indigo 35 bruno amber 101 hana amber 112
jules birch 49 bruno ember 11 dina ember 54 kim grove 7 ivan grove 72 kim birch 40 farah indigo 35 bruno amber 101 hana amber 112
lina juniper 36 ivan cobalt 29 bruno amber 83 lina grove 13 hana ember 51 jules delta 75 chen indigo 74
lina juniper 36 ivan cobalt 29 bruno amber 83 lina grove 13 hana ember 51 jules delta 75 chen indigo 74
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006702
qwen/qwen3.7-plus
awkweave-0006703
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice harbor 79 closed chen ember 64 pending gus delta 114 ready ivan grove 80 pending bruno juniper 52 closed hana ember 120 failed
bruno juniper 52 closed
gus delta 62 active hana delta 108 failed bruno indigo 10 pending ivan indigo 77 closed ivan cobalt 59 failed eli indigo 92 paused kim ember 26 paused dina grove 63 active chen fable 107 failed dina juniper 6 paused
bruno indigo 10 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006703-p1
Identify and print the longest line from the input, selecting the earliest one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
alice harbor 79 closed chen ember 64 pending gus delta 114 ready ivan grove 80 pending bruno juniper 52 closed hana ember 120 failed
bruno juniper 52 closed
gus delta 62 active hana delta 108 failed bruno indigo 10 pending ivan indigo 77 closed ivan cobalt 59 failed eli indigo 92 paused kim ember 26 paused dina grove 63 active chen fable 107 failed dina juniper 6 paused
bruno indigo 10 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006703
qwen/qwen3.7-plus
awkweave-0006704
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
farah 37 kim 25 lina 11 hana 117 bruno 51 farah 21 farah 60 kim 12
farah 37 lina 11 bruno 51 farah 60
farah 119 eli 58 chen 56 kim 51 bruno 50 dina 3 hana 75 lina 72 kim 51 hana 41
farah 119 chen 56 bruno 50 hana 75 kim 51
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006704-p1
Print every other line beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
farah 37 kim 25 lina 11 hana 117 bruno 51 farah 21 farah 60 kim 12
farah 37 lina 11 bruno 51 farah 60
farah 119 eli 58 chen 56 kim 51 bruno 50 dina 3 hana 75 lina 72 kim 51 hana 41
farah 119 chen 56 bruno 50 hana 75 kim 51
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006704
qwen/qwen3.7-plus
awkweave-0006705
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta indigo 93 gamma harbor 71 delta juniper 55 beta harbor 82 delta birch 8 delta juniper 81 alpha birch 87 delta amber 100 alpha indigo 5
5
alpha juniper 29 gamma juniper 71 gamma delta 113 gamma indigo 14 delta amber 47 delta harbor 34 delta harbor 80 delta juniper 46 delta cobalt 28 gamma ember 41
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006705-p1
Calculate and print the count of unique values in the second column.
{if(!seen[$2]++)n++}END{print n+0}
delta indigo 93 gamma harbor 71 delta juniper 55 beta harbor 82 delta birch 8 delta juniper 81 alpha birch 87 delta amber 100 alpha indigo 5
5
alpha juniper 29 gamma juniper 71 gamma delta 113 gamma indigo 14 delta amber 47 delta harbor 34 delta harbor 80 delta juniper 46 delta cobalt 28 gamma ember 41
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006705
qwen/qwen3.7-plus
awkweave-0006706
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}
eli 10 0 kim 2 9 dina 21 11 farah 26 9 bruno 9 11 eli 23 30 lina 30 11
kim 0.22 dina 1.91 farah 2.89 bruno 0.82 eli 0.77 lina 2.73
dina 12 0 ivan 4 12 eli 9 24 dina 27 20 bruno 10 27 chen 22 4 hana 3 20 hana 6 7
ivan 0.33 eli 0.38 dina 1.35 bruno 0.37 chen 5.50 hana 0.15 hana 0.86
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006706-p1
For each row, output the first and second columns along with the result of dividing the second column by the third, formatted to two decimal places, while omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 10 0 kim 2 9 dina 21 11 farah 26 9 bruno 9 11 eli 23 30 lina 30 11
kim 0.22 dina 1.91 farah 2.89 bruno 0.82 eli 0.77 lina 2.73
dina 12 0 ivan 4 12 eli 9 24 dina 27 20 bruno 10 27 chen 22 4 hana 3 20 hana 6 7
ivan 0.33 eli 0.38 dina 1.35 bruno 0.37 chen 5.50 hana 0.15 hana 0.86
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006706
qwen/qwen3.7-plus
awkweave-0006707
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 birch 26 kim juniper 8 chen harbor 30 lina juniper 21 ivan ember 10 dina delta 12 hana ember 21 lina cobalt 20 eli juniper 5
chen harbor 30 hana birch 26 lina juniper 21
gus cobalt 21 lina ember 28 lina ember 4 alice harbor 9 gus grove 2 kim delta 15
lina ember 28 gus cobalt 21 kim delta 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006707-p1
Display the three full records that have the largest numeric values in the third column, sorted in descending order, maintaining the original input sequence for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana birch 26 kim juniper 8 chen harbor 30 lina juniper 21 ivan ember 10 dina delta 12 hana ember 21 lina cobalt 20 eli juniper 5
chen harbor 30 hana birch 26 lina juniper 21
gus cobalt 21 lina ember 28 lina ember 4 alice harbor 9 gus grove 2 kim delta 15
lina ember 28 gus cobalt 21 kim delta 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006707
qwen/qwen3.7-plus
awkweave-0006708
Print column 5 followed by column 2 for every record.
{print $5, $2}
jules 114 delta 50 bruno gus 76 amber 87 lina alice 55 harbor 107 farah chen 49 cobalt 86 chen alice 50 ember 7 farah farah 91 ember 5 kim jules 70 fable 61 ivan hana 74 cobalt 27 jules farah 68 delta 26 kim chen 57 grove 94 jules
bruno 114 lina 76 farah 55 chen 49 farah 50 kim 91 ivan 70 jules 74 kim 68 jules 57
jules 76 harbor 69 bruno ivan 20 delta 112 jules bruno 22 juniper 25 eli kim 79 indigo 99 kim bruno 27 fable 53 dina bruno 30 birch 63 kim dina 107 juniper 37 lina lina 108 ember 99 lina
bruno 76 jules 20 eli 22 kim 79 dina 27 kim 30 lina 107 lina 108
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006708-p1
Output the fifth column followed by the second column for every record in the dataset.
{print $5, $2}
jules 114 delta 50 bruno gus 76 amber 87 lina alice 55 harbor 107 farah chen 49 cobalt 86 chen alice 50 ember 7 farah farah 91 ember 5 kim jules 70 fable 61 ivan hana 74 cobalt 27 jules farah 68 delta 26 kim chen 57 grove 94 jules
bruno 114 lina 76 farah 55 chen 49 farah 50 kim 91 ivan 70 jules 74 kim 68 jules 57
jules 76 harbor 69 bruno ivan 20 delta 112 jules bruno 22 juniper 25 eli kim 79 indigo 99 kim bruno 27 fable 53 dina bruno 30 birch 63 kim dina 107 juniper 37 lina lina 108 ember 99 lina
bruno 76 jules 20 eli 22 kim 79 dina 27 kim 30 lina 107 lina 108
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006708
qwen/qwen3.7-plus
awkweave-0006709
Print the last field of every input line.
{print $NF}
48 lina 30 lina 45 ivan 9 alice 113 chen 35 hana 78 dina 95 eli 27 hana 17 jules 35 ivan 68 ivan 90 bruno 30 jules 35 kim 101 ivan 24 ivan 62 alice
lina alice hana eli jules ivan jules ivan alice
45 ivan 43 hana 50 jules 17 farah 64 lina 101 lina 111 chen 24 gus 24 chen 0 jules 28 ivan 71 lina
hana farah lina gus jules lina
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006709-p1
Print the final field from each line of input.
{print $NF}
48 lina 30 lina 45 ivan 9 alice 113 chen 35 hana 78 dina 95 eli 27 hana 17 jules 35 ivan 68 ivan 90 bruno 30 jules 35 kim 101 ivan 24 ivan 62 alice
lina alice hana eli jules ivan jules ivan alice
45 ivan 43 hana 50 jules 17 farah 64 lina 101 lina 111 chen 24 gus 24 chen 0 jules 28 ivan 71 lina
hana farah lina gus jules lina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006709
qwen/qwen3.7-plus
awkweave-0006710
Print the complete records where column 2 is less than 62.
$2 < 62
jules 21 harbor chen 42 harbor ivan 92 grove alice 41 grove hana 62 amber alice 64 delta chen 31 amber dina 116 cobalt lina 87 harbor
jules 21 harbor chen 42 harbor alice 41 grove chen 31 amber
dina 3 birch farah 85 harbor lina 74 delta dina 96 indigo alice 27 cobalt alice 52 grove chen 85 delta lina 38 delta eli 76 indigo
dina 3 birch alice 27 cobalt alice 52 grove lina 38 delta
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006710-p1
Display the entire records for which the value in the second column is strictly less than 62.
$2 < 62
jules 21 harbor chen 42 harbor ivan 92 grove alice 41 grove hana 62 amber alice 64 delta chen 31 amber dina 116 cobalt lina 87 harbor
jules 21 harbor chen 42 harbor alice 41 grove chen 31 amber
dina 3 birch farah 85 harbor lina 74 delta dina 96 indigo alice 27 cobalt alice 52 grove chen 85 delta lina 38 delta eli 76 indigo
dina 3 birch alice 27 cobalt alice 52 grove lina 38 delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006710
qwen/qwen3.7-plus
awkweave-0006711
Show whole lines whose 1st field is between 9 and 23, inclusive.
$1 >= 9 && $1 <= 23
21 paused pending eli 19 active active gus 29 ready active ivan 4 pending active eli 15 pending active lina 3 paused closed lina 10 active ready chen 20 failed active bruno
21 paused pending eli 19 active active gus 15 pending active lina 10 active ready chen 20 failed active bruno
22 closed active chen 9 active failed gus 5 ready paused eli 8 pending ready jules 2 paused ready hana 20 paused active kim
22 closed active chen 9 active failed gus 20 paused active kim
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006711-p1
Show complete lines where the first field falls within the inclusive range of 9 to 23.
$1 >= 9 && $1 <= 23
21 paused pending eli 19 active active gus 29 ready active ivan 4 pending active eli 15 pending active lina 3 paused closed lina 10 active ready chen 20 failed active bruno
21 paused pending eli 19 active active gus 15 pending active lina 10 active ready chen 20 failed active bruno
22 closed active chen 9 active failed gus 5 ready paused eli 8 pending ready jules 2 paused ready hana 20 paused active kim
22 closed active chen 9 active failed gus 20 paused active kim
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006711
qwen/qwen3.7-plus
awkweave-0006712
Print column 1 only for rows where column 3 is exactly pending.
$3 == "pending"{print $1}
hana birch active 13 ivan cobalt pending 77 jules indigo closed 8 alice birch active 108 dina fable ready 42 eli indigo paused 1
ivan
kim birch closed 116 lina fable active 20 dina indigo ready 24 gus indigo failed 57 lina grove closed 94 ivan birch active 33 eli delta failed 113
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006712-p1
Output only the first column for rows where the third column contains the exact string 'pending'.
$3 == "pending"{print $1}
hana birch active 13 ivan cobalt pending 77 jules indigo closed 8 alice birch active 108 dina fable ready 42 eli indigo paused 1
ivan
kim birch closed 116 lina fable active 20 dina indigo ready 24 gus indigo failed 57 lina grove closed 94 ivan birch active 33 eli delta failed 113
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006712
qwen/qwen3.7-plus
awkweave-0006713
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR grove 85 DEBUG cobalt 77 INFO indigo 86 DEBUG delta 48 ERROR fable 27 INFO juniper 19 INFO grove 107 INFO grove 91 ERROR fable 119
ERROR grove 85 ERROR fable 27 ERROR fable 119
WARN harbor 85 ERROR grove 3 INFO cobalt 23 DEBUG ember 82 ERROR fable 102 ERROR amber 78
ERROR grove 3 ERROR fable 102 ERROR amber 78
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006713-p1
Print all fields from any line where the first field starts with the text 'ERROR'.
$1 ~ /^ERROR/
ERROR grove 85 DEBUG cobalt 77 INFO indigo 86 DEBUG delta 48 ERROR fable 27 INFO juniper 19 INFO grove 107 INFO grove 91 ERROR fable 119
ERROR grove 85 ERROR fable 27 ERROR fable 119
WARN harbor 85 ERROR grove 3 INFO cobalt 23 DEBUG ember 82 ERROR fable 102 ERROR amber 78
ERROR grove 3 ERROR fable 102 ERROR amber 78
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006713
qwen/qwen3.7-plus
awkweave-0006714
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
delta 99 paused harbor 60 closed indigo 46 ready ember 2 paused juniper 1 paused ember 53 pending juniper 999 active
delta 99 paused harbor 60 closed indigo 46 ready ember 2 paused ember 53 pending
cobalt 74 failed grove 38 closed cobalt 80 pending ember 120 paused ember 84 failed juniper 27 paused cobalt 76 closed indigo 107 active fable 35 paused juniper 999 active
cobalt 74 failed grove 38 closed cobalt 80 pending ember 120 paused ember 84 failed cobalt 76 closed indigo 107 active fable 35 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006714-p1
Print every line except those that contain the exact substring 'juniper'.
$0 !~ /juniper/
delta 99 paused harbor 60 closed indigo 46 ready ember 2 paused juniper 1 paused ember 53 pending juniper 999 active
delta 99 paused harbor 60 closed indigo 46 ready ember 2 paused ember 53 pending
cobalt 74 failed grove 38 closed cobalt 80 pending ember 120 paused ember 84 failed juniper 27 paused cobalt 76 closed indigo 107 active fable 35 paused juniper 999 active
cobalt 74 failed grove 38 closed cobalt 80 pending ember 120 paused ember 84 failed cobalt 76 closed indigo 107 active fable 35 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006714
qwen/qwen3.7-plus
awkweave-0006715
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
kim ember 59 chen indigo 28 gus amber 82 ivan ember 36 gus delta 95 bruno ember 106 bruno birch 16 chen delta 104
gus amber 82 ivan ember 36
eli delta 5 farah cobalt 42 alice indigo 75 farah cobalt 44 dina birch 10 gus juniper 58 chen birch 5 gus indigo 98
alice indigo 75 farah cobalt 44
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006715-p1
Output lines 3 through 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
kim ember 59 chen indigo 28 gus amber 82 ivan ember 36 gus delta 95 bruno ember 106 bruno birch 16 chen delta 104
gus amber 82 ivan ember 36
eli delta 5 farah cobalt 42 alice indigo 75 farah cobalt 44 dina birch 10 gus juniper 58 chen birch 5 gus indigo 98
alice indigo 75 farah cobalt 44
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006715
qwen/qwen3.7-plus
awkweave-0006716
Output only the first 4 records.
NR <= 4
alice 63 juniper eli 20 ember jules 104 birch bruno 5 fable kim 83 delta gus 36 delta kim 109 amber kim 105 delta
alice 63 juniper eli 20 ember jules 104 birch bruno 5 fable
gus 115 harbor jules 112 fable kim 58 birch kim 93 cobalt kim 13 fable lina 21 cobalt ivan 108 cobalt farah 25 cobalt
gus 115 harbor jules 112 fable kim 58 birch kim 93 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006716-p1
Output only the first four records from the input.
NR <= 4
alice 63 juniper eli 20 ember jules 104 birch bruno 5 fable kim 83 delta gus 36 delta kim 109 amber kim 105 delta
alice 63 juniper eli 20 ember jules 104 birch bruno 5 fable
gus 115 harbor jules 112 fable kim 58 birch kim 93 cobalt kim 13 fable lina 21 cobalt ivan 108 cobalt farah 25 cobalt
gus 115 harbor jules 112 fable kim 58 birch kim 93 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006716
qwen/qwen3.7-plus
awkweave-0006717
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 54 indigo hana 21 harbor lina 92 fable ivan 77 indigo dina 1 cobalt jules 99 harbor farah 87 harbor hana 5 delta
hana 21 harbor lina 92 fable ivan 77 indigo dina 1 cobalt jules 99 harbor farah 87 harbor hana 5 delta
farah 42 grove ivan 50 ember jules 86 indigo bruno 68 birch jules 58 indigo farah 52 amber
ivan 50 ember jules 86 indigo bruno 68 birch jules 58 indigo farah 52 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006717-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
ivan 54 indigo hana 21 harbor lina 92 fable ivan 77 indigo dina 1 cobalt jules 99 harbor farah 87 harbor hana 5 delta
hana 21 harbor lina 92 fable ivan 77 indigo dina 1 cobalt jules 99 harbor farah 87 harbor hana 5 delta
farah 42 grove ivan 50 ember jules 86 indigo bruno 68 birch jules 58 indigo farah 52 amber
ivan 50 ember jules 86 indigo bruno 68 birch jules 58 indigo farah 52 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006717
qwen/qwen3.7-plus
awkweave-0006718
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
ivan pending 62 kim pending 33 farah closed 100 ivan ready 35 lina active 57 dina paused 104 dina closed 0 gus closed 103
0
lina failed 85 gus closed 51 jules ready 55 bruno paused 87 ivan failed 105 alice pending 80 alice paused 112 jules paused 33 jules failed 116
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006718-p1
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
ivan pending 62 kim pending 33 farah closed 100 ivan ready 35 lina active 57 dina paused 104 dina closed 0 gus closed 103
0
lina failed 85 gus closed 51 jules ready 55 bruno paused 87 ivan failed 105 alice pending 80 alice paused 112 jules paused 33 jules failed 116
3
count_matches
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0006718
qwen/qwen3.7-plus
awkweave-0006719
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
grove 26 gus harbor 20 alice ember 29 lina ember 22 dina birch 12 alice delta 25 alice amber 29 ivan cobalt 29 chen
192
amber 1 kim fable 19 alice harbor 7 farah ember 28 chen juniper 25 dina ember 5 chen birch 19 farah harbor 9 alice fable 9 chen birch 25 kim
147
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0006719-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
grove 26 gus harbor 20 alice ember 29 lina ember 22 dina birch 12 alice delta 25 alice amber 29 ivan cobalt 29 chen
192
amber 1 kim fable 19 alice harbor 7 farah ember 28 chen juniper 25 dina ember 5 chen birch 19 farah harbor 9 alice fable 9 chen birch 25 kim
147
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0006719
qwen/qwen3.7-plus
awkweave-0006720
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
3 gus ember 20 eli amber 13 bruno juniper 13 jules indigo 14 farah delta 15 gus grove 17 bruno amber 16 lina cobalt 20 ivan indigo
14.56
7 hana fable 19 hana fable 26 chen birch 9 ivan ember 14 hana birch 9 farah grove 25 lina amber
15.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null