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-0021721
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}
lina 14 0 jules 3 27 gus 1 23 eli 11 15 kim 2 22 eli 8 4 chen 24 16 kim 14 16
jules 0.11 gus 0.04 eli 0.73 kim 0.09 eli 2.00 chen 1.50 kim 0.88
farah 2 0 ivan 14 11 kim 27 17 hana 26 30 alice 9 13 gus 1 6 gus 7 27 gus 16 30 ivan 2 13 lina 11 18
ivan 1.27 kim 1.59 hana 0.87 alice 0.69 gus 0.17 gus 0.26 gus 0.53 ivan 0.15 lina 0.61
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021721-p1
For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 14 0 jules 3 27 gus 1 23 eli 11 15 kim 2 22 eli 8 4 chen 24 16 kim 14 16
jules 0.11 gus 0.04 eli 0.73 kim 0.09 eli 2.00 chen 1.50 kim 0.88
farah 2 0 ivan 14 11 kim 27 17 hana 26 30 alice 9 13 gus 1 6 gus 7 27 gus 16 30 ivan 2 13 lina 11 18
ivan 1.27 kim 1.59 hana 0.87 alice 0.69 gus 0.17 gus 0.26 gus 0.53 ivan 0.15 lina 0.61
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021721
qwen/qwen3.7-plus
awkweave-0021722
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]}
hana delta 17 ivan fable 2 alice delta 22 lina birch 16 dina birch 18 hana juniper 28
hana juniper 28 alice delta 22 dina birch 18
hana fable 6 kim grove 15 bruno harbor 18 chen grove 6 lina grove 13 lina grove 4 chen amber 11
bruno harbor 18 kim grove 15 lina grove 13
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021722-p1
Display the full records corresponding to the top three 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]}
hana delta 17 ivan fable 2 alice delta 22 lina birch 16 dina birch 18 hana juniper 28
hana juniper 28 alice delta 22 dina birch 18
hana fable 6 kim grove 15 bruno harbor 18 chen grove 6 lina grove 13 lina grove 4 chen amber 11
bruno harbor 18 kim grove 15 lina grove 13
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021722
qwen/qwen3.7-plus
awkweave-0021723
Print column 5 followed by column 3 for every record.
{print $5, $3}
farah delta hana 28 43 hana juniper gus 39 92 eli amber ivan 47 64 alice indigo gus 4 44 gus birch chen 57 80 farah fable dina 104 90 bruno fable farah 53 67 ivan juniper farah 55 13 alice harbor hana 113 71 farah birch ivan 33 34
43 hana 92 gus 64 ivan 44 gus 80 chen 90 dina 67 farah 13 farah 71 hana 34 ivan
lina fable alice 118 78 hana birch jules 39 41 dina juniper eli 8 34 chen birch bruno 49 30 gus indigo alice 116 68 jules birch alice 70 42 jules juniper eli 0 61 ivan juniper jules 71 51 kim grove eli 111 27 eli delta ivan 11 1
78 alice 41 jules 34 eli 30 bruno 68 alice 42 alice 61 eli 51 jules 27 eli 1 ivan
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021723-p1
Output the fifth column followed by the third column for every record.
{print $5, $3}
farah delta hana 28 43 hana juniper gus 39 92 eli amber ivan 47 64 alice indigo gus 4 44 gus birch chen 57 80 farah fable dina 104 90 bruno fable farah 53 67 ivan juniper farah 55 13 alice harbor hana 113 71 farah birch ivan 33 34
43 hana 92 gus 64 ivan 44 gus 80 chen 90 dina 67 farah 13 farah 71 hana 34 ivan
lina fable alice 118 78 hana birch jules 39 41 dina juniper eli 8 34 chen birch bruno 49 30 gus indigo alice 116 68 jules birch alice 70 42 jules juniper eli 0 61 ivan juniper jules 71 51 kim grove eli 111 27 eli delta ivan 11 1
78 alice 41 jules 34 eli 30 bruno 68 alice 42 alice 61 eli 51 jules 27 eli 1 ivan
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021723
qwen/qwen3.7-plus
awkweave-0021724
Print the last field of every input line.
{print $NF}
83 69 alice 92 99 54 jules 83 44 102 lina 104 42 61 bruno 93 62 98 lina 102 80 108 jules 82
92 83 104 93 102 82
8 61 gus 74 22 12 dina 74 120 16 farah 81 2 103 lina 42 42 90 alice 86 4 84 alice 12 58 55 ivan 110 39 55 dina 50 70 112 dina 96
74 74 81 42 86 12 110 50 96
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021724-p1
Print the final field from each input line.
{print $NF}
83 69 alice 92 99 54 jules 83 44 102 lina 104 42 61 bruno 93 62 98 lina 102 80 108 jules 82
92 83 104 93 102 82
8 61 gus 74 22 12 dina 74 120 16 farah 81 2 103 lina 42 42 90 alice 86 4 84 alice 12 58 55 ivan 110 39 55 dina 50 70 112 dina 96
74 74 81 42 86 12 110 50 96
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021724
qwen/qwen3.7-plus
awkweave-0021725
Print the complete records where column 1 is greater than 51.
$1 > 51
62 alice birch closed fable 66 farah fable failed grove 41 hana juniper ready fable 28 kim amber ready birch 39 bruno harbor failed amber 23 kim delta active indigo 25 gus indigo pending cobalt 109 jules amber pending harbor 32 eli amber active cobalt
62 alice birch closed fable 66 farah fable failed grove 109 jules amber pending harbor
25 eli amber closed juniper 4 farah grove paused cobalt 108 hana juniper active cobalt 102 alice harbor failed juniper 76 eli fable closed juniper 115 bruno indigo active juniper 31 jules cobalt closed cobalt
108 hana juniper active cobalt 102 alice harbor failed juniper 76 eli fable closed juniper 115 bruno indigo active juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021725-p1
Output the full records for which the value in the first column exceeds 51.
$1 > 51
62 alice birch closed fable 66 farah fable failed grove 41 hana juniper ready fable 28 kim amber ready birch 39 bruno harbor failed amber 23 kim delta active indigo 25 gus indigo pending cobalt 109 jules amber pending harbor 32 eli amber active cobalt
62 alice birch closed fable 66 farah fable failed grove 109 jules amber pending harbor
25 eli amber closed juniper 4 farah grove paused cobalt 108 hana juniper active cobalt 102 alice harbor failed juniper 76 eli fable closed juniper 115 bruno indigo active juniper 31 jules cobalt closed cobalt
108 hana juniper active cobalt 102 alice harbor failed juniper 76 eli fable closed juniper 115 bruno indigo active juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021725
qwen/qwen3.7-plus
awkweave-0021726
Show whole lines whose 1st field is between 11 and 23, inclusive.
$1 >= 11 && $1 <= 23
16 lina pending closed 14 dina active failed 18 hana failed failed 22 kim active failed 21 chen ready paused 23 alice closed closed 13 chen paused pending 15 eli ready failed 13 alice paused closed
16 lina pending closed 14 dina active failed 18 hana failed failed 22 kim active failed 21 chen ready paused 23 alice closed closed 13 chen paused pending 15 eli ready failed 13 alice paused closed
8 ivan paused ready 5 kim ready closed 16 farah active paused 21 dina paused failed 7 kim closed active 18 farah closed pending 26 chen failed paused 15 kim pending ready
16 farah active paused 21 dina paused failed 18 farah closed pending 15 kim pending ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021726-p1
Display entire lines where the first field falls within the inclusive range of 11 to 23.
$1 >= 11 && $1 <= 23
16 lina pending closed 14 dina active failed 18 hana failed failed 22 kim active failed 21 chen ready paused 23 alice closed closed 13 chen paused pending 15 eli ready failed 13 alice paused closed
16 lina pending closed 14 dina active failed 18 hana failed failed 22 kim active failed 21 chen ready paused 23 alice closed closed 13 chen paused pending 15 eli ready failed 13 alice paused closed
8 ivan paused ready 5 kim ready closed 16 farah active paused 21 dina paused failed 7 kim closed active 18 farah closed pending 26 chen failed paused 15 kim pending ready
16 farah active paused 21 dina paused failed 18 farah closed pending 15 kim pending ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021726
qwen/qwen3.7-plus
awkweave-0021727
Print column 2 only for rows where column 4 is exactly ready.
$4 == "ready"{print $2}
ember chen 10 pending cobalt farah 22 closed juniper kim 30 failed ember kim 17 failed fable lina 92 failed fable alice 11 ready grove hana 0 paused
alice
harbor hana 79 pending juniper eli 96 active juniper kim 86 active amber dina 24 ready birch eli 103 active juniper gus 58 active fable jules 78 active amber jules 102 ready amber ivan 48 pending
dina jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021727-p1
Output only the second column for rows where the fourth column matches the exact string 'ready'.
$4 == "ready"{print $2}
ember chen 10 pending cobalt farah 22 closed juniper kim 30 failed ember kim 17 failed fable lina 92 failed fable alice 11 ready grove hana 0 paused
alice
harbor hana 79 pending juniper eli 96 active juniper kim 86 active amber dina 24 ready birch eli 103 active juniper gus 58 active fable jules 78 active amber jules 102 ready amber ivan 48 pending
dina jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021727
qwen/qwen3.7-plus
awkweave-0021728
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO 71 delta INFO 23 grove INFO 65 fable DEBUG 63 delta DEBUG 86 juniper WARN 81 amber WARN 49 fable INFO 41 amber WARN 2 juniper
INFO 71 delta INFO 23 grove INFO 65 fable INFO 41 amber
WARN 32 delta WARN 12 fable ERROR 33 cobalt WARN 41 cobalt DEBUG 120 juniper ERROR 119 indigo DEBUG 6 ember ERROR 93 delta INFO 17 ember
INFO 17 ember
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021728-p1
Print all fields from lines where the first field starts with the prefix 'INFO'.
$1 ~ /^INFO/
INFO 71 delta INFO 23 grove INFO 65 fable DEBUG 63 delta DEBUG 86 juniper WARN 81 amber WARN 49 fable INFO 41 amber WARN 2 juniper
INFO 71 delta INFO 23 grove INFO 65 fable INFO 41 amber
WARN 32 delta WARN 12 fable ERROR 33 cobalt WARN 41 cobalt DEBUG 120 juniper ERROR 119 indigo DEBUG 6 ember ERROR 93 delta INFO 17 ember
INFO 17 ember
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021728
qwen/qwen3.7-plus
awkweave-0021729
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
delta 94 ready amber 105 active grove 84 active amber 68 closed fable 20 ready fable 21 failed fable 29 ready cobalt 81 failed cobalt 76 paused harbor 999 active
delta 94 ready amber 105 active grove 84 active amber 68 closed fable 20 ready fable 21 failed fable 29 ready cobalt 81 failed cobalt 76 paused
indigo 23 paused grove 97 pending juniper 6 active delta 90 pending juniper 41 failed juniper 77 ready delta 4 paused harbor 999 active
indigo 23 paused grove 97 pending juniper 6 active delta 90 pending juniper 41 failed juniper 77 ready delta 4 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021729-p1
Output every line that does not contain the exact substring 'harbor'.
$0 !~ /harbor/
delta 94 ready amber 105 active grove 84 active amber 68 closed fable 20 ready fable 21 failed fable 29 ready cobalt 81 failed cobalt 76 paused harbor 999 active
delta 94 ready amber 105 active grove 84 active amber 68 closed fable 20 ready fable 21 failed fable 29 ready cobalt 81 failed cobalt 76 paused
indigo 23 paused grove 97 pending juniper 6 active delta 90 pending juniper 41 failed juniper 77 ready delta 4 paused harbor 999 active
indigo 23 paused grove 97 pending juniper 6 active delta 90 pending juniper 41 failed juniper 77 ready delta 4 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021729
qwen/qwen3.7-plus
awkweave-0021730
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
farah indigo 54 alice cobalt 68 chen birch 15 hana cobalt 72 chen grove 72 alice juniper 105 chen harbor 49 chen grove 34 jules delta 117
hana cobalt 72 chen grove 72 alice juniper 105 chen harbor 49
alice indigo 31 alice ember 33 chen grove 107 dina harbor 32 lina ember 36 hana grove 110
dina harbor 32 lina ember 36 hana grove 110
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021730-p1
Display lines 4 to 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
farah indigo 54 alice cobalt 68 chen birch 15 hana cobalt 72 chen grove 72 alice juniper 105 chen harbor 49 chen grove 34 jules delta 117
hana cobalt 72 chen grove 72 alice juniper 105 chen harbor 49
alice indigo 31 alice ember 33 chen grove 107 dina harbor 32 lina ember 36 hana grove 110
dina harbor 32 lina ember 36 hana grove 110
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021730
qwen/qwen3.7-plus
awkweave-0021731
Output only the first 5 records.
NR <= 5
hana 2 birch gus 47 birch farah 47 grove bruno 12 juniper eli 38 grove chen 5 delta farah 31 harbor kim 11 cobalt
hana 2 birch gus 47 birch farah 47 grove bruno 12 juniper eli 38 grove
kim 48 cobalt chen 120 delta eli 49 juniper kim 114 ember farah 67 harbor chen 70 delta farah 91 birch dina 63 amber
kim 48 cobalt chen 120 delta eli 49 juniper kim 114 ember farah 67 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021731-p1
Output just the initial 5 records.
NR <= 5
hana 2 birch gus 47 birch farah 47 grove bruno 12 juniper eli 38 grove chen 5 delta farah 31 harbor kim 11 cobalt
hana 2 birch gus 47 birch farah 47 grove bruno 12 juniper eli 38 grove
kim 48 cobalt chen 120 delta eli 49 juniper kim 114 ember farah 67 harbor chen 70 delta farah 91 birch dina 63 amber
kim 48 cobalt chen 120 delta eli 49 juniper kim 114 ember farah 67 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021731
qwen/qwen3.7-plus
awkweave-0021732
Skip the first line and print every remaining line unchanged.
NR > 1
dina 33 birch gus 5 amber farah 23 grove gus 82 juniper alice 87 indigo gus 120 fable bruno 111 cobalt
gus 5 amber farah 23 grove gus 82 juniper alice 87 indigo gus 120 fable bruno 111 cobalt
alice 17 grove kim 36 birch gus 114 ember farah 36 cobalt lina 25 harbor chen 68 indigo farah 49 delta alice 106 ember chen 65 fable
kim 36 birch gus 114 ember farah 36 cobalt lina 25 harbor chen 68 indigo farah 49 delta alice 106 ember chen 65 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021732-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
dina 33 birch gus 5 amber farah 23 grove gus 82 juniper alice 87 indigo gus 120 fable bruno 111 cobalt
gus 5 amber farah 23 grove gus 82 juniper alice 87 indigo gus 120 fable bruno 111 cobalt
alice 17 grove kim 36 birch gus 114 ember farah 36 cobalt lina 25 harbor chen 68 indigo farah 49 delta alice 106 ember chen 65 fable
kim 36 birch gus 114 ember farah 36 cobalt lina 25 harbor chen 68 indigo farah 49 delta alice 106 ember chen 65 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021732
qwen/qwen3.7-plus
awkweave-0021733
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
chen active 61 jules pending 120 lina active 43 alice active 116 chen closed 118 alice active 12 chen failed 38 alice failed 45
0
jules active 34 alice active 97 chen failed 74 jules closed 103 chen pending 81 hana ready 68
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021733-p1
Tally the number of records where column 2 contains 'paused', printing 0 if the count is zero.
$2 == "paused"{n++}END{print n+0}
chen active 61 jules pending 120 lina active 43 alice active 116 chen closed 118 alice active 12 chen failed 38 alice failed 45
0
jules active 34 alice active 97 chen failed 74 jules closed 103 chen pending 81 hana ready 68
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021733
qwen/qwen3.7-plus
awkweave-0021734
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
21 jules juniper 2 alice cobalt 17 farah fable 8 bruno fable 19 hana delta 20 lina fable 13 ivan fable 28 alice birch 7 dina cobalt
135
26 eli harbor 15 hana harbor 26 farah indigo 20 chen juniper 17 lina ember 11 chen grove 16 kim delta 7 dina indigo 7 eli juniper
145
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021734-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
21 jules juniper 2 alice cobalt 17 farah fable 8 bruno fable 19 hana delta 20 lina fable 13 ivan fable 28 alice birch 7 dina cobalt
135
26 eli harbor 15 hana harbor 26 farah indigo 20 chen juniper 17 lina ember 11 chen grove 16 kim delta 7 dina indigo 7 eli juniper
145
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021734
qwen/qwen3.7-plus
awkweave-0021735
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
bruno juniper 18 dina delta 15 gus juniper 27 chen indigo 3 jules harbor 29 lina delta 1 ivan fable 21 jules indigo 11 gus birch 29 bruno juniper 14
16.80
kim amber 2 gus indigo 15 chen indigo 1 eli juniper 5 eli birch 12 kim birch 7 hana ember 9 alice juniper 26 lina fable 6 dina birch 11
9.40
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021735-p1
Calculate the average of column 3 and print it rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
bruno juniper 18 dina delta 15 gus juniper 27 chen indigo 3 jules harbor 29 lina delta 1 ivan fable 21 jules indigo 11 gus birch 29 bruno juniper 14
16.80
kim amber 2 gus indigo 15 chen indigo 1 eli juniper 5 eli birch 12 kim birch 7 hana ember 9 alice juniper 26 lina fable 6 dina birch 11
9.40
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021735
qwen/qwen3.7-plus
awkweave-0021736
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
farah 26 delta farah 26 harbor ivan 28 delta ivan 5 harbor lina 11 harbor jules 8 grove bruno 1 birch ivan 15 fable
1
lina 26 juniper gus 6 ember gus 2 indigo bruno 26 amber kim 3 ember bruno 21 ember
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021736-p1
Identify and output the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
farah 26 delta farah 26 harbor ivan 28 delta ivan 5 harbor lina 11 harbor jules 8 grove bruno 1 birch ivan 15 fable
1
lina 26 juniper gus 6 ember gus 2 indigo bruno 26 amber kim 3 ember bruno 21 ember
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021736
qwen/qwen3.7-plus
awkweave-0021737
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
8 alice birch 15 gus amber 5 hana cobalt 28 farah fable 8 alice delta 9 hana delta 2 dina indigo 23 bruno cobalt
28
14 alice birch 22 kim amber 27 alice juniper 5 hana harbor 10 gus grove 28 kim cobalt
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021737-p1
Identify and output the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
8 alice birch 15 gus amber 5 hana cobalt 28 farah fable 8 alice delta 9 hana delta 2 dina indigo 23 bruno cobalt
28
14 alice birch 22 kim amber 27 alice juniper 5 hana harbor 10 gus grove 28 kim cobalt
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021737
qwen/qwen3.7-plus
awkweave-0021738
Count all input records and print the total.
END{print NR}
chen 4 jules 61 farah 116 farah 56 ivan 90 gus 100 jules 43 dina 25
8
dina 7 bruno 41 farah 0 chen 33 farah 95 farah 114 gus 3 hana 92 ivan 38 bruno 4
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021738-p1
Count the total number of input records and print the result.
END{print NR}
chen 4 jules 61 farah 116 farah 56 ivan 90 gus 100 jules 43 dina 25
8
dina 7 bruno 41 farah 0 chen 33 farah 95 farah 114 gus 3 hana 92 ivan 38 bruno 4
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021738
qwen/qwen3.7-plus
awkweave-0021739
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen delta 67 farah birch 63 ivan amber 45 hana juniper 14 chen fable 99 lina birch 96 dina cobalt 75 chen indigo 11 ivan fable 49 alice juniper 95 ivan fable 49
chen delta 67 farah birch 63 ivan amber 45 hana juniper 14 chen fable 99 lina birch 96 dina cobalt 75 chen indigo 11 ivan fable 49 alice juniper 95
alice birch 11 jules birch 91 bruno indigo 50 farah fable 77 farah harbor 93 alice birch 11 kim cobalt 33 eli harbor 48 jules cobalt 60 jules fable 26
alice birch 11 jules birch 91 bruno indigo 50 farah fable 77 farah harbor 93 kim cobalt 33 eli harbor 48 jules cobalt 60 jules fable 26
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021739-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
chen delta 67 farah birch 63 ivan amber 45 hana juniper 14 chen fable 99 lina birch 96 dina cobalt 75 chen indigo 11 ivan fable 49 alice juniper 95 ivan fable 49
chen delta 67 farah birch 63 ivan amber 45 hana juniper 14 chen fable 99 lina birch 96 dina cobalt 75 chen indigo 11 ivan fable 49 alice juniper 95
alice birch 11 jules birch 91 bruno indigo 50 farah fable 77 farah harbor 93 alice birch 11 kim cobalt 33 eli harbor 48 jules cobalt 60 jules fable 26
alice birch 11 jules birch 91 bruno indigo 50 farah fable 77 farah harbor 93 kim cobalt 33 eli harbor 48 jules cobalt 60 jules fable 26
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021739
qwen/qwen3.7-plus
awkweave-0021740
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
lina delta 82 gus birch 3 lina delta 70 lina delta 16 gus ember 69 farah birch 77 alice harbor 71 ivan delta 55
lina delta 82 gus birch 3 farah birch 77 alice harbor 71 ivan delta 55
lina birch 49 bruno delta 95 eli amber 67 farah indigo 33 gus delta 25 eli amber 41 ivan ember 56 kim grove 62 ivan juniper 46 hana grove 51
lina birch 49 bruno delta 95 eli amber 67 farah indigo 33 gus delta 25 ivan ember 56 kim grove 62 hana grove 51
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021740-p1
Retain only the first occurrence for each unique value in column 1, keeping the original input order.
!seen[$1]++
lina delta 82 gus birch 3 lina delta 70 lina delta 16 gus ember 69 farah birch 77 alice harbor 71 ivan delta 55
lina delta 82 gus birch 3 farah birch 77 alice harbor 71 ivan delta 55
lina birch 49 bruno delta 95 eli amber 67 farah indigo 33 gus delta 25 eli amber 41 ivan ember 56 kim grove 62 ivan juniper 46 hana grove 51
lina birch 49 bruno delta 95 eli amber 67 farah indigo 33 gus delta 25 ivan ember 56 kim grove 62 hana grove 51
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021740
qwen/qwen3.7-plus
awkweave-0021741
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 4 cobalt jules 2 birch lina 13 amber jules 3 cobalt gus 20 birch dina 10 fable eli 13 juniper alice 8 birch
hana 4 jules 6 lina 19 jules 22 gus 42 dina 52 eli 65 alice 73
hana 27 cobalt gus 28 cobalt chen 19 delta farah 13 ember bruno 29 harbor farah 27 delta ivan 11 grove farah 28 ember
hana 27 gus 55 chen 74 farah 87 bruno 116 farah 143 ivan 154 farah 182
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021741-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 4 cobalt jules 2 birch lina 13 amber jules 3 cobalt gus 20 birch dina 10 fable eli 13 juniper alice 8 birch
hana 4 jules 6 lina 19 jules 22 gus 42 dina 52 eli 65 alice 73
hana 27 cobalt gus 28 cobalt chen 19 delta farah 13 ember bruno 29 harbor farah 27 delta ivan 11 grove farah 28 ember
hana 27 gus 55 chen 74 farah 87 bruno 116 farah 143 ivan 154 farah 182
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021741
qwen/qwen3.7-plus
awkweave-0021742
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 12 12 ember alice 13 25 ember hana 27 20 grove ivan 24 28 cobalt jules 6 13 ember gus 19 21 harbor jules 15 3 delta
kim 24 alice 38 hana 47 ivan 52 jules 19 gus 40 jules 18
eli 19 22 harbor eli 2 22 indigo dina 14 1 indigo hana 10 7 harbor dina 29 11 delta ivan 7 8 indigo gus 23 24 delta eli 3 4 fable gus 26 26 juniper hana 4 15 amber
eli 41 eli 24 dina 15 hana 17 dina 40 ivan 15 gus 47 eli 7 gus 52 hana 19
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021742-p1
For each line, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 12 12 ember alice 13 25 ember hana 27 20 grove ivan 24 28 cobalt jules 6 13 ember gus 19 21 harbor jules 15 3 delta
kim 24 alice 38 hana 47 ivan 52 jules 19 gus 40 jules 18
eli 19 22 harbor eli 2 22 indigo dina 14 1 indigo hana 10 7 harbor dina 29 11 delta ivan 7 8 indigo gus 23 24 delta eli 3 4 fable gus 26 26 juniper hana 4 15 amber
eli 41 eli 24 dina 15 hana 17 dina 40 ivan 15 gus 47 eli 7 gus 52 hana 19
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021742
qwen/qwen3.7-plus
awkweave-0021743
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
bruno 14 lina 12 ivan 8 jules 19 eli 27 kim 8 dina 10 alice 23
bruno fail lina fail ivan fail jules fail eli pass kim fail dina fail alice fail
ivan 19 lina 27 dina 12 dina 15 bruno 15 ivan 5
ivan fail lina pass dina fail dina fail bruno fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021743-p1
Output the first column; if the second column is 24 or higher, print pass, otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
bruno 14 lina 12 ivan 8 jules 19 eli 27 kim 8 dina 10 alice 23
bruno fail lina fail ivan fail jules fail eli pass kim fail dina fail alice fail
ivan 19 lina 27 dina 12 dina 15 bruno 15 ivan 5
ivan fail lina pass dina fail dina fail bruno fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021743
qwen/qwen3.7-plus
awkweave-0021744
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli amber 99 eli harbor 102 bruno indigo 26 eli delta 13 eli grove 7 gus amber 26 gus harbor 69
ELI ELI BRUNO ELI ELI GUS GUS
kim delta 5 kim harbor 44 eli grove 4 eli harbor 19 jules fable 83 lina fable 47 dina indigo 3 lina juniper 87
KIM KIM ELI ELI JULES LINA DINA LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021744-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
eli amber 99 eli harbor 102 bruno indigo 26 eli delta 13 eli grove 7 gus amber 26 gus harbor 69
ELI ELI BRUNO ELI ELI GUS GUS
kim delta 5 kim harbor 44 eli grove 4 eli harbor 19 jules fable 83 lina fable 47 dina indigo 3 lina juniper 87
KIM KIM ELI ELI JULES LINA DINA LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021744
qwen/qwen3.7-plus
awkweave-0021745
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
harbor 11 grove 21 juniper 42 amber 3 indigo 117 juniper 97 indigo 117 harbor 69 delta 113 cobalt 12
ar ro un mb nd un nd ar el ob
birch 15 grove 55 indigo 11 fable 115 ember 111 fable 62 birch 32 juniper 76
ir ro nd ab mb ab ir un
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021745-p1
Extract and print a 2-character substring from the first column, starting at position 2.
{print substr($1,2,2)}
harbor 11 grove 21 juniper 42 amber 3 indigo 117 juniper 97 indigo 117 harbor 69 delta 113 cobalt 12
ar ro un mb nd un nd ar el ob
birch 15 grove 55 indigo 11 fable 115 ember 111 fable 62 birch 32 juniper 76
ir ro nd ab mb ab ir un
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021745
qwen/qwen3.7-plus
awkweave-0021746
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_harbor 63 ember_ember 97 grove_juniper 31 indigo_indigo 6 ember_delta 97 cobalt_fable 44
cobalt harbor ember ember grove juniper indigo indigo ember delta cobalt fable
ember_birch 116 cobalt_amber 12 cobalt_amber 78 juniper_juniper 2 birch_cobalt 25 ember_cobalt 33
ember birch cobalt amber cobalt amber juniper juniper birch cobalt ember cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021746-p1
Replace all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_harbor 63 ember_ember 97 grove_juniper 31 indigo_indigo 6 ember_delta 97 cobalt_fable 44
cobalt harbor ember ember grove juniper indigo indigo ember delta cobalt fable
ember_birch 116 cobalt_amber 12 cobalt_amber 78 juniper_juniper 2 birch_cobalt 25 ember_cobalt 33
ember birch cobalt amber cobalt amber juniper juniper birch cobalt ember cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021746
qwen/qwen3.7-plus
awkweave-0021747
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno cobalt 48 pending eli birch 90 pending lina ember 4 paused dina ember 100 ready dina delta 25 active jules indigo 54 closed chen juniper 9 ready bruno grove 86 pending gus birch 53 closed gus cobalt 30 ready
pending 48 cobalt bruno pending 90 birch eli paused 4 ember lina ready 100 ember dina active 25 delta dina closed 54 indigo jules ready 9 juniper chen pending 86 grove bruno closed 53 birch gus ready 30 cobalt gus
alice juniper 63 failed bruno fable 90 failed bruno fable 89 ready ivan grove 11 ready kim amber 72 failed alice fable 21 closed
failed 63 juniper alice failed 90 fable bruno ready 89 fable bruno ready 11 grove ivan failed 72 amber kim closed 21 fable alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021747-p1
Reverse the sequence of fields on every line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno cobalt 48 pending eli birch 90 pending lina ember 4 paused dina ember 100 ready dina delta 25 active jules indigo 54 closed chen juniper 9 ready bruno grove 86 pending gus birch 53 closed gus cobalt 30 ready
pending 48 cobalt bruno pending 90 birch eli paused 4 ember lina ready 100 ember dina active 25 delta dina closed 54 indigo jules ready 9 juniper chen pending 86 grove bruno closed 53 birch gus ready 30 cobalt gus
alice juniper 63 failed bruno fable 90 failed bruno fable 89 ready ivan grove 11 ready kim amber 72 failed alice fable 21 closed
failed 63 juniper alice failed 90 fable bruno ready 89 fable bruno ready 11 grove ivan failed 72 amber kim closed 21 fable alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021747
qwen/qwen3.7-plus
awkweave-0021748
Print the number of whitespace-separated fields on each line.
{print NF}
hana harbor 35 pending lina cobalt 107 active jules birch 5 active kim cobalt 20 closed jules harbor 48 active gus ember 82 closed ivan harbor 66 ready jules amber 54 closed kim grove 83 closed kim harbor 63 closed
4 4 4 4 4 4 4 4 4 4
lina birch 78 pending lina ember 47 ready dina birch 0 paused bruno ember 29 ready hana grove 72 ready eli juniper 45 active bruno juniper 109 pending kim fable 88 active alice juniper 5 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021748-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
hana harbor 35 pending lina cobalt 107 active jules birch 5 active kim cobalt 20 closed jules harbor 48 active gus ember 82 closed ivan harbor 66 ready jules amber 54 closed kim grove 83 closed kim harbor 63 closed
4 4 4 4 4 4 4 4 4 4
lina birch 78 pending lina ember 47 ready dina birch 0 paused bruno ember 29 ready hana grove 72 ready eli juniper 45 active bruno juniper 109 pending kim fable 88 active alice juniper 5 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021748
qwen/qwen3.7-plus
awkweave-0021749
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
ivan beta 82 gus beta 56 dina gamma 77 bruno gamma 62 jules delta 92 eli gamma 46 dina alpha 27 ivan beta 25 farah alpha 100
beta 3 gamma 3 delta 1 alpha 2
kim delta 31 bruno beta 51 hana alpha 25 dina beta 0 bruno alpha 10 farah beta 91 farah alpha 115
delta 1 beta 3 alpha 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021749-p1
Tally the occurrences of each value in the second column and print each value with its count, maintaining 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]]}
ivan beta 82 gus beta 56 dina gamma 77 bruno gamma 62 jules delta 92 eli gamma 46 dina alpha 27 ivan beta 25 farah alpha 100
beta 3 gamma 3 delta 1 alpha 2
kim delta 31 bruno beta 51 hana alpha 25 dina beta 0 bruno alpha 10 farah beta 91 farah alpha 115
delta 1 beta 3 alpha 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021749
qwen/qwen3.7-plus
awkweave-0021750
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 18 gus delta 28 eli gamma 12 jules beta 8 gus alpha 21 ivan delta 9 ivan beta 2 dina beta 7 farah beta 18 lina delta 19
beta 53 delta 56 gamma 12 alpha 21
eli delta 15 gus beta 1 dina beta 19 gus beta 9 lina beta 28 chen beta 4 alice beta 11 eli gamma 20
delta 15 beta 72 gamma 20
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021750-p1
Calculate the sum of the third column for each unique value in the second column, printing 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]]}
bruno beta 18 gus delta 28 eli gamma 12 jules beta 8 gus alpha 21 ivan delta 9 ivan beta 2 dina beta 7 farah beta 18 lina delta 19
beta 53 delta 56 gamma 12 alpha 21
eli delta 15 gus beta 1 dina beta 19 gus beta 9 lina beta 28 chen beta 4 alice beta 11 eli gamma 20
delta 15 beta 72 gamma 20
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021750
qwen/qwen3.7-plus
awkweave-0021751
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta fable 117 gamma amber 57 beta harbor 40 gamma birch 29 alpha delta 7 delta amber 46
beta 2 gamma 2
delta ember 104 gamma birch 27 delta delta 118 beta cobalt 29 alpha birch 60 gamma juniper 26 gamma cobalt 67 alpha fable 103
delta 2 gamma 3 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021751-p1
List each duplicate value from the first column 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]]}
beta fable 117 gamma amber 57 beta harbor 40 gamma birch 29 alpha delta 7 delta amber 46
beta 2 gamma 2
delta ember 104 gamma birch 27 delta delta 118 beta cobalt 29 alpha birch 60 gamma juniper 26 gamma cobalt 67 alpha fable 103
delta 2 gamma 3 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021751
qwen/qwen3.7-plus
awkweave-0021752
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
note region record_id display_name r001 kim 20 closed r002 alice 7 failed r003 farah 6 failed r004 chen 16 pending r005 bruno 23 ready r006 kim 15 ready r007 hana 30 closed r008 ivan 3 active r009 alice 4 pending r010 alice 10 active
closed failed failed pending ready ready closed active pending active
note region record_id display_name r001 dina 29 paused r002 kim 15 paused r003 hana 18 pending r004 jules 28 ready r005 chen 5 failed r006 dina 10 paused r007 farah 24 paused r008 bruno 9 active r009 bruno 8 closed r010 eli 27 ready
paused paused pending ready failed paused paused active closed ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021752-p1
Skip the header row and output the display_name column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
note region record_id display_name r001 kim 20 closed r002 alice 7 failed r003 farah 6 failed r004 chen 16 pending r005 bruno 23 ready r006 kim 15 ready r007 hana 30 closed r008 ivan 3 active r009 alice 4 pending r010 alice 10 active
closed failed failed pending ready ready closed active pending active
note region record_id display_name r001 dina 29 paused r002 kim 15 paused r003 hana 18 pending r004 jules 28 ready r005 chen 5 failed r006 dina 10 paused r007 farah 24 paused r008 bruno 9 active r009 bruno 8 closed r010 eli 27 ready
paused paused pending ready failed paused paused active closed ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021752
qwen/qwen3.7-plus
awkweave-0021753
The first row is a header. Print display_name for data rows whose score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 farah 1 active r002 ivan 27 active r003 eli 10 failed r004 ivan 16 pending r005 ivan 23 closed r006 farah 7 pending r007 lina 19 active
ivan eli ivan ivan lina
record_id display_name score state r001 farah 21 failed r002 farah 4 active r003 alice 14 pending r004 dina 16 pending r005 dina 29 paused r006 alice 23 active r007 ivan 30 ready r008 kim 2 closed r009 farah 2 active
farah alice dina dina alice ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021753-p1
Ignore the header row and output the display_name for data rows where the score exceeds 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 farah 1 active r002 ivan 27 active r003 eli 10 failed r004 ivan 16 pending r005 ivan 23 closed r006 farah 7 pending r007 lina 19 active
ivan eli ivan ivan lina
record_id display_name score state r001 farah 21 failed r002 farah 4 active r003 alice 14 pending r004 dina 16 pending r005 dina 29 paused r006 alice 23 active r007 ivan 30 ready r008 kim 2 closed r009 farah 2 active
farah alice dina dina alice ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021753
qwen/qwen3.7-plus
awkweave-0021754
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
hana 25 active gus 19 active kim 13 paused eli 3 pending chen 5 failed farah 22 paused farah 5 failed lina 20 ready bruno 8 ready
active active paused pending failed paused failed ready ready
eli 24 paused eli 26 failed ivan 23 active gus 28 ready eli 23 paused farah 13 failed chen 7 active dina 23 failed
paused failed active ready paused failed active failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021754-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
hana 25 active gus 19 active kim 13 paused eli 3 pending chen 5 failed farah 22 paused farah 5 failed lina 20 ready bruno 8 ready
active active paused pending failed paused failed ready ready
eli 24 paused eli 26 failed ivan 23 active gus 28 ready eli 23 paused farah 13 failed chen 7 active dina 23 failed
paused failed active ready paused failed active failed
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0021754
qwen/qwen3.7-plus
awkweave-0021755
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
dina,2,ready eli,9,pending chen,21,paused lina,10,pending kim,11,failed jules,29,active gus,22,pending
chen jules gus
gus,29,paused ivan,6,ready eli,4,closed hana,5,pending eli,11,closed gus,28,closed chen,22,ready lina,20,pending hana,9,pending
gus gus chen lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021755-p1
Output the first field of comma-separated rows where the second field is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
dina,2,ready eli,9,pending chen,21,paused lina,10,pending kim,11,failed jules,29,active gus,22,pending
chen jules gus
gus,29,paused ivan,6,ready eli,4,closed hana,5,pending eli,11,closed gus,28,closed chen,22,ready lina,20,pending hana,9,pending
gus gus chen lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021755
qwen/qwen3.7-plus
awkweave-0021756
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah indigo 46 bruno harbor 69 eli ember 23 dina birch 105 lina fable 30 lina cobalt 70 dina delta 91
farah indigo 46 bruno harbor 69 eli ember 23 dina birch 105 lina fable 30 lina cobalt 70 dina delta 91
dina cobalt 107 alice fable 0 farah harbor 108 eli amber 4 gus grove 3 dina birch 7
dina cobalt 107 alice fable 0 farah harbor 108 eli amber 4 gus grove 3 dina birch 7
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021756-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
farah indigo 46 bruno harbor 69 eli ember 23 dina birch 105 lina fable 30 lina cobalt 70 dina delta 91
farah indigo 46 bruno harbor 69 eli ember 23 dina birch 105 lina fable 30 lina cobalt 70 dina delta 91
dina cobalt 107 alice fable 0 farah harbor 108 eli amber 4 gus grove 3 dina birch 7
dina cobalt 107 alice fable 0 farah harbor 108 eli amber 4 gus grove 3 dina birch 7
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021756
qwen/qwen3.7-plus
awkweave-0021757
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus cobalt 44 closed lina amber 92 active bruno amber 50 ready kim ember 88 paused jules cobalt 77 failed farah grove 99 closed lina harbor 1 paused farah grove 49 active alice delta 86 ready
jules cobalt 77 failed
hana cobalt 81 active bruno delta 75 closed ivan ember 45 pending kim birch 57 closed eli amber 36 failed ivan harbor 50 failed chen fable 87 failed gus delta 9 failed chen amber 1 pending
hana cobalt 81 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021757-p1
Identify and print the longest line, selecting the first one in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
gus cobalt 44 closed lina amber 92 active bruno amber 50 ready kim ember 88 paused jules cobalt 77 failed farah grove 99 closed lina harbor 1 paused farah grove 49 active alice delta 86 ready
jules cobalt 77 failed
hana cobalt 81 active bruno delta 75 closed ivan ember 45 pending kim birch 57 closed eli amber 36 failed ivan harbor 50 failed chen fable 87 failed gus delta 9 failed chen amber 1 pending
hana cobalt 81 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021757
qwen/qwen3.7-plus
awkweave-0021758
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
bruno 114 lina 57 lina 37 gus 101 alice 119 hana 56 lina 58 dina 62 bruno 87
bruno 114 lina 37 alice 119 lina 58 bruno 87
hana 81 gus 51 gus 56 eli 118 hana 97 alice 73
hana 81 gus 56 hana 97
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021758-p1
Print lines 1, 3, 5, and so on (every second line starting from the first).
NR%2==1
bruno 114 lina 57 lina 37 gus 101 alice 119 hana 56 lina 58 dina 62 bruno 87
bruno 114 lina 37 alice 119 lina 58 bruno 87
hana 81 gus 51 gus 56 eli 118 hana 97 alice 73
hana 81 gus 56 hana 97
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021758
qwen/qwen3.7-plus
awkweave-0021759
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha amber 63 delta delta 60 gamma harbor 81 alpha juniper 39 beta birch 75 beta fable 37 beta delta 100
4
alpha delta 100 gamma cobalt 51 delta indigo 37 gamma cobalt 65 beta indigo 95 gamma juniper 39 alpha delta 27 beta cobalt 15 beta fable 73 gamma birch 82
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021759-p1
Calculate and output the number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
alpha amber 63 delta delta 60 gamma harbor 81 alpha juniper 39 beta birch 75 beta fable 37 beta delta 100
4
alpha delta 100 gamma cobalt 51 delta indigo 37 gamma cobalt 65 beta indigo 95 gamma juniper 39 alpha delta 27 beta cobalt 15 beta fable 73 gamma birch 82
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021759
qwen/qwen3.7-plus
awkweave-0021760
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}
gus 1 0 lina 1 19 jules 8 1 jules 19 15 chen 14 4 hana 6 9 chen 30 18 farah 21 17
lina 0.05 jules 8.00 jules 1.27 chen 3.50 hana 0.67 chen 1.67 farah 1.24
eli 6 0 dina 7 1 dina 5 4 hana 26 19 kim 5 25 bruno 12 12 lina 7 26
dina 7.00 dina 1.25 hana 1.37 kim 0.20 bruno 1.00 lina 0.27
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021760-p1
For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 1 0 lina 1 19 jules 8 1 jules 19 15 chen 14 4 hana 6 9 chen 30 18 farah 21 17
lina 0.05 jules 8.00 jules 1.27 chen 3.50 hana 0.67 chen 1.67 farah 1.24
eli 6 0 dina 7 1 dina 5 4 hana 26 19 kim 5 25 bruno 12 12 lina 7 26
dina 7.00 dina 1.25 hana 1.37 kim 0.20 bruno 1.00 lina 0.27
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021760
qwen/qwen3.7-plus
awkweave-0021761
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]}
hana amber 7 dina grove 23 bruno harbor 2 lina juniper 15 kim harbor 12 gus cobalt 21
dina grove 23 gus cobalt 21 lina juniper 15
kim harbor 15 farah cobalt 4 kim amber 10 gus amber 4 lina cobalt 24 farah indigo 8 gus ember 26 bruno ember 24 bruno harbor 12 dina amber 14
gus ember 26 lina cobalt 24 bruno ember 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021761-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order, maintaining 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]}
hana amber 7 dina grove 23 bruno harbor 2 lina juniper 15 kim harbor 12 gus cobalt 21
dina grove 23 gus cobalt 21 lina juniper 15
kim harbor 15 farah cobalt 4 kim amber 10 gus amber 4 lina cobalt 24 farah indigo 8 gus ember 26 bruno ember 24 bruno harbor 12 dina amber 14
gus ember 26 lina cobalt 24 bruno ember 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021761
qwen/qwen3.7-plus
awkweave-0021762
For each line, output fields 5 and 2, in that order.
{print $5, $2}
amber 114 amber kim lina fable 104 grove lina farah birch 95 amber bruno dina fable 5 fable dina farah juniper 47 indigo alice kim grove 118 ember bruno lina ember 115 amber kim bruno amber 7 amber hana farah harbor 8 amber ivan ivan
lina 114 farah 104 dina 95 farah 5 kim 47 lina 118 bruno 115 farah 7 ivan 8
delta 120 cobalt alice dina harbor 119 fable gus dina harbor 27 ember chen hana ember 21 cobalt kim lina amber 116 delta hana gus cobalt 102 birch hana eli harbor 76 indigo dina gus harbor 34 ember farah alice
dina 120 dina 119 hana 27 lina 21 gus 116 eli 102 gus 76 alice 34
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021762-p1
Output the fifth and second fields for each line, in that specific order.
{print $5, $2}
amber 114 amber kim lina fable 104 grove lina farah birch 95 amber bruno dina fable 5 fable dina farah juniper 47 indigo alice kim grove 118 ember bruno lina ember 115 amber kim bruno amber 7 amber hana farah harbor 8 amber ivan ivan
lina 114 farah 104 dina 95 farah 5 kim 47 lina 118 bruno 115 farah 7 ivan 8
delta 120 cobalt alice dina harbor 119 fable gus dina harbor 27 ember chen hana ember 21 cobalt kim lina amber 116 delta hana gus cobalt 102 birch hana eli harbor 76 indigo dina gus harbor 34 ember farah alice
dina 120 dina 119 hana 27 lina 21 gus 116 eli 102 gus 76 alice 34
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021762
qwen/qwen3.7-plus
awkweave-0021763
Print the last field of every input line.
{print $NF}
farah juniper grove birch failed ember farah gus delta amber fable failed juniper lina farah cobalt amber juniper ready indigo dina hana harbor juniper grove active grove gus bruno amber cobalt indigo active delta chen chen cobalt harbor delta closed indigo hana alice amber juniper grove paused indigo farah
farah lina dina gus chen hana farah
hana delta harbor cobalt ready grove farah bruno amber ember grove failed birch farah hana juniper birch birch active grove farah dina fable fable birch failed grove bruno chen delta cobalt birch ready harbor hana gus grove delta amber paused amber eli eli amber amber cobalt pending fable eli
farah farah farah bruno hana eli eli
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021763-p1
Print the final field from every line of input.
{print $NF}
farah juniper grove birch failed ember farah gus delta amber fable failed juniper lina farah cobalt amber juniper ready indigo dina hana harbor juniper grove active grove gus bruno amber cobalt indigo active delta chen chen cobalt harbor delta closed indigo hana alice amber juniper grove paused indigo farah
farah lina dina gus chen hana farah
hana delta harbor cobalt ready grove farah bruno amber ember grove failed birch farah hana juniper birch birch active grove farah dina fable fable birch failed grove bruno chen delta cobalt birch ready harbor hana gus grove delta amber paused amber eli eli amber amber cobalt pending fable eli
farah farah farah bruno hana eli eli
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021763
qwen/qwen3.7-plus
awkweave-0021764
Print the complete records where column 4 is at most 46.
$4 <= 46
eli cobalt delta 24 amber ivan grove cobalt 56 birch dina fable harbor 31 grove dina harbor ember 100 juniper jules indigo indigo 40 amber chen juniper birch 85 indigo alice cobalt indigo 112 fable farah grove fable 54 indigo lina juniper birch 1 delta bruno harbor delta 72 juniper
eli cobalt delta 24 amber dina fable harbor 31 grove jules indigo indigo 40 amber lina juniper birch 1 delta
bruno juniper birch 99 delta chen indigo juniper 72 cobalt ivan birch juniper 117 harbor jules delta fable 70 cobalt eli delta birch 8 indigo ivan ember indigo 11 grove
eli delta birch 8 indigo ivan ember indigo 11 grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021764-p1
Output full records where the value in the fourth column is less than or equal to 46.
$4 <= 46
eli cobalt delta 24 amber ivan grove cobalt 56 birch dina fable harbor 31 grove dina harbor ember 100 juniper jules indigo indigo 40 amber chen juniper birch 85 indigo alice cobalt indigo 112 fable farah grove fable 54 indigo lina juniper birch 1 delta bruno harbor delta 72 juniper
eli cobalt delta 24 amber dina fable harbor 31 grove jules indigo indigo 40 amber lina juniper birch 1 delta
bruno juniper birch 99 delta chen indigo juniper 72 cobalt ivan birch juniper 117 harbor jules delta fable 70 cobalt eli delta birch 8 indigo ivan ember indigo 11 grove
eli delta birch 8 indigo ivan ember indigo 11 grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021764
qwen/qwen3.7-plus
awkweave-0021765
Show whole lines whose 3rd field is between 5 and 26, inclusive.
$3 >= 5 && $3 <= 26
paused kim 10 failed active gus 19 pending ready hana 3 paused ready kim 8 ready active jules 4 closed pending bruno 24 pending failed kim 16 ready ready lina 27 paused ready chen 10 pending
paused kim 10 failed active gus 19 pending ready kim 8 ready pending bruno 24 pending failed kim 16 ready ready chen 10 pending
failed farah 7 paused failed lina 25 pending active dina 23 paused ready eli 4 pending failed ivan 3 paused pending farah 24 active
failed farah 7 paused failed lina 25 pending active dina 23 paused pending farah 24 active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021765-p1
Print entire lines where the third field falls within the inclusive range of 5 to 26.
$3 >= 5 && $3 <= 26
paused kim 10 failed active gus 19 pending ready hana 3 paused ready kim 8 ready active jules 4 closed pending bruno 24 pending failed kim 16 ready ready lina 27 paused ready chen 10 pending
paused kim 10 failed active gus 19 pending ready kim 8 ready pending bruno 24 pending failed kim 16 ready ready chen 10 pending
failed farah 7 paused failed lina 25 pending active dina 23 paused ready eli 4 pending failed ivan 3 paused pending farah 24 active
failed farah 7 paused failed lina 25 pending active dina 23 paused pending farah 24 active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021765
qwen/qwen3.7-plus
awkweave-0021766
Print column 1 only for rows where column 3 is exactly paused.
$3 == "paused"{print $1}
ivan 0 paused fable alice 90 active juniper bruno 116 closed indigo gus 78 closed ember gus 75 closed birch eli 66 failed birch eli 43 active birch gus 49 failed indigo alice 4 active birch
ivan
bruno 104 active juniper chen 102 pending fable eli 64 closed birch chen 21 failed fable eli 91 active birch hana 61 ready indigo eli 22 ready indigo farah 18 ready ember alice 108 active harbor dina 62 ready birch
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021766-p1
Display only the first column for rows where the third column matches 'paused' exactly.
$3 == "paused"{print $1}
ivan 0 paused fable alice 90 active juniper bruno 116 closed indigo gus 78 closed ember gus 75 closed birch eli 66 failed birch eli 43 active birch gus 49 failed indigo alice 4 active birch
ivan
bruno 104 active juniper chen 102 pending fable eli 64 closed birch chen 21 failed fable eli 91 active birch hana 61 ready indigo eli 22 ready indigo farah 18 ready ember alice 108 active harbor dina 62 ready birch
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021766
qwen/qwen3.7-plus
awkweave-0021767
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO cobalt 33 DEBUG indigo 64 WARN delta 44 WARN fable 55 ERROR ember 56 DEBUG birch 56 WARN harbor 71 ERROR grove 52 DEBUG grove 15
INFO cobalt 33
INFO birch 87 INFO delta 21 INFO cobalt 111 ERROR grove 47 ERROR indigo 112 INFO harbor 77 WARN ember 72 ERROR indigo 108
INFO birch 87 INFO delta 21 INFO cobalt 111 INFO harbor 77
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021767-p1
Output every field from lines whose first field starts with 'INFO'.
$1 ~ /^INFO/
INFO cobalt 33 DEBUG indigo 64 WARN delta 44 WARN fable 55 ERROR ember 56 DEBUG birch 56 WARN harbor 71 ERROR grove 52 DEBUG grove 15
INFO cobalt 33
INFO birch 87 INFO delta 21 INFO cobalt 111 ERROR grove 47 ERROR indigo 112 INFO harbor 77 WARN ember 72 ERROR indigo 108
INFO birch 87 INFO delta 21 INFO cobalt 111 INFO harbor 77
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021767
qwen/qwen3.7-plus
awkweave-0021768
Print every line except those containing the exact text ember.
$0 !~ /ember/
fable 120 active cobalt 1 failed harbor 42 ready grove 108 pending birch 43 paused amber 105 paused ember 999 active
fable 120 active cobalt 1 failed harbor 42 ready grove 108 pending birch 43 paused amber 105 paused
grove 46 pending amber 83 paused juniper 43 ready fable 110 paused delta 119 ready delta 16 active ember 999 active
grove 46 pending amber 83 paused juniper 43 ready fable 110 paused delta 119 ready delta 16 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021768-p1
Print all lines that do not contain the exact string 'ember'.
$0 !~ /ember/
fable 120 active cobalt 1 failed harbor 42 ready grove 108 pending birch 43 paused amber 105 paused ember 999 active
fable 120 active cobalt 1 failed harbor 42 ready grove 108 pending birch 43 paused amber 105 paused
grove 46 pending amber 83 paused juniper 43 ready fable 110 paused delta 119 ready delta 16 active ember 999 active
grove 46 pending amber 83 paused juniper 43 ready fable 110 paused delta 119 ready delta 16 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021768
qwen/qwen3.7-plus
awkweave-0021769
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
farah indigo 98 chen fable 75 kim delta 109 kim delta 51 dina delta 77 kim grove 59 kim birch 120 eli delta 111 eli amber 22 dina grove 103
kim delta 51 dina delta 77
gus fable 61 hana harbor 56 bruno harbor 104 chen fable 11 chen harbor 24 jules juniper 95
chen fable 11 chen harbor 24
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021769-p1
Output lines 4 to 5, inclusive of both line numbers.
NR >= 4 && NR <= 5
farah indigo 98 chen fable 75 kim delta 109 kim delta 51 dina delta 77 kim grove 59 kim birch 120 eli delta 111 eli amber 22 dina grove 103
kim delta 51 dina delta 77
gus fable 61 hana harbor 56 bruno harbor 104 chen fable 11 chen harbor 24 jules juniper 95
chen fable 11 chen harbor 24
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021769
qwen/qwen3.7-plus
awkweave-0021770
Output only the first 2 records.
NR <= 2
lina 43 grove hana 105 grove kim 34 amber hana 32 grove gus 92 birch dina 51 juniper chen 85 delta jules 106 ember bruno 19 delta jules 87 amber
lina 43 grove hana 105 grove
gus 46 amber chen 86 birch ivan 67 amber kim 24 harbor dina 49 cobalt farah 4 cobalt dina 21 grove
gus 46 amber chen 86 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0021770-p1
Display only the initial 2 records.
NR <= 2
lina 43 grove hana 105 grove kim 34 amber hana 32 grove gus 92 birch dina 51 juniper chen 85 delta jules 106 ember bruno 19 delta jules 87 amber
lina 43 grove hana 105 grove
gus 46 amber chen 86 birch ivan 67 amber kim 24 harbor dina 49 cobalt farah 4 cobalt dina 21 grove
gus 46 amber chen 86 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0021770
qwen/qwen3.7-plus