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-0000110
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
lina,27,paused gus,9,paused hana,15,pending alice,29,pending alice,14,paused kim,12,pending alice,22,active gus,21,active jules,13,closed
lina hana alice alice kim alice gus jules
lina,1,pending jules,28,pending hana,30,closed bruno,26,closed kim,7,paused hana,1,failed hana,11,paused gus,30,failed
jules hana bruno hana gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000110-p1
For simple CSV input without quoted commas, output the first column only if the second column's value is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
lina,27,paused gus,9,paused hana,15,pending alice,29,pending alice,14,paused kim,12,pending alice,22,active gus,21,active jules,13,closed
lina hana alice alice kim alice gus jules
lina,1,pending jules,28,pending hana,30,closed bruno,26,closed kim,7,paused hana,1,failed hana,11,paused gus,30,failed
jules hana bruno hana gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000110
qwen/qwen3.7-plus
awkweave-0000111
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina ember 28 bruno indigo 31 kim delta 42 jules grove 4 ivan indigo 32 chen harbor 34 dina birch 36
lina ember 28 bruno indigo 31 kim delta 42 jules grove 4 ivan indigo 32 chen harbor 34 dina birch 36
jules indigo 72 ivan delta 120 dina grove 32 jules cobalt 36 farah amber 112 gus delta 54 chen indigo 51 dina delta 27 hana indigo 83
jules indigo 72 ivan delta 120 dina grove 32 jules cobalt 36 farah amber 112 gus delta 54 chen indigo 51 dina delta 27 hana indigo 83
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000111-p1
Remove leading and trailing spaces from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
lina ember 28 bruno indigo 31 kim delta 42 jules grove 4 ivan indigo 32 chen harbor 34 dina birch 36
lina ember 28 bruno indigo 31 kim delta 42 jules grove 4 ivan indigo 32 chen harbor 34 dina birch 36
jules indigo 72 ivan delta 120 dina grove 32 jules cobalt 36 farah amber 112 gus delta 54 chen indigo 51 dina delta 27 hana indigo 83
jules indigo 72 ivan delta 120 dina grove 32 jules cobalt 36 farah amber 112 gus delta 54 chen indigo 51 dina delta 27 hana indigo 83
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000111
qwen/qwen3.7-plus
awkweave-0000112
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice birch 56 failed alice delta 79 pending lina birch 61 failed jules amber 112 active chen delta 107 active farah indigo 13 ready bruno indigo 35 failed eli indigo 63 paused gus harbor 78 active eli fable 107 paused
alice delta 79 pending
dina delta 15 ready hana birch 86 pending alice indigo 54 active jules grove 88 closed jules indigo 37 ready alice indigo 98 ready alice grove 105 failed gus grove 2 paused lina cobalt 25 pending hana grove 59 pending
alice indigo 54 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000112-p1
Identify and output the longest line from 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}
alice birch 56 failed alice delta 79 pending lina birch 61 failed jules amber 112 active chen delta 107 active farah indigo 13 ready bruno indigo 35 failed eli indigo 63 paused gus harbor 78 active eli fable 107 paused
alice delta 79 pending
dina delta 15 ready hana birch 86 pending alice indigo 54 active jules grove 88 closed jules indigo 37 ready alice indigo 98 ready alice grove 105 failed gus grove 2 paused lina cobalt 25 pending hana grove 59 pending
alice indigo 54 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000112
qwen/qwen3.7-plus
awkweave-0000113
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
gus 30 hana 104 farah 11 chen 81 kim 34 gus 101
hana 104 chen 81 gus 101
gus 85 hana 74 ivan 14 alice 100 kim 65 hana 0 kim 9 alice 110
hana 74 alice 100 hana 0 alice 110
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000113-p1
Output every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
gus 30 hana 104 farah 11 chen 81 kim 34 gus 101
hana 104 chen 81 gus 101
gus 85 hana 74 ivan 14 alice 100 kim 65 hana 0 kim 9 alice 110
hana 74 alice 100 hana 0 alice 110
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000113
qwen/qwen3.7-plus
awkweave-0000114
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 16 beta cobalt 69 delta juniper 64 beta juniper 119 alpha ember 55 beta delta 71 beta amber 71
3
delta fable 76 gamma juniper 102 gamma ember 28 delta cobalt 33 beta delta 117 gamma grove 44 delta harbor 15 gamma ember 4 beta birch 92 delta birch 55
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000114-p1
Calculate and print only the total number of unique values present in the first column.
{if(!seen[$1]++)n++}END{print n+0}
delta indigo 16 beta cobalt 69 delta juniper 64 beta juniper 119 alpha ember 55 beta delta 71 beta amber 71
3
delta fable 76 gamma juniper 102 gamma ember 28 delta cobalt 33 beta delta 117 gamma grove 44 delta harbor 15 gamma ember 4 beta birch 92 delta birch 55
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000114
qwen/qwen3.7-plus
awkweave-0000115
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}
dina 2 0 gus 28 6 kim 25 7 farah 14 28 kim 2 6 hana 13 3 kim 4 9
gus 4.67 kim 3.57 farah 0.50 kim 0.33 hana 4.33 kim 0.44
ivan 24 0 ivan 13 21 alice 1 28 lina 29 5 dina 9 17 gus 17 22 kim 15 19 hana 14 20 jules 22 5
ivan 0.62 alice 0.04 lina 5.80 dina 0.53 gus 0.77 kim 0.79 hana 0.70 jules 4.40
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000115-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, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 2 0 gus 28 6 kim 25 7 farah 14 28 kim 2 6 hana 13 3 kim 4 9
gus 4.67 kim 3.57 farah 0.50 kim 0.33 hana 4.33 kim 0.44
ivan 24 0 ivan 13 21 alice 1 28 lina 29 5 dina 9 17 gus 17 22 kim 15 19 hana 14 20 jules 22 5
ivan 0.62 alice 0.04 lina 5.80 dina 0.53 gus 0.77 kim 0.79 hana 0.70 jules 4.40
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000115
qwen/qwen3.7-plus
awkweave-0000116
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]}
ivan cobalt 14 lina ember 14 eli cobalt 3 jules grove 2 eli fable 18 hana indigo 24 farah cobalt 30
farah cobalt 30 hana indigo 24 eli fable 18
jules delta 13 alice delta 4 jules birch 19 hana cobalt 9 dina delta 4 kim birch 26 bruno amber 28 dina amber 5 gus birch 18 kim grove 27
bruno amber 28 kim grove 27 kim birch 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000116-p1
Select the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan cobalt 14 lina ember 14 eli cobalt 3 jules grove 2 eli fable 18 hana indigo 24 farah cobalt 30
farah cobalt 30 hana indigo 24 eli fable 18
jules delta 13 alice delta 4 jules birch 19 hana cobalt 9 dina delta 4 kim birch 26 bruno amber 28 dina amber 5 gus birch 18 kim grove 27
bruno amber 28 kim grove 27 kim birch 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000116
qwen/qwen3.7-plus
awkweave-0000117
For each line, output fields 6 and 2, in that order.
{print $6, $2}
amber 99 indigo hana 105 32 grove 94 birch dina 52 61 delta 11 fable alice 96 111 delta 97 birch kim 45 97 ember 92 delta jules 65 24 indigo 38 delta gus 46 119 grove 76 amber hana 51 65
32 99 61 94 111 11 97 97 24 92 119 38 65 76
grove 23 indigo bruno 63 8 juniper 13 ember kim 85 28 delta 12 delta chen 116 86 juniper 70 delta chen 56 6 juniper 105 grove kim 28 28 grove 8 birch eli 17 16 cobalt 65 ember dina 2 12 juniper 48 cobalt eli 89 33 juniper 109 cobalt dina 75 78
8 23 28 13 86 12 6 70 28 105 16 8 12 65 33 48 78 109
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000117-p1
For every line, print the sixth field followed by the second field.
{print $6, $2}
amber 99 indigo hana 105 32 grove 94 birch dina 52 61 delta 11 fable alice 96 111 delta 97 birch kim 45 97 ember 92 delta jules 65 24 indigo 38 delta gus 46 119 grove 76 amber hana 51 65
32 99 61 94 111 11 97 97 24 92 119 38 65 76
grove 23 indigo bruno 63 8 juniper 13 ember kim 85 28 delta 12 delta chen 116 86 juniper 70 delta chen 56 6 juniper 105 grove kim 28 28 grove 8 birch eli 17 16 cobalt 65 ember dina 2 12 juniper 48 cobalt eli 89 33 juniper 109 cobalt dina 75 78
8 23 28 13 86 12 6 70 28 105 16 8 12 65 33 48 78 109
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000117
qwen/qwen3.7-plus
awkweave-0000118
Print the last field of every input line.
{print $NF}
eli active ember closed 77 gus grove farah pending harbor ready 56 dina birch kim closed cobalt failed 107 hana cobalt dina active birch active 105 farah grove farah paused juniper ready 11 eli delta hana pending juniper pending 83 farah grove lina active amber failed 8 farah amber eli failed harbor pending 95 jules co...
grove birch cobalt grove delta grove amber cobalt
kim failed delta closed 92 alice harbor dina failed juniper pending 105 farah ember hana closed grove closed 18 farah amber hana active cobalt paused 33 gus grove kim failed indigo active 52 gus amber kim active amber paused 100 gus delta bruno failed indigo ready 78 bruno harbor alice closed cobalt closed 109 kim indi...
harbor ember amber grove amber delta harbor indigo
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000118-p1
Output the final field from each input line.
{print $NF}
eli active ember closed 77 gus grove farah pending harbor ready 56 dina birch kim closed cobalt failed 107 hana cobalt dina active birch active 105 farah grove farah paused juniper ready 11 eli delta hana pending juniper pending 83 farah grove lina active amber failed 8 farah amber eli failed harbor pending 95 jules co...
grove birch cobalt grove delta grove amber cobalt
kim failed delta closed 92 alice harbor dina failed juniper pending 105 farah ember hana closed grove closed 18 farah amber hana active cobalt paused 33 gus grove kim failed indigo active 52 gus amber kim active amber paused 100 gus delta bruno failed indigo ready 78 bruno harbor alice closed cobalt closed 109 kim indi...
harbor ember amber grove amber delta harbor indigo
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000118
qwen/qwen3.7-plus
awkweave-0000119
Print the complete records where column 4 is at most 55.
$4 <= 55
ember chen cobalt 61 kim amber lina fable 21 jules grove chen delta 76 ivan ember gus fable 101 hana ember gus birch 34 eli juniper farah indigo 98 gus amber eli birch 120 lina fable lina delta 28 bruno delta eli cobalt 35 alice
amber lina fable 21 jules ember gus birch 34 eli fable lina delta 28 bruno delta eli cobalt 35 alice
cobalt farah juniper 79 bruno juniper alice fable 116 dina fable eli amber 51 eli harbor farah grove 103 alice fable chen grove 101 jules amber dina grove 74 jules ember eli grove 83 jules harbor gus ember 93 farah
fable eli amber 51 eli
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000119-p1
Display full records where the value in the fourth column is less than or equal to 55.
$4 <= 55
ember chen cobalt 61 kim amber lina fable 21 jules grove chen delta 76 ivan ember gus fable 101 hana ember gus birch 34 eli juniper farah indigo 98 gus amber eli birch 120 lina fable lina delta 28 bruno delta eli cobalt 35 alice
amber lina fable 21 jules ember gus birch 34 eli fable lina delta 28 bruno delta eli cobalt 35 alice
cobalt farah juniper 79 bruno juniper alice fable 116 dina fable eli amber 51 eli harbor farah grove 103 alice fable chen grove 101 jules amber dina grove 74 jules ember eli grove 83 jules harbor gus ember 93 farah
fable eli amber 51 eli
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000119
qwen/qwen3.7-plus
awkweave-0000120
Show whole lines whose 2nd field is between 6 and 28, inclusive.
$2 >= 6 && $2 <= 28
kim 3 pending indigo farah 27 ready fable lina 12 ready amber hana 13 pending amber lina 24 closed fable chen 10 closed birch chen 17 active juniper ivan 2 paused fable
farah 27 ready fable lina 12 ready amber hana 13 pending amber lina 24 closed fable chen 10 closed birch chen 17 active juniper
dina 24 pending grove lina 2 active birch hana 2 active juniper bruno 17 active fable jules 3 failed birch hana 28 paused fable jules 10 paused juniper chen 25 failed grove dina 26 pending harbor
dina 24 pending grove bruno 17 active fable hana 28 paused fable jules 10 paused juniper chen 25 failed grove dina 26 pending harbor
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000120-p1
Show entire lines where the second field falls within the inclusive range of 6 to 28.
$2 >= 6 && $2 <= 28
kim 3 pending indigo farah 27 ready fable lina 12 ready amber hana 13 pending amber lina 24 closed fable chen 10 closed birch chen 17 active juniper ivan 2 paused fable
farah 27 ready fable lina 12 ready amber hana 13 pending amber lina 24 closed fable chen 10 closed birch chen 17 active juniper
dina 24 pending grove lina 2 active birch hana 2 active juniper bruno 17 active fable jules 3 failed birch hana 28 paused fable jules 10 paused juniper chen 25 failed grove dina 26 pending harbor
dina 24 pending grove bruno 17 active fable hana 28 paused fable jules 10 paused juniper chen 25 failed grove dina 26 pending harbor
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000120
qwen/qwen3.7-plus
awkweave-0000121
Print column 1 only for rows where column 2 is exactly failed.
$2 == "failed"{print $1}
bruno pending 104 indigo dina pending 1 grove jules failed 107 delta hana pending 18 birch kim pending 90 delta kim active 88 grove ivan paused 32 harbor ivan paused 74 amber bruno ready 81 indigo ivan active 56 delta
jules
farah active 38 indigo bruno active 102 juniper eli failed 35 birch jules ready 99 birch alice pending 89 cobalt eli ready 68 cobalt farah active 117 cobalt kim active 34 indigo chen ready 62 harbor
eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000121-p1
Output only the first column for rows where the second column is exactly 'failed'.
$2 == "failed"{print $1}
bruno pending 104 indigo dina pending 1 grove jules failed 107 delta hana pending 18 birch kim pending 90 delta kim active 88 grove ivan paused 32 harbor ivan paused 74 amber bruno ready 81 indigo ivan active 56 delta
jules
farah active 38 indigo bruno active 102 juniper eli failed 35 birch jules ready 99 birch alice pending 89 cobalt eli ready 68 cobalt farah active 117 cobalt kim active 34 indigo chen ready 62 harbor
eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000121
qwen/qwen3.7-plus
awkweave-0000122
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
INFO grove 44 INFO amber 109 DEBUG grove 76 WARN cobalt 104 INFO harbor 73 ERROR harbor 18 DEBUG ember 3 DEBUG harbor 11 DEBUG ember 51 INFO grove 110
ERROR harbor 18
DEBUG cobalt 13 INFO fable 89 DEBUG delta 101 ERROR juniper 53 ERROR amber 77 WARN fable 28 INFO cobalt 61 INFO amber 70 WARN birch 50
ERROR juniper 53 ERROR amber 77
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000122-p1
Print all fields from lines where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
INFO grove 44 INFO amber 109 DEBUG grove 76 WARN cobalt 104 INFO harbor 73 ERROR harbor 18 DEBUG ember 3 DEBUG harbor 11 DEBUG ember 51 INFO grove 110
ERROR harbor 18
DEBUG cobalt 13 INFO fable 89 DEBUG delta 101 ERROR juniper 53 ERROR amber 77 WARN fable 28 INFO cobalt 61 INFO amber 70 WARN birch 50
ERROR juniper 53 ERROR amber 77
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000122
qwen/qwen3.7-plus
awkweave-0000123
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
delta 26 closed fable 107 paused amber 103 active fable 95 paused ember 19 active fable 92 active delta 6 paused grove 48 failed harbor 81 active amber 37 ready harbor 999 active
delta 26 closed fable 107 paused amber 103 active fable 95 paused ember 19 active fable 92 active delta 6 paused grove 48 failed amber 37 ready
delta 115 failed harbor 44 pending birch 84 active birch 66 active harbor 67 active ember 41 ready indigo 51 closed grove 59 pending ember 51 pending cobalt 107 failed harbor 999 active
delta 115 failed birch 84 active birch 66 active ember 41 ready indigo 51 closed grove 59 pending ember 51 pending cobalt 107 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000123-p1
Print every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
delta 26 closed fable 107 paused amber 103 active fable 95 paused ember 19 active fable 92 active delta 6 paused grove 48 failed harbor 81 active amber 37 ready harbor 999 active
delta 26 closed fable 107 paused amber 103 active fable 95 paused ember 19 active fable 92 active delta 6 paused grove 48 failed amber 37 ready
delta 115 failed harbor 44 pending birch 84 active birch 66 active harbor 67 active ember 41 ready indigo 51 closed grove 59 pending ember 51 pending cobalt 107 failed harbor 999 active
delta 115 failed birch 84 active birch 66 active ember 41 ready indigo 51 closed grove 59 pending ember 51 pending cobalt 107 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000123
qwen/qwen3.7-plus
awkweave-0000124
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
hana fable 44 jules harbor 22 dina ember 50 kim birch 25 ivan birch 62 eli fable 21 ivan grove 8 gus amber 82 alice delta 48
dina ember 50 kim birch 25
lina indigo 74 farah birch 91 bruno harbor 73 hana harbor 57 eli delta 87 lina delta 54
bruno harbor 73 hana harbor 57
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000124-p1
Output lines 3 to 4, inclusive.
NR >= 3 && NR <= 4
hana fable 44 jules harbor 22 dina ember 50 kim birch 25 ivan birch 62 eli fable 21 ivan grove 8 gus amber 82 alice delta 48
dina ember 50 kim birch 25
lina indigo 74 farah birch 91 bruno harbor 73 hana harbor 57 eli delta 87 lina delta 54
bruno harbor 73 hana harbor 57
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000124
qwen/qwen3.7-plus
awkweave-0000125
Output only the first 3 records.
NR <= 3
jules 56 grove chen 40 indigo lina 53 delta jules 51 harbor hana 109 cobalt farah 44 juniper
jules 56 grove chen 40 indigo lina 53 delta
eli 16 harbor chen 85 harbor alice 84 harbor chen 93 fable hana 66 grove jules 109 indigo bruno 66 amber ivan 109 ember
eli 16 harbor chen 85 harbor alice 84 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000125-p1
Display only the first three records.
NR <= 3
jules 56 grove chen 40 indigo lina 53 delta jules 51 harbor hana 109 cobalt farah 44 juniper
jules 56 grove chen 40 indigo lina 53 delta
eli 16 harbor chen 85 harbor alice 84 harbor chen 93 fable hana 66 grove jules 109 indigo bruno 66 amber ivan 109 ember
eli 16 harbor chen 85 harbor alice 84 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000125
qwen/qwen3.7-plus
awkweave-0000126
Skip the first line and print every remaining line unchanged.
NR > 1
jules 40 birch hana 76 fable jules 33 indigo ivan 79 birch chen 2 birch chen 83 cobalt bruno 16 birch eli 5 fable kim 55 birch bruno 8 juniper
hana 76 fable jules 33 indigo ivan 79 birch chen 2 birch chen 83 cobalt bruno 16 birch eli 5 fable kim 55 birch bruno 8 juniper
jules 61 amber dina 37 grove chen 38 harbor eli 26 grove gus 110 juniper hana 21 harbor chen 22 amber gus 75 indigo farah 80 delta dina 99 grove
dina 37 grove chen 38 harbor eli 26 grove gus 110 juniper hana 21 harbor chen 22 amber gus 75 indigo farah 80 delta dina 99 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000126-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
jules 40 birch hana 76 fable jules 33 indigo ivan 79 birch chen 2 birch chen 83 cobalt bruno 16 birch eli 5 fable kim 55 birch bruno 8 juniper
hana 76 fable jules 33 indigo ivan 79 birch chen 2 birch chen 83 cobalt bruno 16 birch eli 5 fable kim 55 birch bruno 8 juniper
jules 61 amber dina 37 grove chen 38 harbor eli 26 grove gus 110 juniper hana 21 harbor chen 22 amber gus 75 indigo farah 80 delta dina 99 grove
dina 37 grove chen 38 harbor eli 26 grove gus 110 juniper hana 21 harbor chen 22 amber gus 75 indigo farah 80 delta dina 99 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000126
qwen/qwen3.7-plus
awkweave-0000127
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
hana paused 56 ivan active 115 chen active 49 alice closed 84 bruno pending 103 chen ready 108 farah active 84 dina active 47 farah pending 27 bruno pending 45
0
lina pending 34 hana paused 29 dina pending 8 lina ready 57 farah closed 53 gus failed 105 hana ready 114 dina closed 112
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000127-p1
Count the number of records with 'failed' in the second column, outputting 0 if none exist.
$2 == "failed"{n++}END{print n+0}
hana paused 56 ivan active 115 chen active 49 alice closed 84 bruno pending 103 chen ready 108 farah active 84 dina active 47 farah pending 27 bruno pending 45
0
lina pending 34 hana paused 29 dina pending 8 lina ready 57 farah closed 53 gus failed 105 hana ready 114 dina closed 112
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000127
qwen/qwen3.7-plus
awkweave-0000128
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
jules birch 11 kim birch 4 hana indigo 8 dina grove 28 farah grove 20 hana grove 6 bruno juniper 1 kim indigo 7 ivan delta 24 hana delta 12
121
bruno harbor 14 eli delta 10 bruno delta 28 chen delta 23 chen fable 2 gus delta 8 gus harbor 13 lina cobalt 13 alice amber 1 gus delta 15
127
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000128-p1
Compute and display the sum of integer values in the third column.
{s+=$3}END{print s+0}
jules birch 11 kim birch 4 hana indigo 8 dina grove 28 farah grove 20 hana grove 6 bruno juniper 1 kim indigo 7 ivan delta 24 hana delta 12
121
bruno harbor 14 eli delta 10 bruno delta 28 chen delta 23 chen fable 2 gus delta 8 gus harbor 13 lina cobalt 13 alice amber 1 gus delta 15
127
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000128
qwen/qwen3.7-plus
awkweave-0000129
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 5 kim indigo 28 ivan cobalt 7 lina cobalt 30 dina fable 7 gus grove 18 farah harbor 23 lina grove 26 eli
18.00
juniper 21 farah birch 23 alice fable 26 jules ember 8 bruno harbor 12 dina indigo 22 farah
18.67
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000129-p1
Calculate and print the average of the second column, rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 5 kim indigo 28 ivan cobalt 7 lina cobalt 30 dina fable 7 gus grove 18 farah harbor 23 lina grove 26 eli
18.00
juniper 21 farah birch 23 alice fable 26 jules ember 8 bruno harbor 12 dina indigo 22 farah
18.67
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000129
qwen/qwen3.7-plus
awkweave-0000130
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable eli 21 ember hana 24 ember bruno 18 cobalt hana 16 harbor lina 7 amber hana 12 delta hana 20 fable jules 5 indigo dina 29
5
indigo alice 18 grove dina 29 harbor chen 16 indigo jules 25 indigo ivan 11 amber kim 17 grove gus 23
11
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000130-p1
Identify and output the minimum numerical value found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
fable eli 21 ember hana 24 ember bruno 18 cobalt hana 16 harbor lina 7 amber hana 12 delta hana 20 fable jules 5 indigo dina 29
5
indigo alice 18 grove dina 29 harbor chen 16 indigo jules 25 indigo ivan 11 amber kim 17 grove gus 23
11
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000130
qwen/qwen3.7-plus
awkweave-0000131
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 kim grove 1 ivan fable 2 farah juniper 15 bruno delta 25 eli fable 12 lina fable
25
20 eli birch 9 alice birch 14 lina amber 14 alice juniper 28 bruno amber 29 eli ember 13 jules fable 13 gus amber
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000131-p1
Locate and display the maximum numerical value within the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 kim grove 1 ivan fable 2 farah juniper 15 bruno delta 25 eli fable 12 lina fable
25
20 eli birch 9 alice birch 14 lina amber 14 alice juniper 28 bruno amber 29 eli ember 13 jules fable 13 gus amber
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000131
qwen/qwen3.7-plus
awkweave-0000132
Count all input records and print the total.
END{print NR}
eli 22 hana 97 gus 115 chen 26 lina 91 kim 89 farah 22 bruno 23
8
alice 8 farah 102 chen 91 eli 20 hana 80 chen 28
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000132-p1
Calculate the total number of input records and output the count.
END{print NR}
eli 22 hana 97 gus 115 chen 26 lina 91 kim 89 farah 22 bruno 23
8
alice 8 farah 102 chen 91 eli 20 hana 80 chen 28
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000132
qwen/qwen3.7-plus
awkweave-0000133
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice ember 76 chen amber 22 bruno fable 48 kim indigo 15 lina juniper 78 gus grove 8 eli ember 108 chen ember 108 kim indigo 15 gus ember 85 ivan ember 78
alice ember 76 chen amber 22 bruno fable 48 kim indigo 15 lina juniper 78 gus grove 8 eli ember 108 chen ember 108 gus ember 85 ivan ember 78
hana grove 85 jules juniper 6 ivan ember 68 eli grove 13 lina fable 119 jules juniper 41 chen juniper 23 ivan ember 68
hana grove 85 jules juniper 6 ivan ember 68 eli grove 13 lina fable 119 jules juniper 41 chen juniper 23
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000133-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
alice ember 76 chen amber 22 bruno fable 48 kim indigo 15 lina juniper 78 gus grove 8 eli ember 108 chen ember 108 kim indigo 15 gus ember 85 ivan ember 78
alice ember 76 chen amber 22 bruno fable 48 kim indigo 15 lina juniper 78 gus grove 8 eli ember 108 chen ember 108 gus ember 85 ivan ember 78
hana grove 85 jules juniper 6 ivan ember 68 eli grove 13 lina fable 119 jules juniper 41 chen juniper 23 ivan ember 68
hana grove 85 jules juniper 6 ivan ember 68 eli grove 13 lina fable 119 jules juniper 41 chen juniper 23
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000133
qwen/qwen3.7-plus
awkweave-0000134
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
jules juniper 43 kim cobalt 4 jules grove 80 ivan ember 92 alice cobalt 44 farah amber 84 kim indigo 2 alice fable 40
jules juniper 43 kim cobalt 4 ivan ember 92 alice cobalt 44 farah amber 84
bruno juniper 27 hana fable 69 gus juniper 88 farah birch 99 alice ember 27 alice indigo 65 gus birch 16
bruno juniper 27 hana fable 69 gus juniper 88 farah birch 99 alice ember 27
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000134-p1
Retain only the initial line for every unique value in the first column, keeping the original input order.
!seen[$1]++
jules juniper 43 kim cobalt 4 jules grove 80 ivan ember 92 alice cobalt 44 farah amber 84 kim indigo 2 alice fable 40
jules juniper 43 kim cobalt 4 ivan ember 92 alice cobalt 44 farah amber 84
bruno juniper 27 hana fable 69 gus juniper 88 farah birch 99 alice ember 27 alice indigo 65 gus birch 16
bruno juniper 27 hana fable 69 gus juniper 88 farah birch 99 alice ember 27
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000134
qwen/qwen3.7-plus
awkweave-0000135
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 23 juniper bruno 1 delta hana 17 delta kim 6 juniper bruno 2 harbor gus 19 ember eli 2 harbor ivan 23 indigo
ivan 23 bruno 24 hana 41 kim 47 bruno 49 gus 68 eli 70 ivan 93
eli 27 indigo gus 17 indigo kim 12 birch lina 20 harbor gus 26 ember ivan 5 juniper
eli 27 gus 44 kim 56 lina 76 gus 102 ivan 107
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000135-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
ivan 23 juniper bruno 1 delta hana 17 delta kim 6 juniper bruno 2 harbor gus 19 ember eli 2 harbor ivan 23 indigo
ivan 23 bruno 24 hana 41 kim 47 bruno 49 gus 68 eli 70 ivan 93
eli 27 indigo gus 17 indigo kim 12 birch lina 20 harbor gus 26 ember ivan 5 juniper
eli 27 gus 44 kim 56 lina 76 gus 102 ivan 107
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000135
qwen/qwen3.7-plus
awkweave-0000136
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 21 6 delta farah 29 6 grove eli 9 20 fable bruno 27 9 amber lina 21 3 cobalt dina 4 15 juniper hana 15 10 grove hana 7 21 birch gus 26 4 harbor jules 18 18 amber
chen 27 farah 35 eli 29 bruno 36 lina 24 dina 19 hana 25 hana 28 gus 30 jules 36
kim 20 30 amber eli 12 28 juniper farah 19 6 harbor hana 8 19 fable jules 23 4 delta chen 26 20 harbor lina 26 20 ember jules 3 20 indigo farah 12 13 delta jules 23 24 juniper
kim 50 eli 40 farah 25 hana 27 jules 27 chen 46 lina 46 jules 23 farah 25 jules 47
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000136-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
chen 21 6 delta farah 29 6 grove eli 9 20 fable bruno 27 9 amber lina 21 3 cobalt dina 4 15 juniper hana 15 10 grove hana 7 21 birch gus 26 4 harbor jules 18 18 amber
chen 27 farah 35 eli 29 bruno 36 lina 24 dina 19 hana 25 hana 28 gus 30 jules 36
kim 20 30 amber eli 12 28 juniper farah 19 6 harbor hana 8 19 fable jules 23 4 delta chen 26 20 harbor lina 26 20 ember jules 3 20 indigo farah 12 13 delta jules 23 24 juniper
kim 50 eli 40 farah 25 hana 27 jules 27 chen 46 lina 46 jules 23 farah 25 jules 47
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000136
qwen/qwen3.7-plus
awkweave-0000137
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
lina 8 lina 27 jules 4 gus 21 chen 10 alice 25 farah 5
lina fail lina pass jules fail gus pass chen fail alice pass farah fail
jules 24 farah 27 ivan 17 jules 24 ivan 7 ivan 11
jules pass farah pass ivan fail jules pass ivan fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000137-p1
Output the first column along with 'pass' if the second column is 21 or greater, otherwise output 'fail'.
{print $1,($2>=21?"pass":"fail")}
lina 8 lina 27 jules 4 gus 21 chen 10 alice 25 farah 5
lina fail lina pass jules fail gus pass chen fail alice pass farah fail
jules 24 farah 27 ivan 17 jules 24 ivan 7 ivan 11
jules pass farah pass ivan fail jules pass ivan fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000137
qwen/qwen3.7-plus
awkweave-0000138
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
chen ember 104 farah grove 15 ivan grove 68 farah birch 114 ivan harbor 85 kim grove 115 bruno birch 18 gus amber 93 eli fable 15
CHEN FARAH IVAN FARAH IVAN KIM BRUNO GUS ELI
jules ember 84 farah indigo 21 jules fable 82 bruno indigo 91 gus amber 83 alice delta 94
JULES FARAH JULES BRUNO GUS ALICE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000138-p1
Transform the first column to uppercase and print only that modified column.
{print toupper($1)}
chen ember 104 farah grove 15 ivan grove 68 farah birch 114 ivan harbor 85 kim grove 115 bruno birch 18 gus amber 93 eli fable 15
CHEN FARAH IVAN FARAH IVAN KIM BRUNO GUS ELI
jules ember 84 farah indigo 21 jules fable 82 bruno indigo 91 gus amber 83 alice delta 94
JULES FARAH JULES BRUNO GUS ALICE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000138
qwen/qwen3.7-plus
awkweave-0000139
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
juniper 24 ember 87 amber 40 harbor 23 delta 56 delta 90 grove 101 ember 101 juniper 100
un mb mb ar el el ro mb un
juniper 2 cobalt 60 ember 69 delta 10 harbor 53 indigo 83 birch 107 ember 28 cobalt 52
un ob mb el ar nd ir mb ob
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000139-p1
Extract and print a substring of 2 characters from the first column, starting at the second character position.
{print substr($1,2,2)}
juniper 24 ember 87 amber 40 harbor 23 delta 56 delta 90 grove 101 ember 101 juniper 100
un mb mb ar el el ro mb un
juniper 2 cobalt 60 ember 69 delta 10 harbor 53 indigo 83 birch 107 ember 28 cobalt 52
un ob mb el ar nd ir mb ob
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000139
qwen/qwen3.7-plus
awkweave-0000140
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_juniper 0 juniper_harbor 72 grove_juniper 99 cobalt_delta 43 birch_fable 26 harbor_delta 113 delta_juniper 40 cobalt_amber 62
birch juniper juniper harbor grove juniper cobalt delta birch fable harbor delta delta juniper cobalt amber
amber_birch 95 birch_birch 116 juniper_harbor 91 harbor_fable 111 delta_fable 109 delta_cobalt 39
amber birch birch birch juniper harbor harbor fable delta fable delta cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000140-p1
Substitute all underscores in the first column with spaces and print the updated values.
{gsub(/_/," ",$1);print $1}
birch_juniper 0 juniper_harbor 72 grove_juniper 99 cobalt_delta 43 birch_fable 26 harbor_delta 113 delta_juniper 40 cobalt_amber 62
birch juniper juniper harbor grove juniper cobalt delta birch fable harbor delta delta juniper cobalt amber
amber_birch 95 birch_birch 116 juniper_harbor 91 harbor_fable 111 delta_fable 109 delta_cobalt 39
amber birch birch birch juniper harbor harbor fable delta fable delta cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000140
qwen/qwen3.7-plus
awkweave-0000141
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)}
jules harbor 111 pending hana harbor 103 ready ivan grove 65 pending chen amber 99 pending ivan grove 40 pending bruno ember 82 ready eli ember 93 paused dina grove 112 pending gus harbor 113 active alice juniper 80 pending
pending 111 harbor jules ready 103 harbor hana pending 65 grove ivan pending 99 amber chen pending 40 grove ivan ready 82 ember bruno paused 93 ember eli pending 112 grove dina active 113 harbor gus pending 80 juniper alice
ivan fable 95 pending hana delta 112 paused alice fable 37 closed chen indigo 37 paused dina juniper 116 failed jules juniper 88 ready
pending 95 fable ivan paused 112 delta hana closed 37 fable alice paused 37 indigo chen failed 116 juniper dina ready 88 juniper jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000141-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules harbor 111 pending hana harbor 103 ready ivan grove 65 pending chen amber 99 pending ivan grove 40 pending bruno ember 82 ready eli ember 93 paused dina grove 112 pending gus harbor 113 active alice juniper 80 pending
pending 111 harbor jules ready 103 harbor hana pending 65 grove ivan pending 99 amber chen pending 40 grove ivan ready 82 ember bruno paused 93 ember eli pending 112 grove dina active 113 harbor gus pending 80 juniper alice
ivan fable 95 pending hana delta 112 paused alice fable 37 closed chen indigo 37 paused dina juniper 116 failed jules juniper 88 ready
pending 95 fable ivan paused 112 delta hana closed 37 fable alice paused 37 indigo chen failed 116 juniper dina ready 88 juniper jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000141
qwen/qwen3.7-plus
awkweave-0000142
Print the number of whitespace-separated fields on each line.
{print NF}
gus fable 67 failed alice amber 120 failed kim birch 3 pending kim indigo 44 paused alice indigo 78 pending eli cobalt 95 ready eli birch 18 paused ivan amber 46 paused hana juniper 56 active
4 4 4 4 4 4 4 4 4
dina delta 106 failed hana cobalt 99 closed kim delta 45 failed ivan cobalt 20 active lina indigo 79 pending farah indigo 15 ready eli juniper 103 closed kim ember 87 pending eli juniper 70 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000142-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
gus fable 67 failed alice amber 120 failed kim birch 3 pending kim indigo 44 paused alice indigo 78 pending eli cobalt 95 ready eli birch 18 paused ivan amber 46 paused hana juniper 56 active
4 4 4 4 4 4 4 4 4
dina delta 106 failed hana cobalt 99 closed kim delta 45 failed ivan cobalt 20 active lina indigo 79 pending farah indigo 15 ready eli juniper 103 closed kim ember 87 pending eli juniper 70 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000142
qwen/qwen3.7-plus
awkweave-0000143
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]]}
gus beta 22 dina alpha 72 dina delta 113 bruno gamma 82 jules beta 53 dina alpha 24 chen alpha 83
beta 2 alpha 3 delta 1 gamma 1
farah beta 99 farah beta 49 lina alpha 100 ivan alpha 37 jules alpha 58 jules delta 69 farah gamma 28 chen beta 103 hana delta 99
beta 3 alpha 3 delta 2 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000143-p1
Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining the order in which 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]]}
gus beta 22 dina alpha 72 dina delta 113 bruno gamma 82 jules beta 53 dina alpha 24 chen alpha 83
beta 2 alpha 3 delta 1 gamma 1
farah beta 99 farah beta 49 lina alpha 100 ivan alpha 37 jules alpha 58 jules delta 69 farah gamma 28 chen beta 103 hana delta 99
beta 3 alpha 3 delta 2 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000143
qwen/qwen3.7-plus
awkweave-0000144
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]]}
bruno beta 10 ivan gamma 4 hana gamma 8 farah beta 1 gus delta 3 eli gamma 20 bruno gamma 19 alice alpha 17 jules delta 15
beta 11 gamma 51 delta 18 alpha 17
chen delta 2 lina beta 11 bruno delta 9 hana delta 10 dina gamma 12 kim delta 5 dina gamma 28 dina delta 20 chen gamma 22
delta 46 beta 11 gamma 62
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000144-p1
Calculate the total of the third column grouped by the second column's categories, listing the results in the order the 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]]}
bruno beta 10 ivan gamma 4 hana gamma 8 farah beta 1 gus delta 3 eli gamma 20 bruno gamma 19 alice alpha 17 jules delta 15
beta 11 gamma 51 delta 18 alpha 17
chen delta 2 lina beta 11 bruno delta 9 hana delta 10 dina gamma 12 kim delta 5 dina gamma 28 dina delta 20 chen gamma 22
delta 46 beta 11 gamma 62
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000144
qwen/qwen3.7-plus
awkweave-0000145
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 indigo 107 alpha juniper 75 alpha delta 68 alpha amber 36 beta delta 82 gamma juniper 119 delta ember 39 alpha cobalt 88 gamma indigo 11 alpha cobalt 82
gamma 3 alpha 5
alpha cobalt 119 beta ember 50 alpha amber 32 delta birch 94 gamma fable 64 gamma amber 37 alpha fable 115
alpha 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000145-p1
List each value from the first column that appears more than once, along with its frequency, sorted by the order of first occurrence.
{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 indigo 107 alpha juniper 75 alpha delta 68 alpha amber 36 beta delta 82 gamma juniper 119 delta ember 39 alpha cobalt 88 gamma indigo 11 alpha cobalt 82
gamma 3 alpha 5
alpha cobalt 119 beta ember 50 alpha amber 32 delta birch 94 gamma fable 64 gamma amber 37 alpha fable 115
alpha 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000145
qwen/qwen3.7-plus
awkweave-0000146
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note record_id state region r001 chen 26 pending r002 alice 28 failed r003 gus 10 pending r004 farah 2 closed r005 dina 27 active r006 dina 29 ready r007 farah 26 pending
26 28 10 2 27 29 26
note record_id state region r001 eli 29 ready r002 bruno 22 pending r003 dina 5 paused r004 jules 25 closed r005 kim 3 pending r006 kim 15 failed r007 dina 19 closed r008 eli 13 closed
29 22 5 25 3 15 19 13
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000146-p1
Skip the header row and output the values from the state column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note record_id state region r001 chen 26 pending r002 alice 28 failed r003 gus 10 pending r004 farah 2 closed r005 dina 27 active r006 dina 29 ready r007 farah 26 pending
26 28 10 2 27 29 26
note record_id state region r001 eli 29 ready r002 bruno 22 pending r003 dina 5 paused r004 jules 25 closed r005 kim 3 pending r006 kim 15 failed r007 dina 19 closed r008 eli 13 closed
29 22 5 25 3 15 19 13
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000146
qwen/qwen3.7-plus
awkweave-0000147
The first row is a header. Print display_name for data rows whose score is greater than 18.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]}
record_id display_name score state r001 hana 27 paused r002 lina 24 closed r003 alice 25 failed r004 lina 1 pending r005 lina 7 closed r006 farah 21 failed r007 ivan 12 pending r008 ivan 4 pending r009 dina 11 active r010 kim 14 failed
hana lina alice farah
record_id display_name score state r001 ivan 14 active r002 gus 19 ready r003 lina 7 closed r004 gus 7 pending r005 alice 1 closed r006 farah 13 ready r007 eli 1 ready r008 dina 14 failed r009 gus 10 pending r010 alice 1 pending
gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000147-p1
Ignoring the header row, output the display_name field for any record where the score is strictly greater than 18.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]}
record_id display_name score state r001 hana 27 paused r002 lina 24 closed r003 alice 25 failed r004 lina 1 pending r005 lina 7 closed r006 farah 21 failed r007 ivan 12 pending r008 ivan 4 pending r009 dina 11 active r010 kim 14 failed
hana lina alice farah
record_id display_name score state r001 ivan 14 active r002 gus 19 ready r003 lina 7 closed r004 gus 7 pending r005 alice 1 closed r006 farah 13 ready r007 eli 1 ready r008 dina 14 failed r009 gus 10 pending r010 alice 1 pending
gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000147
qwen/qwen3.7-plus
awkweave-0000148
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
alice 14 closed lina 19 failed gus 12 closed bruno 10 pending chen 6 paused gus 30 pending
closed failed closed pending paused pending
chen 4 ready dina 30 pending bruno 4 closed ivan 22 paused ivan 22 ready jules 3 paused hana 9 active eli 15 closed lina 12 ready
ready pending closed paused ready paused active closed ready
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000148-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
alice 14 closed lina 19 failed gus 12 closed bruno 10 pending chen 6 paused gus 30 pending
closed failed closed pending paused pending
chen 4 ready dina 30 pending bruno 4 closed ivan 22 paused ivan 22 ready jules 3 paused hana 9 active eli 15 closed lina 12 ready
ready pending closed paused ready paused active closed ready
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0000148
qwen/qwen3.7-plus
awkweave-0000149
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18.
BEGIN{FS=OFS=","}$2>18{print $1}
dina,11,closed lina,16,pending dina,10,active bruno,10,paused farah,7,active bruno,27,paused farah,6,failed lina,28,pending kim,21,ready dina,14,pending
bruno lina kim
chen,12,active lina,27,active kim,14,closed jules,23,pending alice,12,failed kim,23,closed lina,14,failed gus,24,ready chen,18,pending
lina jules kim gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000149-p1
For simple comma-separated input without quoted commas, print the first field whenever the second field is greater than 18.
BEGIN{FS=OFS=","}$2>18{print $1}
dina,11,closed lina,16,pending dina,10,active bruno,10,paused farah,7,active bruno,27,paused farah,6,failed lina,28,pending kim,21,ready dina,14,pending
bruno lina kim
chen,12,active lina,27,active kim,14,closed jules,23,pending alice,12,failed kim,23,closed lina,14,failed gus,24,ready chen,18,pending
lina jules kim gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000149
qwen/qwen3.7-plus
awkweave-0000150
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah juniper 73 kim fable 75 jules fable 51 gus harbor 63 eli birch 39 jules fable 110
farah juniper 73 kim fable 75 jules fable 51 gus harbor 63 eli birch 39 jules fable 110
alice indigo 98 ivan fable 112 lina grove 32 alice ember 75 bruno ember 21 dina amber 66 bruno delta 114 chen amber 45
alice indigo 98 ivan fable 112 lina grove 32 alice ember 75 bruno ember 21 dina amber 66 bruno delta 114 chen amber 45
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000150-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
farah juniper 73 kim fable 75 jules fable 51 gus harbor 63 eli birch 39 jules fable 110
farah juniper 73 kim fable 75 jules fable 51 gus harbor 63 eli birch 39 jules fable 110
alice indigo 98 ivan fable 112 lina grove 32 alice ember 75 bruno ember 21 dina amber 66 bruno delta 114 chen amber 45
alice indigo 98 ivan fable 112 lina grove 32 alice ember 75 bruno ember 21 dina amber 66 bruno delta 114 chen amber 45
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000150
qwen/qwen3.7-plus
awkweave-0000151
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen indigo 92 active ivan harbor 93 pending jules harbor 96 ready ivan delta 76 ready lina birch 62 active eli birch 75 paused ivan delta 99 ready bruno delta 32 failed
ivan harbor 93 pending
eli grove 31 paused ivan indigo 63 closed gus amber 93 pending farah cobalt 84 failed alice indigo 32 pending jules birch 59 failed lina cobalt 101 paused
alice indigo 32 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000151-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen indigo 92 active ivan harbor 93 pending jules harbor 96 ready ivan delta 76 ready lina birch 62 active eli birch 75 paused ivan delta 99 ready bruno delta 32 failed
ivan harbor 93 pending
eli grove 31 paused ivan indigo 63 closed gus amber 93 pending farah cobalt 84 failed alice indigo 32 pending jules birch 59 failed lina cobalt 101 paused
alice indigo 32 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000151
qwen/qwen3.7-plus
awkweave-0000152
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
ivan 69 alice 116 jules 31 bruno 118 dina 27 lina 17
alice 116 bruno 118 lina 17
jules 17 farah 41 farah 76 jules 8 dina 101 farah 66
farah 41 jules 8 farah 66
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000152-p1
Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
ivan 69 alice 116 jules 31 bruno 118 dina 27 lina 17
alice 116 bruno 118 lina 17
jules 17 farah 41 farah 76 jules 8 dina 101 farah 66
farah 41 jules 8 farah 66
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000152
qwen/qwen3.7-plus
awkweave-0000153
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta delta 67 alpha fable 102 gamma harbor 38 delta ember 6 beta indigo 102 beta delta 13 delta fable 34 alpha grove 44 beta fable 78
4
alpha delta 96 beta indigo 87 gamma cobalt 90 beta fable 86 beta harbor 115 gamma indigo 17 delta birch 43 gamma cobalt 112 beta harbor 24 alpha fable 63
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000153-p1
Determine the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta delta 67 alpha fable 102 gamma harbor 38 delta ember 6 beta indigo 102 beta delta 13 delta fable 34 alpha grove 44 beta fable 78
4
alpha delta 96 beta indigo 87 gamma cobalt 90 beta fable 86 beta harbor 115 gamma indigo 17 delta birch 43 gamma cobalt 112 beta harbor 24 alpha fable 63
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000153
qwen/qwen3.7-plus
awkweave-0000154
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}
jules 9 0 farah 25 18 chen 18 9 dina 30 24 eli 25 26 dina 3 10 bruno 11 29
farah 1.39 chen 2.00 dina 1.25 eli 0.96 dina 0.30 bruno 0.38
jules 22 0 chen 28 15 dina 17 8 farah 26 1 hana 30 3 farah 30 29
chen 1.87 dina 2.12 farah 26.00 hana 10.00 farah 1.03
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000154-p1
For each row, output the first and second columns along with the result of dividing the second column by the third, formatted to two decimal places; exclude any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 9 0 farah 25 18 chen 18 9 dina 30 24 eli 25 26 dina 3 10 bruno 11 29
farah 1.39 chen 2.00 dina 1.25 eli 0.96 dina 0.30 bruno 0.38
jules 22 0 chen 28 15 dina 17 8 farah 26 1 hana 30 3 farah 30 29
chen 1.87 dina 2.12 farah 26.00 hana 10.00 farah 1.03
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000154
qwen/qwen3.7-plus
awkweave-0000155
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]}
lina indigo 26 alice cobalt 3 kim cobalt 30 jules juniper 27 hana ember 8 alice juniper 25
kim cobalt 30 jules juniper 27 lina indigo 26
ivan cobalt 26 eli delta 19 ivan delta 2 farah juniper 8 gus ember 10 kim delta 24 kim cobalt 7 eli fable 25 farah indigo 23 gus cobalt 13
ivan cobalt 26 eli fable 25 kim delta 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000155-p1
Display the full records corresponding to the three largest numeric values in the third column, sorted in descending order, while maintaining 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]}
lina indigo 26 alice cobalt 3 kim cobalt 30 jules juniper 27 hana ember 8 alice juniper 25
kim cobalt 30 jules juniper 27 lina indigo 26
ivan cobalt 26 eli delta 19 ivan delta 2 farah juniper 8 gus ember 10 kim delta 24 kim cobalt 7 eli fable 25 farah indigo 23 gus cobalt 13
ivan cobalt 26 eli fable 25 kim delta 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000155
qwen/qwen3.7-plus
awkweave-0000156
Print column 3 followed by column 1 for every record.
{print $3, $1}
active fable ready 64 ready delta pending 81 failed delta closed 5 active grove paused 46 closed grove active 33 pending birch closed 74 failed amber active 54
ready active pending ready closed failed paused active active closed closed pending active failed
closed birch active 18 closed grove pending 43 ready juniper pending 115 pending indigo closed 25 closed cobalt ready 69 ready cobalt failed 32 closed ember ready 80 paused birch active 74 closed birch pending 60 closed birch closed 25
active closed pending closed pending ready closed pending ready closed failed ready ready closed active paused pending closed closed closed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000156-p1
Output the third column followed by the first column for every record.
{print $3, $1}
active fable ready 64 ready delta pending 81 failed delta closed 5 active grove paused 46 closed grove active 33 pending birch closed 74 failed amber active 54
ready active pending ready closed failed paused active active closed closed pending active failed
closed birch active 18 closed grove pending 43 ready juniper pending 115 pending indigo closed 25 closed cobalt ready 69 ready cobalt failed 32 closed ember ready 80 paused birch active 74 closed birch pending 60 closed birch closed 25
active closed pending closed pending ready closed pending ready closed failed ready ready closed active paused pending closed closed closed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000156
qwen/qwen3.7-plus
awkweave-0000157
Print the last field of every input line.
{print $NF}
ready 82 lina 86 13 gus ready active 3 hana 44 113 chen active ready 116 eli 21 82 ivan pending pending 70 bruno 72 95 hana pending paused 57 dina 77 55 gus pending ready 116 alice 79 25 chen ready paused 90 bruno 104 42 farah active
ready active pending pending pending ready active
pending 120 lina 18 99 gus active failed 67 kim 73 111 kim failed ready 108 farah 52 115 hana ready failed 39 bruno 104 78 lina closed failed 81 jules 53 10 hana active paused 41 lina 18 95 alice pending failed 44 alice 116 39 chen paused ready 79 lina 104 58 jules failed
active failed ready closed active pending paused failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000157-p1
Print the final field from each input line.
{print $NF}
ready 82 lina 86 13 gus ready active 3 hana 44 113 chen active ready 116 eli 21 82 ivan pending pending 70 bruno 72 95 hana pending paused 57 dina 77 55 gus pending ready 116 alice 79 25 chen ready paused 90 bruno 104 42 farah active
ready active pending pending pending ready active
pending 120 lina 18 99 gus active failed 67 kim 73 111 kim failed ready 108 farah 52 115 hana ready failed 39 bruno 104 78 lina closed failed 81 jules 53 10 hana active paused 41 lina 18 95 alice pending failed 44 alice 116 39 chen paused ready 79 lina 104 58 jules failed
active failed ready closed active pending paused failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000157
qwen/qwen3.7-plus
awkweave-0000158
Print the complete records where column 1 is at most 26.
$1 <= 26
5 pending amber 80 active amber 106 failed indigo 60 active juniper 27 ready ember 67 ready amber 101 active amber
5 pending amber
12 pending amber 69 active birch 58 failed ember 4 active delta 116 closed fable 84 active juniper 97 active cobalt 23 closed juniper
12 pending amber 4 active delta 23 closed juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000158-p1
Display the complete records where the value in the first column is less than or equal to 26.
$1 <= 26
5 pending amber 80 active amber 106 failed indigo 60 active juniper 27 ready ember 67 ready amber 101 active amber
5 pending amber
12 pending amber 69 active birch 58 failed ember 4 active delta 116 closed fable 84 active juniper 97 active cobalt 23 closed juniper
12 pending amber 4 active delta 23 closed juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000158
qwen/qwen3.7-plus
awkweave-0000159
Show whole lines whose 2nd field is between 11 and 22, inclusive.
$2 >= 11 && $2 <= 22
chen 27 bruno ivan farah 19 gus farah gus 24 lina jules bruno 29 jules lina bruno 4 dina chen kim 6 bruno hana hana 29 jules kim alice 29 hana alice
farah 19 gus farah
jules 2 bruno ivan chen 7 hana farah bruno 3 bruno jules gus 27 ivan hana lina 27 ivan bruno kim 2 bruno chen bruno 10 bruno alice farah 16 eli gus jules 27 eli dina
farah 16 eli gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0000159-p1
Show entire lines where the second field falls within the inclusive range of 11 to 22.
$2 >= 11 && $2 <= 22
chen 27 bruno ivan farah 19 gus farah gus 24 lina jules bruno 29 jules lina bruno 4 dina chen kim 6 bruno hana hana 29 jules kim alice 29 hana alice
farah 19 gus farah
jules 2 bruno ivan chen 7 hana farah bruno 3 bruno jules gus 27 ivan hana lina 27 ivan bruno kim 2 bruno chen bruno 10 bruno alice farah 16 eli gus jules 27 eli dina
farah 16 eli gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0000159
qwen/qwen3.7-plus