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-0054553
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
gus 12 active ivan 29 pending kim 23 failed jules 6 closed alice 13 pending alice 25 paused dina 24 active kim 12 pending
gus ivan kim jules alice alice dina kim
eli 28 pending farah 8 pending hana 21 active lina 1 pending alice 20 active jules 27 pending ivan 29 active
eli farah hana lina alice jules ivan
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054553-p1
Given tab-separated input, output the first column for every record.
BEGIN{FS=OFS="\t"}{print $1}
gus 12 active ivan 29 pending kim 23 failed jules 6 closed alice 13 pending alice 25 paused dina 24 active kim 12 pending
gus ivan kim jules alice alice dina kim
eli 28 pending farah 8 pending hana 21 active lina 1 pending alice 20 active jules 27 pending ivan 29 active
eli farah hana lina alice jules ivan
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054553
qwen/qwen3.7-plus
awkweave-0054554
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
alice,28,pending bruno,26,pending chen,30,pending gus,29,pending bruno,20,failed lina,25,closed
alice bruno chen gus bruno lina
farah,12,active jules,13,pending hana,7,ready kim,11,pending dina,6,active dina,26,active alice,3,ready
farah jules dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054554-p1
Given simple comma-separated input without quoted commas, output the first column whenever the second column is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
alice,28,pending bruno,26,pending chen,30,pending gus,29,pending bruno,20,failed lina,25,closed
alice bruno chen gus bruno lina
farah,12,active jules,13,pending hana,7,ready kim,11,pending dina,6,active dina,26,active alice,3,ready
farah jules dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054554
qwen/qwen3.7-plus
awkweave-0054555
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen birch 56 alice fable 104 bruno fable 16 bruno harbor 32 lina ember 111 kim cobalt 93 dina delta 98 ivan delta 108 hana cobalt 70
chen birch 56 alice fable 104 bruno fable 16 bruno harbor 32 lina ember 111 kim cobalt 93 dina delta 98 ivan delta 108 hana cobalt 70
jules harbor 76 jules indigo 2 bruno grove 44 bruno ember 39 lina cobalt 43 kim juniper 97 bruno amber 42
jules harbor 76 jules indigo 2 bruno grove 44 bruno ember 39 lina cobalt 43 kim juniper 97 bruno amber 42
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054555-p1
Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen birch 56 alice fable 104 bruno fable 16 bruno harbor 32 lina ember 111 kim cobalt 93 dina delta 98 ivan delta 108 hana cobalt 70
chen birch 56 alice fable 104 bruno fable 16 bruno harbor 32 lina ember 111 kim cobalt 93 dina delta 98 ivan delta 108 hana cobalt 70
jules harbor 76 jules indigo 2 bruno grove 44 bruno ember 39 lina cobalt 43 kim juniper 97 bruno amber 42
jules harbor 76 jules indigo 2 bruno grove 44 bruno ember 39 lina cobalt 43 kim juniper 97 bruno amber 42
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054555
qwen/qwen3.7-plus
awkweave-0054556
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno ember 16 ready hana delta 13 pending hana cobalt 88 closed kim grove 56 closed farah amber 8 paused alice fable 92 failed hana cobalt 103 active
hana cobalt 103 active
hana cobalt 115 paused hana indigo 55 failed lina delta 79 active hana harbor 89 failed alice amber 38 pending kim ember 114 failed eli cobalt 41 pending dina fable 58 paused hana birch 73 paused alice ember 22 active
hana cobalt 115 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054556-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}
bruno ember 16 ready hana delta 13 pending hana cobalt 88 closed kim grove 56 closed farah amber 8 paused alice fable 92 failed hana cobalt 103 active
hana cobalt 103 active
hana cobalt 115 paused hana indigo 55 failed lina delta 79 active hana harbor 89 failed alice amber 38 pending kim ember 114 failed eli cobalt 41 pending dina fable 58 paused hana birch 73 paused alice ember 22 active
hana cobalt 115 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054556
qwen/qwen3.7-plus
awkweave-0054557
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
lina 104 bruno 6 kim 53 ivan 111 ivan 78 kim 2
kim 53
jules 29 kim 21 lina 9 hana 81 kim 1 gus 10 eli 52 dina 0 gus 119
lina 9 eli 52
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054557-p1
Output every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
lina 104 bruno 6 kim 53 ivan 111 ivan 78 kim 2
kim 53
jules 29 kim 21 lina 9 hana 81 kim 1 gus 10 eli 52 dina 0 gus 119
lina 9 eli 52
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054557
qwen/qwen3.7-plus
awkweave-0054558
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 25 gamma delta 23 beta harbor 96 alpha cobalt 52 alpha juniper 120 beta delta 55 gamma grove 60 alpha cobalt 81 delta harbor 28
4
alpha delta 9 gamma grove 10 beta grove 12 alpha amber 63 gamma juniper 22 alpha juniper 28 beta juniper 113
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054558-p1
Calculate the number of unique values in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 25 gamma delta 23 beta harbor 96 alpha cobalt 52 alpha juniper 120 beta delta 55 gamma grove 60 alpha cobalt 81 delta harbor 28
4
alpha delta 9 gamma grove 10 beta grove 12 alpha amber 63 gamma juniper 22 alpha juniper 28 beta juniper 113
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054558
qwen/qwen3.7-plus
awkweave-0054559
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}
ivan 2 0 ivan 4 24 gus 30 16 eli 9 19 bruno 24 2 lina 15 2 kim 30 24 farah 8 25 farah 22 20 gus 22 8
ivan 0.17 gus 1.88 eli 0.47 bruno 12.00 lina 7.50 kim 1.25 farah 0.32 farah 1.10 gus 2.75
dina 23 0 eli 17 14 jules 16 7 bruno 27 2 hana 24 23 chen 3 22
eli 1.21 jules 2.29 bruno 13.50 hana 1.04 chen 0.14
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054559-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 2 0 ivan 4 24 gus 30 16 eli 9 19 bruno 24 2 lina 15 2 kim 30 24 farah 8 25 farah 22 20 gus 22 8
ivan 0.17 gus 1.88 eli 0.47 bruno 12.00 lina 7.50 kim 1.25 farah 0.32 farah 1.10 gus 2.75
dina 23 0 eli 17 14 jules 16 7 bruno 27 2 hana 24 23 chen 3 22
eli 1.21 jules 2.29 bruno 13.50 hana 1.04 chen 0.14
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054559
qwen/qwen3.7-plus
awkweave-0054560
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
eli cobalt 22 kim delta 26 eli cobalt 20 dina juniper 13 alice cobalt 1 lina amber 26 eli grove 20 kim juniper 8
kim delta 26 lina amber 26 eli cobalt 22
kim fable 20 gus harbor 1 dina grove 30 lina ember 12 lina delta 6 farah grove 2 hana amber 24 hana grove 25 hana delta 20 bruno birch 25
dina grove 30 hana grove 25 bruno birch 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054560-p1
Display the top three records based on 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]}
eli cobalt 22 kim delta 26 eli cobalt 20 dina juniper 13 alice cobalt 1 lina amber 26 eli grove 20 kim juniper 8
kim delta 26 lina amber 26 eli cobalt 22
kim fable 20 gus harbor 1 dina grove 30 lina ember 12 lina delta 6 farah grove 2 hana amber 24 hana grove 25 hana delta 20 bruno birch 25
dina grove 30 hana grove 25 bruno birch 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054560
qwen/qwen3.7-plus
awkweave-0054561
Select the 2nd and 1st fields in that order.
{print $2, $1}
dina 102 juniper active alice dina 25 fable ready hana alice 53 cobalt paused jules ivan 2 grove paused gus kim 41 amber closed bruno eli 80 cobalt paused eli
102 dina 25 dina 53 alice 2 ivan 41 kim 80 eli
jules 43 fable paused gus bruno 61 fable failed bruno ivan 77 fable pending farah eli 89 juniper paused alice bruno 112 ember ready alice chen 64 cobalt paused alice ivan 1 indigo paused lina
43 jules 61 bruno 77 ivan 89 eli 112 bruno 64 chen 1 ivan
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054561-p1
Extract and print the second field followed by the first field, in that specific order.
{print $2, $1}
dina 102 juniper active alice dina 25 fable ready hana alice 53 cobalt paused jules ivan 2 grove paused gus kim 41 amber closed bruno eli 80 cobalt paused eli
102 dina 25 dina 53 alice 2 ivan 41 kim 80 eli
jules 43 fable paused gus bruno 61 fable failed bruno ivan 77 fable pending farah eli 89 juniper paused alice bruno 112 ember ready alice chen 64 cobalt paused alice ivan 1 indigo paused lina
43 jules 61 bruno 77 ivan 89 eli 112 bruno 64 chen 1 ivan
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054561
qwen/qwen3.7-plus
awkweave-0054562
Print the last field of every input line.
{print $NF}
birch ivan gus grove closed fable gus dina fable ready grove eli ivan ember active delta lina farah ember paused grove hana ivan indigo failed fable kim jules cobalt closed grove jules chen ember failed cobalt hana chen amber paused birch alice eli fable active
closed ready active paused failed closed failed paused active
fable eli ivan juniper closed grove farah alice amber paused juniper dina lina delta failed fable lina farah grove active amber eli bruno juniper closed birch kim kim delta pending amber alice bruno amber ready delta dina farah indigo active indigo jules eli fable failed grove jules bruno harbor paused
closed paused failed active closed pending ready active failed paused
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054562-p1
Output the final field from every line of the input.
{print $NF}
birch ivan gus grove closed fable gus dina fable ready grove eli ivan ember active delta lina farah ember paused grove hana ivan indigo failed fable kim jules cobalt closed grove jules chen ember failed cobalt hana chen amber paused birch alice eli fable active
closed ready active paused failed closed failed paused active
fable eli ivan juniper closed grove farah alice amber paused juniper dina lina delta failed fable lina farah grove active amber eli bruno juniper closed birch kim kim delta pending amber alice bruno amber ready delta dina farah indigo active indigo jules eli fable failed grove jules bruno harbor paused
closed paused failed active closed pending ready active failed paused
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054562
qwen/qwen3.7-plus
awkweave-0054563
Print the complete records where column 1 is greater than 80.
$1 > 80
38 jules pending juniper delta 63 eli failed amber birch 107 farah pending indigo delta 9 alice paused delta cobalt 120 gus failed grove indigo 2 hana closed amber ember 104 jules failed fable juniper 43 chen failed delta ember 67 farah failed juniper cobalt
107 farah pending indigo delta 120 gus failed grove indigo 104 jules failed fable juniper
15 alice failed cobalt fable 88 alice failed cobalt juniper 68 jules active cobalt delta 64 hana ready delta juniper 47 eli paused delta amber 59 chen closed juniper indigo 4 eli failed amber grove
88 alice failed cobalt juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054563-p1
Print entire records where the value in the first column exceeds 80.
$1 > 80
38 jules pending juniper delta 63 eli failed amber birch 107 farah pending indigo delta 9 alice paused delta cobalt 120 gus failed grove indigo 2 hana closed amber ember 104 jules failed fable juniper 43 chen failed delta ember 67 farah failed juniper cobalt
107 farah pending indigo delta 120 gus failed grove indigo 104 jules failed fable juniper
15 alice failed cobalt fable 88 alice failed cobalt juniper 68 jules active cobalt delta 64 hana ready delta juniper 47 eli paused delta amber 59 chen closed juniper indigo 4 eli failed amber grove
88 alice failed cobalt juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054563
qwen/qwen3.7-plus
awkweave-0054564
Show whole lines whose 3rd field is between 6 and 28, inclusive.
$3 >= 6 && $3 <= 28
gus delta 10 harbor farah grove 7 indigo jules delta 2 delta jules cobalt 11 ember eli ember 2 fable hana indigo 23 fable lina indigo 4 ember ivan juniper 30 cobalt dina ember 15 amber
gus delta 10 harbor farah grove 7 indigo jules cobalt 11 ember hana indigo 23 fable dina ember 15 amber
alice ember 9 harbor gus birch 16 grove farah birch 3 indigo ivan juniper 21 indigo bruno fable 4 indigo jules juniper 24 grove alice harbor 3 birch
alice ember 9 harbor gus birch 16 grove ivan juniper 21 indigo jules juniper 24 grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054564-p1
Display complete lines where the third field falls within the inclusive range of 6 to 28.
$3 >= 6 && $3 <= 28
gus delta 10 harbor farah grove 7 indigo jules delta 2 delta jules cobalt 11 ember eli ember 2 fable hana indigo 23 fable lina indigo 4 ember ivan juniper 30 cobalt dina ember 15 amber
gus delta 10 harbor farah grove 7 indigo jules cobalt 11 ember hana indigo 23 fable dina ember 15 amber
alice ember 9 harbor gus birch 16 grove farah birch 3 indigo ivan juniper 21 indigo bruno fable 4 indigo jules juniper 24 grove alice harbor 3 birch
alice ember 9 harbor gus birch 16 grove ivan juniper 21 indigo jules juniper 24 grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054564
qwen/qwen3.7-plus
awkweave-0054565
Print column 4 only for rows where column 3 is exactly paused.
$3 == "paused"{print $4}
78 amber pending farah 77 grove closed gus 83 grove paused farah 16 birch paused farah 109 ember failed ivan 50 amber active hana 33 harbor paused ivan 45 indigo paused lina 62 harbor pending lina 30 fable ready farah
farah farah ivan lina
13 grove closed gus 22 delta failed lina 85 birch ready eli 48 juniper paused chen 3 grove active bruno 22 indigo paused ivan 53 harbor failed farah 70 cobalt ready farah 58 delta ready gus 54 cobalt closed jules
chen ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054565-p1
Output only the fourth column for rows where the third column contains the exact string 'paused'.
$3 == "paused"{print $4}
78 amber pending farah 77 grove closed gus 83 grove paused farah 16 birch paused farah 109 ember failed ivan 50 amber active hana 33 harbor paused ivan 45 indigo paused lina 62 harbor pending lina 30 fable ready farah
farah farah ivan lina
13 grove closed gus 22 delta failed lina 85 birch ready eli 48 juniper paused chen 3 grove active bruno 22 indigo paused ivan 53 harbor failed farah 70 cobalt ready farah 58 delta ready gus 54 cobalt closed jules
chen ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054565
qwen/qwen3.7-plus
awkweave-0054566
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR harbor 75 ERROR juniper 55 ERROR birch 69 DEBUG harbor 50 DEBUG harbor 85 WARN juniper 37 ERROR harbor 94 ERROR ember 35 ERROR fable 20
ERROR harbor 75 ERROR juniper 55 ERROR birch 69 ERROR harbor 94 ERROR ember 35 ERROR fable 20
INFO cobalt 9 ERROR cobalt 60 WARN indigo 88 ERROR fable 74 INFO juniper 97 WARN delta 34
ERROR cobalt 60 ERROR fable 74
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054566-p1
Display all fields for lines where the first field starts with ERROR.
$1 ~ /^ERROR/
ERROR harbor 75 ERROR juniper 55 ERROR birch 69 DEBUG harbor 50 DEBUG harbor 85 WARN juniper 37 ERROR harbor 94 ERROR ember 35 ERROR fable 20
ERROR harbor 75 ERROR juniper 55 ERROR birch 69 ERROR harbor 94 ERROR ember 35 ERROR fable 20
INFO cobalt 9 ERROR cobalt 60 WARN indigo 88 ERROR fable 74 INFO juniper 97 WARN delta 34
ERROR cobalt 60 ERROR fable 74
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054566
qwen/qwen3.7-plus
awkweave-0054567
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
grove 71 paused juniper 72 ready delta 79 closed fable 25 active juniper 97 failed juniper 109 ready juniper 92 paused delta 87 active harbor 60 active juniper 999 active
grove 71 paused delta 79 closed fable 25 active delta 87 active harbor 60 active
harbor 21 paused harbor 100 active ember 113 closed cobalt 100 active ember 71 failed cobalt 52 paused juniper 47 failed ember 21 ready birch 55 failed juniper 999 active
harbor 21 paused harbor 100 active ember 113 closed cobalt 100 active ember 71 failed cobalt 52 paused ember 21 ready birch 55 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054567-p1
Output every line that does not contain the exact string juniper.
$0 !~ /juniper/
grove 71 paused juniper 72 ready delta 79 closed fable 25 active juniper 97 failed juniper 109 ready juniper 92 paused delta 87 active harbor 60 active juniper 999 active
grove 71 paused delta 79 closed fable 25 active delta 87 active harbor 60 active
harbor 21 paused harbor 100 active ember 113 closed cobalt 100 active ember 71 failed cobalt 52 paused juniper 47 failed ember 21 ready birch 55 failed juniper 999 active
harbor 21 paused harbor 100 active ember 113 closed cobalt 100 active ember 71 failed cobalt 52 paused ember 21 ready birch 55 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054567
qwen/qwen3.7-plus
awkweave-0054568
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
gus harbor 59 hana indigo 110 jules indigo 96 gus amber 21 gus juniper 51 gus delta 52 jules grove 27
gus amber 21 gus juniper 51 gus delta 52
bruno amber 36 lina indigo 72 chen birch 73 ivan birch 67 alice harbor 110 bruno juniper 53 alice birch 41
ivan birch 67 alice harbor 110 bruno juniper 53
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054568-p1
Print lines 4 to 6, inclusive.
NR >= 4 && NR <= 6
gus harbor 59 hana indigo 110 jules indigo 96 gus amber 21 gus juniper 51 gus delta 52 jules grove 27
gus amber 21 gus juniper 51 gus delta 52
bruno amber 36 lina indigo 72 chen birch 73 ivan birch 67 alice harbor 110 bruno juniper 53 alice birch 41
ivan birch 67 alice harbor 110 bruno juniper 53
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054568
qwen/qwen3.7-plus
awkweave-0054569
Output only the first 3 records.
NR <= 3
kim 63 delta gus 44 harbor jules 17 harbor dina 41 harbor eli 97 juniper bruno 51 fable chen 22 cobalt bruno 105 amber
kim 63 delta gus 44 harbor jules 17 harbor
hana 51 grove bruno 50 harbor bruno 49 fable kim 35 grove gus 114 juniper bruno 24 amber
hana 51 grove bruno 50 harbor bruno 49 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054569-p1
Output only the first 3 records.
NR <= 3
kim 63 delta gus 44 harbor jules 17 harbor dina 41 harbor eli 97 juniper bruno 51 fable chen 22 cobalt bruno 105 amber
kim 63 delta gus 44 harbor jules 17 harbor
hana 51 grove bruno 50 harbor bruno 49 fable kim 35 grove gus 114 juniper bruno 24 amber
hana 51 grove bruno 50 harbor bruno 49 fable
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0054569
qwen/qwen3.7-plus
awkweave-0054570
Skip the first line and print every remaining line unchanged.
NR > 1
farah 55 grove chen 106 delta eli 119 amber kim 48 harbor chen 106 birch alice 45 fable eli 16 grove
chen 106 delta eli 119 amber kim 48 harbor chen 106 birch alice 45 fable eli 16 grove
bruno 55 amber jules 97 cobalt chen 91 grove gus 86 fable hana 44 cobalt alice 60 grove lina 77 indigo kim 19 ember hana 68 grove
jules 97 cobalt chen 91 grove gus 86 fable hana 44 cobalt alice 60 grove lina 77 indigo kim 19 ember hana 68 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054570-p1
Skip the header line and print the rest of the lines as they are.
NR > 1
farah 55 grove chen 106 delta eli 119 amber kim 48 harbor chen 106 birch alice 45 fable eli 16 grove
chen 106 delta eli 119 amber kim 48 harbor chen 106 birch alice 45 fable eli 16 grove
bruno 55 amber jules 97 cobalt chen 91 grove gus 86 fable hana 44 cobalt alice 60 grove lina 77 indigo kim 19 ember hana 68 grove
jules 97 cobalt chen 91 grove gus 86 fable hana 44 cobalt alice 60 grove lina 77 indigo kim 19 ember hana 68 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054570
qwen/qwen3.7-plus
awkweave-0054571
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
alice active 66 alice ready 69 dina pending 56 dina failed 50 hana pending 52 jules active 93 jules paused 65 kim active 59 jules ready 78 lina active 27
4
hana pending 1 farah ready 64 kim ready 74 jules pending 94 jules active 22 lina paused 120 chen ready 119 dina pending 107 farah active 38
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054571-p1
Count the number of records with active in column 2; output 0 if none exist.
$2 == "active"{n++}END{print n+0}
alice active 66 alice ready 69 dina pending 56 dina failed 50 hana pending 52 jules active 93 jules paused 65 kim active 59 jules ready 78 lina active 27
4
hana pending 1 farah ready 64 kim ready 74 jules pending 94 jules active 22 lina paused 120 chen ready 119 dina pending 107 farah active 38
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054571
qwen/qwen3.7-plus
awkweave-0054572
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
jules 1 harbor hana 27 delta bruno 15 cobalt bruno 1 harbor eli 1 juniper lina 7 juniper kim 5 ember jules 16 delta
73
gus 12 ember hana 8 amber bruno 12 juniper eli 11 cobalt jules 18 fable alice 27 delta
88
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054572-p1
Compute and display the sum of integer values in column 2.
{s+=$2}END{print s+0}
jules 1 harbor hana 27 delta bruno 15 cobalt bruno 1 harbor eli 1 juniper lina 7 juniper kim 5 ember jules 16 delta
73
gus 12 ember hana 8 amber bruno 12 juniper eli 11 cobalt jules 18 fable alice 27 delta
88
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054572
qwen/qwen3.7-plus
awkweave-0054573
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
birch 30 kim juniper 12 dina amber 26 lina delta 16 gus fable 25 gus delta 16 farah birch 28 ivan fable 29 jules cobalt 26 jules juniper 24 farah
23.20
juniper 14 hana fable 18 hana juniper 3 alice delta 25 chen harbor 1 ivan grove 25 dina juniper 18 lina harbor 24 hana grove 11 jules juniper 18 dina
15.70
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054573-p1
Print the average of column 2, rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
birch 30 kim juniper 12 dina amber 26 lina delta 16 gus fable 25 gus delta 16 farah birch 28 ivan fable 29 jules cobalt 26 jules juniper 24 farah
23.20
juniper 14 hana fable 18 hana juniper 3 alice delta 25 chen harbor 1 ivan grove 25 dina juniper 18 lina harbor 24 hana grove 11 jules juniper 18 dina
15.70
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054573
qwen/qwen3.7-plus
awkweave-0054574
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 5 dina harbor 8 ivan juniper 20 farah harbor 22 bruno fable 6 bruno grove 3 eli
3
amber 26 kim fable 3 gus cobalt 5 ivan amber 16 lina fable 13 gus amber 12 lina birch 3 gus amber 30 eli
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054574-p1
Identify and print the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 5 dina harbor 8 ivan juniper 20 farah harbor 22 bruno fable 6 bruno grove 3 eli
3
amber 26 kim fable 3 gus cobalt 5 ivan amber 16 lina fable 13 gus amber 12 lina birch 3 gus amber 30 eli
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054574
qwen/qwen3.7-plus
awkweave-0054575
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
12 amber eli 3 indigo jules 17 indigo lina 5 delta lina 22 cobalt bruno 14 ember ivan
22
17 indigo hana 14 ember dina 9 amber dina 23 indigo hana 22 ember lina 24 delta farah
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054575-p1
Identify and print the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
12 amber eli 3 indigo jules 17 indigo lina 5 delta lina 22 cobalt bruno 14 ember ivan
22
17 indigo hana 14 ember dina 9 amber dina 23 indigo hana 22 ember lina 24 delta farah
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054575
qwen/qwen3.7-plus
awkweave-0054576
Count all input records and print the total.
END{print NR}
farah 35 alice 5 chen 4 dina 14 jules 120 farah 35 bruno 119
7
lina 34 hana 98 bruno 39 gus 96 farah 74 lina 20 hana 36
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054576-p1
Count the total number of input records and print the result.
END{print NR}
farah 35 alice 5 chen 4 dina 14 jules 120 farah 35 bruno 119
7
lina 34 hana 98 bruno 39 gus 96 farah 74 lina 20 hana 36
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054576
qwen/qwen3.7-plus
awkweave-0054577
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina delta 51 alice cobalt 26 dina amber 24 hana juniper 41 gus fable 31 bruno fable 56 alice cobalt 26 ivan amber 87 ivan juniper 39 dina birch 40 alice indigo 13
dina delta 51 alice cobalt 26 dina amber 24 hana juniper 41 gus fable 31 bruno fable 56 ivan amber 87 ivan juniper 39 dina birch 40 alice indigo 13
alice amber 69 lina delta 107 kim cobalt 47 kim indigo 62 dina grove 71 kim juniper 1 kim indigo 62 dina cobalt 79 eli indigo 61
alice amber 69 lina delta 107 kim cobalt 47 kim indigo 62 dina grove 71 kim juniper 1 dina cobalt 79 eli indigo 61
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054577-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining original order.
!seen[$0]++
dina delta 51 alice cobalt 26 dina amber 24 hana juniper 41 gus fable 31 bruno fable 56 alice cobalt 26 ivan amber 87 ivan juniper 39 dina birch 40 alice indigo 13
dina delta 51 alice cobalt 26 dina amber 24 hana juniper 41 gus fable 31 bruno fable 56 ivan amber 87 ivan juniper 39 dina birch 40 alice indigo 13
alice amber 69 lina delta 107 kim cobalt 47 kim indigo 62 dina grove 71 kim juniper 1 kim indigo 62 dina cobalt 79 eli indigo 61
alice amber 69 lina delta 107 kim cobalt 47 kim indigo 62 dina grove 71 kim juniper 1 dina cobalt 79 eli indigo 61
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054577
qwen/qwen3.7-plus
awkweave-0054578
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
eli delta 95 jules ember 51 kim amber 17 alice cobalt 49 bruno ember 31 jules cobalt 11
eli delta 95 jules ember 51 kim amber 17 alice cobalt 49
farah fable 113 jules birch 92 kim amber 21 ivan amber 46 gus amber 63 eli fable 116 dina grove 14 lina fable 57 alice fable 47 gus harbor 58
farah fable 113 jules birch 92 kim amber 21 dina grove 14 gus harbor 58
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054578-p1
Retain only the first occurrence of each unique value in column 2, maintaining the original input sequence.
!seen[$2]++
eli delta 95 jules ember 51 kim amber 17 alice cobalt 49 bruno ember 31 jules cobalt 11
eli delta 95 jules ember 51 kim amber 17 alice cobalt 49
farah fable 113 jules birch 92 kim amber 21 ivan amber 46 gus amber 63 eli fable 116 dina grove 14 lina fable 57 alice fable 47 gus harbor 58
farah fable 113 jules birch 92 kim amber 21 dina grove 14 gus harbor 58
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054578
qwen/qwen3.7-plus
awkweave-0054579
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 19 grove kim 29 cobalt eli 6 grove jules 4 juniper ivan 18 amber alice 12 harbor chen 21 ember hana 25 grove jules 20 ember chen 2 indigo
bruno 19 kim 48 eli 54 jules 58 ivan 76 alice 88 chen 109 hana 134 jules 154 chen 156
alice 20 fable hana 2 delta farah 12 amber kim 1 grove farah 7 juniper hana 29 juniper alice 30 indigo
alice 20 hana 22 farah 34 kim 35 farah 42 hana 71 alice 101
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054579-p1
Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter.
{s+=$2;print $1,s}
bruno 19 grove kim 29 cobalt eli 6 grove jules 4 juniper ivan 18 amber alice 12 harbor chen 21 ember hana 25 grove jules 20 ember chen 2 indigo
bruno 19 kim 48 eli 54 jules 58 ivan 76 alice 88 chen 109 hana 134 jules 154 chen 156
alice 20 fable hana 2 delta farah 12 amber kim 1 grove farah 7 juniper hana 29 juniper alice 30 indigo
alice 20 hana 22 farah 34 kim 35 farah 42 hana 71 alice 101
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054579
qwen/qwen3.7-plus
awkweave-0054580
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 20 17 cobalt ivan 4 25 birch chen 28 15 amber kim 13 5 amber bruno 4 25 juniper chen 17 10 grove gus 18 27 amber jules 22 16 indigo kim 1 16 birch
kim 37 ivan 29 chen 43 kim 18 bruno 29 chen 27 gus 45 jules 38 kim 17
hana 9 2 ember hana 15 23 amber lina 18 29 indigo ivan 25 23 grove dina 21 27 ember bruno 23 1 juniper kim 23 28 birch dina 1 20 birch bruno 29 3 ember jules 28 10 ember
hana 11 hana 38 lina 47 ivan 48 dina 48 bruno 24 kim 51 dina 21 bruno 32 jules 38
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054580-p1
For each row, display field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 20 17 cobalt ivan 4 25 birch chen 28 15 amber kim 13 5 amber bruno 4 25 juniper chen 17 10 grove gus 18 27 amber jules 22 16 indigo kim 1 16 birch
kim 37 ivan 29 chen 43 kim 18 bruno 29 chen 27 gus 45 jules 38 kim 17
hana 9 2 ember hana 15 23 amber lina 18 29 indigo ivan 25 23 grove dina 21 27 ember bruno 23 1 juniper kim 23 28 birch dina 1 20 birch bruno 29 3 ember jules 28 10 ember
hana 11 hana 38 lina 47 ivan 48 dina 48 bruno 24 kim 51 dina 21 bruno 32 jules 38
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054580
qwen/qwen3.7-plus
awkweave-0054581
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
kim 10 dina 20 gus 16 alice 13 bruno 13 farah 18 kim 28 chen 30
kim fail dina fail gus fail alice fail bruno fail farah fail kim pass chen pass
jules 8 hana 20 bruno 1 bruno 25 hana 20 eli 24 dina 15 dina 1 eli 13 farah 6
jules fail hana fail bruno fail bruno pass hana fail eli fail dina fail dina fail eli fail farah fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054581-p1
Output column 1 and label it 'pass' if column 2 is 25 or greater; otherwise, label it 'fail'.
{print $1,($2>=25?"pass":"fail")}
kim 10 dina 20 gus 16 alice 13 bruno 13 farah 18 kim 28 chen 30
kim fail dina fail gus fail alice fail bruno fail farah fail kim pass chen pass
jules 8 hana 20 bruno 1 bruno 25 hana 20 eli 24 dina 15 dina 1 eli 13 farah 6
jules fail hana fail bruno fail bruno pass hana fail eli fail dina fail dina fail eli fail farah fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054581
qwen/qwen3.7-plus
awkweave-0054582
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
bruno delta 55 alice amber 13 alice birch 102 lina birch 93 gus juniper 98 eli juniper 79 lina delta 24 gus birch 30
DELTA AMBER BIRCH BIRCH JUNIPER JUNIPER DELTA BIRCH
jules birch 71 kim amber 74 farah delta 111 farah ember 114 hana ember 70 chen grove 62
BIRCH AMBER DELTA EMBER EMBER GROVE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054582-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
bruno delta 55 alice amber 13 alice birch 102 lina birch 93 gus juniper 98 eli juniper 79 lina delta 24 gus birch 30
DELTA AMBER BIRCH BIRCH JUNIPER JUNIPER DELTA BIRCH
jules birch 71 kim amber 74 farah delta 111 farah ember 114 hana ember 70 chen grove 62
BIRCH AMBER DELTA EMBER EMBER GROVE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054582
qwen/qwen3.7-plus
awkweave-0054583
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
ember 49 juniper 91 harbor 61 cobalt 20 ember 59 ember 9
mb un ar ob mb mb
fable 63 birch 15 fable 95 harbor 65 fable 108 ember 92 fable 55 delta 100 juniper 118
ab ir ab ar ab mb ab el un
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054583-p1
Extract and print a substring of length 2 from column 1, starting at the second character.
{print substr($1,2,2)}
ember 49 juniper 91 harbor 61 cobalt 20 ember 59 ember 9
mb un ar ob mb mb
fable 63 birch 15 fable 95 harbor 65 fable 108 ember 92 fable 55 delta 100 juniper 118
ab ir ab ar ab mb ab el un
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054583
qwen/qwen3.7-plus
awkweave-0054584
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_birch 92 fable_fable 86 grove_juniper 50 cobalt_birch 72 birch_amber 100 birch_birch 26 juniper_amber 119 grove_ember 40
ember birch fable fable grove juniper cobalt birch birch amber birch birch juniper amber grove ember
fable_indigo 19 harbor_indigo 75 harbor_cobalt 51 indigo_delta 53 amber_ember 105 amber_birch 37
fable indigo harbor indigo harbor cobalt indigo delta amber ember amber birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054584-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_birch 92 fable_fable 86 grove_juniper 50 cobalt_birch 72 birch_amber 100 birch_birch 26 juniper_amber 119 grove_ember 40
ember birch fable fable grove juniper cobalt birch birch amber birch birch juniper amber grove ember
fable_indigo 19 harbor_indigo 75 harbor_cobalt 51 indigo_delta 53 amber_ember 105 amber_birch 37
fable indigo harbor indigo harbor cobalt indigo delta amber ember amber birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054584
qwen/qwen3.7-plus
awkweave-0054585
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 harbor 32 pending bruno delta 55 paused ivan cobalt 56 active farah delta 91 active bruno fable 54 ready ivan ember 91 paused ivan juniper 86 closed
pending 32 harbor alice paused 55 delta bruno active 56 cobalt ivan active 91 delta farah ready 54 fable bruno paused 91 ember ivan closed 86 juniper ivan
lina indigo 32 failed farah cobalt 56 pending alice birch 29 pending chen birch 108 paused kim delta 22 ready chen ember 16 closed alice delta 89 closed hana delta 21 ready bruno cobalt 83 paused chen delta 87 closed
failed 32 indigo lina pending 56 cobalt farah pending 29 birch alice paused 108 birch chen ready 22 delta kim closed 16 ember chen closed 89 delta alice ready 21 delta hana paused 83 cobalt bruno closed 87 delta chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054585-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice harbor 32 pending bruno delta 55 paused ivan cobalt 56 active farah delta 91 active bruno fable 54 ready ivan ember 91 paused ivan juniper 86 closed
pending 32 harbor alice paused 55 delta bruno active 56 cobalt ivan active 91 delta farah ready 54 fable bruno paused 91 ember ivan closed 86 juniper ivan
lina indigo 32 failed farah cobalt 56 pending alice birch 29 pending chen birch 108 paused kim delta 22 ready chen ember 16 closed alice delta 89 closed hana delta 21 ready bruno cobalt 83 paused chen delta 87 closed
failed 32 indigo lina pending 56 cobalt farah pending 29 birch alice paused 108 birch chen ready 22 delta kim closed 16 ember chen closed 89 delta alice ready 21 delta hana paused 83 cobalt bruno closed 87 delta chen
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054585
qwen/qwen3.7-plus
awkweave-0054586
Print the number of whitespace-separated fields on each line.
{print NF}
eli birch 2 active jules indigo 82 closed lina fable 117 ready farah ember 52 ready ivan grove 64 active dina fable 77 active jules ember 31 active jules grove 88 failed
4 4 4 4 4 4 4 4
alice grove 20 active jules cobalt 53 pending alice ember 75 ready dina birch 17 closed gus amber 33 paused gus juniper 120 closed kim indigo 44 ready
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054586-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
eli birch 2 active jules indigo 82 closed lina fable 117 ready farah ember 52 ready ivan grove 64 active dina fable 77 active jules ember 31 active jules grove 88 failed
4 4 4 4 4 4 4 4
alice grove 20 active jules cobalt 53 pending alice ember 75 ready dina birch 17 closed gus amber 33 paused gus juniper 120 closed kim indigo 44 ready
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054586
qwen/qwen3.7-plus
awkweave-0054587
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]]}
farah beta 0 farah beta 108 ivan gamma 30 dina beta 85 chen gamma 51 lina delta 113 bruno beta 81 farah delta 118 hana delta 113
beta 4 gamma 2 delta 3
chen alpha 102 jules beta 82 hana beta 71 chen alpha 114 gus gamma 30 lina gamma 64 ivan beta 15 gus gamma 33
alpha 2 beta 3 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054587-p1
Tally the number of records for each unique value in column 2, printing the value and its count in the 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]]}
farah beta 0 farah beta 108 ivan gamma 30 dina beta 85 chen gamma 51 lina delta 113 bruno beta 81 farah delta 118 hana delta 113
beta 4 gamma 2 delta 3
chen alpha 102 jules beta 82 hana beta 71 chen alpha 114 gus gamma 30 lina gamma 64 ivan beta 15 gus gamma 33
alpha 2 beta 3 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054587
qwen/qwen3.7-plus
awkweave-0054588
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]]}
farah beta 2 alice gamma 4 lina delta 22 farah beta 5 bruno delta 1 jules gamma 10 alice gamma 11 gus gamma 10 ivan beta 4 farah alpha 19
beta 11 gamma 35 delta 23 alpha 19
gus gamma 15 farah gamma 8 farah gamma 26 ivan delta 8 lina alpha 26 kim beta 21 farah beta 29 bruno gamma 9
gamma 58 delta 8 alpha 26 beta 50
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054588-p1
Calculate the sum of column 3 for each group defined by column 2, 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]]}
farah beta 2 alice gamma 4 lina delta 22 farah beta 5 bruno delta 1 jules gamma 10 alice gamma 11 gus gamma 10 ivan beta 4 farah alpha 19
beta 11 gamma 35 delta 23 alpha 19
gus gamma 15 farah gamma 8 farah gamma 26 ivan delta 8 lina alpha 26 kim beta 21 farah beta 29 bruno gamma 9
gamma 58 delta 8 alpha 26 beta 50
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054588
qwen/qwen3.7-plus
awkweave-0054589
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]]}
gamma amber 31 alpha ember 6 gamma birch 82 gamma fable 99 alpha fable 35 delta birch 116 gamma indigo 96 gamma amber 30 alpha juniper 52
gamma 5 alpha 3
alpha juniper 9 gamma cobalt 112 gamma delta 115 delta grove 113 delta delta 96 alpha ember 92 gamma harbor 29 alpha ember 52 gamma cobalt 103
alpha 3 gamma 4 delta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054589-p1
List each duplicate value from column 1 along with its 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]]}
gamma amber 31 alpha ember 6 gamma birch 82 gamma fable 99 alpha fable 35 delta birch 116 gamma indigo 96 gamma amber 30 alpha juniper 52
gamma 5 alpha 3
alpha juniper 9 gamma cobalt 112 gamma delta 115 delta grove 113 delta delta 96 alpha ember 92 gamma harbor 29 alpha ember 52 gamma cobalt 103
alpha 3 gamma 4 delta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054589
qwen/qwen3.7-plus
awkweave-0054600
Select the 2nd and 1st fields in that order.
{print $2, $1}
hana 48 10 119 jules 3 49 13 alice 14 32 75 dina 57 111 70 jules 19 38 108 jules 32 37 48 kim 15 79 62 gus 50 10 55 eli 45 25 2
48 hana 3 jules 14 alice 57 dina 19 jules 32 jules 15 kim 50 gus 45 eli
jules 85 18 33 kim 7 56 99 gus 48 61 5 lina 28 102 52 alice 73 96 101 kim 69 61 87 dina 68 113 73 eli 62 81 21
85 jules 7 kim 48 gus 28 lina 73 alice 69 kim 68 dina 62 eli
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054600-p1
Extract the second field followed by the first field.
{print $2, $1}
hana 48 10 119 jules 3 49 13 alice 14 32 75 dina 57 111 70 jules 19 38 108 jules 32 37 48 kim 15 79 62 gus 50 10 55 eli 45 25 2
48 hana 3 jules 14 alice 57 dina 19 jules 32 jules 15 kim 50 gus 45 eli
jules 85 18 33 kim 7 56 99 gus 48 61 5 lina 28 102 52 alice 73 96 101 kim 69 61 87 dina 68 113 73 eli 62 81 21
85 jules 7 kim 48 gus 28 lina 73 alice 69 kim 68 dina 62 eli
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054600
qwen/qwen3.7-plus
awkweave-0054601
Print the last field of every input line.
{print $NF}
lina ready pending 80 48 bruno failed failed 35 86 gus failed pending 14 15 farah failed active 4 57 jules failed pending 4 70 kim paused paused 10 43
48 86 15 57 70 43
kim paused failed 118 61 alice paused failed 33 104 lina pending active 89 95 lina failed failed 34 98 alice closed closed 80 97 chen active closed 10 113 alice closed closed 0 110
61 104 95 98 97 113 110
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054601-p1
Output the final field from each line of input.
{print $NF}
lina ready pending 80 48 bruno failed failed 35 86 gus failed pending 14 15 farah failed active 4 57 jules failed pending 4 70 kim paused paused 10 43
48 86 15 57 70 43
kim paused failed 118 61 alice paused failed 33 104 lina pending active 89 95 lina failed failed 34 98 alice closed closed 80 97 chen active closed 10 113 alice closed closed 0 110
61 104 95 98 97 113 110
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054601
qwen/qwen3.7-plus
awkweave-0054602
Print the complete records where column 3 is at most 24.
$3 <= 24
closed farah 106 dina ready gus 73 dina failed hana 2 alice active dina 30 alice active kim 108 gus active alice 49 alice closed jules 4 chen closed ivan 98 lina paused eli 115 gus
failed hana 2 alice closed jules 4 chen
paused jules 61 dina ready lina 99 chen paused kim 110 jules ready ivan 89 eli ready kim 61 alice pending hana 51 alice
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054602-p1
Display full records where the value in the third column is less than or equal to 24.
$3 <= 24
closed farah 106 dina ready gus 73 dina failed hana 2 alice active dina 30 alice active kim 108 gus active alice 49 alice closed jules 4 chen closed ivan 98 lina paused eli 115 gus
failed hana 2 alice closed jules 4 chen
paused jules 61 dina ready lina 99 chen paused kim 110 jules ready ivan 89 eli ready kim 61 alice pending hana 51 alice
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054602
qwen/qwen3.7-plus
awkweave-0054603
Show whole lines whose 2nd field is between 5 and 26, inclusive.
$2 >= 5 && $2 <= 26
pending 5 jules cobalt active 20 farah birch ready 20 dina amber ready 7 hana ember closed 15 alice grove pending 19 farah grove
pending 5 jules cobalt active 20 farah birch ready 20 dina amber ready 7 hana ember closed 15 alice grove pending 19 farah grove
ready 17 alice juniper failed 8 gus grove closed 9 jules delta ready 18 kim amber paused 12 kim indigo closed 27 dina amber
ready 17 alice juniper failed 8 gus grove closed 9 jules delta ready 18 kim amber paused 12 kim indigo
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054603-p1
Show entire lines where the second field falls within the inclusive range of 5 to 26.
$2 >= 5 && $2 <= 26
pending 5 jules cobalt active 20 farah birch ready 20 dina amber ready 7 hana ember closed 15 alice grove pending 19 farah grove
pending 5 jules cobalt active 20 farah birch ready 20 dina amber ready 7 hana ember closed 15 alice grove pending 19 farah grove
ready 17 alice juniper failed 8 gus grove closed 9 jules delta ready 18 kim amber paused 12 kim indigo closed 27 dina amber
ready 17 alice juniper failed 8 gus grove closed 9 jules delta ready 18 kim amber paused 12 kim indigo
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054603
qwen/qwen3.7-plus
awkweave-0054604
Print column 3 only for rows where column 2 is exactly active.
$2 == "active"{print $3}
11 ready kim delta 57 active farah ember 13 ready dina amber 12 active eli harbor 29 paused ivan birch 107 pending jules birch 32 pending lina grove 15 paused chen cobalt 6 active farah birch
farah eli farah
18 paused ivan indigo 36 closed eli fable 90 failed hana delta 54 failed chen birch 37 paused chen delta 52 closed dina cobalt 89 paused jules indigo 105 pending eli amber
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054604-p1
Output only the third column for rows where the second field matches active exactly.
$2 == "active"{print $3}
11 ready kim delta 57 active farah ember 13 ready dina amber 12 active eli harbor 29 paused ivan birch 107 pending jules birch 32 pending lina grove 15 paused chen cobalt 6 active farah birch
farah eli farah
18 paused ivan indigo 36 closed eli fable 90 failed hana delta 54 failed chen birch 37 paused chen delta 52 closed dina cobalt 89 paused jules indigo 105 pending eli amber
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054604
qwen/qwen3.7-plus
awkweave-0054605
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
80 juniper INFO 43 cobalt ERROR 86 amber DEBUG 13 fable INFO 48 delta INFO 51 birch WARN 46 grove DEBUG 23 harbor WARN 60 harbor ERROR
51 birch WARN 23 harbor WARN
84 grove DEBUG 81 ember INFO 13 delta ERROR 117 grove DEBUG 53 delta ERROR 104 harbor WARN 106 indigo DEBUG
104 harbor WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054605-p1
Print all fields for lines where the third field starts with WARN.
$3 ~ /^WARN/
80 juniper INFO 43 cobalt ERROR 86 amber DEBUG 13 fable INFO 48 delta INFO 51 birch WARN 46 grove DEBUG 23 harbor WARN 60 harbor ERROR
51 birch WARN 23 harbor WARN
84 grove DEBUG 81 ember INFO 13 delta ERROR 117 grove DEBUG 53 delta ERROR 104 harbor WARN 106 indigo DEBUG
104 harbor WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054605
qwen/qwen3.7-plus
awkweave-0054606
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
birch 11 failed ember 60 active birch 105 closed harbor 36 paused ember 57 failed juniper 1 failed cobalt 30 paused ember 91 closed juniper 36 pending indigo 999 active
birch 11 failed ember 60 active birch 105 closed harbor 36 paused ember 57 failed juniper 1 failed cobalt 30 paused ember 91 closed juniper 36 pending
fable 107 failed juniper 84 ready indigo 3 failed juniper 112 paused juniper 82 ready birch 38 active juniper 105 ready ember 100 closed juniper 13 closed amber 7 pending indigo 999 active
fable 107 failed juniper 84 ready juniper 112 paused juniper 82 ready birch 38 active juniper 105 ready ember 100 closed juniper 13 closed amber 7 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054606-p1
Output every line that does not contain the exact string indigo.
$0 !~ /indigo/
birch 11 failed ember 60 active birch 105 closed harbor 36 paused ember 57 failed juniper 1 failed cobalt 30 paused ember 91 closed juniper 36 pending indigo 999 active
birch 11 failed ember 60 active birch 105 closed harbor 36 paused ember 57 failed juniper 1 failed cobalt 30 paused ember 91 closed juniper 36 pending
fable 107 failed juniper 84 ready indigo 3 failed juniper 112 paused juniper 82 ready birch 38 active juniper 105 ready ember 100 closed juniper 13 closed amber 7 pending indigo 999 active
fable 107 failed juniper 84 ready juniper 112 paused juniper 82 ready birch 38 active juniper 105 ready ember 100 closed juniper 13 closed amber 7 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054606
qwen/qwen3.7-plus
awkweave-0054607
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
kim birch 65 hana indigo 55 jules cobalt 96 eli cobalt 35 eli indigo 24 lina harbor 19
eli cobalt 35 eli indigo 24 lina harbor 19
chen fable 80 bruno cobalt 79 bruno ember 59 alice delta 104 kim indigo 84 dina grove 56
alice delta 104 kim indigo 84 dina grove 56
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054607-p1
Display lines 4 through 7, inclusive of both ends.
NR >= 4 && NR <= 7
kim birch 65 hana indigo 55 jules cobalt 96 eli cobalt 35 eli indigo 24 lina harbor 19
eli cobalt 35 eli indigo 24 lina harbor 19
chen fable 80 bruno cobalt 79 bruno ember 59 alice delta 104 kim indigo 84 dina grove 56
alice delta 104 kim indigo 84 dina grove 56
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054607
qwen/qwen3.7-plus
awkweave-0054608
Output only the first 5 records.
NR <= 5
bruno 33 juniper eli 90 delta dina 63 indigo dina 2 grove bruno 41 indigo chen 114 birch lina 120 amber
bruno 33 juniper eli 90 delta dina 63 indigo dina 2 grove bruno 41 indigo
lina 31 amber hana 96 indigo farah 107 juniper chen 61 indigo chen 49 indigo jules 55 harbor jules 22 delta lina 26 delta
lina 31 amber hana 96 indigo farah 107 juniper chen 61 indigo chen 49 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054608-p1
Output only the initial 5 records.
NR <= 5
bruno 33 juniper eli 90 delta dina 63 indigo dina 2 grove bruno 41 indigo chen 114 birch lina 120 amber
bruno 33 juniper eli 90 delta dina 63 indigo dina 2 grove bruno 41 indigo
lina 31 amber hana 96 indigo farah 107 juniper chen 61 indigo chen 49 indigo jules 55 harbor jules 22 delta lina 26 delta
lina 31 amber hana 96 indigo farah 107 juniper chen 61 indigo chen 49 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054608
qwen/qwen3.7-plus
awkweave-0054609
Skip the first line and print every remaining line unchanged.
NR > 1
hana 1 harbor gus 75 birch dina 36 ember farah 66 harbor gus 103 birch eli 42 birch
gus 75 birch dina 36 ember farah 66 harbor gus 103 birch eli 42 birch
hana 3 indigo bruno 6 amber bruno 48 amber kim 36 delta bruno 26 indigo farah 11 juniper
bruno 6 amber bruno 48 amber kim 36 delta bruno 26 indigo farah 11 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054609-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
hana 1 harbor gus 75 birch dina 36 ember farah 66 harbor gus 103 birch eli 42 birch
gus 75 birch dina 36 ember farah 66 harbor gus 103 birch eli 42 birch
hana 3 indigo bruno 6 amber bruno 48 amber kim 36 delta bruno 26 indigo farah 11 juniper
bruno 6 amber bruno 48 amber kim 36 delta bruno 26 indigo farah 11 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054609
qwen/qwen3.7-plus
awkweave-0054610
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
lina ready 31 lina failed 22 farah failed 2 bruno paused 117 ivan active 94 farah pending 46 gus active 87 ivan failed 47 farah active 107 lina failed 89
1
eli active 91 lina pending 86 farah closed 38 farah paused 23 gus failed 62 farah closed 58 hana paused 4
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054610-p1
Count the number of records with pending in the second column, outputting 0 if none exist.
$2 == "pending"{n++}END{print n+0}
lina ready 31 lina failed 22 farah failed 2 bruno paused 117 ivan active 94 farah pending 46 gus active 87 ivan failed 47 farah active 107 lina failed 89
1
eli active 91 lina pending 86 farah closed 38 farah paused 23 gus failed 62 farah closed 58 hana paused 4
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054610
qwen/qwen3.7-plus
awkweave-0054611
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
kim 7 ember eli 7 cobalt kim 17 cobalt ivan 14 ember chen 22 harbor eli 11 cobalt hana 23 grove
101
alice 1 ember lina 19 amber dina 14 cobalt bruno 1 ember bruno 13 juniper dina 23 fable farah 13 fable
84
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054611-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
kim 7 ember eli 7 cobalt kim 17 cobalt ivan 14 ember chen 22 harbor eli 11 cobalt hana 23 grove
101
alice 1 ember lina 19 amber dina 14 cobalt bruno 1 ember bruno 13 juniper dina 23 fable farah 13 fable
84
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054611
qwen/qwen3.7-plus
awkweave-0054612
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 juniper jules 28 amber hana 17 juniper bruno 8 harbor eli 22 cobalt farah 15 birch chen 26 amber chen 27 birch jules 20 harbor alice 19 indigo ivan
19.40
16 fable chen 22 fable bruno 13 delta bruno 15 indigo hana 27 harbor farah 16 harbor ivan 3 juniper dina 27 ember bruno 14 amber dina 18 indigo bruno
17.10
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054612-p1
Output the average of the values in column 1, formatted to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 juniper jules 28 amber hana 17 juniper bruno 8 harbor eli 22 cobalt farah 15 birch chen 26 amber chen 27 birch jules 20 harbor alice 19 indigo ivan
19.40
16 fable chen 22 fable bruno 13 delta bruno 15 indigo hana 27 harbor farah 16 harbor ivan 3 juniper dina 27 ember bruno 14 amber dina 18 indigo bruno
17.10
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054612
qwen/qwen3.7-plus