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-0004050-p1
Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space.
{$1=$1;print}
alice harbor 22 chen birch 78 dina fable 8 bruno birch 113 gus grove 19 jules ember 5 dina ember 3
alice harbor 22 chen birch 78 dina fable 8 bruno birch 113 gus grove 19 jules ember 5 dina ember 3
dina amber 30 bruno delta 110 lina fable 32 chen ember 29 jules ember 42 eli cobalt 81 chen harbor 21 farah birch 18
dina amber 30 bruno delta 110 lina fable 32 chen ember 29 jules ember 42 eli cobalt 81 chen harbor 21 farah birch 18
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004050
qwen/qwen3.7-plus
awkweave-0004051
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice indigo 120 active chen amber 33 pending eli grove 104 paused lina fable 18 paused chen grove 17 paused alice birch 30 closed bruno harbor 61 ready
alice indigo 120 active
dina ember 20 active bruno indigo 107 failed eli amber 17 ready jules indigo 84 pending eli delta 70 paused dina juniper 100 paused bruno birch 39 ready kim juniper 91 pending jules ember 70 active kim indigo 65 pending
bruno indigo 107 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004051-p1
Identify and print the longest line in the input, selecting the first occurrence if multiple lines share the maximum length.
{if(length($0)>length(best))best=$0}END{print best}
alice indigo 120 active chen amber 33 pending eli grove 104 paused lina fable 18 paused chen grove 17 paused alice birch 30 closed bruno harbor 61 ready
alice indigo 120 active
dina ember 20 active bruno indigo 107 failed eli amber 17 ready jules indigo 84 pending eli delta 70 paused dina juniper 100 paused bruno birch 39 ready kim juniper 91 pending jules ember 70 active kim indigo 65 pending
bruno indigo 107 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004051
qwen/qwen3.7-plus
awkweave-0004052
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
jules 102 dina 100 alice 55 lina 10 ivan 91 chen 105 lina 34 alice 13
dina 100 lina 10 chen 105 alice 13
alice 15 gus 100 farah 25 kim 9 chen 40 bruno 22 dina 26 hana 94 dina 30
gus 100 kim 9 bruno 22 hana 94
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004052-p1
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
jules 102 dina 100 alice 55 lina 10 ivan 91 chen 105 lina 34 alice 13
dina 100 lina 10 chen 105 alice 13
alice 15 gus 100 farah 25 kim 9 chen 40 bruno 22 dina 26 hana 94 dina 30
gus 100 kim 9 bruno 22 hana 94
every_nth
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0004052
qwen/qwen3.7-plus
awkweave-0004053
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 68 gamma delta 75 alpha amber 64 alpha birch 88 delta harbor 0 gamma ember 107
3
delta ember 112 gamma ember 72 gamma indigo 68 beta indigo 32 delta cobalt 37 delta delta 29 beta juniper 50 beta amber 55 delta cobalt 112 delta juniper 80
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004053-p1
Calculate and output only the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
gamma amber 68 gamma delta 75 alpha amber 64 alpha birch 88 delta harbor 0 gamma ember 107
3
delta ember 112 gamma ember 72 gamma indigo 68 beta indigo 32 delta cobalt 37 delta delta 29 beta juniper 50 beta amber 55 delta cobalt 112 delta juniper 80
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004053
qwen/qwen3.7-plus
awkweave-0004054
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 8 0 chen 20 14 jules 13 11 jules 11 1 alice 25 11 lina 13 7 jules 28 9 gus 16 10 dina 12 2 gus 30 14
chen 1.43 jules 1.18 jules 11.00 alice 2.27 lina 1.86 jules 3.11 gus 1.60 dina 6.00 gus 2.14
lina 19 0 bruno 30 18 bruno 6 29 jules 13 7 chen 30 7 hana 16 17 farah 3 6 hana 4 2 bruno 13 14
bruno 1.67 bruno 0.21 jules 1.86 chen 4.29 hana 0.94 farah 0.50 hana 2.00 bruno 0.93
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004054-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 8 0 chen 20 14 jules 13 11 jules 11 1 alice 25 11 lina 13 7 jules 28 9 gus 16 10 dina 12 2 gus 30 14
chen 1.43 jules 1.18 jules 11.00 alice 2.27 lina 1.86 jules 3.11 gus 1.60 dina 6.00 gus 2.14
lina 19 0 bruno 30 18 bruno 6 29 jules 13 7 chen 30 7 hana 16 17 farah 3 6 hana 4 2 bruno 13 14
bruno 1.67 bruno 0.21 jules 1.86 chen 4.29 hana 0.94 farah 0.50 hana 2.00 bruno 0.93
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004054
qwen/qwen3.7-plus
awkweave-0004055
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 29 alice cobalt 3 eli birch 10 chen delta 19 gus indigo 4 gus delta 29 lina grove 5 gus birch 5
ivan cobalt 29 gus delta 29 chen delta 19
gus ember 27 dina harbor 5 kim harbor 3 bruno indigo 3 ivan fable 23 lina indigo 18 alice amber 9
gus ember 27 ivan fable 23 lina indigo 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004055-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan cobalt 29 alice cobalt 3 eli birch 10 chen delta 19 gus indigo 4 gus delta 29 lina grove 5 gus birch 5
ivan cobalt 29 gus delta 29 chen delta 19
gus ember 27 dina harbor 5 kim harbor 3 bruno indigo 3 ivan fable 23 lina indigo 18 alice amber 9
gus ember 27 ivan fable 23 lina indigo 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004055
qwen/qwen3.7-plus
awkweave-0004056
For each line, output fields 3 and 1, in that order.
{print $3, $1}
juniper 13 52 paused birch 74 50 closed fable 81 68 pending harbor 91 22 closed harbor 111 57 paused amber 29 27 paused grove 65 65 paused delta 30 20 failed grove 4 10 closed
52 juniper 50 birch 68 fable 22 harbor 57 harbor 27 amber 65 grove 20 delta 10 grove
juniper 53 93 closed birch 87 59 failed birch 106 48 pending fable 68 102 paused grove 105 90 active grove 27 103 ready amber 119 61 paused grove 44 104 closed harbor 41 14 closed
93 juniper 59 birch 48 birch 102 fable 90 grove 103 grove 61 amber 104 grove 14 harbor
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004056-p1
Output the third and first fields of each line, in that specific sequence.
{print $3, $1}
juniper 13 52 paused birch 74 50 closed fable 81 68 pending harbor 91 22 closed harbor 111 57 paused amber 29 27 paused grove 65 65 paused delta 30 20 failed grove 4 10 closed
52 juniper 50 birch 68 fable 22 harbor 57 harbor 27 amber 65 grove 20 delta 10 grove
juniper 53 93 closed birch 87 59 failed birch 106 48 pending fable 68 102 paused grove 105 90 active grove 27 103 ready amber 119 61 paused grove 44 104 closed harbor 41 14 closed
93 juniper 59 birch 48 birch 102 fable 90 grove 103 grove 61 amber 104 grove 14 harbor
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004056
qwen/qwen3.7-plus
awkweave-0004057
Print the last field of every input line.
{print $NF}
dina indigo gus delta 17 alice paused lina ember alice cobalt 10 bruno failed kim fable kim indigo 73 lina pending alice birch hana grove 22 farah failed hana fable chen juniper 2 alice active dina cobalt gus grove 117 ivan failed
paused failed pending failed active failed
dina ember gus juniper 70 gus paused gus fable dina amber 10 bruno ready farah grove chen juniper 117 dina active dina delta ivan indigo 31 dina failed kim birch dina indigo 40 farah paused lina grove kim juniper 64 lina failed kim juniper gus juniper 67 dina pending alice fable chen harbor 119 alice pending
paused ready active failed paused failed pending pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004057-p1
Print the final field from every line of input.
{print $NF}
dina indigo gus delta 17 alice paused lina ember alice cobalt 10 bruno failed kim fable kim indigo 73 lina pending alice birch hana grove 22 farah failed hana fable chen juniper 2 alice active dina cobalt gus grove 117 ivan failed
paused failed pending failed active failed
dina ember gus juniper 70 gus paused gus fable dina amber 10 bruno ready farah grove chen juniper 117 dina active dina delta ivan indigo 31 dina failed kim birch dina indigo 40 farah paused lina grove kim juniper 64 lina failed kim juniper gus juniper 67 dina pending alice fable chen harbor 119 alice pending
paused ready active failed paused failed pending pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004057
qwen/qwen3.7-plus
awkweave-0004058
Print the complete records where column 1 is at least 47.
$1 >= 47
119 closed active 109 paused ready 95 ready active 79 pending closed 71 active paused 78 ready pending 49 ready closed 56 ready pending 102 active closed
119 closed active 109 paused ready 95 ready active 79 pending closed 71 active paused 78 ready pending 49 ready closed 56 ready pending 102 active closed
18 paused paused 58 paused pending 73 closed failed 16 active ready 85 pending active 60 active failed 1 pending failed 29 failed ready 70 closed closed 115 ready ready
58 paused pending 73 closed failed 85 pending active 60 active failed 70 closed closed 115 ready ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004058-p1
Output entire records where the value in the first column is 47 or higher.
$1 >= 47
119 closed active 109 paused ready 95 ready active 79 pending closed 71 active paused 78 ready pending 49 ready closed 56 ready pending 102 active closed
119 closed active 109 paused ready 95 ready active 79 pending closed 71 active paused 78 ready pending 49 ready closed 56 ready pending 102 active closed
18 paused paused 58 paused pending 73 closed failed 16 active ready 85 pending active 60 active failed 1 pending failed 29 failed ready 70 closed closed 115 ready ready
58 paused pending 73 closed failed 85 pending active 60 active failed 70 closed closed 115 ready ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004058
qwen/qwen3.7-plus
awkweave-0004059
Show whole lines whose 2nd field is between 7 and 25, inclusive.
$2 >= 7 && $2 <= 25
closed 30 amber dina ready 4 grove eli active 12 grove farah paused 6 birch hana pending 26 amber alice failed 19 grove eli
active 12 grove farah failed 19 grove eli
pending 19 indigo gus closed 6 juniper dina ready 22 cobalt dina paused 1 birch chen closed 13 fable kim pending 24 birch alice paused 18 juniper lina failed 20 amber farah
pending 19 indigo gus ready 22 cobalt dina closed 13 fable kim pending 24 birch alice paused 18 juniper lina failed 20 amber farah
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004059-p1
Display full lines where the second field falls within the inclusive range of 7 to 25.
$2 >= 7 && $2 <= 25
closed 30 amber dina ready 4 grove eli active 12 grove farah paused 6 birch hana pending 26 amber alice failed 19 grove eli
active 12 grove farah failed 19 grove eli
pending 19 indigo gus closed 6 juniper dina ready 22 cobalt dina paused 1 birch chen closed 13 fable kim pending 24 birch alice paused 18 juniper lina failed 20 amber farah
pending 19 indigo gus ready 22 cobalt dina closed 13 fable kim pending 24 birch alice paused 18 juniper lina failed 20 amber farah
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004059
qwen/qwen3.7-plus
awkweave-0004060
Print column 3 only for rows where column 2 is exactly ready.
$2 == "ready"{print $3}
52 active hana birch 52 failed alice harbor 78 ready alice birch 96 closed bruno harbor 47 paused gus grove 51 ready chen juniper 83 paused dina delta 97 active gus birch 107 pending lina cobalt 65 pending alice indigo
alice chen
60 closed eli amber 105 closed eli harbor 85 pending kim cobalt 35 active lina grove 119 ready kim fable 77 ready ivan amber
kim ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004060-p1
Display only the third column for rows where the second column matches 'ready' exactly.
$2 == "ready"{print $3}
52 active hana birch 52 failed alice harbor 78 ready alice birch 96 closed bruno harbor 47 paused gus grove 51 ready chen juniper 83 paused dina delta 97 active gus birch 107 pending lina cobalt 65 pending alice indigo
alice chen
60 closed eli amber 105 closed eli harbor 85 pending kim cobalt 35 active lina grove 119 ready kim fable 77 ready ivan amber
kim ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004060
qwen/qwen3.7-plus
awkweave-0004061
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
ERROR fable 12 WARN ember 113 INFO juniper 27 WARN cobalt 4 WARN harbor 60 WARN birch 20 DEBUG amber 27 WARN amber 42 DEBUG fable 113 ERROR juniper 47
WARN ember 113 WARN cobalt 4 WARN harbor 60 WARN birch 20 WARN amber 42
DEBUG harbor 67 INFO grove 74 WARN cobalt 107 INFO fable 49 WARN cobalt 5 ERROR grove 104 WARN birch 115 DEBUG harbor 110 WARN ember 63
WARN cobalt 107 WARN cobalt 5 WARN birch 115 WARN ember 63
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004061-p1
Output all fields from lines whose first field starts with 'WARN'.
$1 ~ /^WARN/
ERROR fable 12 WARN ember 113 INFO juniper 27 WARN cobalt 4 WARN harbor 60 WARN birch 20 DEBUG amber 27 WARN amber 42 DEBUG fable 113 ERROR juniper 47
WARN ember 113 WARN cobalt 4 WARN harbor 60 WARN birch 20 WARN amber 42
DEBUG harbor 67 INFO grove 74 WARN cobalt 107 INFO fable 49 WARN cobalt 5 ERROR grove 104 WARN birch 115 DEBUG harbor 110 WARN ember 63
WARN cobalt 107 WARN cobalt 5 WARN birch 115 WARN ember 63
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004061
qwen/qwen3.7-plus
awkweave-0004062
Print every line except those containing the exact text grove.
$0 !~ /grove/
amber 68 paused indigo 76 failed juniper 42 active grove 54 failed indigo 31 paused indigo 52 active indigo 45 ready indigo 90 failed grove 999 active
amber 68 paused indigo 76 failed juniper 42 active indigo 31 paused indigo 52 active indigo 45 ready indigo 90 failed
birch 117 failed grove 84 closed fable 3 active delta 93 paused grove 43 pending fable 102 active ember 42 pending juniper 87 active grove 999 active
birch 117 failed fable 3 active delta 93 paused fable 102 active ember 42 pending juniper 87 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004062-p1
Print every line that does not contain the exact string 'grove'.
$0 !~ /grove/
amber 68 paused indigo 76 failed juniper 42 active grove 54 failed indigo 31 paused indigo 52 active indigo 45 ready indigo 90 failed grove 999 active
amber 68 paused indigo 76 failed juniper 42 active indigo 31 paused indigo 52 active indigo 45 ready indigo 90 failed
birch 117 failed grove 84 closed fable 3 active delta 93 paused grove 43 pending fable 102 active ember 42 pending juniper 87 active grove 999 active
birch 117 failed fable 3 active delta 93 paused fable 102 active ember 42 pending juniper 87 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004062
qwen/qwen3.7-plus
awkweave-0004063
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
alice indigo 16 kim fable 101 dina cobalt 69 eli delta 77 eli juniper 2 hana cobalt 116 dina fable 1
eli delta 77 eli juniper 2
ivan grove 6 kim indigo 100 ivan cobalt 55 chen birch 84 ivan fable 88 farah cobalt 87 alice delta 30 chen amber 83 alice ember 15
chen birch 84 ivan fable 88
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004063-p1
Output lines 4 to 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
alice indigo 16 kim fable 101 dina cobalt 69 eli delta 77 eli juniper 2 hana cobalt 116 dina fable 1
eli delta 77 eli juniper 2
ivan grove 6 kim indigo 100 ivan cobalt 55 chen birch 84 ivan fable 88 farah cobalt 87 alice delta 30 chen amber 83 alice ember 15
chen birch 84 ivan fable 88
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004063
qwen/qwen3.7-plus
awkweave-0004064
Output only the first 4 records.
NR <= 4
kim 50 delta dina 32 juniper bruno 95 delta kim 95 harbor eli 20 fable kim 46 cobalt
kim 50 delta dina 32 juniper bruno 95 delta kim 95 harbor
hana 65 amber farah 19 fable hana 95 delta chen 61 cobalt chen 18 fable gus 89 indigo jules 44 harbor alice 63 ember
hana 65 amber farah 19 fable hana 95 delta chen 61 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004064-p1
Display only the first 4 records.
NR <= 4
kim 50 delta dina 32 juniper bruno 95 delta kim 95 harbor eli 20 fable kim 46 cobalt
kim 50 delta dina 32 juniper bruno 95 delta kim 95 harbor
hana 65 amber farah 19 fable hana 95 delta chen 61 cobalt chen 18 fable gus 89 indigo jules 44 harbor alice 63 ember
hana 65 amber farah 19 fable hana 95 delta chen 61 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004064
qwen/qwen3.7-plus
awkweave-0004065
Skip the first line and print every remaining line unchanged.
NR > 1
kim 76 harbor alice 80 indigo eli 13 delta bruno 41 grove alice 80 grove ivan 73 amber
alice 80 indigo eli 13 delta bruno 41 grove alice 80 grove ivan 73 amber
jules 115 amber bruno 105 cobalt jules 17 indigo gus 103 ember eli 48 juniper ivan 45 amber gus 10 indigo ivan 98 amber ivan 13 delta
bruno 105 cobalt jules 17 indigo gus 103 ember eli 48 juniper ivan 45 amber gus 10 indigo ivan 98 amber ivan 13 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004065-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
kim 76 harbor alice 80 indigo eli 13 delta bruno 41 grove alice 80 grove ivan 73 amber
alice 80 indigo eli 13 delta bruno 41 grove alice 80 grove ivan 73 amber
jules 115 amber bruno 105 cobalt jules 17 indigo gus 103 ember eli 48 juniper ivan 45 amber gus 10 indigo ivan 98 amber ivan 13 delta
bruno 105 cobalt jules 17 indigo gus 103 ember eli 48 juniper ivan 45 amber gus 10 indigo ivan 98 amber ivan 13 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004065
qwen/qwen3.7-plus
awkweave-0004066
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
alice paused 38 alice pending 100 gus paused 58 ivan closed 98 gus ready 84 farah pending 98 bruno failed 96 eli pending 34
1
farah pending 22 alice closed 100 dina active 101 gus active 2 farah paused 101 dina failed 20 eli pending 107 chen paused 104 eli ready 68
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004066-p1
Count the number of records with 'failed' in column 2, printing 0 if none exist.
$2 == "failed"{n++}END{print n+0}
alice paused 38 alice pending 100 gus paused 58 ivan closed 98 gus ready 84 farah pending 98 bruno failed 96 eli pending 34
1
farah pending 22 alice closed 100 dina active 101 gus active 2 farah paused 101 dina failed 20 eli pending 107 chen paused 104 eli ready 68
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004066
qwen/qwen3.7-plus
awkweave-0004067
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
jules 22 birch bruno 14 juniper gus 10 ember lina 4 birch bruno 18 cobalt farah 21 birch kim 1 fable gus 9 birch dina 5 ember dina 1 fable
105
hana 17 fable hana 2 delta dina 5 grove alice 29 grove hana 22 indigo jules 4 indigo farah 12 juniper
91
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004067-p1
Compute and display the sum of integer values in column 2.
{s+=$2}END{print s+0}
jules 22 birch bruno 14 juniper gus 10 ember lina 4 birch bruno 18 cobalt farah 21 birch kim 1 fable gus 9 birch dina 5 ember dina 1 fable
105
hana 17 fable hana 2 delta dina 5 grove alice 29 grove hana 22 indigo jules 4 indigo farah 12 juniper
91
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004067
qwen/qwen3.7-plus
awkweave-0004068
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 26 grove eli 27 indigo kim 9 birch jules 3 grove chen 25 delta farah 20 harbor dina 10 harbor
17.14
chen 10 birch kim 17 fable chen 15 delta kim 10 birch eli 1 delta dina 15 juniper jules 20 delta gus 13 grove
12.62
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004068-p1
Print the average of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 26 grove eli 27 indigo kim 9 birch jules 3 grove chen 25 delta farah 20 harbor dina 10 harbor
17.14
chen 10 birch kim 17 fable chen 15 delta kim 10 birch eli 1 delta dina 15 juniper jules 20 delta gus 13 grove
12.62
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004068
qwen/qwen3.7-plus
awkweave-0004069
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 29 bruno harbor 10 alice grove 16 lina cobalt 16 ivan ember 27 jules indigo 29 ivan grove 24 kim fable 15 kim
10
amber 10 alice fable 23 alice juniper 19 lina birch 9 gus fable 9 lina delta 19 lina delta 15 dina harbor 12 lina harbor 3 alice
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004069-p1
Identify and output the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 29 bruno harbor 10 alice grove 16 lina cobalt 16 ivan ember 27 jules indigo 29 ivan grove 24 kim fable 15 kim
10
amber 10 alice fable 23 alice juniper 19 lina birch 9 gus fable 9 lina delta 19 lina delta 15 dina harbor 12 lina harbor 3 alice
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004069
qwen/qwen3.7-plus
awkweave-0004070
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
grove 25 lina cobalt 26 ivan delta 25 dina grove 19 eli delta 18 lina ember 6 eli birch 22 gus
26
harbor 24 chen cobalt 15 jules fable 30 gus birch 12 jules amber 12 kim grove 27 lina fable 23 lina juniper 7 bruno harbor 3 hana
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004070-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
grove 25 lina cobalt 26 ivan delta 25 dina grove 19 eli delta 18 lina ember 6 eli birch 22 gus
26
harbor 24 chen cobalt 15 jules fable 30 gus birch 12 jules amber 12 kim grove 27 lina fable 23 lina juniper 7 bruno harbor 3 hana
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004070
qwen/qwen3.7-plus
awkweave-0004071
Count all input records and print the total.
END{print NR}
alice 57 hana 77 gus 81 hana 91 dina 65 hana 54 lina 2 jules 53 bruno 71 kim 98
10
alice 77 dina 104 farah 12 bruno 27 farah 117 chen 83 jules 29 dina 30 eli 31
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004071-p1
Count the total number of input records and print the result.
END{print NR}
alice 57 hana 77 gus 81 hana 91 dina 65 hana 54 lina 2 jules 53 bruno 71 kim 98
10
alice 77 dina 104 farah 12 bruno 27 farah 117 chen 83 jules 29 dina 30 eli 31
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004071
qwen/qwen3.7-plus
awkweave-0004072
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno grove 80 kim harbor 93 alice cobalt 14 gus delta 26 gus delta 67 farah cobalt 72 farah amber 120 eli grove 39 gus delta 26 jules harbor 119 dina amber 79
bruno grove 80 kim harbor 93 alice cobalt 14 gus delta 26 gus delta 67 farah cobalt 72 farah amber 120 eli grove 39 jules harbor 119 dina amber 79
hana cobalt 12 kim juniper 69 alice amber 40 hana harbor 101 ivan delta 97 dina delta 101 chen delta 75 dina delta 101 chen grove 62
hana cobalt 12 kim juniper 69 alice amber 40 hana harbor 101 ivan delta 97 dina delta 101 chen delta 75 chen grove 62
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004072-p1
Deduplicate the input by removing subsequent exact line matches, keeping only the first instance of each unique line in its original sequence.
!seen[$0]++
bruno grove 80 kim harbor 93 alice cobalt 14 gus delta 26 gus delta 67 farah cobalt 72 farah amber 120 eli grove 39 gus delta 26 jules harbor 119 dina amber 79
bruno grove 80 kim harbor 93 alice cobalt 14 gus delta 26 gus delta 67 farah cobalt 72 farah amber 120 eli grove 39 jules harbor 119 dina amber 79
hana cobalt 12 kim juniper 69 alice amber 40 hana harbor 101 ivan delta 97 dina delta 101 chen delta 75 dina delta 101 chen grove 62
hana cobalt 12 kim juniper 69 alice amber 40 hana harbor 101 ivan delta 97 dina delta 101 chen delta 75 chen grove 62
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004072
qwen/qwen3.7-plus
awkweave-0004073
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
dina cobalt 4 dina juniper 112 eli cobalt 58 eli cobalt 45 farah harbor 75 ivan harbor 44 chen birch 47 dina harbor 103 farah amber 29 dina juniper 50
dina cobalt 4 eli cobalt 58 farah harbor 75 ivan harbor 44 chen birch 47
alice ember 80 farah cobalt 14 jules indigo 13 kim juniper 75 bruno indigo 33 bruno ember 42 ivan birch 63 eli indigo 87 chen birch 54
alice ember 80 farah cobalt 14 jules indigo 13 kim juniper 75 bruno indigo 33 ivan birch 63 eli indigo 87 chen birch 54
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004073-p1
Filter the dataset to retain only the initial row for every unique value found in the first column, maintaining the original input order.
!seen[$1]++
dina cobalt 4 dina juniper 112 eli cobalt 58 eli cobalt 45 farah harbor 75 ivan harbor 44 chen birch 47 dina harbor 103 farah amber 29 dina juniper 50
dina cobalt 4 eli cobalt 58 farah harbor 75 ivan harbor 44 chen birch 47
alice ember 80 farah cobalt 14 jules indigo 13 kim juniper 75 bruno indigo 33 bruno ember 42 ivan birch 63 eli indigo 87 chen birch 54
alice ember 80 farah cobalt 14 jules indigo 13 kim juniper 75 bruno indigo 33 ivan birch 63 eli indigo 87 chen birch 54
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004073
qwen/qwen3.7-plus
awkweave-0004074
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 29 amber gus 14 amber chen 15 fable chen 20 amber gus 26 birch lina 6 juniper bruno 25 amber hana 15 fable
eli 29 gus 43 chen 58 chen 78 gus 104 lina 110 bruno 135 hana 150
lina 3 indigo lina 7 indigo eli 14 birch alice 13 cobalt kim 30 indigo lina 4 indigo lina 21 birch kim 22 juniper gus 3 grove
lina 3 lina 10 eli 24 alice 37 kim 67 lina 71 lina 92 kim 114 gus 117
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004074-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
eli 29 amber gus 14 amber chen 15 fable chen 20 amber gus 26 birch lina 6 juniper bruno 25 amber hana 15 fable
eli 29 gus 43 chen 58 chen 78 gus 104 lina 110 bruno 135 hana 150
lina 3 indigo lina 7 indigo eli 14 birch alice 13 cobalt kim 30 indigo lina 4 indigo lina 21 birch kim 22 juniper gus 3 grove
lina 3 lina 10 eli 24 alice 37 kim 67 lina 71 lina 92 kim 114 gus 117
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004074
qwen/qwen3.7-plus
awkweave-0004075
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 12 3 birch kim 3 14 juniper hana 14 14 juniper gus 9 2 amber ivan 5 11 grove farah 18 3 cobalt alice 7 7 harbor
chen 15 kim 17 hana 28 gus 11 ivan 16 farah 21 alice 14
farah 14 25 juniper jules 12 23 delta dina 18 3 amber eli 10 18 cobalt jules 9 21 amber hana 5 4 grove alice 29 19 fable kim 4 8 delta
farah 39 jules 35 dina 21 eli 28 jules 30 hana 9 alice 48 kim 12
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004075-p1
For each row, display the first field followed by the arithmetic sum of the second and third fields.
{print $1,$2+$3}
chen 12 3 birch kim 3 14 juniper hana 14 14 juniper gus 9 2 amber ivan 5 11 grove farah 18 3 cobalt alice 7 7 harbor
chen 15 kim 17 hana 28 gus 11 ivan 16 farah 21 alice 14
farah 14 25 juniper jules 12 23 delta dina 18 3 amber eli 10 18 cobalt jules 9 21 amber hana 5 4 grove alice 29 19 fable kim 4 8 delta
farah 39 jules 35 dina 21 eli 28 jules 30 hana 9 alice 48 kim 12
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004075
qwen/qwen3.7-plus
awkweave-0004076
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
dina 12 chen 8 gus 2 hana 3 dina 13 dina 23 bruno 26 farah 16
dina fail chen fail gus fail hana fail dina fail dina pass bruno pass farah fail
alice 29 hana 16 alice 6 lina 14 lina 16 gus 29
alice pass hana fail alice fail lina fail lina fail gus pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004076-p1
Output the value from the first column, appending 'pass' if the second column is 20 or greater, and 'fail' otherwise.
{print $1,($2>=20?"pass":"fail")}
dina 12 chen 8 gus 2 hana 3 dina 13 dina 23 bruno 26 farah 16
dina fail chen fail gus fail hana fail dina fail dina pass bruno pass farah fail
alice 29 hana 16 alice 6 lina 14 lina 16 gus 29
alice pass hana fail alice fail lina fail lina fail gus pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004076
qwen/qwen3.7-plus
awkweave-0004077
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
hana grove 77 bruno indigo 57 ivan cobalt 33 lina ember 27 eli cobalt 100 gus fable 33 dina harbor 14 eli indigo 72 gus delta 25
GROVE INDIGO COBALT EMBER COBALT FABLE HARBOR INDIGO DELTA
eli harbor 101 chen birch 26 jules grove 21 alice harbor 116 gus grove 22 jules amber 77
HARBOR BIRCH GROVE HARBOR GROVE AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004077-p1
Transform the content of the second column to uppercase letters and output only this modified column.
{print toupper($2)}
hana grove 77 bruno indigo 57 ivan cobalt 33 lina ember 27 eli cobalt 100 gus fable 33 dina harbor 14 eli indigo 72 gus delta 25
GROVE INDIGO COBALT EMBER COBALT FABLE HARBOR INDIGO DELTA
eli harbor 101 chen birch 26 jules grove 21 alice harbor 116 gus grove 22 jules amber 77
HARBOR BIRCH GROVE HARBOR GROVE AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004077
qwen/qwen3.7-plus
awkweave-0004078
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
juniper 27 cobalt 95 indigo 45 grove 45 ember 54 ember 110 harbor 5
ju co in gr em em ha
grove 89 birch 22 indigo 54 harbor 3 grove 95 grove 39 birch 91 fable 32
gr bi in ha gr gr bi fa
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004078-p1
Extract and print a substring of length 2 from the first column, starting at the first character position.
{print substr($1,1,2)}
juniper 27 cobalt 95 indigo 45 grove 45 ember 54 ember 110 harbor 5
ju co in gr em em ha
grove 89 birch 22 indigo 54 harbor 3 grove 95 grove 39 birch 91 fable 32
gr bi in ha gr gr bi fa
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004078
qwen/qwen3.7-plus
awkweave-0004079
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_indigo 22 grove_cobalt 73 delta_fable 72 birch_harbor 82 amber_indigo 77 amber_harbor 13 juniper_grove 94 juniper_amber 104
grove indigo grove cobalt delta fable birch harbor amber indigo amber harbor juniper grove juniper amber
birch_fable 113 juniper_harbor 86 delta_grove 83 ember_birch 117 birch_delta 101 ember_ember 35 grove_fable 111 fable_birch 43 fable_delta 6 cobalt_ember 89
birch fable juniper harbor delta grove ember birch birch delta ember ember grove fable fable birch fable delta cobalt ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004079-p1
Substitute all underscore characters in the first column with spaces and output the modified strings.
{gsub(/_/," ",$1);print $1}
grove_indigo 22 grove_cobalt 73 delta_fable 72 birch_harbor 82 amber_indigo 77 amber_harbor 13 juniper_grove 94 juniper_amber 104
grove indigo grove cobalt delta fable birch harbor amber indigo amber harbor juniper grove juniper amber
birch_fable 113 juniper_harbor 86 delta_grove 83 ember_birch 117 birch_delta 101 ember_ember 35 grove_fable 111 fable_birch 43 fable_delta 6 cobalt_ember 89
birch fable juniper harbor delta grove ember birch birch delta ember ember grove fable fable birch fable delta cobalt ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004079
qwen/qwen3.7-plus
awkweave-0004080
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)}
kim harbor 81 failed jules amber 40 active farah fable 102 failed kim cobalt 0 closed jules birch 0 failed gus ember 119 failed dina juniper 52 ready
failed 81 harbor kim active 40 amber jules failed 102 fable farah closed 0 cobalt kim failed 0 birch jules failed 119 ember gus ready 52 juniper dina
ivan grove 1 ready farah delta 7 paused jules juniper 74 closed hana fable 76 active kim fable 114 closed bruno amber 11 paused
ready 1 grove ivan paused 7 delta farah closed 74 juniper jules active 76 fable hana closed 114 fable kim paused 11 amber bruno
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004080-p1
Invert the sequence of fields for every line and print the complete set of reordered fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim harbor 81 failed jules amber 40 active farah fable 102 failed kim cobalt 0 closed jules birch 0 failed gus ember 119 failed dina juniper 52 ready
failed 81 harbor kim active 40 amber jules failed 102 fable farah closed 0 cobalt kim failed 0 birch jules failed 119 ember gus ready 52 juniper dina
ivan grove 1 ready farah delta 7 paused jules juniper 74 closed hana fable 76 active kim fable 114 closed bruno amber 11 paused
ready 1 grove ivan paused 7 delta farah closed 74 juniper jules active 76 fable hana closed 114 fable kim paused 11 amber bruno
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004080
qwen/qwen3.7-plus
awkweave-0004081
Print the number of whitespace-separated fields on each line.
{print NF}
chen juniper 106 paused chen indigo 67 failed farah indigo 79 failed farah grove 94 closed farah harbor 99 failed eli fable 62 active ivan cobalt 105 active ivan cobalt 100 pending dina fable 55 active eli grove 54 failed
4 4 4 4 4 4 4 4 4 4
hana juniper 60 closed lina amber 2 pending dina indigo 99 paused dina birch 35 paused chen cobalt 7 paused gus cobalt 87 paused jules juniper 41 active
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004081-p1
Display the count of whitespace-delimited fields present on each individual line.
{print NF}
chen juniper 106 paused chen indigo 67 failed farah indigo 79 failed farah grove 94 closed farah harbor 99 failed eli fable 62 active ivan cobalt 105 active ivan cobalt 100 pending dina fable 55 active eli grove 54 failed
4 4 4 4 4 4 4 4 4 4
hana juniper 60 closed lina amber 2 pending dina indigo 99 paused dina birch 35 paused chen cobalt 7 paused gus cobalt 87 paused jules juniper 41 active
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004081
qwen/qwen3.7-plus
awkweave-0004082
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]]}
alice alpha 22 gus gamma 108 farah alpha 81 hana delta 42 ivan alpha 85 lina beta 57 ivan gamma 79 bruno delta 27 farah alpha 79
alpha 4 gamma 2 delta 2 beta 1
kim beta 79 gus alpha 88 jules beta 69 bruno alpha 52 farah alpha 101 kim beta 35 eli beta 118 gus beta 63 ivan delta 44
beta 5 alpha 3 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004082-p1
Tally the number of records for each unique value in the second column, printing the value and its frequency in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice alpha 22 gus gamma 108 farah alpha 81 hana delta 42 ivan alpha 85 lina beta 57 ivan gamma 79 bruno delta 27 farah alpha 79
alpha 4 gamma 2 delta 2 beta 1
kim beta 79 gus alpha 88 jules beta 69 bruno alpha 52 farah alpha 101 kim beta 35 eli beta 118 gus beta 63 ivan delta 44
beta 5 alpha 3 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004082
qwen/qwen3.7-plus
awkweave-0004083
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]]}
chen gamma 4 bruno beta 15 kim alpha 7 bruno delta 15 alice alpha 1 bruno gamma 30 dina beta 30 eli delta 1 ivan delta 5
gamma 34 beta 45 alpha 8 delta 21
ivan delta 10 kim alpha 22 dina delta 10 jules beta 28 alice gamma 17 jules gamma 29
delta 20 alpha 22 beta 28 gamma 46
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004083-p1
Calculate the sum of the third column grouped by the categories in the second column, outputting the results in the order of the category's 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]]}
chen gamma 4 bruno beta 15 kim alpha 7 bruno delta 15 alice alpha 1 bruno gamma 30 dina beta 30 eli delta 1 ivan delta 5
gamma 34 beta 45 alpha 8 delta 21
ivan delta 10 kim alpha 22 dina delta 10 jules beta 28 alice gamma 17 jules gamma 29
delta 20 alpha 22 beta 28 gamma 46
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004083
qwen/qwen3.7-plus
awkweave-0004084
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]]}
alpha amber 26 beta cobalt 105 delta ember 108 gamma juniper 88 gamma delta 107 gamma ember 100 beta harbor 9 beta grove 44 beta cobalt 97 alpha harbor 9
alpha 2 beta 4 gamma 3
alpha fable 41 beta indigo 19 beta juniper 33 delta indigo 116 alpha amber 45 gamma harbor 57 alpha ember 78 gamma harbor 50
alpha 3 beta 2 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004084-p1
List each unique value from the first column alongside its frequency, maintaining the order of their 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]]}
alpha amber 26 beta cobalt 105 delta ember 108 gamma juniper 88 gamma delta 107 gamma ember 100 beta harbor 9 beta grove 44 beta cobalt 97 alpha harbor 9
alpha 2 beta 4 gamma 3
alpha fable 41 beta indigo 19 beta juniper 33 delta indigo 116 alpha amber 45 gamma harbor 57 alpha ember 78 gamma harbor 50
alpha 3 beta 2 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004084
qwen/qwen3.7-plus
awkweave-0004085
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note score region display_name r001 farah 29 failed r002 jules 9 ready r003 ivan 1 paused r004 farah 15 active r005 hana 18 closed r006 farah 3 paused r007 lina 5 ready r008 kim 22 ready
29 9 1 15 18 3 5 22
note score region display_name r001 lina 26 failed r002 alice 16 closed r003 lina 9 ready r004 farah 24 ready r005 farah 8 closed r006 bruno 20 pending r007 farah 19 pending r008 kim 26 pending
26 16 9 24 8 20 19 26
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004085-p1
Ignore the header row and output the values from the region column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note score region display_name r001 farah 29 failed r002 jules 9 ready r003 ivan 1 paused r004 farah 15 active r005 hana 18 closed r006 farah 3 paused r007 lina 5 ready r008 kim 22 ready
29 9 1 15 18 3 5 22
note score region display_name r001 lina 26 failed r002 alice 16 closed r003 lina 9 ready r004 farah 24 ready r005 farah 8 closed r006 bruno 20 pending r007 farah 19 pending r008 kim 26 pending
26 16 9 24 8 20 19 26
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004085
qwen/qwen3.7-plus
awkweave-0004086
The first row is a header. Print display_name for data rows whose score is greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 eli 21 closed r002 ivan 25 ready r003 alice 13 closed r004 farah 22 pending r005 kim 18 paused r006 lina 5 active r007 lina 5 active r008 alice 12 failed
ivan
record_id display_name score state r001 kim 4 ready r002 alice 28 failed r003 chen 1 ready r004 gus 15 failed r005 hana 18 failed r006 chen 16 pending r007 dina 9 paused r008 ivan 29 failed
alice ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004086-p1
Skipping the header, display the display_name field for any row where the score is strictly greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 eli 21 closed r002 ivan 25 ready r003 alice 13 closed r004 farah 22 pending r005 kim 18 paused r006 lina 5 active r007 lina 5 active r008 alice 12 failed
ivan
record_id display_name score state r001 kim 4 ready r002 alice 28 failed r003 chen 1 ready r004 gus 15 failed r005 hana 18 failed r006 chen 16 pending r007 dina 9 paused r008 ivan 29 failed
alice ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004086
qwen/qwen3.7-plus
awkweave-0004087
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 16 ready hana 18 paused hana 17 pending kim 3 failed gus 4 failed kim 3 pending ivan 9 closed lina 1 failed farah 30 active gus 19 closed
ready paused pending failed failed pending closed failed active closed
ivan 17 closed alice 8 active kim 20 failed jules 21 pending dina 23 paused bruno 30 ready hana 7 pending
closed active failed pending paused ready pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004087-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 16 ready hana 18 paused hana 17 pending kim 3 failed gus 4 failed kim 3 pending ivan 9 closed lina 1 failed farah 30 active gus 19 closed
ready paused pending failed failed pending closed failed active closed
ivan 17 closed alice 8 active kim 20 failed jules 21 pending dina 23 paused bruno 30 ready hana 7 pending
closed active failed pending paused ready pending
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0004087
qwen/qwen3.7-plus
awkweave-0004088
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20.
BEGIN{FS=OFS=","}$2>20{print $1}
dina,16,closed chen,7,paused farah,1,active alice,16,active chen,30,pending lina,11,paused chen,25,failed eli,25,paused gus,21,paused hana,7,closed
chen chen eli gus
dina,3,pending kim,3,active lina,13,active jules,15,failed lina,6,closed gus,26,active
gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004088-p1
For simple CSV input without quoted commas, output the first column only if the second column's value is greater than 20.
BEGIN{FS=OFS=","}$2>20{print $1}
dina,16,closed chen,7,paused farah,1,active alice,16,active chen,30,pending lina,11,paused chen,25,failed eli,25,paused gus,21,paused hana,7,closed
chen chen eli gus
dina,3,pending kim,3,active lina,13,active jules,15,failed lina,6,closed gus,26,active
gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004088
qwen/qwen3.7-plus
awkweave-0004089
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina birch 45 eli delta 18 jules juniper 55 hana cobalt 0 hana indigo 52 alice grove 115 dina grove 92 lina juniper 101 alice grove 116
lina birch 45 eli delta 18 jules juniper 55 hana cobalt 0 hana indigo 52 alice grove 115 dina grove 92 lina juniper 101 alice grove 116
farah juniper 41 lina ember 30 kim cobalt 47 farah amber 112 bruno birch 68 lina indigo 111 bruno birch 38 alice amber 117
farah juniper 41 lina ember 30 kim cobalt 47 farah amber 112 bruno birch 68 lina indigo 111 bruno birch 38 alice amber 117
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004089-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
lina birch 45 eli delta 18 jules juniper 55 hana cobalt 0 hana indigo 52 alice grove 115 dina grove 92 lina juniper 101 alice grove 116
lina birch 45 eli delta 18 jules juniper 55 hana cobalt 0 hana indigo 52 alice grove 115 dina grove 92 lina juniper 101 alice grove 116
farah juniper 41 lina ember 30 kim cobalt 47 farah amber 112 bruno birch 68 lina indigo 111 bruno birch 38 alice amber 117
farah juniper 41 lina ember 30 kim cobalt 47 farah amber 112 bruno birch 68 lina indigo 111 bruno birch 38 alice amber 117
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004089
qwen/qwen3.7-plus
awkweave-0004100
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
harbor 61 DEBUG birch 65 WARN ember 52 DEBUG cobalt 71 INFO harbor 83 INFO grove 113 DEBUG juniper 118 ERROR ember 64 DEBUG juniper 92 DEBUG
cobalt 71 INFO harbor 83 INFO
amber 7 ERROR harbor 77 WARN harbor 0 WARN ember 91 DEBUG cobalt 63 WARN juniper 44 INFO
juniper 44 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004100-p1
Output all fields from any line where the third field starts with the string INFO.
$3 ~ /^INFO/
harbor 61 DEBUG birch 65 WARN ember 52 DEBUG cobalt 71 INFO harbor 83 INFO grove 113 DEBUG juniper 118 ERROR ember 64 DEBUG juniper 92 DEBUG
cobalt 71 INFO harbor 83 INFO
amber 7 ERROR harbor 77 WARN harbor 0 WARN ember 91 DEBUG cobalt 63 WARN juniper 44 INFO
juniper 44 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004100
qwen/qwen3.7-plus
awkweave-0004101
Print every line except those containing the exact text amber.
$0 !~ /amber/
fable 87 pending ember 52 ready cobalt 70 failed birch 36 pending harbor 31 closed indigo 83 failed birch 47 pending juniper 92 paused indigo 113 failed amber 999 active
fable 87 pending ember 52 ready cobalt 70 failed birch 36 pending harbor 31 closed indigo 83 failed birch 47 pending juniper 92 paused indigo 113 failed
indigo 66 pending fable 21 active delta 81 active delta 71 paused cobalt 86 paused delta 90 failed juniper 50 ready amber 88 ready harbor 114 failed ember 71 failed amber 999 active
indigo 66 pending fable 21 active delta 81 active delta 71 paused cobalt 86 paused delta 90 failed juniper 50 ready harbor 114 failed ember 71 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004101-p1
Print every line that does not contain the exact substring amber.
$0 !~ /amber/
fable 87 pending ember 52 ready cobalt 70 failed birch 36 pending harbor 31 closed indigo 83 failed birch 47 pending juniper 92 paused indigo 113 failed amber 999 active
fable 87 pending ember 52 ready cobalt 70 failed birch 36 pending harbor 31 closed indigo 83 failed birch 47 pending juniper 92 paused indigo 113 failed
indigo 66 pending fable 21 active delta 81 active delta 71 paused cobalt 86 paused delta 90 failed juniper 50 ready amber 88 ready harbor 114 failed ember 71 failed amber 999 active
indigo 66 pending fable 21 active delta 81 active delta 71 paused cobalt 86 paused delta 90 failed juniper 50 ready harbor 114 failed ember 71 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004101
qwen/qwen3.7-plus
awkweave-0004102
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
gus ember 27 chen birch 117 alice birch 94 jules delta 99 farah cobalt 65 alice delta 64 gus amber 73 ivan birch 98 farah fable 103 eli birch 49
jules delta 99 farah cobalt 65 alice delta 64 gus amber 73
jules grove 56 lina cobalt 37 dina juniper 14 dina juniper 11 farah birch 84 dina ember 47 dina birch 28 lina delta 41 chen juniper 119 hana fable 46
dina juniper 11 farah birch 84 dina ember 47 dina birch 28
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004102-p1
Display lines 4 through 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
gus ember 27 chen birch 117 alice birch 94 jules delta 99 farah cobalt 65 alice delta 64 gus amber 73 ivan birch 98 farah fable 103 eli birch 49
jules delta 99 farah cobalt 65 alice delta 64 gus amber 73
jules grove 56 lina cobalt 37 dina juniper 14 dina juniper 11 farah birch 84 dina ember 47 dina birch 28 lina delta 41 chen juniper 119 hana fable 46
dina juniper 11 farah birch 84 dina ember 47 dina birch 28
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004102
qwen/qwen3.7-plus
awkweave-0004103
Output only the first 2 records.
NR <= 2
alice 104 birch gus 45 juniper eli 87 cobalt eli 66 amber chen 72 amber ivan 1 cobalt
alice 104 birch gus 45 juniper
ivan 94 juniper chen 23 birch ivan 32 grove gus 88 cobalt ivan 10 cobalt hana 107 grove hana 65 cobalt hana 9 delta lina 74 cobalt
ivan 94 juniper chen 23 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004103-p1
Restrict the output to only the first two records.
NR <= 2
alice 104 birch gus 45 juniper eli 87 cobalt eli 66 amber chen 72 amber ivan 1 cobalt
alice 104 birch gus 45 juniper
ivan 94 juniper chen 23 birch ivan 32 grove gus 88 cobalt ivan 10 cobalt hana 107 grove hana 65 cobalt hana 9 delta lina 74 cobalt
ivan 94 juniper chen 23 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004103
qwen/qwen3.7-plus
awkweave-0004104
Skip the first line and print every remaining line unchanged.
NR > 1
farah 100 harbor alice 56 indigo dina 115 birch hana 80 cobalt bruno 106 harbor eli 29 ember jules 60 birch jules 108 fable
alice 56 indigo dina 115 birch hana 80 cobalt bruno 106 harbor eli 29 ember jules 60 birch jules 108 fable
farah 110 indigo kim 68 birch jules 100 harbor gus 28 cobalt eli 27 cobalt alice 114 cobalt lina 44 cobalt bruno 4 fable
kim 68 birch jules 100 harbor gus 28 cobalt eli 27 cobalt alice 114 cobalt lina 44 cobalt bruno 4 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004104-p1
Omit the first line and print all remaining lines exactly as they appear.
NR > 1
farah 100 harbor alice 56 indigo dina 115 birch hana 80 cobalt bruno 106 harbor eli 29 ember jules 60 birch jules 108 fable
alice 56 indigo dina 115 birch hana 80 cobalt bruno 106 harbor eli 29 ember jules 60 birch jules 108 fable
farah 110 indigo kim 68 birch jules 100 harbor gus 28 cobalt eli 27 cobalt alice 114 cobalt lina 44 cobalt bruno 4 fable
kim 68 birch jules 100 harbor gus 28 cobalt eli 27 cobalt alice 114 cobalt lina 44 cobalt bruno 4 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004104
qwen/qwen3.7-plus
awkweave-0004105
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
jules pending 44 ivan pending 105 alice failed 77 ivan paused 14 lina active 59 dina ready 119 gus paused 111 dina ready 13
2
eli paused 34 lina paused 94 kim paused 14 gus paused 44 chen pending 88 ivan paused 71 eli ready 89 jules pending 81
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004105-p1
Count the number of records where the second column equals ready; if no such records exist, output 0.
$2 == "ready"{n++}END{print n+0}
jules pending 44 ivan pending 105 alice failed 77 ivan paused 14 lina active 59 dina ready 119 gus paused 111 dina ready 13
2
eli paused 34 lina paused 94 kim paused 14 gus paused 44 chen pending 88 ivan paused 71 eli ready 89 jules pending 81
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004105
qwen/qwen3.7-plus
awkweave-0004106
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
gus birch 1 kim cobalt 29 ivan ember 21 chen juniper 24 lina juniper 29 dina cobalt 2 bruno cobalt 11
117
lina fable 13 gus fable 15 dina fable 11 dina fable 9 ivan harbor 29 kim indigo 19
96
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004106-p1
Compute and output the total of all integer values found in the third column.
{s+=$3}END{print s+0}
gus birch 1 kim cobalt 29 ivan ember 21 chen juniper 24 lina juniper 29 dina cobalt 2 bruno cobalt 11
117
lina fable 13 gus fable 15 dina fable 11 dina fable 9 ivan harbor 29 kim indigo 19
96
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004106
qwen/qwen3.7-plus
awkweave-0004107
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta farah 23 juniper lina 17 ember farah 23 indigo gus 2 fable farah 7 juniper farah 7 juniper hana 18 juniper alice 19
14.50
grove lina 6 amber bruno 10 amber alice 1 ember dina 6 birch hana 9 indigo gus 24 birch kim 6 juniper kim 3
8.12
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004107-p1
Output the average of the values in column 3, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta farah 23 juniper lina 17 ember farah 23 indigo gus 2 fable farah 7 juniper farah 7 juniper hana 18 juniper alice 19
14.50
grove lina 6 amber bruno 10 amber alice 1 ember dina 6 birch hana 9 indigo gus 24 birch kim 6 juniper kim 3
8.12
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004107
qwen/qwen3.7-plus
awkweave-0004108
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
9 eli juniper 11 kim juniper 6 chen ember 12 farah harbor 19 ivan ember 6 hana cobalt 11 lina birch
6
3 jules amber 5 chen indigo 28 jules amber 8 gus fable 12 chen ember 13 dina birch 28 eli harbor
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004108-p1
Identify and display the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
9 eli juniper 11 kim juniper 6 chen ember 12 farah harbor 19 ivan ember 6 hana cobalt 11 lina birch
6
3 jules amber 5 chen indigo 28 jules amber 8 gus fable 12 chen ember 13 dina birch 28 eli harbor
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004108
qwen/qwen3.7-plus
awkweave-0004109
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
19 fable alice 9 grove jules 1 grove dina 24 amber kim 5 juniper dina 3 juniper lina 3 indigo bruno 19 ember hana
24
24 grove kim 29 birch bruno 23 fable eli 17 juniper gus 4 grove dina 3 grove alice 8 ember chen 30 amber gus 23 birch farah 24 birch hana
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0004109-p1
Identify and display the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
19 fable alice 9 grove jules 1 grove dina 24 amber kim 5 juniper dina 3 juniper lina 3 indigo bruno 19 ember hana
24
24 grove kim 29 birch bruno 23 fable eli 17 juniper gus 4 grove dina 3 grove alice 8 ember chen 30 amber gus 23 birch farah 24 birch hana
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0004109
qwen/qwen3.7-plus
awkweave-0004110
Count all input records and print the total.
END{print NR}
dina 119 bruno 73 kim 81 eli 68 chen 65 kim 83 alice 60 gus 61
8
bruno 66 hana 28 lina 3 hana 77 kim 70 lina 109 hana 37 lina 12 dina 7 gus 93
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null