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-0051942-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
farah indigo 94 kim cobalt 23 farah juniper 116 chen juniper 0 ivan harbor 37 bruno indigo 20 eli amber 102
farah indigo 94 kim cobalt 23 farah juniper 116 chen juniper 0 ivan harbor 37 bruno indigo 20 eli amber 102
hana indigo 61 chen indigo 82 alice juniper 98 eli harbor 109 chen indigo 78 ivan birch 11 bruno cobalt 30 hana grove 44
hana indigo 61 chen indigo 82 alice juniper 98 eli harbor 109 chen indigo 78 ivan birch 11 bruno cobalt 30 hana grove 44
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051942
qwen/qwen3.7-plus
awkweave-0051943
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim grove 86 closed jules ember 12 paused lina cobalt 36 paused bruno birch 22 failed jules fable 69 failed eli juniper 54 pending
eli juniper 54 pending
gus cobalt 85 active farah delta 10 paused chen harbor 10 closed farah harbor 74 pending lina birch 8 paused gus birch 15 active eli birch 110 paused bruno ember 69 active jules cobalt 18 pending chen delta 82 ready
farah harbor 74 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051943-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
kim grove 86 closed jules ember 12 paused lina cobalt 36 paused bruno birch 22 failed jules fable 69 failed eli juniper 54 pending
eli juniper 54 pending
gus cobalt 85 active farah delta 10 paused chen harbor 10 closed farah harbor 74 pending lina birch 8 paused gus birch 15 active eli birch 110 paused bruno ember 69 active jules cobalt 18 pending chen delta 82 ready
farah harbor 74 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051943
qwen/qwen3.7-plus
awkweave-0051944
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
eli 50 bruno 19 dina 67 farah 14 farah 90 gus 53
bruno 19 farah 14 gus 53
bruno 90 kim 4 farah 83 eli 94 dina 34 dina 0 gus 54 bruno 3
kim 4 eli 94 dina 0 bruno 3
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051944-p1
Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
eli 50 bruno 19 dina 67 farah 14 farah 90 gus 53
bruno 19 farah 14 gus 53
bruno 90 kim 4 farah 83 eli 94 dina 34 dina 0 gus 54 bruno 3
kim 4 eli 94 dina 0 bruno 3
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051944
qwen/qwen3.7-plus
awkweave-0051945
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha birch 115 gamma fable 88 delta amber 102 delta amber 111 gamma juniper 32 delta cobalt 118 gamma birch 18 alpha birch 92 beta fable 45
4
beta birch 54 delta ember 117 alpha amber 24 beta indigo 106 delta harbor 3 alpha juniper 50 gamma birch 23 beta ember 113
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051945-p1
Calculate the number of unique values present in the first column and output only that total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha birch 115 gamma fable 88 delta amber 102 delta amber 111 gamma juniper 32 delta cobalt 118 gamma birch 18 alpha birch 92 beta fable 45
4
beta birch 54 delta ember 117 alpha amber 24 beta indigo 106 delta harbor 3 alpha juniper 50 gamma birch 23 beta ember 113
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051945
qwen/qwen3.7-plus
awkweave-0051946
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 7 0 alice 11 9 chen 21 18 kim 12 1 eli 7 20 ivan 13 27 gus 28 13 kim 13 12 kim 3 27
alice 1.22 chen 1.17 kim 12.00 eli 0.35 ivan 0.48 gus 2.15 kim 1.08 kim 0.11
farah 21 0 eli 7 12 lina 22 28 bruno 6 23 ivan 4 4 chen 21 8 dina 9 2 dina 28 22 bruno 26 23 gus 8 4
eli 0.58 lina 0.79 bruno 0.26 ivan 1.00 chen 2.62 dina 4.50 dina 1.27 bruno 1.13 gus 2.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051946-p1
For each row, output the value of column 1 followed by the result of column 2 divided by column 3, formatted to two decimal places; omit any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 7 0 alice 11 9 chen 21 18 kim 12 1 eli 7 20 ivan 13 27 gus 28 13 kim 13 12 kim 3 27
alice 1.22 chen 1.17 kim 12.00 eli 0.35 ivan 0.48 gus 2.15 kim 1.08 kim 0.11
farah 21 0 eli 7 12 lina 22 28 bruno 6 23 ivan 4 4 chen 21 8 dina 9 2 dina 28 22 bruno 26 23 gus 8 4
eli 0.58 lina 0.79 bruno 0.26 ivan 1.00 chen 2.62 dina 4.50 dina 1.27 bruno 1.13 gus 2.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051946
qwen/qwen3.7-plus
awkweave-0051947
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]}
kim amber 4 gus fable 5 farah harbor 16 eli ember 29 dina grove 18 ivan fable 23 eli delta 8 jules fable 13 eli fable 2
eli ember 29 ivan fable 23 dina grove 18
ivan birch 1 ivan indigo 18 kim juniper 24 kim amber 11 chen cobalt 20 bruno birch 25 gus birch 2 chen cobalt 27
chen cobalt 27 bruno birch 25 kim juniper 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051947-p1
Output the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{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]}
kim amber 4 gus fable 5 farah harbor 16 eli ember 29 dina grove 18 ivan fable 23 eli delta 8 jules fable 13 eli fable 2
eli ember 29 ivan fable 23 dina grove 18
ivan birch 1 ivan indigo 18 kim juniper 24 kim amber 11 chen cobalt 20 bruno birch 25 gus birch 2 chen cobalt 27
chen cobalt 27 bruno birch 25 kim juniper 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051947
qwen/qwen3.7-plus
awkweave-0051948
Select the 3rd and 2nd fields in that order.
{print $3, $2}
eli 52 fable pending grove gus bruno 70 harbor active amber kim ivan 88 ember failed juniper chen dina 48 fable failed delta alice kim 23 delta active fable jules kim 46 juniper paused delta bruno chen 23 harbor failed grove farah lina 112 juniper closed indigo lina lina 47 ember failed delta jules hana 114 harbor pend...
fable 52 harbor 70 ember 88 fable 48 delta 23 juniper 46 harbor 23 juniper 112 ember 47 harbor 114
chen 65 cobalt ready delta kim hana 100 grove pending juniper alice eli 45 indigo active birch bruno lina 117 fable paused juniper dina ivan 13 amber closed harbor farah alice 62 delta failed delta chen eli 18 grove active delta eli
cobalt 65 grove 100 indigo 45 fable 117 amber 13 delta 62 grove 18
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051948-p1
Extract and print the third field followed by the second field, in that specific order.
{print $3, $2}
eli 52 fable pending grove gus bruno 70 harbor active amber kim ivan 88 ember failed juniper chen dina 48 fable failed delta alice kim 23 delta active fable jules kim 46 juniper paused delta bruno chen 23 harbor failed grove farah lina 112 juniper closed indigo lina lina 47 ember failed delta jules hana 114 harbor pend...
fable 52 harbor 70 ember 88 fable 48 delta 23 juniper 46 harbor 23 juniper 112 ember 47 harbor 114
chen 65 cobalt ready delta kim hana 100 grove pending juniper alice eli 45 indigo active birch bruno lina 117 fable paused juniper dina ivan 13 amber closed harbor farah alice 62 delta failed delta chen eli 18 grove active delta eli
cobalt 65 grove 100 indigo 45 fable 117 amber 13 delta 62 grove 18
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051948
qwen/qwen3.7-plus
awkweave-0051949
Print the last field of every input line.
{print $NF}
chen alice paused chen dina paused alice gus ready bruno jules closed chen kim active hana ivan paused alice ivan ready eli gus ready
paused paused ready closed active paused ready ready
kim farah pending jules hana paused lina chen closed lina jules paused chen ivan failed ivan kim active alice alice closed eli alice active dina dina pending
pending paused closed paused failed active closed active pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051949-p1
Output the final field from every line of the input.
{print $NF}
chen alice paused chen dina paused alice gus ready bruno jules closed chen kim active hana ivan paused alice ivan ready eli gus ready
paused paused ready closed active paused ready ready
kim farah pending jules hana paused lina chen closed lina jules paused chen ivan failed ivan kim active alice alice closed eli alice active dina dina pending
pending paused closed paused failed active closed active pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051949
qwen/qwen3.7-plus
awkweave-0051950
Print the complete records where column 3 is at least 37.
$3 >= 37
grove farah 2 amber ember hana 62 grove ember chen 49 delta birch lina 67 amber birch dina 111 indigo harbor dina 86 birch
ember hana 62 grove ember chen 49 delta birch lina 67 amber birch dina 111 indigo harbor dina 86 birch
harbor kim 27 harbor fable lina 93 harbor indigo hana 105 amber cobalt farah 58 delta amber dina 13 cobalt indigo bruno 18 juniper amber ivan 12 fable fable hana 18 birch ember ivan 116 delta
fable lina 93 harbor indigo hana 105 amber cobalt farah 58 delta ember ivan 116 delta
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051950-p1
Print the full records for which the value in column 3 is greater than or equal to 37.
$3 >= 37
grove farah 2 amber ember hana 62 grove ember chen 49 delta birch lina 67 amber birch dina 111 indigo harbor dina 86 birch
ember hana 62 grove ember chen 49 delta birch lina 67 amber birch dina 111 indigo harbor dina 86 birch
harbor kim 27 harbor fable lina 93 harbor indigo hana 105 amber cobalt farah 58 delta amber dina 13 cobalt indigo bruno 18 juniper amber ivan 12 fable fable hana 18 birch ember ivan 116 delta
fable lina 93 harbor indigo hana 105 amber cobalt farah 58 delta ember ivan 116 delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051950
qwen/qwen3.7-plus
awkweave-0051951
Show whole lines whose 3rd field is between 11 and 26, inclusive.
$3 >= 11 && $3 <= 26
pending amber 29 indigo closed harbor 13 amber pending fable 18 indigo closed delta 27 amber active delta 9 indigo active amber 27 indigo closed ember 3 ember closed fable 13 birch paused grove 1 cobalt
closed harbor 13 amber pending fable 18 indigo closed fable 13 birch
failed birch 21 indigo ready grove 17 delta failed juniper 30 delta closed harbor 6 birch ready juniper 20 delta failed delta 30 indigo pending harbor 27 amber
failed birch 21 indigo ready grove 17 delta ready juniper 20 delta
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051951-p1
Display entire lines where the third field has a numeric value between 11 and 26, inclusive.
$3 >= 11 && $3 <= 26
pending amber 29 indigo closed harbor 13 amber pending fable 18 indigo closed delta 27 amber active delta 9 indigo active amber 27 indigo closed ember 3 ember closed fable 13 birch paused grove 1 cobalt
closed harbor 13 amber pending fable 18 indigo closed fable 13 birch
failed birch 21 indigo ready grove 17 delta failed juniper 30 delta closed harbor 6 birch ready juniper 20 delta failed delta 30 indigo pending harbor 27 amber
failed birch 21 indigo ready grove 17 delta ready juniper 20 delta
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051951
qwen/qwen3.7-plus
awkweave-0051952
Print column 1 only for rows where column 4 is exactly ready.
$4 == "ready"{print $1}
lina amber 20 ready gus cobalt 37 pending kim cobalt 119 ready bruno indigo 4 paused hana ember 7 active jules cobalt 106 closed farah ember 99 ready
lina kim farah
lina ember 83 active lina delta 82 pending chen juniper 14 failed jules juniper 5 ready jules indigo 50 failed farah juniper 10 ready kim indigo 104 closed gus birch 78 closed ivan birch 97 closed eli harbor 16 paused
jules farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051952-p1
Output only the first column for those rows where the fourth column contains exactly the string 'ready'.
$4 == "ready"{print $1}
lina amber 20 ready gus cobalt 37 pending kim cobalt 119 ready bruno indigo 4 paused hana ember 7 active jules cobalt 106 closed farah ember 99 ready
lina kim farah
lina ember 83 active lina delta 82 pending chen juniper 14 failed jules juniper 5 ready jules indigo 50 failed farah juniper 10 ready kim indigo 104 closed gus birch 78 closed ivan birch 97 closed eli harbor 16 paused
jules farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051952
qwen/qwen3.7-plus
awkweave-0051953
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
119 cobalt DEBUG 56 harbor ERROR 46 cobalt INFO 62 ember DEBUG 29 fable ERROR 79 grove INFO 83 amber ERROR 77 indigo INFO 34 delta WARN 12 harbor INFO
46 cobalt INFO 79 grove INFO 77 indigo INFO 12 harbor INFO
51 harbor WARN 2 amber INFO 13 cobalt INFO 80 delta DEBUG 2 harbor DEBUG 38 grove DEBUG
2 amber INFO 13 cobalt INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051953-p1
Print all fields from any line where the third field starts with the prefix 'INFO'.
$3 ~ /^INFO/
119 cobalt DEBUG 56 harbor ERROR 46 cobalt INFO 62 ember DEBUG 29 fable ERROR 79 grove INFO 83 amber ERROR 77 indigo INFO 34 delta WARN 12 harbor INFO
46 cobalt INFO 79 grove INFO 77 indigo INFO 12 harbor INFO
51 harbor WARN 2 amber INFO 13 cobalt INFO 80 delta DEBUG 2 harbor DEBUG 38 grove DEBUG
2 amber INFO 13 cobalt INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051953
qwen/qwen3.7-plus
awkweave-0051954
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
juniper 78 pending grove 117 paused indigo 102 ready grove 15 active juniper 74 closed amber 66 active fable 38 pending indigo 999 active
juniper 78 pending grove 117 paused grove 15 active juniper 74 closed amber 66 active fable 38 pending
cobalt 79 ready juniper 33 active cobalt 99 active indigo 18 pending birch 120 closed juniper 90 failed indigo 999 active
cobalt 79 ready juniper 33 active cobalt 99 active birch 120 closed juniper 90 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051954-p1
Output all lines that do not contain the exact string indigo.
$0 !~ /indigo/
juniper 78 pending grove 117 paused indigo 102 ready grove 15 active juniper 74 closed amber 66 active fable 38 pending indigo 999 active
juniper 78 pending grove 117 paused grove 15 active juniper 74 closed amber 66 active fable 38 pending
cobalt 79 ready juniper 33 active cobalt 99 active indigo 18 pending birch 120 closed juniper 90 failed indigo 999 active
cobalt 79 ready juniper 33 active cobalt 99 active birch 120 closed juniper 90 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051954
qwen/qwen3.7-plus
awkweave-0051955
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
gus indigo 31 dina indigo 2 lina juniper 22 eli birch 1 gus cobalt 13 farah amber 70 farah birch 107
eli birch 1 gus cobalt 13 farah amber 70
kim amber 81 chen indigo 96 hana birch 97 eli indigo 105 alice delta 33 eli juniper 3
eli indigo 105 alice delta 33 eli juniper 3
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051955-p1
Display lines 4 to 6, inclusive of both endpoints.
NR >= 4 && NR <= 6
gus indigo 31 dina indigo 2 lina juniper 22 eli birch 1 gus cobalt 13 farah amber 70 farah birch 107
eli birch 1 gus cobalt 13 farah amber 70
kim amber 81 chen indigo 96 hana birch 97 eli indigo 105 alice delta 33 eli juniper 3
eli indigo 105 alice delta 33 eli juniper 3
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051955
qwen/qwen3.7-plus
awkweave-0051956
Output only the first 5 records.
NR <= 5
gus 9 birch hana 52 birch jules 14 grove lina 96 fable dina 98 juniper hana 15 delta lina 57 delta kim 81 indigo hana 2 indigo
gus 9 birch hana 52 birch jules 14 grove lina 96 fable dina 98 juniper
ivan 92 grove chen 110 grove alice 22 cobalt jules 52 cobalt hana 98 delta dina 105 cobalt chen 37 fable
ivan 92 grove chen 110 grove alice 22 cobalt jules 52 cobalt hana 98 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051956-p1
Show only the initial 5 records.
NR <= 5
gus 9 birch hana 52 birch jules 14 grove lina 96 fable dina 98 juniper hana 15 delta lina 57 delta kim 81 indigo hana 2 indigo
gus 9 birch hana 52 birch jules 14 grove lina 96 fable dina 98 juniper
ivan 92 grove chen 110 grove alice 22 cobalt jules 52 cobalt hana 98 delta dina 105 cobalt chen 37 fable
ivan 92 grove chen 110 grove alice 22 cobalt jules 52 cobalt hana 98 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051956
qwen/qwen3.7-plus
awkweave-0051957
Skip the first line and print every remaining line unchanged.
NR > 1
dina 120 ember gus 103 delta bruno 36 indigo alice 76 amber bruno 67 indigo bruno 108 indigo lina 60 delta kim 6 cobalt
gus 103 delta bruno 36 indigo alice 76 amber bruno 67 indigo bruno 108 indigo lina 60 delta kim 6 cobalt
hana 55 indigo dina 105 juniper ivan 120 harbor dina 49 indigo jules 89 birch kim 60 indigo
dina 105 juniper ivan 120 harbor dina 49 indigo jules 89 birch kim 60 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051957-p1
Omit the first line and output the rest of the lines as they are.
NR > 1
dina 120 ember gus 103 delta bruno 36 indigo alice 76 amber bruno 67 indigo bruno 108 indigo lina 60 delta kim 6 cobalt
gus 103 delta bruno 36 indigo alice 76 amber bruno 67 indigo bruno 108 indigo lina 60 delta kim 6 cobalt
hana 55 indigo dina 105 juniper ivan 120 harbor dina 49 indigo jules 89 birch kim 60 indigo
dina 105 juniper ivan 120 harbor dina 49 indigo jules 89 birch kim 60 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051957
qwen/qwen3.7-plus
awkweave-0051958
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
lina closed 47 hana pending 40 eli active 52 ivan active 4 dina ready 81 eli ready 40
1
chen closed 48 lina pending 12 lina failed 98 dina paused 64 eli closed 49 ivan failed 54 eli failed 48
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051958-p1
Count the number of records where column 2 is closed; output 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
lina closed 47 hana pending 40 eli active 52 ivan active 4 dina ready 81 eli ready 40
1
chen closed 48 lina pending 12 lina failed 98 dina paused 64 eli closed 49 ivan failed 54 eli failed 48
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051958
qwen/qwen3.7-plus
awkweave-0051959
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
dina indigo 25 lina delta 23 lina harbor 26 bruno amber 10 lina indigo 24 bruno grove 27 kim fable 3 kim amber 28
166
jules amber 2 lina cobalt 18 chen birch 3 eli delta 1 eli delta 4 kim fable 20 gus cobalt 14 jules fable 25 bruno ember 3
90
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051959-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
dina indigo 25 lina delta 23 lina harbor 26 bruno amber 10 lina indigo 24 bruno grove 27 kim fable 3 kim amber 28
166
jules amber 2 lina cobalt 18 chen birch 3 eli delta 1 eli delta 4 kim fable 20 gus cobalt 14 jules fable 25 bruno ember 3
90
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051959
qwen/qwen3.7-plus
awkweave-0051960
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
birch 15 hana indigo 30 kim birch 15 ivan delta 24 jules delta 17 gus indigo 13 kim birch 14 kim juniper 25 ivan
19.12
birch 25 lina harbor 21 bruno grove 23 chen juniper 11 ivan juniper 6 chen cobalt 26 kim ember 27 chen delta 8 lina amber 16 alice
18.11
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051960-p1
Print the average of column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
birch 15 hana indigo 30 kim birch 15 ivan delta 24 jules delta 17 gus indigo 13 kim birch 14 kim juniper 25 ivan
19.12
birch 25 lina harbor 21 bruno grove 23 chen juniper 11 ivan juniper 6 chen cobalt 26 kim ember 27 chen delta 8 lina amber 16 alice
18.11
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051960
qwen/qwen3.7-plus
awkweave-0051961
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
3 eli cobalt 8 farah harbor 28 kim fable 15 farah harbor 13 gus ember 20 gus delta 24 jules fable 14 dina harbor 23 eli fable 27 alice amber
3
15 farah grove 8 gus ember 10 eli grove 7 lina delta 3 alice birch 30 alice cobalt
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051961-p1
Identify and output the minimum numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
3 eli cobalt 8 farah harbor 28 kim fable 15 farah harbor 13 gus ember 20 gus delta 24 jules fable 14 dina harbor 23 eli fable 27 alice amber
3
15 farah grove 8 gus ember 10 eli grove 7 lina delta 3 alice birch 30 alice cobalt
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051961
qwen/qwen3.7-plus
awkweave-0051962
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan delta 10 hana delta 21 bruno fable 29 dina grove 2 bruno indigo 8 jules birch 17
29
bruno harbor 3 gus indigo 24 bruno delta 20 eli birch 6 eli delta 3 lina juniper 12 dina indigo 6 dina indigo 30 jules fable 16 dina birch 14
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051962-p1
Identify and output the maximum numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ivan delta 10 hana delta 21 bruno fable 29 dina grove 2 bruno indigo 8 jules birch 17
29
bruno harbor 3 gus indigo 24 bruno delta 20 eli birch 6 eli delta 3 lina juniper 12 dina indigo 6 dina indigo 30 jules fable 16 dina birch 14
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051962
qwen/qwen3.7-plus
awkweave-0051963
Count all input records and print the total.
END{print NR}
eli 39 alice 39 chen 79 dina 30 jules 42 chen 34 lina 82 jules 64 eli 48
9
gus 61 dina 37 farah 114 jules 37 lina 44 alice 111
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051963-p1
Count the total number of input records and print the result.
END{print NR}
eli 39 alice 39 chen 79 dina 30 jules 42 chen 34 lina 82 jules 64 eli 48
9
gus 61 dina 37 farah 114 jules 37 lina 44 alice 111
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051963
qwen/qwen3.7-plus
awkweave-0051964
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan cobalt 30 kim juniper 30 gus cobalt 108 gus cobalt 108 bruno indigo 44 ivan amber 20 lina birch 93
ivan cobalt 30 kim juniper 30 gus cobalt 108 bruno indigo 44 ivan amber 20 lina birch 93
ivan grove 103 dina delta 21 gus amber 8 hana birch 28 chen juniper 17 alice fable 113 jules grove 51 gus amber 8 jules birch 74
ivan grove 103 dina delta 21 gus amber 8 hana birch 28 chen juniper 17 alice fable 113 jules grove 51 jules birch 74
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051964-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original order.
!seen[$0]++
ivan cobalt 30 kim juniper 30 gus cobalt 108 gus cobalt 108 bruno indigo 44 ivan amber 20 lina birch 93
ivan cobalt 30 kim juniper 30 gus cobalt 108 bruno indigo 44 ivan amber 20 lina birch 93
ivan grove 103 dina delta 21 gus amber 8 hana birch 28 chen juniper 17 alice fable 113 jules grove 51 gus amber 8 jules birch 74
ivan grove 103 dina delta 21 gus amber 8 hana birch 28 chen juniper 17 alice fable 113 jules grove 51 jules birch 74
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051964
qwen/qwen3.7-plus
awkweave-0051965
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
gus grove 95 jules fable 90 dina delta 7 chen delta 24 bruno grove 102 farah fable 52 kim grove 114
gus grove 95 jules fable 90 dina delta 7
kim cobalt 97 lina delta 18 dina amber 74 bruno ember 67 ivan birch 46 lina ember 23 farah fable 16 bruno harbor 2
kim cobalt 97 lina delta 18 dina amber 74 bruno ember 67 ivan birch 46 farah fable 16 bruno harbor 2
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051965-p1
Retain only the first line for each unique value in column 2, preserving the original input order.
!seen[$2]++
gus grove 95 jules fable 90 dina delta 7 chen delta 24 bruno grove 102 farah fable 52 kim grove 114
gus grove 95 jules fable 90 dina delta 7
kim cobalt 97 lina delta 18 dina amber 74 bruno ember 67 ivan birch 46 lina ember 23 farah fable 16 bruno harbor 2
kim cobalt 97 lina delta 18 dina amber 74 bruno ember 67 ivan birch 46 farah fable 16 bruno harbor 2
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051965
qwen/qwen3.7-plus
awkweave-0051966
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 11 grove gus 22 birch alice 24 delta gus 18 ember bruno 25 birch dina 30 juniper kim 17 birch
gus 11 gus 33 alice 57 gus 75 bruno 100 dina 130 kim 147
eli 6 juniper alice 30 fable alice 18 delta alice 25 delta lina 18 fable kim 11 birch chen 24 cobalt farah 22 indigo kim 7 fable
eli 6 alice 36 alice 54 alice 79 lina 97 kim 108 chen 132 farah 154 kim 161
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051966-p1
Output the first column and the cumulative total of the second column for each record, separated by a space.
{s+=$2;print $1,s}
gus 11 grove gus 22 birch alice 24 delta gus 18 ember bruno 25 birch dina 30 juniper kim 17 birch
gus 11 gus 33 alice 57 gus 75 bruno 100 dina 130 kim 147
eli 6 juniper alice 30 fable alice 18 delta alice 25 delta lina 18 fable kim 11 birch chen 24 cobalt farah 22 indigo kim 7 fable
eli 6 alice 36 alice 54 alice 79 lina 97 kim 108 chen 132 farah 154 kim 161
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051966
qwen/qwen3.7-plus
awkweave-0051967
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 28 2 amber jules 23 18 indigo farah 13 4 amber jules 21 3 amber lina 8 11 fable alice 25 8 delta
eli 30 jules 41 farah 17 jules 24 lina 19 alice 33
dina 11 4 grove jules 30 1 birch eli 27 23 birch ivan 4 23 fable kim 17 22 delta jules 9 12 indigo dina 16 17 amber lina 21 25 birch hana 7 23 birch jules 6 8 cobalt
dina 15 jules 31 eli 50 ivan 27 kim 39 jules 21 dina 33 lina 46 hana 30 jules 14
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051967-p1
For every row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
eli 28 2 amber jules 23 18 indigo farah 13 4 amber jules 21 3 amber lina 8 11 fable alice 25 8 delta
eli 30 jules 41 farah 17 jules 24 lina 19 alice 33
dina 11 4 grove jules 30 1 birch eli 27 23 birch ivan 4 23 fable kim 17 22 delta jules 9 12 indigo dina 16 17 amber lina 21 25 birch hana 7 23 birch jules 6 8 cobalt
dina 15 jules 31 eli 50 ivan 27 kim 39 jules 21 dina 33 lina 46 hana 30 jules 14
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051967
qwen/qwen3.7-plus
awkweave-0051968
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
gus 18 farah 6 kim 20 gus 23 farah 30 alice 10 eli 12 alice 29 jules 1 bruno 8
gus fail farah fail kim fail gus pass farah pass alice fail eli fail alice pass jules fail bruno fail
alice 14 hana 7 hana 8 eli 21 dina 24 hana 29 alice 18 kim 8 alice 11
alice fail hana fail hana fail eli fail dina pass hana pass alice fail kim fail alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051968-p1
Print the first column; if the second column is 22 or greater, output 'pass', otherwise output 'fail'.
{print $1,($2>=22?"pass":"fail")}
gus 18 farah 6 kim 20 gus 23 farah 30 alice 10 eli 12 alice 29 jules 1 bruno 8
gus fail farah fail kim fail gus pass farah pass alice fail eli fail alice pass jules fail bruno fail
alice 14 hana 7 hana 8 eli 21 dina 24 hana 29 alice 18 kim 8 alice 11
alice fail hana fail hana fail eli fail dina pass hana pass alice fail kim fail alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051968
qwen/qwen3.7-plus
awkweave-0051969
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina ember 89 bruno indigo 90 chen birch 70 gus fable 72 eli fable 43 gus cobalt 92 hana harbor 48 kim juniper 31 kim amber 76 chen delta 6
DINA BRUNO CHEN GUS ELI GUS HANA KIM KIM CHEN
hana harbor 46 lina birch 9 chen delta 119 lina harbor 64 eli ember 63 jules amber 85 ivan ember 73 alice amber 105 alice grove 11
HANA LINA CHEN LINA ELI JULES IVAN ALICE ALICE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051969-p1
Transform the first column to uppercase and print only that modified column.
{print toupper($1)}
dina ember 89 bruno indigo 90 chen birch 70 gus fable 72 eli fable 43 gus cobalt 92 hana harbor 48 kim juniper 31 kim amber 76 chen delta 6
DINA BRUNO CHEN GUS ELI GUS HANA KIM KIM CHEN
hana harbor 46 lina birch 9 chen delta 119 lina harbor 64 eli ember 63 jules amber 85 ivan ember 73 alice amber 105 alice grove 11
HANA LINA CHEN LINA ELI JULES IVAN ALICE ALICE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051969
qwen/qwen3.7-plus
awkweave-0051970
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
ember 61 cobalt 107 fable 39 birch 23 ember 120 delta 43 juniper 114 ember 116 delta 21 juniper 103
embe coba fabl birc embe delt juni embe delt juni
fable 85 cobalt 76 juniper 65 harbor 6 amber 64 juniper 33 delta 34 grove 17 ember 52
fabl coba juni harb ambe juni delt grov embe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051970-p1
Extract and print the first 4 characters from the first column.
{print substr($1,1,4)}
ember 61 cobalt 107 fable 39 birch 23 ember 120 delta 43 juniper 114 ember 116 delta 21 juniper 103
embe coba fabl birc embe delt juni embe delt juni
fable 85 cobalt 76 juniper 65 harbor 6 amber 64 juniper 33 delta 34 grove 17 ember 52
fabl coba juni harb ambe juni delt grov embe
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051970
qwen/qwen3.7-plus
awkweave-0051971
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_juniper 80 fable_indigo 10 delta_indigo 109 birch_indigo 69 grove_fable 114 grove_harbor 113 fable_grove 46
ember juniper fable indigo delta indigo birch indigo grove fable grove harbor fable grove
fable_indigo 7 ember_grove 3 delta_grove 8 indigo_amber 106 cobalt_cobalt 14 juniper_harbor 46 ember_delta 10 fable_fable 9 cobalt_ember 57
fable indigo ember grove delta grove indigo amber cobalt cobalt juniper harbor ember delta fable fable cobalt ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051971-p1
Substitute all underscores in the first column with spaces and print the result.
{gsub(/_/," ",$1);print $1}
ember_juniper 80 fable_indigo 10 delta_indigo 109 birch_indigo 69 grove_fable 114 grove_harbor 113 fable_grove 46
ember juniper fable indigo delta indigo birch indigo grove fable grove harbor fable grove
fable_indigo 7 ember_grove 3 delta_grove 8 indigo_amber 106 cobalt_cobalt 14 juniper_harbor 46 ember_delta 10 fable_fable 9 cobalt_ember 57
fable indigo ember grove delta grove indigo amber cobalt cobalt juniper harbor ember delta fable fable cobalt ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051971
qwen/qwen3.7-plus
awkweave-0051972
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)}
hana ember 33 closed kim grove 95 closed alice grove 28 failed gus birch 64 active kim birch 15 active dina cobalt 107 ready gus ember 92 closed bruno fable 54 paused
closed 33 ember hana closed 95 grove kim failed 28 grove alice active 64 birch gus active 15 birch kim ready 107 cobalt dina closed 92 ember gus paused 54 fable bruno
ivan ember 107 failed hana harbor 97 paused kim harbor 102 closed gus fable 49 paused jules juniper 9 pending chen birch 108 ready ivan juniper 77 failed jules juniper 63 paused bruno juniper 78 closed
failed 107 ember ivan paused 97 harbor hana closed 102 harbor kim paused 49 fable gus pending 9 juniper jules ready 108 birch chen failed 77 juniper ivan paused 63 juniper jules closed 78 juniper bruno
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051972-p1
Reverse the sequence of fields on each line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana ember 33 closed kim grove 95 closed alice grove 28 failed gus birch 64 active kim birch 15 active dina cobalt 107 ready gus ember 92 closed bruno fable 54 paused
closed 33 ember hana closed 95 grove kim failed 28 grove alice active 64 birch gus active 15 birch kim ready 107 cobalt dina closed 92 ember gus paused 54 fable bruno
ivan ember 107 failed hana harbor 97 paused kim harbor 102 closed gus fable 49 paused jules juniper 9 pending chen birch 108 ready ivan juniper 77 failed jules juniper 63 paused bruno juniper 78 closed
failed 107 ember ivan paused 97 harbor hana closed 102 harbor kim paused 49 fable gus pending 9 juniper jules ready 108 birch chen failed 77 juniper ivan paused 63 juniper jules closed 78 juniper bruno
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051972
qwen/qwen3.7-plus
awkweave-0051973
Print the number of whitespace-separated fields on each line.
{print NF}
lina delta 15 ready eli amber 30 failed eli birch 60 failed dina grove 1 closed dina cobalt 92 closed ivan fable 63 failed farah harbor 40 active
4 4 4 4 4 4 4
gus ember 61 paused jules grove 83 pending chen delta 102 pending alice delta 15 ready eli grove 13 paused gus fable 77 failed
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051973-p1
Print the count of whitespace-delimited fields present on each line.
{print NF}
lina delta 15 ready eli amber 30 failed eli birch 60 failed dina grove 1 closed dina cobalt 92 closed ivan fable 63 failed farah harbor 40 active
4 4 4 4 4 4 4
gus ember 61 paused jules grove 83 pending chen delta 102 pending alice delta 15 ready eli grove 13 paused gus fable 77 failed
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051973
qwen/qwen3.7-plus
awkweave-0051974
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]]}
eli delta 22 bruno beta 75 kim delta 51 farah beta 2 jules delta 61 lina gamma 1 chen delta 50 ivan delta 101 bruno gamma 118
delta 5 beta 2 gamma 2
jules beta 40 alice delta 41 kim beta 88 dina beta 34 kim beta 116 jules beta 75 jules delta 77
beta 5 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051974-p1
Tally records for each unique value in the second column and print each value with its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
eli delta 22 bruno beta 75 kim delta 51 farah beta 2 jules delta 61 lina gamma 1 chen delta 50 ivan delta 101 bruno gamma 118
delta 5 beta 2 gamma 2
jules beta 40 alice delta 41 kim beta 88 dina beta 34 kim beta 116 jules beta 75 jules delta 77
beta 5 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051974
qwen/qwen3.7-plus
awkweave-0051975
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]]}
jules alpha 7 kim gamma 15 hana delta 9 farah beta 30 lina alpha 29 chen delta 30 farah beta 18 kim alpha 27 jules gamma 6 lina alpha 6
alpha 69 gamma 21 delta 39 beta 48
kim beta 12 eli delta 20 hana alpha 22 farah gamma 18 lina alpha 15 hana beta 2 farah beta 29 jules beta 14
beta 57 delta 20 alpha 37 gamma 18
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051975-p1
Calculate the sum of the third column for each group defined by the second column, printing results 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]]}
jules alpha 7 kim gamma 15 hana delta 9 farah beta 30 lina alpha 29 chen delta 30 farah beta 18 kim alpha 27 jules gamma 6 lina alpha 6
alpha 69 gamma 21 delta 39 beta 48
kim beta 12 eli delta 20 hana alpha 22 farah gamma 18 lina alpha 15 hana beta 2 farah beta 29 jules beta 14
beta 57 delta 20 alpha 37 gamma 18
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051975
qwen/qwen3.7-plus
awkweave-0051976
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma grove 111 delta juniper 116 beta grove 19 alpha indigo 64 gamma indigo 21 gamma fable 76 gamma grove 47 gamma delta 15 delta fable 13 beta delta 0
gamma 5 delta 2 beta 2
gamma fable 22 alpha delta 108 alpha birch 33 beta harbor 66 alpha cobalt 38 alpha indigo 48
alpha 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051976-p1
List each duplicate value from the first column along with its occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma grove 111 delta juniper 116 beta grove 19 alpha indigo 64 gamma indigo 21 gamma fable 76 gamma grove 47 gamma delta 15 delta fable 13 beta delta 0
gamma 5 delta 2 beta 2
gamma fable 22 alpha delta 108 alpha birch 33 beta harbor 66 alpha cobalt 38 alpha indigo 48
alpha 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051976
qwen/qwen3.7-plus
awkweave-0051977
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 region score display_name r001 kim 5 pending r002 eli 30 paused r003 bruno 15 failed r004 dina 13 pending r005 gus 16 closed r006 kim 20 closed
kim eli bruno dina gus kim
note region score display_name r001 hana 7 active r002 hana 18 paused r003 chen 26 paused r004 alice 21 ready r005 dina 28 closed r006 alice 17 active
hana hana chen alice dina alice
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051977-p1
Skip the header row and print the region column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
note region score display_name r001 kim 5 pending r002 eli 30 paused r003 bruno 15 failed r004 dina 13 pending r005 gus 16 closed r006 kim 20 closed
kim eli bruno dina gus kim
note region score display_name r001 hana 7 active r002 hana 18 paused r003 chen 26 paused r004 alice 21 ready r005 dina 28 closed r006 alice 17 active
hana hana chen alice dina alice
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051977
qwen/qwen3.7-plus
awkweave-0051978
The first row is a header. Print display_name for data rows whose score is greater than 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 ivan 30 closed r002 jules 8 paused r003 hana 18 ready r004 hana 26 ready r005 jules 10 failed r006 bruno 6 closed
ivan hana
record_id display_name score state r001 hana 19 ready r002 chen 26 failed r003 jules 2 ready r004 farah 10 pending r005 eli 29 active r006 dina 29 paused
chen eli dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051978-p1
Skip the header row and output the display_name field for all data rows where the score exceeds 19.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]}
record_id display_name score state r001 ivan 30 closed r002 jules 8 paused r003 hana 18 ready r004 hana 26 ready r005 jules 10 failed r006 bruno 6 closed
ivan hana
record_id display_name score state r001 hana 19 ready r002 chen 26 failed r003 jules 2 ready r004 farah 10 pending r005 eli 29 active r006 dina 29 paused
chen eli dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051978
qwen/qwen3.7-plus
awkweave-0051979
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 3 closed dina 21 active jules 12 paused chen 26 ready dina 27 active alice 1 pending jules 12 failed lina 11 ready ivan 7 paused kim 8 active
closed active paused ready active pending failed ready paused active
hana 16 failed kim 20 active farah 21 ready ivan 5 active bruno 13 active alice 2 ready farah 6 paused hana 26 failed eli 9 closed hana 14 active
failed active ready active active ready paused failed closed active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051979-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 3 closed dina 21 active jules 12 paused chen 26 ready dina 27 active alice 1 pending jules 12 failed lina 11 ready ivan 7 paused kim 8 active
closed active paused ready active pending failed ready paused active
hana 16 failed kim 20 active farah 21 ready ivan 5 active bruno 13 active alice 2 ready farah 6 paused hana 26 failed eli 9 closed hana 14 active
failed active ready active active ready paused failed closed active
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0051979
qwen/qwen3.7-plus
awkweave-0051980
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10.
BEGIN{FS=OFS=","}$2>10{print $1}
farah,28,paused gus,6,failed chen,9,pending ivan,12,closed gus,6,closed chen,28,paused
farah ivan chen
eli,24,ready eli,27,paused jules,6,active alice,6,closed farah,3,ready kim,21,paused
eli eli kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051980-p1
For simple CSV data without quoted commas, print the first column whenever the second column is greater than 10.
BEGIN{FS=OFS=","}$2>10{print $1}
farah,28,paused gus,6,failed chen,9,pending ivan,12,closed gus,6,closed chen,28,paused
farah ivan chen
eli,24,ready eli,27,paused jules,6,active alice,6,closed farah,3,ready kim,21,paused
eli eli kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051980
qwen/qwen3.7-plus
awkweave-0051981
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim birch 49 gus amber 1 hana birch 68 chen ember 41 chen grove 31 dina indigo 60 alice fable 0
kim birch 49 gus amber 1 hana birch 68 chen ember 41 chen grove 31 dina indigo 60 alice fable 0
hana amber 33 bruno indigo 94 lina harbor 22 lina birch 27 hana indigo 72 hana grove 96 bruno birch 35 farah delta 66
hana amber 33 bruno indigo 94 lina harbor 22 lina birch 27 hana indigo 72 hana grove 96 bruno birch 35 farah delta 66
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051981-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
kim birch 49 gus amber 1 hana birch 68 chen ember 41 chen grove 31 dina indigo 60 alice fable 0
kim birch 49 gus amber 1 hana birch 68 chen ember 41 chen grove 31 dina indigo 60 alice fable 0
hana amber 33 bruno indigo 94 lina harbor 22 lina birch 27 hana indigo 72 hana grove 96 bruno birch 35 farah delta 66
hana amber 33 bruno indigo 94 lina harbor 22 lina birch 27 hana indigo 72 hana grove 96 bruno birch 35 farah delta 66
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051981
qwen/qwen3.7-plus
awkweave-0051982
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules grove 73 ready hana juniper 70 paused kim juniper 62 pending hana grove 117 failed farah indigo 88 paused eli fable 78 failed chen amber 73 paused hana fable 74 closed alice grove 61 closed
hana juniper 70 paused
eli delta 56 paused chen grove 38 pending lina cobalt 0 failed eli birch 13 closed ivan indigo 59 ready kim indigo 91 paused hana delta 6 ready farah harbor 32 ready hana juniper 62 active kim indigo 10 active
hana juniper 62 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051982-p1
Identify and print the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules grove 73 ready hana juniper 70 paused kim juniper 62 pending hana grove 117 failed farah indigo 88 paused eli fable 78 failed chen amber 73 paused hana fable 74 closed alice grove 61 closed
hana juniper 70 paused
eli delta 56 paused chen grove 38 pending lina cobalt 0 failed eli birch 13 closed ivan indigo 59 ready kim indigo 91 paused hana delta 6 ready farah harbor 32 ready hana juniper 62 active kim indigo 10 active
hana juniper 62 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051982
qwen/qwen3.7-plus
awkweave-0051983
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
alice 69 gus 6 eli 60 alice 75 eli 95 hana 116
alice 69 eli 95
lina 37 bruno 94 farah 7 eli 66 chen 34 jules 4
lina 37 chen 34
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051983-p1
Output every fourth line of the input, beginning with the first line (i.e., lines 1, 5, 9, etc.).
NR%4==1
alice 69 gus 6 eli 60 alice 75 eli 95 hana 116
alice 69 eli 95
lina 37 bruno 94 farah 7 eli 66 chen 34 jules 4
lina 37 chen 34
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051983
qwen/qwen3.7-plus
awkweave-0051984
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma ember 86 delta fable 53 beta delta 56 delta indigo 118 alpha amber 119 beta juniper 26 gamma juniper 45 beta ember 100 gamma juniper 88 gamma amber 70
4
gamma amber 102 gamma fable 101 gamma cobalt 23 delta birch 3 delta birch 64 gamma harbor 24 delta amber 94 gamma grove 102
2
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051984-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma ember 86 delta fable 53 beta delta 56 delta indigo 118 alpha amber 119 beta juniper 26 gamma juniper 45 beta ember 100 gamma juniper 88 gamma amber 70
4
gamma amber 102 gamma fable 101 gamma cobalt 23 delta birch 3 delta birch 64 gamma harbor 24 delta amber 94 gamma grove 102
2
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051984
qwen/qwen3.7-plus
awkweave-0051985
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 15 0 bruno 6 30 jules 18 18 jules 5 15 farah 24 18 gus 15 21 ivan 9 7 alice 13 8 farah 23 25
bruno 0.20 jules 1.00 jules 0.33 farah 1.33 gus 0.71 ivan 1.29 alice 1.62 farah 0.92
hana 9 0 chen 2 22 alice 22 1 bruno 14 13 kim 2 17 alice 5 17 alice 12 16 chen 15 1
chen 0.09 alice 22.00 bruno 1.08 kim 0.12 alice 0.29 alice 0.75 chen 15.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051985-p1
For each row, output the first column and the result of dividing the second column by the third column rounded to two decimal places, omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 15 0 bruno 6 30 jules 18 18 jules 5 15 farah 24 18 gus 15 21 ivan 9 7 alice 13 8 farah 23 25
bruno 0.20 jules 1.00 jules 0.33 farah 1.33 gus 0.71 ivan 1.29 alice 1.62 farah 0.92
hana 9 0 chen 2 22 alice 22 1 bruno 14 13 kim 2 17 alice 5 17 alice 12 16 chen 15 1
chen 0.09 alice 22.00 bruno 1.08 kim 0.12 alice 0.29 alice 0.75 chen 15.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051985
qwen/qwen3.7-plus
awkweave-0051986
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]}
dina indigo 14 alice harbor 12 eli cobalt 8 eli indigo 2 kim birch 9 alice grove 10 chen grove 26 hana fable 22
chen grove 26 hana fable 22 dina indigo 14
farah delta 28 dina ember 19 hana indigo 15 eli ember 7 hana fable 22 dina fable 12 gus cobalt 2 eli fable 6 farah birch 10 dina cobalt 17
farah delta 28 hana fable 22 dina ember 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051986-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{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]}
dina indigo 14 alice harbor 12 eli cobalt 8 eli indigo 2 kim birch 9 alice grove 10 chen grove 26 hana fable 22
chen grove 26 hana fable 22 dina indigo 14
farah delta 28 dina ember 19 hana indigo 15 eli ember 7 hana fable 22 dina fable 12 gus cobalt 2 eli fable 6 farah birch 10 dina cobalt 17
farah delta 28 hana fable 22 dina ember 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051986
qwen/qwen3.7-plus
awkweave-0051987
Print column 3 followed by column 2 for every record.
{print $3, $2}
pending juniper 88 amber 94 delta pending juniper 77 amber 8 juniper failed delta 26 amber 34 indigo active harbor 111 harbor 52 cobalt failed indigo 81 delta 96 grove failed indigo 119 harbor 54 amber pending birch 106 delta 29 birch pending birch 88 indigo 38 birch failed grove 63 amber 80 indigo ready juniper 88 emb...
88 juniper 77 juniper 26 delta 111 harbor 81 indigo 119 indigo 106 birch 88 birch 63 grove 88 juniper
closed fable 40 juniper 23 harbor paused birch 82 grove 77 ember ready amber 15 indigo 94 grove closed cobalt 33 delta 57 amber ready harbor 60 indigo 41 cobalt paused fable 33 ember 17 delta failed grove 66 cobalt 116 ember active juniper 5 delta 2 amber failed harbor 95 indigo 90 amber failed grove 94 birch 19 harbor...
40 fable 82 birch 15 amber 33 cobalt 60 harbor 33 fable 66 grove 5 juniper 95 harbor 94 grove
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051987-p1
For every record, print the value from column 3 followed by the value from column 2.
{print $3, $2}
pending juniper 88 amber 94 delta pending juniper 77 amber 8 juniper failed delta 26 amber 34 indigo active harbor 111 harbor 52 cobalt failed indigo 81 delta 96 grove failed indigo 119 harbor 54 amber pending birch 106 delta 29 birch pending birch 88 indigo 38 birch failed grove 63 amber 80 indigo ready juniper 88 emb...
88 juniper 77 juniper 26 delta 111 harbor 81 indigo 119 indigo 106 birch 88 birch 63 grove 88 juniper
closed fable 40 juniper 23 harbor paused birch 82 grove 77 ember ready amber 15 indigo 94 grove closed cobalt 33 delta 57 amber ready harbor 60 indigo 41 cobalt paused fable 33 ember 17 delta failed grove 66 cobalt 116 ember active juniper 5 delta 2 amber failed harbor 95 indigo 90 amber failed grove 94 birch 19 harbor...
40 fable 82 birch 15 amber 33 cobalt 60 harbor 33 fable 66 grove 5 juniper 95 harbor 94 grove
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051987
qwen/qwen3.7-plus
awkweave-0051988
Print the last field of every input line.
{print $NF}
gus ready 97 ivan lina closed 53 hana lina active 38 ivan kim paused 110 lina bruno ready 24 chen chen closed 118 ivan dina failed 33 kim farah failed 47 kim bruno ready 25 bruno eli failed 82 bruno
ivan hana ivan lina chen ivan kim kim bruno bruno
jules active 8 jules kim pending 52 lina hana paused 66 ivan ivan failed 20 kim jules closed 45 gus alice ready 72 chen eli ready 7 chen chen paused 60 ivan alice active 36 farah ivan pending 20 farah
jules lina ivan kim gus chen chen ivan farah farah
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051988-p1
Extract and print the final field from each line of input.
{print $NF}
gus ready 97 ivan lina closed 53 hana lina active 38 ivan kim paused 110 lina bruno ready 24 chen chen closed 118 ivan dina failed 33 kim farah failed 47 kim bruno ready 25 bruno eli failed 82 bruno
ivan hana ivan lina chen ivan kim kim bruno bruno
jules active 8 jules kim pending 52 lina hana paused 66 ivan ivan failed 20 kim jules closed 45 gus alice ready 72 chen eli ready 7 chen chen paused 60 ivan alice active 36 farah ivan pending 20 farah
jules lina ivan kim gus chen chen ivan farah farah
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051988
qwen/qwen3.7-plus
awkweave-0051989
Print the complete records where column 4 is greater than 20.
$4 > 20
pending delta ember 7 ready paused ember amber 88 pending failed birch cobalt 4 ready pending delta indigo 108 paused closed delta grove 36 paused paused delta fable 42 active paused harbor amber 118 paused paused ember delta 100 paused
paused ember amber 88 pending pending delta indigo 108 paused closed delta grove 36 paused paused delta fable 42 active paused harbor amber 118 paused paused ember delta 100 paused
failed indigo delta 101 closed paused ember indigo 48 paused ready delta delta 112 active pending harbor cobalt 37 closed ready indigo fable 80 closed ready amber harbor 33 closed paused birch cobalt 45 pending
failed indigo delta 101 closed paused ember indigo 48 paused ready delta delta 112 active pending harbor cobalt 37 closed ready indigo fable 80 closed ready amber harbor 33 closed paused birch cobalt 45 pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051989-p1
Output the full records for which the value in column 4 is strictly greater than 20.
$4 > 20
pending delta ember 7 ready paused ember amber 88 pending failed birch cobalt 4 ready pending delta indigo 108 paused closed delta grove 36 paused paused delta fable 42 active paused harbor amber 118 paused paused ember delta 100 paused
paused ember amber 88 pending pending delta indigo 108 paused closed delta grove 36 paused paused delta fable 42 active paused harbor amber 118 paused paused ember delta 100 paused
failed indigo delta 101 closed paused ember indigo 48 paused ready delta delta 112 active pending harbor cobalt 37 closed ready indigo fable 80 closed ready amber harbor 33 closed paused birch cobalt 45 pending
failed indigo delta 101 closed paused ember indigo 48 paused ready delta delta 112 active pending harbor cobalt 37 closed ready indigo fable 80 closed ready amber harbor 33 closed paused birch cobalt 45 pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051989
qwen/qwen3.7-plus
awkweave-0052000
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
jules 8 delta kim 14 cobalt eli 10 indigo gus 8 birch alice 29 ember lina 27 birch
8
hana 18 delta jules 13 juniper eli 23 juniper dina 3 juniper dina 22 juniper dina 7 juniper gus 16 cobalt alice 14 ember
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052000-p1
Identify and output the minimum number found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
jules 8 delta kim 14 cobalt eli 10 indigo gus 8 birch alice 29 ember lina 27 birch
8
hana 18 delta jules 13 juniper eli 23 juniper dina 3 juniper dina 22 juniper dina 7 juniper gus 16 cobalt alice 14 ember
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052000
qwen/qwen3.7-plus
awkweave-0052001
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina juniper 29 alice cobalt 14 eli cobalt 24 farah indigo 8 gus ember 26 eli grove 11 ivan grove 8 ivan fable 18
29
dina juniper 4 dina fable 21 hana juniper 17 dina amber 14 kim grove 22 kim fable 8 chen birch 2 kim cobalt 4 eli harbor 4
22
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052001-p1
Locate and display the maximum numeric value within the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina juniper 29 alice cobalt 14 eli cobalt 24 farah indigo 8 gus ember 26 eli grove 11 ivan grove 8 ivan fable 18
29
dina juniper 4 dina fable 21 hana juniper 17 dina amber 14 kim grove 22 kim fable 8 chen birch 2 kim cobalt 4 eli harbor 4
22
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052001
qwen/qwen3.7-plus
awkweave-0052002
Count all input records and print the total.
END{print NR}
kim 104 kim 34 lina 61 kim 21 eli 55 eli 28 farah 26 lina 114 jules 9 farah 40
10
dina 89 gus 42 chen 68 dina 98 hana 11 ivan 15
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null