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-0020661
The first row is a header. Print display_name for data rows whose score is greater than 18.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]}
record_id display_name score state r001 alice 23 pending r002 eli 29 active r003 gus 16 ready r004 gus 23 paused r005 hana 19 ready r006 lina 23 active
alice eli gus hana lina
record_id display_name score state r001 ivan 27 ready r002 gus 19 closed r003 eli 22 active r004 jules 6 ready r005 jules 25 paused r006 bruno 6 pending
ivan gus eli jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020661-p1
Ignoring the header, print the display_name for rows where the score is strictly greater than 18.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]}
record_id display_name score state r001 alice 23 pending r002 eli 29 active r003 gus 16 ready r004 gus 23 paused r005 hana 19 ready r006 lina 23 active
alice eli gus hana lina
record_id display_name score state r001 ivan 27 ready r002 gus 19 closed r003 eli 22 active r004 jules 6 ready r005 jules 25 paused r006 bruno 6 pending
ivan gus eli jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020661
qwen/qwen3.7-plus
awkweave-0020662
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 17 failed ivan 5 active chen 6 pending kim 16 failed bruno 21 paused ivan 3 closed
failed active pending failed paused closed
hana 26 ready eli 21 paused eli 17 closed eli 29 paused gus 30 closed bruno 14 active kim 8 ready bruno 3 failed eli 2 paused alice 19 paused
ready paused closed paused closed active ready failed paused paused
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020662-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 17 failed ivan 5 active chen 6 pending kim 16 failed bruno 21 paused ivan 3 closed
failed active pending failed paused closed
hana 26 ready eli 21 paused eli 17 closed eli 29 paused gus 30 closed bruno 14 active kim 8 ready bruno 3 failed eli 2 paused alice 19 paused
ready paused closed paused closed active ready failed paused paused
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0020662
qwen/qwen3.7-plus
awkweave-0020663
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
ivan,8,closed kim,18,pending bruno,6,paused gus,1,paused dina,23,active jules,26,active
kim dina jules
alice,12,pending kim,5,failed farah,24,paused eli,6,ready lina,9,ready ivan,30,closed farah,24,paused
alice farah ivan farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020663-p1
For simple CSV data without quoted commas, print the first column if the second column value is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
ivan,8,closed kim,18,pending bruno,6,paused gus,1,paused dina,23,active jules,26,active
kim dina jules
alice,12,pending kim,5,failed farah,24,paused eli,6,ready lina,9,ready ivan,30,closed farah,24,paused
alice farah ivan farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020663
qwen/qwen3.7-plus
awkweave-0020664
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
hana ember 97 dina indigo 116 gus harbor 34 hana fable 8 eli birch 107 lina grove 10 lina ember 110 chen harbor 17 dina ember 28 lina ember 94
hana ember 97 dina indigo 116 gus harbor 34 hana fable 8 eli birch 107 lina grove 10 lina ember 110 chen harbor 17 dina ember 28 lina ember 94
kim indigo 90 gus cobalt 23 kim grove 38 ivan cobalt 0 jules juniper 96 jules juniper 74 alice indigo 56 alice harbor 51 hana birch 74
kim indigo 90 gus cobalt 23 kim grove 38 ivan cobalt 0 jules juniper 96 jules juniper 74 alice indigo 56 alice harbor 51 hana birch 74
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020664-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
hana ember 97 dina indigo 116 gus harbor 34 hana fable 8 eli birch 107 lina grove 10 lina ember 110 chen harbor 17 dina ember 28 lina ember 94
hana ember 97 dina indigo 116 gus harbor 34 hana fable 8 eli birch 107 lina grove 10 lina ember 110 chen harbor 17 dina ember 28 lina ember 94
kim indigo 90 gus cobalt 23 kim grove 38 ivan cobalt 0 jules juniper 96 jules juniper 74 alice indigo 56 alice harbor 51 hana birch 74
kim indigo 90 gus cobalt 23 kim grove 38 ivan cobalt 0 jules juniper 96 jules juniper 74 alice indigo 56 alice harbor 51 hana birch 74
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020664
qwen/qwen3.7-plus
awkweave-0020665
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen cobalt 16 failed kim indigo 52 paused farah delta 34 failed farah delta 77 active farah ember 81 active farah juniper 67 paused ivan indigo 117 ready dina delta 41 active lina fable 33 paused
farah juniper 67 paused
eli birch 86 ready hana juniper 33 paused jules fable 37 closed jules ember 6 pending chen birch 43 active kim harbor 109 paused eli harbor 55 ready eli amber 101 paused bruno amber 103 paused
hana juniper 33 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020665-p1
Identify and print 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}
chen cobalt 16 failed kim indigo 52 paused farah delta 34 failed farah delta 77 active farah ember 81 active farah juniper 67 paused ivan indigo 117 ready dina delta 41 active lina fable 33 paused
farah juniper 67 paused
eli birch 86 ready hana juniper 33 paused jules fable 37 closed jules ember 6 pending chen birch 43 active kim harbor 109 paused eli harbor 55 ready eli amber 101 paused bruno amber 103 paused
hana juniper 33 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020665
qwen/qwen3.7-plus
awkweave-0020666
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
ivan 93 alice 41 eli 69 bruno 49 lina 115 alice 28 jules 92
eli 69 jules 92
ivan 80 chen 81 hana 77 gus 12 bruno 12 alice 35 lina 78
hana 77 lina 78
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020666-p1
Output every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
ivan 93 alice 41 eli 69 bruno 49 lina 115 alice 28 jules 92
eli 69 jules 92
ivan 80 chen 81 hana 77 gus 12 bruno 12 alice 35 lina 78
hana 77 lina 78
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020666
qwen/qwen3.7-plus
awkweave-0020667
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta fable 81 alpha delta 59 delta ember 96 alpha birch 29 alpha ember 55 alpha indigo 45 alpha cobalt 68 beta delta 31 alpha delta 52 gamma fable 36
4
beta birch 45 delta fable 107 delta fable 66 delta harbor 114 delta ember 107 alpha juniper 53 alpha indigo 62 gamma amber 17 alpha cobalt 23
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020667-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
beta fable 81 alpha delta 59 delta ember 96 alpha birch 29 alpha ember 55 alpha indigo 45 alpha cobalt 68 beta delta 31 alpha delta 52 gamma fable 36
4
beta birch 45 delta fable 107 delta fable 66 delta harbor 114 delta ember 107 alpha juniper 53 alpha indigo 62 gamma amber 17 alpha cobalt 23
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020667
qwen/qwen3.7-plus
awkweave-0020668
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 26 0 bruno 9 2 farah 6 23 farah 21 5 eli 29 13 ivan 17 4 kim 13 24
bruno 4.50 farah 0.26 farah 4.20 eli 2.23 ivan 4.25 kim 0.54
gus 4 0 dina 25 12 gus 19 2 lina 15 27 eli 29 7 eli 17 5 farah 26 22 alice 19 26
dina 2.08 gus 9.50 lina 0.56 eli 4.14 eli 3.40 farah 1.18 alice 0.73
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020668-p1
For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 26 0 bruno 9 2 farah 6 23 farah 21 5 eli 29 13 ivan 17 4 kim 13 24
bruno 4.50 farah 0.26 farah 4.20 eli 2.23 ivan 4.25 kim 0.54
gus 4 0 dina 25 12 gus 19 2 lina 15 27 eli 29 7 eli 17 5 farah 26 22 alice 19 26
dina 2.08 gus 9.50 lina 0.56 eli 4.14 eli 3.40 farah 1.18 alice 0.73
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020668
qwen/qwen3.7-plus
awkweave-0020669
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]}
chen delta 17 chen birch 14 alice cobalt 21 dina cobalt 25 chen cobalt 12 bruno cobalt 2
dina cobalt 25 alice cobalt 21 chen delta 17
hana ember 21 hana birch 22 farah juniper 19 chen juniper 26 hana juniper 21 eli indigo 14
chen juniper 26 hana birch 22 hana ember 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020669-p1
Select the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any 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]}
chen delta 17 chen birch 14 alice cobalt 21 dina cobalt 25 chen cobalt 12 bruno cobalt 2
dina cobalt 25 alice cobalt 21 chen delta 17
hana ember 21 hana birch 22 farah juniper 19 chen juniper 26 hana juniper 21 eli indigo 14
chen juniper 26 hana birch 22 hana ember 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020669
qwen/qwen3.7-plus
awkweave-0020670
For each line, output fields 3 and 2, in that order.
{print $3, $2}
harbor 113 active 85 hana juniper 99 active 31 alice fable 51 paused 47 jules amber 69 failed 31 chen indigo 18 pending 84 hana ember 115 ready 105 alice grove 13 ready 41 gus delta 16 paused 54 eli
active 113 active 99 paused 51 failed 69 pending 18 ready 115 ready 13 paused 16
amber 21 ready 71 farah indigo 105 failed 43 eli cobalt 60 ready 111 alice juniper 16 paused 116 eli fable 75 ready 70 chen juniper 12 active 26 jules
ready 21 failed 105 ready 60 paused 16 ready 75 active 12
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020670-p1
For every line, print the third field followed by the second field.
{print $3, $2}
harbor 113 active 85 hana juniper 99 active 31 alice fable 51 paused 47 jules amber 69 failed 31 chen indigo 18 pending 84 hana ember 115 ready 105 alice grove 13 ready 41 gus delta 16 paused 54 eli
active 113 active 99 paused 51 failed 69 pending 18 ready 115 ready 13 paused 16
amber 21 ready 71 farah indigo 105 failed 43 eli cobalt 60 ready 111 alice juniper 16 paused 116 eli fable 75 ready 70 chen juniper 12 active 26 jules
ready 21 failed 105 ready 60 paused 16 ready 75 active 12
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020670
qwen/qwen3.7-plus
awkweave-0020671
Print the last field of every input line.
{print $NF}
ready ready 2 ivan juniper paused ready 118 ivan cobalt active ready 49 lina juniper ready paused 17 lina grove active pending 114 lina delta pending paused 110 gus birch
juniper cobalt juniper grove delta birch
failed ready 18 hana grove closed ready 50 kim indigo active failed 103 lina cobalt ready ready 32 hana delta paused ready 4 eli indigo pending closed 45 farah fable
grove indigo cobalt delta indigo fable
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020671-p1
Print the final field from each line of input.
{print $NF}
ready ready 2 ivan juniper paused ready 118 ivan cobalt active ready 49 lina juniper ready paused 17 lina grove active pending 114 lina delta pending paused 110 gus birch
juniper cobalt juniper grove delta birch
failed ready 18 hana grove closed ready 50 kim indigo active failed 103 lina cobalt ready ready 32 hana delta paused ready 4 eli indigo pending closed 45 farah fable
grove indigo cobalt delta indigo fable
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020671
qwen/qwen3.7-plus
awkweave-0020672
Print the complete records where column 2 is at most 65.
$2 <= 65
jules 97 ivan farah 39 eli gus 70 ivan kim 23 kim chen 74 kim farah 90 eli jules 30 hana eli 58 kim
farah 39 eli kim 23 kim jules 30 hana eli 58 kim
bruno 108 kim lina 14 alice eli 88 hana bruno 33 kim lina 45 eli ivan 96 jules dina 87 eli farah 30 bruno
lina 14 alice bruno 33 kim lina 45 eli farah 30 bruno
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020672-p1
Output full records where the value in the second column is less than or equal to 65.
$2 <= 65
jules 97 ivan farah 39 eli gus 70 ivan kim 23 kim chen 74 kim farah 90 eli jules 30 hana eli 58 kim
farah 39 eli kim 23 kim jules 30 hana eli 58 kim
bruno 108 kim lina 14 alice eli 88 hana bruno 33 kim lina 45 eli ivan 96 jules dina 87 eli farah 30 bruno
lina 14 alice bruno 33 kim lina 45 eli farah 30 bruno
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020672
qwen/qwen3.7-plus
awkweave-0020673
Show whole lines whose 3rd field is between 7 and 20, inclusive.
$3 >= 7 && $3 <= 20
fable ivan 15 grove grove lina 27 indigo indigo eli 25 amber indigo dina 27 harbor birch gus 28 harbor fable gus 18 fable harbor dina 4 juniper juniper eli 7 grove indigo ivan 2 cobalt
fable ivan 15 grove fable gus 18 fable juniper eli 7 grove
amber hana 23 juniper grove hana 4 indigo amber jules 23 amber juniper eli 2 delta ember alice 10 harbor harbor hana 15 birch juniper alice 7 amber harbor hana 18 indigo birch ivan 5 ember
ember alice 10 harbor harbor hana 15 birch juniper alice 7 amber harbor hana 18 indigo
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020673-p1
Display entire lines where the third field falls within the inclusive range of 7 to 20.
$3 >= 7 && $3 <= 20
fable ivan 15 grove grove lina 27 indigo indigo eli 25 amber indigo dina 27 harbor birch gus 28 harbor fable gus 18 fable harbor dina 4 juniper juniper eli 7 grove indigo ivan 2 cobalt
fable ivan 15 grove fable gus 18 fable juniper eli 7 grove
amber hana 23 juniper grove hana 4 indigo amber jules 23 amber juniper eli 2 delta ember alice 10 harbor harbor hana 15 birch juniper alice 7 amber harbor hana 18 indigo birch ivan 5 ember
ember alice 10 harbor harbor hana 15 birch juniper alice 7 amber harbor hana 18 indigo
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020673
qwen/qwen3.7-plus
awkweave-0020674
Print column 2 only for rows where column 1 is exactly closed.
$1 == "closed"{print $2}
pending hana 102 birch active bruno 77 delta paused lina 111 juniper failed alice 67 fable active jules 24 amber active jules 18 grove active jules 118 cobalt pending gus 22 birch closed alice 50 juniper
alice
active farah 54 grove active dina 107 ember paused jules 60 grove paused jules 33 amber ready farah 110 juniper pending jules 120 harbor
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020674-p1
Extract and print only the second column for rows where the first column matches 'closed' exactly.
$1 == "closed"{print $2}
pending hana 102 birch active bruno 77 delta paused lina 111 juniper failed alice 67 fable active jules 24 amber active jules 18 grove active jules 118 cobalt pending gus 22 birch closed alice 50 juniper
alice
active farah 54 grove active dina 107 ember paused jules 60 grove paused jules 33 amber ready farah 110 juniper pending jules 120 harbor
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020674
qwen/qwen3.7-plus
awkweave-0020675
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
118 harbor WARN 64 delta ERROR 46 juniper ERROR 54 harbor WARN 78 fable WARN 88 indigo ERROR 0 harbor INFO 3 amber ERROR 108 fable INFO 36 fable WARN
118 harbor WARN 54 harbor WARN 78 fable WARN 36 fable WARN
102 birch DEBUG 105 grove DEBUG 3 juniper ERROR 113 ember DEBUG 30 juniper WARN 102 fable ERROR 74 juniper DEBUG
30 juniper WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020675-p1
Print all fields from lines where the third field starts with the prefix 'WARN'.
$3 ~ /^WARN/
118 harbor WARN 64 delta ERROR 46 juniper ERROR 54 harbor WARN 78 fable WARN 88 indigo ERROR 0 harbor INFO 3 amber ERROR 108 fable INFO 36 fable WARN
118 harbor WARN 54 harbor WARN 78 fable WARN 36 fable WARN
102 birch DEBUG 105 grove DEBUG 3 juniper ERROR 113 ember DEBUG 30 juniper WARN 102 fable ERROR 74 juniper DEBUG
30 juniper WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020675
qwen/qwen3.7-plus
awkweave-0020676
Print every line except those containing the exact text ember.
$0 !~ /ember/
amber 73 closed ember 76 closed juniper 93 closed indigo 98 pending birch 28 ready delta 78 failed harbor 33 closed ember 999 active
amber 73 closed juniper 93 closed indigo 98 pending birch 28 ready delta 78 failed harbor 33 closed
birch 109 closed amber 88 active grove 96 paused juniper 21 active cobalt 100 paused amber 31 failed delta 98 failed harbor 115 ready birch 70 active ember 999 active
birch 109 closed amber 88 active grove 96 paused juniper 21 active cobalt 100 paused amber 31 failed delta 98 failed harbor 115 ready birch 70 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020676-p1
Output every line that does not contain the exact string 'ember'.
$0 !~ /ember/
amber 73 closed ember 76 closed juniper 93 closed indigo 98 pending birch 28 ready delta 78 failed harbor 33 closed ember 999 active
amber 73 closed juniper 93 closed indigo 98 pending birch 28 ready delta 78 failed harbor 33 closed
birch 109 closed amber 88 active grove 96 paused juniper 21 active cobalt 100 paused amber 31 failed delta 98 failed harbor 115 ready birch 70 active ember 999 active
birch 109 closed amber 88 active grove 96 paused juniper 21 active cobalt 100 paused amber 31 failed delta 98 failed harbor 115 ready birch 70 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020676
qwen/qwen3.7-plus
awkweave-0020677
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
eli cobalt 22 gus delta 80 eli delta 64 alice indigo 53 farah harbor 113 gus ember 73 farah juniper 66 kim delta 95 gus amber 92
alice indigo 53 farah harbor 113 gus ember 73
lina grove 107 lina juniper 30 eli juniper 109 hana juniper 87 alice indigo 72 kim ember 87 kim indigo 18 hana cobalt 12 ivan delta 101 kim delta 34
hana juniper 87 alice indigo 72 kim ember 87
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020677-p1
Print lines 4 through 6, inclusive of both the start and end lines.
NR >= 4 && NR <= 6
eli cobalt 22 gus delta 80 eli delta 64 alice indigo 53 farah harbor 113 gus ember 73 farah juniper 66 kim delta 95 gus amber 92
alice indigo 53 farah harbor 113 gus ember 73
lina grove 107 lina juniper 30 eli juniper 109 hana juniper 87 alice indigo 72 kim ember 87 kim indigo 18 hana cobalt 12 ivan delta 101 kim delta 34
hana juniper 87 alice indigo 72 kim ember 87
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020677
qwen/qwen3.7-plus
awkweave-0020678
Output only the first 5 records.
NR <= 5
ivan 62 harbor eli 115 delta bruno 82 cobalt lina 110 juniper farah 19 juniper hana 99 grove jules 51 harbor lina 106 delta
ivan 62 harbor eli 115 delta bruno 82 cobalt lina 110 juniper farah 19 juniper
gus 103 cobalt lina 54 harbor kim 49 amber hana 104 grove farah 114 grove alice 32 juniper bruno 35 harbor hana 44 fable bruno 2 birch farah 9 amber
gus 103 cobalt lina 54 harbor kim 49 amber hana 104 grove farah 114 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020678-p1
Display only the first 5 records from the input.
NR <= 5
ivan 62 harbor eli 115 delta bruno 82 cobalt lina 110 juniper farah 19 juniper hana 99 grove jules 51 harbor lina 106 delta
ivan 62 harbor eli 115 delta bruno 82 cobalt lina 110 juniper farah 19 juniper
gus 103 cobalt lina 54 harbor kim 49 amber hana 104 grove farah 114 grove alice 32 juniper bruno 35 harbor hana 44 fable bruno 2 birch farah 9 amber
gus 103 cobalt lina 54 harbor kim 49 amber hana 104 grove farah 114 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020678
qwen/qwen3.7-plus
awkweave-0020679
Skip the first line and print every remaining line unchanged.
NR > 1
alice 39 birch bruno 18 grove chen 53 delta jules 46 delta dina 16 grove dina 5 birch
bruno 18 grove chen 53 delta jules 46 delta dina 16 grove dina 5 birch
hana 5 juniper gus 117 juniper farah 117 juniper ivan 58 harbor farah 120 birch jules 107 fable chen 53 juniper
gus 117 juniper farah 117 juniper ivan 58 harbor farah 120 birch jules 107 fable chen 53 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020679-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
alice 39 birch bruno 18 grove chen 53 delta jules 46 delta dina 16 grove dina 5 birch
bruno 18 grove chen 53 delta jules 46 delta dina 16 grove dina 5 birch
hana 5 juniper gus 117 juniper farah 117 juniper ivan 58 harbor farah 120 birch jules 107 fable chen 53 juniper
gus 117 juniper farah 117 juniper ivan 58 harbor farah 120 birch jules 107 fable chen 53 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020679
qwen/qwen3.7-plus
awkweave-0020680
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
farah pending 20 eli paused 116 gus pending 15 bruno failed 75 eli active 77 bruno active 70 eli pending 120 eli ready 77 chen pending 116 alice ready 55
1
kim paused 117 hana ready 71 dina active 88 chen paused 114 bruno paused 57 chen ready 31 gus closed 57 farah active 55
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020680-p1
Count the number of records where the second column contains 'paused', outputting 0 if no matches are found.
$2 == "paused"{n++}END{print n+0}
farah pending 20 eli paused 116 gus pending 15 bruno failed 75 eli active 77 bruno active 70 eli pending 120 eli ready 77 chen pending 116 alice ready 55
1
kim paused 117 hana ready 71 dina active 88 chen paused 114 bruno paused 57 chen ready 31 gus closed 57 farah active 55
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020680
qwen/qwen3.7-plus
awkweave-0020681
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ember 16 bruno delta 1 chen fable 6 kim indigo 30 lina grove 8 eli fable 17 alice delta 25 gus birch 9 bruno fable 22 kim fable 4 ivan
138
grove 27 hana grove 9 gus birch 14 hana juniper 29 dina delta 2 bruno cobalt 27 kim
108
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020681-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
ember 16 bruno delta 1 chen fable 6 kim indigo 30 lina grove 8 eli fable 17 alice delta 25 gus birch 9 bruno fable 22 kim fable 4 ivan
138
grove 27 hana grove 9 gus birch 14 hana juniper 29 dina delta 2 bruno cobalt 27 kim
108
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020681
qwen/qwen3.7-plus
awkweave-0020682
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
21 eli grove 18 gus indigo 29 bruno cobalt 17 bruno grove 27 alice grove 19 chen juniper 28 bruno ember 4 jules harbor 1 farah fable 27 kim ember
19.10
16 kim ember 20 ivan indigo 8 gus fable 17 jules cobalt 12 eli amber 13 bruno ember 14 jules ember 18 hana harbor 18 lina indigo 19 dina birch
15.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020682-p1
Calculate the average of the values in the first column and print it rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
21 eli grove 18 gus indigo 29 bruno cobalt 17 bruno grove 27 alice grove 19 chen juniper 28 bruno ember 4 jules harbor 1 farah fable 27 kim ember
19.10
16 kim ember 20 ivan indigo 8 gus fable 17 jules cobalt 12 eli amber 13 bruno ember 14 jules ember 18 hana harbor 18 lina indigo 19 dina birch
15.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020682
qwen/qwen3.7-plus
awkweave-0020683
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
11 kim ember 4 bruno ember 8 alice amber 16 farah ember 5 bruno fable 23 hana birch 9 eli ember
4
5 bruno ember 21 eli harbor 12 farah fable 12 kim fable 2 chen harbor 26 jules cobalt 16 farah harbor 8 farah amber 21 lina juniper
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020683-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
11 kim ember 4 bruno ember 8 alice amber 16 farah ember 5 bruno fable 23 hana birch 9 eli ember
4
5 bruno ember 21 eli harbor 12 farah fable 12 kim fable 2 chen harbor 26 jules cobalt 16 farah harbor 8 farah amber 21 lina juniper
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020683
qwen/qwen3.7-plus
awkweave-0020684
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
2 cobalt alice 17 juniper eli 25 birch gus 21 delta farah 18 fable gus 15 amber hana 5 indigo hana
25
11 fable chen 21 juniper eli 23 cobalt alice 11 fable bruno 24 fable ivan 4 amber gus
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020684-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
2 cobalt alice 17 juniper eli 25 birch gus 21 delta farah 18 fable gus 15 amber hana 5 indigo hana
25
11 fable chen 21 juniper eli 23 cobalt alice 11 fable bruno 24 fable ivan 4 amber gus
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020684
qwen/qwen3.7-plus
awkweave-0020685
Count all input records and print the total.
END{print NR}
alice 8 bruno 63 gus 103 hana 99 eli 96 gus 22 eli 118
7
kim 6 dina 37 jules 69 bruno 120 alice 94 farah 37 dina 101 bruno 8 bruno 70 dina 44
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020685-p1
Calculate the total number of input records and display the count.
END{print NR}
alice 8 bruno 63 gus 103 hana 99 eli 96 gus 22 eli 118
7
kim 6 dina 37 jules 69 bruno 120 alice 94 farah 37 dina 101 bruno 8 bruno 70 dina 44
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020685
qwen/qwen3.7-plus
awkweave-0020686
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan indigo 97 gus harbor 67 chen birch 110 kim delta 41 chen birch 110 dina ember 41 alice juniper 12 alice indigo 25 jules birch 94 lina cobalt 107
ivan indigo 97 gus harbor 67 chen birch 110 kim delta 41 dina ember 41 alice juniper 12 alice indigo 25 jules birch 94 lina cobalt 107
ivan harbor 87 gus birch 51 hana cobalt 14 hana indigo 24 eli birch 94 hana juniper 76 gus fable 106 kim amber 59 gus fable 106 kim harbor 3 kim indigo 1
ivan harbor 87 gus birch 51 hana cobalt 14 hana indigo 24 eli birch 94 hana juniper 76 gus fable 106 kim amber 59 kim harbor 3 kim indigo 1
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020686-p1
Eliminate duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
ivan indigo 97 gus harbor 67 chen birch 110 kim delta 41 chen birch 110 dina ember 41 alice juniper 12 alice indigo 25 jules birch 94 lina cobalt 107
ivan indigo 97 gus harbor 67 chen birch 110 kim delta 41 dina ember 41 alice juniper 12 alice indigo 25 jules birch 94 lina cobalt 107
ivan harbor 87 gus birch 51 hana cobalt 14 hana indigo 24 eli birch 94 hana juniper 76 gus fable 106 kim amber 59 gus fable 106 kim harbor 3 kim indigo 1
ivan harbor 87 gus birch 51 hana cobalt 14 hana indigo 24 eli birch 94 hana juniper 76 gus fable 106 kim amber 59 kim harbor 3 kim indigo 1
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020686
qwen/qwen3.7-plus
awkweave-0020687
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
gus amber 43 eli harbor 32 lina indigo 21 alice indigo 12 eli indigo 95 jules grove 8 jules harbor 103 hana amber 98 gus birch 33 farah delta 59
gus amber 43 eli harbor 32 lina indigo 21 jules grove 8 gus birch 33 farah delta 59
bruno ember 105 alice juniper 24 farah juniper 49 dina birch 29 chen harbor 84 dina fable 75 gus harbor 19 alice indigo 112 bruno grove 56
bruno ember 105 alice juniper 24 dina birch 29 chen harbor 84 dina fable 75 alice indigo 112 bruno grove 56
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020687-p1
Retain only the initial line for every unique value in the second column, ensuring the original order is preserved.
!seen[$2]++
gus amber 43 eli harbor 32 lina indigo 21 alice indigo 12 eli indigo 95 jules grove 8 jules harbor 103 hana amber 98 gus birch 33 farah delta 59
gus amber 43 eli harbor 32 lina indigo 21 jules grove 8 gus birch 33 farah delta 59
bruno ember 105 alice juniper 24 farah juniper 49 dina birch 29 chen harbor 84 dina fable 75 gus harbor 19 alice indigo 112 bruno grove 56
bruno ember 105 alice juniper 24 dina birch 29 chen harbor 84 dina fable 75 alice indigo 112 bruno grove 56
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020687
qwen/qwen3.7-plus
awkweave-0020688
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 19 grove ivan 12 fable eli 10 fable dina 14 juniper eli 20 grove ivan 26 birch ivan 7 harbor bruno 17 indigo eli 18 grove
gus 19 ivan 31 eli 41 dina 55 eli 75 ivan 101 ivan 108 bruno 125 eli 143
jules 26 amber kim 9 amber farah 17 delta kim 18 cobalt alice 24 birch jules 25 amber
jules 26 kim 35 farah 52 kim 70 alice 94 jules 119
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020688-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
gus 19 grove ivan 12 fable eli 10 fable dina 14 juniper eli 20 grove ivan 26 birch ivan 7 harbor bruno 17 indigo eli 18 grove
gus 19 ivan 31 eli 41 dina 55 eli 75 ivan 101 ivan 108 bruno 125 eli 143
jules 26 amber kim 9 amber farah 17 delta kim 18 cobalt alice 24 birch jules 25 amber
jules 26 kim 35 farah 52 kim 70 alice 94 jules 119
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020688
qwen/qwen3.7-plus
awkweave-0020689
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 14 7 indigo alice 14 3 indigo lina 2 23 indigo farah 27 29 grove alice 7 29 ember hana 9 25 grove alice 12 12 amber
gus 21 alice 17 lina 25 farah 56 alice 36 hana 34 alice 24
kim 8 9 birch dina 14 12 fable ivan 12 29 juniper alice 4 2 cobalt chen 8 23 cobalt kim 4 4 delta kim 25 4 cobalt jules 5 20 birch chen 23 26 indigo
kim 17 dina 26 ivan 41 alice 6 chen 31 kim 8 kim 29 jules 25 chen 49
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020689-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
gus 14 7 indigo alice 14 3 indigo lina 2 23 indigo farah 27 29 grove alice 7 29 ember hana 9 25 grove alice 12 12 amber
gus 21 alice 17 lina 25 farah 56 alice 36 hana 34 alice 24
kim 8 9 birch dina 14 12 fable ivan 12 29 juniper alice 4 2 cobalt chen 8 23 cobalt kim 4 4 delta kim 25 4 cobalt jules 5 20 birch chen 23 26 indigo
kim 17 dina 26 ivan 41 alice 6 chen 31 kim 8 kim 29 jules 25 chen 49
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020689
qwen/qwen3.7-plus
awkweave-0020700
The first row is a header. Print display_name for data rows whose score is greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 farah 28 active r002 kim 19 active r003 alice 10 pending r004 ivan 25 paused r005 gus 15 paused r006 hana 17 active r007 farah 20 closed r008 gus 5 paused r009 chen 22 closed r010 eli 23 pending
farah ivan
record_id display_name score state r001 bruno 20 closed r002 jules 14 closed r003 bruno 8 failed r004 farah 26 failed r005 eli 9 paused r006 kim 21 ready r007 gus 26 active r008 kim 10 failed
farah gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020700-p1
Treating the first line as a header, output the display_name for any data rows where the score is above 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 farah 28 active r002 kim 19 active r003 alice 10 pending r004 ivan 25 paused r005 gus 15 paused r006 hana 17 active r007 farah 20 closed r008 gus 5 paused r009 chen 22 closed r010 eli 23 pending
farah ivan
record_id display_name score state r001 bruno 20 closed r002 jules 14 closed r003 bruno 8 failed r004 farah 26 failed r005 eli 9 paused r006 kim 21 ready r007 gus 26 active r008 kim 10 failed
farah gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020700
qwen/qwen3.7-plus
awkweave-0020701
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
hana 24 failed jules 3 pending lina 29 closed chen 30 pending ivan 10 ready hana 15 ready lina 18 failed hana 1 pending
hana jules lina chen ivan hana lina hana
dina 29 pending lina 17 closed chen 3 pending farah 10 ready eli 17 failed eli 25 ready
dina lina chen farah eli eli
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020701-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
hana 24 failed jules 3 pending lina 29 closed chen 30 pending ivan 10 ready hana 15 ready lina 18 failed hana 1 pending
hana jules lina chen ivan hana lina hana
dina 29 pending lina 17 closed chen 3 pending farah 10 ready eli 17 failed eli 25 ready
dina lina chen farah eli eli
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020701
qwen/qwen3.7-plus
awkweave-0020702
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}
lina,14,active dina,14,ready ivan,22,ready hana,8,paused kim,17,closed alice,29,ready jules,18,paused eli,8,pending
lina dina ivan kim alice jules
hana,17,failed dina,11,failed kim,27,closed chen,17,closed hana,15,pending alice,25,paused eli,23,paused
hana dina kim chen hana alice eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020702-p1
Process simple comma-separated values without quoted commas; print the first column if the second column is greater than 8.
BEGIN{FS=OFS=","}$2>8{print $1}
lina,14,active dina,14,ready ivan,22,ready hana,8,paused kim,17,closed alice,29,ready jules,18,paused eli,8,pending
lina dina ivan kim alice jules
hana,17,failed dina,11,failed kim,27,closed chen,17,closed hana,15,pending alice,25,paused eli,23,paused
hana dina kim chen hana alice eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020702
qwen/qwen3.7-plus
awkweave-0020703
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules fable 50 farah harbor 29 dina amber 70 chen juniper 86 farah amber 39 alice fable 81 chen amber 81 alice birch 49 jules grove 77 eli cobalt 53
jules fable 50 farah harbor 29 dina amber 70 chen juniper 86 farah amber 39 alice fable 81 chen amber 81 alice birch 49 jules grove 77 eli cobalt 53
chen juniper 98 kim indigo 56 lina harbor 120 farah cobalt 41 bruno amber 1 lina cobalt 13 ivan juniper 8
chen juniper 98 kim indigo 56 lina harbor 120 farah cobalt 41 bruno amber 1 lina cobalt 13 ivan juniper 8
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020703-p1
Strip leading and trailing whitespace, then reduce any internal whitespace sequences to a single space.
{$1=$1;print}
jules fable 50 farah harbor 29 dina amber 70 chen juniper 86 farah amber 39 alice fable 81 chen amber 81 alice birch 49 jules grove 77 eli cobalt 53
jules fable 50 farah harbor 29 dina amber 70 chen juniper 86 farah amber 39 alice fable 81 chen amber 81 alice birch 49 jules grove 77 eli cobalt 53
chen juniper 98 kim indigo 56 lina harbor 120 farah cobalt 41 bruno amber 1 lina cobalt 13 ivan juniper 8
chen juniper 98 kim indigo 56 lina harbor 120 farah cobalt 41 bruno amber 1 lina cobalt 13 ivan juniper 8
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020703
qwen/qwen3.7-plus
awkweave-0020704
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice juniper 59 paused chen cobalt 18 failed hana amber 29 pending chen birch 34 failed gus birch 41 paused dina juniper 5 closed hana juniper 62 pending
alice juniper 59 paused
gus juniper 51 pending lina ember 116 active ivan delta 45 pending chen ember 39 ready kim juniper 98 active eli grove 88 ready
gus juniper 51 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020704-p1
Locate and print the longest line from the input; in case of a tie, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice juniper 59 paused chen cobalt 18 failed hana amber 29 pending chen birch 34 failed gus birch 41 paused dina juniper 5 closed hana juniper 62 pending
alice juniper 59 paused
gus juniper 51 pending lina ember 116 active ivan delta 45 pending chen ember 39 ready kim juniper 98 active eli grove 88 ready
gus juniper 51 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020704
qwen/qwen3.7-plus
awkweave-0020705
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
gus 74 alice 33 alice 107 chen 79 alice 62 ivan 19
alice 107
farah 78 chen 56 alice 67 hana 116 eli 81 gus 34 chen 14
alice 67 chen 14
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020705-p1
Output every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
gus 74 alice 33 alice 107 chen 79 alice 62 ivan 19
alice 107
farah 78 chen 56 alice 67 hana 116 eli 81 gus 34 chen 14
alice 67 chen 14
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020705
qwen/qwen3.7-plus
awkweave-0020706
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta ember 111 alpha amber 65 gamma ember 79 alpha indigo 75 beta delta 21 beta harbor 36
5
alpha indigo 84 delta delta 37 alpha birch 120 delta juniper 69 delta amber 14 alpha fable 48 gamma birch 106 delta cobalt 11 delta grove 14 alpha delta 42
8
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020706-p1
Calculate the number of unique entries in the second column and output just that total.
{if(!seen[$2]++)n++}END{print n+0}
beta ember 111 alpha amber 65 gamma ember 79 alpha indigo 75 beta delta 21 beta harbor 36
5
alpha indigo 84 delta delta 37 alpha birch 120 delta juniper 69 delta amber 14 alpha fable 48 gamma birch 106 delta cobalt 11 delta grove 14 alpha delta 42
8
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020706
qwen/qwen3.7-plus
awkweave-0020707
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 16 0 jules 10 9 kim 25 15 jules 11 26 dina 19 1 farah 7 14 eli 20 5 jules 22 10 gus 5 19 hana 22 15
jules 1.11 kim 1.67 jules 0.42 dina 19.00 farah 0.50 eli 4.00 jules 2.20 gus 0.26 hana 1.47
gus 14 0 farah 9 21 hana 19 1 gus 27 8 ivan 9 1 lina 5 2 jules 22 30
farah 0.43 hana 19.00 gus 3.38 ivan 9.00 lina 2.50 jules 0.73
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020707-p1
For every row where the third column is not zero, display the first column alongside the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 16 0 jules 10 9 kim 25 15 jules 11 26 dina 19 1 farah 7 14 eli 20 5 jules 22 10 gus 5 19 hana 22 15
jules 1.11 kim 1.67 jules 0.42 dina 19.00 farah 0.50 eli 4.00 jules 2.20 gus 0.26 hana 1.47
gus 14 0 farah 9 21 hana 19 1 gus 27 8 ivan 9 1 lina 5 2 jules 22 30
farah 0.43 hana 19.00 gus 3.38 ivan 9.00 lina 2.50 jules 0.73
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020707
qwen/qwen3.7-plus
awkweave-0020708
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]}
chen juniper 8 alice amber 15 farah cobalt 12 bruno harbor 13 farah delta 17 lina fable 25 hana juniper 17 bruno fable 22
lina fable 25 bruno fable 22 farah delta 17
chen ember 25 bruno delta 9 chen amber 3 eli fable 28 farah indigo 22 jules delta 27 eli grove 27 kim harbor 3 lina indigo 6 ivan fable 30
ivan fable 30 eli fable 28 jules delta 27
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020708-p1
Retrieve the top three records with the largest numeric values in column 3, sorted in descending order, while maintaining the original input sequence for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen juniper 8 alice amber 15 farah cobalt 12 bruno harbor 13 farah delta 17 lina fable 25 hana juniper 17 bruno fable 22
lina fable 25 bruno fable 22 farah delta 17
chen ember 25 bruno delta 9 chen amber 3 eli fable 28 farah indigo 22 jules delta 27 eli grove 27 kim harbor 3 lina indigo 6 ivan fable 30
ivan fable 30 eli fable 28 jules delta 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020708
qwen/qwen3.7-plus
awkweave-0020709
For each line, output fields 6 and 2, in that order.
{print $6, $2}
farah 93 amber 18 20 103 alice 34 fable 52 57 97 jules 116 indigo 96 78 69 kim 20 birch 66 82 48 hana 36 indigo 5 90 84 bruno 42 delta 98 5 73 hana 46 cobalt 50 75 33 chen 66 fable 91 111 111 hana 46 ember 87 110 70 kim 4 amber 86 28 99
103 93 97 34 69 116 48 20 84 36 73 42 33 46 111 66 70 46 99 4
alice 21 indigo 22 104 37 hana 13 harbor 53 68 88 alice 4 ember 117 85 1 lina 78 amber 56 61 56 jules 53 ember 14 93 44 chen 41 fable 120 70 101 lina 20 delta 94 54 16
37 21 88 13 1 4 56 78 44 53 101 41 16 20
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020709-p1
Extract and print the sixth field followed by the second field for each line.
{print $6, $2}
farah 93 amber 18 20 103 alice 34 fable 52 57 97 jules 116 indigo 96 78 69 kim 20 birch 66 82 48 hana 36 indigo 5 90 84 bruno 42 delta 98 5 73 hana 46 cobalt 50 75 33 chen 66 fable 91 111 111 hana 46 ember 87 110 70 kim 4 amber 86 28 99
103 93 97 34 69 116 48 20 84 36 73 42 33 46 111 66 70 46 99 4
alice 21 indigo 22 104 37 hana 13 harbor 53 68 88 alice 4 ember 117 85 1 lina 78 amber 56 61 56 jules 53 ember 14 93 44 chen 41 fable 120 70 101 lina 20 delta 94 54 16
37 21 88 13 1 4 56 78 44 53 101 41 16 20
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020709
qwen/qwen3.7-plus
awkweave-0020710
Print the last field of every input line.
{print $NF}
68 ready 92 active 62 37 closed 71 ready 3 36 active 78 paused 73 9 active 44 pending 118 100 failed 30 paused 77 12 closed 29 pending 11 79 ready 88 pending 77 40 closed 62 pending 50
62 3 73 118 77 11 77 50
49 closed 80 pending 54 85 pending 79 paused 79 74 closed 83 active 33 42 paused 92 closed 12 8 closed 116 paused 88 22 paused 24 ready 98 101 active 79 pending 103 63 pending 63 active 2 27 closed 55 closed 44 107 pending 86 paused 69
54 79 33 12 88 98 103 2 44 69
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020710-p1
Output the final field from every line in the input.
{print $NF}
68 ready 92 active 62 37 closed 71 ready 3 36 active 78 paused 73 9 active 44 pending 118 100 failed 30 paused 77 12 closed 29 pending 11 79 ready 88 pending 77 40 closed 62 pending 50
62 3 73 118 77 11 77 50
49 closed 80 pending 54 85 pending 79 paused 79 74 closed 83 active 33 42 paused 92 closed 12 8 closed 116 paused 88 22 paused 24 ready 98 101 active 79 pending 103 63 pending 63 active 2 27 closed 55 closed 44 107 pending 86 paused 69
54 79 33 12 88 98 103 2 44 69
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020710
qwen/qwen3.7-plus
awkweave-0020711
Print the complete records where column 3 is at least 64.
$3 >= 64
ember failed 87 ivan pending amber closed 107 jules active amber failed 113 chen failed ember pending 19 farah active harbor active 53 kim closed delta paused 64 gus ready delta active 45 lina ready birch active 28 bruno pending juniper failed 92 jules failed juniper paused 2 lina paused
ember failed 87 ivan pending amber closed 107 jules active amber failed 113 chen failed delta paused 64 gus ready juniper failed 92 jules failed
indigo failed 107 eli pending juniper ready 59 farah pending ember closed 106 eli closed ember paused 64 chen paused amber pending 44 eli pending juniper closed 110 lina failed juniper ready 73 gus closed ember active 46 eli pending
indigo failed 107 eli pending ember closed 106 eli closed ember paused 64 chen paused juniper closed 110 lina failed juniper ready 73 gus closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020711-p1
Display full records where the value in the third column is greater than or equal to 64.
$3 >= 64
ember failed 87 ivan pending amber closed 107 jules active amber failed 113 chen failed ember pending 19 farah active harbor active 53 kim closed delta paused 64 gus ready delta active 45 lina ready birch active 28 bruno pending juniper failed 92 jules failed juniper paused 2 lina paused
ember failed 87 ivan pending amber closed 107 jules active amber failed 113 chen failed delta paused 64 gus ready juniper failed 92 jules failed
indigo failed 107 eli pending juniper ready 59 farah pending ember closed 106 eli closed ember paused 64 chen paused amber pending 44 eli pending juniper closed 110 lina failed juniper ready 73 gus closed ember active 46 eli pending
indigo failed 107 eli pending ember closed 106 eli closed ember paused 64 chen paused juniper closed 110 lina failed juniper ready 73 gus closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020711
qwen/qwen3.7-plus
awkweave-0020712
Show whole lines whose 3rd field is between 8 and 29, inclusive.
$3 >= 8 && $3 <= 29
active ivan 26 active paused lina 13 pending active kim 6 ready active farah 25 failed active bruno 17 paused ready alice 13 paused pending bruno 5 paused paused hana 8 closed active farah 11 paused
active ivan 26 active paused lina 13 pending active farah 25 failed active bruno 17 paused ready alice 13 paused paused hana 8 closed active farah 11 paused
pending alice 3 paused failed farah 27 paused failed gus 24 paused closed kim 28 closed ready ivan 10 ready paused lina 19 pending closed hana 21 paused closed alice 27 paused active chen 19 failed pending bruno 19 paused
failed farah 27 paused failed gus 24 paused closed kim 28 closed ready ivan 10 ready paused lina 19 pending closed hana 21 paused closed alice 27 paused active chen 19 failed pending bruno 19 paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020712-p1
Show entire lines where the third field falls within the inclusive range of 8 to 29.
$3 >= 8 && $3 <= 29
active ivan 26 active paused lina 13 pending active kim 6 ready active farah 25 failed active bruno 17 paused ready alice 13 paused pending bruno 5 paused paused hana 8 closed active farah 11 paused
active ivan 26 active paused lina 13 pending active farah 25 failed active bruno 17 paused ready alice 13 paused paused hana 8 closed active farah 11 paused
pending alice 3 paused failed farah 27 paused failed gus 24 paused closed kim 28 closed ready ivan 10 ready paused lina 19 pending closed hana 21 paused closed alice 27 paused active chen 19 failed pending bruno 19 paused
failed farah 27 paused failed gus 24 paused closed kim 28 closed ready ivan 10 ready paused lina 19 pending closed hana 21 paused closed alice 27 paused active chen 19 failed pending bruno 19 paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020712
qwen/qwen3.7-plus
awkweave-0020713
Print column 2 only for rows where column 1 is exactly active.
$1 == "active"{print $2}
ready eli 5 delta paused jules 62 indigo failed hana 57 ember closed dina 63 delta paused chen 94 ember closed bruno 84 cobalt active kim 6 amber ready kim 53 juniper
kim
failed alice 86 fable paused alice 60 amber failed dina 34 birch pending lina 78 ember ready alice 70 grove closed ivan 69 birch closed kim 118 fable failed jules 32 cobalt paused kim 67 cobalt
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020713-p1
Output only the second column for rows where the first column matches the exact string active.
$1 == "active"{print $2}
ready eli 5 delta paused jules 62 indigo failed hana 57 ember closed dina 63 delta paused chen 94 ember closed bruno 84 cobalt active kim 6 amber ready kim 53 juniper
kim
failed alice 86 fable paused alice 60 amber failed dina 34 birch pending lina 78 ember ready alice 70 grove closed ivan 69 birch closed kim 118 fable failed jules 32 cobalt paused kim 67 cobalt
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020713
qwen/qwen3.7-plus
awkweave-0020714
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
ERROR 63 birch ERROR 62 ember WARN 118 fable WARN 108 delta INFO 116 grove INFO 86 birch
INFO 116 grove INFO 86 birch
INFO 50 cobalt DEBUG 81 ember INFO 120 ember INFO 90 grove WARN 26 fable ERROR 1 grove WARN 55 harbor WARN 1 birch ERROR 44 ember
INFO 50 cobalt INFO 120 ember INFO 90 grove
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020714-p1
Print all fields from lines where the first field starts with the prefix INFO.
$1 ~ /^INFO/
ERROR 63 birch ERROR 62 ember WARN 118 fable WARN 108 delta INFO 116 grove INFO 86 birch
INFO 116 grove INFO 86 birch
INFO 50 cobalt DEBUG 81 ember INFO 120 ember INFO 90 grove WARN 26 fable ERROR 1 grove WARN 55 harbor WARN 1 birch ERROR 44 ember
INFO 50 cobalt INFO 120 ember INFO 90 grove
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020714
qwen/qwen3.7-plus
awkweave-0020715
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
birch 59 pending birch 120 failed fable 44 failed indigo 58 active harbor 47 closed ember 49 paused cobalt 999 active
birch 59 pending birch 120 failed fable 44 failed indigo 58 active harbor 47 closed ember 49 paused
birch 96 failed juniper 94 failed cobalt 100 closed juniper 7 active ember 41 pending delta 0 paused delta 14 paused ember 100 failed cobalt 999 active
birch 96 failed juniper 94 failed juniper 7 active ember 41 pending delta 0 paused delta 14 paused ember 100 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020715-p1
Output every line that does not contain the exact string cobalt.
$0 !~ /cobalt/
birch 59 pending birch 120 failed fable 44 failed indigo 58 active harbor 47 closed ember 49 paused cobalt 999 active
birch 59 pending birch 120 failed fable 44 failed indigo 58 active harbor 47 closed ember 49 paused
birch 96 failed juniper 94 failed cobalt 100 closed juniper 7 active ember 41 pending delta 0 paused delta 14 paused ember 100 failed cobalt 999 active
birch 96 failed juniper 94 failed juniper 7 active ember 41 pending delta 0 paused delta 14 paused ember 100 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020715
qwen/qwen3.7-plus
awkweave-0020716
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
alice delta 31 bruno delta 5 farah harbor 31 gus harbor 65 kim birch 44 lina birch 81 lina fable 68
bruno delta 5 farah harbor 31
ivan harbor 26 jules ember 38 gus amber 17 eli juniper 30 kim fable 46 dina harbor 49 gus amber 20 ivan fable 120 gus ember 20 eli fable 1
jules ember 38 gus amber 17
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020716-p1
Print lines 2 through 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
alice delta 31 bruno delta 5 farah harbor 31 gus harbor 65 kim birch 44 lina birch 81 lina fable 68
bruno delta 5 farah harbor 31
ivan harbor 26 jules ember 38 gus amber 17 eli juniper 30 kim fable 46 dina harbor 49 gus amber 20 ivan fable 120 gus ember 20 eli fable 1
jules ember 38 gus amber 17
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020716
qwen/qwen3.7-plus
awkweave-0020717
Output only the first 5 records.
NR <= 5
lina 65 harbor farah 103 amber bruno 48 delta alice 88 indigo bruno 7 indigo eli 36 indigo jules 33 birch ivan 29 ember farah 11 grove
lina 65 harbor farah 103 amber bruno 48 delta alice 88 indigo bruno 7 indigo
lina 38 harbor gus 0 harbor kim 48 amber jules 71 delta alice 112 cobalt alice 32 fable eli 8 juniper eli 44 amber ivan 41 delta jules 51 cobalt
lina 38 harbor gus 0 harbor kim 48 amber jules 71 delta alice 112 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020717-p1
Display only the first 5 records from the input.
NR <= 5
lina 65 harbor farah 103 amber bruno 48 delta alice 88 indigo bruno 7 indigo eli 36 indigo jules 33 birch ivan 29 ember farah 11 grove
lina 65 harbor farah 103 amber bruno 48 delta alice 88 indigo bruno 7 indigo
lina 38 harbor gus 0 harbor kim 48 amber jules 71 delta alice 112 cobalt alice 32 fable eli 8 juniper eli 44 amber ivan 41 delta jules 51 cobalt
lina 38 harbor gus 0 harbor kim 48 amber jules 71 delta alice 112 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020717
qwen/qwen3.7-plus
awkweave-0020718
Skip the first line and print every remaining line unchanged.
NR > 1
eli 120 grove kim 85 grove alice 111 delta farah 50 birch chen 98 harbor jules 80 fable
kim 85 grove alice 111 delta farah 50 birch chen 98 harbor jules 80 fable
kim 64 ember lina 118 cobalt dina 15 ember ivan 1 delta ivan 82 amber farah 109 fable
lina 118 cobalt dina 15 ember ivan 1 delta ivan 82 amber farah 109 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020718-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
eli 120 grove kim 85 grove alice 111 delta farah 50 birch chen 98 harbor jules 80 fable
kim 85 grove alice 111 delta farah 50 birch chen 98 harbor jules 80 fable
kim 64 ember lina 118 cobalt dina 15 ember ivan 1 delta ivan 82 amber farah 109 fable
lina 118 cobalt dina 15 ember ivan 1 delta ivan 82 amber farah 109 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020718
qwen/qwen3.7-plus
awkweave-0020719
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
alice closed 17 kim paused 98 bruno pending 29 jules paused 0 hana pending 8 alice ready 59 dina pending 32 jules ready 108 gus active 17 eli closed 39
3
hana active 71 gus paused 25 alice failed 43 chen active 75 jules pending 42 bruno ready 59 alice ready 53 eli failed 47
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020719-p1
Tally the entries where the second column contains 'pending', outputting 0 if no matches are found.
$2 == "pending"{n++}END{print n+0}
alice closed 17 kim paused 98 bruno pending 29 jules paused 0 hana pending 8 alice ready 59 dina pending 32 jules ready 108 gus active 17 eli closed 39
3
hana active 71 gus paused 25 alice failed 43 chen active 75 jules pending 42 bruno ready 59 alice ready 53 eli failed 47
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020719
qwen/qwen3.7-plus
awkweave-0020720
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
birch kim 28 harbor bruno 5 juniper lina 25 fable chen 10 cobalt kim 12 fable lina 14 birch hana 27 harbor eli 16
137
juniper kim 15 juniper lina 30 ember eli 26 amber dina 17 amber bruno 11 indigo gus 12 grove chen 9 cobalt ivan 4 birch gus 19
143
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0020720-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
birch kim 28 harbor bruno 5 juniper lina 25 fable chen 10 cobalt kim 12 fable lina 14 birch hana 27 harbor eli 16
137
juniper kim 15 juniper lina 30 ember eli 26 amber dina 17 amber bruno 11 indigo gus 12 grove chen 9 cobalt ivan 4 birch gus 19
143
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0020720
qwen/qwen3.7-plus