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-0056723
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
chen birch 35 gus grove 94 dina birch 65 ivan grove 89 chen fable 21 ivan amber 6 ivan juniper 65 hana cobalt 86 dina fable 77 alice amber 0
chen birch 35 gus grove 94 chen fable 21 ivan amber 6 ivan juniper 65 hana cobalt 86
bruno amber 59 jules amber 87 hana amber 94 jules amber 109 kim grove 27 chen grove 80 lina fable 44 chen juniper 102 bruno indigo 1 chen harbor 24
bruno amber 59 kim grove 27 lina fable 44 chen juniper 102 bruno indigo 1 chen harbor 24
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056723-p1
Retain only the initial row for every unique value in the second column, keeping the original input order.
!seen[$2]++
chen birch 35 gus grove 94 dina birch 65 ivan grove 89 chen fable 21 ivan amber 6 ivan juniper 65 hana cobalt 86 dina fable 77 alice amber 0
chen birch 35 gus grove 94 chen fable 21 ivan amber 6 ivan juniper 65 hana cobalt 86
bruno amber 59 jules amber 87 hana amber 94 jules amber 109 kim grove 27 chen grove 80 lina fable 44 chen juniper 102 bruno indigo 1 chen harbor 24
bruno amber 59 kim grove 27 lina fable 44 chen juniper 102 bruno indigo 1 chen harbor 24
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056723
qwen/qwen3.7-plus
awkweave-0056724
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 18 amber gus 12 cobalt ivan 12 cobalt hana 28 juniper lina 16 amber farah 16 grove
farah 18 gus 30 ivan 42 hana 70 lina 86 farah 102
farah 2 delta kim 24 ember jules 22 juniper alice 11 birch farah 20 birch chen 22 delta chen 13 indigo eli 4 ember kim 21 delta lina 30 birch
farah 2 kim 26 jules 48 alice 59 farah 79 chen 101 chen 114 eli 118 kim 139 lina 169
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056724-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
farah 18 amber gus 12 cobalt ivan 12 cobalt hana 28 juniper lina 16 amber farah 16 grove
farah 18 gus 30 ivan 42 hana 70 lina 86 farah 102
farah 2 delta kim 24 ember jules 22 juniper alice 11 birch farah 20 birch chen 22 delta chen 13 indigo eli 4 ember kim 21 delta lina 30 birch
farah 2 kim 26 jules 48 alice 59 farah 79 chen 101 chen 114 eli 118 kim 139 lina 169
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056724
qwen/qwen3.7-plus
awkweave-0056725
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 24 2 amber lina 18 22 fable jules 15 11 delta alice 30 20 juniper lina 29 28 cobalt ivan 15 23 grove alice 29 3 delta bruno 29 13 delta kim 30 18 harbor
hana 26 lina 40 jules 26 alice 50 lina 57 ivan 38 alice 32 bruno 42 kim 48
alice 23 6 delta kim 12 6 birch eli 1 29 delta alice 22 17 cobalt ivan 5 19 juniper ivan 28 12 birch bruno 24 28 juniper alice 28 24 ember ivan 30 11 birch
alice 29 kim 18 eli 30 alice 39 ivan 24 ivan 40 bruno 52 alice 52 ivan 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056725-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
hana 24 2 amber lina 18 22 fable jules 15 11 delta alice 30 20 juniper lina 29 28 cobalt ivan 15 23 grove alice 29 3 delta bruno 29 13 delta kim 30 18 harbor
hana 26 lina 40 jules 26 alice 50 lina 57 ivan 38 alice 32 bruno 42 kim 48
alice 23 6 delta kim 12 6 birch eli 1 29 delta alice 22 17 cobalt ivan 5 19 juniper ivan 28 12 birch bruno 24 28 juniper alice 28 24 ember ivan 30 11 birch
alice 29 kim 18 eli 30 alice 39 ivan 24 ivan 40 bruno 52 alice 52 ivan 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056725
qwen/qwen3.7-plus
awkweave-0056726
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
farah 10 dina 25 bruno 29 kim 10 farah 11 dina 22
farah fail dina pass bruno pass kim fail farah fail dina pass
eli 20 dina 13 kim 7 bruno 23 chen 13 farah 25 kim 4 dina 9 farah 18 alice 9
eli pass dina fail kim fail bruno pass chen fail farah pass kim fail dina fail farah fail alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056726-p1
Output the first column along with 'pass' if the second column is 20 or greater, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
farah 10 dina 25 bruno 29 kim 10 farah 11 dina 22
farah fail dina pass bruno pass kim fail farah fail dina pass
eli 20 dina 13 kim 7 bruno 23 chen 13 farah 25 kim 4 dina 9 farah 18 alice 9
eli pass dina fail kim fail bruno pass chen fail farah pass kim fail dina fail farah fail alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056726
qwen/qwen3.7-plus
awkweave-0056727
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
farah grove 7 jules delta 86 chen birch 37 bruno grove 34 alice juniper 19 dina delta 104 alice juniper 33
FARAH JULES CHEN BRUNO ALICE DINA ALICE
alice harbor 86 gus juniper 21 kim fable 29 eli juniper 70 farah amber 94 farah juniper 0
ALICE GUS KIM ELI FARAH FARAH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056727-p1
Transform the first column to uppercase letters and print only that column.
{print toupper($1)}
farah grove 7 jules delta 86 chen birch 37 bruno grove 34 alice juniper 19 dina delta 104 alice juniper 33
FARAH JULES CHEN BRUNO ALICE DINA ALICE
alice harbor 86 gus juniper 21 kim fable 29 eli juniper 70 farah amber 94 farah juniper 0
ALICE GUS KIM ELI FARAH FARAH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056727
qwen/qwen3.7-plus
awkweave-0056728
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
harbor 5 ember 95 delta 69 grove 63 ember 99 harbor 33 birch 50
rbo ber lta ove ber rbo rch
harbor 42 juniper 70 birch 116 grove 62 fable 44 indigo 24 indigo 81 juniper 67 indigo 71
rbo nip rch ove ble dig dig nip dig
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056728-p1
Extract and print a substring of length 3 from the first column, starting at the third character.
{print substr($1,3,3)}
harbor 5 ember 95 delta 69 grove 63 ember 99 harbor 33 birch 50
rbo ber lta ove ber rbo rch
harbor 42 juniper 70 birch 116 grove 62 fable 44 indigo 24 indigo 81 juniper 67 indigo 71
rbo nip rch ove ble dig dig nip dig
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056728
qwen/qwen3.7-plus
awkweave-0056729
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_cobalt 120 indigo_grove 103 harbor_indigo 10 juniper_amber 54 indigo_indigo 86 indigo_indigo 96
cobalt cobalt indigo grove harbor indigo juniper amber indigo indigo indigo indigo
fable_birch 79 ember_grove 89 birch_birch 115 fable_amber 7 juniper_grove 21 fable_ember 5
fable birch ember grove birch birch fable amber juniper grove fable ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056729-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_cobalt 120 indigo_grove 103 harbor_indigo 10 juniper_amber 54 indigo_indigo 86 indigo_indigo 96
cobalt cobalt indigo grove harbor indigo juniper amber indigo indigo indigo indigo
fable_birch 79 ember_grove 89 birch_birch 115 fable_amber 7 juniper_grove 21 fable_ember 5
fable birch ember grove birch birch fable amber juniper grove fable ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056729
qwen/qwen3.7-plus
awkweave-0056730
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)}
alice amber 80 closed ivan birch 33 active dina indigo 84 pending hana fable 51 active alice indigo 71 active kim indigo 53 paused lina delta 15 pending
closed 80 amber alice active 33 birch ivan pending 84 indigo dina active 51 fable hana active 71 indigo alice paused 53 indigo kim pending 15 delta lina
farah birch 79 active jules juniper 8 ready hana fable 35 active jules birch 63 ready ivan cobalt 6 ready lina ember 50 ready jules cobalt 75 closed eli delta 38 closed ivan amber 18 ready hana juniper 35 paused
active 79 birch farah ready 8 juniper jules active 35 fable hana ready 63 birch jules ready 6 cobalt ivan ready 50 ember lina closed 75 cobalt jules closed 38 delta eli ready 18 amber ivan paused 35 juniper hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056730-p1
Reverse the field order on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice amber 80 closed ivan birch 33 active dina indigo 84 pending hana fable 51 active alice indigo 71 active kim indigo 53 paused lina delta 15 pending
closed 80 amber alice active 33 birch ivan pending 84 indigo dina active 51 fable hana active 71 indigo alice paused 53 indigo kim pending 15 delta lina
farah birch 79 active jules juniper 8 ready hana fable 35 active jules birch 63 ready ivan cobalt 6 ready lina ember 50 ready jules cobalt 75 closed eli delta 38 closed ivan amber 18 ready hana juniper 35 paused
active 79 birch farah ready 8 juniper jules active 35 fable hana ready 63 birch jules ready 6 cobalt ivan ready 50 ember lina closed 75 cobalt jules closed 38 delta eli ready 18 amber ivan paused 35 juniper hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056730
qwen/qwen3.7-plus
awkweave-0056731
Print the number of whitespace-separated fields on each line.
{print NF}
hana harbor 25 pending farah grove 5 pending ivan fable 109 ready chen amber 112 failed bruno juniper 56 pending chen delta 93 closed jules ember 108 failed eli fable 91 pending dina juniper 52 active
4 4 4 4 4 4 4 4 4
eli indigo 74 paused chen amber 9 failed kim ember 100 pending dina juniper 91 pending dina juniper 1 failed bruno harbor 15 active ivan harbor 52 closed gus grove 16 active jules juniper 94 failed bruno fable 120 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056731-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
hana harbor 25 pending farah grove 5 pending ivan fable 109 ready chen amber 112 failed bruno juniper 56 pending chen delta 93 closed jules ember 108 failed eli fable 91 pending dina juniper 52 active
4 4 4 4 4 4 4 4 4
eli indigo 74 paused chen amber 9 failed kim ember 100 pending dina juniper 91 pending dina juniper 1 failed bruno harbor 15 active ivan harbor 52 closed gus grove 16 active jules juniper 94 failed bruno fable 120 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056731
qwen/qwen3.7-plus
awkweave-0056732
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]]}
dina alpha 108 eli delta 61 hana gamma 58 chen gamma 54 farah gamma 83 ivan alpha 116 lina delta 106 lina gamma 36 hana beta 111
alpha 2 delta 2 gamma 4 beta 1
lina gamma 84 eli gamma 98 dina beta 81 lina gamma 75 dina gamma 118 kim delta 104 eli delta 110 dina gamma 24 ivan alpha 50 gus alpha 46
gamma 5 beta 1 delta 2 alpha 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056732-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]]}
dina alpha 108 eli delta 61 hana gamma 58 chen gamma 54 farah gamma 83 ivan alpha 116 lina delta 106 lina gamma 36 hana beta 111
alpha 2 delta 2 gamma 4 beta 1
lina gamma 84 eli gamma 98 dina beta 81 lina gamma 75 dina gamma 118 kim delta 104 eli delta 110 dina gamma 24 ivan alpha 50 gus alpha 46
gamma 5 beta 1 delta 2 alpha 2
count_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0056732
qwen/qwen3.7-plus
awkweave-0056733
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]]}
kim alpha 12 farah gamma 23 eli delta 1 eli beta 11 farah delta 15 ivan delta 28
alpha 12 gamma 23 delta 44 beta 11
jules gamma 8 bruno beta 16 farah gamma 22 lina beta 2 chen gamma 9 eli beta 3
gamma 39 beta 21
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056733-p1
Calculate the sum of column 3 grouped by column 2 values, displaying the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
kim alpha 12 farah gamma 23 eli delta 1 eli beta 11 farah delta 15 ivan delta 28
alpha 12 gamma 23 delta 44 beta 11
jules gamma 8 bruno beta 16 farah gamma 22 lina beta 2 chen gamma 9 eli beta 3
gamma 39 beta 21
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056733
qwen/qwen3.7-plus
awkweave-0056734
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta birch 22 beta delta 82 gamma delta 38 delta ember 107 alpha grove 103 alpha birch 87
beta 2 alpha 2
alpha ember 51 beta indigo 90 beta amber 26 alpha juniper 66 alpha delta 85 alpha amber 45 delta fable 103 alpha juniper 5 beta juniper 113
alpha 5 beta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056734-p1
List each duplicate value from column 1 with its frequency, sorted 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]]}
beta birch 22 beta delta 82 gamma delta 38 delta ember 107 alpha grove 103 alpha birch 87
beta 2 alpha 2
alpha ember 51 beta indigo 90 beta amber 26 alpha juniper 66 alpha delta 85 alpha amber 45 delta fable 103 alpha juniper 5 beta juniper 113
alpha 5 beta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056734
qwen/qwen3.7-plus
awkweave-0056735
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
record_id display_name note state r001 jules 11 closed r002 jules 27 pending r003 alice 2 closed r004 bruno 20 ready r005 dina 2 failed r006 alice 12 active r007 alice 28 closed r008 lina 23 paused r009 bruno 30 paused
jules jules alice bruno dina alice alice lina bruno
record_id display_name note state r001 dina 22 paused r002 chen 18 paused r003 bruno 23 pending r004 chen 28 closed r005 bruno 1 active r006 chen 10 pending r007 gus 6 failed r008 gus 18 pending r009 lina 6 ready
dina chen bruno chen bruno chen gus gus lina
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056735-p1
Treating the first line as a header, output the display_name column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
record_id display_name note state r001 jules 11 closed r002 jules 27 pending r003 alice 2 closed r004 bruno 20 ready r005 dina 2 failed r006 alice 12 active r007 alice 28 closed r008 lina 23 paused r009 bruno 30 paused
jules jules alice bruno dina alice alice lina bruno
record_id display_name note state r001 dina 22 paused r002 chen 18 paused r003 bruno 23 pending r004 chen 28 closed r005 bruno 1 active r006 chen 10 pending r007 gus 6 failed r008 gus 18 pending r009 lina 6 ready
dina chen bruno chen bruno chen gus gus lina
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056735
qwen/qwen3.7-plus
awkweave-0056736
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 eli 30 failed r002 eli 21 paused r003 lina 25 failed r004 eli 21 active r005 eli 28 closed r006 lina 26 ready
eli eli lina eli eli lina
record_id display_name score state r001 jules 11 pending r002 kim 12 closed r003 bruno 4 paused r004 gus 10 paused r005 eli 3 paused r006 bruno 9 pending r007 dina 8 closed
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056736-p1
With the first row as a header, print the display_name for data rows where the score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 eli 30 failed r002 eli 21 paused r003 lina 25 failed r004 eli 21 active r005 eli 28 closed r006 lina 26 ready
eli eli lina eli eli lina
record_id display_name score state r001 jules 11 pending r002 kim 12 closed r003 bruno 4 paused r004 gus 10 paused r005 eli 3 paused r006 bruno 9 pending r007 dina 8 closed
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056736
qwen/qwen3.7-plus
awkweave-0056737
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
bruno 21 closed gus 17 active hana 20 closed lina 17 active dina 3 active kim 26 paused alice 11 closed eli 20 closed gus 13 closed kim 8 paused
21 17 20 17 3 26 11 20 13 8
jules 2 ready farah 24 failed bruno 18 paused bruno 23 failed eli 25 failed kim 11 paused alice 24 active gus 29 paused gus 12 ready
2 24 18 23 25 11 24 29 12
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056737-p1
Given tab-separated input, extract and print the second column from each record.
BEGIN{FS=OFS="\t"}{print $2}
bruno 21 closed gus 17 active hana 20 closed lina 17 active dina 3 active kim 26 paused alice 11 closed eli 20 closed gus 13 closed kim 8 paused
21 17 20 17 3 26 11 20 13 8
jules 2 ready farah 24 failed bruno 18 paused bruno 23 failed eli 25 failed kim 11 paused alice 24 active gus 29 paused gus 12 ready
2 24 18 23 25 11 24 29 12
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056737
qwen/qwen3.7-plus
awkweave-0056738
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,20,paused kim,25,failed bruno,25,ready chen,28,paused bruno,8,ready jules,11,failed
kim bruno chen
dina,30,paused bruno,21,ready lina,27,paused bruno,11,active ivan,21,active chen,15,failed farah,16,active ivan,21,ready eli,12,pending
dina lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056738-p1
For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 21.
BEGIN{FS=OFS=","}$2>21{print $1}
bruno,20,paused kim,25,failed bruno,25,ready chen,28,paused bruno,8,ready jules,11,failed
kim bruno chen
dina,30,paused bruno,21,ready lina,27,paused bruno,11,active ivan,21,active chen,15,failed farah,16,active ivan,21,ready eli,12,pending
dina lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056738
qwen/qwen3.7-plus
awkweave-0056739
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan indigo 38 lina amber 6 alice delta 86 gus harbor 49 hana ember 19 bruno indigo 9 dina cobalt 96 chen amber 41
ivan indigo 38 lina amber 6 alice delta 86 gus harbor 49 hana ember 19 bruno indigo 9 dina cobalt 96 chen amber 41
ivan ember 46 eli fable 31 lina birch 117 gus birch 25 farah juniper 70 dina ember 19 lina delta 96 lina ember 25 chen indigo 34
ivan ember 46 eli fable 31 lina birch 117 gus birch 25 farah juniper 70 dina ember 19 lina delta 96 lina ember 25 chen indigo 34
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056739-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
ivan indigo 38 lina amber 6 alice delta 86 gus harbor 49 hana ember 19 bruno indigo 9 dina cobalt 96 chen amber 41
ivan indigo 38 lina amber 6 alice delta 86 gus harbor 49 hana ember 19 bruno indigo 9 dina cobalt 96 chen amber 41
ivan ember 46 eli fable 31 lina birch 117 gus birch 25 farah juniper 70 dina ember 19 lina delta 96 lina ember 25 chen indigo 34
ivan ember 46 eli fable 31 lina birch 117 gus birch 25 farah juniper 70 dina ember 19 lina delta 96 lina ember 25 chen indigo 34
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056739
qwen/qwen3.7-plus
awkweave-0056740
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan cobalt 112 failed eli grove 87 ready hana delta 94 active gus indigo 101 pending eli ember 54 active eli grove 87 closed
ivan cobalt 112 failed
eli fable 82 active bruno ember 67 ready farah birch 2 pending chen amber 28 failed hana amber 83 pending hana harbor 49 paused eli ember 1 pending dina harbor 120 active
dina harbor 120 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056740-p1
Identify and print 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}
ivan cobalt 112 failed eli grove 87 ready hana delta 94 active gus indigo 101 pending eli ember 54 active eli grove 87 closed
ivan cobalt 112 failed
eli fable 82 active bruno ember 67 ready farah birch 2 pending chen amber 28 failed hana amber 83 pending hana harbor 49 paused eli ember 1 pending dina harbor 120 active
dina harbor 120 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056740
qwen/qwen3.7-plus
awkweave-0056741
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
ivan 113 farah 41 chen 61 farah 87 gus 4 farah 4
ivan 113 farah 87
alice 111 kim 90 lina 20 kim 93 jules 37 alice 42 jules 68 chen 14 dina 91
alice 111 kim 93 jules 68
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056741-p1
Print every third line beginning with line 1 (i.e., lines 1, 4, 7, ...).
NR%3==1
ivan 113 farah 41 chen 61 farah 87 gus 4 farah 4
ivan 113 farah 87
alice 111 kim 90 lina 20 kim 93 jules 37 alice 42 jules 68 chen 14 dina 91
alice 111 kim 93 jules 68
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056741
qwen/qwen3.7-plus
awkweave-0056742
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma delta 109 alpha cobalt 7 gamma delta 76 gamma ember 22 alpha juniper 36 delta amber 43
5
beta birch 39 gamma grove 4 beta birch 70 gamma birch 7 gamma indigo 100 delta birch 60 delta fable 15
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056742-p1
Calculate the number of unique entries in the second column and output just that total.
{if(!seen[$2]++)n++}END{print n+0}
gamma delta 109 alpha cobalt 7 gamma delta 76 gamma ember 22 alpha juniper 36 delta amber 43
5
beta birch 39 gamma grove 4 beta birch 70 gamma birch 7 gamma indigo 100 delta birch 60 delta fable 15
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056742
qwen/qwen3.7-plus
awkweave-0056743
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 30 0 alice 18 26 bruno 21 29 hana 24 2 lina 4 7 dina 9 8 eli 14 7 lina 2 5 chen 2 1
alice 0.69 bruno 0.72 hana 12.00 lina 0.57 dina 1.12 eli 2.00 lina 0.40 chen 2.00
gus 28 0 alice 28 7 alice 15 11 ivan 15 6 bruno 10 21 chen 4 9 jules 24 17 lina 15 16
alice 4.00 alice 1.36 ivan 2.50 bruno 0.48 chen 0.44 jules 1.41 lina 0.94
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056743-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 30 0 alice 18 26 bruno 21 29 hana 24 2 lina 4 7 dina 9 8 eli 14 7 lina 2 5 chen 2 1
alice 0.69 bruno 0.72 hana 12.00 lina 0.57 dina 1.12 eli 2.00 lina 0.40 chen 2.00
gus 28 0 alice 28 7 alice 15 11 ivan 15 6 bruno 10 21 chen 4 9 jules 24 17 lina 15 16
alice 4.00 alice 1.36 ivan 2.50 bruno 0.48 chen 0.44 jules 1.41 lina 0.94
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056743
qwen/qwen3.7-plus
awkweave-0056744
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]}
jules delta 22 lina delta 20 chen fable 26 chen grove 3 hana indigo 11 ivan ember 25
chen fable 26 ivan ember 25 jules delta 22
eli ember 12 jules fable 25 kim cobalt 19 ivan cobalt 22 lina birch 6 bruno fable 3 dina harbor 28 eli amber 18
dina harbor 28 jules fable 25 ivan cobalt 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056744-p1
Retrieve the top three rows 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]}
jules delta 22 lina delta 20 chen fable 26 chen grove 3 hana indigo 11 ivan ember 25
chen fable 26 ivan ember 25 jules delta 22
eli ember 12 jules fable 25 kim cobalt 19 ivan cobalt 22 lina birch 6 bruno fable 3 dina harbor 28 eli amber 18
dina harbor 28 jules fable 25 ivan cobalt 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056744
qwen/qwen3.7-plus
awkweave-0056745
For each line, output fields 2 and 1, in that order.
{print $2, $1}
birch 99 93 113 indigo 4 114 50 indigo 63 45 9 birch 106 7 0 birch 94 65 105 cobalt 110 26 53 cobalt 19 30 76
99 birch 4 indigo 63 indigo 106 birch 94 birch 110 cobalt 19 cobalt
juniper 50 51 56 ember 81 77 87 birch 35 14 91 amber 98 112 30 juniper 94 84 108 juniper 84 52 5 delta 98 16 67 ember 30 109 21 indigo 58 65 66
50 juniper 81 ember 35 birch 98 amber 94 juniper 84 juniper 98 delta 30 ember 58 indigo
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056745-p1
Output the second field followed by the first field for each line.
{print $2, $1}
birch 99 93 113 indigo 4 114 50 indigo 63 45 9 birch 106 7 0 birch 94 65 105 cobalt 110 26 53 cobalt 19 30 76
99 birch 4 indigo 63 indigo 106 birch 94 birch 110 cobalt 19 cobalt
juniper 50 51 56 ember 81 77 87 birch 35 14 91 amber 98 112 30 juniper 94 84 108 juniper 84 52 5 delta 98 16 67 ember 30 109 21 indigo 58 65 66
50 juniper 81 ember 35 birch 98 amber 94 juniper 84 juniper 98 delta 30 ember 58 indigo
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056745
qwen/qwen3.7-plus
awkweave-0056746
Print the last field of every input line.
{print $NF}
ivan delta 118 eli active amber 84 farah juniper 24 jules pending grove 51 ivan harbor 46 chen pending delta 8 bruno grove 35 chen active indigo 48 farah cobalt 9 bruno active harbor 102 lina harbor 75 alice paused cobalt 49 lina ember 27 ivan active delta 93 chen ember 60 bruno closed birch 20 farah cobalt 116 farah a...
84 51 8 48 102 49 93 20 97 109
farah fable 96 kim closed delta 97 ivan cobalt 97 hana paused grove 47 ivan grove 71 bruno closed fable 115 eli delta 55 kim active juniper 24 gus cobalt 108 farah failed fable 78 eli indigo 120 bruno ready juniper 28
97 47 115 24 78 28
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056746-p1
Display the final field from every line of input.
{print $NF}
ivan delta 118 eli active amber 84 farah juniper 24 jules pending grove 51 ivan harbor 46 chen pending delta 8 bruno grove 35 chen active indigo 48 farah cobalt 9 bruno active harbor 102 lina harbor 75 alice paused cobalt 49 lina ember 27 ivan active delta 93 chen ember 60 bruno closed birch 20 farah cobalt 116 farah a...
84 51 8 48 102 49 93 20 97 109
farah fable 96 kim closed delta 97 ivan cobalt 97 hana paused grove 47 ivan grove 71 bruno closed fable 115 eli delta 55 kim active juniper 24 gus cobalt 108 farah failed fable 78 eli indigo 120 bruno ready juniper 28
97 47 115 24 78 28
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056746
qwen/qwen3.7-plus
awkweave-0056747
Print the complete records where column 2 is at least 66.
$2 >= 66
fable 37 closed ember 61 active cobalt 54 ready grove 24 active indigo 23 ready juniper 34 pending fable 1 failed birch 61 paused delta 51 paused harbor 93 failed
harbor 93 failed
juniper 37 closed juniper 32 ready birch 117 closed indigo 20 active juniper 71 failed cobalt 81 pending fable 92 paused birch 59 ready fable 89 failed cobalt 83 paused
birch 117 closed juniper 71 failed cobalt 81 pending fable 92 paused fable 89 failed cobalt 83 paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056747-p1
Output the full records for which the value in column 2 is greater than or equal to 66.
$2 >= 66
fable 37 closed ember 61 active cobalt 54 ready grove 24 active indigo 23 ready juniper 34 pending fable 1 failed birch 61 paused delta 51 paused harbor 93 failed
harbor 93 failed
juniper 37 closed juniper 32 ready birch 117 closed indigo 20 active juniper 71 failed cobalt 81 pending fable 92 paused birch 59 ready fable 89 failed cobalt 83 paused
birch 117 closed juniper 71 failed cobalt 81 pending fable 92 paused fable 89 failed cobalt 83 paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056747
qwen/qwen3.7-plus
awkweave-0056748
Show whole lines whose 1st field is between 9 and 26, inclusive.
$1 >= 9 && $1 <= 26
9 failed fable chen 22 pending birch chen 1 ready harbor bruno 12 failed grove bruno 22 closed delta hana 21 paused delta kim
9 failed fable chen 22 pending birch chen 12 failed grove bruno 22 closed delta hana 21 paused delta kim
10 pending delta chen 10 paused birch dina 25 closed grove gus 1 paused fable dina 9 closed delta gus 15 paused cobalt lina 17 active ember bruno 25 paused fable kim
10 pending delta chen 10 paused birch dina 25 closed grove gus 9 closed delta gus 15 paused cobalt lina 17 active ember bruno 25 paused fable kim
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056748-p1
Print entire lines where the first field falls within the inclusive range of 9 to 26.
$1 >= 9 && $1 <= 26
9 failed fable chen 22 pending birch chen 1 ready harbor bruno 12 failed grove bruno 22 closed delta hana 21 paused delta kim
9 failed fable chen 22 pending birch chen 12 failed grove bruno 22 closed delta hana 21 paused delta kim
10 pending delta chen 10 paused birch dina 25 closed grove gus 1 paused fable dina 9 closed delta gus 15 paused cobalt lina 17 active ember bruno 25 paused fable kim
10 pending delta chen 10 paused birch dina 25 closed grove gus 9 closed delta gus 15 paused cobalt lina 17 active ember bruno 25 paused fable kim
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056748
qwen/qwen3.7-plus
awkweave-0056749
Print column 3 only for rows where column 4 is exactly failed.
$4 == "failed"{print $3}
juniper 115 dina pending amber 30 gus closed harbor 48 ivan ready grove 65 ivan active birch 116 eli ready harbor 35 chen active cobalt 20 hana pending indigo 120 farah active delta 26 bruno ready ember 82 bruno failed
bruno
amber 26 kim ready fable 76 gus closed fable 7 bruno failed amber 113 farah ready grove 104 farah ready ember 118 dina pending harbor 4 farah pending cobalt 4 alice failed delta 35 bruno ready harbor 40 bruno paused
bruno alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056749-p1
Output only the third column for rows where the fourth column matches the exact string 'failed'.
$4 == "failed"{print $3}
juniper 115 dina pending amber 30 gus closed harbor 48 ivan ready grove 65 ivan active birch 116 eli ready harbor 35 chen active cobalt 20 hana pending indigo 120 farah active delta 26 bruno ready ember 82 bruno failed
bruno
amber 26 kim ready fable 76 gus closed fable 7 bruno failed amber 113 farah ready grove 104 farah ready ember 118 dina pending harbor 4 farah pending cobalt 4 alice failed delta 35 bruno ready harbor 40 bruno paused
bruno alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056749
qwen/qwen3.7-plus
awkweave-0056750
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
cobalt WARN 78 delta WARN 89 delta ERROR 116 delta DEBUG 118 delta ERROR 11 cobalt ERROR 114 cobalt ERROR 62 indigo INFO 19 birch INFO 27
indigo INFO 19 birch INFO 27
amber INFO 48 indigo WARN 91 grove WARN 30 delta ERROR 60 cobalt WARN 79 grove DEBUG 64 cobalt INFO 53 amber ERROR 51
amber INFO 48 cobalt INFO 53
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056750-p1
Print all fields from lines where the second field starts with the prefix 'INFO'.
$2 ~ /^INFO/
cobalt WARN 78 delta WARN 89 delta ERROR 116 delta DEBUG 118 delta ERROR 11 cobalt ERROR 114 cobalt ERROR 62 indigo INFO 19 birch INFO 27
indigo INFO 19 birch INFO 27
amber INFO 48 indigo WARN 91 grove WARN 30 delta ERROR 60 cobalt WARN 79 grove DEBUG 64 cobalt INFO 53 amber ERROR 51
amber INFO 48 cobalt INFO 53
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056750
qwen/qwen3.7-plus
awkweave-0056751
Print every line except those containing the exact text ember.
$0 !~ /ember/
amber 9 paused delta 18 paused harbor 45 failed indigo 110 pending indigo 64 closed cobalt 17 paused harbor 10 pending fable 39 closed fable 92 closed ember 107 active ember 999 active
amber 9 paused delta 18 paused harbor 45 failed indigo 110 pending indigo 64 closed cobalt 17 paused harbor 10 pending fable 39 closed fable 92 closed
grove 72 active amber 78 pending grove 89 paused indigo 77 paused amber 40 pending amber 90 paused birch 28 active delta 23 active ember 999 active
grove 72 active amber 78 pending grove 89 paused indigo 77 paused amber 40 pending amber 90 paused birch 28 active delta 23 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056751-p1
Output every line that does not contain the exact substring 'ember'.
$0 !~ /ember/
amber 9 paused delta 18 paused harbor 45 failed indigo 110 pending indigo 64 closed cobalt 17 paused harbor 10 pending fable 39 closed fable 92 closed ember 107 active ember 999 active
amber 9 paused delta 18 paused harbor 45 failed indigo 110 pending indigo 64 closed cobalt 17 paused harbor 10 pending fable 39 closed fable 92 closed
grove 72 active amber 78 pending grove 89 paused indigo 77 paused amber 40 pending amber 90 paused birch 28 active delta 23 active ember 999 active
grove 72 active amber 78 pending grove 89 paused indigo 77 paused amber 40 pending amber 90 paused birch 28 active delta 23 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056751
qwen/qwen3.7-plus
awkweave-0056752
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
hana indigo 61 hana fable 23 ivan amber 22 hana grove 83 eli cobalt 57 hana delta 99 bruno indigo 100 eli amber 20
hana grove 83 eli cobalt 57 hana delta 99
kim birch 67 kim ember 94 hana birch 3 chen grove 33 jules amber 83 gus juniper 112
chen grove 33 jules amber 83 gus juniper 112
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056752-p1
Print lines 4 through 6, inclusive.
NR >= 4 && NR <= 6
hana indigo 61 hana fable 23 ivan amber 22 hana grove 83 eli cobalt 57 hana delta 99 bruno indigo 100 eli amber 20
hana grove 83 eli cobalt 57 hana delta 99
kim birch 67 kim ember 94 hana birch 3 chen grove 33 jules amber 83 gus juniper 112
chen grove 33 jules amber 83 gus juniper 112
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056752
qwen/qwen3.7-plus
awkweave-0056753
Output only the first 5 records.
NR <= 5
chen 0 harbor lina 63 amber chen 101 juniper kim 106 juniper alice 3 delta chen 47 cobalt hana 70 cobalt farah 92 delta gus 67 fable dina 31 ember
chen 0 harbor lina 63 amber chen 101 juniper kim 106 juniper alice 3 delta
alice 66 juniper gus 83 delta bruno 64 cobalt eli 53 ember dina 26 juniper lina 72 delta bruno 120 grove chen 97 fable
alice 66 juniper gus 83 delta bruno 64 cobalt eli 53 ember dina 26 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056753-p1
Display only the first 5 records.
NR <= 5
chen 0 harbor lina 63 amber chen 101 juniper kim 106 juniper alice 3 delta chen 47 cobalt hana 70 cobalt farah 92 delta gus 67 fable dina 31 ember
chen 0 harbor lina 63 amber chen 101 juniper kim 106 juniper alice 3 delta
alice 66 juniper gus 83 delta bruno 64 cobalt eli 53 ember dina 26 juniper lina 72 delta bruno 120 grove chen 97 fable
alice 66 juniper gus 83 delta bruno 64 cobalt eli 53 ember dina 26 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056753
qwen/qwen3.7-plus
awkweave-0056754
Skip the first line and print every remaining line unchanged.
NR > 1
hana 24 ember hana 106 fable jules 53 fable hana 87 harbor jules 65 birch jules 87 cobalt jules 30 delta farah 9 juniper
hana 106 fable jules 53 fable hana 87 harbor jules 65 birch jules 87 cobalt jules 30 delta farah 9 juniper
dina 25 fable bruno 51 ember eli 40 cobalt jules 84 ember farah 112 juniper lina 16 birch lina 111 delta
bruno 51 ember eli 40 cobalt jules 84 ember farah 112 juniper lina 16 birch lina 111 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056754-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
hana 24 ember hana 106 fable jules 53 fable hana 87 harbor jules 65 birch jules 87 cobalt jules 30 delta farah 9 juniper
hana 106 fable jules 53 fable hana 87 harbor jules 65 birch jules 87 cobalt jules 30 delta farah 9 juniper
dina 25 fable bruno 51 ember eli 40 cobalt jules 84 ember farah 112 juniper lina 16 birch lina 111 delta
bruno 51 ember eli 40 cobalt jules 84 ember farah 112 juniper lina 16 birch lina 111 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056754
qwen/qwen3.7-plus
awkweave-0056755
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
eli closed 34 chen paused 11 ivan pending 81 kim paused 90 gus paused 17 farah failed 60 lina paused 2 gus closed 18 lina closed 102
4
alice paused 49 alice paused 58 ivan failed 106 eli paused 22 hana pending 83 ivan active 111 lina paused 112 farah active 82 chen closed 107
4
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056755-p1
Determine the number of entries where the second column contains 'paused', outputting 0 if no such entries exist.
$2 == "paused"{n++}END{print n+0}
eli closed 34 chen paused 11 ivan pending 81 kim paused 90 gus paused 17 farah failed 60 lina paused 2 gus closed 18 lina closed 102
4
alice paused 49 alice paused 58 ivan failed 106 eli paused 22 hana pending 83 ivan active 111 lina paused 112 farah active 82 chen closed 107
4
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056755
qwen/qwen3.7-plus
awkweave-0056756
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
21 cobalt farah 3 fable gus 19 juniper jules 14 birch chen 26 delta chen 29 indigo ivan 17 ember kim
129
6 harbor farah 27 cobalt ivan 2 amber farah 14 delta dina 24 amber chen 24 ember jules 18 juniper dina 12 cobalt eli 24 juniper farah 4 cobalt farah
155
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056756-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
21 cobalt farah 3 fable gus 19 juniper jules 14 birch chen 26 delta chen 29 indigo ivan 17 ember kim
129
6 harbor farah 27 cobalt ivan 2 amber farah 14 delta dina 24 amber chen 24 ember jules 18 juniper dina 12 cobalt eli 24 juniper farah 4 cobalt farah
155
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056756
qwen/qwen3.7-plus
awkweave-0056757
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
lina ember 16 farah delta 11 hana birch 18 eli fable 20 eli harbor 7 farah cobalt 13
14.17
jules grove 7 dina indigo 5 dina delta 29 jules grove 22 lina indigo 26 eli harbor 4
15.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056757-p1
Output the average of the values in the third column, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
lina ember 16 farah delta 11 hana birch 18 eli fable 20 eli harbor 7 farah cobalt 13
14.17
jules grove 7 dina indigo 5 dina delta 29 jules grove 22 lina indigo 26 eli harbor 4
15.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056757
qwen/qwen3.7-plus
awkweave-0056758
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
dina amber 20 dina delta 21 eli ember 4 ivan ember 17 gus ember 10 gus indigo 10
4
farah juniper 25 alice delta 7 chen juniper 18 gus grove 8 gus harbor 9 bruno indigo 29
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056758-p1
Identify and display the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
dina amber 20 dina delta 21 eli ember 4 ivan ember 17 gus ember 10 gus indigo 10
4
farah juniper 25 alice delta 7 chen juniper 18 gus grove 8 gus harbor 9 bruno indigo 29
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056758
qwen/qwen3.7-plus
awkweave-0056759
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
farah 27 juniper lina 15 ember gus 20 birch gus 11 amber farah 5 indigo eli 30 delta hana 13 indigo lina 13 ember gus 8 indigo
30
ivan 29 indigo gus 8 delta kim 11 indigo chen 8 delta farah 1 ember dina 11 amber lina 19 juniper kim 1 cobalt eli 11 delta
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056759-p1
Identify and display the maximum numeric value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
farah 27 juniper lina 15 ember gus 20 birch gus 11 amber farah 5 indigo eli 30 delta hana 13 indigo lina 13 ember gus 8 indigo
30
ivan 29 indigo gus 8 delta kim 11 indigo chen 8 delta farah 1 ember dina 11 amber lina 19 juniper kim 1 cobalt eli 11 delta
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056759
qwen/qwen3.7-plus
awkweave-0056760
Count all input records and print the total.
END{print NR}
lina 57 eli 28 eli 6 eli 44 bruno 105 eli 68 hana 105 jules 84 ivan 10 jules 74
10
eli 87 alice 4 bruno 81 dina 41 eli 90 alice 111
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056760-p1
Count the total number of input records and print the result.
END{print NR}
lina 57 eli 28 eli 6 eli 44 bruno 105 eli 68 hana 105 jules 84 ivan 10 jules 74
10
eli 87 alice 4 bruno 81 dina 41 eli 90 alice 111
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056760
qwen/qwen3.7-plus
awkweave-0056761
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim juniper 75 bruno delta 114 bruno grove 89 ivan juniper 101 kim indigo 64 eli ember 21 gus indigo 87 jules indigo 78 chen fable 59 bruno grove 89 farah harbor 89
kim juniper 75 bruno delta 114 bruno grove 89 ivan juniper 101 kim indigo 64 eli ember 21 gus indigo 87 jules indigo 78 chen fable 59 farah harbor 89
ivan amber 113 bruno amber 72 hana birch 20 bruno amber 89 dina harbor 8 chen cobalt 111 jules indigo 34 bruno amber 72 jules birch 74 hana fable 56
ivan amber 113 bruno amber 72 hana birch 20 bruno amber 89 dina harbor 8 chen cobalt 111 jules indigo 34 jules birch 74 hana fable 56
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056761-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
kim juniper 75 bruno delta 114 bruno grove 89 ivan juniper 101 kim indigo 64 eli ember 21 gus indigo 87 jules indigo 78 chen fable 59 bruno grove 89 farah harbor 89
kim juniper 75 bruno delta 114 bruno grove 89 ivan juniper 101 kim indigo 64 eli ember 21 gus indigo 87 jules indigo 78 chen fable 59 farah harbor 89
ivan amber 113 bruno amber 72 hana birch 20 bruno amber 89 dina harbor 8 chen cobalt 111 jules indigo 34 bruno amber 72 jules birch 74 hana fable 56
ivan amber 113 bruno amber 72 hana birch 20 bruno amber 89 dina harbor 8 chen cobalt 111 jules indigo 34 jules birch 74 hana fable 56
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056761
qwen/qwen3.7-plus
awkweave-0056762
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
bruno indigo 98 eli amber 61 chen indigo 55 bruno juniper 42 eli harbor 89 alice indigo 87
bruno indigo 98 eli amber 61 bruno juniper 42 eli harbor 89
farah fable 61 ivan delta 93 alice amber 32 kim delta 91 hana cobalt 57 gus fable 2 eli grove 120 ivan birch 50 dina birch 72
farah fable 61 ivan delta 93 alice amber 32 hana cobalt 57 eli grove 120 ivan birch 50
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056762-p1
Retain only the first occurrence for every unique value in the second column, preserving the original sequence.
!seen[$2]++
bruno indigo 98 eli amber 61 chen indigo 55 bruno juniper 42 eli harbor 89 alice indigo 87
bruno indigo 98 eli amber 61 bruno juniper 42 eli harbor 89
farah fable 61 ivan delta 93 alice amber 32 kim delta 91 hana cobalt 57 gus fable 2 eli grove 120 ivan birch 50 dina birch 72
farah fable 61 ivan delta 93 alice amber 32 hana cobalt 57 eli grove 120 ivan birch 50
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056762
qwen/qwen3.7-plus
awkweave-0056763
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 2 grove gus 2 delta alice 17 fable lina 19 cobalt alice 24 amber bruno 22 birch chen 11 birch lina 17 cobalt
gus 2 gus 4 alice 21 lina 40 alice 64 bruno 86 chen 97 lina 114
farah 26 harbor bruno 16 delta dina 26 amber hana 23 harbor farah 16 juniper gus 15 amber
farah 26 bruno 42 dina 68 hana 91 farah 107 gus 122
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056763-p1
For each entry, output the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
gus 2 grove gus 2 delta alice 17 fable lina 19 cobalt alice 24 amber bruno 22 birch chen 11 birch lina 17 cobalt
gus 2 gus 4 alice 21 lina 40 alice 64 bruno 86 chen 97 lina 114
farah 26 harbor bruno 16 delta dina 26 amber hana 23 harbor farah 16 juniper gus 15 amber
farah 26 bruno 42 dina 68 hana 91 farah 107 gus 122
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056763
qwen/qwen3.7-plus
awkweave-0056764
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 2 4 birch ivan 11 12 amber alice 21 25 cobalt alice 6 22 amber lina 21 24 cobalt farah 2 8 harbor ivan 7 6 harbor lina 3 7 harbor chen 1 23 amber
kim 6 ivan 23 alice 46 alice 28 lina 45 farah 10 ivan 13 lina 10 chen 24
gus 8 17 harbor gus 20 13 ember gus 15 4 fable ivan 15 22 harbor lina 17 5 ember alice 3 25 harbor dina 10 19 ember hana 1 4 birch
gus 25 gus 33 gus 19 ivan 37 lina 22 alice 28 dina 29 hana 5
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056764-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 2 4 birch ivan 11 12 amber alice 21 25 cobalt alice 6 22 amber lina 21 24 cobalt farah 2 8 harbor ivan 7 6 harbor lina 3 7 harbor chen 1 23 amber
kim 6 ivan 23 alice 46 alice 28 lina 45 farah 10 ivan 13 lina 10 chen 24
gus 8 17 harbor gus 20 13 ember gus 15 4 fable ivan 15 22 harbor lina 17 5 ember alice 3 25 harbor dina 10 19 ember hana 1 4 birch
gus 25 gus 33 gus 19 ivan 37 lina 22 alice 28 dina 29 hana 5
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056764
qwen/qwen3.7-plus
awkweave-0056765
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
alice 15 chen 28 hana 7 ivan 12 alice 17 lina 9 dina 9 farah 9 gus 15
alice fail chen pass hana fail ivan fail alice fail lina fail dina fail farah fail gus fail
gus 18 eli 25 chen 11 alice 9 ivan 5 lina 22 jules 15 kim 18
gus fail eli pass chen fail alice fail ivan fail lina fail jules fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056765-p1
Output the first column followed by 'pass' if the second column is 25 or greater, otherwise output 'fail'.
{print $1,($2>=25?"pass":"fail")}
alice 15 chen 28 hana 7 ivan 12 alice 17 lina 9 dina 9 farah 9 gus 15
alice fail chen pass hana fail ivan fail alice fail lina fail dina fail farah fail gus fail
gus 18 eli 25 chen 11 alice 9 ivan 5 lina 22 jules 15 kim 18
gus fail eli pass chen fail alice fail ivan fail lina fail jules fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056765
qwen/qwen3.7-plus
awkweave-0056766
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
ivan grove 29 kim harbor 76 farah harbor 92 bruno grove 103 lina juniper 25 alice birch 69 lina cobalt 105 farah indigo 115 gus fable 12
GROVE HARBOR HARBOR GROVE JUNIPER BIRCH COBALT INDIGO FABLE
hana indigo 62 bruno delta 56 lina fable 115 lina delta 94 alice amber 47 lina cobalt 56 jules delta 118 jules birch 3 chen delta 37
INDIGO DELTA FABLE DELTA AMBER COBALT DELTA BIRCH DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056766-p1
Transform the second field to uppercase and output only that field.
{print toupper($2)}
ivan grove 29 kim harbor 76 farah harbor 92 bruno grove 103 lina juniper 25 alice birch 69 lina cobalt 105 farah indigo 115 gus fable 12
GROVE HARBOR HARBOR GROVE JUNIPER BIRCH COBALT INDIGO FABLE
hana indigo 62 bruno delta 56 lina fable 115 lina delta 94 alice amber 47 lina cobalt 56 jules delta 118 jules birch 3 chen delta 37
INDIGO DELTA FABLE DELTA AMBER COBALT DELTA BIRCH DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056766
qwen/qwen3.7-plus
awkweave-0056767
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
delta 38 fable 56 amber 73 harbor 71 harbor 5 grove 56 indigo 13 delta 103 harbor 4 ember 71
delt fabl ambe harb harb grov indi delt harb embe
ember 36 fable 65 grove 43 amber 51 cobalt 55 grove 11 delta 21 cobalt 21 indigo 119 delta 1
embe fabl grov ambe coba grov delt coba indi delt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056767-p1
Extract and display the first four characters from the first column.
{print substr($1,1,4)}
delta 38 fable 56 amber 73 harbor 71 harbor 5 grove 56 indigo 13 delta 103 harbor 4 ember 71
delt fabl ambe harb harb grov indi delt harb embe
ember 36 fable 65 grove 43 amber 51 cobalt 55 grove 11 delta 21 cobalt 21 indigo 119 delta 1
embe fabl grov ambe coba grov delt coba indi delt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056767
qwen/qwen3.7-plus
awkweave-0056768
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_birch 32 cobalt_grove 31 birch_cobalt 119 fable_harbor 65 harbor_cobalt 100 grove_harbor 109 juniper_ember 66
ember birch cobalt grove birch cobalt fable harbor harbor cobalt grove harbor juniper ember
delta_harbor 81 amber_delta 109 ember_amber 3 delta_cobalt 27 grove_amber 103 ember_delta 76 juniper_birch 40 indigo_juniper 24 fable_amber 111
delta harbor amber delta ember amber delta cobalt grove amber ember delta juniper birch indigo juniper fable amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056768-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_birch 32 cobalt_grove 31 birch_cobalt 119 fable_harbor 65 harbor_cobalt 100 grove_harbor 109 juniper_ember 66
ember birch cobalt grove birch cobalt fable harbor harbor cobalt grove harbor juniper ember
delta_harbor 81 amber_delta 109 ember_amber 3 delta_cobalt 27 grove_amber 103 ember_delta 76 juniper_birch 40 indigo_juniper 24 fable_amber 111
delta harbor amber delta ember amber delta cobalt grove amber ember delta juniper birch indigo juniper fable amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056768
qwen/qwen3.7-plus
awkweave-0056769
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)}
bruno indigo 100 paused kim delta 61 paused farah delta 53 failed bruno birch 81 paused eli delta 108 paused bruno juniper 18 closed jules birch 43 paused eli grove 99 failed
paused 100 indigo bruno paused 61 delta kim failed 53 delta farah paused 81 birch bruno paused 108 delta eli closed 18 juniper bruno paused 43 birch jules failed 99 grove eli
gus fable 98 paused dina ember 39 paused farah ember 67 pending kim ember 5 failed eli delta 44 ready chen birch 85 failed bruno delta 22 failed
paused 98 fable gus paused 39 ember dina pending 67 ember farah failed 5 ember kim ready 44 delta eli failed 85 birch chen failed 22 delta bruno
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056769-p1
Reverse the sequence of fields on each line and print every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno indigo 100 paused kim delta 61 paused farah delta 53 failed bruno birch 81 paused eli delta 108 paused bruno juniper 18 closed jules birch 43 paused eli grove 99 failed
paused 100 indigo bruno paused 61 delta kim failed 53 delta farah paused 81 birch bruno paused 108 delta eli closed 18 juniper bruno paused 43 birch jules failed 99 grove eli
gus fable 98 paused dina ember 39 paused farah ember 67 pending kim ember 5 failed eli delta 44 ready chen birch 85 failed bruno delta 22 failed
paused 98 fable gus paused 39 ember dina pending 67 ember farah failed 5 ember kim ready 44 delta eli failed 85 birch chen failed 22 delta bruno
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056769
qwen/qwen3.7-plus
awkweave-0056770
Print the number of whitespace-separated fields on each line.
{print NF}
eli ember 77 failed kim cobalt 7 active jules indigo 74 paused jules harbor 77 closed dina cobalt 104 ready ivan fable 58 failed chen harbor 73 active chen cobalt 38 pending
4 4 4 4 4 4 4 4
farah delta 75 closed chen cobalt 93 ready hana delta 89 failed hana harbor 7 ready dina fable 110 paused kim delta 61 closed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056770-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
eli ember 77 failed kim cobalt 7 active jules indigo 74 paused jules harbor 77 closed dina cobalt 104 ready ivan fable 58 failed chen harbor 73 active chen cobalt 38 pending
4 4 4 4 4 4 4 4
farah delta 75 closed chen cobalt 93 ready hana delta 89 failed hana harbor 7 ready dina fable 110 paused kim delta 61 closed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056770
qwen/qwen3.7-plus
awkweave-0056771
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]]}
bruno alpha 79 lina delta 62 chen alpha 97 alice delta 72 eli delta 0 ivan gamma 77 jules gamma 25
alpha 2 delta 3 gamma 2
bruno beta 28 jules beta 43 ivan gamma 7 gus beta 98 farah gamma 113 lina delta 35 eli delta 55 jules delta 11
beta 3 gamma 2 delta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056771-p1
Tally records by the value in column 2, then print each unique value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
bruno alpha 79 lina delta 62 chen alpha 97 alice delta 72 eli delta 0 ivan gamma 77 jules gamma 25
alpha 2 delta 3 gamma 2
bruno beta 28 jules beta 43 ivan gamma 7 gus beta 98 farah gamma 113 lina delta 35 eli delta 55 jules delta 11
beta 3 gamma 2 delta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056771
qwen/qwen3.7-plus
awkweave-0056772
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]]}
alice beta 12 jules alpha 20 jules alpha 10 hana delta 6 jules delta 14 eli delta 5 farah delta 17 bruno alpha 16 kim delta 9
beta 12 alpha 46 delta 51
farah alpha 24 farah gamma 30 bruno gamma 13 dina alpha 10 farah delta 11 eli gamma 13 jules alpha 14 lina gamma 2 eli gamma 23 hana alpha 19
alpha 67 gamma 81 delta 11
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056772-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying results in the 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]]}
alice beta 12 jules alpha 20 jules alpha 10 hana delta 6 jules delta 14 eli delta 5 farah delta 17 bruno alpha 16 kim delta 9
beta 12 alpha 46 delta 51
farah alpha 24 farah gamma 30 bruno gamma 13 dina alpha 10 farah delta 11 eli gamma 13 jules alpha 14 lina gamma 2 eli gamma 23 hana alpha 19
alpha 67 gamma 81 delta 11
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056772
qwen/qwen3.7-plus