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-0039771-p1
Ignoring the header, print the display_name for rows where the score is strictly greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 bruno 6 ready r002 ivan 4 closed r003 bruno 8 failed r004 eli 6 pending r005 dina 2 ready r006 lina 15 pending r007 farah 8 pending r008 alice 14 active r009 gus 23 pending
lina alice gus
record_id display_name score state r001 ivan 30 failed r002 gus 18 pending r003 ivan 28 active r004 jules 8 pending r005 chen 4 failed r006 lina 6 active r007 farah 12 paused r008 jules 3 paused
ivan gus ivan farah
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039771
qwen/qwen3.7-plus
awkweave-0039772
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
dina 4 failed eli 23 failed chen 27 paused chen 14 failed dina 5 paused lina 30 failed chen 22 ready
failed failed paused failed paused failed ready
ivan 5 pending kim 13 ready farah 15 ready farah 27 failed lina 26 ready hana 17 closed kim 30 active chen 14 pending
pending ready ready failed ready closed active pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039772-p1
Given tab-separated input, extract and print the third column from each record.
BEGIN{FS=OFS="\t"}{print $3}
dina 4 failed eli 23 failed chen 27 paused chen 14 failed dina 5 paused lina 30 failed chen 22 ready
failed failed paused failed paused failed ready
ivan 5 pending kim 13 ready farah 15 ready farah 27 failed lina 26 ready hana 17 closed kim 30 active chen 14 pending
pending ready ready failed ready closed active pending
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039772
qwen/qwen3.7-plus
awkweave-0039773
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 16.
BEGIN{FS=OFS=","}$2>16{print $1}
kim,19,ready hana,20,paused alice,9,pending lina,21,active chen,11,closed bruno,9,active ivan,20,closed
kim hana lina ivan
ivan,12,closed farah,16,failed farah,12,active farah,30,paused jules,24,paused alice,9,paused
farah jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039773-p1
For simple CSV input without quoted commas, print the first column if the second column value is greater than 16.
BEGIN{FS=OFS=","}$2>16{print $1}
kim,19,ready hana,20,paused alice,9,pending lina,21,active chen,11,closed bruno,9,active ivan,20,closed
kim hana lina ivan
ivan,12,closed farah,16,failed farah,12,active farah,30,paused jules,24,paused alice,9,paused
farah jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039773
qwen/qwen3.7-plus
awkweave-0039774
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina grove 113 farah indigo 114 kim indigo 70 ivan delta 56 bruno juniper 20 ivan cobalt 83 hana delta 30 alice delta 69 dina delta 39 alice grove 18
lina grove 113 farah indigo 114 kim indigo 70 ivan delta 56 bruno juniper 20 ivan cobalt 83 hana delta 30 alice delta 69 dina delta 39 alice grove 18
eli amber 50 eli delta 78 eli delta 4 dina indigo 23 chen cobalt 23 lina grove 54
eli amber 50 eli delta 78 eli delta 4 dina indigo 23 chen cobalt 23 lina grove 54
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039774-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
lina grove 113 farah indigo 114 kim indigo 70 ivan delta 56 bruno juniper 20 ivan cobalt 83 hana delta 30 alice delta 69 dina delta 39 alice grove 18
lina grove 113 farah indigo 114 kim indigo 70 ivan delta 56 bruno juniper 20 ivan cobalt 83 hana delta 30 alice delta 69 dina delta 39 alice grove 18
eli amber 50 eli delta 78 eli delta 4 dina indigo 23 chen cobalt 23 lina grove 54
eli amber 50 eli delta 78 eli delta 4 dina indigo 23 chen cobalt 23 lina grove 54
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039774
qwen/qwen3.7-plus
awkweave-0039775
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli indigo 72 pending hana grove 12 paused alice cobalt 104 ready ivan ember 91 failed jules cobalt 38 paused lina harbor 54 paused eli ember 61 failed kim amber 64 active alice birch 42 paused
alice cobalt 104 ready
alice delta 28 ready chen fable 119 paused bruno amber 24 ready chen harbor 9 closed bruno delta 6 pending bruno cobalt 63 pending chen amber 118 failed hana juniper 98 pending bruno harbor 63 closed
bruno cobalt 63 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039775-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
eli indigo 72 pending hana grove 12 paused alice cobalt 104 ready ivan ember 91 failed jules cobalt 38 paused lina harbor 54 paused eli ember 61 failed kim amber 64 active alice birch 42 paused
alice cobalt 104 ready
alice delta 28 ready chen fable 119 paused bruno amber 24 ready chen harbor 9 closed bruno delta 6 pending bruno cobalt 63 pending chen amber 118 failed hana juniper 98 pending bruno harbor 63 closed
bruno cobalt 63 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039775
qwen/qwen3.7-plus
awkweave-0039776
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
gus 110 dina 11 gus 102 jules 44 jules 25 ivan 93 dina 18 dina 63 dina 116
gus 110 jules 44 dina 18
lina 61 hana 97 bruno 95 hana 39 ivan 18 gus 49 bruno 102 ivan 15
lina 61 hana 39 bruno 102
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039776-p1
Print lines 1, 4, 7, and so on (every third line starting from the first).
NR%3==1
gus 110 dina 11 gus 102 jules 44 jules 25 ivan 93 dina 18 dina 63 dina 116
gus 110 jules 44 dina 18
lina 61 hana 97 bruno 95 hana 39 ivan 18 gus 49 bruno 102 ivan 15
lina 61 hana 39 bruno 102
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039776
qwen/qwen3.7-plus
awkweave-0039777
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 56 gamma grove 65 alpha amber 102 alpha juniper 73 alpha fable 79 alpha indigo 90 gamma ember 84 alpha juniper 60 delta juniper 92 delta juniper 54
7
gamma fable 8 alpha fable 63 gamma ember 1 beta cobalt 41 gamma birch 57 delta juniper 75
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039777-p1
Count the number of unique values in column 2 and output only that total.
{if(!seen[$2]++)n++}END{print n+0}
alpha delta 56 gamma grove 65 alpha amber 102 alpha juniper 73 alpha fable 79 alpha indigo 90 gamma ember 84 alpha juniper 60 delta juniper 92 delta juniper 54
7
gamma fable 8 alpha fable 63 gamma ember 1 beta cobalt 41 gamma birch 57 delta juniper 75
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039777
qwen/qwen3.7-plus
awkweave-0039778
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
farah 22 0 hana 29 27 jules 26 12 eli 18 10 ivan 14 10 ivan 18 7 kim 15 15 chen 11 26 lina 23 25 kim 6 24
hana 1.07 jules 2.17 eli 1.80 ivan 1.40 ivan 2.57 kim 1.00 chen 0.42 lina 0.92 kim 0.25
jules 19 0 ivan 18 6 jules 23 10 dina 29 21 lina 5 18 kim 16 17
ivan 3.00 jules 2.30 dina 1.38 lina 0.28 kim 0.94
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039778-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}
farah 22 0 hana 29 27 jules 26 12 eli 18 10 ivan 14 10 ivan 18 7 kim 15 15 chen 11 26 lina 23 25 kim 6 24
hana 1.07 jules 2.17 eli 1.80 ivan 1.40 ivan 2.57 kim 1.00 chen 0.42 lina 0.92 kim 0.25
jules 19 0 ivan 18 6 jules 23 10 dina 29 21 lina 5 18 kim 16 17
ivan 3.00 jules 2.30 dina 1.38 lina 0.28 kim 0.94
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039778
qwen/qwen3.7-plus
awkweave-0039779
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]}
gus cobalt 24 eli fable 1 gus amber 4 gus juniper 24 gus birch 8 bruno harbor 23
gus cobalt 24 gus juniper 24 bruno harbor 23
farah indigo 28 jules harbor 2 ivan juniper 15 eli grove 5 gus juniper 27 alice fable 27 gus cobalt 2 gus harbor 15 eli juniper 2
farah indigo 28 gus juniper 27 alice fable 27
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039779-p1
Display the full records corresponding to the top three highest 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]}
gus cobalt 24 eli fable 1 gus amber 4 gus juniper 24 gus birch 8 bruno harbor 23
gus cobalt 24 gus juniper 24 bruno harbor 23
farah indigo 28 jules harbor 2 ivan juniper 15 eli grove 5 gus juniper 27 alice fable 27 gus cobalt 2 gus harbor 15 eli juniper 2
farah indigo 28 gus juniper 27 alice fable 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039779
qwen/qwen3.7-plus
awkweave-0039780
Print column 5 followed by column 2 for every record.
{print $5, $2}
failed 59 kim birch amber delta active 58 hana ember delta grove pending 119 alice birch ember cobalt failed 28 ivan harbor harbor harbor failed 97 ivan juniper amber cobalt paused 61 ivan ember fable birch active 60 ivan fable juniper ember failed 9 bruno birch juniper juniper
amber 59 delta 58 ember 119 harbor 28 amber 97 fable 61 juniper 60 juniper 9
pending 85 eli fable indigo grove failed 113 chen delta harbor cobalt active 105 lina birch cobalt ember pending 34 bruno ember delta fable paused 98 bruno amber harbor cobalt failed 110 chen juniper ember ember
indigo 85 harbor 113 cobalt 105 delta 34 harbor 98 ember 110
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039780-p1
Output the fifth column followed by the second column for every record in the dataset.
{print $5, $2}
failed 59 kim birch amber delta active 58 hana ember delta grove pending 119 alice birch ember cobalt failed 28 ivan harbor harbor harbor failed 97 ivan juniper amber cobalt paused 61 ivan ember fable birch active 60 ivan fable juniper ember failed 9 bruno birch juniper juniper
amber 59 delta 58 ember 119 harbor 28 amber 97 fable 61 juniper 60 juniper 9
pending 85 eli fable indigo grove failed 113 chen delta harbor cobalt active 105 lina birch cobalt ember pending 34 bruno ember delta fable paused 98 bruno amber harbor cobalt failed 110 chen juniper ember ember
indigo 85 harbor 113 cobalt 105 delta 34 harbor 98 ember 110
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039780
qwen/qwen3.7-plus
awkweave-0039781
Print the last field of every input line.
{print $NF}
44 99 80 farah juniper 102 91 14 hana delta 107 70 64 chen fable 106 67 35 jules juniper 50 64 50 chen grove 32 50 92 farah harbor 46 84 85 eli birch
juniper delta fable juniper grove harbor birch
86 3 60 lina delta 5 7 99 eli juniper 95 20 16 lina ember 94 66 82 gus amber 8 3 68 bruno grove 92 73 87 hana delta 25 61 69 farah ember 114 38 98 hana amber
delta juniper ember amber grove delta ember amber
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039781-p1
Print the final field from each line of input.
{print $NF}
44 99 80 farah juniper 102 91 14 hana delta 107 70 64 chen fable 106 67 35 jules juniper 50 64 50 chen grove 32 50 92 farah harbor 46 84 85 eli birch
juniper delta fable juniper grove harbor birch
86 3 60 lina delta 5 7 99 eli juniper 95 20 16 lina ember 94 66 82 gus amber 8 3 68 bruno grove 92 73 87 hana delta 25 61 69 farah ember 114 38 98 hana amber
delta juniper ember amber grove delta ember amber
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039781
qwen/qwen3.7-plus
awkweave-0039782
Print the complete records where column 2 is greater than 69.
$2 > 69
dina 2 ready lina 30 active jules 82 pending alice 3 paused gus 40 ready jules 82 paused chen 37 failed
jules 82 pending jules 82 paused
ivan 46 active dina 96 failed ivan 30 active hana 11 active bruno 36 failed dina 40 failed alice 50 paused
dina 96 failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039782-p1
Output the entire records where the value in the second column exceeds 69.
$2 > 69
dina 2 ready lina 30 active jules 82 pending alice 3 paused gus 40 ready jules 82 paused chen 37 failed
jules 82 pending jules 82 paused
ivan 46 active dina 96 failed ivan 30 active hana 11 active bruno 36 failed dina 40 failed alice 50 paused
dina 96 failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039782
qwen/qwen3.7-plus
awkweave-0039783
Show whole lines whose 3rd field is between 6 and 29, inclusive.
$3 >= 6 && $3 <= 29
paused closed 22 grove paused paused 3 cobalt pending closed 22 birch failed ready 18 fable pending closed 28 birch pending ready 2 birch
paused closed 22 grove pending closed 22 birch failed ready 18 fable pending closed 28 birch
failed pending 29 cobalt closed ready 4 harbor failed paused 21 amber ready closed 17 cobalt closed ready 21 birch closed paused 6 indigo
failed pending 29 cobalt failed paused 21 amber ready closed 17 cobalt closed ready 21 birch closed paused 6 indigo
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039783-p1
Display complete lines where the third field falls within the inclusive range of 6 to 29.
$3 >= 6 && $3 <= 29
paused closed 22 grove paused paused 3 cobalt pending closed 22 birch failed ready 18 fable pending closed 28 birch pending ready 2 birch
paused closed 22 grove pending closed 22 birch failed ready 18 fable pending closed 28 birch
failed pending 29 cobalt closed ready 4 harbor failed paused 21 amber ready closed 17 cobalt closed ready 21 birch closed paused 6 indigo
failed pending 29 cobalt failed paused 21 amber ready closed 17 cobalt closed ready 21 birch closed paused 6 indigo
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039783
qwen/qwen3.7-plus
awkweave-0039784
Print column 1 only for rows where column 3 is exactly closed.
$3 == "closed"{print $1}
eli 5 pending grove chen 83 failed ember lina 25 closed cobalt eli 98 ready indigo dina 88 failed cobalt hana 70 failed indigo
lina
bruno 47 pending delta eli 21 active fable chen 107 active grove eli 12 active juniper bruno 107 failed fable chen 117 active birch kim 58 closed harbor farah 90 ready birch kim 3 closed juniper
kim kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039784-p1
Output only the first column for rows where the third column contains the exact value 'closed'.
$3 == "closed"{print $1}
eli 5 pending grove chen 83 failed ember lina 25 closed cobalt eli 98 ready indigo dina 88 failed cobalt hana 70 failed indigo
lina
bruno 47 pending delta eli 21 active fable chen 107 active grove eli 12 active juniper bruno 107 failed fable chen 117 active birch kim 58 closed harbor farah 90 ready birch kim 3 closed juniper
kim kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039784
qwen/qwen3.7-plus
awkweave-0039785
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
delta WARN 47 fable ERROR 62 cobalt ERROR 21 birch ERROR 34 delta WARN 36 indigo WARN 115 cobalt DEBUG 76 harbor INFO 104
harbor INFO 104
grove ERROR 92 fable INFO 118 grove WARN 116 birch WARN 64 birch ERROR 0 birch ERROR 95 amber WARN 31 amber ERROR 26 grove DEBUG 44 delta INFO 79
fable INFO 118 delta INFO 79
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039785-p1
Print all fields from lines where the second field starts with the string 'INFO'.
$2 ~ /^INFO/
delta WARN 47 fable ERROR 62 cobalt ERROR 21 birch ERROR 34 delta WARN 36 indigo WARN 115 cobalt DEBUG 76 harbor INFO 104
harbor INFO 104
grove ERROR 92 fable INFO 118 grove WARN 116 birch WARN 64 birch ERROR 0 birch ERROR 95 amber WARN 31 amber ERROR 26 grove DEBUG 44 delta INFO 79
fable INFO 118 delta INFO 79
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039785
qwen/qwen3.7-plus
awkweave-0039786
Print every line except those containing the exact text grove.
$0 !~ /grove/
fable 8 pending fable 43 pending indigo 36 ready cobalt 66 paused fable 113 paused birch 85 paused fable 44 pending juniper 77 active juniper 9 pending delta 102 pending grove 999 active
fable 8 pending fable 43 pending indigo 36 ready cobalt 66 paused fable 113 paused birch 85 paused fable 44 pending juniper 77 active juniper 9 pending delta 102 pending
grove 110 pending grove 83 ready amber 54 paused delta 91 paused indigo 48 paused amber 27 failed ember 51 failed birch 92 closed birch 53 closed delta 71 active grove 999 active
amber 54 paused delta 91 paused indigo 48 paused amber 27 failed ember 51 failed birch 92 closed birch 53 closed delta 71 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039786-p1
Output every line except those that contain the exact substring 'grove'.
$0 !~ /grove/
fable 8 pending fable 43 pending indigo 36 ready cobalt 66 paused fable 113 paused birch 85 paused fable 44 pending juniper 77 active juniper 9 pending delta 102 pending grove 999 active
fable 8 pending fable 43 pending indigo 36 ready cobalt 66 paused fable 113 paused birch 85 paused fable 44 pending juniper 77 active juniper 9 pending delta 102 pending
grove 110 pending grove 83 ready amber 54 paused delta 91 paused indigo 48 paused amber 27 failed ember 51 failed birch 92 closed birch 53 closed delta 71 active grove 999 active
amber 54 paused delta 91 paused indigo 48 paused amber 27 failed ember 51 failed birch 92 closed birch 53 closed delta 71 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039786
qwen/qwen3.7-plus
awkweave-0039787
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
dina birch 26 ivan juniper 16 bruno juniper 75 alice cobalt 25 kim grove 71 eli delta 103 ivan juniper 4 jules birch 15 bruno ember 85 ivan cobalt 90
ivan juniper 16 bruno juniper 75 alice cobalt 25 kim grove 71
ivan birch 64 chen cobalt 27 chen indigo 36 eli ember 102 dina delta 80 gus fable 87 dina birch 56 bruno juniper 53 eli delta 42
chen cobalt 27 chen indigo 36 eli ember 102 dina delta 80
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039787-p1
Print lines 2 through 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
dina birch 26 ivan juniper 16 bruno juniper 75 alice cobalt 25 kim grove 71 eli delta 103 ivan juniper 4 jules birch 15 bruno ember 85 ivan cobalt 90
ivan juniper 16 bruno juniper 75 alice cobalt 25 kim grove 71
ivan birch 64 chen cobalt 27 chen indigo 36 eli ember 102 dina delta 80 gus fable 87 dina birch 56 bruno juniper 53 eli delta 42
chen cobalt 27 chen indigo 36 eli ember 102 dina delta 80
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039787
qwen/qwen3.7-plus
awkweave-0039788
Output only the first 5 records.
NR <= 5
eli 38 fable chen 32 indigo gus 7 harbor chen 64 ember gus 78 delta hana 79 indigo kim 62 indigo lina 23 delta alice 12 juniper jules 0 amber
eli 38 fable chen 32 indigo gus 7 harbor chen 64 ember gus 78 delta
dina 88 amber hana 86 ember hana 111 harbor dina 34 indigo chen 118 birch chen 33 delta lina 108 fable
dina 88 amber hana 86 ember hana 111 harbor dina 34 indigo chen 118 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039788-p1
Output only the first five records from the input.
NR <= 5
eli 38 fable chen 32 indigo gus 7 harbor chen 64 ember gus 78 delta hana 79 indigo kim 62 indigo lina 23 delta alice 12 juniper jules 0 amber
eli 38 fable chen 32 indigo gus 7 harbor chen 64 ember gus 78 delta
dina 88 amber hana 86 ember hana 111 harbor dina 34 indigo chen 118 birch chen 33 delta lina 108 fable
dina 88 amber hana 86 ember hana 111 harbor dina 34 indigo chen 118 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039788
qwen/qwen3.7-plus
awkweave-0039789
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 35 juniper bruno 24 cobalt chen 72 cobalt jules 57 fable gus 75 harbor gus 118 harbor kim 2 delta jules 20 harbor
bruno 24 cobalt chen 72 cobalt jules 57 fable gus 75 harbor gus 118 harbor kim 2 delta jules 20 harbor
hana 79 cobalt farah 44 fable jules 84 harbor hana 54 delta eli 73 indigo kim 34 harbor bruno 55 cobalt alice 94 fable dina 20 amber chen 89 fable
farah 44 fable jules 84 harbor hana 54 delta eli 73 indigo kim 34 harbor bruno 55 cobalt alice 94 fable dina 20 amber chen 89 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039789-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
ivan 35 juniper bruno 24 cobalt chen 72 cobalt jules 57 fable gus 75 harbor gus 118 harbor kim 2 delta jules 20 harbor
bruno 24 cobalt chen 72 cobalt jules 57 fable gus 75 harbor gus 118 harbor kim 2 delta jules 20 harbor
hana 79 cobalt farah 44 fable jules 84 harbor hana 54 delta eli 73 indigo kim 34 harbor bruno 55 cobalt alice 94 fable dina 20 amber chen 89 fable
farah 44 fable jules 84 harbor hana 54 delta eli 73 indigo kim 34 harbor bruno 55 cobalt alice 94 fable dina 20 amber chen 89 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039789
qwen/qwen3.7-plus
awkweave-0039800
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
gus 24 ivan 14 farah 20 gus 8 farah 23 farah 8 alice 27 eli 24 jules 16
gus fail ivan fail farah fail gus fail farah fail farah fail alice pass eli fail jules fail
farah 8 hana 2 gus 29 farah 13 farah 27 farah 10
farah fail hana fail gus pass farah fail farah pass farah fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039800-p1
Output column 1; if column 2 is 27 or higher, print pass, else print fail.
{print $1,($2>=27?"pass":"fail")}
gus 24 ivan 14 farah 20 gus 8 farah 23 farah 8 alice 27 eli 24 jules 16
gus fail ivan fail farah fail gus fail farah fail farah fail alice pass eli fail jules fail
farah 8 hana 2 gus 29 farah 13 farah 27 farah 10
farah fail hana fail gus pass farah fail farah pass farah fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039800
qwen/qwen3.7-plus
awkweave-0039801
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
kim indigo 21 ivan amber 96 kim cobalt 8 kim cobalt 97 kim juniper 73 jules juniper 30 dina harbor 18 gus delta 104
KIM IVAN KIM KIM KIM JULES DINA GUS
kim cobalt 120 kim fable 80 eli amber 33 jules fable 0 kim grove 16 kim amber 93 jules delta 105 chen cobalt 75
KIM KIM ELI JULES KIM KIM JULES CHEN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039801-p1
Transform column 1 to uppercase and output only that column.
{print toupper($1)}
kim indigo 21 ivan amber 96 kim cobalt 8 kim cobalt 97 kim juniper 73 jules juniper 30 dina harbor 18 gus delta 104
KIM IVAN KIM KIM KIM JULES DINA GUS
kim cobalt 120 kim fable 80 eli amber 33 jules fable 0 kim grove 16 kim amber 93 jules delta 105 chen cobalt 75
KIM KIM ELI JULES KIM KIM JULES CHEN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039801
qwen/qwen3.7-plus
awkweave-0039802
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
ember 65 harbor 107 indigo 88 ember 46 juniper 82 cobalt 23 amber 63 ember 86 grove 70 indigo 86
mber arbo ndig mber unip obal mber mber rove ndig
cobalt 56 birch 71 indigo 87 cobalt 66 amber 109 indigo 17 juniper 69 delta 112
obal irch ndig obal mber ndig unip elta
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039802-p1
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
ember 65 harbor 107 indigo 88 ember 46 juniper 82 cobalt 23 amber 63 ember 86 grove 70 indigo 86
mber arbo ndig mber unip obal mber mber rove ndig
cobalt 56 birch 71 indigo 87 cobalt 66 amber 109 indigo 17 juniper 69 delta 112
obal irch ndig obal mber ndig unip elta
substring
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0039802
qwen/qwen3.7-plus
awkweave-0039803
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_ember 34 ember_birch 105 juniper_ember 87 birch_indigo 47 fable_birch 64 delta_delta 35 birch_fable 73 harbor_indigo 6 grove_indigo 79 birch_cobalt 12
delta ember ember birch juniper ember birch indigo fable birch delta delta birch fable harbor indigo grove indigo birch cobalt
cobalt_juniper 59 fable_ember 5 indigo_indigo 9 juniper_fable 39 cobalt_fable 0 delta_grove 89 juniper_indigo 93 cobalt_indigo 108
cobalt juniper fable ember indigo indigo juniper fable cobalt fable delta grove juniper indigo cobalt indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039803-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
delta_ember 34 ember_birch 105 juniper_ember 87 birch_indigo 47 fable_birch 64 delta_delta 35 birch_fable 73 harbor_indigo 6 grove_indigo 79 birch_cobalt 12
delta ember ember birch juniper ember birch indigo fable birch delta delta birch fable harbor indigo grove indigo birch cobalt
cobalt_juniper 59 fable_ember 5 indigo_indigo 9 juniper_fable 39 cobalt_fable 0 delta_grove 89 juniper_indigo 93 cobalt_indigo 108
cobalt juniper fable ember indigo indigo juniper fable cobalt fable delta grove juniper indigo cobalt indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039803
qwen/qwen3.7-plus
awkweave-0039804
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana birch 30 ready lina harbor 14 active eli harbor 90 closed kim juniper 105 ready gus juniper 55 pending ivan amber 70 active lina fable 4 active kim indigo 25 pending bruno birch 96 active chen amber 10 ready
ready 30 birch hana active 14 harbor lina closed 90 harbor eli ready 105 juniper kim pending 55 juniper gus active 70 amber ivan active 4 fable lina pending 25 indigo kim active 96 birch bruno ready 10 amber chen
alice fable 13 failed alice ember 71 ready hana indigo 14 paused hana fable 58 ready jules indigo 9 pending alice fable 116 active alice amber 114 active
failed 13 fable alice ready 71 ember alice paused 14 indigo hana ready 58 fable hana pending 9 indigo jules active 116 fable alice active 114 amber alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039804-p1
Reverse the sequence of fields for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana birch 30 ready lina harbor 14 active eli harbor 90 closed kim juniper 105 ready gus juniper 55 pending ivan amber 70 active lina fable 4 active kim indigo 25 pending bruno birch 96 active chen amber 10 ready
ready 30 birch hana active 14 harbor lina closed 90 harbor eli ready 105 juniper kim pending 55 juniper gus active 70 amber ivan active 4 fable lina pending 25 indigo kim active 96 birch bruno ready 10 amber chen
alice fable 13 failed alice ember 71 ready hana indigo 14 paused hana fable 58 ready jules indigo 9 pending alice fable 116 active alice amber 114 active
failed 13 fable alice ready 71 ember alice paused 14 indigo hana ready 58 fable hana pending 9 indigo jules active 116 fable alice active 114 amber alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039804
qwen/qwen3.7-plus
awkweave-0039805
Print the number of whitespace-separated fields on each line.
{print NF}
ivan birch 6 paused lina indigo 19 closed ivan delta 89 closed hana cobalt 78 failed eli fable 22 paused farah grove 7 closed
4 4 4 4 4 4
jules ember 98 ready gus cobalt 63 failed jules cobalt 20 active eli fable 100 pending farah amber 47 pending lina indigo 65 ready farah birch 18 closed
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039805-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
ivan birch 6 paused lina indigo 19 closed ivan delta 89 closed hana cobalt 78 failed eli fable 22 paused farah grove 7 closed
4 4 4 4 4 4
jules ember 98 ready gus cobalt 63 failed jules cobalt 20 active eli fable 100 pending farah amber 47 pending lina indigo 65 ready farah birch 18 closed
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039805
qwen/qwen3.7-plus
awkweave-0039806
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan beta 12 ivan alpha 39 kim gamma 78 lina alpha 53 alice delta 103 gus gamma 57 dina gamma 120 kim gamma 34 bruno alpha 109
beta 1 alpha 3 gamma 4 delta 1
kim gamma 12 chen gamma 42 hana alpha 16 eli alpha 118 bruno beta 8 dina beta 33 dina alpha 50 dina alpha 96 chen alpha 115 farah alpha 1
gamma 2 alpha 6 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039806-p1
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan beta 12 ivan alpha 39 kim gamma 78 lina alpha 53 alice delta 103 gus gamma 57 dina gamma 120 kim gamma 34 bruno alpha 109
beta 1 alpha 3 gamma 4 delta 1
kim gamma 12 chen gamma 42 hana alpha 16 eli alpha 118 bruno beta 8 dina beta 33 dina alpha 50 dina alpha 96 chen alpha 115 farah alpha 1
gamma 2 alpha 6 beta 2
count_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0039806
qwen/qwen3.7-plus
awkweave-0039807
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
hana delta 27 bruno delta 28 jules delta 16 hana delta 29 hana beta 3 kim beta 4 chen gamma 30 ivan alpha 8
delta 100 beta 7 gamma 30 alpha 8
ivan gamma 22 hana alpha 26 kim delta 3 jules alpha 13 chen alpha 28 ivan alpha 29 jules beta 17 farah gamma 14
gamma 36 alpha 96 delta 3 beta 17
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039807-p1
Calculate the sum of column 3 for each group in column 2, listing groups by first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
hana delta 27 bruno delta 28 jules delta 16 hana delta 29 hana beta 3 kim beta 4 chen gamma 30 ivan alpha 8
delta 100 beta 7 gamma 30 alpha 8
ivan gamma 22 hana alpha 26 kim delta 3 jules alpha 13 chen alpha 28 ivan alpha 29 jules beta 17 farah gamma 14
gamma 36 alpha 96 delta 3 beta 17
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039807
qwen/qwen3.7-plus
awkweave-0039808
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta fable 55 alpha amber 23 beta cobalt 17 alpha indigo 32 gamma fable 114 gamma harbor 60
alpha 2 gamma 2
alpha birch 116 gamma amber 96 alpha fable 2 gamma grove 100 gamma fable 55 delta delta 83 beta birch 53 alpha delta 107 alpha indigo 116 beta harbor 23
alpha 4 gamma 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039808-p1
List duplicate values from column 1 along with their frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta fable 55 alpha amber 23 beta cobalt 17 alpha indigo 32 gamma fable 114 gamma harbor 60
alpha 2 gamma 2
alpha birch 116 gamma amber 96 alpha fable 2 gamma grove 100 gamma fable 55 delta delta 83 beta birch 53 alpha delta 107 alpha indigo 116 beta harbor 23
alpha 4 gamma 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039808
qwen/qwen3.7-plus
awkweave-0039809
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
record_id note state display_name r001 hana 24 ready r002 dina 28 pending r003 eli 23 paused r004 dina 12 failed r005 farah 3 active r006 alice 24 active r007 hana 9 ready r008 kim 21 ready r009 gus 18 active r010 alice 29 closed
24 28 23 12 3 24 9 21 18 29
record_id note state display_name r001 bruno 5 closed r002 kim 5 failed r003 farah 26 closed r004 dina 10 paused r005 farah 18 pending r006 alice 18 failed r007 hana 7 failed r008 ivan 13 closed r009 ivan 13 failed r010 farah 5 ready
5 5 26 10 18 18 7 13 13 5
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039809-p1
Treating the first row as a header, output the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
record_id note state display_name r001 hana 24 ready r002 dina 28 pending r003 eli 23 paused r004 dina 12 failed r005 farah 3 active r006 alice 24 active r007 hana 9 ready r008 kim 21 ready r009 gus 18 active r010 alice 29 closed
24 28 23 12 3 24 9 21 18 29
record_id note state display_name r001 bruno 5 closed r002 kim 5 failed r003 farah 26 closed r004 dina 10 paused r005 farah 18 pending r006 alice 18 failed r007 hana 7 failed r008 ivan 13 closed r009 ivan 13 failed r010 farah 5 ready
5 5 26 10 18 18 7 13 13 5
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039809
qwen/qwen3.7-plus
awkweave-0039810
The first row is a header. Print display_name for data rows whose score is greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 jules 30 ready r002 ivan 14 closed r003 eli 18 closed r004 jules 2 paused r005 eli 8 failed r006 lina 7 paused r007 bruno 16 failed r008 chen 20 failed r009 alice 6 closed r010 gus 1 active
jules ivan eli bruno chen
record_id display_name score state r001 bruno 25 failed r002 chen 20 ready r003 jules 1 closed r004 eli 8 failed r005 alice 22 pending r006 farah 8 closed r007 gus 4 closed r008 lina 7 closed
bruno chen alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039810-p1
With the first row as a header, output display_name for data rows where score exceeds 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 jules 30 ready r002 ivan 14 closed r003 eli 18 closed r004 jules 2 paused r005 eli 8 failed r006 lina 7 paused r007 bruno 16 failed r008 chen 20 failed r009 alice 6 closed r010 gus 1 active
jules ivan eli bruno chen
record_id display_name score state r001 bruno 25 failed r002 chen 20 ready r003 jules 1 closed r004 eli 8 failed r005 alice 22 pending r006 farah 8 closed r007 gus 4 closed r008 lina 7 closed
bruno chen alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039810
qwen/qwen3.7-plus
awkweave-0039811
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
hana 10 ready ivan 16 active farah 3 failed hana 20 paused bruno 12 paused jules 4 closed lina 13 pending ivan 24 failed bruno 12 ready
hana ivan farah hana bruno jules lina ivan bruno
eli 6 pending alice 25 failed gus 13 ready bruno 16 closed chen 25 ready alice 5 failed
eli alice gus bruno chen alice
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039811-p1
Given tab-separated input, output column 1 for every record.
BEGIN{FS=OFS="\t"}{print $1}
hana 10 ready ivan 16 active farah 3 failed hana 20 paused bruno 12 paused jules 4 closed lina 13 pending ivan 24 failed bruno 12 ready
hana ivan farah hana bruno jules lina ivan bruno
eli 6 pending alice 25 failed gus 13 ready bruno 16 closed chen 25 ready alice 5 failed
eli alice gus bruno chen alice
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039811
qwen/qwen3.7-plus
awkweave-0039812
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 21.
BEGIN{FS=OFS=","}$2>21{print $1}
bruno,2,ready alice,5,failed chen,11,pending bruno,27,closed jules,29,active gus,25,failed
bruno jules gus
ivan,13,pending gus,20,failed bruno,14,active farah,29,paused lina,25,active hana,25,pending eli,26,failed gus,21,paused eli,18,ready gus,11,closed
farah lina hana eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039812-p1
Given simple comma-separated input without quoted commas, output the first column whenever the second column is greater than 21.
BEGIN{FS=OFS=","}$2>21{print $1}
bruno,2,ready alice,5,failed chen,11,pending bruno,27,closed jules,29,active gus,25,failed
bruno jules gus
ivan,13,pending gus,20,failed bruno,14,active farah,29,paused lina,25,active hana,25,pending eli,26,failed gus,21,paused eli,18,ready gus,11,closed
farah lina hana eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039812
qwen/qwen3.7-plus
awkweave-0039813
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
hana amber 102 eli fable 101 farah fable 38 jules amber 2 eli juniper 117 gus juniper 46 jules fable 62 dina amber 94
hana amber 102 eli fable 101 farah fable 38 jules amber 2 eli juniper 117 gus juniper 46 jules fable 62 dina amber 94
farah delta 117 hana delta 54 alice birch 8 gus grove 89 ivan grove 61 chen ember 78 jules indigo 118 chen birch 26
farah delta 117 hana delta 54 alice birch 8 gus grove 89 ivan grove 61 chen ember 78 jules indigo 118 chen birch 26
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039813-p1
Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
hana amber 102 eli fable 101 farah fable 38 jules amber 2 eli juniper 117 gus juniper 46 jules fable 62 dina amber 94
hana amber 102 eli fable 101 farah fable 38 jules amber 2 eli juniper 117 gus juniper 46 jules fable 62 dina amber 94
farah delta 117 hana delta 54 alice birch 8 gus grove 89 ivan grove 61 chen ember 78 jules indigo 118 chen birch 26
farah delta 117 hana delta 54 alice birch 8 gus grove 89 ivan grove 61 chen ember 78 jules indigo 118 chen birch 26
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039813
qwen/qwen3.7-plus
awkweave-0039814
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim fable 26 pending eli harbor 63 closed eli indigo 96 ready dina birch 38 active gus indigo 59 active dina harbor 0 failed bruno juniper 56 ready chen delta 119 paused gus ember 57 pending
bruno juniper 56 ready
hana birch 104 ready alice delta 50 paused dina harbor 58 closed kim harbor 66 ready gus ember 78 active alice grove 95 closed bruno cobalt 22 ready hana amber 90 closed chen juniper 40 paused
chen juniper 40 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039814-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
kim fable 26 pending eli harbor 63 closed eli indigo 96 ready dina birch 38 active gus indigo 59 active dina harbor 0 failed bruno juniper 56 ready chen delta 119 paused gus ember 57 pending
bruno juniper 56 ready
hana birch 104 ready alice delta 50 paused dina harbor 58 closed kim harbor 66 ready gus ember 78 active alice grove 95 closed bruno cobalt 22 ready hana amber 90 closed chen juniper 40 paused
chen juniper 40 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039814
qwen/qwen3.7-plus
awkweave-0039815
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
kim 102 gus 13 chen 106 dina 32 ivan 118 eli 96 dina 95
gus 13 dina 32 eli 96
bruno 84 gus 48 chen 18 farah 88 lina 65 hana 41 bruno 13
gus 48 farah 88 hana 41
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039815-p1
Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
kim 102 gus 13 chen 106 dina 32 ivan 118 eli 96 dina 95
gus 13 dina 32 eli 96
bruno 84 gus 48 chen 18 farah 88 lina 65 hana 41 bruno 13
gus 48 farah 88 hana 41
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039815
qwen/qwen3.7-plus
awkweave-0039816
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta grove 19 gamma delta 23 beta grove 103 alpha birch 28 alpha delta 84 alpha amber 42
3
alpha juniper 50 alpha indigo 66 alpha cobalt 119 delta fable 73 alpha harbor 68 beta cobalt 73 alpha fable 70 alpha grove 103 beta grove 111 alpha harbor 73
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039816-p1
Calculate the number of unique values found in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
beta grove 19 gamma delta 23 beta grove 103 alpha birch 28 alpha delta 84 alpha amber 42
3
alpha juniper 50 alpha indigo 66 alpha cobalt 119 delta fable 73 alpha harbor 68 beta cobalt 73 alpha fable 70 alpha grove 103 beta grove 111 alpha harbor 73
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039816
qwen/qwen3.7-plus
awkweave-0039817
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 14 0 hana 19 29 farah 25 18 bruno 20 5 eli 2 13 lina 16 6
hana 0.66 farah 1.39 bruno 4.00 eli 0.15 lina 2.67
ivan 9 0 lina 12 2 farah 10 5 kim 19 17 lina 22 28 lina 17 18 eli 30 5 bruno 1 10
lina 6.00 farah 2.00 kim 1.12 lina 0.79 lina 0.94 eli 6.00 bruno 0.10
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039817-p1
For each row where the third column is not zero, print the first column and the result of dividing the second column by the third column, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 14 0 hana 19 29 farah 25 18 bruno 20 5 eli 2 13 lina 16 6
hana 0.66 farah 1.39 bruno 4.00 eli 0.15 lina 2.67
ivan 9 0 lina 12 2 farah 10 5 kim 19 17 lina 22 28 lina 17 18 eli 30 5 bruno 1 10
lina 6.00 farah 2.00 kim 1.12 lina 0.79 lina 0.94 eli 6.00 bruno 0.10
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039817
qwen/qwen3.7-plus
awkweave-0039818
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]}
alice harbor 22 chen amber 7 bruno amber 15 ivan delta 17 dina delta 11 kim cobalt 18 kim delta 11 chen amber 4 bruno harbor 11
alice harbor 22 kim cobalt 18 ivan delta 17
bruno fable 5 lina ember 13 alice delta 15 ivan delta 11 gus cobalt 20 bruno ember 28 gus birch 20 dina birch 27
bruno ember 28 dina birch 27 gus cobalt 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039818-p1
Display 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]}
alice harbor 22 chen amber 7 bruno amber 15 ivan delta 17 dina delta 11 kim cobalt 18 kim delta 11 chen amber 4 bruno harbor 11
alice harbor 22 kim cobalt 18 ivan delta 17
bruno fable 5 lina ember 13 alice delta 15 ivan delta 11 gus cobalt 20 bruno ember 28 gus birch 20 dina birch 27
bruno ember 28 dina birch 27 gus cobalt 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039818
qwen/qwen3.7-plus
awkweave-0039819
For each line, output fields 3 and 2, in that order.
{print $3, $2}
89 closed amber 39 paused 51 failed harbor 87 pending 35 pending delta 73 closed 1 closed birch 5 pending 26 ready grove 50 pending 102 pending amber 98 active 17 pending juniper 6 failed 25 pending grove 94 pending
amber closed harbor failed delta pending birch closed grove ready amber pending juniper pending grove pending
37 paused cobalt 99 pending 62 failed fable 64 active 82 paused harbor 62 active 56 pending ember 4 failed 13 paused delta 48 active 80 pending fable 88 closed
cobalt paused fable failed harbor paused ember pending delta paused fable pending
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039819-p1
For every line, print the third field followed by the second field.
{print $3, $2}
89 closed amber 39 paused 51 failed harbor 87 pending 35 pending delta 73 closed 1 closed birch 5 pending 26 ready grove 50 pending 102 pending amber 98 active 17 pending juniper 6 failed 25 pending grove 94 pending
amber closed harbor failed delta pending birch closed grove ready amber pending juniper pending grove pending
37 paused cobalt 99 pending 62 failed fable 64 active 82 paused harbor 62 active 56 pending ember 4 failed 13 paused delta 48 active 80 pending fable 88 closed
cobalt paused fable failed harbor paused ember pending delta paused fable pending
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039819
qwen/qwen3.7-plus
awkweave-0039820
Print the last field of every input line.
{print $NF}
15 42 failed 22 95 7 39 failed 40 88 60 69 failed 63 51 46 89 failed 18 2 96 85 closed 22 6 24 72 paused 3 50 84 85 failed 14 55 59 26 pending 103 80 56 44 ready 44 67 78 60 paused 5 100
95 88 51 2 6 50 55 80 67 100
10 97 ready 116 9 54 108 paused 16 85 3 29 pending 94 106 50 44 failed 49 46 2 116 pending 48 97 66 41 pending 53 53 18 67 active 68 0 99 92 failed 59 90 41 57 pending 8 77
9 85 106 46 97 53 0 90 77
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039820-p1
Output the final field of each input line.
{print $NF}
15 42 failed 22 95 7 39 failed 40 88 60 69 failed 63 51 46 89 failed 18 2 96 85 closed 22 6 24 72 paused 3 50 84 85 failed 14 55 59 26 pending 103 80 56 44 ready 44 67 78 60 paused 5 100
95 88 51 2 6 50 55 80 67 100
10 97 ready 116 9 54 108 paused 16 85 3 29 pending 94 106 50 44 failed 49 46 2 116 pending 48 97 66 41 pending 53 53 18 67 active 68 0 99 92 failed 59 90 41 57 pending 8 77
9 85 106 46 97 53 0 90 77
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039820
qwen/qwen3.7-plus
awkweave-0039821
Print the complete records where column 2 is less than 62.
$2 < 62
active 80 gus amber active 58 bruno juniper failed 114 bruno grove pending 33 alice harbor closed 87 bruno birch pending 72 gus harbor paused 42 gus birch ready 87 bruno amber failed 38 jules cobalt paused 22 bruno ember
active 58 bruno juniper pending 33 alice harbor paused 42 gus birch failed 38 jules cobalt paused 22 bruno ember
ready 113 kim grove closed 98 eli fable closed 54 gus fable paused 15 lina birch ready 83 ivan birch closed 60 farah juniper ready 22 bruno grove paused 93 farah ember active 56 hana fable ready 21 hana cobalt
closed 54 gus fable paused 15 lina birch closed 60 farah juniper ready 22 bruno grove active 56 hana fable ready 21 hana cobalt
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039821-p1
Print the entire record for any row where the value in column 2 is less than 62.
$2 < 62
active 80 gus amber active 58 bruno juniper failed 114 bruno grove pending 33 alice harbor closed 87 bruno birch pending 72 gus harbor paused 42 gus birch ready 87 bruno amber failed 38 jules cobalt paused 22 bruno ember
active 58 bruno juniper pending 33 alice harbor paused 42 gus birch failed 38 jules cobalt paused 22 bruno ember
ready 113 kim grove closed 98 eli fable closed 54 gus fable paused 15 lina birch ready 83 ivan birch closed 60 farah juniper ready 22 bruno grove paused 93 farah ember active 56 hana fable ready 21 hana cobalt
closed 54 gus fable paused 15 lina birch closed 60 farah juniper ready 22 bruno grove active 56 hana fable ready 21 hana cobalt
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039821
qwen/qwen3.7-plus
awkweave-0039822
Show whole lines whose 3rd field is between 7 and 27, inclusive.
$3 >= 7 && $3 <= 27
lina birch 14 ember lina indigo 12 amber hana delta 21 delta ivan ember 12 delta jules birch 28 birch jules birch 16 fable farah cobalt 28 juniper
lina birch 14 ember lina indigo 12 amber hana delta 21 delta ivan ember 12 delta jules birch 16 fable
alice birch 14 amber lina cobalt 15 grove eli grove 2 birch chen ember 30 harbor eli fable 18 indigo eli birch 3 cobalt ivan juniper 29 grove alice ember 24 indigo lina amber 21 fable jules harbor 3 juniper
alice birch 14 amber lina cobalt 15 grove eli fable 18 indigo alice ember 24 indigo lina amber 21 fable
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039822-p1
Display full lines where the third field has a value between 7 and 27, inclusive.
$3 >= 7 && $3 <= 27
lina birch 14 ember lina indigo 12 amber hana delta 21 delta ivan ember 12 delta jules birch 28 birch jules birch 16 fable farah cobalt 28 juniper
lina birch 14 ember lina indigo 12 amber hana delta 21 delta ivan ember 12 delta jules birch 16 fable
alice birch 14 amber lina cobalt 15 grove eli grove 2 birch chen ember 30 harbor eli fable 18 indigo eli birch 3 cobalt ivan juniper 29 grove alice ember 24 indigo lina amber 21 fable jules harbor 3 juniper
alice birch 14 amber lina cobalt 15 grove eli fable 18 indigo alice ember 24 indigo lina amber 21 fable
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039822
qwen/qwen3.7-plus
awkweave-0039823
Print column 2 only for rows where column 3 is exactly active.
$3 == "active"{print $2}
amber kim active 85 indigo hana pending 18 delta jules paused 67 indigo kim ready 42 harbor lina pending 100 juniper kim failed 45 cobalt hana paused 78 juniper jules active 111
kim jules
fable jules pending 6 cobalt dina closed 4 harbor hana failed 90 birch kim pending 14 amber dina closed 72 juniper alice pending 14 cobalt farah active 110 delta chen active 110 cobalt bruno ready 16
farah chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039823-p1
Output only the second column for rows where the third column contains exactly the value 'active'.
$3 == "active"{print $2}
amber kim active 85 indigo hana pending 18 delta jules paused 67 indigo kim ready 42 harbor lina pending 100 juniper kim failed 45 cobalt hana paused 78 juniper jules active 111
kim jules
fable jules pending 6 cobalt dina closed 4 harbor hana failed 90 birch kim pending 14 amber dina closed 72 juniper alice pending 14 cobalt farah active 110 delta chen active 110 cobalt bruno ready 16
farah chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039823
qwen/qwen3.7-plus
awkweave-0039824
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
22 ember INFO 8 birch INFO 74 juniper ERROR 26 juniper DEBUG 19 ember INFO 38 indigo ERROR 33 fable INFO
22 ember INFO 8 birch INFO 19 ember INFO 33 fable INFO
55 amber WARN 2 cobalt DEBUG 29 indigo ERROR 60 birch INFO 120 fable WARN 16 birch DEBUG 84 amber WARN 102 delta INFO
60 birch INFO 102 delta INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039824-p1
Output all fields for lines where the third field starts with INFO.
$3 ~ /^INFO/
22 ember INFO 8 birch INFO 74 juniper ERROR 26 juniper DEBUG 19 ember INFO 38 indigo ERROR 33 fable INFO
22 ember INFO 8 birch INFO 19 ember INFO 33 fable INFO
55 amber WARN 2 cobalt DEBUG 29 indigo ERROR 60 birch INFO 120 fable WARN 16 birch DEBUG 84 amber WARN 102 delta INFO
60 birch INFO 102 delta INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039824
qwen/qwen3.7-plus
awkweave-0039825
Print every line except those containing the exact text delta.
$0 !~ /delta/
cobalt 57 pending juniper 13 closed indigo 34 closed delta 38 pending delta 106 ready juniper 7 ready fable 117 paused delta 999 active
cobalt 57 pending juniper 13 closed indigo 34 closed juniper 7 ready fable 117 paused
birch 57 paused cobalt 103 active amber 119 pending amber 19 pending delta 26 closed ember 32 pending delta 999 active
birch 57 paused cobalt 103 active amber 119 pending amber 19 pending ember 32 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039825-p1
Display every line that does not contain the exact string delta.
$0 !~ /delta/
cobalt 57 pending juniper 13 closed indigo 34 closed delta 38 pending delta 106 ready juniper 7 ready fable 117 paused delta 999 active
cobalt 57 pending juniper 13 closed indigo 34 closed juniper 7 ready fable 117 paused
birch 57 paused cobalt 103 active amber 119 pending amber 19 pending delta 26 closed ember 32 pending delta 999 active
birch 57 paused cobalt 103 active amber 119 pending amber 19 pending ember 32 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039825
qwen/qwen3.7-plus
awkweave-0039826
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
farah fable 18 lina delta 94 chen amber 92 lina juniper 23 chen cobalt 29 jules grove 24 alice fable 115 chen juniper 39 kim cobalt 90
chen amber 92 lina juniper 23
bruno birch 120 ivan indigo 5 alice amber 32 farah ember 27 dina grove 62 chen amber 21 ivan delta 88
alice amber 32 farah ember 27
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039826-p1
Print lines 3 to 4, inclusive.
NR >= 3 && NR <= 4
farah fable 18 lina delta 94 chen amber 92 lina juniper 23 chen cobalt 29 jules grove 24 alice fable 115 chen juniper 39 kim cobalt 90
chen amber 92 lina juniper 23
bruno birch 120 ivan indigo 5 alice amber 32 farah ember 27 dina grove 62 chen amber 21 ivan delta 88
alice amber 32 farah ember 27
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039826
qwen/qwen3.7-plus
awkweave-0039827
Output only the first 5 records.
NR <= 5
farah 58 fable jules 120 fable ivan 41 juniper bruno 71 indigo gus 48 grove lina 104 amber hana 65 fable
farah 58 fable jules 120 fable ivan 41 juniper bruno 71 indigo gus 48 grove
ivan 82 indigo farah 116 harbor gus 10 indigo kim 30 delta gus 40 delta ivan 104 juniper jules 1 cobalt dina 103 harbor gus 65 birch lina 68 fable
ivan 82 indigo farah 116 harbor gus 10 indigo kim 30 delta gus 40 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039827-p1
Output only the first 5 records.
NR <= 5
farah 58 fable jules 120 fable ivan 41 juniper bruno 71 indigo gus 48 grove lina 104 amber hana 65 fable
farah 58 fable jules 120 fable ivan 41 juniper bruno 71 indigo gus 48 grove
ivan 82 indigo farah 116 harbor gus 10 indigo kim 30 delta gus 40 delta ivan 104 juniper jules 1 cobalt dina 103 harbor gus 65 birch lina 68 fable
ivan 82 indigo farah 116 harbor gus 10 indigo kim 30 delta gus 40 delta
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0039827
qwen/qwen3.7-plus
awkweave-0039828
Skip the first line and print every remaining line unchanged.
NR > 1
gus 25 amber farah 31 grove eli 14 cobalt chen 26 delta eli 45 harbor ivan 64 grove hana 107 harbor hana 19 amber
farah 31 grove eli 14 cobalt chen 26 delta eli 45 harbor ivan 64 grove hana 107 harbor hana 19 amber
kim 51 birch alice 82 grove kim 76 indigo ivan 92 harbor lina 106 ember ivan 51 cobalt alice 97 grove hana 25 birch gus 46 harbor
alice 82 grove kim 76 indigo ivan 92 harbor lina 106 ember ivan 51 cobalt alice 97 grove hana 25 birch gus 46 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039828-p1
Omit the first line and print the rest of the lines as they are.
NR > 1
gus 25 amber farah 31 grove eli 14 cobalt chen 26 delta eli 45 harbor ivan 64 grove hana 107 harbor hana 19 amber
farah 31 grove eli 14 cobalt chen 26 delta eli 45 harbor ivan 64 grove hana 107 harbor hana 19 amber
kim 51 birch alice 82 grove kim 76 indigo ivan 92 harbor lina 106 ember ivan 51 cobalt alice 97 grove hana 25 birch gus 46 harbor
alice 82 grove kim 76 indigo ivan 92 harbor lina 106 ember ivan 51 cobalt alice 97 grove hana 25 birch gus 46 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039828
qwen/qwen3.7-plus
awkweave-0039829
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
jules pending 92 jules paused 98 lina pending 115 hana failed 114 hana failed 103 dina ready 97 jules paused 100 alice closed 19 bruno ready 55
2
bruno paused 76 hana pending 55 hana pending 47 eli closed 25 gus paused 23 farah failed 41 lina paused 54
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039829-p1
Count the number of records with 'failed' in column 2, printing 0 if none exist.
$2 == "failed"{n++}END{print n+0}
jules pending 92 jules paused 98 lina pending 115 hana failed 114 hana failed 103 dina ready 97 jules paused 100 alice closed 19 bruno ready 55
2
bruno paused 76 hana pending 55 hana pending 47 eli closed 25 gus paused 23 farah failed 41 lina paused 54
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039829
qwen/qwen3.7-plus
awkweave-0039830
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
birch gus 18 juniper lina 7 birch eli 29 fable gus 3 fable ivan 6 fable ivan 14 birch jules 17 indigo hana 29 harbor alice 23 cobalt kim 14
160
juniper dina 8 indigo gus 21 indigo chen 7 delta gus 4 ember gus 10 cobalt hana 17 juniper bruno 6 grove bruno 10 ember lina 4 juniper kim 13
100
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0039830-p1
Compute and display the sum of integer values in column 3.
{s+=$3}END{print s+0}
birch gus 18 juniper lina 7 birch eli 29 fable gus 3 fable ivan 6 fable ivan 14 birch jules 17 indigo hana 29 harbor alice 23 cobalt kim 14
160
juniper dina 8 indigo gus 21 indigo chen 7 delta gus 4 ember gus 10 cobalt hana 17 juniper bruno 6 grove bruno 10 ember lina 4 juniper kim 13
100
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0039830
qwen/qwen3.7-plus
awkweave-0039831
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
2 cobalt dina 18 ember lina 7 cobalt lina 17 delta dina 10 grove alice 18 ember chen 3 amber eli 15 amber ivan 4 grove jules 24 ember gus
11.80
27 ember bruno 21 juniper lina 2 juniper jules 12 juniper alice 13 grove chen 19 harbor ivan 28 ember gus 5 indigo kim 11 indigo gus 20 birch gus
15.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null